@charset "utf-8";
/* 
Theme Name: ECCジュニア&ベストワン諏訪神社前校
Description: 「ECCジュニア&ベストワン諏訪神社前校」サイト用のテーマです。
Author: H. Higuchi
Version: 1.0
*/

:root {
    --color-green: #027F40;
    --color-ivory: #FFFDE6;
    --color-yellow: #FFDD33;
    --color-gray: #333333;
    --color-white: #FDFDFD;
    --color-light-green: #ddebb5;
    --padding-sp: 0 6.4%;
    --padding-pc: 0 3.3%;
}

html {
    font-size: 62.5%;
    /* scroll-behavior: smooth; */
    scroll-padding-top: 64px;
}

body {
    font-family: "Lato", "Zen Kaku Gothic New", Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-gray);
    line-height: 1.5;
    letter-spacing: 0.05em;
    background-color: var(--color-ivory);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

section {
    margin-top: 88px;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.btn-box {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 16px 66px 16px 40px;
    border-radius: 30px;
    background-color: var(--color-yellow);
    color: var(--color-green);
    font-weight: 500;
    font-size: 1.8rem;
    margin: auto;
    position: relative;
    margin-top: 48px;
}

.btn::after {
    content: "";
    display: inline-block;
    background-image: url(./img/arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    height: 18px;
    width: 18px;
    position: absolute;
    top: 50%;
    right: 26px;
    transform: translate(-50%, -50%);
    transition: all .5s;
}

.btn:hover::after {
    right: 20px;
}

a {
    transition: 0.5s;
}

a:hover {
    opacity: 0.7;
}

section {
    padding: var(--padding-sp);
}

h2 {
    font-weight: 500;
    font-size: 2.4rem;
    color: var(--color-green);
    text-align: center;
}

h3 {
    font-size: 2rem;
    font-weight: 500;
}

.img-box {
    text-align: center;
}

.pc-br {
    display: none;
}

/* pc */
@media (min-width: 769px) {
    html {
        scroll-padding-top: 80px;
    }

    .sp-br {
        display: none;
    }

    .pc-br {
        display: block;
    }

    section {
        margin-top: 160px;
        padding: var(--padding-pc);
    }

    .btn {
        border-radius: 60px;
        font-size: 2.4rem;
        margin-top: 56px;
    }

    h2 {
        font-size: 4rem;
    }

    h3 {
        font-size: 2.8rem;
    }

    a {
        cursor: pointer;
    }
}
/* pc */

/*===========================
header
===========================*/
header {
    height: 64px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.header-box {
    height: 64px;
    top: 0;
    width: 100%;
    background-color: var(--color-ivory);
    box-shadow: 0 1px 3px 0 rgba(51,51,51,0.15);
}

.logo-school-name {
    height: 100%;
    display: flex;
    align-items: center;
}

.header-box a {
    display: inline-block;
    padding: 8px;
}

.logo img {
    width: 48px;
}

.school-name {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-green);
    padding-left: 8px;
}

.menu-btn {
    position: fixed;
    cursor: pointer;
    width: 64px;
    height: 64px;
    top: 0;
    right: 0;
}

.menu-btn span {
    background-color: var(--color-green);
    display: inline-block;
    position: absolute;
    transition: 0.4s;
    height: 2px;
    width: 46%;
    border-radius: 5px;
    right: 16px;
}

.menu-btn span:nth-of-type(1) {
    top: 16px;
}

.menu-btn span:nth-of-type(2) {
    top: 26.5px;
}

.menu-btn span:nth-of-type(3) {
    top: 37px;
}

.menu-btn span:nth-of-type(3)::after {
    content: "Menu";
    position: absolute;
    top: 4px;
    left: 1px;
    color: var(--color-green);
    font-size: 1rem;
    font-weight: 700;
}

.menu-btn.active span:nth-of-type(1) {
    top: 16px;
    left: 23px;
    transform: translateY(6px) rotate(-45deg);
    width: 39%;
}

.menu-btn.active span:nth-of-type(2) {
    opacity: 0;
}

.menu-btn.active span:nth-of-type(3) {
    top: 28px;
    right: 16px;
    transform: translateY(-6px) rotate(45deg);
    width: 39%;
}

.menu-btn.active span:nth-of-type(3)::after {
    content: "Close";
    transform: translateY(0) rotate(-45deg);
    top: 9px;
    left: 14px;
}

nav {
    background-color: var(--color-green);
    height: 100vh;
    width: 100%;
    padding-top: 64px;
    transition: 0.6s;
    opacity: 0;
    visibility: hidden;
}

nav.active {
    opacity: 1;
    visibility: visible;
}

.nav-item {
    display: block;
    width: 39%;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-white);
    padding: 16px 0;
    text-align: center;
    border-bottom: 1px solid var(--color-yellow);
    margin: auto;
}

/* spとpcの間 */
@media (min-width: 769px) {
    header {
        display: flex;
        justify-content: space-between;
        background-color: var(--color-ivory);
        padding: 0 16px;
        height: 80px;
        align-items: center;
        box-shadow: 0 2px 3px 0 rgba(51,51,51,0.15);
    }

    .header-box {
        width: fit-content;
        box-shadow: none;
    }

    .header-box a {
        height: 100%;
        padding: 0;
    }

    .logo-school-name {
        height: 100%;
        display: flex;
        align-items: center;
    }

    .logo img {
        width: 56px;
    }

    .school-name {
        font-size: 1.6rem;
        padding-left: 8px;
    }

    .menu-btn {
        display: none;
    }

    nav {
        background-color: transparent;
        width: fit-content;
        padding-top: 0;
        opacity: 1;
        visibility: visible;
        height: 80px;
    }

    .nav-list {
        display: flex;
        height: 100%;
        align-items: center;
        width: fit-content;
        gap: 8px;
    }

    .nav-item {
        width: auto;
        font-size: 1.6rem;
        color: var(--color-gray);
        padding: 0;
        border-bottom: none;
        margin: 0;
    }
}

@media (min-width: 1160px) {
    header {
        padding: 0 48px;
    }

    .header-box {
        max-width: 202px;
        width: 100%;
    }

    .logo img {
        width: 65px;
    }

    .school-name {
        font-size: 1.8rem;
        padding-left: 24px;
    }

    .nav-list {
        gap: 40px;
    }

    .nav-item {
        font-size: 2rem;
    }
}
/*===========================
main
===========================*/
/*--------------------
mv
--------------------*/
#mv {
    margin-top: 64px;
    position: relative;
    z-index: -1;
}

