@charset "UTF-8";
:root {
    --easing: cubic-bezier(.2, 1, .2, 1);
    --transition: all 0.3s ease;
    --nav-height: 80px;
    --nav-height-sp: 60px;
    --color-white: #fff;
    --color-base: #afd2cf;
    --color-brown: #fcf5ec;
    --color-gray: #888;
    --color-light: #ddd;
    --color-red: #ec2832;
    --color-theme: #f5695f;
    --color-theme-darken: #f12617;
    --bk-linear-gradient: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7));
    --box-shadow: .8rem .8rem 1.2rem rgba(0, 0, 0, .05), -.8rem -.8rem 1.2rem #fff;
    --box-shadow-hover: 1rem 1rem 1.5rem rgba(0, 0, 0, .08), -1rem -1rem 1.5rem #fff;
    --box-shadow-inset: inset .8rem .8rem 1.2rem rgba(0, 0, 0, .05), inset -.8rem -.8rem 1.2rem #fff;
    --pc-max-width: 980px;
    --pc-max-width-wide: 1000px;
    --font-small: 1.2em;
    --font-middle: 1.4em;
    --font-large: 1.6em;
    --font-xl: 3.5em;
    --font-middle-line-heght: 1.8;
    --top-main-height: 0;

}

.faculty-support {
    font-family: "M PLUS Rounded 1c", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1em;
}
#pankuzu {
    z-index: 1;
    position: relative;
}
#global-content {
    margin-top: 0;
}

.overlay {
    width: 100%;
    height: 100vh;
    z-index: 0;
    position: fixed;
    top: 0;
    left: 0;
}
.overlay:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('main-bg.png');
    background-size: cover;
    background-position: left;
    background-repeat: no-repeat;
    z-index: 1;
}
#main {
    display: none!important;
}
@media screen and (min-width: 991px) {
    .overlay:before {
        width: calc( 100vw - 240px );
    }
}
.breadcrumb {
    margin-bottom: 0!important;
    background: var(--color-base);
}
#page-main > section > div.main-header {
    margin-top: 0;
    margin-bottom: 0;
    /*background: var(--color-base);*/
    padding: 15px 0 30px;
    position: relative;
}
#page-main > section > div.main-header > div.wrap {
    max-width: var(--pc-max-width);
    padding-bottom: 30px;
    z-index: 2;
    position: relative;
}
.header-en {
    text-align: center;
    padding-bottom: 25px;
}
.header-en img {
    max-width: 150px!important;

}
.header1 {
    text-align: center;
    vertical-align: center;
    position: relative;
}
.header1 img {
    max-width: 300px!important;

}

.header2 {
    position: absolute;
    bottom: 0;
    right: 100px;
    width: 100%;
    max-width: 120px!important;
}
.header2 img {
    max-width: 120px!important;
    vertical-align: center;
}
.header-bg {
    position: absolute;
    left: 0;
    top: -1px;
    z-index: 1;
}
.header-bg img {
    width: 90%;
}
div.ys {
    max-width: var(--pc-max-width-wide);
}
.pageOuter {
    /*max-width: 800px; *!*/
    overflow: hidden;
    margin: 15px auto 15px;
    background: rgba(255, 255, 255, 0.6);
    padding: 15px 60px;
    position: relative;
}

.title-line {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 1em;
    font-size: 2.4em;
}
.title-line.youtube {
    position: absolute;
    left: 10px;
    bottom: -10px;
    font-size: 18px;
    font-weight: 500;
}

.title-line::before,
.title-line::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #333;
}

.title-line span,.youtube span {
    position: relative;
    color: #000;
}
.title-line img, .youtube img {
    width: 38px;
}

/****************
 一覧ボタン
 ****************/

.btn-wrap {
    padding: 10px;
}

.stretch-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #fff;
    border: 1px solid #555;
    border-radius: 3px;
    text-decoration: none;
    color: inherit;
    width: 100%;              /* 幅100% */
    box-sizing: border-box;
}

.stretch-card:hover {
    opacity: .5;
}

