/*=======================
 layout
=======================*/
.lp-wrap {
    max-width: 750px;
    margin-top: -10vw;
    margin-right: auto;
    margin-left: auto;
}

/*=======================
 cta共通
=======================*/
.cta {
    width: 96%;
    margin: auto;
    padding: 1rem;
}
.cta p {
    margin-bottom: 1rem;
    font-size: clamp(21px, 6.5vw, 25px);
    font-weight: 500;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
}
.btn-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-column-gap: 2%;
}
.btn {
    display: block;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.6));
    transition: all .3s ease;
}
.btn img {
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.6));
    transition: all .3s ease;
}
.btn:hover,
.btn:hover img {
    filter: none;
}

/*=======================
 cta各デザイン
=======================*/
.pic-03 {
    position: relative;
}
.cta-1th {
    padding: 0.7rem;
    background-color: #A40000;
    position: absolute;
    top: 2vw;
    left: 2%;
    z-index: 50;
}
.cta-1th p {
    color: #fff;
}

.cta-2th {
    margin-top: -55vw;
}
.cta-2th > img {
    display: block;
    width: 92%;
    margin: 1.5rem auto 0;
}

.cta-3th {
    padding: 1.5rem 0;
    background-color: #F7E8CA;
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
}
.cta-3th .btn {
    width: 55%;
    max-width: 350px;
    margin: 1rem auto 0;
}

.cta-4th {
    width: 96%;
    margin: auto;
    padding: 1.5rem 1rem;
    background-color: #F7E8CA;
    font-size: 1.2rem;
    font-weight: 500;
}
.cta-4th p:first-of-type {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1;
    text-align: center;
}
.cta-4th .btn {
    width: 55%;
    max-width: 350px;
    margin: 1rem auto;
}
.cta-4th th {
    width: 8.1em;
    padding-bottom: 0.5em;
    font-weight: 500;
    text-align-last: justify;
}
.cta-4th td {
    padding-bottom: 0.5em;
}
.cta-4th td span {
    display: inline-block;
    font-size: 1rem;
    font-weight: normal;
}

/*=======================
 追従
=======================*/
#js-sidemenu.classActive {
    position: fixed;
    top: auto;
    bottom: 0;
}


/*=======================
 コンタクトフォーム
=======================*/
.reserve {
    padding-top: 3.5rem;
    padding-bottom: 5rem;
    background-image: url(../img/lp/bkg.jpg);
    background-size: 100%;
}
.reserve .title {
    color: #877B00;
    font-size: 2.8rem;
    font-weight: 600;
    text-align: center;
}
.reserve .note {
    width: 90%;
    margin: 2rem auto;
    color: #7D7D7D;
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;

}
.reserve .note li {
    text-indent: -1em;
    padding-left: 1em;
}
.reserve .note > ul li:last-of-type {
    text-indent: 0;
    padding-left: 0;
}


/* フォーム */
.contact-form_container {
    width: 96%;
    margin: auto;
}
.form-title {
    margin-bottom: 0.5em;
    color: #877B00;
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.05em;
}
.contact-form {
    font-size: 1.4rem;
}
.contact-form dl {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #877B00;
}
.contact-form dt {
    margin-bottom: 0.5em;
    color: #877B00;
    font-weight: 600;
    position: relative;
}
.contact-form dt::after {
    content: "任意";
    display: inline-block;
    padding: 0.2em 0.5em;
    background-color: #9FA0A0;
    border-radius: 4px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    position: absolute;
    right: 0;
}
.contact-form dt.req::after {
    content: "必須";
    background-color: #877B00;
}
.contact-form dt span {
    display: inline-block;
    margin-left: 1em;
    font-size: 1rem;
    font-weight: normal;
}
.contact-form dd input[type=text],
.contact-form dd input[type="tel"],
.contact-form dd input[type="email"],
.contact-form dd select,
.contact-form dd textarea {
    width: 100%;
    padding: 0.5em;
    background-color: #fff;
    border-radius: 3px;
}
::placeholder {
    color: #D3D3D4;
}

/* ラジオボタン */
.wpcf7-radio span.wpcf7-list-item {
    /* display: block;
    margin: 0; */
    position: relative;
}
.wpcf7-radio span.wpcf7-list-item:not(:last-of-type) {
    margin-bottom: 1.6rem;
}
.wpcf7-radio .wpcf7-list-item-label {
    cursor: pointer; /* labelにhoverした時にカーソルを表示させる */
    font-size: 1.5rem;
}
.wpcf7-radio input[type="radio"] {
    opacity: 0; /* デフォルトのチェックボックスを見えなくする */
    position: absolute;
}
.wpcf7-radio .wpcf7-list-item-label::before {
    /* チェックボックスのデザイン */
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    margin-right: 8px;
    background-color: #fff;
    border: 1px solid #877B00;
    border-radius: 60vh;
    position: relative;
    top: -1px;
    vertical-align: middle;
}
.wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label::after {
    content: "";
    width: 8px;
    height: 8px;
    background-color: #877B00;
    border-radius: 60vh;
    position: absolute;
    left: 5px;
    top: 6.5px; 
}
/* チェックしたボックスの背景色を設定 */
.wpcf7-radio input[type="radio"]:checked + .wpcf7-list-item-label::before {
    background-color: #fff;
}