.mv-img {
    background-image: url(./img/mv.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 3%;
    padding-top: 324px;
}

.mv-txtbox {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);
    background-color: rgba(253,253,253,0.4);
    width: 160px;
    height: 160px;
    border-radius: 24px;
}

.mv-txtbox p {
    font-size: 2.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-white);
    text-shadow: 1px 2px 2px rgba(0,0,0,0.35);
}

.mv-letter01,
.mv-letter02 {
    font-size: 4.2rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    line-height: 130%;
    text-shadow: none;
    position: relative;
    left: 9px;
    top: -3px;
}

.mv-letter01::after,
.mv-letter02::after {
    content: "";
    display: inline-block;
    background-color: rgba(2, 127, 64, 0.5);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    position: absolute;
    top: -1px;
    left: -7px;
    z-index: -1;
}

.surprise {
    display: inline-block;
    font-family: "Zen Kaku Gothic New";
    font-size: 4rem;
    font-weight: 400;
    transform: rotate(21deg);
    position: relative;
    left: 19px;
    top: 5px;
}

.mv-en {
    position: absolute;
    top: 72%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(253,253,253,0.8);
    font-size: 1.4rem;
    white-space: nowrap;
}

/* pc */
@media (min-width: 769px) {
    #mv {
        margin-top: 80px;
    }

    .mv-img {
        padding-top: 790px;
        background-image: url(./img/mv.jpg);
        background-position: 0% 0%;
    }

    .mv-txtbox {
        width: 452px;
        height: 452px;
        border-radius: 40px;
        top: 50%;
    }

    .mv-txtbox p {
        font-size: 7.1rem;
    }

    .mv-letter01,
    .mv-letter02 {
        font-size: 13.4rem;
    }

    .mv-letter01::after,
    .mv-letter02::after {
        width: 176px;
        height: 176px;
        top: -5px;
        left: -19px;
    }

    .surprise {
        font-size: 12.4rem;
        left: 26px;
        top: 25px;
    }

    .mv-en {
        font-size: 4rem;
        top: 82%;
    }
}

/*--------------------
お知らせ
--------------------*/
#news {
    margin-top: 80px;
}

#news .btn {
    font-weight: 700;
    position: relative;
    padding-right: 88px;
}

#news .btn::after {
    content: "";
    display: inline-block;
    background-image: url(./img/Instagram-logo.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translate(-50%, -50%);
}

#sb_instagram {
    padding-bottom: 0 !important;
    height: 100% !important;
}

.Instagram-posts {
    margin-top: 48px;
}

