/* =========================================
   色設定
   ここを変更するとサイト全体の色味が変わります
   ========================================= */
:root {
    --bg-color: #fbfaf7;       /* 背景色 */
    --text-main: #2f2a24;      /* メインの文字色 */
    --text-sub: #6f6255;       /* サブの文字色 */
    --accent-color: #d8cbb7;   /* 境界線などの枠線カラー */
    --gold-accent: #8a5a32;    /* アクセントカラー（リンクや強調箇所） */
}

/* =========================================
   全体の基本設定
   基本的にはそのままで大丈夫です
   ========================================= */
html {
    scroll-behavior: smooth;
    height: auto;
    min-height: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    line-height: 2.2;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    height: auto;
    min-height: 100vh;
    opacity: 1;
}

html.js-enabled body {
    opacity: 0;
    transition: opacity 0.8s ease;
}

html.js-enabled body.is-loaded {
    opacity: 1;
}

body.is-modal-open {
    overflow: hidden;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.4s ease;
}

.site-credit {
    font-size: 0.65rem;
    color: #444;
    margin-top: 1rem;
    letter-spacing: 0.1em;
    font-family: 'Inter', sans-serif;
}

.detail-media {
    width: 100%;
    overflow: hidden;
}

.detail-image {
    width: 100%;
    height: auto;
    display: block;
}

.sp-menu-section {
    text-align: center;
}

.sp-nav-list {
    width: 100%;
}

.sp-nav-item {
    width: 100%;
    max-width: 300px;
}

.sp-logo-wrap {
    margin-top: 3rem;
}

.sp-logo {
    width: 100px;
    height: auto;
}

.logo-text {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1;
    text-align: center;
    color: var(--text-main);
    text-transform: uppercase;
}

.logo-text-main {
    display: block;
    font-size: 1.55rem;
}

.logo-text-sub {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.58rem;
    line-height: 1.4;
    letter-spacing: 0.18em;
    color: var(--text-sub);
}

.sp-logo.logo-text {
    width: auto;
    height: auto;
    margin: 0 auto;
}

.sp-sidebar-footer {
    padding-top: 2rem;
}

.showcase-media {
    padding: 0;
    border: 0;
    appearance: none;
    font: inherit;
    color: inherit;
}

.showcase-media:focus-visible {
    outline: 2px solid var(--gold-accent);
    outline-offset: 4px;
}

.is-hidden {
    display: none !important;
}

