/*===========
Before/Afterエリア
=========*/
.before-after-area .text {
    margin-bottom: 20px;
    margin-top: 10px;
}

/*スクロールバーとコンテンツの間隔*/
.before-after-area .swiper-wrapper {
    margin-bottom: 45px;
}

/* タグボタン（ページネーション） */
.persona-tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.persona-tab-btn {
    padding: 5px 15px;
    border-radius: 999px;
    border: 1px solid var(--accent-color-deep);
    background: #fff;
    font-size: 15px;
    cursor: pointer;
    /* 明示的に指定 */
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.persona-tab-btn.is-active {
    background: #1a3a2f;
    color: #fff;
    border-color: #1a3a2f;
}

/* スライダー全体 */
.persona-slider-wrap {
    position: relative;
}

.persona-slider {
    width: 100%;
    overflow: hidden;
}

/* slidesPerView:1 なのでswiper-slideは幅100%でOK */
.persona-slider .swiper-slide {
    width: 100%;
}

/* カード */
.persona-card {
    background: white;
    border-radius: 16px;
    padding: 20px 0px;
    width: auto;
    /* カード自体の最大幅はここで制御 検証必要 */
    /*max-width: 90vw;*/
    margin-inline: auto;
    box-sizing: border-box;
    border: 1px solid var(--accent-color-deep);
}

.persona-card-inner {
    max-width: 560px;
    margin-inline: auto;
}

/* カード上部：タイトルブロック */
.persona-card-header {
    text-align: center;
    margin-bottom: 15px;
}

.persona-card-header-pt2 {
    text-align: center;
    margin-bottom: 15px;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 auto;
    justify-content: center;
    width: 100%;
    padding: 1rem 0 0 0;
}

.persona-card-header-pt2 p {
    margin-left: 10px;
    margin-top: 10px;
}



.persona-card-label {
    display: inline-block;
    border-radius: 12px;
    font-size: 25px;
    font-weight: normal;
    padding: 5px 20px;

    border: 1px solid var(--accent-color-deep);
    -webkit-box-shadow: 3px 3px 0 0 var(--accent-color-deep);
    box-shadow: 3px 3px 0 0 var(--accent-color-deep);
    background-color: white;
}

.persona-card-subtitle {
    font-size: 20px;
    color: #333;
}

.persona-card-divider {
    border: none;
    border-top: 1px solid var(--accent-color-deep);
    margin: 0;
}

.persona-card-divider.--dotted {
    border: none;
    border-top: 1px dashed #ccc;
    margin: 0;
}

/* Before行 */
.persona-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.persona-row-pt2 {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 1.0rem;
    justify-content: flex-start;
    width: 100%;
    margin-inline: auto;
}

.persona-row-label {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    background: #333;
    padding: 4px 14px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 1;
}

.persona-row-label-pt2 {
    font-size: 20px;
    font-family: "Noto Serif", "BIZ UDPMincho";
    font-weight: bold;
    color: #fff;
    background: var(--accent-color-deep);
    padding: 3px 10px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1;
}

.persona-row-label.after,
.persona-row-label-pt2.after {
    background: #e06020;

}


.persona-row-img-wrap {
    position: relative;
    width: 195px;
    flex-shrink: 0;
    padding-top: 0px;
    padding-left: 40px;
}

.persona-row-img-wrap-pt2 {
    position: relative;
    max-width: 200px;
    /*height: 300px;*/
    height: 100%;
    flex-shrink: 0;
    background-color: white;
    border-radius: 0 30px 0 0;
    border: solid 1px var(--accent-color-deep);
    -webkit-box-shadow: 5px 5px 0 0 #0a2a25;
    box-shadow: 5px 5px 0 0 #0a2a25;
    /*padding: 15px;*/
}

.persona-row-img-wrap-pt2 img {

    width: 100%;
    /*height: 235px;*/
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 30px 0 0;
}

.persona-row-status {
    display: block;
    padding: 1rem 0.5rem;
}

.persona-row-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.persona-row-text {
    width: fit-content;
}

.persona-row-text ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}


.persona-row-text ul li {
    line-height: 1.8;
    padding-left: 1em;
    text-indent: -1em;


}

.persona-row-text ul li::before {
    content: "・";
}

/* 中間テキスト */
.persona-transition {
    display: flex;
    justify-content: center;
    margin: 1rem 0 1.125rem 0;
}