#sbi_images {
    gap: 8px !important;
}

#sb_instagram #sbi_images {
    padding: 0 !important;
}

/* pc */
@media (min-width: 769px) {
    #news {
        margin-top: 144px;
    }

    .Instagram-posts {
        margin-top: 64px;
    }

    #sb_instagram {
        max-width: 670px !important;
    }

    #sbi_images {
        gap: 24px !important;
    }
}

/*--------------------
私たちの想い
--------------------*/
#message {
    width: fit-content;
    margin: 68px auto 0;
    overflow: hidden;
    padding-top: 20px;
    position: relative;
}

#message h2 {
    width: fit-content;
    margin: auto;
}

.bird-illustration {
    background-image: url(./img/bird.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 93px;
    height: 93px;
    position: absolute;
    top: -9px;
    right: 6%;
}

.message-box {
    margin: 48px auto 0;
    text-align: left;
    max-width: 488px;
}

.message-box p {
    margin-top: 16px;
    line-height: 1.8;
    font-weight: 500;
}

@media (min-width: 769px) {
    #message {
        margin: 160px auto 0;
        padding-top: 0;
    }

    #message h2::after {
        width: 193px;
        height: 193px;
        top: -9%;
        left: 127%;
    }

    .message-box {
        margin: 64px auto 0;
        max-width: none;
    }

    .message-box p {
        margin-top: 32px;
        text-align: center;
        font-size: 1.9rem;
    }

    .bird-illustration {
        width: 167px;
        height: 167px;
        right: 10%;
    }
}
/*--------------------
当教室の特色
--------------------*/
.feature-content {
    margin-top: 48px;
}

.feature-box {
    padding: 24px 16px;
    background-color: var(--color-light-green);
    max-width: 385px;
    border-radius: 24px;
    margin: auto;
    text-align: center;
    margin-top: 32px;
    box-shadow: 6px 6px 0 0 rgba(2, 127, 64, 0.8);
    position: relative;
}

.feature-box h3 span {
    position: absolute;
    top: -18px;
    left: 17px;
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--color-green);
}

.feature-box h3 .sp-txt {
    position: static;
    font-size: 2rem;
    font-weight: 500;
    color: var(--color-gray);
}

.feature-box p {
    margin-top: 24px;
}

