/*!
Template:rishun
Theme Name: rishun_child
Theme URI: https://rishuntrading.co.jp
Description: Rishun is a very simple & easy to customize theme which is based on the Bootstrap. It is also very friendly with custom post types and custom taxonomies. When you add a new one, the breadcrumbs will be adjusted and posts will look beautifully without editing or adding a template files.
Author: RishunTrading Limited.
Author URI: https://rishuntrading.co.jp
Version: 1.0.0
Requires at least: 1.0
Tested up to: 1.0.0
Requires PHP: 5.6.0
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks

License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Rishun WordPress theme, Copyright (C) 2022 RishunTrading Limited.
Rishun WordPress theme is licensed under the GPL.
Update Author:RishunTrading Limited
Update Author URI:https://rishuntrading.co.jp/
Version:1.0.0
*/
@charset "utf-8";
:root {
    --fontawesome:"Font Awesome 6 Free";
    --fontawesome2:"Font Awesome 6 Brands";
    --defaulttxtcol:#000;
    --formbordercol:#c9d3cf;
    --focusborder:#045332;
    --focusbg:#f6fefb;
    --submitbg:#1B734D;
    --submitborder:#1B734D;
    --submitcolor:#fff;
    --checkedbg:#045332;
}
.wpcf7Formwrap{
    margin-left:auto;
    margin-right:auto;
    max-width:850px;
}
.wpcf7Formwrap .form_group {
    padding: 17px 0;
    border-bottom:1px solid var(--formbordercol);
}
.wpcf7Formwrap .form_group:first-of-type{
    border-top:1px solid var(--formbordercol);
}
.wpcf7Formwrap .labelwrap,.wpcf7Formwrap .label_RandC {
    display: block;
    max-width:100%;
}
.wpcf7Formwrap label {
    margin-bottom: 0;
}
.wpcf7Formwrap .formttl {
    display:block;
    margin-bottom: 10px;
}
.wpcf7Formwrap .formttl .ttlsmall{
    font-size:15px;
    font-weight:400;
    color:#555;
    display:inline-block;
    line-height:1.4;
} 
.wpcf7Formwrap .formttl.for_require,.wpcf7Formwrap .formttl.for_option{
    position: relative;
    padding-right:40px;
}
.wpcf7Formwrap .formttl.for_require.hassmall,.wpcf7Formwrap .formttl.for_option.hassmall{
    padding-right:0;
}
.wpcf7Formwrap .formttl.for_require::after{
    content: "必須";
    display: block;
    position: absolute;
    top: 5px;
    right: 0;
    width: 36px;
    padding: 0 5px;
    background-color: rgba(179,0,36);
    color: #fff;
    font-size: 11px;
    text-align: center;
    box-sizing: border-box;
}
.wpcf7Formwrap .formttl.for_option::after {
    content: "任意";
    display: block;
    position: absolute;
    top: 5px;
    right: 0;
    width: 36px;
    padding: 0 5px;
    background-color: #656565;
    color: #fff;
    font-size: 11px;
    text-align: center;
    box-sizing: border-box;
}
.wpcf7Formwrap input {
    max-width: 100%;
    border-radius: 0;
}
.wpcf7Formwrap input,.wpcf7Formwrap select {
    -webkit-appearance: none;
    appearance: none;
}
.wpcf7Formwrap select::-ms-expand {
    display: none;
  }
/* text */
.wpcf7 .wpcf7Formwrap input[type="text"],.wpcf7 .wpcf7Formwrap input[type="email"], .wpcf7 .wpcf7Formwrap input[type="url"], .wpcf7 .wpcf7Formwrap input[type="number"], .wpcf7 .wpcf7Formwrap input[type="tel"], .wpcf7 .wpcf7Formwrap input[type="range"], .wpcf7 .wpcf7Formwrap input[type="date"], .wpcf7 .wpcf7Formwrap input[type="month"], .wpcf7 .wpcf7Formwrap input[type="week"], .wpcf7 .wpcf7Formwrap input[type="time"], .wpcf7 .wpcf7Formwrap input[type="datetime"], .wpcf7 .wpcf7Formwrap input[type="datetime-local"],.wpcf7 .wpcf7Formwrap input[type="color"], .wpcf7 .wpcf7Formwrap textarea {
    color:var(--defaulttxtcol);
    width: 100%;
    padding:5px 7px;
    border:1px solid #aaa;
    transition: all .3s;
}
.wpcf7 .wpcf7Formwrap input[type="text"]:focus,.wpcf7 .wpcf7Formwrap input[type="email"]:focus, .wpcf7 .wpcf7Formwrap input[type="url"]:focus, .wpcf7 .wpcf7Formwrap input[type="number"]:focus, .wpcf7 .wpcf7Formwrap input[type="tel"]:focus, .wpcf7 .wpcf7Formwrap input[type="range"]:focus, .wpcf7 .wpcf7Formwrap input[type="date"]:focus, .wpcf7 .wpcf7Formwrap input[type="month"]:focus, .wpcf7 .wpcf7Formwrap input[type="week"]:focus, .wpcf7 .wpcf7Formwrap input[type="time"]:focus, .wpcf7 .wpcf7Formwrap input[type="datetime"]:focus, .wpcf7 .wpcf7Formwrap input[type="datetime-local"]:focus,.wpcf7 .wpcf7Formwrap input[type="color"]:focus, .wpcf7 .wpcf7Formwrap textarea:focus,.wpcf7Formwrap select:focus{
    color: #111;
    border:2px solid var(--focusborder);
    background-color:var(--focusbg);
    outline: 0;
}
.wpcf7 .wpcf7Formwrap input::placeholder, .wpcf7 .wpcf7Formwrap select::placeholder, .wpcf7 .wpcf7Formwrap textarea::placeholder{
    color:#aaa!important;
}
/* radio,checkbox */
.wpcf7Formwrap .form_radio .wpcf7-list-item,.wpcf7Formwrap .form_check .wpcf7-list-item{
    display: block;
    margin:0 20px 10px 5px;
}
.wpcf7Formwrap .form_radio .wpcf7-list-item>label,.wpcf7Formwrap .form_check .wpcf7-list-item>label{
    cursor: pointer;
}
.wpcf7Formwrap input[type="radio"],.wpcf7Formwrap input[type="checkbox"]{
    width:20px;
    height:20px;
    vertical-align: middle;
    margin-bottom:3px;
    margin-right: 3px;
    border: 1px solid #aaa;
    position: relative;
    background:#fff;
}
.wpcf7Formwrap input[type="radio"]{
    border-radius: 50%;
    aspect-ratio: 1/1;
}
.wpcf7Formwrap input[type="radio"]:checked::before{
    content: '';
    position: absolute;
    top:50%;
    left:50%;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--checkedbg);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.wpcf7Formwrap input[type="checkbox"]:checked{
    background: var(--checkedbg);
}
.wpcf7Formwrap input[type="checkbox"]:checked:before {
    position: absolute;
    top: 3px;
    left: 7px;
    -webkit-transform: rotate(50deg);
    -moz-transform: rotate(50deg);
    -ms-transform: rotate(50deg);
    transform: rotate(50deg);
    width: 5px;
    height: 10px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    content: '';
  }