.stretch-card__img {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.stretch-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.stretch-card__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stretch-card__en {
    font-size: 12px;
    color: #f1c400;
    padding-bottom: 2px;
}

.stretch-card__ja {
    font-size: 1.6em;
    font-weight: bold;
    color: #333;
    /*font-family: 'Kaisei Opti', serif;*/
}

section.page .pamphlet img {
    max-width: 300px;
    border: 1px solid #000;
}
/****************
 MODAL
 ****************/
/* ========================================
   ストレッチモーダル
======================================== */

/* モーダル表示中のbodyスクロール無効化 */
body.modal-open {
    overflow: hidden;
}

.stretch-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;  /* オーバーレイ自体はスクロール可能に */
}

.stretch-modal-overlay.active {
    display: flex;
}

.stretch-modal-box {
    /*border: 3px solid #000;*/
    background: #ffffff;
    border-radius: 3px;
    max-width: 800px;       /* 500px → 800px に拡大 */
    width: 95%;             /* 画面幅の95%まで使用 */
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin: auto;           /* 中央配置 */
}

.stretch-modal-box__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;        /* 少し大きく */
    cursor: pointer;
    color: #666;
    line-height: 1;
    z-index: 10;
}

.stretch-modal-box__close:hover {
    color: #333;
}

.stretch-modal-box__header {
    padding: 15px 30px;     /* パディング増加 */
    border-bottom: 1px solid #eee;
    background: #efefef;
}

.stretch-modal-box__header-en {
    font-size: 1.3em;        /* フォントサイズ増加 */
    color: #f1c400;
}

.stretch-modal-box__header-ja {
    font-size: 2em;        /* フォントサイズ増加 */
    font-weight: bold;
    margin: 5px 0 0;
    /*font-family: 'Kaisei Opti', serif;*/
    text-align: left;
}

.stretch-modal-box__content {
    padding: 30px;          /* パディング増加 */
}

.stretch-modal-box__section {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

.stretch-modal-box__number {
    font-size: 2em;
    font-weight: bold;
    color: #333;
    border-radius: 5px;
    background: var(--color-base);
    padding: 10px 20px;
    line-height: 1;
    flex-shrink: 0;
}

.stretch-modal-box__title {
    display: flex;
    flex-direction: column;
    flex: 1;                /* 横幅いっぱいに広げる */
}

.stretch-modal-box__title-ja {
    font-size: 1.3em;        /* フォントサイズ増加 */
    font-weight: bold;
    margin: 0!important;
    background: none!important;
    padding: 0!important;
    /*font-family: 'Kaisei Opti', serif;*/
    text-align: left;
}

.stretch-modal-box__title-border {
    width: 100%;
    border-bottom: 1px solid #ccc;
}

.stretch-modal-box__title-en {
    font-size: .85em;
    color: #f0c850;
    /*padding-top: 3px;*/
}

.youtubeTitle {
    margin: 10px 0;
    font-weight: bold;
}
.youtubeTitle img {
    width: 38px;
}

.stretch-modal-box__video {
    margin: 0 auto 25px;
    width: 80%;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

.stretch-modal-box__video-grid {
    display: grid;
    gap: 12px;
}

/* 1つの時 */
.stretch-modal-box__video-grid:has(> :nth-child(1):last-child) {
    grid-template-columns: 1fr;
    width: 80%;
    margin: 0 auto;
}

/* 2つの時 */
.stretch-modal-box__video-grid:has(> :nth-child(2):last-child) {
    grid-template-columns: repeat(2, 1fr);
}

/* 3つの時 */
.stretch-modal-box__video-grid:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, 1fr);
}

.stretch-modal-box__video-item {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
}

.stretch-modal-box__video-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* 1つの時 */
.stretch-modal-box__video-grid:has(> :nth-child(1):last-child) .stretch-modal-box__video-item {
    aspect-ratio: 16 / 9;
}

/* 2つ・3つの時 */
.stretch-modal-box__video-grid:has(> :nth-child(2):last-child) .stretch-modal-box__video-item,
.stretch-modal-box__video-grid:has(> :nth-child(3):last-child) .stretch-modal-box__video-item {
    aspect-ratio: 9 / 16;
}

