@charset "UTF-8";

/* KV */
#top > div {
    position: relative;
}

#top > .cover {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    max-width: 100%;
    min-height: 600px;
    aspect-ratio: 2 / 1;
    background-image: url(../images/index/kv.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media screen and (max-width: 980px) {
    #top > .cover {
        min-height: 500px;
        aspect-ratio: 5 / 3;
        background-position: right bottom;
    }
}

@media screen and (max-width: 767px) {
    #top > .cover {
        margin-bottom: 70px;
        min-height: 300px;
        aspect-ratio: 4 / 3;
    }
}

#top > .cover > .lead {
    position: absolute;
    left: 0;
    bottom: 34px;
    display: flex;
    justify-content: center;
    width: 100%;
    height: 380px;
}

@media screen and (max-width: 1299px) {
    #top > .cover > .lead {
        bottom: 15px;
    }
}

@media screen and (max-width: 980px) {
    #top > .cover > .lead {
        bottom: 30px;
        height: auto;
    }
}

@media screen and (max-width: 767px) {
    #top > .cover > .lead {
        top: 70%;
        bottom: auto;
        z-index: 5;
    }
}

#top > .cover > .lead figure {
    justify-content: start;
    margin: 0 auto;
    padding: 0 50px;
    width: 100%;
    max-width: 1300px;
}

@media screen and (max-width: 980px) {
    #top > .cover > .lead figure {
        padding: 0 30px;
    }
}

#top > .cover > .lead img {
    width: auto;
    max-width: 50%;
    height: 380px;
}

@media screen and (max-width: 980px) {
    #top > .cover > .lead img {
        height: auto;
    }
}

@media screen and (max-width: 787px) {
    #top > .cover > .lead img {
        width: 50%;
        min-width: 300px;
    }
}

#top > .info {
    display: grid;
    justify-content: center;
    align-items: center;
    justify-items: center;
    grid-template-columns: auto auto;
    column-gap: 20px;
    padding: 20px 50px;
    max-width: none;
    background-color: #FFCB29;
}

@media screen and (max-width: 1299px) {
    #top > .info {
        grid-template-columns: auto;
        padding: 20px;
    }
}

@media screen and (max-width: 767px) {
    #top > .info {
        margin: 0 20px;
        width: calc(100% - 40px);
    }
}

#top > .info > h3 {
    font-size: 18px;
}

#top > .info > h3 > span {
    background: linear-gradient(transparent 70%, rgba(255, 255, 255, .9) 30%);
}

#top > .info > p {
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    #top > .info > p {
        margin-top: 6px;
        text-align: left;
    }
}

#top > .info {
    display: grid;
    justify-content: center;
    align-items: center;
    justify-items: center;
    grid-template-columns: auto auto;
    column-gap: 20px;
    padding: 20px 50px;
    max-width: none;
    background-color: #FFCB29;
}

@media screen and (max-width: 1299px) {
    #top > .info {
        grid-template-columns: auto;
        padding: 20px;
    }
}

@media screen and (max-width: 767px) {
    #top > .info {
        margin: 0 20px;
        width: calc(100% - 40px);
    }
}

#top > .info > h3 {
    font-size: 18px;
}

#top > .info > h3 > span {
    background: linear-gradient(transparent 70%, rgba(255, 255, 255, .9) 30%);
}

#top > .info > p {
    margin-bottom: 0;
}

@media screen and (max-width: 767px) {
    #top > .info > p {
        margin-top: 6px;
        text-align: left;
    }
}

#top > .info > p > a {
    display: inline;
    color: #282828;
}

#top .apply_box:first-of-type {
    position: absolute;
    top: -480px;
    right: 50px;
    justify-items: center;
    grid-template-columns: auto;
    padding-top: 30px;
    width: auto;
    height: 380px;
    background-color: rgba(255, 255, 255, .8);
    border-width: 4px;
    z-index: 5;
}

#top .apply_box:first-of-type > h3 img {
    width: 280px;
}

#top .apply_box:first-of-type > h4 {
    position: relative;
    font-size: 20px;
}

