/*=====================
    下層・共通パーツ
=====================*/

.right-cw {
    width: calc(100% - calc((610 / 1400) * 100vw));
    padding: 0 0 0 calc((150 / 1400) * 100vw);
    margin-right: auto;
}

.sub-top-mapa {
    padding-top: calc((200 / 1400) * 100vw);
    margin-top: calc((-200 / 1400) * 100vw);
    z-index: 0;
}

.s-btn {
    width: calc((320 / 1400)* 100vw);
    height: calc((45 / 1400)* 100vw);
    border-radius: 50px;
}

.s-btn > img {
    top: 50%;
    transform: translateY(-50%);
    right: calc((25 / 1400)* 100vw);
}

.tx-ttl {
    width: 100%;
}
.tx-ttl > img {
    display: block;
}

.tx-h3 {
    padding-left: calc((20 / 1400)* 100vw);
    position: relative;
}
.tx-h3::before {
    content: "";
    display: block;
    background-color: #152057;
    width: calc((8 / 1400)* 100vw);
    height: calc((37 / 1400)* 100vw);
    position: absolute;
    top: 0.1em;
    left: 0;
}

.tx-h4 {
    padding-bottom: calc((5 / 1400)* 100vw);
    border-bottom: 2px dashed #1B91BC;
}

.tx-li {
    position: relative;
    padding-left: calc((20 / 1400)* 100vw);
}
.tx-li:last-child {
    margin-bottom: 0;
}
.tx-li::before {
   content: "";
    position: absolute;
    top: 0.75em;
    left: 0;
    transform: translateY(-50%);
    width: calc((12 / 1400)* 100vw);
    height: calc((12 / 1400)* 100vw);
    background-color: #1B91BC;
    border-radius: 50%;
}

/*=====================
    下層・main aside
=====================*/

.sub-top {
    position: relative;
    z-index: 1;
}

.sub-top > h1 {
    padding: calc((145 / 1400) * 100vw) 0 calc((100 / 1400) * 100vw);
    margin-bottom: calc((-13 / 1400) * 100vw);
}

.sub {
    display: flex;
}

.s-main {
    width: 100%;
}

.aside {
    z-index: 3;
    height: 100%;
    right: 0;
}
.aside__inner {
    /* padding-top: calc((145 / 1400) * 100vw); */
    padding-bottom: calc((50 / 1400) * 100vw);
    /* padding-left: calc((20 / 1400) * 100vw); */
    padding-right: calc((150 / 1400) * 100vw);
    width: calc((280 / 1400) * 100vw);
    margin: 0 auto;
    /* position: sticky;
    top: calc((170 / 1400) * 100vw); */
}

.aside__iframe {
    width: 100%;
    height: calc((205 / 1400) * 100vw);
}

.sc-top__btn-wrapper .s-btn > img, .anker .s-btn > img {
    width: calc((20 / 1400)* 100vw);
}

.anker__a {
    justify-content: flex-start;
    padding-left: calc((30 / 1400)* 100vw);
    box-sizing: border-box;
    border: 2px solid #152057;
}

.anker-school .s-btn > img {
        width: calc((13 / 1400) * 100vw);
}

/* sc-dtlセクション */
.sc-dtl {
    background-repeat: no-repeat;
    background-size: cover;
    padding: calc((140 / 1400) * 100vw) 0 calc((200 / 1400) * 100vw);
    margin-bottom: calc((-112 / 1400) * 100vw);
}
.sc-dtl:last-of-type {
    margin-bottom: calc((0 / 1400) * 100vw);
}
.sc-dtl01 {
    background-image: url(../img/sub/sch-bgc01.png);
}
.sc-dtl02 {
    background-image: url(../img/sub/sch-bgc02.png);
}
.sc-dtl03 {
    background-image: url(../img/sub/sch-bgc03.png);
}
.sc-dtl04 {
    background-image: url(../img/sub/sch-bgc04.png);
}

.sc-dtl__h2 {
    width: auto;
    height: calc((100 / 1400)* 100vw);
}

.sc-dtl__txt {
    width: calc((690 / 1400)* 100vw);
    border-bottom: 1px solid white;
    padding-bottom: calc((25 / 1400)* 100vw);
}

.sc-dtl__tell {
    width: calc((250 / 1400)* 100vw);
}

