/* =========================================
   色設定
   ここを変更するとサイト全体の色味が変わります
   ========================================= */
:root {
    --bg-color: #ffffff;       /* 背景色（ピュアホワイト） */
    --text-main: #000000;      /* メインの文字色（ブラック） */
    --text-sub: #000000;       /* サブの文字色（ブラック） */
    --accent-color: #c8d6e5;   /* 境界線などの枠線カラー */
    --gold-accent: #0984e3;    /* アクセントカラー（リンクや強調箇所） */
    --back-button-color: #111111;
    --back-button-hover: #000000;
    --sidebar-desktop-width: 300px;
    --sp-header-height: 72px;
    --font-familiar: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'YuGothic', 'Meiryo', 'Noto Sans JP', sans-serif;
}

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

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

body {
    font-family: var(--font-familiar);
    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;
}

body.is-menu-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: #000000;
    margin-top: 1rem;
    letter-spacing: 0.1em;
    font-family: var(--font-familiar);
}

.theme-purchase-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    margin-top: 0.8rem;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    background: linear-gradient(90deg, #cf2a7c 0%, #3e81ce 100%);
    color: #ffffff;
    font-family: var(--font-familiar);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    line-height: 1.2;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-purchase-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

.hero-mobile-cta {
    display: none;
}

.hero-mobile-cta-btn {
    margin: 0;
}

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

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

.sp-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--sp-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1.25rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(200, 214, 229, 0.95);
    z-index: 140;
}

.sp-header-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
}

.sp-header-logo {
    width: 36px;
    height: auto;
    display: block;
    background-color: transparent;
}

.sp-header-title {
    font-size: 0.94rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: var(--text-main);
}

.sp-menu-toggle {
    position: relative;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(200, 214, 229, 0.95);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text-main);
    cursor: pointer;
    flex-shrink: 0;
}

.sp-menu-toggle__line {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background-color: currentColor;
    transform: translateX(-50%);
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.sp-menu-toggle__line:nth-child(1) {
    top: 14px;
}

.sp-menu-toggle__line:nth-child(2) {
    top: 21px;
}

.sp-menu-toggle__line:nth-child(3) {
    top: 28px;
}

body.is-menu-open .sp-menu-toggle__line:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

body.is-menu-open .sp-menu-toggle__line:nth-child(2) {
    opacity: 0;
}

body.is-menu-open .sp-menu-toggle__line:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

.sp-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 180;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    background: rgba(44, 62, 80, 0.82);
    transition: opacity 0.35s ease, visibility 0s linear 0.35s;
}

.sp-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 0.35s ease;
}

.sp-menu-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.sp-menu-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(90vw, 420px);
    max-width: 90vw;
    height: 100%;
    padding: 1.35rem 1.25rem 2rem;
    background: #ffffff;
    box-shadow: -18px 0 48px rgba(17, 17, 17, 0.22);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.sp-menu-overlay.is-open .sp-menu-panel {
    transform: translateX(0);
}

.sp-menu-panel:focus {
    outline: none;
}

.sp-menu-section {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    text-align: left;
}

.sp-menu-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

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

.sp-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-top: 0;
}

.sp-logo {
    width: 64px;
    height: auto;
    background-color: transparent;
}

.sp-menu-title {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.05;
    color: var(--text-main);
}

.sp-menu-credit {
    margin: 0;
    color: var(--text-sub);
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    line-height: 1.5;
}

.sp-menu-close {
    position: relative;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(200, 214, 229, 0.95);
    border-radius: 999px;
    background: #ffffff;
    color: var(--text-main);
    cursor: pointer;
    flex-shrink: 0;
}

.sp-menu-close__line {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background-color: currentColor;
}

.sp-menu-close__line:nth-child(1) {
    transform: translateX(-50%) rotate(45deg);
}

.sp-menu-close__line:nth-child(2) {
    transform: translateX(-50%) rotate(-45deg);
}