/* 各セクション見出しの共通デザイン */
.section-header {
    margin-bottom: 4rem;
    text-align: left;
}
.section-title-en {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: var(--gold-accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}
.section-title-ja {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin: 0;
    color: var(--text-main);
}

/* JavaScriptで付け外しする表示用クラスです。通常は編集不要です */
html.js-enabled .sidebar {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 1.5s ease, transform 1.5s ease;
}

html.js-enabled .main-content {
    opacity: 0;
    transition: opacity 1s ease;
}

html.js-enabled .sidebar .nav-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

html.js-enabled .sidebar .nav-item:nth-child(1) { transition-delay: 0.5s; }
html.js-enabled .sidebar .nav-item:nth-child(2) { transition-delay: 0.6s; }
html.js-enabled .sidebar .nav-item:nth-child(3) { transition-delay: 0.7s; }
html.js-enabled .sidebar .nav-item:nth-child(4) { transition-delay: 0.8s; }
html.js-enabled .sidebar .nav-item:nth-child(5) { transition-delay: 0.9s; }
html.js-enabled .sidebar .nav-item:nth-child(6) { transition-delay: 1s; }
html.js-enabled .sidebar .nav-item:nth-child(7) { transition-delay: 1.1s; }

html.js-enabled .feature-item,
html.js-enabled .showcase-item,
html.js-enabled .tile-item,
html.js-enabled .highlight-block {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

html.js-enabled .section-header {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 1s ease, transform 1s ease;
}

html.js-enabled body.is-loaded .sidebar,
html.js-enabled body.is-loaded .main-content,
html.js-enabled .feature-item.is-visible,
html.js-enabled .showcase-item.is-visible,
html.js-enabled .tile-item.is-visible,
html.js-enabled .highlight-block.is-visible,
html.js-enabled .section-header.is-visible {
    opacity: 1;
    transform: none;
}

html.js-enabled body.is-loaded .sidebar .nav-item {
    opacity: 1;
    transform: none;
}

/* 画像を拡大表示するときの見た目です */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.3s ease;
}

.modal-content {
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.modal-image-wrapper {
    flex: 1;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.modal-img {
    max-width: 100%;
    max-height: 60vh;
    object-fit: contain;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s ease 0.1s, transform 0.6s ease 0.1s;
}
.modal-details {
    text-align: center;
    color: var(--text-main);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.modal-overlay.is-open .modal-content,
.modal-overlay.is-open .modal-img,
.modal-overlay.is-open .modal-details {
    opacity: 1;
    transform: none;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    top: max(1rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(44, 62, 80, 0.18);
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(44, 62, 80, 0.12);
    color: var(--text-main);
    font-size: 2rem;
    cursor: pointer;
    z-index: 2001;
}

.close-btn:focus-visible,
.modal-back-btn:focus-visible {
    outline: 2px solid var(--gold-accent);
    outline-offset: 3px;
}

/* モーダル内にも明示的な戻るボタンを置き、閉じ方が伝わるようにしています。 */
.modal-actions {
    margin-top: 1.5rem;
}

.modal-back-btn {
    min-width: 180px;
    padding: 0.9rem 1.5rem;
    border: 1px solid var(--text-main);
    border-radius: 999px;
    background-color: var(--text-main);
    color: #ffffff;
    font: inherit;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.modal-back-btn:hover {
    transform: translateY(-1px);
    background-color: #ffffff;
    color: var(--text-main);
}

/* =========================================
   PC表示の設定
   画面幅 1025px 以上の見た目です
   ========================================= */
@media (min-width: 1025px) {
    .sp-only {
        display: none !important;
    }

    .layout-wrapper {
        display: flex;
        min-height: 100vh;
    }

    /* 左側メニューの幅・余白・配置 */
    .sidebar {
        width: 280px;
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        padding: 2rem 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        border-right: 1px solid var(--accent-color);
        z-index: 50;
        background-color: var(--bg-color);
        overflow-y: auto;
        scrollbar-width: none;
    }
    .sidebar::-webkit-scrollbar {
        display: none;
    }

    .main-content {
        margin-left: 280px;
        width: calc(100% - 280px);
        padding: 0;
    }

    .sidebar-header {
        margin-bottom: 1.5rem;
        text-align: center;
        width: 100%;
        flex-shrink: 0;
    }
    .site-logo {
        width: 100%;
        max-width: 150px;
        height: auto;
        display: block;
        margin: 0 auto 1rem;
    }
    .site-title {
        font-size: 2rem;
        margin: 0 0 1rem;
        line-height: 1.2;
    }
    .sidebar-nav {
        margin: 0;
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-shrink: 1;
        min-height: 0;
    }
    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        width: 100%;
    }
    .nav-item {
        width: 90%;
    }
    .nav-item a {
        display: block;
        width: 100%;
        text-align: center;
        padding: 0.8rem 0;
        font-size: 0.95rem;
        letter-spacing: 0.15em;
        color: var(--text-sub);
        border: 1px solid var(--accent-color);
        position: relative;
        transition: all 0.4s ease;
        background-color: transparent;
    }
    .nav-item a:hover,
    .nav-item a.active {
        color: var(--gold-accent);
        border-color: var(--gold-accent);
        background-color: rgba(9, 132, 227, 0.08); 
    }
    .sidebar-footer {
        margin-top: auto;
        text-align: center;
        padding-top: 1.5rem;
        padding-bottom: 1rem;
        width: 100%;
        flex-shrink: 0;
    }

    /* 各セクション共通の余白 */
    section {
        padding: 6rem 4rem;
        border-bottom: 1px solid var(--accent-color);
        min-height: 80vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* メインビジュアル：高さ、文字サイズ、画像の見せ方 */
    #hero-slider-section {
        padding: 0;
        border-bottom: 1px solid var(--accent-color);
        min-height: calc(100vh + 24px);
        position: relative;
        overflow: hidden;
        background-color: var(--bg-color);
    }
    .slider-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .slide-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 2.5s ease-in-out;
        z-index: 1;
        background-color: var(--bg-color);
    }
    .slide-item.active {
        opacity: 1;
        z-index: 2;
    }
    .slide-item picture,
    .slide-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
    .slide-item img {
        transform: scale(1.05);
        transition: transform 10s ease;
        filter: brightness(0.6); /* 文字を見やすくするための暗さ */
    }
    .slide-item.active img {
        transform: scale(1.1);
    }
    .hero-text-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        pointer-events: none;
    }
    .hero-text {
        color: #fff;
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 3rem;
        font-weight: 500;
        letter-spacing: 0.3em;
        text-shadow: 0 4px 20px rgba(0,0,0,0.8);
        white-space: nowrap;
        opacity: 0;
        transform: translateY(10px) scale(0.98);
        transition: opacity 2.5s ease-out, transform 2.5s ease-out;
        transition-delay: 0.5s;
    }
    .slide-item.active .hero-text {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    
    /* 右下の Scroll 表示 */
    .scroll-indicator {
        position: absolute;
        bottom: 2rem;
        right: 4rem;
        z-index: 10;
        color: #fff;
        font-family: 'Inter', sans-serif;
        font-size: 0.8rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        writing-mode: vertical-rl;
        text-orientation: mixed;
        opacity: 0.7;
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .scroll-indicator::after {
        content: '';
        display: block;
        width: 1px;
        height: 60px;
        background-color: #fff;
        animation: scrollDown 2s infinite;
    }
    @keyframes scrollDown {
        0% { transform: scaleY(0); transform-origin: top; }
        50% { transform: scaleY(1); transform-origin: top; }
        51% { transform: scaleY(1); transform-origin: bottom; }
        100% { transform: scaleY(0); transform-origin: bottom; }
    }

    /* Section 1：見出しと本文の見た目 */
    #section-01 {
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
    }
    #section-01 .section-header {
        margin-bottom: 2rem;
        margin-left: 0;
        text-align: center;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    #section-01 .section-title-en {
        margin-bottom: 0.5rem;
        margin-left: 0;
    }
    #section-01 .section-title-ja {
        font-size: 2.2rem;
        letter-spacing: 0.2em;
        line-height: 1.8;
        color: var(--text-main);
    }
    #section-01 .lead-copy {
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 1.15rem;
        line-height: 2.6;
        letter-spacing: 0.15em;
        color: var(--text-main);
        height: auto;
        width: 100%;
        max-width: 800px;
        margin: 0;
    }
    #section-01 .lead-copy p {
        margin: 0 0 1.5rem 0;
        text-align: center;
    }

    /* Section 2：一覧の見た目 */
    .feature-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6rem;
        max-width: 960px;
    }
    .feature-item { cursor: default; }
    .feature-media {
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        background-color: #f0f8ff; 
        position: relative;
        margin-bottom: 2rem;
    }
    .feature-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
        filter: brightness(0.95);
    }
    .feature-item:hover .feature-image {
        transform: scale(1.05);
        filter: brightness(1.0);
    }
    .feature-content { text-align: left; }
    .feature-title {
        font-size: 1.8rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
        letter-spacing: 0.1em;
        display: block;
    }
    .feature-meta {
        font-family: 'Inter', sans-serif;
        font-size: 1.1rem;
        color: var(--gold-accent);
        display: block;
        margin-bottom: 1.5rem;
        letter-spacing: 0.05em;
    }
    .feature-description {
        font-size: 1rem;
        color: var(--text-sub);
        line-height: 2;
        text-align: justify;
    }

    /* Section 3：画像一覧の見た目 */
    .showcase-list {
        display: flex;
        flex-direction: column;
        gap: 6rem;
    }
    .showcase-item {
        display: flex;
        align-items: center;
        gap: 4rem;
    }
    .showcase-item:nth-child(even) {
        flex-direction: row-reverse; /* 偶数番目だけ左右を入れ替えます */
    }
    .showcase-media {
        flex: 1;
        aspect-ratio: 4 / 3;
        overflow: hidden;
        background-color: #f0f8ff;
        position: relative;
        cursor: pointer;
    }
    .showcase-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease, filter 0.5s ease;
        filter: brightness(0.95);
    }
    .showcase-media:hover .showcase-image {
        transform: scale(1.05);
        filter: brightness(1.05);
    }
    /* 画像に重ねる＋マーク */
    .showcase-media::after {
        content: '+';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0);
        color: #fff;
        font-size: 2rem;
        font-weight: 300;
        background-color: rgba(0,0,0,0.3);
        width: 60px;
        height: 60px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid rgba(255,255,255,0.5);
        transition: transform 0.3s ease;
        pointer-events: none;
    }
    .showcase-media:hover::after {
        transform: translate(-50%, -50%) scale(1);
    }
    .showcase-content {
        flex: 1;
        text-align: left;
    }
    .showcase-title {
        font-size: 1.6rem;
        font-weight: 500;
        margin-bottom: 1rem;
        letter-spacing: 0.1em;
        border-bottom: 1px solid var(--accent-color);
        padding-bottom: 0.5rem;
        display: inline-block;
        min-width: 150px;
    }
    .showcase-meta {
        font-size: 0.95rem;
        color: var(--gold-accent);
        display: block;
        margin-bottom: 1rem;
        font-family: 'Inter', sans-serif;
        letter-spacing: 0.05em;
    }
    .showcase-description {
        font-size: 0.95rem;
        color: var(--text-sub);
        line-height: 2;
        text-align: justify;
    }

    /* Section 4：カード一覧の見た目 */
    .tile-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* PCでは2列表示 */
        gap: 4rem;
    }
    .tile-item { cursor: default; }
    .tile-media {
        width: 100%;
        aspect-ratio: 1 / 1; /* 画像を正方形で見せます */
        overflow: hidden;
        background-color: #f0f8ff;
        margin-bottom: 1.5rem;
        position: relative;
    }
    .tile-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }
    .tile-item:hover .tile-image {
        transform: scale(1.05);
        filter: brightness(1.05);
    }
    .tile-content { text-align: center; }
    .tile-title {
        font-size: 1.2rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
        display: block;
        letter-spacing: 0.1em;
    }
    .tile-meta {
        font-size: 0.85rem;
        color: var(--text-sub);
        letter-spacing: 0.05em;
    }

    /* Section 5：画像と本文の見た目 */
    .highlight-block {
        display: flex;
        align-items: center;
        gap: 4rem;
    }
    .highlight-media {
        flex: 1;
        width: 100%;
        height: auto;
        overflow: hidden;
        background-color: #f0f8ff;
        position: relative;
    }
    .highlight-image {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.8s ease, filter 0.5s ease;
        filter: brightness(0.95);
    }
    .highlight-content {
        flex: 1;
        text-align: left;
    }
    .highlight-title {
        font-size: 1.6rem;
        font-weight: 500;
        margin-bottom: 1rem;
        letter-spacing: 0.1em;
        border-bottom: 1px solid var(--accent-color);
        padding-bottom: 0.5rem;
        display: inline-block;
        min-width: 150px;
    }
    .highlight-description {
        font-size: 0.95rem;
        color: var(--text-sub);
        line-height: 2;
        text-align: justify;
    }

    /* Section 6：項目一覧の見た目 */
    .detail-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }
    .detail-list {
        display: grid;
        grid-template-columns: auto 1fr;
        gap: 1.5rem 2rem;
    }
    .detail-term {
        color: var(--text-sub);
        font-size: 1.05rem;
        font-weight: 500;
    }
    .detail-description {
        margin: 0;
        font-size: 1.15rem;
        line-height: 1.8;
    }
}