.sc-dtl__add {
    padding: calc((15 / 1400)* 100vw);
    width: calc((360 / 1400)* 100vw);
    background-color: rgba(255, 255, 255, 0.35);
}
.sc-dtl01 .sc-dtl__add {
    border: 1px solid #EB5954;
}
.sc-dtl02 .sc-dtl__add {
    border: 1px solid #1B91BC;
}
.sc-dtl03 .sc-dtl__add {
    border: 1px solid #FDCF08;
}
.sc-dtl04 .sc-dtl__add {
    border: 1px solid #F2A63A;
}

.sc-dtl__btn > img {
    width: calc((20 / 1400)* 100vw);
}

.sc-dtl__img {
    width: calc((395 / 1400) * 100vw);
    bottom: calc((-12 / 1400) * 100vw);
    right: calc((-50 / 1400) * 100vw);
}


@media (max-width: 768px) {
    .right-cw {
        width: calc(100% - 40px);
        padding: 0 20px;
    }

    .sub-top-mapa {
        padding-top: 300px;
        margin-top: -300px;
    }

    .s-btn {
        width: 320px;
        height: 45px;
    }

    .s-btn > img {
        right: 25px;
    }

    .sub-top > h1 {
        padding: 100px 0 75px;
        margin-bottom: -5px;
    }

    .sub {
        flex-direction: column;
    }

    .aside {
        position: relative;
    }
    .aside__inner {
        padding: 70px 20px;
        width: calc(100% - 40px);
    }

    .aside__a-wrapper {
        width: 250px;
        margin-right: auto;
        margin-left: auto;
    }

    .aside__iframe {
        width: 100%;
        height: calc((205 / 375) * 100vw);
    }

    .sc-top__btn-wrapper .s-btn > img, .anker .s-btn > img {
        width: 20px;
    }

    .anker__a {
        padding-left: 30px;
    }

    .anker-school .s-btn > img {
        width: 12px;
    }

    /* sc-dtlセクション */
    
    .sc-dtl {
        padding: 130px 0 150px;
        margin-bottom: -85px;
    }
    .sc-dtl01 {
        background-image: url(../img/sub/sch-bgc01-sp.png);
    }
    .sc-dtl02 {
        background-image: url(../img/sub/sch-bgc02-sp.png);
    }
    .sc-dtl03 {
        background-image: url(../img/sub/sch-bgc03-sp.png);
    }
    .sc-dtl04 {
        background-image: url(../img/sub/sch-bgc04-sp.png);
        padding-bottom: 60px;
    }

    .sc-dtl__h2 {
        height: 39px;
        width: fit-content;
        margin-bottom: 30px;
    }
    .sc-dtl__h2 > img {
        object-fit: contain;
    }

    .sc-dtl__txt {
        width: 100%;
        padding-bottom: 30px;
        margin-bottom: 30px;
        border-bottom: 1px solid black;
    }

    .sc-dtl__tell {
        width: 220px;
    }

    .sc-dtl__add {
        padding: 15px;
        width: calc(100% - 30px);
        max-width: 400px;
        margin-right: auto;
        margin-left: auto;
    }

    .sc-dtl__btn {
        margin-right: auto;
        margin-left: auto;
    }

    .sc-dtl__btn > img {
        width: 20px;
    }

    .sc-dtl__img {
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        display: block;
        position: static;
        max-width: 400px;
        margin-top: 50px;
    }

    .tx-inner {
        flex-direction: column;
    }

    .tx-ttl {
        font-size: 18px;
    }

    .tx-h3 {
        font-size: 16px;
        padding-left: 12px;
    }
    .tx-h3::before {
        width: 5px;
        height: 20px;
    }
    .tx-h4 {
        font-size: 16px;
        padding-bottom: 5px;
    }
    .tx-li {
        padding-left: 18px;
    }
    .tx-li::before {
        top: 0.75em;
        width: 12px;
        height: 12px;
    }
}


/* aboutページ */
.about {
    background-color: #D9F2FB;
    padding-bottom: calc((50 / 1400)* 100vw);
}

.about__p-wrapper{
    border-radius: calc((50 / 1400)* 100vw);
    padding: calc((160 / 1400)* 100vw) calc((60 / 1400)* 100vw) calc((50 / 1400)* 100vw);
    margin-top: calc((125 / 1400) * 100vw);
}

.about__accordion {
    overflow: hidden;
    max-height: 0;
    transition: max-height 360ms ease;
}

.about__accordion.open {
    max-height: 2000px;
}

.about__toggle {
    width: calc((160 / 1400)* 100vw);
    margin-top: calc((30 / 1400)* 100vw);
}

.about__daihyou {
    width: calc((700 / 1400)* 100vw);
    top: calc((0 / 1400)* 100vw);
}

