/* common */
.main {
    overflow: hidden;
}

:root {
    --primary-black: #333333;
    --primary-white: #FEFAF1;
    --primary-green: #B5D8CF;
    --primary-brown: #E6DFD8;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "BIZ UDPGothic";
    font-size: 1.8rem;
    background-color: var(--primary-brown);
    color: var(--primary-black);
    line-height: 1;
    padding-bottom: 80px;
}

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

.brSP {
    display: none;
}

.fadeIn {
    animation-name: fadeInAnime;
    animation-duration: 5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeInAnime {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.fadeUpTrigger {
    opacity: 0;
}

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



@media screen and (max-width:768px) {
    .body {
        font-size: 1.6rem;
    }

    .brSP {
        display: block;
    }

    .brPC {
        display: none;
    }
}

/*======================
topicと下線
======================*/
.topic {
    text-align: center;
    font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: 3.6rem;
    position: relative;
}


.topic__border {
    margin: 40px auto;
}

@media screen and (max-width:768px) {
    .topic {
        font-size: 2.4rem;
        line-height: 40px;
        letter-spacing: 1.44px;
    }

    .topic__border {
        margin: 26px auto;
    }
}

/* 固定ヘッダーのための左確保 */
.main {
    padding-left: 240px;
}

@media screen and (max-width:1279px) {
    .main {
        padding-left: 0px;
    }
}

.border {
    border-bottom: dashed 3px #F7816F;
    padding-bottom: 1px;
}

/*======================
header
======================*/
.header {
    width: 240px;
    height: 100vh;
    z-index: 999;
    position: fixed;
}

.header__wrapper {
    padding: 38px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-green);
    height: 100vh;
}

.header__topic img {
    width: 170px;
    /* これを真ん中寄せにしないといけないけどできない */
    position: relative;
    z-index: 100;
}

.header__topic {
    position: relative;
}

.header__topic::after {
    position: absolute;
    content: "";
    display: block;
    background-image: url(../images/headerCircle.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 166px;
    height: 166px;
    top: -12px;
    right: 8px;
}

.nav__content {
    width: 240px;
    padding: 70px 0 20px;
    background-color: var(--primary-white);
}

.nav__header {
    display: none;
}

.nav__list {
    width: 140px;
    margin: 0 auto;
    padding: 30px 0;
}

.nav__item {
    padding-top: 50px;
    position: relative;
    display: flex;
    align-items: center;
}

.nav__item1::before {
    position: absolute;
    content: "";
    background-image: url(../images/reasonIcon.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 30px;
    height: 30px;
    left: -40px;
}

.nav__item2::before {
    position: absolute;
    content: "";
    background-image: url(../images/trialIcon.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 26px;
    height: 30px;
    left: -37px;
}

.nav__item3::before {
    position: absolute;
    content: "";
    background-image: url(../images/worldIcon.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 26px;
    height: 30px;
    left: -37px;
}

.nav__item4::before {
    position: absolute;
    content: "";
    background-image: url(../images/Q&AIcon.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 26px;
    height: 30px;
    left: -37px;
}

.nav__item5::before {
    position: absolute;
    content: "";
    background-image: url(../images/voiceIcon.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 26px;
    height: 30px;
    left: -37px;
}

.nav__item6::before {
    position: absolute;
    content: "";
    background-image: url(../images/onlineIcon.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 26px;
    height: 30px;
    left: -37px;
}

.nav__item:first-child {
    padding-top: 0px;
}

.sns__group {
    margin-top: 30px;
    display: flex;
    gap: 40px;
    align-items: center;
}

.article__header {
    background-image: url(../images/mainVPC.jpg);
    width: 100%;
    height: 750px;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.article__header--maintitle {
    position: absolute;
    top: 24px;
    left: 240px;
    /* width: 12.5%; */
    width: 145px;
}


.article__header--subtitle1 {
    position: absolute;
    top: 150px;
    left: 170px;
    width: 50px;

}

.article__header--subtitle2 {
    position: absolute;
    top: 368px;
    left: 90px;
    width: 50px;
}

.article__headerIcon {
    max-width: 290px;
    position: absolute;
    bottom: -100px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 23%;
}

.nav__btn {
    display: none;
}

.nav__btn.active {
    display: block;
}

.header__btn.active {
    display: none;
}

/* header/SP */
@media screen and (max-width:1279px) {

    .header__wrapper {
        height: 70px;
        background-color: transparent;
    }

    .header {
        width: 100vh;
        height: 80px;
    }

    .nav__header {
        display: block;
        z-index: 9999;
        width: 112px;
        height: 44px;
        position: fixed;
        top: 0px;
        right: 0;
    }

    .header__topic img {
        display: none;
    }

    .header__wrapper {
        flex-direction: row;
    }

    .nav__content {
        background-color: transparent;
    }

    .nav__list {
        background-color: rgba(181, 216, 207, 0.8);
        width: 80vw;
        height: 80vh;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 100;
        padding: 100px 2% 24px 25%;
        transform: translateX(100%);
        /* ↑これで横に隠してる */
        transition: transform 0.4s;
    }

    .nav__list.active {
        transform: translateX(0);
        background-color: var(--primary-green);
        height: 540px;
    }

    .article__headerIcon {
        width: 180px;
        bottom: -61px;
    }

    .article__header--maintitle {
        top: 29px;
        left: 310px;
        width: 166px;
    }

    .article__header--subtitle1 {
        left: 252px;
        width: 58px;
        top: 206px;
    }

    .article__header--subtitle2 {
        width: 58px;
        top: 367px;
        left: 159px;
    }

    .header__topic::after {
        display: none;
    }

    .sns__group {
        display: none;
    }
}

@media screen and (max-width:989px) {
    .article__header {
        background-image: url(../images/mainTB.jpg);
        width: 100vw;
        height: 600px;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
    }

    .article__header--maintitle {
        top: -2px;
        left: 230px;
        width: 150px;
    }

    .article__header--subtitle1 {
        left: 198px;
        width: 46px;
        top: 142px;
    }

    .article__header--subtitle2 {
        width: 46px;
        top: 312px;
        left: 149px;
    }
}

@media screen and (max-width:669px) {
    .article__header {
        background-image: url(../images/mainVSP.png);
        width: 100vw;
        height: 600px;
        background-repeat: no-repeat;
        background-size: cover;
        position: relative;
        margin-top: 30px;
    }

    .header__topic img {
        width: 130px;
        position: relative;
        z-index: 100;
        top: 12px;
        left: -207px;
    }

    .article__header--maintitle {
        top: -33px;
        left: 156px;
        width: 116px;
    }

    .article__header--subtitle1 {
        left: 117px;
        width: 42.54px;
        top: 142px;
    }

    .article__header--subtitle2 {
        width: 39.54px;
        top: 316px;
        left: 58px;
    }
}

@media screen and (max-width:513px) {
    .article__header--maintitle {
        top: -30px;
        left: 87px;
        width: 110px;
    }

    .article__header--subtitle1 {
        left: 65px;
        width: 37.54px;
        top: 142px;
    }

    .article__header--subtitle2 {
        width: 37.54px;
        top: 319px;
        left: 22px;
    }

    .nav__header {
        display: block;
        z-index: 9999;
        width: 86px;
        height: 44px;
        position: fixed;
        top: 0px;
        right: 0;
    }
}

/* headerSPここまで */

/*======================
about
======================*/
.about {
    margin-top: 238px;
    padding: 0 5%;
}

/* あしらいで追加部分 */
.about__ashirai {
    max-width: 70px;
    margin: 0 auto 14px;
}

.about__youtube {
    position: relative;
    width: 100%;
    /* 親要素が幅100% */
    padding-bottom: 56.25%;
    /* アスペクト比16:9 */
    height: 0;
    overflow: hidden;
}

.video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 親要素のサイズに合わせて表示 */
    border: none;
    padding: 30px 60px 0;
}


.about__txtwrapper {
    max-width: 960px;
    margin: -176px auto 0;
    background-color: var(--primary-white);
    border-radius: 100px;
    padding: 220px 0px 70px;
}


.about__txt--big {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 46px;
    letter-spacing: 1.44px;
    font-weight: bold;
}

.about__txt1 {
    text-align: center;
    font-size: 2.6rem;
    letter-spacing: 1.44px;
    line-height: 36px;
    position: relative;
    font-weight: 700;
}

.about__txt1::before {
    position: absolute;
    content: "";
    display: block;
    width: 51px;
    height: 200px;
    background-image: url(../images/Ashirai1.png);
    background-size: contain;
    background-repeat: no-repeat;
    top: -37px;
    left: -45px;
    transform: rotate(27deg);
}

.about__txt1--2 {
    text-align: center;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 46px;
    letter-spacing: 1.44px;
    margin-top: 40px;
}

.about__txt2 {
    line-height: 42px;
    letter-spacing: 1.08px;
    margin-top: 40px;
    text-align: left;
    padding: 0 5%;
    text-align: center;
}

@media screen and (max-width:768px) {
    .about {
        margin-top: 120px;
    }

    .about__ashirai {
        width: 34px;
    }

    .topic__subtitle::after {
        position: absolute;
        display: block;
        content: "";
        background-image: url(../images/subAshirai.png);
        width: 28px;
        height: 28px;
        background-repeat: no-repeat;
        background-size: contain;
        top: 95%;
        left: 50%;
        transform: translate(-50%);
    }

    .about__txtwrapper {
        margin: -153px auto 0;
        background-color: var(--primary-white);
        border-radius: 100px;
        padding: 146px 10px 70px;
        border-radius: 50px;
    }

    .about__txt1 {
        text-align: center;
        font-size: 1.6rem;
        letter-spacing: 0.96px;
        line-height: 30px;
    }

    .about__txt--big {
        font-size: 1.6rem;
        line-height: 36px;
    }

    .about__txt2 {
        font-size: 1.4rem;
        line-height: 36px;
        letter-spacing: 0.84px;
        text-align: left;
    }

    .about__txt1--2 {
        text-align: center;
        font-style: normal;
        font-weight: 700;
        line-height: 30px;
        letter-spacing: 0.96px;
        margin-top: 28px;
    }

    .about__youtube {
        margin-top: 16px;

    }
}

/*======================
topic subtitle
======================*/
.brSP__subtitle {
    display: none;
}

.topic__subtitle {
    font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
    text-align: center;
    background: rgba(120, 101, 80, 0.8);
    font-size: 2.8rem;
    color: var(--primary-white);
    padding: 4px;
    line-height: 1.8;
    position: relative;
}

.topic__subtitle::after {
    position: absolute;
    display: block;
    content: "";
    background-image: url(../images/subAshirai.png);
    width: 38px;
    height: 38px;
    background-repeat: no-repeat;
    background-size: contain;
    top: 95%;
    left: 50%;
    transform: translate(-50%);
}

@media screen and (max-width:768px) {
    .topic__subtitle {
        font-size: 2rem;
        padding: 4px;
        line-height: 1.6;
    }
}

@media screen and (max-width:530px) {
    .brSP__subtitle {
        display: block;
    }
}


/*======================
recomend
======================*/
.recomend {
    margin: 160px 0 200px;
}

.recomend__ashirai {
    width: 110px;
    margin: 0 auto 14px;
}

.recomend__content {
    display: flex;
    max-width: 940px;
    gap: 48px;
    flex-wrap: wrap;
    margin: 0 auto;
    position: relative;
}

.recomend__content::after {
    position: absolute;
    content: "";
    display: block;
    width: 118px;
    height: 318px;
    background-image: url(../images/recomendMan.png);
    background-size: contain;
    background-repeat: no-repeat;
    bottom: -165px;
    right: 88px;
}

.recomend__item {
    display: flex;
    position: relative;
    background: #F7F2E9;
    border-radius: 72px;
    width: 420px;
    min-height: 162px;
    align-items: center;
    justify-content: center;
}

.recomend__item:before {
    content: "";
    position: absolute;
    right: 66px;
    width: 13px;
    height: 12px;
    bottom: -28px;
    background: #F7F2E9;
    border-radius: 50%;
}

.recomend__item:after {
    content: "";
    position: absolute;
    right: 78px;
    width: 20px;
    height: 18px;
    bottom: -10px;
    background: #F7F2E9;
    border-radius: 50%;
}

.recomend__item p {
    padding: 20px;
    font-size: 2rem;
    line-height: 36px;
    letter-spacing: 1.2px;
}

.recomend__item:nth-child(2) p {
    padding-left: 30px;
    /* 20〜40px程度で微調整 */
}

@media screen and (max-width:887px) {
    .recomend__content {
        display: flex;
        gap: 48px;
        flex-wrap: wrap;
        margin: 0 auto;
        position: relative;
        max-width: 420px;
    }

    .recomend {
        margin-top: 80px;
        padding: 0 5%
    }

    .recomend__ashirai {
        width: 50px;
    }

    .recomend__content {
        gap: 44px;
    }

    .recomend__content::after {
        width: 63px;
        height: 170px;
        bottom: -212px;
        right: 23px;
    }

    .recomend__item {
        border-radius: 40px;
        min-height: 0px;
    }

    .recomend__item p {
        font-size: 1.8rem;
        font-weight: 400;
        line-height: 36px;
        /* 225% */
        letter-spacing: 0.96px;
    }

}

/*======================
reason
======================*/
.reason {
    padding: 100px 0;
}

.reason__ashirai {
    width: 70px;
    margin: 0 auto 14px;
}

.reason__big3 {
    font-size: 7rem;
    letter-spacing: 3.84px;
}

.reason__txt {
    max-width: 506px;
    width: 60%;
}

.reason__txt h3 {
    font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
    font-size: 3.2rem;
    letter-spacing: 1.92px;
    text-align: left;
    border-bottom: 2px solid #B6D9CF;
    padding-bottom: 16px;
}

.reason__txt h4 {
    margin-top: 20px;
    font-size: 2rem;
    line-height: 38px;
    letter-spacing: 1.2px;
}

.reason__txt p {
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    /* 200% */
    letter-spacing: 1.08px;
    margin-top: 26px;
}

.reason__content {
    background-color: #FEFAF1;
    display: flex;
    max-width: 1050px;
    width: 88.93%;
    margin: 80px auto;
    padding: 60px 66px 60px 60px;
    gap: 50px;
    border-radius: 70px;
    align-items: center;
    position: relative;
}

.reason__content--1::after {
    position: absolute;
    content: "";
    display: block;
    width: 263.005px;
    height: 184.193px;
    top: -366px;
    background-image: url(../images/reasonFukidashi.png);
    left: 43px;
    background-size: contain;
    background-repeat: no-repeat;
}

.reason__content--1::before {
    position: absolute;
    content: "";
    display: block;
    background-image: url(../images/number1.png);
    width: 150px;
    height: 180px;
    top: -66px;
    left: -33px;
    background-size: contain;
    background-repeat: no-repeat;
}

.reason__content--2::before {
    position: absolute;
    content: "";
    display: block;
    background-image: url(../images/number2.png);
    width: 150px;
    height: 180px;
    top: -66px;
    left: -33px;
    background-size: contain;
    background-repeat: no-repeat;
}

.reason__content--3::before {
    position: absolute;
    content: "";
    display: block;
    background-image: url(../images/number3.png);
    width: 150px;
    height: 180px;
    top: -66px;
    left: -33px;
    background-size: contain;
    background-repeat: no-repeat;
}

.reason__pic {
    max-width: 370px;
    width: 40%;
}

.reason__pic img {
    border-radius: 40px
}

.reason__univercity {
    font-size: 1.2rem;
    line-height: 26px;
    /* 216.667% */
    letter-spacing: 0.72px;
}

/* reason-tablet */
@media screen and (max-width:1029px) {
    .reason {
        padding: 20px 5% 100px;
    }

    .reason__content {
        width: 100%;
        margin: 40px auto 80px;
        padding: 60px 10%;
        gap: 48px;
        border-radius: 50px;
        flex-direction: column;
    }

    .reason__txt {
        max-width: 506px;
        width: 100%;
    }

}

/* reason-SP */
@media screen and (max-width:768px) {
    .reason {
        padding: 32px 3%;
    }

    .reason__ashirai {
        width: 46px;
    }

    .reason__big3 {
        font-size: 5rem;
    }

    .reason__content {
        width: 100%;
        margin: 40px auto 80px;
        padding: 60px 10%;
        gap: 48px;
        border-radius: 20px;
        flex-direction: column;
    }

    .reason__content--1::after {
        width: 163.172px;
        height: 100.412px;
        top: -273px;
        left: 12px;
    }

    .reason__pic {
        max-width: 260px;
        width: 70%;
    }

    .reason__pic img {
        border-radius: 30px;
    }

    .reason__content--1::before,
    .reason__content--2::before,
    .reason__content--3::before {
        width: 98px;
        height: 98px;
        top: -40px;
        left: -10px;
    }

    .reason__txt {
        width: 100%;
    }

    .reason__txt h3 {
        font-size: 2.6rem;
        letter-spacing: 1.2px;
        line-height: 40px;
    }

    .reason__txt h4 {
        font-size: 2rem;
        letter-spacing: 1.08px;
    }

    .reason__txt p {
        font-size: 1.8rem;
        letter-spacing: 0.96px;
    }

    .reason__univercity p {
        font-size: 1.4rem;
        line-height: 26px;
        /* 216.667% */
        letter-spacing: 0.72px;
    }
}

/*======================
trial
======================*/

/* ▼ セクション全体 */
.trial {
    background-color: var(--primary-white);
    padding: 80px 0 160px;
    border-radius: 90px 90px 0 0;
}

/* ▼ 飾り画像 */
.trial__ashirai {
    width: 63px;
    margin: 0 auto 14px;
}

/* ▼ 背景付きコンテンツエリア */
.trial__pic {
    background-image: url(../images/reason1pic.jpg);
    background-color: rgba(255, 255, 255, 0.6);
    background-blend-mode: lighten;
    padding: 50px 0;
}

/* ▼ 中央配置のラッパー */
.trial__wrapper {
    display: flex;
    max-width: 936px;
    margin: 0 auto;
    gap: 68px;
    position: relative;
}

/* ▼ カード共通 */
.trial__content {
    flex: 1;
    padding: 50px;
    border-radius: 30px;
    background: rgba(254, 250, 241, 0.8);
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-sizing: border-box;
}

.trial__content img {
    width: 130px;
}

/* ▼ 上部エリア（高さを揃えるならここにmin-heightを指定） */
.trial__content-t {
    text-align: center;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

/* ▼ 下部エリア：ボーダー位置調整 */
.trial__content-b {
    width: 100%;
    text-align: center;
}

.trial__place,
.trial__number,
.trial__time,
.trial__day {
    color: #3F342D;
    font-weight: 700;
    text-align: center;
}

.trial__place {
    font-size: 2.2rem;
    line-height: 40px;
    letter-spacing: 1.32px;
    position: relative;
}

.trial__number {
    font-size: 2.4rem;
    letter-spacing: 1.68px;
    border-top: 2px solid #B6D9CF;
    padding-top: 24px;
    margin-top: 0;
}

.trial__number a {
    border-bottom: solid 2px var(--primary-black);
}


.trial__time {
    font-size: 2.4rem;
    letter-spacing: 1.44px;
    margin-top: 24px;
    font-weight: 700;
}

.trial__day {
    font-size: 22px;
    letter-spacing: 1.32px;
    margin-top: 24px;
}

.trial__place2 {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px 24px;
    border-top: 2px solid #B6D9CF;
    padding-top: 42px;
    margin-top: 0;
}

.trial__info {
    margin-top: 20px;
}

.trial__place2 li,
.trial__info {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #454545;
    color: #3F342D;
    font-family: "BIZ UDPGothic";
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 6.2px;
    line-height: 57px;
    padding: 0 20px;
    border-radius: 10px;
    transition: all .2s;
}

.trial__place2 li:hover,
.trial__info:hover {
    background-color: var(--primary-green);
}

.aaa {
    background-color: #B5D8CF;
}




@media screen and (max-width:768px) {
    .trial {
        padding: 100px 0 0;
        border-radius: 0px;
        background-color: #E6DFD8;

    }

    .trial__ashirai {
        width: 46px;
        margin: 0 auto 14px;
    }

    .trial__wrapper {
        flex-direction: column;
        max-width: 315px;

    }

    .trial__content {
        padding: 50px 20px;
    }

    .trial__content img {
        width: 110px;
    }

    .trial__place {
        text-align: center;
        font-size: 2rem;
        letter-spacing: 1.2px;
        position: relative;
    }

    .trial__place2 {
        gap: 20px 24px;
        flex-wrap: wrap;
        display: flex;
        justify-content: center;
        margin-top: 22px;
        border-top: 2px solid #B6D9CF;
        padding-top: 32px;
    }


    .trial__number {
        font-size: 2.2rem;
        letter-spacing: 1.2px;
    }

    .trial__time {
        text-align: center;
        font-size: 2.2rem;
        letter-spacing: 1.2px;
    }

    .trial__day {
        text-align: center;
        font-size: 2rem;
        letter-spacing: 1.2px;
    }

}

/*======================
world
======================*/
#world {
    padding: 20px 0;
}

.world__ashirai {
    width: 70px;
    margin: 80px auto 14px;
}

.world__group {
    max-width: 1100px;
    display: flex;
    flex-wrap: wrap;
    gap: 210px 100px;
    margin: 0 auto;
    margin-top: 210px;
    position: relative;
    padding: 0 2%;
    justify-content: center;
}

.world__content {
    width: 370px;
    background-color: #FEFAF1;
    border-radius: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.world__pic {
    width: 66%;
    border-radius: 40px;
    margin-top: -100px;
}

.world__txt {
    padding: 62px 43px 40px;
}

.world__txt h3 {
    color: #3F342D;
    font-size: 24px;
    font-weight: 400;
    line-height: 200%;
    letter-spacing: 1.44px;
    margin-bottom: 34px;
    position: relative;
}

.world__txt h3::before {
    position: absolute;
    content: "";
    display: block;
    width: 60px;
    height: 60px;
    top: -10px;
    left: -30px;
    background-image: url(../images/worldAshiraiCircle.png);
    background-repeat: no-repeat;
    background-size: contain;
    opacity: 0.5;
}

.world__txt h3::after {
    position: absolute;
    content: "";
    display: block;
    width: 48px;
    height: 60px;
    top: -24px;
    right: 22px;
    background-image: url(../images/worldAshiraiOnpu.png);
    background-repeat: no-repeat;
    background-size: contain;
}

.world__txt .world__txtSmall {
    color: #3F342D;
    font-family: "BIZ UDPGothic";
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 200%;
    letter-spacing: 1.2px;
}


.txt__dot {
    font-size: 1.8rem;
    line-height: 34px;
    letter-spacing: 1.08px;
    position: relative;
    margin-top: 20px;
}

.txt__dot::before {
    position: absolute;
    width: 10px;
    height: 10px;
    display: block;
    content: "・";
    top: 0;
    left: -16px;
}

.quality__online {
    font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
    text-align: center;
    font-size: 2.6rem;
    line-height: 1.8;
    padding: 6px;
    background: rgba(120, 101, 80, 0.8);
    margin-top: 50px;
    color: var(--primary-white);
    position: relative;
}

.quality__online::before {
    position: absolute;
    display: block;
    content: "";
    background-image: url(../images/subAshirai.png);
    width: 46px;
    height: 46px;
    background-repeat: no-repeat;
    background-size: contain;
    top: 95%;
    left: 50%;
    transform: translate(-50%);
}

@media screen and (max-width:876px) {
    /* .world__group {
        justify-content: center;
        margin-top: 220px;
    }

    .world__content {
        width: 80%;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    } */

    .world__pic {
        margin-top: -122px;
        max-width: 260px;
        width: 50%;
    }

    .world__txt {
        margin: 0 auto;
        padding: 74px 42px 100px;
    }

    .world__txt h3 {
        font-size: 2.4rem;
    }

    .world__txt .world__txtSmall {
        font-size: 2rem;
    }

    .txt__dot {
        font-size: 1.8rem;
    }
}

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

    .world__group {
        padding: 0 3%;
    }
}


/*======================
question
======================*/
.question {
    border-radius: 0px 40px 0px 0px;
    background: linear-gradient(180deg, #B5D8CF 0%, #D4D9D8 100%);
    padding: 100px 100px 100px 0;
    margin-top: 114px;
}

.topic__question {
    margin-top: 0;
}

.question__ashirai {
    width: 70px;
    margin: 0 auto 14px;
}

.question__wrapper {
    background-color: #FEFAF1;
    border-radius: 0 40px 40px 0;
    padding: 110px 0 150px;
    position: relative;
}

.question__group {
    max-width: 865px;
    margin: 0 auto;
    width: 84.305085%;
}

.question__item {
    margin-top: 60px;
}

.question__item:first-child {
    margin-top: 0px;
}

.questionQ {
    font-family: "Hina Mincho";
    font-size: 64px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 3.84px;
    margin-right: 20px;
}

.question__item h3 {
    display: flex;
    align-items: baseline;
}

.question__item h3 {
    font-size: 2.4rem;
    letter-spacing: 1.44px;
    text-underline-offset: 12px;
    border-bottom: 2px solid #B6D9CF;
    padding-bottom: 10px;
}

.question__item p {
    margin-top: 26px;
    line-height: 46px;
    letter-spacing: 1.08px;
}

.question_under {
    border-bottom: dashed 2px #F7816F;
    padding-bottom: 6px;
}

.question__btn {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--primary-white);
    font-weight: bold;
    background: rgba(120, 101, 80, 1);
    padding: 0px 50px;
    border-radius: 6px;
    position: relative;
    z-index: 1;
    transition: .3s;
    display: block;
    width: max-content;
    margin: 0px auto;
    font-size: 1.8rem;
    text-decoration: none;
    text-align: center;
}

.question__btn::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: var(--primary-green);
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform ease .3s;
    border-radius: 6px;
}

.question__btn:hover {
    color: var(--primary-black);
}

.question__btn:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}


@media screen and (max-width:768px) {
    .question {
        border-radius: 40px;
        padding: 50px 0;
        margin-top: 114px;
        background: #B6D8CF;
    }

    .question__ashirai {
        width: 40px;
        margin: 0 auto 14px;
    }

    .question__wrapper {
        background-color: #FEFAF1;
        border-radius: 40px;
        padding: 50px 0;
        position: relative;
    }

    .question__item h3 {
        padding-bottom: 10px;
        color: #333;
        font-family: "BIZ UDPGothic";
        font-size: 2rem;
        font-style: normal;
        font-weight: 400;
        line-height: 34px;
        letter-spacing: 1.08px;
        display: flex;
        flex-direction: column;
    }

    .questionQ {
        font-size: 3.6rem;
    }

    .question__group {
        margin: 0 auto;
    }

    .question__item p {
        font-size: 1.8rem;
        line-height: 40px;
    }

    .question_under {
        padding-bottom: 2px;

    }

    .question__btn {
        margin-top: 16px;
    }

}

/*======================
voice
======================*/
#voice {
    padding: 20px 0 200px;
}

.voice__ashirai {
    width: 70px;
    margin: 112px auto 14px;
}

.voice__wrapper {
    padding: 0 2%;
    margin-top: 48px;
}

.voice__group {
    max-width: 935px;
    margin: 68px auto 0;
    background-color: var(--primary-white);
    padding: 88px;
    border-radius: 100px;
}

.voice__group:first-child {
    margin-top: 0;
}

.voice__group p {
    font-size: 2rem;
    line-height: 46px;
    /* 230% */
    letter-spacing: 1.2px;
}

.voice__big {
    font-size: 2.2rem;
    font-weight: 700;

}

.voice__ppl {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.voice__ppl img {
    width: 220px;
}

.voice__group2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 86px;
    border-radius: 40px
}

.voice__group2 img {
    width: 110px;
    height: 110px;
}

.voice__content p:last-child {
    margin-top: 12px;
}

@media screen and (max-width:768px) {
    #voice {
        padding: 20px 0 0;
    }

    .voice__group {
        padding: 44px 18px;
        border-radius: 20px;
    }

    .voice__ashirai {
        width: 40px;
        margin: 80px auto 14px;
    }

    .voice__wrapper {
        margin-top: 10px;
    }

    .voice__group p {
        font-size: 1.8rem;
        line-height: 36px;
        letter-spacing: 0.96px;
        margin: 0 auto;
    }

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

    .voice__ppl img {
        width: 110px;
    }

    .voice__group2 img {
        display: none;
    }

    .voice__group--icon2 {
        position: relative;
    }

    .voice__group--icon2::after {
        position: absolute;
        display: block;
        content: "";
        background-image: url(../images/voice2Illust.png);
        width: 50px;
        height: 50px;
        bottom: 42px;
        right: 52px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    .voice__group--icon3 {
        position: relative;
    }

    .voice__group--icon3::after {
        position: absolute;
        display: block;
        content: "";
        background-image: url(../images/voice3Illust.png);
        width: 50px;
        height: 50px;
        bottom: 42px;
        right: 52px;
        background-size: contain;
        background-repeat: no-repeat;
    }
}

.price__group {
    max-width: 678px;
    margin: 100px auto 0;
    display: flex;
    align-items: center;
    gap: 50px;
}

.price__group img {
    width: 210px;
    height: 202px;

}

.gallery__ashirai {
    width: 98px;
    margin: 160px auto 14px;
}

.gallery__slide {
    margin-top: 80px;
    width: 540px;
    height: 360px;
}


/* スライダー全体 */
.slider-wrapper {
    display: flex;
    overflow: hidden;
}

/* スライド3枚のグループ */
.slider {
    animation: scroll-left 45s infinite linear .5s both;
    display: flex;
    align-items: center;
    height: 400px;
}

/* スライド */
.slide {
    width: calc(100vw / 3);
    /* 3はスライドの枚数 */
}

/* スライドの画像 */
.slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* CSSアニメーション */
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}

/* スライダー全体終わり */

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

    .gallery__ashirai {
        width: 98px;
        margin: 0px auto 14px;
    }

    .gallery__slide {
        margin-top: 40px;
    }

    .price__group {
        max-width: 316px;
        margin: 50px auto 0;
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .price__group img {
        width: 90px;
        height: 100px;
    }

    .slider {
        animation: scroll-left 40s infinite linear .5s both;
        display: flex;
        /* スライド3枚を横並び */
        align-items: center;
        height: 200px;
    }

    /* スライド */
    .slide {
        width: calc(100vw / 1.5);
        /* 3はスライドの枚数 */
    }

}

/*======================
quality
======================*/
/* .topic__quality{
    margin-top: 94px;
} */
#quality {
    padding: 20px 0 100px;
}

.quality__txt {
    width: 85%;
    font-size: 2rem;
    line-height: 56px;
    letter-spacing: 1.2px;
    margin: 0 auto;
    position: relative;
    padding: 0 0 60px;
    text-align: center;
}


.quality__ashirai {
    width: 98px;
    margin: 30px auto 14px;
}

.quality__big24 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 56px;
    letter-spacing: 1.44px;
}

.quality__subtxt {
    font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
    font-size: 2.4rem;
    line-height: 46px;
    letter-spacing: 1.44px;
    text-align: center;
    margin-top: 48px;
}

.quality__big34 {
    font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
    font-size: 3.4rem;
    line-height: 46px;
    letter-spacing: 2.04px;
    position: relative;
}

.quality__big34::before {
    position: absolute;
    content: "";
    display: block;
    background-image: url(../images/Ashirai1.png);
    width: 60px;
    height: 40px;
    top: -15px;
    left: -4px;
    background-repeat: no-repeat;
    background-size: contain;
    transform: rotate(22deg);
}

.quality__big34::after {
    position: absolute;
    content: "";
    display: block;
    background-image: url(../images/qualityUnderbar.png);
    width: 321px;
    height: 16.01px;
    bottom: -20px;
    left: 10px;
    background-repeat: no-repeat;
    background-size: contain;
}

.quality__wrapper {
    padding: 0 1%;
}

.quality__group {
    max-width: 1440px;
    margin: 80px auto 0px;
    padding-left: 22vw;
}


.quality__content {
    display: flex;
    position: relative;
    margin-top: 60px;
}

.quality__pic {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: -237px;
}

.quality__pic img {
    box-shadow: 5px 10px 20px rgba(0, 0, 0, 0.25);
}

.quality__content img {
    border-radius: 26px;
    aspect-ratio: 600 / 800;
    height: auto;
    width: 50%;
}

.quality_txt {
    background-color: var(--primary-white);
    width: 1440px;
    padding: 80px 67px 80px 188px;
    border-radius: 4rem 0px 0px 4rem;
}

@media screen and (min-width:1600px) {
    .quality_txt {
        border-radius: 4rem;
    }
}

.quality_txt h3 {
    font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
    font-size: 2.6rem;
    line-height: 42px;
    letter-spacing: 1.56px;
    border-bottom: 2px solid #B6D9CF;
    padding-bottom: 10px;
    font-weight: bold;
}

.quality_txt p {
    font-size: 2rem;
    line-height: 42px;
    /* 210% */
    letter-spacing: 1.2px;
    margin-top: 30px;
}

.online__btn {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: var(--primary-black);
    font-size: 16px;
    font-weight: bold;
    background: var(--primary-white);
    padding: 20px 60px;
    border-radius: 6px;
    position: relative;
    z-index: 1;
    transition: .3s;
    display: block;
    width: max-content;
    margin: 60px auto;
    font-size: 2.2rem;
    text-decoration: none;
    text-align: center;

}

.online__btn::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    background: rgba(120, 101, 80, 0.8);
    transform-origin: 100% 50%;
    transform: scaleX(0);
    transition: transform ease .3s;
    border-radius: 6px;
}

.online__btn:hover {
    color: var(--primary-white);
}

.online__btn:hover::before {
    transform-origin: 0% 50%;
    transform: scaleX(1);
}

@media screen and (max-width:1029px) {
    #quality {
        padding: 20px 0 80px;
    }

    .quality__ashirai {
        width: 36px;
        margin: 30px auto 14px;
    }


    .quality__big24 {
        font-size: 2rem;
        line-height: 42px;
        letter-spacing: 1.08px;
    }

    .quality__big34 {
        text-align: center;
        font-size: 2.2rem;
        line-height: 46px;
        letter-spacing: 1.32px;
    }

    .quality__big34::before {
        position: absolute;
        content: "";
        display: block;
        background-image: url(../images/Ashirai1.png);
        width: 60px;
        height: 40px;
        top: -15px;
        left: -4px;
        background-repeat: no-repeat;
        background-size: contain;
        transform: rotate(37deg);
    }

    .quality__big34::after {
        position: absolute;
        content: "";
        display: block;
        background-image: url(../images/qualityUnderbar.png);
        width: 163px;
        height: 18.01px;
        bottom: -21px;
        left: 26px;
        background-repeat: no-repeat;
        background-size: contain;
    }

    .quality__group {
        padding-left: 0vh;
    }

    .quality__content {
        display: flex;
        flex-direction: column;
        position: relative;
        margin-top: 186px;
    }

    .quality__content:first-child {
        margin-top: 246px;
    }

    .quality__pic {
        position: absolute;
        z-index: 10;
        left: 50%;
        transform: translateX(-50%);
        top: -210px;
    }

    .quality__content img {
        height: auto;
        width: 180px;
        margin: 0 auto;
        display: block;
    }

    .quality_txt {
        background-color: var(--primary-white);
        padding: 120px 8% 80px;
        width: 90%;
        margin: -50px auto 50px;
    }

    .quality_txt h3 {
        margin-top: 30px;
        font-size: 2.6rem;
        line-height: 42px;
        letter-spacing: 1.2px;
        text-align: center;
    }

}