.feature-box p img {
    max-width: 295px;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

@media (min-width: 769px) {
    .feature-content {
        max-width: 1000px;
        margin: 64px auto 0;
    }

    .feature-container {
        display: flex;
        gap: 32px;
        justify-content: space-between;
    }

    .feature-box {
        padding: 48px 32px;
        width: 100%;
        max-width: none;
        border-radius: 32px;
        margin: 0;
        box-shadow: 8px 8px 0 0 rgba(2, 127, 64, 0.8);
        text-align: left;
        gap: 48px;
    }

    .feature-content>.feature-box {
        margin-top: 56px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .feature-box h3 span {
        font-size: 4rem;
        top: -31px;
        left: 28px;
    }

    .feature-box h3 .sp-txt {
        font-size: 2.8rem;
    }

    .feature-box p {
        margin-top: 0;
    }

    .feature-box p img {
        max-width: 444px;
        border-radius: 24px;
    }
}

/*--------------------
コース紹介
--------------------*/
.course-wrapper {
    margin-top: 48px;
}

.course-container {
    margin: 32px auto 0;
    max-width: 385px;
}

.course-target {
    border-left: 8px solid var(--color-green);
    padding-left: 24px;
}

.course-box {
    background-color: var(--color-light-green);
    padding: 24px 16px;
    border-radius: 24px;
    margin: 16px auto 0;
    max-width: 385px;
}

.popular {
    text-align: center;
    color: var(--color-green);
    font-weight: 500;
    line-height: 1.3;
    font-size: 1.4rem;
    background-image: url(./img/ribbon.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.course-title {
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
}

.sp-txt {
    display: inline-block;
}

.beginner {
    font-size: 1.4rem;
    display: inline-block;
}

.course-title01 {
    margin-top: 8px;
}

.course-title01,
.course-title03 {
    line-height: 1.3;
}

.course-box .img-box {
    margin-top: 16px;
}

.course-box .img-box01 {
    margin-top: 8px;
}

.illustration-worksheet {
    max-width: 180px;
    width: 100%;
    height: 108px;
}

.illustration-kobetsu {
    max-width: 126px;
    height: 108px;
}

.illustration-pc {
    max-width: 144px;
    height: 108px;
}

.course-desc {
    margin-top: 16px;
}

.course-detail {
    font-size: 1.4rem;
}

@media (min-width: 769px) {
    .course-wrapper {
        margin: 64px auto 0;
        display: flex;
        justify-content: center;
        gap: 24px;
        max-width: 1000px;
    }

    .course-container {
        margin: 0;
        max-width: none;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .course-box {
        padding: 40px 24px;
        margin: 24px 0 0 0;
        max-width: 390px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .popular {
        font-size: 1.6rem;
    }

    .course-title {
        font-size: 2.4rem;
    }

    .course-title-box {
        height: 114px;
        align-content: center;
    }
    
    .course-title02,
    .course-title03 {
        height: 114px;
        align-content: center;
    }

    .beginner {
        font-size: 1.6rem;
    }

    .course-box .img-box {
        margin-top: 8px;
    }

    .course-desc {
        margin-top: 32px;
    }

    .course-top {
        align-content: center;
        min-height: 209px;
    }
}

/*--------------------
保護者さまの声
--------------------*/
#top-voice {
    margin-bottom: 88px;
}

.voice-container {
    margin-top: 48px;
}

.voice-box {
    padding: 24px 16px;
    background-color: var(--color-light-green);
    border-radius: 24px;
    margin: 32px auto 0;
    max-width: 385px;
}

.voice-box img {
    max-width: 120px;
    width: 100%;
    height: 120px;
}

.voice-content {
    margin-top: 16px;
}

.voice-name {
    margin-top: 8px;
    font-size: 1.4rem;
    text-align: right;
}

/* pc */
@media (min-width: 769px) {
    #top-voice {
        margin-bottom: 100px;
    }

    .voice-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        max-width: 1000px;
        margin: 64px auto 0;
    }

    .voice-box {
        padding: 40px 32px;
        border-radius: 32px;
        margin: 0;
        max-width: 911px;
        display: flex;
        gap: 48px;
        align-items: center;
    }

    .voice-box01 {
        margin-right: 89px;
    }

    .voice-box02 {
        flex-direction: row-reverse;
        margin-left: 89px;
    }

    .voice-content {
        margin-top: 0;
        flex: 1;
    }

    .voice-name {
        margin-top: 16px;
    }

    .voice-name-l {
        text-align: left;
    }

    .voice-detail {
        font-weight: 500;
    }
}

/*--------------------
お問い合わせ
--------------------*/
#contact {
    padding: 88px 6.4%;
    background-color: var(--color-yellow);
    margin-top: 0;
}

#contact>p {
    margin-top: 48px;
    font-weight: 500;
    text-align: center;
}

.contact-box {
    margin: 32px auto 0;
    padding: 32px 16px;
    background-color: var(--color-ivory);
    border-radius: 24px;
    max-width: 385px;
}

.contact-box p {
    text-align: center;
}

.contact-box p img {
    width: 48px;
    height: 48px;
}

.Instagram-box {
    margin-top: 24px;
}

.tel-box {
    margin-top: 32px;
}

.tel {
    font-weight: 700;
    font-size: 2.2rem;
    padding-left: 58px;
    width: fit-content;
    margin: auto;
    position: relative;
}

.tel::after {
    display: inline-block;
    content: "";
    width: 34px;
    height: 34px;
    background-image: url(./img/tel.png);
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 2px;
    left: 0;
}

.tel-box dl {
    width: fit-content;
    margin: 16px auto 0;
    font-weight: 500;
}

.tel-box dt {
    font-weight: 500;
}

.tel-box dd span {
    font-weight: 700;
}

@media (min-width: 769px) {
    #contact {
        padding: 100px 3.3%;
        margin-top: 0;
    }

    #contact>p {
        margin-top: 64px;
        font-weight: 500;
        font-size: 2rem;
    }

    .contact-box {
        padding: 40px 80px;
        border-radius: 32px;
        max-width: 670px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 64px;
    }

    .Instagram-box {
        margin-top: 0;
    }

    .tel-box {
        margin-top: 0;
    }

    .tel-box dl {
        text-align: center;
    }

    .tel {
        font-size: 3.2rem;
    }

    .tel::after {
        top: 9px;
    }

    a[href^="tel:"] {
        pointer-events: none;
        cursor: default;
    }
}
/*--------------------
アクセス
--------------------*/
#access {
    overflow: hidden;
    margin-top: 88px;
}

#access dl {
    margin: 48px auto 0;
    max-width: 438px;
}

.access-box {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 16px;
}

.access-box dt {
    padding: 4px 16px;
    background-color: var(--color-light-green);
    border-radius: 24px;
    width: 31%;
    max-width: 100px;
    height: 100%;
    text-align: center;
    font-weight: 500;
}