.about-b01,.about-b02 {
    width: calc((110 / 1400)* 100vw);
}
.about-b01 {
    top: calc((80 / 1400) * 100vw);
    right: calc((400 / 1400) * 100vw);
    transform: scaleX(-1);
}
.about-b02 {
    top: calc((475 / 1400) * 100vw);
    left: calc((34 / 1400) * 100vw);
}

.about__tx-img {
    width: calc((280 / 1400)* 100vw);
}

.about__tx-p {
    width: calc((470 / 1400)* 100vw);
}

.about__tx-seven > img:nth-child(1) {
    width: calc((230 / 1400) * 100vw);
    object-fit: contain;
    right: calc((80 / 1400) * 100vw);
    top: calc((-258 / 1400) * 100vw);
}
.about__tx-seven > img:nth-child(2) {
    width: calc((435 / 1400)* 100vw);
}

.about__tx-h4 {
    width: calc((640 / 1400)* 100vw);
}

@media (max-width: 768px) {
    /* aboutページ */
    .about {
        padding-bottom: 100px;
    }

    .about__p-wrapper{
        border-radius: 50px;
        padding: 100px 20px 30px;
        margin-top: 120px;
    }

    .about__toggle {
        width: 150px;
        margin-top: 30px;
    }

    .about__daihyou {
        width: 350px;
    }

    .about-b01,.about-b02 {
        width: 50px;
    }
    .about-b01 {
        top: 258px;
        right: 32px;
    }
    .about-b02 {
        top: auto;
        bottom: 30px;
        left: 10px;
    }

    .about__tx-img {
        width: 100%;
        max-width: 250px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 30px;
    }

    .about__tx-p {
        width: 100%;
    }

    .about__tx-seven > img:nth-child(1) {
        width: 120px;
        right: -2px;
        top: -187px;
    }
    .about__tx-seven > img:nth-child(2) {
        width: 300px;
        margin: 130px auto 50px;
    }

    .about__tx-h4 {
        width: 100%;
    }

    .about__tx-hyou {
        max-width: 280px;
        margin-right: auto;
        margin-left: auto;
    }
}


/* お問い合わせページ */
.contact__content-wrapper {
    width: 100%;
    margin: 0 auto;
}

.contact__content {
    padding: calc((50 / 1400) * 100vw) calc((30 / 1400) * 100vw) calc((75 / 1400) * 100vw);
}

.contact__content.red {
    border: calc((5 / 1400)* 100vw) solid #EB5954;
}
.contact__content.water02 {
    border: calc((5 / 1400)* 100vw) solid #1B91BC;
}
.contact__content.yellow {
    border: calc((5 / 1400)* 100vw) solid #FDCF08;
}
.contact__content.orange {
    border: calc((5 / 1400)* 100vw) solid #F2A63A;
}


.contact__content-two {
    display: flex;
}

.contact__a {
    width: 25%;
    height: calc((60 / 1400) * 100vw);
}
.contact__a.opacity {
    opacity: 0.5;
}

.contact__dt {
    width: calc(33% - ((20 / 1400) * 100vw));
    margin-right: calc((20 / 1400) * 100vw);
    display: flex;
    align-items: center;
    font-size: calc((16 / 1400)* 100vw);
}

.contact__dt::before {
    content: "必須";
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc((50 / 1400) * 100vw);
    height: calc((25 / 1400) * 100vw);
    background-color: #FF5050;
    color: white;
    margin-right: calc((12 / 1400) * 100vw);
    font-size: calc((14 / 1400)* 100vw);
}
.contact__dt.not-must::before {
    opacity: 0;
}

.contact__dd {
    width: 67%;
}

/* ddフォームパターン */
.contact__dd.dd-input > p > span > input {
    padding: calc((10 / 1400) * 100vw) calc((20 / 1400) * 100vw);
    width: calc(100% - calc((40 / 1400) * 100vw));
    background-color: #ECECEC;
    border: none;
}
.contact__dd.dd-input > p > span > input::placeholder {
    color: #D3D3D3;
    font-weight: 700;
}

/* ddテキストエリアパターン */
.contact__dd.dd-txtara > p > span > textarea {
    padding: calc((10 / 1400) * 100vw) calc((20 / 1400) * 100vw);
    width: calc(100% - calc((40 / 1400) * 100vw));
    background-color: #ECECEC;
    border: none;
    height: calc((210 / 1400) * 100vw)
}
.contact__dd.dd-txtara > p > span > textarea::placeholder {
    color: #D3D3D3;
    font-weight: 700;
}