/* =========================================
   タブレット表示の設定
   画面幅 769px 〜 1024px の見た目です
   ========================================= */
@media (min-width: 769px) and (max-width: 1024px) {
    .pc-only {
        display: none !important;
    }
    .sidebar {
        display: none;
    }
    .layout-wrapper {
        display: block;
    }
    .main-content {
        width: 100%;
        margin: 0;
        padding-bottom: 0;
    }

    section {
        padding: 4rem 2rem;
        min-height: auto;
        border-bottom: 1px solid var(--accent-color);
    }

    #hero-slider-section {
        padding: 0;
        border-bottom: 1px solid var(--accent-color);
        min-height: 50vh;
        height: 50vh;
        position: relative;
        overflow: hidden;
        background-color: var(--bg-color);
    }
    .slider-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .slide-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 2.5s ease-in-out;
    }
    .slide-item.active { opacity: 1; z-index: 2; }
    .slide-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.05);
        transition: transform 10s ease;
        filter: brightness(0.6);
    }
    .slide-item.active img { transform: scale(1.1); }
    .hero-text-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hero-text {
        color: #fff;
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 2.4rem; 
        font-weight: 500;
        letter-spacing: 0.3em;
        text-shadow: 0 4px 20px rgba(0,0,0,0.8);
        white-space: nowrap;
        opacity: 0;
        transform: translateY(10px) scale(0.98);
        transition: opacity 2.5s ease-out, transform 2.5s ease-out;
        transition-delay: 0.5s;
    }
    .slide-item.active .hero-text { opacity: 1; transform: translateY(0) scale(1); }
    .scroll-indicator {
        position: absolute;
        bottom: 2rem;
        right: 2rem; 
        z-index: 10;
        color: #fff;
        font-size: 0.8rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        writing-mode: vertical-rl;
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .scroll-indicator::after {
        content: '';
        width: 1px;
        height: 60px;
        background-color: #fff;
        animation: scrollDown 2s infinite;
    }

    #section-01 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 4rem 2rem;
    }
    #section-01 .section-header {
        margin: 0 0 3rem 0;
        text-align: center;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }
    #section-01 .section-title-en {
        margin-left: 0;
        margin-bottom: 0.2rem;
        font-size: 1rem;
    }
    #section-01 .section-title-ja {
        font-size: 3rem;
        line-height: 1.3;
        margin: 0;
        color: var(--text-main); 
    }
    #section-01 .lead-copy {
        height: auto;
        max-height: none;
        width: 100%;
        max-width: none;
        margin: 0 auto;
        font-size: 1.5rem;
        text-align: center;
        color: var(--text-main);
    }
    #section-01 .lead-copy p {
        margin: 0 0 0.5rem 0;
        text-align: center;
    }

    .feature-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6rem;
    }
    .feature-media {
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
        background-color: #f0f8ff;
        margin-bottom: 2rem;
    }
    .feature-image { width: 100%; height: 100%; object-fit: cover; }
    .feature-title { 
        font-size: 2.2rem; 
        font-weight: 500; 
        display: block; 
        margin-bottom: 0.5rem; 
    }
    .feature-meta { 
        font-size: 1.4rem; 
        color: var(--gold-accent); 
        display: block; 
        margin-bottom: 1.5rem; 
    }
    .feature-description { 
        font-size: 1.2rem; 
        color: var(--text-sub); 
        line-height: 2; 
    }

    .showcase-list {
        display: flex;
        flex-direction: column;
        gap: 6rem;
    }
    .showcase-item {
        display: flex;
        align-items: center;
        gap: 2rem; 
    }
    .showcase-item:nth-child(even) { flex-direction: row-reverse; }
    .showcase-media {
        flex: 1;
        aspect-ratio: 4 / 3;
        position: relative;
        overflow: hidden;
        background-color: #f0f8ff;
    }
    .showcase-image { width: 100%; height: 100%; object-fit: cover; }
    .showcase-content { flex: 1; text-align: left; }
    .showcase-title { 
        font-size: 2rem; 
        border-bottom: 1px solid var(--accent-color); 
        padding-bottom: 0.5rem; 
        display: inline-block; 
        margin-bottom: 1rem; 
    }
    .showcase-meta { 
        font-size: 1.2rem; 
        color: var(--gold-accent); 
        margin-bottom: 1rem; 
        display: block; 
    }
    .showcase-description { 
        font-size: 1.2rem; 
        color: var(--text-sub); 
        line-height: 2; 
    }
    @media (max-width: 900px) {
        .showcase-item, .showcase-item:nth-child(even) {
            flex-direction: column;
            gap: 1.5rem;
        }
        .showcase-media { width: 100%; aspect-ratio: 3/2; }
        .showcase-content { width: 100%; }
    }

    .tile-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
    .tile-media { width: 100%; aspect-ratio: 1/1; margin-bottom: 1.5rem; background-color: #f0f8ff; }
    .tile-image { width: 100%; height: 100%; object-fit: cover; }
    .tile-content { text-align: center; }
    .tile-title { 
        font-size: 1.6rem; 
        margin-bottom: 0.5rem; 
        display: block; 
    }
    .tile-meta {
        font-size: 1.1rem; 
        color: var(--text-sub);
        letter-spacing: 0.05em;
    }

    #section-05 { padding: 3rem 2rem; }
    .highlight-block {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .highlight-media { width: 100%; height: auto; background-color: #f0f8ff; }
    .highlight-image { width: 100%; height: auto; }
    .highlight-content { width: 100%; text-align: left; }
    .highlight-title { 
        font-size: 1.8rem; 
        border-bottom: 1px solid var(--accent-color); 
        padding-bottom: 0.5rem; 
        display: inline-block; 
        margin-bottom: 1rem; 
    }
    .highlight-description { 
        font-size: 1.2rem; 
        color: var(--text-sub); 
        line-height: 2; 
    }

    #section-06 { padding: 1.5rem 2rem; }
    .detail-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
    }
    .detail-list { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; }
    .detail-term { 
        font-weight: 500; 
        color: var(--text-sub); 
        font-size: 1.2rem; 
    }
    .detail-description { 
        font-size: 1.3rem; 
    }

    #sp-menu {
        padding: 3rem 1.5rem 4rem;
        text-align: center;
    }
    .sp-nav-wrapper { width: 100%; }
    .nav-list { display: flex; flex-direction: column; gap: 0.8rem; align-items: center; }
    .nav-item { width: 100%; max-width: 300px; opacity: 1; }
    .nav-item a {
        display: block; width: 100%; text-align: center; padding: 0.8rem 0;
        border: 1px solid var(--accent-color); color: var(--text-sub);
    }
}