.access-box dd {
    width: 68%;
    padding-top: 5px;
}

.access-box>.access-box01,
.access-box>.access-box02 {
    padding-top: 0;
}

.access-img-box {
    margin-top: 32px;
}

.access-img-box img {
    max-width: 210px;
    height: 210px;
}

.map {
    width: 100vw;
    margin: 32px calc(50% - 50vw) 0;
}

.map iframe {
    width: 100%;
    height: 100%;
    aspect-ratio: 375 / 260;
}

@media (min-width: 769px) {
    #access {
        margin-top: 100px;
    }
    
    .access-container {
        margin: 64px auto 0;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 64px;
        max-width: 750px;
    }

    #access dl {
        margin: 0;
        max-width: none;
    }

    .access-container>dl>.access-box:first-of-type {
        margin-top: 0;
        width: auto;
    }

    .access-box {
        gap: 24px;
        margin-top: 24px;
        justify-content: flex-start;
    }

    .access-box dt {
        width: 100px;
    }

    .access-box dd {
        white-space: nowrap;
        width: fit-content;
        margin-top: 0;
        align-content: center;
        font-weight: 500;
    }

    #access .access-open {
        font-weight: 700;
    }

    #access>p {
        margin-top: 0;
    }

    .access-img-box {
        margin-top: 0;
    }

    .access-img-box img {
        max-width: 270px;
        height: 270px;
    }

    .map {
        margin-top: 100px;
    }

    .map iframe {
        aspect-ratio: 1440 / 380;
    }
}

/*--------------------
footer
--------------------*/
footer {
    padding: 88px 6.4%;
    background-color: var(--color-green);
    color: var(--color-white);
    text-align: center;
    position: relative;
    margin-top: auto;
}

footer:after {
    display: inline-block;
    content: "";
    background-image: url(./img/ECC-dog.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 65px;
    height: 65px;
    position: absolute;
    top: 180px;
    right: 20px;
}

.privacy,
.copyright {
    font-size: 1.4rem;
}

.copyright {
    margin-top: 8px;
    color: var(--color-yellow);
}

.about-illustration {
    font-size: 1.1rem;
    margin-top: 24px;
}

/* pc */
@media (min-width: 769px) {
    footer {
        padding: 100px 3.3%;
        position: static;
    }

    .footer-box {
        position: relative;
        width: fit-content;
        margin: auto;
    }

    .footer-box::after {
        display: inline-block;
        content: "";
        background-image: url(./img/ECC-dog.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 75px;
        height: 75px;
        position: absolute;
        top: 4px;
        right: -101px;
    }

    footer:after {
        display: none;
    }

    .privacy,
    .copyright {
        font-size: 1.6rem;
    }

    .about-illustration {
        margin-top: 32px;
    }
}
/* 当教室の特色ページ */
/*--------------------
当教室の特色
--------------------*/
#feature {
    margin-top: 124px;
}

#feature .feature-container {
    margin-top: 48px;
}

.feature-desc {
    margin-top: 24px;
}

.feature-list {
    text-align: left;
}

.feature-desc>p {
    margin-top: 16px;
}

#feature .feature-box p {
    text-align: left;
}

#feature .feature-box .feature-desk-img {
    text-align: center;
}

/* pc */
@media (min-width: 769px) {
    #feature {
        margin-top: 160px;
    }

    #feature>.feature-box {
        margin-top: 46px;
    }

    .support-illustration-box {
        background-image: url(./img/support.png);
        background-repeat: no-repeat;
        background-size: contain;
        width: 210px;
        height: 128px;
        margin: 22px auto 0
    }

    .feature-inner {
        max-width: 428px;
    }
}

/*--------------------
教室長ごあいさつ
--------------------*/
#self-intro {
    padding: 88px 6.4%;
    background-color: var(--color-green);
}

#self-intro h2 {
    color: var(--color-yellow);
}

#self-intro .img-box {
    margin-top: 48px;
}

#self-intro img {
    max-width: 265px;
    width: 100%;
}

.self-intro-box {
    margin-top: 48px;
    color: var(--color-white);
}

.self-intro-box p {
    margin-top: 16px;
}

.self-intro-box p:last-of-type {
    text-align: right;
}

@media (min-width: 769px) {
    #self-intro {
        margin-top: 100px;
        padding: 100px 3.3%;
    }

    #self-intro .img-box {
        margin-top: 0;
    }

    .self-intro-box {
        margin-top: 0;
        max-width: 671px;
    }

    .self-intro-inner {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 64px;
        max-width: 1000px;
        margin: 64px auto 0;
    }
}