/* 送信ボタン */
.contact__btn > p > input, .contact__btn-t {
    border: 0;
    background-color: #1B91BC;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc((250 / 1400) * 100vw);
    height: calc((45 / 1400) * 100vw);
    color: white;
    margin: calc((50 / 1400) * 100vw) auto 0;
    font-size: calc((16 / 1400)* 100vw);
    letter-spacing: 0.15em;
    font-weight: 700;
    background-image: url(../img/bg-hougan.png);
    border-radius: 50px;
}

.contact__thanks {
	    text-align: center;
    	line-height: 1.5;
        margin-top: calc((110 / 1400)* 100vw);
}

@media (max-width: 768px) {
    .contact__content-wrapper {
        width: 100%;
    }
    
    .contact__content {
        padding: 20px;
    }
    
    .contact__content.red {
        border: 3px solid #EB5954;
    }
    .contact__content.water02 {
        border: 3px solid #1B91BC;
    }
    .contact__content.yellow {
        border: 3px solid #FDCF08;
    }
    .contact__content.orange {
        border: 3px solid #F2A63A;
    }
    
    .contact__a {
        height: auto;
        font-size: 12px !important;
        padding: 12px;
        text-align: center;
    }

    .contact__dl {
        flex-direction: column;
        margin-bottom: 30px !important;
    }
    
    .contact__dt {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
        font-size: 16px;
    }
    .contact__dt.not-must {
        position: relative;
        left: -49px;
    }
    
    .contact__dt::before {
        width: 40px;
        height: 20px;
        margin-right: 10px;
        font-size: 12px;
    }
    
    .contact__dd {
        width: 100%;
    }
    
    /* ddフォームパターン */
    .contact__dd.dd-input > p > span > input {
        padding: 10px;
        width: calc(100% - 20px);
    }
    
    /* ddテキストエリアパターン */
    .contact__dd.dd-txtara > p > span > textarea {
        padding: 10px;
        width: calc(100% - 20px);
        height: calc((600 / 1400) * 100vw)
    }
    
    /* 送信ボタン */
    .contact__btn > p > input,  .contact__btn-t {
        width: 250px;
        height: 40px;
        margin: 50px auto 0;
        font-size: 16px;
    }
}

/* 入会のご案内ページ */
.guide__number-inner {
    justify-content: flex-start;
}

.guide__number {
    width: calc((61 / 1400)* 100vw);
    height: calc((61 / 1400)* 100vw);
    border-radius: 100%;
    margin-right: calc((18 / 1400)* 100vw);
}

.guide__number-wrapper::before {
    content: "";
    display: block;
    width: 2px;
    height: 90%;
    position: absolute;
    background-color: #1B91BC;
    top: 50%;
    transform: translateY(-50%);
    left: calc((30 / 1400)* 100vw);
    z-index: -1;
}

.guide__four:nth-child(1), .guide__four:nth-child(2) {
    height: calc((226 / 1400) * 100vw);
}
.guide__four:nth-child(3), .guide__four:nth-child(4) {
    height: calc((263 / 1400) * 100vw);
}