.persona-transition .period-text {
    color: var(--accent-color-deep);
    display: flex;
    align-items: center;

    gap: 15px;
}

.persona-transition .period-text::before,
.persona-transition .period-text::after {
    content: "▼";
    color: #1a3a2f;
}

.before-after-area .change-text {
    font-size: 25px;
    margin-top: 6px;
    margin-bottom: 0.5rem;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    padding: 4px 0px;
    width: 100%;
}

.before-after-area .change-text--small {
    font-size: 16px;
    padding: 1rem 0;
    border-radius: 25px;
    margin-inline: auto;
    width: 100%;

    flex-direction: column;
}

.p-facility-renew .swiper-button-next {
    right: -15px !important;
}

.p-facility-renew .swiper-button-prev {
    left: -15px !important;
}

/* スマホ */
@media (max-width: 768px) {
    .persona-card {
        padding: 15px 15px;
    }

    .persona-card-header-pt2 {
        margin-bottom: 0.5rem;

    }

    .persona-card-label {
        font-size: 20px;
        padding: 5px 25px;
    }

    .persona-nav-btn.prev {
        left: 4px;
    }

    .persona-nav-btn.next {
        right: 4px;
    }

    .persona-row,
    .persona-row-pt2 {
        flex-wrap: wrap;
        flex-direction: column;
        gap: 20px;
        align-items: center;
        gap: 20px;
        padding: 0.5rem 0;

    }

    .persona-row-text .persona-row-label-pt2 {
        font-size: 18px;
        padding: 5.5px 10px;
    }

    .persona-row-img {
        width: 110px;
    }

    .persona-row-img-wrap-pt2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        max-width: 200px;
        width: 100%;
        height: 100%;
        margin-bottom: 0;
    }


    .persona-row-img-wrap-pt2 img {
        width: 100%;
        /*height: 160px;*/
        height: 100%;
        object-position: center;
        display: block;

    }

    .persona-row-text {
        width: 100%;

    }

    .before-after-area .change-text {
        font-size: 20px;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0.5rem 0;

    }

    :is(.before-after-area .change-text, .persona-row-text, .persona-row,
        .persona-row-pt2, .persona-card-header-pt2) {
        max-width: 450px;
    }

    .before-after-area .change-text--small {
        font-size: 16px;
        padding: 1rem 1rem;
    }

    .persona-card-divider {
        margin-bottom: 0.5rem;
    }
}


/*===========
    追従
=========*/
.floating-index {
    position: fixed;
    left: 0;
    bottom: 120px;
    z-index: 9999;
}

/* 初期は非表示 */
.floating-index {
    position: fixed;
    left: 0;
    bottom: 120px;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.floating-index.show {
    opacity: 1;
    pointer-events: auto;
}


/* 内側をまとめてスライドさせる */
.index-inner {
    display: flex;
    transform: translateX(-260px);
    /* カード幅分隠す */
    transition: 0.35s ease;
    align-items: flex-end;
}

/* 開いたら表示 */
.floating-index.open .index-inner {
    transform: translateX(0);
}

/* カード */
.index-card {
    width: 260px;
    max-height: 60vh;
    overflow: auto;
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(6px);
    padding: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 12px 12px 0 12px;
}

/* ボタン */
.index-toggle {
    width: 60px;
    height: 70px;
    background: var(--accent-color-deep);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 0 12px 12px 0;
}

.index-toggle .icon {
    font-size: 20px;
}

.index-toggle .label {
    font-size: 12px;
}

/* リスト */
.index-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.index-list li {
    margin-bottom: 14px;
}

.index-list a {
    text-decoration: none;
    color: var(--accent-color-deep);
    font-size: 0.9rem;
}

.index-list a.is-active {
    font-weight: bold;
    color: #fff;
    background: var(--accent-color-deep);
    padding: 4px 8px;
    border-radius: 12px;
}

/*===========
追従ここまで
=========*/

/*==============
校舎ページレイアウト調整
===============*/
.p-facility-renew :is(.access-wrap, .box-list) {
    margin-top: 1.5rem !important;
}

.p-facility-renew :is(.point-wrap, .point+.point) {
    margin-top: 2.5rem !important;
}

.p-facility-renew .point-area .kizuki-step-list,
.p-facility-renew .box-list {
    max-width: 850px !important;
    background-color: white;
}

.p-facility-renew .c-marker {
    background: linear-gradient(transparent 70%,
            rgba(249, 214, 23, 0.5) 70%);
}

.ja-lg {
    font-size: 32px;
    letter-spacing: .05em;
}

.p-step-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 2rem;
    background-color: var(--accent-color-light);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--accent-color-deep);
}