/* コース紹介ページ */
/*--------------------
コース紹介
--------------------*/
#course {
    margin-top: 124px;
}

.course-detail-wrapper01 {
    margin-top: 48px;
}

.course-inner {
    margin-top: 40px;
}

.course-inner01 {
    padding-bottom: 40px;
    border-bottom: solid 1px var(--color-green);
}

.course-detail {
    display: inline-block;
    margin-top: 8px;
    font-size: 1.4rem;
}

.table-box {
    margin: 16px auto 0;
    max-width: 385px;
}

table {
    max-width: 385px;
    width: 100%;
    border-radius: 8px;
    border-spacing: 0;
    border-top: solid 1px green;
    border-left: solid 1px green;
    border-collapse: separate;
    margin-top: 8px;
}

table td:first-of-type {
    width: 34%;
    text-align: center;
    padding: 8px 13px;
    background-color: var(--color-green);
    color: var(--color-white);
    border-bottom: solid 1px var(--color-white);
    line-height: 107%;
    height: 51px;
    align-content: center;
}

table td:nth-of-type(2) {
    padding: 8px 16px;
    align-content: center;
    background-color: var(--color-white);
    font-size: 1.8rem;
    border-bottom: solid 1px var(--color-green);
    border-right: solid 1px var(--color-green);
}

.table-top-l {
    border-top-left-radius: 6px;
}

.table-top-r {
    border-top-right-radius: 7px;
}

table tr .table-bottom-l {
    border-bottom-left-radius: 6px;
    border-bottom: 0;
    padding: 15px 20px;
    height: 51px;
}

table tr .table-bottom-r {
    border-bottom-right-radius: 6px;
}

.pace-info,
.price-info {
    font-size: 1.4rem;
}

table tr .admission-fee {
    padding: 15px 20px;
    height: 51px;
}

.table-info {
    font-size: 1.4rem;
    margin-top: 8px;
}

.course-price-info {
    font-weight: 500;
    color: var(--color-green);
    background: linear-gradient(transparent 50%, #fff09e 50%);
}

.course-box-unique {
    margin-top: 32px;
    max-width: none;
}

.course-box-unique:first-child {
    margin-top: 40px;
}

.dashed {
    font-weight: 500;
    font-size: 1.8rem;
    background-image: linear-gradient(to left, transparent 4px, var(--color-green) 2px);
    background-size: 9px 1px;
    background-repeat: repeat-x;
    background-position: left bottom;
    width: fit-content;
    margin: auto;
}

.course-others-desc {
    margin-top: 16px;
    text-align: center;
}

.course-info-box {
    width: fit-content;
    margin: auto;
}

.kanken {
    margin-top: 32px;
    font-size: 1.4rem;
}

.course-detail-wrapper {
    margin-top: 64px;
}

.table-l {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.table-r {
    border-top-right-radius: 7px;
    border-bottom-right-radius: 6px;
}

.table-target {
    font-size: 1.4rem;
    margin-top: 16px;
}

.table-long {
    line-height: 110%;
}

/* pc */
@media (min-width: 769px) {
    #course {
        margin-top: 160px;
    }

    #course .course-target {
        max-width: 1000px;
        margin: auto;
    }

    .course-detail-wrapper01 {
        margin-top: 64px;
    }

    .course-inner {
        margin-top: 48px;
    }

    .course-inner01 {
        padding-bottom: 48px;
    }

    #course .course-title02,
    #course .course-title03 {
        height: auto;
    }

    .course-info-box {
        font-weight: 500;
    }

    .table-box {
        margin: 32px auto 0;
        max-width: 1000px;
    }

    table {
        max-width: 1000px;
    }

    .table-info {
        text-align: right;
    }

    table td:first-of-type {
        width: 34%;
        line-height: 1.5;
        padding: 8px 24px;
        height: 51px;
    }

    table td:nth-of-type(2) {
        padding: 8px 24px 8px 26%;
        font-size: 2rem;
    }

    table tr .table-bottom-l {
        padding: 8px 24px;
        height: auto;
    }

    .price-info {
        font-size: 1.6rem;
    }

    table tr .admission-fee {
        padding: 8px 24px;
        height: auto;
    }

    .page-course-box {
        display: flex;
        flex-direction: row;
        max-width: 1000px;
        margin: auto;
        justify-content: center;
        align-items: center;
        gap: 40px;
    }

    .page-course-box .course-l {
        width: 327px;
    }

    .page-course-box .page-course-desc {
        margin-top: 0;
    }

    .page-course-desc .course-detail {
        margin-top: 8px;
    }

    .course-box-unique-inner {
        display: flex;
        max-width: 1000px;
        margin: 48px auto 0;
        gap: 24px;
    }

    .course-box-unique-inner>.course-box {
        margin-top: 0;
        gap: 24px;
        flex: 1;
    }

    .dashed {
        font-size: 2.2rem;
        margin: 0 auto;
        text-align: center;
        width: 160px;
    }

    .dashed01 {
        margin: 16.5px auto;
        width: auto;
    }

    .course-others-desc {
        margin-top: 0;
    }

    .kanken {
        max-width: 1000px;
        margin: 40px auto 0;
    }

    .course-detail-wrapper {
        margin-top: 80px;
    }

    .table-target {
        font-size: 1.6rem;
        margin-top: 24px;
    }

    .table-long {
        line-height: 1.3;
    }

    .course-info {
        margin-top: 8px;
    }
}

