/* ==========================================================================
   Reset CSS
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    font-family: "Noto Serif JP", serif;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
    border: 0;
}

a {
    text-decoration: none;
    color: inherit;
    background: transparent;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
}

input,
textarea,
select {
    font: inherit;
}


/* ==========================================================================
   Base / 共通ユーティリティ
   ========================================================================== */
html,
body {
    font-size: 16px;
    overflow-x: hidden;
}

/* スマホ時のみ表示する要素(初期値は非表示。SPメディアクエリで上書き) */
.pc-only {
    display: block;
}

.sp-only {
    display: none;
}

/* header共通部分CSS継承 */
#headerDetail p {
    font-family: "メイリオ", Meiryo, "MS Pゴシック", "Hiragino kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Osaka, sans-serif;
    font-size: 12px;
    font-weight: normal;
    color: #000000;
    text-align: left;
    padding: 5px 0;
}

/* 見出し下のリード文(course / experience / closing などで共通使用) */
.lead-text {
    margin-top: 16px;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #555;
    letter-spacing: 0.03em;
}

/* 左右2カラムのレイアウト(moments / closing で共通使用) */
.split-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    max-width: 1600px;
    margin: 0 auto;
}

/* ==========================================================================
   共通:共通CSS(cmn.css)の A:visited 対策
   ========================================================================== */
a,
a:visited {
    color: inherit;
    text-decoration: none;
}


/* ==========================================================================
   Global Nav(ページ内アンカーナビ。KVセクション内に配置)
   ========================================================================== */
.gnav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 40px;
    z-index: 20;
    transition: background-color 0.3s ease, position 0.3s ease;
}

.gnav-list {
    display: flex;
    gap: 32px;
    justify-content: flex-start;
}

.gnav-list a,
.gnav-list a:visited {
    color: #F5F5F2;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.gnav-list a:hover {
    opacity: 0.7;
}

/* スクロールして固定されたときのスタイル */
.gnav.is-fixed {
    position: fixed;
    background-color: rgba(31, 78, 121, 0.95);
    /* KVと同系の紺 */
    padding: 16px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   Breadcrumb(パンくずリスト。共通CSSの見た目をそのまま継承)
   ========================================================================== */
.breadcrumb p {
    font-family: "メイリオ", Meiryo, "MS Pゴシック", sans-serif;
    font-size: 12px;
}

.breadcrumb a,
.breadcrumb a:visited {
    font-family: "メイリオ", Meiryo, "MS Pゴシック", sans-serif;
    font-size: 12px;
    color: #0099cc;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #3ac7f6;
}

/* パンくずとKVの間の、背景色だけの余白帯 */
.breadcrumb-spacer {
    background-color: #F5F5F2;
    height: 20px;
}

/* ==========================================================================
   Section KV(Swiperスライダー + 切り替わるコピー)
   ========================================================================== */
.kv {
    position: relative;
    width: 100%;
    aspect-ratio: 1728 / 668;
    overflow: visible;
}

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

.kv-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.kv-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
}

/* アクティブスライドの画像だけズームアウト(引いていく) */
.kv-slider .swiper-slide-active img {
    animation: kvZoom 6s ease-out 0s 1 forwards;
}

@keyframes kvZoom {
    0% {
        transform: scale(1.12);
    }

    100% {
        transform: scale(1);
    }
}

/* KV下部、中央の縦の装飾ライン(mix-blend-modeで背景に応じて反転) */
.kv::after {
    content: "";
    position: absolute;
    bottom: -60px;
    left: 50%;
    width: 2px;
    height: 200px;
    background-color: #F5F5F2;
    mix-blend-mode: difference;
    z-index: 5;
    pointer-events: none;
}

.kv-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #F5F5F2;
    z-index: 10;
    pointer-events: none;
    background: linear-gradient(rgba(3, 0, 0, 0.1), rgba(3, 0, 0, 0.25));
}