@media screen and (max-width:768px) {
    #quality {
        padding: 20px 0 0px;
    }

    .quality__txt {
        padding: 120px 4% 60px 8%;
    }

    .quality_txt p {
        font-size: 1.8rem;
        line-height: 36px;
        letter-spacing: 1.2px;
        margin-top: 30px;
    }

    .quality__txt {
        width: 90%;
        font-size: 1.8rem;
        line-height: 34px;
        letter-spacing: 1px;
        padding: 0 0 40px;
        text-align: left;
    }

    .quality_txt h3 {
        margin-top: 30px;
        font-size: 2rem;
        line-height: 42px;
        letter-spacing: 1.2px;
        text-align: left;
    }

    .quality__subtxt {
        text-align: center;
        font-size: 2rem;
        font-weight: 300;
        line-height: 46px;
        letter-spacing: 1.2px;
        font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
        margin-top: 40px;
    }

    .quality__online {
        font-size: 1.8rem;
        margin-top: -10px;
    }

    .online__btn {
        font-size: 1.6rem;
        line-height: 30px;
        display: block;
        margin: 0 auto;
        text-align: center;
        padding: 6px 10px;
        background-color: var(--primary-white);
        letter-spacing: 1.96px;
        border: 1px solid #333;
        margin-top: 44px;
    }

    .online__btn:hover {
        background-color: var(--primary-green);

    }
}