#top .apply_box:first-of-type > h4::before,
#top .apply_box:first-of-type > h4::after {
    position: absolute;
    top: 50%;
    width: 100px;
    border-top: solid 1px #282828;
    content: '';
}

#top .apply_box:first-of-type > h4::before {
    right: 110%;
}

#top .apply_box:first-of-type > h4::after {
    left: 110%;
}

#top .apply_box:first-of-type > div.button_wrapper {
    grid-template-columns: auto;
    row-gap: 20px;
    height: auto;
}

#top .apply_box:first-of-type a {
    width: 300px;
}

#top .apply_box:first-of-type a {
    position: relative;
}

#top .apply_box:first-of-type a:after {
    position: absolute;
    right: 30px;
    width: 30px;
    height: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
}

#top .apply_box:first-of-type a.tokyo:after {
    background-image: url(../images/common/tower.png);
}

#top .apply_box:first-of-type a.other:after {
    background-image: url(../images/common/japan.svg);
}

#top .apply_box.disp_pc {
    display: grid;
}

#top .apply_box.disp_tab {
    display: none;
}

@media screen and (max-width: 980px) {
    #top .apply_box.disp_pc {
        display: none;
    }

    #top .apply_box.disp_tab {
        display: grid;
    }
}

#top .apply_box.manaable {
    margin-top: 0;
}

#top .apply_box.manaable::after {
    content: none;
}

/* フレーベル子育ちラボについて */
#about_us > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 700px;
    background-image: url(../images/index/about_bg.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 700px;
}

@media screen and (max-width: 980px) {
    #about_us > div {
        background-size: 600px;
    }
}

@media screen and (max-width: 767px) {
    #about_us > div {
        height: 100vw;
        min-height: 460px;
        background-size: 90%;
    }
}

@media screen and (max-width: 980px) {
    #about_us > div > h2 {
        margin-bottom: 32px;
    }
}

@media screen and (max-width: 767px) {
    #about_us > div > h2 {
        font-size: 20px;
    }
}

#about_us > div > p {
    margin-bottom: 0;
    font-size: 16px;
    line-height: 2em;
}

@media screen and (max-width: 980px) {
    #about_us > div > p {
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    #about_us > div > p {
        max-width: 400px;
    }

    #about_us > div > p > br {
        display: none;
    }
}

/* 申し込みの流れ */
#step {
    background-color: #FFFFFF;
    z-index: 2;
}

#step h2 {
    margin-bottom: 20px;
}

#step > div > ol {
    display: grid;
    row-gap: 60px;
    list-style: none;
}

#step > div > ol > li {
    position: relative;
    padding-top: 48px;
    border: solid 2px #FFCB29;
    border-radius: 10px;
}

#step > div > ol > li::after {
    position: absolute;
    left: 50%;
    bottom: -42px;
    margin-left: -20px;
    border-top: solid 20px #FFCB29;
    border-left: solid 20px transparent;
    border-right: solid 20px transparent;
    content: '';
}

#step > div > ol > li:last-child:after {
    content: none;
}

#step > div > ol > li {
    padding-top: 56px;
    border: solid 2px #FFCB29;
    border-radius: 10px;
}

#step > div > ol h3 {
    position: relative;
    padding: 10px 30px;
    background-color: #FFCB29;
}

@media screen and (max-width: 767px) {
    #step > div > ol h3 {
        padding: 10px 20px;
    }
}

#step > div > ol h3 > span {
    position: absolute;
    top: -42px;
    left: 20px;
    display: inline-block;
    width: 80px;
    font-size: 12px;
    line-height: 28px;
    text-align: center;
    background-color: #FFCB29;
    border-radius: 14px;
}

@media screen and (max-width: 767px) {
    #step > div > ol h3 > span {
        left: 14px;
    }
}

#step > div > ol h3::after {
    position: absolute;
    top: -48px;
    right: 20px;
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #FFCB29;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 20px;
    border-radius: 24px;
    content: '';
}

@media screen and (max-width: 767px) {
    #step > div > ol h3::after {
        right: 10px;
    }
}

#step > div > ol li:nth-child(1) h3::after {
    background-image: url(../images/index/step01.svg);
}

