@charset "UTF-8";

a[id^="h4"]+div .content_wrapper>.heading.block_header_4 p {
    color: var(--i_main_color);
}
a#h4 + div {
    margin-bottom: 60px;
}
/**/
.widget_form .heading.block_header_4 {
    margin-bottom: 130px;
}

a[id^="h4"]+div .content_wrapper>.heading.block_header_4 .h,
a[id^="h4"]+div .content_wrapper>.heading.block_header_4 p {
    background: #fafafa;
}

.widget_form>.content_wrapper {
    background: #fafafa;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.13);
    padding: 80px 120px;
    box-sizing: border-box;
    width: calc(100% - 40px);
}

.widget_form:before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: calc(100% - 130px);
    bottom: 50px;
    left: 0;
    background: var(--i_sub_color);
    pointer-events: none;
}

@media screen and (max-width: 767px) {

    .widget_form>.content_wrapper {
        padding: 20px;
    }

    .widget_form::before {
        height: calc(100% - 75px);
        bottom: 20px;
    }

}

/*追従バナー変更*/

.follow>a {
    display: none;
}

/*フォーム調整*/

.widget_form .privacypolicy {
    text-align: left;
    margin: 50px 0 0;
}

.submit+p {
    text-align: left;
    padding-top: 20px;
    display: none;
}

main form .submit span::before,
main form .submit span::after {
    display: none;
}

.widget_form form .submit input {
    border-radius: 0;
    min-width: 300px;
    background: #f1f1f3;
    color: #5d2c63 !important;
    border: solid 2px #5d2c63;
    font-size: 1.9rem;
    font-weight: normal;
    /**opacity: 0.4;**/
    padding: 9px 5px !important;
    margin-bottom: 1px;
}

.widget_form form dl {
    border-bottom: 1px dotted #aaa;
    padding-bottom: 0;
    margin-bottom: 0;
}

.widget_form form dl:nth-of-type(1) {
    border-top: none;
}

.widget_form form dt {
    font-weight: bold;
    min-width: auto;
    width: 300px;
    box-sizing: border-box;
}

.widget_form form dt,
.widget_form form dd {
    padding: 20px;
　　　display: inline-block;
}

input[type="text"],
textarea {
    border-radius: 5px;
}


.widget_form form dl:nth-of-type(5),
.widget_form form dl:nth-of-type(9) {
    margin-bottom: 60px;
}

.widget_form form dl:nth-of-type(n+12) {
    display: flex;
    flex-direction: column;
}

/*.widget_form form dl:nth-of-type(10) dt {
    color: var(--i_main_color);
}*/

.widget_form form dl:nth-of-type(10) .cap {
    line-height: 1.5;
    font-size: 1.6rem;
}

.widget_form form dl:nth-of-type(n+12) dt {
    padding-bottom: 0;
    width: 100%;
}

.widget_form form dl:nth-of-type(n+12) dd {
    padding-top: 0;
}

.widget_form form dl:nth-last-of-type(-n+3) {
    flex-direction: row-reverse;
    justify-content: center;
    border: none;
    padding-top: 35px;
}

.widget_form form dl:nth-last-of-type(-n+3) dt {
    padding: 0;
    width: auto;
    font-weight: normal;
}

.widget_form form dl:nth-last-of-type(-n+3) dd {
    padding: 0;
}

.widget_form form dl:nth-last-of-type(-n+3) input[type="checkbox"]+label {
    padding-right: 0;
}

.widget_form form dl:last-of-type {
    padding-bottom: 20px;
    padding-top: 60px;
}

.cap {
    font-weight: bold;
}

.widget_form .heading+.add_text {
    font-size: 1.8rem;
}

.widget_form form dt span {
    color: #f40 !important;
    font-size: 2rem;
}

.widget_form form input[id*="form_zip"] {
    width: 100%;
}

@media screen and (max-width: 900px) {
    .widget_form form dl:nth-last-of-type(-n+3) dd {
        display: flex;
        align-items: baseline;
    }
}

@media screen and (max-width: 767px) {
    .widget_form form {
        font-size: 1.4rem;
    }

    .widget_form form .submit {
        margin: 0;
    }

    .widget_form form .submit,
    .widget_form form .submit span,
    .widget_form form .submit input {
        display: block;
    }

    .widget_form form .submit input {
        width: 100%;
        min-width: auto;
    }

    .widget_form form dl {
        border-bottom: dashed 1px #ccc;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .widget_form form dt {
        border-bottom: none;
        width: 100%;
        padding: 0;
        margin-bottom: 0;
    }

    .widget_form form dd {
        padding: 0;
    }

    .widget_form .heading+.add_text {
        font-size: 1.4rem;
        line-height: 1.5;
        margin-bottom: 0;
    }

    .widget_form .heading.block_header_4 {
        margin-bottom: 85px;
    }

    .widget_form form dl:nth-of-type(1) {
        padding-top: 0;
        margin-top: 0;
    }

    .widget_form form dl:nth-of-type(10) .cap {
        font-size: 1.4rem;
    }

    .widget_form form dl:nth-last-of-type(-n+3) {
        padding-top: 30px;
    }
}

/*ラジオチェックボタン調整*/

main form input[type="radio"]+label,
main form input[type="checkbox"]+label {
    padding: 0 15px 0 5px;
}

.widget_form form input[type=radio]:checked+label::after,
.widget_form form input[type=checkbox]:checked+label::after,
.widget_form form input[type=radio]+label::before,
.widget_form form input[type=checkbox]+label::before {
    display: none;
}

.widget_form form input[type="radio"],
.widget_form form input[type="checkbox"] {
    display: inline-block;
}

.widget_form form input[type="radio"],
.widget_form form input[type="checkbox"] {
    width: auto;
    padding: 0;
    line-height: inherit;
    -webkit-appearance: auto;
    -moz-appearance: auto;
}

@media screen and (max-width: 767px) {

    .widget_form form input[type="radio"]+label,
    .widget_form form input[type="checkbox"]+label {
        width: calc(100% - 20px);
        box-sizing: border-box;
    }
}

/*フッター調整*/
main {
    z-index: 20;
}

footer {
    margin-top: -50px;
}

@media screen and (max-width: 767px) {
    footer {
        margin-top: -20px;
    }

    #h4+div {
        padding-top: 40px;
    }
}

/*Lv*/
#lv p {
    height: 45%;
}

#lv p span {
    font-size: 4rem;
}

@media screen and (max-width: 600px) {
    #lv p {
        height: 60%;
    }

    #lv p span {
        font-size: 3rem;
    }
}


.faq-link{
color: blue;
}

/***お子様と保護者のカテゴリー分け***/

dl:nth-of-type(6) dd,
dl:nth-of-type(10) dd {
display: none !important;
}

dl:nth-of-type(6) dt,
dl:nth-of-type(10) dt {
 color: var(--i_main_color);
 font-size: 1.8rem;
}