.kv-copy-wrap {
    position: relative;
    width: 100%;
    min-height: 3.6em;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

h1.kv-copy {
    color: #F5F5F2;
}

/* 2つのコピーを同じ位置に重ねて配置し、opacityで切り替える */
.kv-copy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    font-size: clamp(1.375rem, 3vw, 2.5rem);
    font-weight: 600;
    letter-spacing: 0.2em;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 2.5s ease;
}

.kv-copy span {
    font-size: clamp(1rem, 3vw, 1.5rem);
}

.kv-copy.is-active {
    opacity: 1;
}

.kv-btn,
a.kv-btn:visited {
    pointer-events: auto;
    display: inline-block;
    padding: 14px 40px;
    margin-top: 40px;
    border: 1px solid #F5F5F2;
    color: #F5F5F2;
    font-size: 0.9375rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.kv-btn:hover,
a.kv-btn:visited:hover {
    background: #F5F5F2;
    color: #222;
}


/* ==========================================================================
   Section Gallery
   ========================================================================== */
.gallery {
    position: relative;
    overflow: hidden;
}

/* 元々ベースの指定が抜けていたため復元(SISTINE HALL等のラベル) */
.gallery-eyebrow {
    margin-top: 10px;
    font-size: 0.8125rem;
    /* 13px */
    letter-spacing: 0.15em;
    color: #1F4E79;
    opacity: 0.7;
}

.gallery-head {
    width: 100%;
    background-color: #F5F5F2;
    padding: 100px 20px;
    text-align: center;
}

.intro-copy {
    font-size: clamp(1.125rem, 2.4vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.8;
    color: #222;
    padding: 0;
}

.gallery-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
    background-color: #D8D8D8;
}

.gallery-col {
    position: relative;
    flex: 1;
    padding: 60px 30px;
    text-align: center;
    background-color: #D8D8D8;
    z-index: 1;
    transition: background-color 0.4s ease, transform 0.4s ease;
}

.gallery-col:hover {
    background-color: #1F4E79;
    transform: scale(1.05);
    z-index: 2;
}

.gallery-item img {
    width: 80%;
    max-width: 80%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    cursor: pointer;
}

.gallery-title {
    margin-top: 8px;
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #1F4E79;
    transition: color 0.4s ease;
    padding: 0;
    background-color: transparent;
    position: static;
}

.gallery-desc {
    margin-top: 20px;
    font-size: 0.875rem;
    line-height: 2;
    letter-spacing: 0.04em;
    color: #1F4E79;
    opacity: 0.9;
    transition: color 0.4s ease;
}

.gallery-divider {
    width: 60px;
    height: 1px;
    background-color: rgba(31, 78, 121, 0.3);
    margin: 30px auto;
    transition: background-color 0.4s ease;
}

.gallery-tagline {
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    color: #1F4E79;
    opacity: 0.85;
    margin-bottom: 16px;
    transition: color 0.4s ease;
}

.gallery-btn,
a.gallery-btn:visited {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid #1F4E79;
    color: #1F4E79;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, border-color 0.4s ease;
}

/* ホバー時:文字・線・ボタンを白系に */
.gallery-col:hover .gallery-eyebrow,
.gallery-col:hover .gallery-title,
.gallery-col:hover .gallery-desc,
.gallery-col:hover .gallery-tagline {
    color: #ffffff;
}

.gallery-col:hover .gallery-divider {
    background-color: rgba(255, 255, 255, 0.4);
}

.gallery-col:hover .gallery-btn {
    border-color: #ffffff;
    color: #ffffff;
}

.gallery-col:hover .gallery-btn:hover {
    background: #ffffff;
    color: #1F4E79;
}

/* 装飾ライン(境目に固定、カードの拡大に影響されない独立要素) */
.gallery-line {
    position: absolute;
    top: 50%;
    width: 150px;
    height: 100%;
    transform: translate(-50%, -50%);
    background: url("../img/gallery/divider-line.webp") top center no-repeat;
    background-size: auto 100%;
    opacity: 0.8;
    z-index: 3;
    pointer-events: none;
}

.gallery-line--1 {
    left: 33.333%;
}

.gallery-line--2 {
    left: 66.666%;
}

.gallery-pagination {
    display: none;
    text-align: center;
    padding: 20px 0;
    background-color: #D8D8D8;
}

.gallery-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: #1F4E79;
    opacity: 0.3;
    margin: 0 4px;
}