.stretch-modal-box__info {
    margin: 0 auto 15px;
    font-size: 1.2em;
    color: #333;
    font-weight: 500;
    display: flex;
    justify-content: end;
}
.stretch-modal-box-inner {
    display: inline;
    padding: 10px 15px;
    background: rgb(232 190 25 / 50%);
    border-radius: 7px;
    font-weight: bold;

}
.stretch-modal-box__info-label {
    white-space: nowrap;
    display: block;
}

.stretch-modal-box__info-label:before {
    font-size: 1.3em;
    color: #333;
    font-family: FontAwesome;
    content: "\f017";
}

.stretch-modal-box__info-text {
    padding-left: 27px;
}

.stretch-modal-box__images {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 60px 0;
}

.stretch-modal-box__images img {
    width: auto;           /* 画像サイズ増加 */
    height: 200px;
}
.ct-1 img {
    height: 150px;
}
.stretch-modal-box__images span {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.stretch-modal-box__images span.vertical img {
    /*transform: rotate(-90deg);*/
    width: 200px;
    height: auto;
}
.stretch-modal-box__images span:not(:first-child)::before {
    font-size: 1.3em;
    color: #333;
    font-family: FontAwesome;
    content: "\f0ec";
    position: absolute;
    left: -40px;
}
.stretch-modal-box__images span:has(img.muscle)::before {
    font-size: 1.3em;
    font-family: FontAwesome;
    content: "\f061";
    color: darkred;
    position: absolute;
    left: -40px;
}
.stretch-modal-box__images span:has(img.muscle.not-icon)::before {
    content: none;

}
.stretch-modal-box__tip {
    /* 親要素はスタイルなし */
}

.stretch-modal-box__tip-title {
    font-size: 2.0em;
    font-weight: bold;
    margin-left: 20px;
    display: inline;
    border-bottom: 6px solid #f1c400;
    background: #fff;
}
.stretch-modal-box__tip-inner {
    border-radius: 7px;
    padding: 40px 25px 20px;
    background: #fff;
    border: 1px solid #ddd;
    margin-top: -15px;
}

.stretch-modal-box__tip-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stretch-modal-box__tip-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 1.15em;
    line-height: 1.6;
    color: #333;
}

.stretch-modal-box__tip-list li:last-child {
    margin-bottom: 0;
}

