@charset "utf-8";

/*====================================
main
=======================================*/
/* article header */
.mainImg__pc {
    display: none;
}

.mainImg__sp {
    max-width: 100%;
    height: 369px;
    background-image: url(../images/bg-sp.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}

.mainImg__spbox {
    max-width: 47%;
    border-radius: 8px;
    font-weight: 700;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 7px;
    position: absolute;
    left: 10%;
    bottom: 20px;
    text-align: center;
}

.article__header--sptxt {
    font-family: "M PLUS 1p";
    font-size: 1.6rem;
    font-weight: 700;
    -webkit-text-stroke-width: 0.1px;
    -webkit-text-stroke-color: #FDFDFD
}

.mainImg__txt__sp {
    color: #FF7000;
    font-family: "M PLUS 1p";
    font-size: 2rem;
    font-weight: 700;
    -webkit-text-stroke-width: 0.1px;
    -webkit-text-stroke-color: #FDFDFD
}

.mainImg__pc {
    max-width: 100%;
    height: 515px;
    background-image: url(../images/bg-hp.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: relative;
}

/* article header pc */
@media screen and (min-width: 769px) {
    .mainImg .mainImg__pc {
        display: block;
        margin: 0;
    }

    .mainImg .mainImg__sp {
        display: none;
    }

    .article__header--pctxt,
    .mainImg__txt__pc {
        display: none;
    }


    .mainTopics {
        padding: 0;
        max-width: 1280px;
        margin: 0 auto;
    }

    .spBr {
        display: none;
    }

}

/* pc 769px */

/* .sectoin */
.section--intro {
    padding: 48px 0;
}

.intro__title {
    margin: 0 auto;
    text-align: center;
    width: var(--contentWidth);
    color: #FF7000;
    font-family: "M PLUS 1p";
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
}

.topic {
    color: var(--primary-black, #333A3A);
    text-align: center;
    font-family: "M PLUS 1p";
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 24px auto 0;
    position: relative;
    padding: 0 16px;
    z-index: 1;
}

.topic::before,
.topic::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 53px;
    background-image: url(../images/nanohana-title.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -2;
}

.topic::before {
    left: 14px;
}

.topic::after {
    right: 14px;
    transform: scaleX(-1);
    top: 6%;
}

/* intoro__title pc  */
@media screen and (min-width: 769px) {
    .contact {
        width: 100%;
    }

    .section--intro {
        padding: 0;
    }

    .intro__title {
        font-size: 4rem;
        margin-top: 0px;
    }

    .topic {
        font-size: 2.9rem;
        margin: 50px 0 70px;
    }

    .topic::before,
    .topic::after {
        width: 120px;
        height: 130px;
    }

    .topic::before {
        left: 14px;
    }

    .topic::after {
        right: 14px;
        top: -80%
    }

    .txt {
        font-size: 2rem;
        font-weight: 700;
    }

}

/* pc 769px */

.txt {
    margin: 24px auto;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
}

.worrybox {
    height: auto;
    background-image: url(../images/worry.png);
    background-repeat: no-repeat;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    min-height: 300px;
    align-items: center;
    padding: 20px;
    position: relative;
}

.item {
    height: 115px;
    border: 4px solid #135602;
    border-radius: 314px;
    background: #FDFDFD;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    font-family: "M PLUS 1p";
    font-size: 1.6rem;
    font-weight: 700;
    margin: 10px 15px;
    width: 40%;
    padding: 5px;
    margin-bottom: 30px;
}

.item__skill {
    font-size: 1.3rem;
}

.intro__title {
    margin-top: 24px;
    width: var(--contentWidth);
}

.black {
    color: var(--primary-black);
    text-align: center;
    font-family: "M PLUS 1p";
    font-size: 20px;
    font-weight: 500;
    line-height: 1.3;
}

/* worry pc  */
@media screen and (min-width: 769px) {

    .txt {
        font-size: 2rem;
        font-weight: 500;
    }

    .worrybox {
        padding: 64px 0;
        max-width: 1280px;
        margin: 0 auto;
        justify-content: space-between;
    }

    .item {
        height: 160px;
        font-size: 3.2rem;
        margin: 10px 38px;
    }

    .future {
        padding: 48px 0 42px;
        max-width: 1280px;
        margin: 0 auto;
    }

    .black {
        font-size: 4rem;
    }

}/* pc 769px */

.section--merit {
    padding: 64px 1%;
    font-weight: 700;
}

.txt--merit {
    letter-spacing: 0.2em;
}

.top {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pyramid {
    padding: var(--contentPadding);
}

.text__box {
    width: 212px;
    height: 64px;
    background-color: #FFF8E0;
    flex-shrink: 0;
    color: var(--primary-black);
    text-align: center;
    font-family: "M PLUS 1p";
    font-size: 2rem;
    font-weight: 500;
    display: block;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    transition: 0.4s;
}

.text__box:hover {
    opacity: 0.5;
}

.bottom {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.text__box--organic {
    width: 150px;
    height: 60px;
    flex-shrink: 0;
}

.text__box--learning {
    width: 180px;
    height: 62px;
}

.txt__charm {
    margin-top: 24px;
    font-family: "M PLUS 1p";
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
}

.img {
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.photo {
    width: 50%;
    height: auto;
}

.section--merit {
    /* 既存のスタイルはそのまま */
    padding-left: calc((100% - 1440px) / 2);
    padding-right: calc((100% - 1440px) / 2);
    box-sizing: border-box; 
}

.section__fotter {
    margin-top: 95px;
}

/* merit pc  */
@media screen and (min-width: 769px) {
    .txt--merit {
        margin: 48px;
    }

    .pyramid {
        max-width: 1160px;
        margin: 48px auto;
        padding: 0;
    }

    .text__box {
        min-width: 360px;
        height: 100px;
        font-size: 3.2rem;
        font-weight: 700;
    }

    .bottom {
        margin-top: 50px;
    }

    .txt__charm {
        margin-top: 48px;
        font-size: 3.2rem;
    }

    .img {
        max-width: 1160px;
        margin: 48px auto;
        padding: 0;
    }

    .photo {
        width: 25%;
        height: auto;
    }

}/* pc 769px */

/*====================================
program
=======================================*/
.zero {
    color: #FF7000;
    font-size: 2.8rem;
    font-weight: 500;
}

.stady {
    margin-top: 48px;
    display: flex;
    padding: 48px 0px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    position: relative;
}

.stady::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../images/img_1.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    z-index: -1;
}

.title__work {
    text-align: center;
    font-family: "M PLUS 1p";
    font-size: 1.8rem;
    font-weight: 700;
}

.making {
    border-radius: 30px;
    background-color: rgba(255, 255, 255, 0.60);
    padding: 25px 30px;
    text-align: center;
    margin: 24px 18%;
}

.stady__period {
    text-align: center;
    font-family: "M PLUS 1p";
    font-size: 1.6rem;
    font-weight: 700;
}

.work1,
.work2 {
    width: 150px;
    height: 150px;
    margin: 6px 0 15px;

}

.pcBr {
    display: none;
}

.stady__tool {
    text-align: center;
    font-family: "M PLUS 1p";
    font-size: 1.6rem;
    font-weight: 700;
}

.tool {
    font-family: "M PLUS 1p";
    font-size: 1.4rem;
}

.btn__gallery {
    font-family: "M PLUS 1p";
    font-size: 1.6rem;
    font-weight: 700;
}

/* program pc  */
@media screen and (min-width: 769px) {
    .section--present {
        margin: 64px 0;
    }

    .zero {
        font-size: 4rem;
    }

    .txt--zero {
        margin: 48px 0 90px;
    }

    .title__work {
        font-size: 3.2rem;
    }

    .stady__box {
        margin: 48px 0 64px;
        display: flex;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.8);
    }

    .making {
        margin: 0;
        padding: 25px 30px;
        background-color: rgba(255, 255, 255, 0.0);
    }

    .making img {
        margin-top: 27px;
    }

    .work3 {
        width: 100px;
        height: 150px;
        object-fit: cover;
        margin: 6px 0 15px;
    }

    .stady {
        margin: 64px 0 90px;
    }

    .stady__period {
        font-size: 2.4rem;
    }

    .sp {
        display: none;
    }

    .pcBr {
        display: block;
    }

    .tool {
        font-size: 1.6rem;
    }

    .stady__tool {
        margin-top: 27px;
    }

}/* pc 769pc */

.student {
    margin: 48px 0;
    padding: var(--contentPadding)
}

.voice {
    margin: 48px 0 10px;
    padding: 24px 10px;
    background-color: rgba(172, 255, 151, 0.27);
    border-radius: 8px;
}

.voice__txt {
    padding: 8px;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.2em;
}

.face {
    width: 83px;
    height: 108px;
    margin: 0 auto;
}

.name {
    height: auto;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 1px;
}

.small {
    font-size: 1rem;
}

/* student voice pc*/
@media screen and (min-width: 769px) {
    .student {
        margin: 64px 0 90px;
    }

    .voice__box {
        max-width: 1160px;
        height: 650px;
        margin: 48px auto;
        display: flex;
        align-items: center;
        gap: 48px;
    }

    .voice {
        margin: 48px 0 90px;
        padding: 0;
        width: 700px;
        height: 350px;
        background-color: var(--primary-white);
    }

    .voice__txt {
        font-size: 1.8rem;
    }

    .face {
        width: 320px;
        height: 305px;
    }

    .name {
        font-size: 1.8rem;
    }

    .voice__box--name {
        flex-direction: row-reverse;
    }

}/* pc769px */

.route {
    padding-top: 48px;
    padding-bottom: 48px;
    border-radius: 8px;
    background-color: var(--primary-yellow);
}

.onoffline__group {
    margin: 24px auto 0;
    border-radius: 8px;
    background-color: #FDFDFD;
    width: 91%;
    padding: var(--contentPadding);
    align-items: center;
}

.offline {
    font-family: "M PLUS 1p";
    font-size: 1.8rem;
    font-weight: 700;
    padding-bottom: 4px;
}

.route__txt {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.2;
}

.txt__class {
    text-align: left;
    padding-top: 20px;
}

.offline__class {
    border-radius: 8px;
    margin-top: 24px;
}


/* route pc*/
@media screen and (min-width: 769px) {
    .route {
        padding: 64px 0 90px;
    }

    .onoffline__group {
        display: flex;
        gap: 48px;
    }

    .onoffline__group--1 {
        flex-direction: row-reverse;
    }

    .offline {
        font-size: 2.4rem;
    }

    .txt__class {
        font-size: 2rem;
        letter-spacing: 0.2em;
    }

    .class img {
        max-width: 50%;
    }

}/* pc 769px */

.txt--program {
    margin: 48px auto;
}

.section--qa {
    padding: var(--contentPadding);
    margin-top: 48px;
}

.question {
    display: block;
    border-radius: 8px;
    background-color: var(--primary-darkGreen);
    color: #FFF;
    padding: 15px 0px 10px 25px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    text-align: left;
    font-family: "M PLUS 1p";
    gap: 85px;
    font-size: 1.6rem;
    margin-top: 15px;
    font-weight: 700;
    line-height: 1;
    position: relative;
    transition: 0.4s;
    cursor: pointer;
}

.question::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url(../images/icon_plus.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: background-image 0.3s ease;
}

.accordion[open] .question::after {
    background-image: url(../images/btn-close_white.svg);
    /* 開いた状態の画像 */
}

.answer {
    padding: 8px 20px 30px;
    background-color: rgba(172, 255, 151, 0.27);
    border-radius: 4%;
}

.answer__txt {
    font-family: "Noto Sans JP";
    font-size: 1.4rem;
    font-weight: 500;
}

.note {
    font-size: 1.6rem;
    line-height: 2.5;
}

.note__worry {
    font-size: 1.5rem;
    line-height: 2.5;
}

.point {
    color: #FF7000;
    font-size: 1.6rem;
    font-weight: 500;
}

/* q&a pc */
@media screen and (min-width: 769px) {
    .section--qa {
        margin: 64px 0px 90px;
    }

    details {
        display: block;
    }

    .question {
        font-size: 1.8rem;
        max-width: 1160px;
        height: 45px;
        margin: 20px auto 0;
    }

    .answer__txt {
        font-size: 1.6rem;
    }

    .note {
        font-size: 2.4rem;
    }

    .point {
        font-size: 1.8rem;
    }

    .qa_list--item::after {
        display: none;
    }

    .answer {
        max-width: 1160px;
        height: auto;
        padding: 8px 80px;
        background-color: rgba(172, 255, 151, 0.27);
        margin: 0 auto 20px;
    }

}/* pc 769px */