/*--------------------
入塾までの流れ
--------------------*/
.flow-box-container {
    margin-top: 48px;
}

.flow-box {
    padding: 24px 16px;
    border-radius: 24px;
    background-color: #FFEE99;
    margin: 50px auto 0;
    max-width: 385px;
    position: relative;
}

.flow-box01::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url(./img/arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(90deg);
    position: absolute;
    top: 113%;
    left: 50%;
}

.flow-box02::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url(./img/arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(90deg);
    position: absolute;
    top: 113%;
    left: 50%;
}

.flow-box03::after {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url(./img/arrow.png);
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(90deg);
    position: absolute;
    top: 110%;
    left: 50%;
}

.flow-box-container>.flow-box:first-of-type {
    margin-top: 48px;
}

.flow-box>h3 {
    text-align: center;
}

.flow-box>p {
    margin-top: 8px;
}

.flow-box span {
    font-size: 1.4rem;
}

#flow {
    margin-bottom: 88px;
}

/* pc */
@media (min-width: 769px) {
    .flow-box-container {
        margin-top: 64px;
    }

    .flow-box {
        padding: 32px 24px;
        border-radius: 32px;
        max-width: 760px;
    }

    .flow-box>p {
        margin-top: 16px;
        text-align: center;
    }

    #flow {
        margin-bottom: 100px;
    }
}

/* 保護者さまの声ページ */
/*--------------------
保護者さまの声
--------------------*/
#voice {
    margin-top: 124px;
}

/* pc */
@media (min-width: 769px) {
    #voice {
        margin-top: 160px;
    }

    .voice-box03 {
        margin-right: 89px;
    }
}

/*--------------------
生徒さんの在籍校
--------------------*/
.school-container {
    margin-top: 48px;
}

.school-box {
    background-color: var(--color-light-green);
    padding: 24px 16px;
    border-radius: 24px;
    text-align: center;
    max-width: 385px;
    margin: auto;
}

.school-list li {
    margin-top: 8px;
}

.school-box>p {
    text-align: right;
    margin-top: 8px;
}

.school-illustration {
    background-image: url(./img/school.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    width: 225px;
    height: 225px;
    margin: -24px auto 0;
}

/* pc */
@media (min-width: 769px) {
    .school-container {
        margin-top: 64px;
        display: flex;
        margin: 64px auto 0;
        width: fit-content;
        gap: 64px;
    }

    .school-box {
        padding: 48px 32px;
        border-radius: 32px;
        max-width: fit-content;
        margin: 0;
    }

    .school-list li {
        margin-top: 16px;
        font-weight: 500;
    }

    .school-box>p {
        margin-top: 16px;
    }

    .school-illustration {
        margin: 0;
    }
}

/*--------------------
合格実績
--------------------*/
#results {
    margin: 72px 0 88px;
}

#results>h2 {
    position: relative;
    width: fit-content;
    margin: auto;
}

#results>h2::after {
    content: "";
    display: inline-block;
    background-image: url(./img/sakura.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 80px;
    height: 80px;
    position: absolute;
    top: 6px;
    right: -90%;
}
.results-box {
    margin: 48px auto 0;
    background-color: var(--color-light-green);
    padding: 24px 16px;
    border-radius: 24px;
    max-width: 385px;
}

.results-list>li {
    margin-top: 8px;
}

.results-box>p {
    margin-top: 8px;
    text-align: right;
}

.results-info {
    font-size: 1.4rem;
    margin: 8px auto 0;
    max-width: 385px;
}