.guide__four > a {
    width: 100%;
    height: calc((43 / 1400)* 100vw);
    max-width: 350px;
    border-radius: 50px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.guide__sengen {
    width: calc((700 / 1400)* 100vw);
}

@media (max-width: 768px) {
    .guide__number-inner {
        margin-bottom: 50px;
    }

    .guide__number {
        width: 61px;
        height: 61px;
        margin-right: 15px;
    }

    .guide__number-txt {
        width: calc(100% - 76px);
    }

    .guide__number-wrapper::before {
        left: 30px;
    }

    .tx-inner.grid-2 {
        width: 100%;
    }

    .guide__four:nth-child(1), .guide__four:nth-child(2) {
        height: auto;
    }
    .guide__four:nth-child(3), .guide__four:nth-child(4) {
        height: auto;
    }

    .guide__four > a {
        height: 45px;
        max-width: 350px;
        border-radius: 50px;
        position: static;
        transform: unset;
        margin-right: auto;
        margin-left: auto;
        margin-top: 30px;
    }

    .guide__sengen {
        width: 90%;
        max-width: 500px;
    }
}

/* プログラムのご案内ページ */
.course__img {
    width: calc((200 / 1400)* 100vw);
    height: calc((150 / 1400)* 100vw);
}

.course__txt {
    width: calc((545 / 1400)* 100vw);
}

@media (max-width: 768px) {
    .course__img {
        width: 80%;
        height: auto;
        margin-bottom: 30px;
        margin-right: auto;
        margin-left: auto;
    }

    .course__txt {
        width: 100%;
    }

    .guide_tx .flex {
        flex-direction: column;
    }
}



/* お客様の声ページ */
.right-auto {
    margin-right: auto;
}
.left-auto {
    margin-left: auto;
}

.voice__img01 {
    width: calc((485 / 1400)* 100vw);
}
.voice__img02 {
    width: calc((511 / 1400)* 100vw);
}
.voice__img03 {
    width: calc((593 / 1400)* 100vw);
}
.voice__img04 {
    width: calc((562 / 1400)* 100vw);
}
.voice__img05 {
    width: calc((571 / 1400)* 100vw);
}
.voice__img06 {
    width: calc((453 / 1400)* 100vw);
}

.voice-b01, .voice-b02, .voice-b03, .voice-b04 {
    width: calc((110 / 1400)* 100vw);
}
.voice-b01 {
    top: calc((80 / 1400) * 100vw);
    right: calc((480 / 1400) * 100vw);
}
.voice-b02 {
    top: calc((575 / 1400) * 100vw);
    left: calc((34 / 1400) * 100vw);
    transform: scaleX(-1);
}
.voice-b03 {
    top: calc((975 / 1400) * 100vw);
    right: calc((480 / 1400) * 100vw);
}
.voice-b04 {
    top: calc((2500 / 1400) * 100vw);
    left: calc((60 / 1400) * 100vw);
    transform: scaleX(-1);
}

.voice-img01 {
    width: calc((360 / 1400)* 100vw);
     top: calc((0 / 1400) * 100vw);
    left: calc((-30 / 1400) * 100vw);
}
.voice-img02 {
    width: calc((336 / 1400)* 100vw);
    top: calc((1175 / 1400) * 100vw);
    right: calc((280 / 1400) * 100vw);
}
.voice-img03 {
    width: calc((427 / 1400)* 100vw);
     top: calc((1500 / 1400) * 100vw);
    left: calc((-30 / 1400) * 100vw);
}
.voice-img04 {
    width: calc((360 / 1400)* 100vw);
    top: calc((2100 / 1400) * 100vw);
    right: calc((250 / 1400) * 100vw);
}

@media (max-width: 768px) {
    .voice {
        overflow-x: hidden;
    }
    .voice * {
        will-change: transform;
    }

    .voice__img01 {
        width: 300px;
    }
    .voice__img02 {
        width: 320px;
        margin-bottom: 70px;
    }
    .voice__img03 {
        width: 350px;
    }
    .voice__img04 {
        width: 340px;
        margin-bottom: 100px;
    }
    .voice__img05 {
        width: 340px;
    }
    .voice__img06 {
        width: 300px;
    }

    .voice-b01, .voice-b02, .voice-b03, .voice-b04 {
        width: 60px;
    }
    .voice-b01 {
        top: 258px;
        right: 14px;
    }
    .voice-b02 {
        top: 500px;
        left: -2px;
    }
    .voice-b03 {
        top: 1133px;
        right: -5px;
    }
    .voice-b04 {
        top: 1936px;
        left: 18px;
    }

    .voice-img01 {
        width: 200px;
        top: 188px;
        left: -22px;
    }
    .voice-img02 {
        width: 200px;
        top: 719px;
        right: -52px;
    }
    .voice-img03 {
        width: 200px;
        top: 1356px;
        left: -10px;
    }
    .voice-img04 {
        display: none;
    }
}

/* 投稿関連ページ */
.post .t-col__wrapper {
    width: calc(100% - ((60 / 1400) * 100vw));
    padding: 0 !important;
    border: unset !important;
    background-color: unset !important;
}

.post .t-col__a {
    justify-content: flex-start;
}

.post .t-col__a-img {
    margin-left: auto;
}

@media (max-width: 768px) {
    .post .t-col__wrapper {
        width: 100%;
    }
}

/* 会社概要ページ */

.company_tx .flex > p:nth-child(1) {
    width: calc((100 / 1400)* 100vw);
}

@media (max-width: 768px) {
    .company_tx .flex {
        flex-direction: column;
    }
    .company_tx .flex > p:nth-child(1) {
        width: 100%;
    }
}

/* 表 */
table {
    font-size: calc((16 / 1400)* 100vw);
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    margin: calc((40 / 1400)* 100vw) auto;
}
table th {
    padding: calc((6 / 1400)* 100vw);
    text-align: center;
    border: calc((1 / 1400)* 100vw) solid #36B2DF;
    color: #36B2DF;
    vertical-align: top;
}
table td {
    padding: calc((6 / 1400)* 100vw);
    text-align: left;
    border: calc((1 / 1400)* 100vw) solid #36B2DF;
}
table td {
    padding: calc((6 / 1400)* 100vw);
    text-align: left;
    border: calc((1 / 1400)* 100vw) solid #36B2DF;
}

@media (max-width: 768px) {
    table {
        font-size: 16px;
        margin: 40px auto;
    }
    table th {
        padding: 6px;
    }
    table td {
        padding: 6px;
        border: 1px solid #36B2DF;
    }
    table td {
        padding: 6px;
        border: 1px solid #36B2DF;
    }

    .table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
    }

    .table-wrap table {
        min-width: 600px; /* 必要に応じて調整 */
    }
}