/* footer */
.footer {
    padding-bottom: 100px;
}

.footer__wrapper {
    max-width: 630px;
    margin: 100px auto 10px;
}

.footer__wrapper img {
    width: 400px;
    display: block;
    margin: 0 auto;
    padding: 0 20px;
}

.footer p,
address {
    text-align: center;
    font-size: 2rem;
    font-style: normal;
    font-weight: 700;
    line-height: 46px;
    letter-spacing: 1.2px;
    margin-top: 20px;
}

.footer__address {
    margin-top: 50px;
}

.footer__address a {
    border-bottom: solid 2px var(--primary-black);
}

.footer__koushiki {
    margin-top: 50px;
}

.footer__koushiki p {
    font-size: 2.4rem;
    font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
}

.footer__copyright {
    margin-top: 50px;
}

p.footer__copyright {
    font-size: 1.2rem;
}

.footer__snsgroup {
    display: flex;
    align-items: center;
    width: 200px;
    margin: 20px auto;
}

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 10px;
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s, visibility .5s;
    writing-mode: vertical-rl;
    white-space: nowrap;
    animation: arrowmove 1s ease-in-out infinite;
}

@keyframes arrowmove {
    0% {
        bottom: 20px;
    }

    50% {
        bottom: 25px;
    }

    100% {
        bottom: 20px;
    }
}