.stretch-modal-box__tip-list li::before {
    content: "";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background-image: url("check.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    display: flex; /* または inline-block */
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
    .faculty-support {
        font-size: .875em;
    }
    .stretch-modal-box {
        max-width: 100%;
        width: 100%;
        margin: 10px;
        max-height: 95vh;
    }
    .stretch-modal-box__info {
        font-size: 1em;
        justify-content: center;
    }
    .stretch-modal-box__info-text {
        padding-left: 20px;
    }
    .stretch-modal-box__images {
        flex-wrap: wrap;
    }

    .stretch-modal-box__images img {
        height: 150px;
    }
}

.youtube-swiper {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.youtube-swiper.swiper-ready {
    opacity: 1;
}
/****************
 SNS
 ****************/
[class*=swiper]:focus {
    outline: none;
}

.sns-swiper {
    /*overflow: hidden;*/
    margin-top: 15px;
}
.sns-swiper .l-inner {
    position: relative;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    margin: 0 auto;
    padding-top: 1rem;
    padding-bottom: 2rem;
}
.sns-swiper .l-inner .swiper {
    overflow: visible;
    height: 441px;
    padding: 0 0.2rem;
}
.sns-swiper .l-inner .swiper .swiper-slide.swiper-slide-visible {
    background-color: #000;
    border-radius: 11px;
}
.sns-swiper .l-inner .swiper .swiper-slide {
    width: auto;
}
.sns-swiper .l-inner .swiper .swiper-slide:not(.swiper-slide-visible) .slide, .sns-swiper .l-inner .swiper .swiper-slide:not(.swiper-slide-visible) .sbi_photo_wrap {
    pointer-events: none;
    opacity: 0.3;
}
.sns-swiper .l-inner .swiper .swiper-slide .slide {
    overflow: hidden;
    -webkit-transition: var(--transition), opacity 1s;
    transition: var(--transition), opacity 1s;
    border-radius: 10px;
    height: 100%;
    width: auto;
}
.sns-swiper .l-inner .swiper .swiper-slide .slide iframe {
    height: 100%;
    width: 100%;
}
.sns-swiper .l-inner .swiper .swiper-slide .slide img {
    height: 100%;
    width: 100%;
}
.sns-swiper .l-inner .swiper .swiper-slide .slide .youtube-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}
.sns-swiper .l-inner .swiper .swiper-slide .slide .youtube-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.sns-swiper .l-inner .swiper .swiper-slide .slide .youtube-thumb .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* クリックを親に通す */
}
.sns-swiper .l-inner .swiper .swiper-slide .slide .youtube-thumb .play-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.swiper-button-wrap {
    display: flex;
    justify-content: right;
    padding: 10px 0;
}
.swiper-button-wrap .swiper-button-prev {
    margin-right: 20px;
}
.swiper-button-wrap .swiper-button-prev:after {
    margin-left: 0.4rem;
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}
.swiper-button-wrap .swiper-button-next:after {
    margin-right: 0.4rem;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.swiper-button-wrap .swiper-button-prev,
.swiper-button-wrap .swiper-button-next {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    margin-top: 0 !important;
    z-index: 1;
    width: 2.4rem !important;
    height: 2.4rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
    border: 1px solid #000;
    color: transparent !important;
    -webkit-transition: var(--transition);
    transition: var(--transition);
    flex-shrink: 0;
    overflow: hidden;
}
/* Swiperがinjectするsvgアイコンを非表示 */
.swiper-button-wrap .swiper-button-prev *,
.swiper-button-wrap .swiper-button-next * {
    display: none !important;
}
/* ::before は使わない */
.swiper-button-wrap .swiper-button-prev::before,
.swiper-button-wrap .swiper-button-next::before {
    display: none !important;
}
/* カスタム矢印（borderのみ） */
.swiper-button-wrap .swiper-button-prev::after,
.swiper-button-wrap .swiper-button-next::after {
    content: "" !important;
    display: block !important;
    width: 0.55rem;
    height: 0.55rem;
    border: solid #000;
    border-width: 1px 1px 0 0;
    flex-shrink: 0;
}
.swiper-button-wrap .swiper-button-prev::after {
    transform: rotate(-135deg) !important;
    margin-left: 0.15rem;
}
.swiper-button-wrap .swiper-button-next::after {
    transform: rotate(45deg) !important;
    margin-right: 0.15rem;
}
.swiper-button-wrap .swiper-button-disabled {
    pointer-events: none;
    opacity: 0;
}
.modal-yt-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}
.modal-yt-thumb img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.modal-yt-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.modal-yt-play img {
    width: 60px;
    height: auto;
}
@media (max-width: 768px) {
    .stretch-modal-box__video {
        width: 100%;
    }
    .stretch-modal-box__video-grid {
        grid-template-columns: 1fr !important;
        width: 100% !important;
    }
    .stretch-modal-box__video-item {
        aspect-ratio: 16 / 9!important;
    }
    .header1 img {
        max-width: 200px !important;
    }
    .header2 {
        max-width: 80px !important;
    }

    #page-main > section > div.main-header {
        padding-bottom: 0;
    }
    .pageOuter {
        margin: 0 auto ;
        padding: 15px 0;
    }
    .pageOuter.y-slide {
        padding: 15px 60px;
    }
    .stretch-modal-box__images img {
        width: auto;           /* 画像サイズ増加 */
        height: 100px;
    }
    .stretch-modal-box__images span.vertical img {
        /* transform: rotate(-90deg); */
        width: 100px;
        height: auto;
    }
}
@media (max-width: 575.98px) {
    .header1 img {
        max-width: 150px !important;
    }
    .header2 {
        max-width: 50px !important;
        right: 50px;
    }
    .swiper-button-wrap {
        justify-content: center;
        margin-top: 20px;
    }

}