.p-step-list img {
    max-width: 180px;
    box-shadow: #0000000d 5px 5px 10px 0px;
}

.p-facility-renew .en {
    font-family: "Mulish", self;
}

.p-facility-renew .info-area .map iframe {
    height: 100%;
}

.p-facility-renew .info-area .map {
    /*
    box-shadow: #0000000d 5px 5px 10px 0px;
    */
    -webkit-box-shadow: 4px 4px 0 0 #0a2a25;
    box-shadow: 4px 4px 0 0 #0a2a25;
    height: auto;
}

.p-facility-renew .info-area .map,
.p-facility-renew .info-area .map iframe {
    border-radius: 0 3rem 0 0;
    max-width: 390px;
    width: 100%;
}

.p-facility-renew .inner-block {
    padding: 4.5rem 1.5rem 4.5rem 1.5rem;
    max-width: 880px;
    margin-inline: auto;
}

.p-facility-renew .mv-area {
    margin: 3rem auto 0 auto;
    padding-bottom: 0.5rem;
}

.p-facility-renew .mv-area .cta-wrap.-sp {
    display: none !important;
}

.p-facility-renew .mv-wrap-renew {
    gap: 15px;
    /*display: grid !important;*/
    display: flex;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -webkit-box-pack: justify;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    justify-items: center;
    align-items: end;
    max-width: 1240px;
    margin: 3rem auto;
}

.p-facility-renew .mv-title .name {
    font-size: 40px;
}

.p-facility-renew .mv-title .top {
    margin-bottom: 0.5rem;
    font-size: 18px;
}

.p-facility-renew .mv-area .mv-wrap-renew .text-wrap-renew {
    width: 450px;
    display: flex;
    flex-direction: column;
}

.p-facility-renew .mv-area .mv-wrap-renew .cta-wrap.-pc {
    display: flex !important;
}

.text-wrap-renew .mv-title.-pc h1 {
    text-align: center;
    display: flex;
    flex-direction: column;
}

.p-facility-renew .mv-img,
.p-facility-renew .mv-img img {
    /*border-radius: 0 5rem 0 0;*/
    /*box-shadow: #0000000d 5px 5px 10px 0px !important;*/
    -webkit-box-shadow: 4px 4px 0 0 #0a2a25;
    box-shadow: 4px 4px 0 0 #0a2a25;
}

.p-facility-renew .mv-img {
    width: 640px;
    position: relative;
}

.p-facility-renew .mv-img .mv-lead {
    max-width: 535px !important;
    width: fit-content;
    position: absolute;
    left: 0;
    bottom: 20px;
}

.p-facility-renew .mv-img .mv-lead span {
    font-size: 20px !important;
    display: inline-block;
    background: #fff;
    font-size: 16px;
    margin: 2px 0;
    padding: 0.125rem;
}

.p-facility-renew .access-area :is(.access-aco, .access-landmark) {
    max-width: 880px !important;
}

/*======================
校舎CTA
======================*/
.p-facility-renew .mv-area .mv-wrap-renew .cta-wrap {
    margin: 20px auto 0 auto;
    font-size: 16px !important;
}

.mv-wrap-renew .cta-wrap .cta-item {
    width: 100%;
    max-width: 210px;
    min-height: 55px;
    margin: 5px;
}

.p-facility-renew .p-fixedCta__head {
    gap: 0 5px;
}

/*======================
校舎セクションの色
======================*/
.p-facility-renew :is(.student-area, .access-area) {
    background-color: var(--sub-color-beige) !important;
}

.p-facility-renew :is(.info-area, .step-area, .jisseki-area) {
    background-color: var(--sub-color-beige-pt2) !important;
}

.p-facility-renew .c-border-box {
    background-color: #fff !important;
}

/*======================
目次リニューアル
======================*/

.p-facility-renew .mv-wrap-renew .navigation-list.-pc {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    /*border: 1px solid #ffffff;*/
    list-style: none;

    padding: 0 1.5rem;
    max-width: 880px;
    width: 100%;
}