dl.email_confir dt span,
dl.tel dt span {
    display: block;
    margin-left: 0;
}
dl.email_confir dt::after,
dl.tel dt::after {
    top: -0.5rem;
}

.gender {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
}

.birth .wpcf7-form-control-wrap:not(:last-of-type) {
    display: block;
    margin-bottom: 0.5rem;
}

.form-note p {
    color: #877B00;
    font-size: 1.6rem;
    font-weight: 600;
}
.form-note p span {
    display: inline-block;
    margin-left: 1em;
    font-size: 1.2rem;
}
.form-note ul {
    margin-top: 1em;
    color: #877B00;
    font-size: 1.2rem;
    font-weight: 500;
}
.form-note ul li {
    text-indent: -1em;
    padding-left: 1em;
}
.form-note ul li:last-of-type {
    color: #A40000;
}
.first_q dl {
    margin: 1.5rem 0;
}
.first_q dl:not(:last-of-type) {
    border: none;
    padding-bottom: 0;
}
.first_q dd {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-column-gap: 3%;
}
.first_q dd select {
    background-color: #DCD4BB;
    color: #fff;
}

.treatment .wpcf7-list-item {
    display: block;
    color: #877B00;
}
.treatment span.wpcf7-list-item.first input[type="radio"],
.treatment span.wpcf7-list-item.first input[type="radio"]:checked + .wpcf7-list-item-label::before,
.treatment span.wpcf7-list-item.first input[type="radio"]:checked + .wpcf7-list-item-label::after,
.treatment span.wpcf7-list-item.first .wpcf7-list-item-label::before,
.treatment span.wpcf7-list-item.first .wpcf7-list-item-label::after,
.treatment span.wpcf7-list-item:nth-of-type(3) input[type="radio"],
.treatment span.wpcf7-list-item:nth-of-type(3) input[type="radio"]:checked + .wpcf7-list-item-label::before,
.treatment span.wpcf7-list-item:nth-of-type(3) input[type="radio"]:checked + .wpcf7-list-item-label::after,
.treatment span.wpcf7-list-item:nth-of-type(3) .wpcf7-list-item-label::before,
.treatment span.wpcf7-list-item:nth-of-type(3) .wpcf7-list-item-label::after {
    display: none;
}

textarea.wpcf7-form-control.wpcf7-textarea {
    height: 2em;
}

span.wpcf7-form-control.wpcf7-radio {
    color: #877B00;
}


/* プライバシーポリシー */
.contact-form_container .privacy-policy {
    height: 80px;
    margin: 2rem auto 2.5rem;
    padding: 0.5em;
    background-color: #fff;
    border: 1px solid #877B00;
    overflow-y: scroll;
}
.contact-form_container .privacy-policy p {
    font-size: 1.2rem;
    line-height: 1.75;
}
.contact-form_container .privacy-policy dl {
    margin-top: 1.5em;
}
.contact-form_container .privacy-policy dt,
.contact-form_container .privacy-policy dd {
    font-size: 1.2rem;
    line-height: 1.75;
}
.contact-form_container .privacy-policy ol,
.contact-form_container .privacy-policy ul {
    margin-top: 0.5em;
}
.contact-form_container .privacy-policy table {
    margin-top: 0.5em;
}
.contact-form_container .privacy-policy th {
    padding-right: 0.5em;
    font-weight: normal;
    white-space: nowrap;
}

#privacyCheck {
    font-size: 1.4rem;
    text-align: center;
}
#privacyCheck input[type="checkbox"] {
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
#privacyCheck input[type="checkbox"] {
    position: relative;
    width: 1em;
    height: 1em;
    border: 1px solid #877B00;
    vertical-align: -2px;
}
#privacyCheck input[type="checkbox"]:checked:before {
    content: '';
    position: absolute;
    top: 1px;
    left: 4px;
    transform: rotate(50deg);
    width: 4px;
    height: 8px;
    border-right: 2px solid #877B00;
    border-bottom: 2px solid #877B00;
}
.check-disabled {
    color: #afafaf;
}
#privacyCheck.check-disabled input[type="checkbox"] {
    border: 1px solid #afafaf;
}

.send-btn {
    width: 70%;
    max-width: 210px;
    margin: 2rem auto 0;
}
.wpcf7-submit {
    display: block;
    width: 100%;
    padding: 0.5em 0;
    border: 1px solid #877B00;
    background-color: #fff;
    box-shadow: 5px 5px 0px 0px #877B00;
    color: #877B00;
    font-size: 1.6rem;
    font-weight: bold;
    text-align: center;
}
.wpcf7-submit:disabled {
    background-color: #cecece;
    color: #b1b1b1;
    border: none;
    box-shadow: 5px 5px 0px 0px #877c0000;
}

.reCAPTCHA-text {
    color: #dfdfdf;
    text-align: center;
}