.sp-menu-panel .theme-purchase-btn {
    width: 100%;
    margin: 0 0 1.15rem;
    min-height: 50px;
    padding: 0.9rem 1.15rem;
    border-radius: 4px;
    font-size: 0.84rem;
    letter-spacing: 0.1em;
}

.sp-panel-nav {
    margin-top: 0.4rem;
}

.sp-panel-nav-list {
    margin: 0;
    padding-left: 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
    color: var(--text-main);
    list-style: decimal;
}

.sp-panel-nav-list li {
    font-size: 0.94rem;
    line-height: 1.5;
}

.sp-panel-nav-list a {
    color: var(--text-main);
    font-weight: 500;
}

.sp-panel-nav-list a:hover {
    opacity: 1;
    color: var(--gold-accent);
}

.sp-menu-panel .nav-item-back {
    margin-top: auto;
    padding-top: 1.5rem;
}

.sp-menu-panel .sidebar-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0.65rem 0.9rem;
    border-radius: 0;
    background: var(--back-button-color) !important;
    background-color: var(--back-button-color) !important;
    border-color: var(--back-button-color) !important;
    color: #ffffff !important;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    line-height: 1.45;
    box-shadow: none;
}

.sp-menu-panel .sidebar-back-link:hover,
.sp-menu-panel .sidebar-back-link.active {
    background: var(--back-button-hover) !important;
    background-color: var(--back-button-hover) !important;
    border-color: var(--back-button-hover) !important;
    color: #ffffff !important;
}