/* 各施設詳細 */
.red-top > img, .water02-top > img, .yellow-top > img, .orange-top > img {
    width: calc((725 / 1400)* 100vw);
}
.red-top {
    background-color: #FFC6C4;
}
.water02-top {
    background-color: #DEF6FF;
}
.yellow-top {
    background-color: #FFFCEF;
}
.orange-top {
    background-color: #FFF1DE;
}

.niigata-wave-wrapper {
    --wave-color: #FFC6C4;
    --wave-back-color: #dceaf0;
}
.sanjo-wave-wrapper {
    --wave-color: #DEF6FF;
    --wave-back-color: #dceaf0;
}
.niitsu-wave-wrapper {
    --wave-color: #FFFCEF;
    --wave-back-color: #dceaf0;
}
.tsubame-wave-wrapper {
    --wave-color: #FFF1DE;
    --wave-back-color: #dceaf0;
}

.border-3-red {
    border: calc((3 / 1400)* 100vw) solid #EB5954;
}
.border-3-water02 {
    border: calc((3 / 1400)* 100vw) solid #448FB8;
}
.border-3-yellow {
    border: calc((3 / 1400)* 100vw) solid #FDCF08;
}
.border-3-orange {
    border: calc((3 / 1400)* 100vw) solid #F2A63A;
}

.ssc-btn-wrapper {
    position: fixed;
    right: 0;
    top: calc((130 / 1400)* 100vw);
    z-index: 10;
}

.ssc-btn {
    border-top-left-radius: calc((20 / 1400)* 100vw);
    border-bottom-left-radius: calc((20 / 1400)* 100vw);
    border-right: unset;
    width: calc((52 / 1400)* 100vw);
    height: calc((200 / 1400)* 100vw);
    writing-mode: vertical-rl;
    letter-spacing: 0.25em;
}
.ssc-btn > img {
    width: calc((30 / 1400)* 100vw);
    display: block;
    margin-bottom: calc((15 / 1400)* 100vw);
}

.btn-pdf {
    width: calc((320 / 1400)* 100vw);
    height: calc((55 / 1400)* 100vw);
}
.btn-pdf > img {
    width: calc((25 / 1400)* 100vw);
    margin-right: calc((10 / 1400)* 100vw);
    display: block;
}
.btn-pdf:nth-child(1) {
    margin-right: calc((30 / 1400)* 100vw);
}

/* ===========================
      POPUP 全体
=========================== */
.trial-popup {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

  /* 非表示状態 */
    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transition: opacity .25s ease, visibility 0s linear .25s;
}

/* 背景の黒幕（フェード） */
.trial-popup__bg {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    transition: opacity .25s ease;
}

/* ===========================
      ポップアップ BOX
      （ふわっと表示）
=========================== */
.trial-popup__box {
    position: relative;
    z-index: 2;
    width: min(92%, 420px);
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(9,30,66,0.12);
    text-align: center;

    /* 初期状態：非表示 + 少し下 + 少し小さい */
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    will-change: opacity, transform;

    transition:
        opacity .38s cubic-bezier(.2, .9, .25, 1),
        transform .38s cubic-bezier(.2, .9, .25, 1);
}

/* ===========================
      表示状態（active）
=========================== */
.trial-popup.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transition-delay: 0s;
}

.trial-popup.active .trial-popup__bg {
    opacity: 1;
}

.trial-popup.active .trial-popup__box {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* ===========================
      タイトル / テキスト
=========================== */
.trial-popup__title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
}

.trial-popup__text {
    margin: 0 0 18px;
    line-height: 1.6;
    font-size: 14px;
    color: #333;
}