/* pc */
@media (min-width: 769px) {
    #results {
        margin: 160px 0 0 0;
        padding-bottom: 100px;
        overflow: hidden;
    }

    #results>h2::after {
        width: 130px;
        height: 130px;
        top: 23px;
        left: -182%;
    }

    .results-box {
        margin: 64px auto 0;
        padding: 48px 32px;
        border-radius: 32px;
        max-width: fit-content;
        position: relative;
    }

    .results-box::after {
        content: "";
        display: inline-block;
        background-image: url(./img/sakura-pc.png);
        background-size: contain;
        background-repeat: no-repeat;
        width: 231px;
        height: 209px;
        position: absolute;
        bottom: -145px;
        right: -217px;
    }

    .results-list>li {
        margin-top: 16px;
        font-weight: 500;
    }

    .results-box>p {
        margin-top: 16px;
    }

    .results-info {
        margin: 16px auto 0;
        max-width: 484PX;
    }
}

/* 404ページ */
#section-404 {
    margin: 124px 0 88px;
}

#section-404>p {
    margin-top: 48px;
    text-align: center;
}

/* pc */
@media (min-width: 769px) {
    #section-404 {
        margin: 160px 0 100px;
    }

    #section-404>p {
        margin-top: 64px;
    }
}

/* プライバシーポリシーページ */
#privacy-policy {
    margin: 124px 0 88px;
}

#privacy-policy>p {
    margin-top: 48px;
}

#privacy-policy div {
    margin-top: 24px;
}

#privacy-policy dt {
    font-weight: 400;
}

#privacy-policy dd {
    margin-top: 10px;
}

/* pc */
@media (min-width: 769px) {
    #privacy-policy {
        margin: 160px auto 100px;
        max-width: 760px;
        padding: 0;
    }

    #privacy-policy>p {
        margin-top: 64px;
    }

    #privacy-policy div {
        margin-top: 32px;
    }

    #privacy-policy dd {
        margin-top: 8px;
    }
}

/* アニメーション */
body {
    animation: fade-in-anime 2s forwards;
}

.fade-in {
    animation-name: fade-in-anime;
    animation-duration: 1s;
    animation-fill-mode: forwards;
}

@keyframes fade-in-anime {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mv-en {
    display: flex;
    overflow: hidden;
}

.mv-en p {
    opacity: 0;
}

.slide-in {
    animation: fade-in-anime 1s forwards;
}

.mv-en p:nth-of-type(1) {
    animation-delay: 0.5s;
}

.mv-en p:nth-of-type(2) {
    animation-delay: 0.55s;
}

.mv-en p:nth-of-type(3) {
    animation-delay: 0.6s;
}

.mv-en p:nth-of-type(4) {
    animation-delay: 0.65s;
}

.mv-en p:nth-of-type(5) {
    animation-delay: 0.7s;
}

.mv-en p:nth-of-type(6) {
    animation-delay: 0.75s;
    margin-right: 5px;
}

.mv-en p:nth-of-type(7) {
    animation-delay: 0.8s;
}

.mv-en p:nth-of-type(8) {
    animation-delay: 0.85s;
}

.mv-en p:nth-of-type(9) {
    animation-delay: 0.9s;
}

.mv-en p:nth-of-type(10) {
    animation-delay: 0.95s;
    margin-right: 5px;
}

.mv-en p:nth-of-type(11) {
    animation-delay: 1s;
}

.mv-en p:nth-of-type(12) {
    animation-delay: 1.05s;
}

.mv-en p:nth-of-type(13) {
    animation-delay: 1.1s;
    margin-right: 5px;
}

.mv-en p:nth-of-type(14) {
    animation-delay: 1.15s;
}

.mv-en p:nth-of-type(15) {
    animation-delay: 1.2s;
}

.mv-en p:nth-of-type(16) {
    animation-delay: 1.25s;
}

.mv-en p:nth-of-type(17) {
    animation-delay: 1.3s;
}

.mv-en p:nth-of-type(18) {
    animation-delay: 1.35s;
}

.mv-en p:nth-of-type(19) {
    animation-delay: 1.4s;
}

.fade-right {
    animation: fade-right-anime 2s forwards;
}

@keyframes fade-right-anime {
    from {
        opacity: 0;
        transform: translate(30%, -15%);
    }
    to {
        opacity: 1;
        transform: translate(0, 10%);
    }
}

/* pc */
@media (min-width: 769px) {
    .mv-en p:nth-of-type(6) {
        margin-right: 13px;
    }
    .mv-en p:nth-of-type(10) {
        margin-right: 13px;
    }
    .mv-en p:nth-of-type(13) {
        margin-right: 13px;
    }
}