/* =========================================
   スマホ表示の設定
   画面幅 768px 以下の見た目です
   ========================================= */
@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
    .sidebar {
        display: none;
    }
    .layout-wrapper {
        display: block;
    }
    .main-content {
        width: 100%;
        margin: 0;
        padding-bottom: 0;
    }

    section {
        padding: 4rem 1.5rem;
        min-height: auto;
        border-bottom: 1px solid var(--accent-color);
    }

    #hero-slider-section {
        padding: 0;
        border-bottom: 1px solid var(--accent-color);
        min-height: auto;
        height: auto;
        width: 100%;
        aspect-ratio: 1 / 1;
        position: relative;
        overflow: hidden;
        background-color: var(--bg-color);
    }
    .slider-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }
    .slide-item {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 2.5s ease-in-out;
    }
    .slide-item.active { opacity: 1; z-index: 2; }
    .slide-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: scale(1.05);
        transition: transform 10s ease;
        filter: brightness(0.6);
    }
    .slide-item.active img { transform: scale(1.1); }
    .hero-text-overlay {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 10;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .hero-text {
        color: #fff;
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 1.3rem; 
        letter-spacing: 0.1em;
        text-shadow: 0 4px 20px rgba(0,0,0,0.8);
        white-space: normal;
        text-align: center;
        width: 90%;
        opacity: 0;
        transform: translateY(10px) scale(0.98);
        transition: opacity 2.5s ease-out, transform 2.5s ease-out;
        transition-delay: 0.5s;
    }
    .slide-item.active .hero-text { opacity: 1; transform: translateY(0) scale(1); }
    .scroll-indicator {
        position: absolute;
        bottom: 2rem;
        right: 1.5rem;
        z-index: 10;
        color: #fff;
        font-size: 0.8rem;
        letter-spacing: 0.2em;
        text-transform: uppercase;
        writing-mode: vertical-rl;
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .scroll-indicator::after {
        content: '';
        width: 1px;
        height: 60px;
        background-color: #fff;
        animation: scrollDown 2s infinite;
    }

    #section-01 {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 4rem 1.5rem;
    }
    #section-01 .section-header {
        margin: 0 0 1.5rem 0;
        text-align: center;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
    }
    #section-01 .section-title-en {
        margin-left: 0;
        margin-bottom: 0.2rem;
        font-size: 1rem;
    }
    #section-01 .section-title-ja {
        font-size: 1.5rem;
        line-height: 1.3;
        margin: 0;
        color: var(--text-main);
    }
    #section-01 .lead-copy {
        height: auto;
        width: 100%;
        margin: 0 auto;
        font-size: 1rem;
        text-align: center;
        color: var(--text-main);
    }
    #section-01 .lead-copy p {
        margin: 0 0 1rem 0;
        text-align: center;
    }

    .feature-list {
        display: grid;
        grid-template-columns: 1fr;
        gap: 4rem; 
    }
    .feature-media {
        width: 100%;
        aspect-ratio: 16 / 9;
        margin-bottom: 2rem;
        background-color: #f0f8ff;
    }
    .feature-image { width: 100%; height: 100%; object-fit: cover; }
    .feature-title { font-size: 1.5rem; font-weight: 500; display: block; margin-bottom: 0.5rem; }
    .feature-meta { font-size: 1.1rem; color: var(--gold-accent); display: block; margin-bottom: 1.5rem; }
    .feature-description { font-size: 1rem; color: var(--text-sub); line-height: 2; }

    .showcase-list {
        display: flex;
        flex-direction: column;
        gap: 4rem;
    }
    .showcase-item,
    .showcase-item:nth-child(even) {
        flex-direction: column;
        gap: 1.5rem;
    }
    .showcase-media {
        width: 100%;
        aspect-ratio: 3 / 2;
        position: relative;
        background-color: #f0f8ff;
    }
    .showcase-image { width: 100%; height: 100%; object-fit: cover; }
    .showcase-content { width: 100%; text-align: left; }
    .showcase-title { font-size: 1.4rem; border-bottom: 1px solid var(--accent-color); padding-bottom: 0.5rem; display: block; margin-bottom: 1rem; }
    .showcase-meta { color: var(--gold-accent); margin-bottom: 1rem; display: block; }
    .showcase-description { font-size: 0.95rem; color: var(--text-sub); line-height: 2; }

    /* Section 4：スマホでは横スクロールで見せます */
    .tile-list {
        display: flex;
        gap: 1.5rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 0 10% 2rem;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .tile-list::-webkit-scrollbar { display: none; }
    .tile-item {
        flex: 0 0 80%;
        scroll-snap-align: center;
    }
    .tile-media { width: 100%; aspect-ratio: 1/1; margin-bottom: 1.5rem; background-color: #f0f8ff; }
    .tile-image { width: 100%; height: 100%; object-fit: cover; }
    .tile-content { text-align: center; }
    .tile-title { font-size: 1.2rem; margin-bottom: 0.5rem; display: block; }

    #section-05 { padding: 3rem 1.5rem; }
    .highlight-block {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }
    .highlight-media { width: 100%; height: auto; background-color: #f0f8ff; }
    .highlight-image { width: 100%; height: auto; }
    .highlight-content { width: 100%; text-align: left; }
    .highlight-title { font-size: 1.4rem; border-bottom: 1px solid var(--accent-color); padding-bottom: 0.5rem; display: block; margin-bottom: 1rem; }
    .highlight-description { font-size: 0.95rem; color: var(--text-sub); line-height: 2; }

    #section-06 { padding: 1.5rem 1.5rem; }
    .detail-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: start;
    }
    .detail-list { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem 2rem; }
    .detail-term { font-weight: 500; color: var(--text-sub); }
    .detail-description { font-size: 1.15rem; }

    #sp-menu {
        padding: 3rem 1.5rem 4rem;
        text-align: center;
    }
    .sp-nav-wrapper { width: 100%; }
    .nav-list { display: flex; flex-direction: column; gap: 0.8rem; align-items: center; }
    .nav-item { width: 100%; max-width: 300px; opacity: 1; }
    .nav-item a {
        display: block; width: 100%; text-align: center; padding: 0.8rem 0;
        border: 1px solid var(--accent-color); color: var(--text-sub);
    }
}