.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: var(--font-familiar);
    font-size: 0.8rem;
    color: var(--gold-accent);
    letter-spacing: 0.12em;
    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 {
    outline: 2px solid var(--gold-accent);
    outline-offset: 3px;
}

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

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

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

    .main-content {
        margin-left: var(--sidebar-desktop-width);
        width: calc(100% - var(--sidebar-desktop-width));
        padding: 0;
    }

    .sidebar-header {
        margin-bottom: 1rem;
        text-align: center;
        width: 100%;
        flex-shrink: 0;
    }
    .site-logo {
        width: 100%;
        max-width: 116px;
        height: auto;
        display: block;
        margin: 0 auto 0.7rem;
        background-color: transparent;
    }
    .site-title {
        font-size: 1.7rem;
        margin: 0 0 0.55rem;
        line-height: 1.2;
        letter-spacing: 0.08em;
    }
    .sidebar-nav {
        margin: 0;
        width: 100%;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex: 0 0 auto;
        overflow: hidden;
    }
    .nav-list {
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
        align-items: center;
        width: 100%;
    }
    .nav-item {
        width: 100%;
    }
    .sidebar .nav-list .nav-item,
    .sidebar-footer .nav-item {
        margin: 0 auto;
    }
    .sidebar .nav-list .nav-item a,
    .sidebar-footer .nav-item a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        min-height: 52px;
        padding: 0.65rem 0.9rem;
        font-size: 0.76rem;
        letter-spacing: 0.08em;
        color: var(--text-sub);
        border: 1px solid var(--accent-color);
        position: relative;
        transition: all 0.4s ease;
        background-color: transparent;
        line-height: 1.2;
        font-family: var(--font-familiar);
        font-weight: 600;
    }
    .sidebar .theme-purchase-btn {
        min-height: 50px;
        margin-top: 0.9rem;
        padding: 0.9rem 1.15rem;
        font-size: 0.84rem;
        letter-spacing: 0.1em;
    }
    .sidebar .nav-list .nav-item a:hover,
    .sidebar .nav-list .nav-item a.active,
    .sidebar-footer .nav-item a:hover,
    .sidebar-footer .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: 0.55rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.8rem;
        padding-top: 0.45rem;
        padding-bottom: 0.25rem;
        width: 100%;
        flex-shrink: 0;
    }
    .sidebar-footer .nav-item {
        width: 100%;
    }
    .sidebar-back-link {
        font-family: var(--font-familiar);
        font-size: 0.76rem;
        letter-spacing: 0.02em;
        line-height: 1.45;
        text-transform: none;
        white-space: normal;
        word-break: keep-all;
    }
    .sidebar-footer .nav-item-back .sidebar-back-link {
        background: var(--back-button-color) !important;
        background-color: var(--back-button-color) !important;
        border-color: var(--back-button-color) !important;
        color: #ffffff !important;
        box-shadow: none;
    }
    .sidebar-footer .nav-item-back .sidebar-back-link:hover,
    .sidebar-footer .nav-item-back .sidebar-back-link.active {
        background: var(--back-button-hover) !important;
        background-color: var(--back-button-hover) !important;
        border-color: var(--back-button-hover) !important;
        color: #ffffff !important;
    }
    .sidebar .site-credit,
    .sidebar-footer .site-credit {
        margin-top: 0;
        font-size: 0.6rem;
        line-height: 1.5;
    }

    /* 各セクション共通の余白 */
    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: none;
        min-height: 50vh;
        height: 50vh;
        min-height: 50dvh;
        height: 50dvh;
        display: block;
        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: none;
        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: none;
        transition: none;
        filter: none;
    }
    .slide-item.active img {
        transform: none;
    }
    .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: var(--font-familiar);
        font-size: 3rem;
        font-weight: 500;
        letter-spacing: 0.3em;
        text-shadow: none;
        white-space: nowrap;
        opacity: 1;
        transform: none;
        transition: none;
    }
    .slide-item.active .hero-text {
        opacity: 1;
        transform: none;
    }
    
    /* 右下の Scroll 表示 */
    .scroll-indicator {
        position: absolute;
        bottom: 2rem;
        right: 4rem;
        z-index: 10;
        color: #fff;
        font-family: var(--font-familiar);
        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: var(--font-familiar);
        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: var(--font-familiar);
        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: var(--font-familiar);
        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;
        padding-top: var(--sp-header-height);
    }

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

    #hero-slider-section,
    section.content-section {
        scroll-margin-top: calc(var(--sp-header-height) + 16px);
    }

    .hero-mobile-cta {
        display: block;
        padding: 1rem 2rem 0;
    }

    .hero-mobile-cta-btn {
        display: flex;
        width: min(100%, 320px);
        min-height: 50px;
        margin: 0 auto;
        padding: 0.9rem 1.15rem;
        font-size: 0.84rem;
        letter-spacing: 0.1em;
    }

    #hero-slider-section {
        padding: 0;
        border-bottom: none;
        min-height: 50vh;
        height: 50vh;
        display: block;
        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: none;
    }
    .slide-item.active { opacity: 1; z-index: 2; }
    .slide-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none;
        transition: none;
        filter: none;
    }
    .slide-item.active img { transform: none; }
    .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: var(--font-familiar);
        font-size: 2.4rem; 
        font-weight: 500;
        letter-spacing: 0.3em;
        text-shadow: none;
        white-space: nowrap;
        opacity: 1;
        transform: none;
        transition: none;
    }
    .slide-item.active .hero-text { opacity: 1; transform: none; }
    .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; 
        font-family: var(--font-familiar);
    }
    .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; 
        font-family: var(--font-familiar);
    }
    .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-header {
        padding: 1rem 1.5rem;
    }

    .sp-header-title {
        font-size: 1rem;
    }

    .sp-menu-panel {
        padding: 1.5rem 1.5rem 2rem;
    }

    .sp-menu-title {
        font-size: 1.95rem;
    }
}