/* ===========================
      ボタン
=========================== */
.trial-popup__controls {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.trial-popup__btn {
    display: inline-block;
    padding: 12px 18px;
    background: #e60033;
    color: #fff;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

.trial-popup__close {
    padding: 10px 14px;
    border-radius: 8px;
    background: #f0f0f0;
    border: 0;
    cursor: pointer;
}

/* ===========================
      スマホ調整
=========================== */
@media (max-width: 420px) {
  .trial-popup__box { padding: 18px; border-radius: 12px; }
  .trial-popup__text { font-size: 13px; }
}



@media (max-width: 768px) {
    .red-top > img, .water02-top > img, .yellow-top > img, .orange-top > img {
        width: 365px;
    }
    .red-top > p, .water02-top > p, .yellow-top > p, .orange-top > p {
        font-size: 12px;
    }

    .border-3-red {
        border: 2px solid #EB5954;
    }
    .border-3-water02 {
        border: 2px solid #448FB8;
    }
    .border-3-yellow {
        border: 2px solid #FDCF08;
    }
    .border-3-orange {
        border: 2px solid #F2A63A;
    }

    .ssc-btn-wrapper {
        top: auto;
        bottom: 0;
        right: auto;
        display: flex;
        width: 100%;
    }

    .ssc-btn {
        border-top-left-radius: unset;
        border-bottom-left-radius: unset;
        border-left: unset;
        width: 50%;
        height: 45px;
        writing-mode: unset;
        font-size: 14px;
        margin-bottom: 0;
    }
    .ssc-btn > img {
        width: 22px;
        display: block;
        margin-right: 9px;
    }

    .btn-pdf-wrapper {
        flex-wrap: wrap;
    }
    .btn-pdf {
        width: 100%;
        max-width: 320px;
        margin-right: auto;
        margin-left: auto;
        height: 55px;
    }
    .btn-pdf > img {
        width: 25px;
        margin-right: 10px;
    }
    .btn-pdf:nth-child(1) {
        margin: 0 0 30px 0;
    }
}

/* スクール詳細 */
/* s-slide01セクション */
.s-slide01 {
    margin-top: calc((-225 / 1400) * 100vw);
}

.s-slide01__swiper {
    width: calc((820 / 1400)* 100vw);
}

.s-slide01__swiper .swiper-wrapper, .s-slide01__swiper .swiper-wrapper * {
    border-radius: calc((50 / 1400) * 100vw);
}

.s-slide01 .swiper-button-prev, .s-slide01 .swiper-button-next {
    width: calc((70 / 1400) * 100vw);
    height: calc((70 / 1400) * 100vw);
    z-index: 1;
}
.s-slide01 .swiper-button-prev:after, .s-slide01 .swiper-button-next:after {
    display: none;
}
.s-slide01 .swiper-button-prev {
    left: calc((104 / 1400) * 100vw);
    transform: rotate(-180deg);
}
.s-slide01 .swiper-button-next {
    right: calc((104 / 1400) * 100vw);
}

.s-slide01 .swiper-pagination {
    position: static;
}
.s-slide01 .swiper-paginationn > span {
    width: calc((19 / 1400)* 100vw);
    height: calc((19 / 1400)* 100vw);
    background-color: white;
    opacity: 1;
}
.s-slide01 .swiper-pagination > span.swiper-pagination-bullet-active {
    background-color: #1B91BC;
    position: relative;
    top: calc((-1 / 1400) * 100vw);
}

/* s-videoセクション */

.s-video__video {
    width: calc((540 / 1400)* 100vw);
}

.s-video__img01 {
    top: calc((-56 / 1400) * 100vw);
    left: calc((-27 / 1400) * 100vw);
    width: calc((360 / 1400)* 100vw);
}
.s-video__img02 {
    bottom: calc((-36 / 1400) * 100vw);
    right: calc((-55 / 1400) * 100vw);
    width: calc((427 / 1400)* 100vw);
}
.s-video__img03 {
    top: calc((-149 / 1400) * 100vw);
    right: calc((-260 / 1400) * 100vw);
    width: calc((230 / 1400) * 100vw);
}
.s-video__img03 > p {
    top: calc((36 / 1400) * 100vw);
    left: calc((62 / 1400) * 100vw);
    width: max-content;
}

/* s-twoセクション */
.s-two {
    background-image: url(../img/bg-t-ins.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: calc((235 / 1400) * 100vw) 0;
}

.s-two__sche {
    width: calc((300 / 1400)* 100vw);
}

.s-two__wrapper {
    width: calc(( 450/ 1400)* 100vw);
    margin: 0 calc((50 / 1400)* 100vw);
}

.s-two__contents > img {
    height: calc((120 / 1400)* 100vw);
}
.s-two__contents > p {
    height: calc((70 / 1400) * 100vw);
}

/* s-slide02セクション */
.s-slide02__inner {
    width: calc(100% - calc((570 / 1400) * 100vw));
}

.s-slide02 .swiper-button-prev, .s-slide02 .swiper-button-next {
    width: calc((70 / 1400) * 100vw);
    height: calc((70 / 1400) * 100vw);
    top: calc((236 / 1400) * 100vw);
    z-index: 1;
}
.s-slide02 .swiper-button-prev:after, .s-slide02 .swiper-button-next:after {
    display: none;
}
.s-slide02 .swiper-button-prev {
    left: calc((-105 / 1400) * 100vw);
    transform: rotate(-180deg);
}
.s-slide02 .swiper-button-next {
    right: calc((-105 / 1400) * 100vw);
}

.s-slide02 .swiper-pagination {
    position: static;
}
.s-slide02 .swiper-paginationn > span {
    width: calc((19 / 1400)* 100vw);
    height: calc((19 / 1400)* 100vw);
    background-color: white;
    opacity: 1;
}
.s-slide02 .swiper-pagination > span.swiper-pagination-bullet-active {
    background-color: #1B91BC;
    position: relative;
    top: calc((-1 / 1400) * 100vw);
}

/* s-footerセクション */
.s-footer {
    background-color: #B5E1F1;
}

.s-footer__contents {
    width: 48%;
}

.s-footer__iframe {
    height: calc((500 / 1400)* 100vw);
}

@media (max-width: 768px) {
    /* s-slide01セクション */

    .s-slide01 {
        margin-top: -108px;
        margin-bottom: 50px;
    }
    .s-slide01__swiper {
        width: 100%;
        max-width: 500px;
    }
    .s-slide01 .swiper-button-prev, .s-slide01 .swiper-button-next {
        width: 30px;
        height: 30px;
    }
    .s-slide01 .swiper-button-prev {
        left: -13px;
    }
    .s-slide01 .swiper-button-next {
        right: -13px;
    }

    .s-slide01 .swiper-paginationn > span {
        width: 10px;
        height: 10px;
    }
    .s-slide01 .swiper-pagination > span.swiper-pagination-bullet-active {
        top: -1px;
    }


    /* s-videoセクション */
    .s-video {
        padding-top: 130px;
    }

    .s-video__video {
        width: 100%;
        max-width: 400px;
    }

    .s-video__img01 {
        top: -21px;
        left: -26px;
        width: 163px;
    }
    .s-video__img02 {
        bottom: -74px;
        right: -26px;
        width: 170px;
    }
    .s-video__img03 {
        top: -193px;
        right: -21px;
        width: 156px;
    }
    .s-video__img03 > p {
        top: 20px;
        left: 31px;
        font-size: 14px;
    }

    /* .t-colセクション */
    .school-main .t-col {
        padding-bottom: 0;
    }

    /* s-twoセクション */
    .s-two {
        padding: 100px 0;
        background-position-x: 46%;
        padding: 169px 0 150px;
    }
    .s-two .ttl h2 {
        font-size: 20px;
    }

    .s-two__inner {
        flex-direction: column;
        width: calc(100% - 40px);
        margin: 0 auto;
    }

    .s-two__sche {
        width: 280px;
        margin-bottom: 40px;
    }

    .s-two__wrapper {
        width: 100%;
        margin: 0;
    }
    .s-two__wrapper:first-child {
        margin-bottom: 80px;
    }

    .s-two .grid-2 {
        width: 224px;
        margin: 0 auto 40px;
    }

    .s-two__contents > img {
        height: 170px;
    }
    .s-two__contents > p {
        height: auto;
        padding: 15px 0;
    }


    /* s-slide02セクション */
    .s-slide02 {
        padding: 0 0 50px;
    }
    
    .s-slide02__inner {
        width: calc(100% - 80px);
    }

    .s-slide02 .swiper-button-prev, .s-slide02 .swiper-button-next {
        width: 30px;
        height: 30px;
        top: calc((191 / 375) * 100vw);
    }
    .s-slide02 .swiper-button-prev {
        left: -35px;
    }
    .s-slide02 .swiper-button-next {
        right: -35px;
    }

    .s-slide02 .swiper-paginationn > span {
        width: 12px;
        height: 12px;
    }

    /* s-footerセクション */
    .s-footer__top {
        flex-direction: column;
    }

    .s-footer__contents {
        width: 100%;
    }
    .s-footer__contents:first-child {
        margin-bottom: 50px;
    }

    .s-footer__iframe {
        height: calc((250 / 375)* 100vw);
    }
}