.scroll-top.scroll-view {
    opacity: 1;
    visibility: visible;
}

/*リンク全体の aタグの形状*/
.scroll-top a {
    text-decoration: none;
    color: #666;
    text-transform: uppercase;
    font-size: 0.9rem;
    display: block;
}

#page-top a {
    background: rgba(120, 101, 80, 0.8);
    color: #fff;
    text-align: center;
    display: block;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1.8rem;
    transition: all 0.3s;
    padding: 4px;
}

@media(min-width: 768px) {
    a[href^="tel:"] {
        pointer-events: none;
    }
}

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

    .footer p,
    address {
        text-align: center;
        font-family: "Zen Kaku Gothic Antique";
        font-size: 1.6rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: 1.2px;
    }

    .footer__koushiki p {
        font-size: 1.8rem;
        font-family: "fot-tsukuaoldmin-pr6n", sans-serif;
    }

    .footer__wrapper {
        margin: 80px auto 40px;
    }

    p.footer__copyright {
        font-size: 1.2rem;
    }
}

.t-btn {
    position: fixed;
    bottom: 52px;
    right: 20px;
    height: 80px;
    background-color: rgba(244, 168, 150, 0.85);
    text-align: center;
    line-height: 40px;
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 2rem;
    padding: 0 20px;
    color: var(--primary-black);
    width: 300px;
}

@media screen and (max-width:1279px) {
    .t-btn {
        right: 0;
        bottom: 10px;
        width: 100%;
        height: 60px;
        border-radius: 20px;
        justify-content: center;
    }
}

.circle-arrow {
    position: relative;
    width: 26px;
    height: 26px;
    border: 1.6px solid var(--primary-black);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-arrow::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    border-right: 1.6px solid var(--primary-black);
    border-bottom: 1.6px solid var(--primary-black);
    transform: rotate(-135deg);
}

.t-btn:hover {
    background-color: #F29882;
    color: var(--primary-white);
}

.t-btn:hover .circle-arrow {
    border-color: var(--primary-white);
}

.t-btn:hover .circle-arrow::before {
    border-color: var(--primary-white);
}


@media(min-width: 768px) {
    a[href^="tel:"] {
        pointer-events: none;
    }

    .school__tel a {
        font-weight: 400;
        border-bottom: none
    }

    .trial__number a,
    .footer__address a {
        border-bottom: none
    }

}