/* =========================================
   スマホ表示の設定
   画面幅 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;
        padding-top: var(--sp-header-height);
    }

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

    #hero-slider-section,
    section.content-section {
        scroll-margin-top: calc(var(--sp-header-height) + 16px);
    }

    .hero-mobile-cta {
        display: block;
        padding: 1rem 1.5rem 0;
    }

    .hero-mobile-cta-btn {
        display: flex;
        width: min(100%, 280px);
        min-height: 50px;
        margin: 0 auto;
        padding: 0.9rem 1.15rem;
        font-size: 0.84rem;
        letter-spacing: 0.1em;
    }

    #hero-slider-section {
        padding: 0;
        border-bottom: none;
        min-height: auto;
        height: auto;
        width: 100%;
        aspect-ratio: 1 / 1;
        display: block;
        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: none;
    }
    .slide-item.active { opacity: 1; z-index: 2; }
    .slide-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transform: none;
        transition: none;
        filter: none;
    }
    .slide-item.active img { transform: none; }
    .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: var(--font-familiar);
        font-size: 1.3rem; 
        letter-spacing: 0.1em;
        text-shadow: none;
        white-space: normal;
        text-align: center;
        width: 90%;
        opacity: 1;
        transform: none;
        transition: none;
    }
    .slide-item.active .hero-text { opacity: 1; transform: none; }
    .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-header {
        padding: 0.8rem 1rem;
    }

    .sp-header-title {
        font-size: 0.88rem;
    }

    .sp-menu-panel {
        padding: 1.1rem 1rem 1.6rem;
    }

    .sp-menu-title {
        font-size: 1.55rem;
    }

    .sp-panel-nav-list {
        gap: 0.8rem;
    }

    .sp-panel-nav-list li {
        font-size: 0.9rem;
    }
}

/* =========================================
   MINIMAL詳細ページ用のH2 / H3構成
   ========================================= */
.nav-groups {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.nav-group {
    width: 100%;
    border: 1px solid var(--accent-color);
    background-color: #ffffff;
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease,
        background-color 0.28s ease;
}

.nav-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.78rem 0.9rem;
    border: 0;
    background-color: #ffffff;
    color: var(--text-main);
    font: inherit;
    line-height: 1.2;
    cursor: pointer;
    text-align: center;
    position: relative;
    transition: background-color 0.28s ease;
}

.nav-group-label {
    display: block;
    width: 100%;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    transition: color 0.28s ease, transform 0.28s ease;
}

.nav-group-icon {
    position: absolute;
    top: 50%;
    right: 0.9rem;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
    transform: translateY(-50%);
}

.nav-group-icon::before,
.nav-group-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 12px;
    height: 1.5px;
    background-color: var(--text-main);
    transform: translateY(-50%);
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.28s ease;
}

.nav-group-icon::after {
    transform: translateY(-50%) rotate(90deg);
}

.nav-group.is-open .nav-group-toggle {
    background-color: #f7fafc;
}

.nav-group.is-current {
    border-color: var(--gold-accent);
    background-color: #fbfcfe;
    box-shadow: 0 16px 32px rgba(17, 17, 17, 0.1);
}

.nav-group.is-current .nav-group-toggle {
    background-color: #fbfcfe;
}

.nav-group.is-current .nav-group-label {
    color: var(--gold-accent);
}

.nav-group.is-current .nav-group-icon::before,
.nav-group.is-current .nav-group-icon::after {
    background-color: var(--gold-accent);
}

.nav-group.is-open .nav-group-icon::after {
    opacity: 0;
    transform: translateY(-50%) rotate(90deg) scaleX(0);
}

.nav-sublist {
    display: grid;
    gap: 0.4rem;
    padding: 0 0.9rem 0.85rem;
}

.nav-sublist[hidden] {
    display: none !important;
}

.nav-subitem a {
    display: block;
    padding: 0.3rem 0 0.3rem 0.55rem;
    border-left: 2px solid transparent;
    color: var(--text-sub);
    font-size: 0.66rem;
    line-height: 1.45;
    letter-spacing: 0.02em;
}

.nav-subitem a:hover,
.nav-subitem a:focus-visible {
    color: var(--gold-accent);
    border-left-color: var(--gold-accent);
    opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
    .sidebar .nav-group:hover {
        border-color: var(--gold-accent);
        background-color: #fbfcfe;
        box-shadow: 0 16px 32px rgba(17, 17, 17, 0.1);
    }

    .sidebar .nav-group:hover .nav-group-toggle {
        background-color: #fbfcfe;
    }

    .sidebar .nav-group:hover .nav-group-label {
        color: var(--gold-accent);
    }

    .sidebar .nav-group:hover .nav-group-icon::before,
    .sidebar .nav-group:hover .nav-group-icon::after {
        background-color: var(--gold-accent);
    }
}