.wpcf7Formwrap .wpcf7-list-item .wpcf7-free-text{
    margin-top:7px;
}
/* select */
.wpcf7Formwrap .form_select .wpcf7-form-control-wrap{
    display: inline-block;
    width:100%;
    height: fit-content;
}
.wpcf7Formwrap .form_select .wpcf7-form-control-wrap::before {
    content: '\f078';
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    top:15px;
    right:10px;
    font-size: 10px;
    pointer-events: none;
}
.wpcf7Formwrap select {
    padding: 7px;
    padding-right: 25px;
    width: 100%;
    max-width:100%;
    border:1px solid #aaa;
}
.wpcf7Formwrap select option {
    white-space: pre-wrap;
}

/* date */
.wpcf7Formwrap input[type="date"]{
    width:100%;
}

/* accept */
.wpcf7Formwrap .form_accept{
    padding:17px 0;
}
.wpcf7Formwrap .form_accept p:first-of-type{
    margin-bottom:1rem;
}
.wpcf7-acceptance label {
    cursor: pointer;
}
.wpcf7Formwrap .form_accept a,.form_accept a:hover {
    text-decoration:underline;
    color:var(--checkedbg);
}
.wpcf7Formwrap .form_accept i {
    margin:0 7px 0 3px;
}
.wpcf7Formwrap .form_accept a:hover{
    opacity: 0.7;
}
.wpcf7Formwrap .form_accept .wpcf7-list-item{
    margin-left: 5px;
}
.wpcf7Formwrap .form_accept .wpcf7-list-item label {
    font-weight: bold;
}
.wpcf7Formwrap .form_accept .wpcf7-form-control-wrap {
    display: block;
    margin-bottom:20px;
}
.wpcf7Formwrap input[type="submit"] {
    padding: 18px;
    width:100%;
    border: 1px solid var(--submitborder);
    background-color:var(--submitbg);
    color:var(--submitcolor);
    transition:all .25s;
    font-weight:bold;
    letter-spacing:1px;
    font-size:18px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.wpcf7Formwrap input[type="submit"]:disabled{
    cursor: not-allowed;
	box-shadow: none!important;
	border: 1px solid #f8f8f8!important;
	background-color: #f8f8f8!important;
	color: #999!important;
}
.wpcf7Formwrap input[type="submit"]:hover {
	opacity:0.7;
}
.wpcf7 form .wpcf7-response-output{
    max-width:850px;
    margin-left:auto;
    margin-right:auto;
}
@media(min-width:500px){
    /* accept */
    .wpcf7Formwrap input[type="submit"]{
        width: fit-content;
        min-width: 300px;
    }
}
@media(min-width:768px){
    .wpcf7Formwrap .labelwrap,
    .wpcf7Formwrap .form_group.form_radio,.wpcf7Formwrap .form_group.form_check{
        display: flex;
    }
    .wpcf7Formwrap .labelwrap .formttl,.wpcf7Formwrap .label_RandC{
        flex-basis:35%;
        margin-right:2rem;
        margin-bottom:0;
    }
    .wpcf7Formwrap .labelwrap .wpcf7-form-control-wrap,.wpcf7Formwrap .form_group.form_radio .wpcf7-form-control-wrap,.wpcf7Formwrap .form_group.form_check .wpcf7-form-control-wrap {
        flex-basis:calc(65% - 2rem);
    }
    .wpcf7Formwrap .form_radio .wpcf7-list-item{
        display: inline-block;
    }
    .wpcf7Formwrap .form_check .wpcf7-list-item{
        display: inline-block;
        margin-right:3rem;
    }
    .wpcf7Formwrap .form_accept>p,.wpcf7Formwrap .form_accept .wpcf7-form-control-wrap{
        text-align:center;
    }
}
@media(min-width:992px){
    .wpcf7Formwrap .form_group,.wpcf7Formwrap .form_accept{
        padding:20px 0;
    }
    .wpcf7 form .wpcf7-response-output{
        text-align:center;
    }
}