.p-facility-renew .mv-wrap-renew .navigation-list.-pc li {
    border: 1px solid #ffffff;
    height: 90px;
}

.p-facility-renew .mv-wrap-renew .navigation-list.-pc li a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 8px 28px;
    height: 100%;
    text-align: center;
    box-sizing: border-box;
    background: #1a8a6e;
    color: white;
    text-decoration: none;
    font-family: "Local Noto Sans JP","Noto Sans JP",sans-serif;
    /*font-size: 14px;*/
}

.p-facility-renew .mv-wrap-renew .navigation-list.-pc li a::after {
    content: "▼";
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 10px;
}

.p-facility-renew .mv-area .mv-wrap-renew.navigation-list li a::after {
    display: none;
}

.p-facility-renew .mv-area .mv-wrap-renew .navigation-list li {
    position: relative !important;
}

.p-facility-renew .mv-area .mv-wrap-renew .navigation-list li a {
    position: unset !important;
}

.p-facility-renew .mv-area .mv-wrap-renew .navigation-list.sp {
    width: 100vw;
}
/*空欄調整用*/
.no-after::after {
    content: none!important;
  }

@media (max-width: 1215px) {
    .p-facility-renew .mv-area .mv-wrap-renew.text-wrap-renew {
        width: 100% !important;
    }

    .mv-wrap-renew {
        align-items: center !important;
        display: flex !important;
    }

    .p-facility-renew .mv-area .cta-wrap.-sp {
        display: flex !important;
    }

    .p-facility-renew .mv-img {
        order: 2;
        margin: 0 1.5rem;
        max-width: 880px;
        width: 100%;
    }

    .p-facility-renew .mv-img img {
        max-height: 400px;
        object-fit: cover;
        width: 100%;
    }

    .text-wrap-renew {
        order: 1;
    }

    .p-facility-renew .mv-area .mv-wrap-renew .navigation-list.-pc {
        order: 3;
    }

    .p-facility-renew .mv-area .mv-wrap-renew .cta-wrap {
        max-width: 880px;
    }

    .p-facility-renew .mv-area .mv-wrap-renew .cta-wrap.-pc {
        display: none !important;
    }
}

@media (max-width: 950px) {
    .p-facility-renew .mv-area .mv-wrap-renew {
        align-content: center;
    }

    .p-facility-renew .mv-area .mv-wrap-renew .navigation-list.-pc {
        width: 100% !important;
    }

    .p-facility-renew .mv-area .mv-wrap-renew.text-wrap-renew {
        margin: 0 auto 0 auto !important;
    }

    .mv-wrap-renew .cta-wrap .cta-item {
        width: 100%;
        max-width: 160px;
        height: 50px !important;
        margin: 5px;
    }
}

@media only screen and (max-width: 860px) {
    .p-facility-renew .info-area .map iframe {
        width: 100%;
        height: 100%;
    }

    .p-facility-renew .map {
        aspect-ratio: 16/9;
        max-height: 350px;
    }

    .p-facility-renew .map,
    .map iframe {
        max-width: 100%;
    }
}

@media only screen and (max-width: 640px) {
    .navigation-list.-pc {
        display: grid !important;
    }

    .p-facility-renew .mv-img {
        width: 100%;
        margin: 0;
    }

    .mv-img,
    .mv-img img {
        margin-top: 1rem;
        border-radius: 0;
        box-shadow: 5px 5px 0 0 var(--deep-green) !important;
    }



    .p-facility-renew .mv-wrap-renew .navigation-list.-pc {
        padding: 0;
        margin: 0;
    }

    .mv-wrap-renew {
        gap: 0 !important;

    }

    .mv-title {
        margin: 0 !important;
        flex-direction: column;
    }

    .p-facility-renew .mv-area .mv-wrap-renew .mv-img .mv-lead {
        max-width: 535px !important;
        width: fit-content;
    }

    .p-facility-renew .mv-area .mv-wrap-renew .mv-img .mv-lead span {
        font-size: 16px !important;
    }

    .p-step-list {
        padding-left: 0;
        padding-right: 0;
    }

    .p-step-list img {
        max-width: 150px;
    }

}

/* スクロールバーがコンテンツより下に表示されるようにする */
.swiper-horizontal>.swiper-scrollbar,
.swiper-scrollbar.swiper-scrollbar-horizontal {
    z-index: 0;
}