@media (min-width: 1025px) {
    .sidebar .nav-groups {
        gap: 0.7rem;
    }

    .sidebar .nav-group-toggle {
        min-height: 56px;
        padding: 0.95rem 1rem;
    }

    .sidebar .nav-group-label {
        font-size: 0.86rem;
    }

    .sidebar .nav-group-icon {
        right: 1rem;
        width: 13px;
        height: 13px;
    }

    .sidebar .nav-sublist {
        padding: 0 1rem 1rem;
    }

    .sidebar .nav-subitem a {
        padding: 0.4rem 0 0.4rem 0.7rem;
        font-size: 0.74rem;
        line-height: 1.55;
    }
}

section.content-section {
    display: block;
    min-height: auto;
    padding: 5rem 4rem;
}

.section-header--detail {
    text-align: left;
    margin-bottom: 2.5rem;
}

.section-header--detail .section-title-ja {
    line-height: 1.45;
}

.section-lead {
    max-width: 820px;
    margin-top: 1rem;
    font-size: 0.98rem;
    line-height: 2;
    color: var(--text-sub);
}

.overview-slider {
    position: relative;
    margin-bottom: 3rem;
}

.overview-slider__viewport {
    overflow: hidden;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.overview-slider.is-dragging .overview-slider__viewport {
    cursor: grabbing;
}

.overview-slider__track {
    display: flex;
    gap: 1rem;
    will-change: transform;
}

.overview-slider__slide {
    flex: 0 0 calc((100% - 2rem) / 3);
}

.overview-slider__status {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-top: 1rem;
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.overview-slider__demo {
    margin-top: 1.6rem;
    text-align: center;
}

.overview-slider__status-label,
.overview-slider__status-separator,
.overview-slider__status-total {
    color: var(--text-sub);
}

.overview-slider__status-current {
    min-width: 1.6em;
    color: var(--gold-accent);
}

.section-thumb {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 10;
}

.section-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

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

.section-thumb:hover img,
.detail-entry-media:hover .detail-entry-image {
    transform: scale(1.04);
}

.detail-entries {
    display: flex;
    flex-direction: column;
    gap: 2.4rem;
}

.detail-entry {
    padding-top: 2.4rem;
    border-top: 1px solid #111111;
}

.detail-entry:first-child {
    padding-top: 0;
}

.detail-entry-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem;
    align-items: start;
}

.detail-entry-grid > * {
    min-width: 0;
}

.detail-entry-heading {
    min-width: 0;
}

#section-overview .detail-entry-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

#section-overview .detail-entry:first-child {
    padding-top: 2.4rem;
}

#section-support .detail-entry:first-child,
.settings-section .detail-entry:first-child {
    padding-top: 2.4rem;
}

#section-overview .detail-entry-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 980px;
    padding: 0;
}

.detail-entry--text-only .detail-entry-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

#section-pages .detail-entry:first-child,
#section-design .detail-entry:first-child,
#section-support .detail-entry:first-child {
    padding-top: 2.4rem;
}

#section-support .detail-entry-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: start;
}

#section-support .detail-entry-copy {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 980px;
    padding: 0;
}

.detail-entry--reverse .detail-entry-copy {
    order: 2;
}

.detail-entry--reverse .detail-entry-media {
    order: 1;
}

.detail-entry-kicker {
    margin: 0 0 0.75rem;
    color: var(--gold-accent);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.detail-entry-title {
    margin: 0 0 0.9rem;
    font-size: 1.5rem;
    line-height: 1.55;
    color: var(--text-main);
}

.detail-entry-text {
    margin: 0;
    font-size: 0.98rem;
    line-height: 2;
    color: var(--text-sub);
}

.detail-entry-subtitle {
    margin: 1.35rem 0 0.55rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-main);
}