#step > div > ol li:nth-child(2) h3::after {
    background-image: url(../images/index/step02.svg);
}

#step > div > ol li:nth-child(3) h3::after {
    background-image: url(../images/index/step03.svg);
}

#step > div > ol li:nth-child(4) h3::after {
    background-image: url(../images/index/step04.svg);
}

#step > div > ol li:nth-child(5) h3::after {
    background-image: url(../images/index/step05.svg);
}

#step > div > ol div {
    padding: 30px;
}

@media screen and (max-width: 767px) {
    #step > div > ol div {
        padding: 20px;
    }
}

#step > div > ol ul {
    list-style: disc;
    padding-left: 2em;
}

@media screen and (max-width: 767px) {
    #step > div > ol ul {
        padding-left: 1.6em;
    }
}

#step > div > ol ul > li {
    padding: 4px 0;
}

#step > div > ol p {
    margin-top: 20px;
}

/* お申し込み */
#application {
    background-color: #FFEFBC;
}

/* Q&A */
#faq li {
    list-style: none;
    margin-bottom: 20px;
    border: 1px solid #FFCB29
}

#faq li > h3 {
    position: relative;
    padding: 16px 52px 16px 64px;
    background-color: #FFCB29;
    font-size: 16px;
    word-break: break-all;
	cursor: pointer;
}

@media screen and (max-width: 767px) {
    #faq li > h3 {
        padding-left: 56px;
    }
}

#faq li > h3::before {
    position: absolute;
    top: 50%;
    left: 22px;
    width: 24px;
    height: 24px;
    background-color: #FFFFFF;
    background-image: url(../images/index/question.svg);
    background-repeat: no-repeat;
    background-position: 6px center;
    background-size: 13px;
    transform: translateY(-48%);
    border-radius: 50%;
    content: '';
}

@media screen and (max-width: 767px) {
    #faq li > h3::before {
        left: 16px;
    }
}

#faq li > h3::after {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 24px;
    height: 24px;
    background-color: #FFFFFF;
    transform: translateY(-48%);
    border-radius: 50%;
    content: '';
}

#faq li > h3 span {
    content: '';
    position: absolute;
    top: 50%;
    right: 21px;
    width: 14px;
    height: 2px;
    width: 14px;
    background-color: #FFCB29;
    transform: translateY(-48%);
    z-index: 1;
}

#faq li > h3 > span:after {
    content: '';
    position: absolute;
    top: -6px;
    right: 6px;
    height: 14px;
    width: 2px;
    background-color: #FFCB29;
    z-index: 1;
    opacity: 1;
    transition: .4s;
}

#faq li.is-active > h3 > span:after {
    opacity: 0;
}

#faq li > div {
    overflow: hidden;
    height: 0;
    transition: .3s;
}

#faq li.is-active > div {
    overflow: hidden;
    height: auto;
    transition: .3s;
}

#faq li > div > p {
    position: relative;
    padding: 30px 30px 30px 64px;
    font-size: 16px;
}

#faq li > div > p::before {
    position: absolute;
    top: 50%;
    left: 22px;
    width: 24px;
    height: 24px;
    background-color: #FFCB29;
    background-image: url(../images/index/answer.svg);
    background-repeat: no-repeat;
    background-position: 6px center;
    background-size: 13px;
    transform: translateY(-48%);
    border-radius: 50%;
    content: '';
}

#faq li > div > p > a {
    word-break: break-all;
}


#faq li > div .contact {
    display: block;
}

#faq li > div .contact a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

#faq li > div .contact a::before {
    display: inline-block;
    width: 18px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
}

#faq li > div .contact a.mail {
    margin-top: 6px;
}

#faq li > div .contact a.mail::before {
    margin-right: 8px;
    background-image: url(../images/common/footer_icon_mail.svg);
}

#faq li > div .contact a.phone::before {
    width: 24px;
    background-image: url(../images/common/footer_icon_phone.svg);
    background-position: right;
    background-size: 28px;
}

#faq li > div .contact a.mail img {
    width: auto;
    height: 16px;
}