.gallery-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Colorbox(モーダル)のオーバーレイ色 */
#cboxOverlay {
    background: rgba(0, 0, 0, 0.85) !important;
}

/* 箱全体を、常に透明な背景にする */
#colorbox,
#cboxWrapper,
#cboxContent,
#cboxLoadedContent {
    background: transparent !important;
}

/* 読み込み中のオーバーレイも透明に */
#cboxLoadingOverlay {
    background: transparent !important;
}

/* 枠線・角の装飾も、すべて透明にする */
#cboxTopLeft,
#cboxTopCenter,
#cboxTopRight,
#cboxMiddleLeft,
#cboxMiddleRight,
#cboxBottomLeft,
#cboxBottomCenter,
#cboxBottomRight {
    background: none !important;
}

/* ローディング画像 */
#cboxLoadingGraphic {
    width: 32px;
    height: 32px;
    background: url("https://cdn.jsdelivr.net/npm/jquery-colorbox@1.6.4/example1/images/loading.gif") no-repeat center center;
}


/* ==========================================================================
   Section Tour Course
   ========================================================================== */
.course-slider,
.course-pagination {
    display: none;
}

.course {
    position: relative;
    z-index: 0;
    background-color: #F5F5F2;
    padding: 100px 40px;
}

/* 紺色の背景ブロック(装飾もこの中に収める) */
.course-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 66%;
    background-color: #1F4E79;
    overflow: hidden;
    z-index: 0;
}

/* 柄の画像(薄く) */
.course-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../img/course/course-deco-full.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
}

/* 中央だけネイビーを重ねて、柄を隠す */
.course-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            transparent 0%,
            transparent 10%,
            #1F4E79 22%,
            #1F4E79 78%,
            transparent 90%,
            transparent 100%);
    z-index: 1;
}

.course-head {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 60px;
}

.course-eyebrow {
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    color: #1F4E79;
    opacity: 0.7;
}

.course-title {
    margin: 8px 0;
    font-size: clamp(1.125rem, 2.4vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.8;
    color: #222;
}

.course-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    max-width: 1080px;
    margin: 0 auto;
}

.course-card {
    flex: 1 1 calc(50% - 20px);
    max-width: 500px;
    background-color: #D8D8D8;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 1;
    padding: 20px;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.course-thumb {
    display: block;
    margin-bottom: 0;
}

.course-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.course-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.course-tags li {
    font-size: 0.6875rem;
    letter-spacing: 0.04em;
    color: #1F4E79;
    border: 1px solid #1F4E79;
    padding: 3px 10px;
    border-radius: 2px;
}

.course-card-title {
    font-size: 0.9375rem;
    line-height: 1.7;
    font-weight: 600;
    margin: 0 0 12px;
    padding: 0;
    color: #222;
    background-color: transparent;
    position: static;
}

.course-card-title a {
    color: #222;
    text-decoration: none;
}

.course-card-title a:hover {
    text-decoration: underline;
}

.course-company {
    font-size: 0.75rem;
    color: #777;
    margin-bottom: 10px;
}

.course-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #9a3b43;
    margin-bottom: 12px;
}

.course-desc {
    font-size: 0.8125rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    flex: 1;
}

.course-btn,
a.course-btn:visited {
    display: inline-block;
    text-align: center;
    padding: 12px 0;
    background-color: #1F4E79;
    color: #ffffff;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 0.3s ease;
}