.detail-entry-media {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.detail-entry-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.detail-entry-note {
    display: none;
}

.detail-entry-note-list {
    margin: 0;
    padding-left: 1.15rem;
    list-style: disc;
}

.detail-entry-note-list li {
    margin: 0.3rem 0;
    font-size: 0.92rem;
    line-height: 1.9;
    color: var(--text-sub);
}

.detail-entry-list {
    margin: 1.25rem 0 0 1.15rem;
    padding: 0;
    list-style: disc;
}

.detail-entry-list li {
    margin: 0.45rem 0;
    font-size: 0.98rem;
    line-height: 1.9;
    color: var(--text-sub);
}

.detail-entry-list--compact {
    margin-top: 0;
}

#section-pages .detail-entry-list,
#section-design .detail-entry-list {
    margin-top: 0.95rem;
}

.settings-section .detail-entry-list {
    margin-top: 0.95rem;
    margin-left: 0;
    list-style: none;
}

.settings-section .detail-entry-copy .detail-entry-list::before {
    content: "対象項目↓";
    display: block;
    margin-bottom: 0.45rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
    font-weight: 700;
}

.detail-cta {
    margin-top: 3rem;
}

.detail-cta--button-only {
    margin-top: 2.5rem;
}

.detail-cta-bar {
    margin-bottom: 1.2rem;
    padding: 0.95rem 1rem;
    border-radius: 6px;
    background-color: #111111;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.detail-cta-text {
    margin: 0 0 1.5rem;
    font-size: 0.98rem;
    line-height: 2;
    color: var(--text-sub);
}

.detail-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 260px;
    padding: 0.95rem 1.6rem;
    border: 1px solid #111111;
    border-radius: 999px;
    color: #111111;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.detail-cta-btn--overview {
    min-width: 320px;
    padding: 1.08rem 2.3rem;
    font-size: 0.96rem;
}

.detail-cta-btn--wide {
    width: 100%;
    min-width: 0;
}

.detail-cta-btn:hover {
    background-color: #111111;
    color: #ffffff;
    opacity: 1;
}

@media (min-width: 1025px) {
    .settings-section .detail-entry-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, 380px);
        grid-template-areas:
            "heading media"
            "copy media";
        gap: 1.5rem 2rem;
        align-items: start;
    }

    .settings-section .detail-entry-heading {
        grid-area: heading;
    }

    .settings-section .detail-entry-copy {
        grid-area: copy;
    }

    .settings-section .detail-entry-media {
        grid-area: media;
        width: 100%;
        max-width: 380px;
        justify-self: end;
        align-self: center;
    }

    .settings-section .detail-entry--text-only .detail-entry-grid {
        grid-template-columns: 1fr;
        grid-template-areas: none;
        gap: 1rem;
    }

    .settings-section .detail-entry--text-only .detail-entry-heading,
    .settings-section .detail-entry--text-only .detail-entry-copy {
        grid-area: auto;
    }

    #section-pages .detail-entry-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, 380px);
        grid-template-areas:
            "heading media"
            "copy media";
        gap: 1.5rem 2rem;
        align-items: start;
    }

    #section-pages .detail-entry-heading {
        grid-area: heading;
    }

    #section-pages .detail-entry-copy {
        grid-area: copy;
    }

    #section-pages .detail-entry-media {
        grid-area: media;
        width: 100%;
        max-width: 380px;
        justify-self: end;
        align-self: center;
    }

    #section-design .detail-entry-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(280px, 380px);
        gap: 1.5rem 2rem;
        align-items: center;
    }

    #section-design .detail-entry-media {
        width: 100%;
        max-width: 380px;
        justify-self: end;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #sp-menu .nav-groups {
        max-width: 340px;
        margin: 1rem auto 0;
    }

    #sp-menu .nav-group-toggle {
        min-height: 56px;
        padding: 0.85rem 1rem;
    }

    section.content-section {
        padding: 4rem 2rem;
    }

    .overview-slider {
        margin-bottom: 2.5rem;
    }

    .overview-slider__slide {
        flex-basis: calc((100% - 1rem) / 2);
    }

    .overview-slider__status {
        margin-top: 0.9rem;
    }

    .detail-entry-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    #section-pages .detail-entry-grid,
    #section-design .detail-entry-grid,
    .settings-section .detail-entry-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        align-items: start;
    }

    #section-overview .detail-entry-copy {
        padding: 0;
    }

    #section-pages .detail-entry-media,
    #section-design .detail-entry-media,
    .settings-section .detail-entry-media {
        max-width: 100%;
        justify-self: stretch;
    }

    .detail-entry--reverse .detail-entry-copy,
    .detail-entry--reverse .detail-entry-media {
        order: initial;
    }
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    #sp-menu .nav-groups {
        width: 100%;
        max-width: none;
        margin: 1rem auto 0;
    }

    #sp-menu .nav-group-toggle {
        min-height: 54px;
        padding: 0.8rem 0.95rem;
    }

    .nav-group-label {
        font-size: 0.82rem;
    }

    section.content-section {
        padding: 3.5rem 1.5rem;
        overflow-x: hidden;
    }

    .section-header--detail {
        margin-bottom: 2rem;
    }

    .section-lead {
        max-width: none;
        font-size: 0.95rem;
        overflow-wrap: anywhere;
    }

    .overview-slider {
        margin-bottom: 2rem;
    }

    .overview-slider__track {
        gap: 0.75rem;
    }

    .overview-slider__slide {
        flex-basis: 100%;
    }

    .overview-slider__status {
        margin-top: 0.85rem;
        font-size: 0.78rem;
    }

    .detail-entry {
        padding-top: 2rem;
    }

    .layout-wrapper,
    .main-content,
    #sp-menu,
    .sp-menu-section,
    section,
    section.content-section,
    .section-header--detail,
    .overview-slider,
    .overview-slider__viewport,
    .detail-entries,
    .detail-entry,
    .detail-entry-grid,
    .detail-entry-heading,
    .detail-entry-copy,
    .detail-entry-media {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    #section-overview .detail-entry:first-child {
        padding-top: 2rem;
    }

    #section-pages .detail-entry:first-child,
    #section-design .detail-entry:first-child,
    #section-support .detail-entry:first-child,
    .settings-section .detail-entry:first-child {
        padding-top: 2rem;
    }

    .detail-entry-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    #section-pages .detail-entry-grid,
    #section-design .detail-entry-grid,
    .settings-section .detail-entry-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: start;
    }

    #section-overview .detail-entry-copy {
        padding: 0;
    }

    #section-design .detail-entry-copy {
        order: 2;
    }

    #section-pages .detail-entry-media,
    #section-design .detail-entry-media,
    .settings-section .detail-entry-media {
        max-width: 100%;
        justify-self: stretch;
    }

    #section-design .detail-entry-media {
        order: 1;
    }

    .detail-entry--reverse .detail-entry-copy,
    .detail-entry--reverse .detail-entry-media {
        order: initial;
    }

    .detail-entry-title {
        font-size: 1.2rem;
        overflow-wrap: anywhere;
    }

    .detail-entry-text,
    .detail-entry-list li,
    .nav-group-label,
    .nav-subitem a {
        overflow-wrap: anywhere;
    }

    .detail-entry-note {
        padding: 1rem;
    }

    .detail-entry-note-list li {
        font-size: 0.9rem;
    }

    .detail-entry-list li {
        font-size: 0.94rem;
        line-height: 1.8;
    }

    #sp-menu .theme-purchase-btn,
    #sp-menu .nav-item,
    #sp-menu .sp-nav-item {
        width: 100%;
        max-width: none;
    }

    .scroll-indicator {
        display: none;
    }

    .detail-cta-btn {
        width: 100%;
        min-width: 0;
    }
}