.course-btn:hover {
    background-color: #163a5c;
}


/* ==========================================================================
   Section Experience
   ========================================================================== */

.experience-slider,
.experience-pagination {
    display: none;
}

.experience {
    background-color: #f5f5f2;
    padding: 100px 40px;
}

.experience-head {
    text-align: center;
    margin-bottom: 60px;
}

.experience-eyebrow-head {
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    color: #1F4E79;
    opacity: 0.7;
}

.experience-eyebrow {
    margin-top: 24px;
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    color: #1F4E79;
    opacity: 0.7;
}

.experience-heading {
    margin-top: 8px;
    font-size: clamp(1.25rem, 2.4vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.8;
    color: #222;
}

.experience-list {
    display: flex;
    gap: 30px;
}

.experience-col {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.experience-item {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.experience-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.experience-title {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #222;
    margin: 6px 0 0;
    padding: 0;
    background-color: transparent;
    position: static;
}

.experience-desc {
    margin: 14px 0 20px;
    font-size: 0.8125rem;
    line-height: 1.9;
    letter-spacing: 0.02em;
    color: #555;
}

.experience-divider {
    width: 40px;
    height: 1px;
    background-color: rgba(31, 78, 121, 0.3);
    margin: auto auto 20px auto;
}

.experience-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    color: #1F4E79;
    opacity: 0.8;
    margin-bottom: 12px;
}

.experience-btn,
a.experience-btn:visited {
    align-self: center;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #1F4E79;
    color: #1F4E79;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.experience-btn:hover {
    background: #1F4E79;
    color: #ffffff;
}


/* ==========================================================================
   Section Moments
   ========================================================================== */
.moments {
    background-color: #FFFFFF;
    padding: 100px 40px;
}

.moments-head {
    flex: 1;
    width: 100%;
}

.moments-eyebrow {
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    color: #1F4E79;
    opacity: 0.7;
}

.moments-title {
    margin-top: 12px;
    font-size: clamp(1.375rem, 2.4vw, 2.125rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.8;
    color: #222;
}

.moments-slider-wrap {
    flex: 2;
    width: 100%;
    min-width: 0;
    /* Flexboxでの縮小を許可(はみ出し防止) */
    position: relative;
}

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

.moments-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.moments-card-body {
    padding-top: 20px;
}

.moments-tag {
    font-size: 0.6875rem;
    letter-spacing: 0.1em;
    color: #1F4E79;
    opacity: 0.7;
}

.moments-card-title {
    margin: 8px 0 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    color: #222;
    /* 共通CSS(H3)の余計な指定を打ち消す */
    padding: 0;
    background-color: transparent;
    position: static;
}

.moments-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.moments-progress {
    position: relative;
    flex: 1;
    height: 2px;
    background-color: rgba(31, 78, 121, 0.2);
}

.moments-progress .swiper-pagination-progressbar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background-color: #1F4E79;
    transition: transform 0.3s ease;
}

.moments-prev,
.moments-next {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border: 1px solid #1F4E79;
    border-radius: 50%;
    background: transparent;
    color: #1F4E79;
    font-size: 1.125rem;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.moments-prev:hover,
.moments-next:hover {
    background: #1F4E79;
    color: #ffffff;
}

.moments-prev.swiper-button-disabled,
.moments-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}


/* ==========================================================================
   Section FAQ
   ========================================================================== */
#faq {
    background-color: #f5f5f2;
}

.faq {
    padding: 40px;
    max-width: 900px;
    margin: 0px auto 100px;
}

.faq-head {
    text-align: center;
    margin-bottom: 60px;
}

.faq-eyebrow {
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    color: #1F4E79;
    opacity: 0.7;
}

.faq-heading {
    margin-top: 8px;
    font-size: clamp(1.375rem, 2.4vw, 2rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #222;
}

.faq-item {
    border-bottom: 1px solid #D8D8D8;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 8px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    cursor: pointer;
}

.faq-q-mark {
    flex-shrink: 0;
    color: #1F4E79;
    font-size: 1.125rem;
    font-weight: 700;
}

.faq-icon {
    margin-left: auto;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    position: relative;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: #1F4E79;
    transition: transform 0.3s ease;
}

.faq-icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

.faq-item.is-open .faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer p {
    display: flex;
    gap: 12px;
    padding: 0 8px 24px;
    font-size: 0.875rem;
    line-height: 1.9;
    color: #444;
}

.faq-a-mark {
    flex-shrink: 0;
    color: #9a3b43;
    font-size: 1.125rem;
    font-weight: 700;
}


/* ==========================================================================
   Section CTA
   ========================================================================== */
.cta {
    position: relative;
    background-color: #1F4E79;
    background-image: url("../img/cta/cta-bg.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 100px 40px;
    text-align: center;
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(34, 34, 34, 0.6);
}

.cta-eyebrow,
.cta-heading,
.cta-btn,
a.cta-btn:visited {
    position: relative;
    z-index: 1;
    color: #F5F5F2;
    text-shadow:
        0 0 20px rgba(34, 34, 34, 0.9),
        0 0 30px rgba(34, 34, 34, 0.7),
        0 0 40px rgba(34, 34, 34, 0.5);
}

.cta-eyebrow {
    font-size: 0.875rem;
    letter-spacing: 0.1em;
}

.cta-heading {
    margin-top: 12px;
    font-size: clamp(1.5rem, 3vw, 2.375rem);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.cta-btn,
a.cta-btn:visited {
    display: inline-block;
    margin-top: 36px;
    padding: 16px 48px;
    border: 1px solid #F5F5F2;
    font-size: 0.9375rem;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: background 0.3s, color 0.3s;
}

.cta-btn:hover {
    background: #F5F5F2;
    color: #1F4E79;
}


/* ==========================================================================
   Section SEO Closing Text
   ========================================================================== */
.closing {
    background-color: #f5f5f2;
    background-image: url("../img/closing/sun-flower01.webp");
    background-size: 48%;
    background-position: bottom right;
    background-repeat: no-repeat;
    z-index: 0;
    padding: 100px 40px;
}

.closing-head,
.closing-body {
    flex: 1;
}

.closing-eyebrow {
    font-size: 0.8125rem;
    letter-spacing: 0.15em;
    color: #1F4E79;
    opacity: 0.7;
}

.closing-heading {
    margin-top: 12px;
    font-size: clamp(1.375rem, 2.4vw, 2.125rem);
    font-weight: 600;
    letter-spacing: 0.06em;
    line-height: 1.8;
    color: #222;
}

.closing-text {
    font-size: 0.8125rem;
    line-height: 2;
    letter-spacing: 0.02em;
    color: #666;
}

.closing-body img {
    width: 20%;
    height: auto;
    transform: rotate(15deg);
}


/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: #222;
    padding: 32px 20px;
    text-align: center;
}

.footer-copyright {
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    color: #999;
}

/* 共通テンプレートの「ページトップへ」ボタンを非表示(gnavで代替) */
#footer .pageTop {
    display: none !important;
}

/* SPのときCSSデフォルト継承 */
#sp-footer,
#sp-footer p,
#sp-footer a {
    font-family: "メイリオ", Meiryo, "MS Pゴシック", "Hiragino kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", Osaka, sans-serif;
    font-size: 12px;
}


/* ==========================================================================
   共通CSS(cmn.css)との競合対処
   ========================================================================== */

/* H3::before(共通アイコン)を、独自のh3要素では無効化 */
.gallery-title::before,
.course-card-title::before,
.experience-title::before,
.moments-card-title::before {
    content: none;
}


/* ==========================================================================
   メディアクエリ SP対応
   ========================================================================== */
@media (max-width: 900px) {

    /* moments:左右2カラム→縦積みに */
    .split-layout {
        flex-direction: column;
        gap: 0;
    }

    .closing-body img {
        display: none;
    }
}

@media (max-width: 767px) {

    .pc-only {
        display: none;
    }

    .sp-only {
        display: block;
    }

    /* KV:正方形の比率に切り替え */
    .kv {
        aspect-ratio: 767 / 767;
    }

    .kv-copy {
        margin-top: 20px;
        line-height: 1.5;
    }

    .kv-btn,
    a.kv-btn:visited {
        padding: 7px 20px;
        /* margin-top: 20px; */
    }

    .kv::after {
        bottom: -50px;
        height: 100px;
    }

    /* ナビメニュー */
    .gnav {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        padding: 10px;
    }

    .gnav.is-fixed {
        opacity: 1;
        pointer-events: auto;
        padding: 10px;
    }

    .gnav-list {
        justify-content: center;
        gap: 16px;
    }

    .gnav-list a,
    .gnav-list a:visited {
        font-size: 0.8rem;
    }


    .cta {
        background-attachment: scroll;
    }

    /* gallery */
    .gallery-head {
        padding: 60px 20px;
    }

    .gallery-line {
        display: none;
    }

    .gallery-slider .swiper-slide {
        position: relative;
    }

    .gallery-slider .swiper-slide::before,
    .gallery-slider .swiper-slide::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 60px;
        height: 100%;
        transform: translateY(-50%);
        background: url("../img/gallery/divider-line.webp") top center no-repeat;
        background-size: auto 100%;
        opacity: 0.8;
        z-index: 3;
        pointer-events: none;
    }

    .gallery-slider .swiper-slide::before {
        left: -30px;
    }

    .gallery-slider .swiper-slide::after {
        right: -30px;
        transform: translateY(-50%) scaleX(-1);
    }

    .gallery-col {
        min-height: auto;
    }

    .gallery-pagination {
        display: block;
    }

    /* Course */
    .course {
        padding: 60px 20px 20px;
    }

    .course-list {
        display: none;
    }

    .course-card {
        min-height: 736px;
    }

    .course-slider,
    .course-pagination {
        display: block;
    }

    .course-pagination {
        position: relative !important;
        z-index: 2;
        text-align: center;
        padding: 20px 0;
    }

    .course-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background-color: #fff;
        opacity: 0.3;
        margin: 0 4px;
    }

    .course-pagination .swiper-pagination-bullet-active {
        opacity: 1;
    }

    /* Section Experience */
    .experience {
        background-color: #f5f5f2;
        padding: 60px 20px 0px;
    }

    .experience-list {
        display: none;
    }

    .experience-slider,
    .experience-pagination {
        display: block;
    }

    .experience-pagination {
        position: relative !important;
        z-index: 2;
        text-align: center;
        padding: 20px 0;
    }

    .experience-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background-color: #1F4E79;
        opacity: 0.3;
        margin: 0 4px;
    }

    .experience-pagination .swiper-pagination-bullet-active {
        opacity: 1;
    }

    .experience-card {
        min-height: auto;
    }

    .experience-col {
        margin-bottom: 20px;
        min-height: 628px;
    }

    .moments {
        background-color: #FFFFFF;
        padding: 60px 20px;
    }

    .moments-head {
        margin-bottom: 20px;
    }

    .faq {
        padding: 60px 20px;
    }

    .faq-question {
        font-size: 0.85rem;
    }

    .closing {
        padding: 60px 20px;
        background-size: 35%;
    }
}

@media (max-width: 500px) {
    .experience-col {
        min-height: 500px;
    }

    .experience-pagination {
        position: relative !important;
        z-index: 2;
        text-align: center;
        padding: 0 0 20px;
    }

    .closing {
        padding: 60px 20px;
        background-size: 55%;
    }
}