/* Reset & Base */
:root {
    --gold: #a88b4a;
    --light-gold: #d8b65a;
    --ivory: #FAF6E8;
    --txt: #1f2937;
    --navy: #1e293b;
    --blue: #1e3a5f;
    --gray: #e5e7eb;
    --dark-gray: #6b7280;
    --num: #e8dcc5;
    --odd-point: #ded9cb;
    --kv-img-h-pc: 280px;
    /* PC時の時計画像の高さ */
    --kv-img-h-sp: 160px;
    /* SP時の時計画像の高さ */
    --kv-gap-vw: 17vw;
    /* 隣とのX距離（prev/next） */
    --kv-far-gap-vw: 34vw;
    /* さらに外側（far-prev/next）のX距離 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Serif JP', serif;
    line-height: 1.6;
    color: var(--txt);
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
}

button {
    font-family: 'Noto Serif JP', serif;
}

section {
    width: 100%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}


h2 {
    font-size: 1rem;
    font-weight: 400;
}

h3 {
    font-size: 1.25rem;
    font-weight: 400;
}

@media (min-width:768px) {
    .pc {
        display: inline-block;
    }

    .sp {
        display: none;
    }
}


@media (max-width:767px) {
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1rem;
    }
}

/* タッチ操作の最適化 */
.brand-hero {
    touch-action: pan-y;
    /* デフォルトは縦スクロール */
}

.hero-slider {
    touch-action: pan-y;
    /* スライダーは横操作時のみ制御 */
}

/* サムネ帯 & 横流しの説明帯で親スクロールを止める */
.thumbnail-nav,
.brand-features.scrollable {
    overscroll-behavior-x: contain;
}

.thumbnail-nav {
    touch-action: pan-x !important;
    /* サムネイルは横スクロールのみ */
    -webkit-overflow-scrolling: touch;
}

.models-grid {
    touch-action: pan-y !important;
    display: grid;
    justify-content: center;
    margin: 0 auto;
}

.brand-features {
    touch-action: pan-y;
    /* 通常は縦スクロール */
}

.brand-features.scrollable {
    touch-action: pan-x pan-y;
    /* 横スクロール可能な場合は両方 */
}


/* ===== Simple Bar Loader（中央配置＋白背景） ===== */
#kv-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    /* 縦方向に配置 */
    justify-content: center;
    /* 垂直中央 */
    align-items: center;
    /* 水平中央 */
    background: #ffffff;
    /* 白背景 */
    transition: opacity .35s ease, visibility .35s ease;
}

#kv-loader.is-hide {
    opacity: 0;
    visibility: hidden;
}

.kv-loader__bar {
    width: min(520px, 86vw);
    height: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.08);
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.kv-loader__fill {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f7e7b4, #d8b65a, #a88b4a);
    transition: width 0.25s ease;
}

.kv-loader__label {
    margin-top: 14px;
    font-size: clamp(12px, 3.5vw, 14px);
    letter-spacing: 0.12em;
    color: var(--navy);
    text-transform: uppercase;
    text-align: center;
}



/* KV Section - 基本設定 */
.kv-section {
    position: relative;
    height: min(100dvh, 820px);
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url(../img/bg-pc.jpg) center center / cover no-repeat;
    width: 100%;
    /* 念のため */
    box-sizing: border-box;
}


.kv-content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #1f2937;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* ★順序指定 */
.kv-text {
    order: 1;
}

.kv-description {
    order: 2;
    margin-top: 18px;
}

.kv-slider {
    order: 3;
    margin: 0px 0 0;
}

.kv-buttons {
    order: 4;
}

.kv-shop {
    color: var(--gold);
    margin: 20px auto;
    letter-spacing: 0.2rem;
}

/* スライダー本体 */
.kv-slider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

/* 1枚ごとのスライド */
.kv-slide {
    position: absolute;
    transition: all 1.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-origin: center center;
    opacity: 0;
    pointer-events: none;
    overflow: visible;
}

.kv-slide img {
    width: auto;
    /* ★ clampを削除してautoに */
    height: clamp(140px, 18vw, 250px);
    /* ★ widthからheightに変更 */
    object-fit: contain;
    transition: filter 0.3s;
}

/* ===== PC: 5枚表示 ===== */
@media (min-width: 768px) {

    /* 中央（アクティブ） */
    .kv-slide.active {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: translateX(0) scale(1) rotateY(0deg);
        z-index: 5;
        pointer-events: auto;
    }

    /* 左右1つ目 */
    .kv-slide.prev {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: translateX(-14vw) scale(0.75) rotateY(0deg);
        z-index: 4;
        pointer-events: auto;
    }

    .kv-slide.next {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: translateX(14vw) scale(0.75) rotateY(0deg);
        z-index: 4;
        pointer-events: auto;
    }

    /* 左右2つ目（最外側） - 高さを1つ目と揃える */
    .kv-slide.far-prev {
        opacity: 1;
        filter: blur(0px) brightness(1);
        transform: translateX(-28vw) scale(0.75) rotateY(0deg);
        z-index: 3;
        pointer-events: auto;
    }

    .kv-slide.far-next {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: translateX(28vw) scale(0.75) rotateY(0deg);
        z-index: 3;
        pointer-events: auto;
    }
}

/* ===== SP: 3枚表示 ===== */
@media (max-width: 767px) {
    .kv-section {
        min-height: 64svh;
        background: url(../img/bg-sp.jpg) center center / cover no-repeat;
    }


    .kv-slider {
        height: 240px;
        margin: 0px 0 0;
    }

    .kv-slide img {
        width: auto;
        height: clamp(190px, 35vw, 150px);
    }

    /* 中央 */
    .kv-slide.active {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: translateX(0) scale(1) rotateY(0deg);
        z-index: 3;
        pointer-events: auto;
    }

    /* 左右 - 高さを揃える */
    .kv-slide.prev {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: translateX(-32vw) scale(0.78) rotateY(20deg);
        z-index: 3;
        pointer-events: auto;
    }

    .kv-slide.next {
        opacity: 1;
        filter: blur(0) brightness(1);
        transform: translateX(32vw) scale(0.78) rotateY(-20deg);
        z-index: 2;
        pointer-events: auto;
    }

    /* far状態は非表示 */
    .kv-slide.far-prev,
    .kv-slide.far-next {
        display: none;
    }
}

/* クリック用リンク */
.kv-link {
    position: absolute;
    inset: 0;
    z-index: 6;
    cursor: pointer;
}

/* テキスト部分のスタイル調整 */

.kv-title {
    font-size: clamp(1.1rem, 3.5vw, 1.75rem);
    margin: 0px auto;
    display: block;
    font-family: 'Noto Sans JP', sans-serif;
    color: #fff;
    letter-spacing: 0.1rem;
    font-weight: 400;
    text-align: center;
}


.kv-subtitle,
.kv-date {
    display: block;
    text-align: center;
    color: white;
}

.kv-subtitle {
    font-size: clamp(20px, 4vw, 35px);
    letter-spacing: 0.3rem;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.kv-subtitle .amp {
    display: inline-block;
    padding: 0 0.25em;
    font-weight: 700;
    background: linear-gradient(180deg, #ffffff 0%, #d7dbe0 70%, #b8c5d8 100%);
    -webkit-background-clip: text;
    color: transparent;
}

.kv-date {
    display: inline-block;
    margin-top: 1.4em;
    padding: 0.5em 2em;
    font-size: clamp(14px, 1.8vw, 15px);
    font-weight: 500;
    letter-spacing: 0.1rem;
    color: #f8f8f8;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, rgba(20, 30, 45, 0.4), rgba(0, 0, 0, 0.3));
    box-shadow: inset 0 0 0.5px rgba(255, 255, 255, 0.3);
}

.kv-description {
    max-width: 700px;
}

.kv-description p {
    font-size: clamp(16px, 1.8vw, 20px);
    line-height: 1.9;
    opacity: 0.85;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

/* ボタン */
.btn-secondary {
    padding: 14px 36px;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    border: 2px solid #9ca3af;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    border-color: #6b7280;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* ボタン */
/*.kv-buttons {
     display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center; 
}*/

.btn-primary,
.btn-secondary {
    padding: 14px 28px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: white;
    color: var(--navy);

}

.btn-primary:hover {
    background: #f1f5f9;
}

.btn-secondary {
    background: linear-gradient(180deg, rgba(24, 36, 60, 0.85), rgba(10, 20, 40, 0.75));
    color: white;
    display: table;
    margin: 0 auto 25px;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #fff;
}

.btn-secondary span {
    font-size: 18px;
}

.btn-secondary:hover {
    background: white;
    color: var(--gold);
}

/* ===== LINEボタン ===== */
.btn-line {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 4px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #06c755 0%, #00b94f 100%);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.kv-buttons .btn-line {
    margin-top: 0;
}

.btn-line:hover {
    background: linear-gradient(135deg, #07db5e 0%, #00c857 100%);
    transform: translateY(-2px);
}

.line-icon {
    width: 22px;
    height: 22px;
    display: inline-block;
}


.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    animation: bounce 2s infinite;
    z-index: 15;
}

.kv-section.snow .scroll-indicator p {
    font-size: 12px;
}

.kv-section.gold .scroll-indicator {
    color: var(--blue);
}

.kv-section.snow .scroll-indicator {
    color: var(--light-gold);
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}


/* Brand Navigation */
.brand-navigation {
    background: white;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    width: 100%;
    box-sizing: border-box;
}

.brand-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-around;
}

.brand-nav-logo h2 {
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 4px;
    margin-bottom: 2px;
    max-width: 200px;
}

.brand-nav-logo h2 img {
    max-width: 185px;
    width: 100%;
    height: auto;
    display: block;
}

.brand-nav-logo .since {
    font-size: 10px;
    letter-spacing: 1px;
    color: var(--dark-gray);
    text-align: center;
}

.brand-nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
}

.brand-nav-link {
    text-decoration: none;
    color: var(--txt);
    font-size: clamp(11px, 1.4vw, 14px);
    letter-spacing: 1px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    font-weight: 300;
    white-space: nowrap;
}

.brand-nav-link:hover {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.brand-nav-link.active {
    color: var(--blue);
    border-bottom-color: var(--blue);
}

.brand-note {
    font-size: clamp(14px, 1.6vw, 16px);
    line-height: 2;
    text-align: center;
}

.brand-note a {
    color: var(--blue);
}

.theme-navy,
.brand-odd a {
    color: #fff;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.store-link-sp {
    text-decoration: none;
    background-color: var(--blue);
    color: white;
    padding: 10px 20px;
    font-size: clamp(12px, 1.4vw, 14px);
    white-space: nowrap;
}

.menu-text {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 4px;
    font-weight: 400;
    display: inline-block;
    text-align: center;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    align-items: center;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1f2937;
    transition: all 0.3s;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 200;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    overflow-y: auto;
}

.mobile-nav-overlay.active {
    transform: translateX(0);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray);
}

.mobile-nav-close {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.close-text {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 4px;
    font-weight: 400;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    border-bottom: 1px solid var(--gray);
}

.mobile-nav-menu a {
    display: block;
    padding: 20px 32px;
    text-decoration: none;
    color: var(--navy);
    font-size: 16px;
    letter-spacing: 2px;
    transition: background 0.3s;
    font-weight: 300;
}

.mobile-nav-menu a:hover {
    background: #f9fafb;
    color: var(--blue);
}

/* Message/LINEUP Section */
.message-section,
.lineup-section {
    padding: 80px 0;
}

.lineup-section,
.faq-section,
.footer {
    background: linear-gradient(135deg, #ffffff 0%, #faf8f2 40%, #f5f2e8 100%);
}

.message-section {
    background: #fcfbf8;
}

.message-section .container {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 4px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
    padding: 80px;
}


.message-title,
.lineup-title,
.benefit-title,
.warranty-title {
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    text-align: center;
    font-weight: 300;
    letter-spacing: 8px;
    color: var(--navy);
    margin-bottom: 64px;
    font-weight: 600;
}

.benefit-title,
.warranty-title {
    color: #fff;
    margin-bottom: 20px;
}

/* ===== 店長メッセージセクション追加 ===== */
.message-flex {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
    position: relative;
}

/* 写真ブロック */
.message-section .message-photo {
    flex: 0 0 260px;
    position: relative;
}

/* 背景を淡くフェードさせる */
.message-section .message-photo::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.6), rgba(245, 245, 245, 0.9));
    filter: blur(16px);
    z-index: 0;
    border-radius: 12px;
}

/* 写真 */
.message-section .message-photo img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.message-section .message-txt {
    flex: 1;
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 24px;
}

.lineup-section h3 {
    text-align: center;
    margin-bottom: 40px;
    font-size: clamp(15px, 1.6vw, 16px);
}

.lineup-scroll-container {
    margin: 0;
    padding: 0 24px;
}

.lineup-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.lineup-item {
    flex: none;
    width: 80%;
    margin: 0 auto;
}

.lineup-item:hover {
    transform: translateY(-8px);
    opacity: 0.5;
    cursor: pointer;
}

.lineup-image {
    width: auto;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    transition: box-shadow 0.3s;
    background: #f9fafb;
}

.lineup-item:hover .lineup-image {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.lineup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    max-width: none;
    display: block;
}

.lineup-item:hover .lineup-image img {
    transform: scale(1.1);
}


.lineup-logo {
    height: 44px;
}

.lineup-logo img {
    width: 63%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.lineup-item:hover .lineup-logo {
    opacity: 0.7;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 10;
}

.scroll-btn:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background: #f8f9fa;
}

.scroll-btn-left {
    left: -60px;
}

.scroll-btn-right {
    right: -60px;
}

/* ==========================================
   オプション1：2行表示（4+3配置）
   ========================================== */
/* SP時：2行グリッド表示 - モダン&タイル方式 */
@media (max-width: 767px) {
    .lineup-section {
        padding: 60px 0;
    }

    .lineup-section .container {
        padding: 0;
    }

    .lineup-title {
        margin-bottom: 48px;
    }

    .lineup-section h3 {
        margin-bottom: 20px;
    }

    .lineup-scroll-container {
        margin: 0;
        padding: 0 16px;
    }

    .lineup-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0;
    }

    .lineup-item {
        flex: none;
        width: 100%;
    }

    .lineup-item:hover {
        transform: scale(1.02);
    }

    .lineup-image {
        height: 180px;
        width: 100%;
        position: relative;
        border-radius: 4px;
        margin-bottom: 8px;
        background: linear-gradient(135deg, #f9fafb 0%, #e5e7eb 100%);
    }

    .lineup-image img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }


    .scroll-btn {
        display: none;
    }
}

/* 小さいスマホ対応 */
@media (max-width: 375px) {
    .lineup-wrapper {
        gap: 10px;
    }

    .lineup-logo {
        font-size: 9px;
        height: 24px;
    }
}

/* SP時：2行グリッド表示 */
@media (max-width: 767px) {
    .lineup-scroll-container {
        margin: 0;
        padding: 0 20px;
    }

    .lineup-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        /* 1行4つ固定 */
        gap: 16px 12px;
        /* 縦の間隔を少し広めに */
        overflow-x: visible;
        padding: 0;
        justify-items: center;
    }

    .lineup-item {
        flex: none;
        width: 100%;
    }

    .lineup-item:hover .lineup-image {
        box-shadow: none;
    }

    .lineup-logo img {
        width: 100%;
    }

    .scroll-btn {
        display: none;
        /* SP時はスクロールボタン非表示 */
    }
}

/* 小さいスマホ対応 */
@media (max-width: 375px) {
    .lineup-wrapper {
        gap: 12px 8px;
    }

    .lineup-item {
        max-width: 145px;
    }

    .lineup-logo {
        font-size: 9px;
    }
}

/* タブレット：横スクロール維持 */
@media (min-width: 769px) and (max-width: 1024px) {
    .lineup-scroll-container {
        margin: 0 40px;
    }

    .scroll-btn-left {
        left: -40px;
    }

    .scroll-btn-right {
        right: -40px;
    }
}

/* Brand Section */
.brand-section {
    padding: 0;
}

.brand-even {
    background: linear-gradient(135deg, #ffffff 0%, #faf8f2 40%, #f5f2e8 100%);
}

/* 白系グラデに、和紙の繊細な質感を自然に重ねる */
/* 白〜アイボリーのグラデに、和紙の繊細な質感を重ねる */
.gold .brand-even {
    position: relative;
    background:
        /* 和紙テクスチャ（上層） */
        url('../img/bg-washi.jpg') repeat;
    background-size: 600px auto, cover;
    background-position: center;
    opacity: 1;
}


.theme-navy,
.brand-odd {
    background: linear-gradient(135deg, #5a6f88 0%, #435a73 30%, #2f4459 100%);
    color: #fff;
}

.gold .brand-odd {
    background: linear-gradient(135deg, #5a6f88 0%, #435a73 30%, #2f4459 100%);
    position: relative;
    overflow: hidden;
}

.gold .brand-odd>* {
    position: relative;
    z-index: 2;
}

.gold .brand-odd::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;

    /* 星の層を増やして密度アップ */
    background-image:
        radial-gradient(#ffffff 1.5px, transparent 2px),
        /* 白 */
        radial-gradient(#a3c9ff 1px, transparent 1.8px),
        /* 青白 */
        radial-gradient(#ffd6a3 1px, transparent 1.8px),
        /* 金（暖色） */
        radial-gradient(#ffc0cb 0.8px, transparent 1.5px),
        /* 淡いピンク／赤 */
        radial-gradient(#bcd8ff 0.6px, transparent 1.3px);
    /* 淡青 */
    /* ← 層を5層に増やす */

    background-size:
        200px 200px,
        260px 260px,
        320px 320px,
        380px 380px,
        460px 460px;

    background-position:
        0 0,
        120px 80px,
        -80px 140px,
        200px 220px,
        -150px -100px;

    opacity: 0.8;
    mix-blend-mode: screen;
    /* 黒背景に馴染ませる */
    animation: twinkle 8s ease-in-out infinite;
}

@keyframes twinkle {
    0% {
        opacity: 0.2;
        filter: brightness(0.8);
    }

    50% {
        opacity: 0.5;
        filter: brightness(1.2);
    }

    100% {
        opacity: 0.4;
        filter: brightness(1);
    }
}

/* 特典の色を差し替え */
.theme-navy.theme-navy--alt {
    background: linear-gradient(135deg, #E7DFD6 0%, #7E746C 20%, #5A5450 100%);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide.zoom-in img {
    animation: zoomIn 1.5s ease-out forwards;
}

/* 再アニメ用クラス */
.hero-slide img.zooming {
    animation: zoomIn 1.5s ease-out forwards;
}


@keyframes zoomIn {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-info {
    padding: 24px;
}

.brand-header {
    text-align: center;
    margin-bottom: 5px;
}

.brand-logo {
    height: clamp(100px, 10vw, 130px);
    font-weight: 300;
    letter-spacing: 8px;
    margin: 0 auto 12px;
    line-height: 0;
    display: flex;
    justify-content: center;
}

.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}


.brand-tagline {
    font-size: 18px;
    color: var(--dark-gray);
}

.brand-odd .brand-tagline {
    color: #fff;
}

/* ==== サムネイル全体 ==== */

.thumbnail-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    padding: 15px;
    overflow: visible;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

#modalThumbnails.thumbnail-nav {
    width: 98%;
}

/* スライダーとモーダル内サムネイル */

.thumbnail {
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 120px;
    height: 80px;
    overflow: hidden;
}

.thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s;
}

/* === モーダル内サムネイル調整（縮小防止＋横スクロール強化） === */
#productModal #modalThumbnails {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    justify-content: center;
    align-items: center;
    padding-bottom: 10px;
}

/* 固定幅にして shrink を防止 */
#productModal #modalThumbnails .thumbnail {
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
}

/* 画像のフィット調整 */
#productModal #modalThumbnails .thumbnail img,
#productModal #modalThumbnails img.thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

img.thumbnail:hover {
    transform: scale(1.05);
}

.thumbnail::after {
    content: attr(data-no);
    font-size: 1.2rem;
    letter-spacing: 0.05em;
    transition: color .3s;
    font-weight: 700;
    position: absolute;
    bottom: 0;
    z-index: 1;
    color: #e6dfd5;
}

.thumbnail.active::before {
    width: 60%;
}

.thumbnail:hover {
    opacity: 0.75;
}

.thumbnail.active {
    opacity: 1;

}

.brand-odd .thumbnail.active img {
    border: 1px solid #fff;
}

.thumb-nav-wrap {
    position: relative;
}


.thumb-scroll {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: rgba(255, 255, 255, .95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
}

.thumb-scroll.next {
    right: 30%;
}

.thumb-scroll.prev {
    left: 30%;
}

/* ==== モーダル内サムネイル：スクロールバー表示 ==== */
#productModal #modalThumbnails {
    scrollbar-width: thin;
    /* Firefox用：細いスクロールバー */
    scrollbar-color: var(--dark-gray) transparent;
}

/* Chrome / Safari用カスタムバー */
#productModal #modalThumbnails::-webkit-scrollbar {
    height: 8px;
    /* 横スクロールバーの高さ */
}

#productModal #modalThumbnails::-webkit-scrollbar-track {
    background: #f0f0f0;
    /* 背景トラック色 */
    border-radius: 4px;
}

#productModal #modalThumbnails::-webkit-scrollbar-thumb {
    background: var(--dark-gray);
    border-radius: 4px;
}

#productModal #modalThumbnails::-webkit-scrollbar-thumb:hover {
    background: var(--gray)
        /* ホバー時に少し明るく */
}


/* スライダー */
.brand-hero,
.hero-slider {
    position: relative;
    height: clamp(350px, 55vh, 720px);
    min-height: 400px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s ease;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

/* スライダー前後ボタンは使わないので非表示 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background 0.3s;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.9);
}

.hero-arrow.prev {
    left: 20px;
}

.hero-arrow.next {
    right: 20px;
}

/* ==== スライダー下ポイント ==== */

.brand-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    text-align: center;
    margin: 24px auto 0;
    max-width: 1000px;
}

/* ポイント文 */
.feature-line {
    position: relative;
    cursor: pointer;
    font-size: 17px;
    line-height: 1.7;
    color: var(--navy);
    letter-spacing: .03em;
    transition: color .25s, transform .25s;
    display: none;
    z-index: 1;
}

.feature-line.is-active {
    color: var(--navy);
    font-weight: 600;
    display: block;
}

/* 数字 */

.feature-line::before {
    content: attr(data-no);
    display: inline-block;
    margin-right: 10px;
    padding-left: 10px;
    font-size: 100px;
    font-weight: 700;
    color: var(--num);
    position: absolute;
    top: -100px;
    left: -125px;
    z-index: -1;
}

.feature-line:hover {
    transform: translateY(-1px);
}

/* 切替時の軽いフェード（見え替わりを分かりやすく） */
@keyframes featFade {
    0% {
        opacity: 0;
        transform: translateY(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-line.is-active {
    animation: featFade .35s ease;
}

/* 暗色セクション用（紺背景） */
.brand-odd .feature-line {
    color: var(--odd-point);
}

.brand-odd .feature-line::before {
    color: rgb(230, 238, 255, 0.3);
}



/* ==== ブランドセクション ==== */

.brand-content {
    padding: 0 24px 80px;
}

/* 店長のおすすめ */

.owner-recommendation {
    max-width: 1000px;
    margin: 80px auto;
    padding: 48px;
    background: white;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.brand-odd .owner-recommendation {
    background: #f9fafb;
}

.owner-recommendation h4 {
    font-size: clamp(1.2rem, 2.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 24px;
    color: var(--blue);
    display: block;
}

.owner-recommendation p {
    font-size: 17px;
    line-height: 2;
    color: var(--txt);
    margin-bottom: 24px;
}

/* 店長の署名 */
.signature {
    text-align: right;
    font-size: 14px;
}

.youtube-section {
    text-align: center;
    margin: 60px auto;
    max-width: 800px;
}

.youtube-intro {
    font-size: clamp(16px, 2vw, 18px);
    color: #333;
    margin-bottom: 24px;
    line-height: 1.8;
}

.brand-odd .youtube-intro {
    color: #fff;
}

.youtube-wrapper {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.youtube-inner {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.youtube-inner iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}


/* ==== 商品一覧 ==== */
.models-section {
    max-width: 1400px;
    margin: 0 auto;
}

/* フェア対象モデル */
.section-title,
.models-title {
    position: relative;
    display: block;
    text-align: center;
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    font-weight: 700;
    color: transparent;
    background: linear-gradient(135deg, #f7e7b4 0%, #d8b65a 45%, #a88b4a 100%);
    -webkit-background-clip: text;
    letter-spacing: 0.15em;
    margin: 100px auto;
    padding-bottom: 12px;
}

.benefits-section .section-title {
    margin: 80px auto;
}

.section-title::after,
.models-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(135deg, #f7e7b4 0%, #d8b65a 45%, #a88b4a 100%);
}




.model-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.model-card:hover {
    cursor: pointer;
    opacity: 0.8;
}

/* 商品画像*/
.model-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(200px, 28vw, 370px);
    overflow: visible;
    padding: 20px;
}

.model-image img {
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
}


/* 限定 */
.model-limited {
    display: table;
    font-size: 16px;
    letter-spacing: .5px;
    color: var(--gold);
    font-weight: 700;
    margin: 10px auto 6px;
    text-align: center;
}

.model-info {
    margin-top: auto;
}

/* 品名 */
.model-name {
    margin-bottom: 4px;
    color: var(--blue);
    text-align: center;
}

.model-name span {
    font-size: 13px;
}

.brand-odd .model-card .model-limited {
    color: #d8b65a;
}

.brand-odd .model-card .model-name {
    color: var(--odd-point);
}

.brand-odd .model-card .model-summary {
    color: white;
}

/* 価格 */
.model-price {
    margin: 10px auto;
    text-align: center;
}

/* 税込 */
.model-price span {
    font-size: 12px;
}

/* 紹介文 */
.model-summary {
    font-size: 15px;
    color: var(--txt);
    line-height: 1.6;
    text-align: center;
    display: block;
}

/* 無金利 */
.install-box {
    margin: 10px auto;
    border: 1px solid rgba(168, 139, 74, 0.15);
    background: linear-gradient(180deg, #fdfcf9, #f7f4ed);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    font-feature-settings: "palt";
}

.brand-odd .install-box {
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    border-color: rgba(255, 255, 255, .16);
}

.install-notehead {
    font-size: 13px;
    text-align: center;
    color: var(--navy);
    opacity: .9;
    margin-bottom: 4px;
}

.brand-odd .install-notehead {
    color: #fff;
    opacity: .85;
}

.install-main {
    text-align: center;
    font-size: 11px;
    letter-spacing: .05em;
    color: var(--gold);
    font-weight: 800;
}

.brand-odd .install-main {
    color: #d8b65a;
}

.install-main strong {
    font-size: clamp(16px, 2.6vw, 20px);
    font-weight: 900;
}

.install-sub {
    margin-top: 2px;
    text-align: center;
    font-size: 12px;
    color: var(--navy);
}

.brand-odd .install-sub {
    color: rgba(255, 255, 255, .85);
}

/* ==== モーダルオープン ==== */

/* もっと見るボタン */
.open-modal {
    background-color: rgba(255, 255, 255, .8);
    border: 1px solid #002b70;
    width: 100%;
    padding: 10px;
}

.model-details {
    margin-top: 8px;
}

/* モーダル全体のスタイル */
.modal {
    display: none;
    /* 初期状態で非表示 */
    position: fixed;
    z-index: 1000;
    /* 他のコンテンツより前に表示 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    /* 背景を半透明黒に */
    padding-top: 60px;
    overflow: auto;
    animation: fadeIn 0.5s ease-in-out;
    /* フェードインアニメーション */
}

/* モーダルの内容部分 */
.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 900px;
    border-radius: 8px;
}

/* 閉じるボタン */
.close {
    color: #fff;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 25px;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* モーダル内のコンテンツ */
.modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

img#modalImage {
    max-height: 370px;
    width: 90%;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.modal-details {
    margin-top: 20px;
    text-align: center;
}

.modal-details h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-details p {
    font-size: 16px;
    line-height: 1.6;
}

.modal-details ul {
    list-style-type: none;
    padding: 0;
}

.modal-details ul li {
    font-size: 15px;
    margin: 5px 0;
}

ul#modalSpecs {
    text-align: left;
}

/* フェードインアニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


/* Benefits & Support Section */
.benefits-section,
.support-section {
    padding: 80px 0;
}

.benefit-txt,
.support-txt {
    text-align: center;
    display: block;
    margin: 0 20px 50px;
    font-size: 16px;
    line-height: 2;
}


.after-support {
    margin-bottom: 120px;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
    margin-bottom: 64px;
    background: white;
    border-radius: 4px;
    overflow: hidden;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto 48px;
    align-items: center;
    justify-content: center;
}

.benefit-image,
.support-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.benefit-image {
    height: 400px;
}

.benefit-image img,
.support-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .benefit-image {
        position: relative;
        overflow: hidden;
        /* はみ出し防止 */
    }

    .benefit-image img {
        position: relative;
        left: 50%;
        transform: translate(-50%, 26%) scale(1.5);
        /* 中央を基準に拡大 */
        width: 100%;
        height: auto;
        transition: transform 0.5s ease;
    }

    .benefit-image:nth-of-type(2) img {
        transform: translate(-50%, 21%) scale(1.5);
    }
}


.perk-corner {
    position: absolute;
    top: 10px;
    left: -6px;
    z-index: 3;
    background: linear-gradient(135deg, var(--gold), var(--gold));
    color: #fff;
    font: 400 0.9rem/1;
    padding: 6px 20px 6px 18px;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25)
}

.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 17, 32, 0) 40%, rgba(10, 17, 32, 0.8) 100%);
}

.image-caption {
    position: absolute;
    left: 0;
    bottom: 0px;
    padding: 20px 10px;
    color: white;
}

.image-caption h3 {
    font-size: 17px;
    margin-bottom: 8px;
    color: var(--ivory);
    font-weight: 700;
}

.image-caption p {
    font-size: 15px;
    opacity: 0.9;
}

.support-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
    padding: 0 24px;
}

.support-item {
    padding: 0 24px;
}

.support-item h4 {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    color: var(--blue);
    margin-bottom: 8px;
    border-left: 1px solid var(--gold);
    padding-left: 10px;
}

.support-item p {
    color: var(--txt);
    line-height: 1.6;
    font-size: 15px;
    padding-left: 10px;
}

.line-benefit {
    text-align: center;
    padding: 32px;
    background: white;
    border-radius: 4px;
    margin: 0 auto;
}

.line-benefit-label {
    font-size: 17px;
    color: var(--light-gold);
    margin-bottom: 12px;
}

.line-benefit-main {
    font-size: 20px;
    font-weight: 300;
    color: var(--blue);
    margin-bottom: 8px;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 700;
}

.line-benefit-sub {
    font-size: 16px;
    color: var(--txt);
}

/* ブランドリンク */

.footer-links {
    padding: 50px 0;
}

.footer-sub {
    text-align: center;
}

.shop-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    list-style: none;
    width: 100%;
    padding: 50px 0;
}

.shop-links li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 90px;
    background: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.shop-links li a:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(4px);
}

.shop-links img {
    width: 100px;
    height: auto;
    margin-bottom: 6px;
    filter: brightness(1.1);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===== 保証ステップ（横棒＋菱形） ===== */


/* ---- カラー変数 ---- */
:root {
    --wb-scale: 10;
    /* 棒グラフ最大値（10年＝100%） */
    --wb-base: #e5e7eb;
    /* CONCEPT SHOP ＋2年（ゴールド） */
    --wb-member: #cdd6f9;
    /* 会員登録延長部分（淡ネイビー） */
    --wb-text: #f8fafc;
    /* 白文字（タイトル等） */
    --wb-sub: #cbd5e1;
    /* サブテキスト（灰青） */
    --wb-border: rgba(255, 255, 255, 0.1);
}

/* ---- セクション全体 ---- */
.warranty-bars,
.wb-cards {
    padding: 0 16px;
    margin: 0 auto;
}

.warranty-bars {
    max-width: 900px;
    margin-bottom: 80px;
}

.wb-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 80px;
}

.wb-legend .seg {
    display: flex;
    line-height: 1.5;
    align-items: center;
    box-sizing: border-box;
    align-items: center;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 5px;
    color: #111;
    background: #fff;
    border: 1px solid #ddd;
}

.wb-legend .base {
    background: var(--wb-base);
}

.wb-legend .core {
    background: linear-gradient(135deg, #f7e7b4, #d8b65a, #a88b4a);
    color: #111;
}

.wb-legend .member {
    background: #4367d9;
    color: #fff;
}

/* ---- 棒グラフ（warranty-bars） ---- */
.warranty-bars {
    border-radius: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
}

.wb-row {
    display: grid;
    grid-template-columns: 280px 1fr 110px;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--wb-border);
}

.wb-row:last-child {
    border-bottom: none;
}

.wb-label {
    color: var(--wb-text);
    line-height: 1.35;
}

.wb-label small {
    color: white;
}

.wb-bar {
    display: flex;
    height: 18px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--wb-border);
}

.wb-bar .seg {
    height: 100%;
    display: block;
}

.wb-bar .base {
    background: var(--wb-base);
    width: calc(var(--y) / var(--wb-scale) * 100%);
}

.wb-bar .core {
    background: linear-gradient(135deg, #f7e7b4, #d8b65a, #a88b4a);
    width: calc(var(--y) / var(--wb-scale) * 100%);
}

.wb-bar .member {
    background: linear-gradient(135deg, #7da0ff, #4367d9);
    width: calc(var(--y) / var(--wb-scale) * 100%);
    opacity: 0.9;
}

.wb-total {
    text-align: right;
    font-weight: 700;
    color: var(--wb-text);
    font-size: 1.1rem;
}

/* ---- カードコンテナ（CONCEPT / GMC） ---- */
.wb-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 28px;
}

.wb-card {
    background: #fff;
    padding: 48px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    color: var(--txt);
    border-radius: 4px;
}

.wb-card p {
    font-size: 15px;
    line-height: 2;
}

.wb-list {
    margin-top: 10px;
    padding-left: 1.2em;
    line-height: 1.9;
    font-size: 14px;
}

.wb-card-title {
    font-size: 15px;
    display: block;
    margin: 0 auto 20px;
    color: var(--gold);
    text-align: center;
    font-weight: 700;
}

.wb-card-title span {
    color: var(--gold);
    display: block;
    font-size: 18px;
}

/* ---- GMCカード（配色差別化） ---- */
.wb-card--gmc {
    background: linear-gradient(135deg, #f5f8fc 0%, #e6ecf9 50%, #dce4f5 100%);
    border: 1px solid rgba(0, 0, 0, .08);
}

.gmc-price {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 10px;
    font-size: 14px;
}

.gmc-price th,
.gmc-price td {
    border: 1px solid #d1d5db;
    padding: 8px 10px;
    text-align: left;
    background: #f9fafb;
}


/* ---- リンク（GMCの中など） ---- */
.wb-card a {
    color: var(--blue);
    text-decoration: underline;
}

.wb-card a:hover {
    opacity: 0.8;
}

/* ---- SP（レスポンシブ） ---- */
@media (max-width: 768px) {

    .support-image {
        height: 300px;
    }

    .support-txt {
        text-align: left;
    }

    .warranty-bars {
        padding: 10px;
        width: 95%;
    }

    .wb-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .wb-legend {
        row-gap: 20px;
        margin-bottom: 20px;
    }

    .wb-label {
        color: #fff;
    }

    .wb-total {
        text-align: left;
    }

    .wb-cards {
        grid-template-columns: 1fr;
    }

    .wb-card {
        padding: 18px;
    }

    .wb-legend .seg {
        padding: 10px;
    }

    span.seg.member {
        text-align: center;
    }
}

/* ===== GMC保証カードをPCでは横幅いっぱいに ===== */
@media (min-width: 768px) {

    /* 既存の2カラム並びを維持しつつ、GMCだけフル幅 */
    .wb-card--gmc {
        grid-column: 1 / -1;
        /* グリッドを横断して全幅に */
        width: 100%;
    }
}


/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.faq-intro {
    font-size: clamp(15px, 1.6vw, 16px);
    margin: 0 20px 50px;
    line-height: 2;
    text-align: center;
}

.faq-answer a,
.faq-intro a {
    color: var(--blue);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    line-height: 2;
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--gray);
}

.faq-item .btn-secondary {
    margin-top: 20px;
}

.faq-icon {
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 24px;
}

.faq-answer p {
    color: #374151;
    line-height: 2;
}

/* Footer */
.footer {
    padding: 80px 0 20px;
}

.footer a {
    text-decoration: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 64px;
    margin-bottom: 64px;
}

.footer h3 {
    font-size: 1.5rem;
    color: var(--blue);
    margin-bottom: 32px;
    text-align: center;
    display: block;
}

.info-item {
    margin-bottom: 24px;
}

.info-label {
    font-size: 17px;
    color: var(--blue);
    margin-bottom: 4px;
    border-left: 1px solid var(--gold);
    padding-left: 20px;
}

.info-item p {
    color: var(--txt);
    margin-bottom: 4px;
    padding-left: 20px;
    font-size: 16px;
}

.shop-name {
    font-size: 1.4rem;
    display: block;
    text-align: left;
    padding-left: 0;
    font-weight: 400;
    margin-bottom: 20px;
}

.info-note {
    font-size: 14px;
    color: var(--txt);
    margin-top: 4px;
}

.contact-card {
    background: white;
    padding: 24px;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 24px;
    transition: box-shadow 0.3s;
}

.contact-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-label {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 8px;
}

.reserve-title,
.phone-number,
.form-title {
    font-size: 24px;
    font-weight: 400;
    color: var(--txt);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.reserve-title:hover,
.form-title:hover,
.phone-number:hover {
    color: var(--dark-gray);
}

.contact-note {
    font-size: 16px;
    color: var(--dark-gray);
    margin-top: 8px;
}

.line-card {
    background: linear-gradient(135deg, #06c755 0%, #00b94f 100%);
    color: white;
}

.line-card .contact-label {
    color: rgba(255, 255, 255, 0.9);
}

.line-title {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 8px;
}

.line-card .contact-note {
    color: #fff;
}

.form-card {
    background: linear-gradient(180deg, #fcfbf8, #f3f0e8);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}


.footer-sub {
    line-height: 2;
    font-size: 16px;
}


.footer-bottom {
    border-top: 1px solid var(--gray);
    padding-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: var(--txt);
    font-size: 14px;
    letter-spacing: -0.05rem;
}

.footer-note {
    font-size: 12px;
    text-align: center;
    padding-bottom: 10px;
    color: var(--dark-gray);
}

.footer-note a {
    color: var(--dark-gray);
}

footer .container iframe {
    width: 100%;
    display: block;
}

/* Responsive */


/* 1024x600など小さいPC画面用の調整 */
@media (min-width: 768px) and (max-height: 700px) {
    .kv-section {
        min-height: 100vh;
        height: 100vh;
    }

    .kv-content {
        padding: 12px 24px;
    }

    .kv-date {
        margin-top: 5px;
    }

    .kv-description {
        margin-top: 12px;
    }

    .kv-description p {
        font-size: 14px;
        line-height: 1.4;
    }

    .scroll-indicator {
        display: none;
    }

    .kv-slider {
        height: 200px;
        margin: 0px 0 0;
    }

    .kv-slide img {
        height: clamp(120px, 15vw, 180px);
    }

    .kv-buttons {
        margin-top: 16px;
    }

    .kv-shop {
        margin: 10px auto;
    }
}

@media (min-width: 768px) {

    /* 商品の列数：PC3列 / SP2列 */
    .models-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(260px, 320px));
        /* auto-fitではなく固定3列に */
        gap: 100px;
        justify-content: center;
        align-items: stretch;
        margin: 0 auto;
    }

    .models-grid>*:last-child:nth-child(3n+1) {
        grid-column-start: 2;
    }

    .model-image {
        height: clamp(200px, 28vw, 370px);
    }

}

@media (min-width: 768px) and (max-width: 1023.98px) {
    .models-grid {
        grid-template-columns: repeat(2, minmax(260px, 1fr));
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }

    /* 最後のアイテムが奇数番目（1つだけ余る）場合、中央に配置 */
    .models-grid>*:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: calc(50% - 10px);
        /* gap分を考慮 */
    }
}

@media (max-width:767px) {
    .kv-section.snow {
        background: url(../img/bg-sp-snow.jpg) 12% center /cover no-repeat;
    }

    .models-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(150px, 1fr));
        /* 2列固定に */
        column-gap: 20px;
        row-gap: 100px;
    }

    /* 最後のアイテムが奇数番目（1つだけ余る）場合、中央に配置 */
    .models-grid>*:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: calc(50% - 10px);
        /* gap分を考慮 */
    }

    .model-image {
        height: clamp(220px, 28vw, 350px);
        padding: 5px;
    }
}

@media (max-width: 1210px) {
    .desktop-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .model-image img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }

    .benefits-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 24px;
        padding: 0 16px 8px;
        margin: 0 auto 40px;
        justify-content: flex-start;
    }

    .benefit-image {
        flex: 0 0 80%;
        scroll-snap-align: start;
    }

    .benefits-grid::-webkit-scrollbar {
        height: 6px;
    }

    .benefits-grid::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.25);
        border-radius: 3px;
    }

}

@media (max-width: 767px) {
    .kv-section {
        align-items: start;
    }

    .kv-title {
        color: var(--navy);
    }

    .kv-subtitle {
        color: #1d2d4a;
        font-family: "Noto Serif JP", serif;
        font-weight: 600;
        font-size: clamp(20px, 4vw, 32px);
        line-height: 1.5;
        letter-spacing: 0.1em;
        text-align: center;
        text-shadow:
            0 0 12px rgba(255, 255, 255, 0.7);
        /* 上部の白背景にも馴染む */
    }

    .kv-subtitle .amp {
        background: #1d2d4a;
        -webkit-background-clip: text;
        color: transparent;
        -webkit-text-stroke: 0.3px rgba(255, 255, 255, 0.3);
        font-size: 16px;
        text-shadow: 0 0 12px rgba(255, 255, 255, 0.7);
        ;
    }


    .kv-subtitle .amp {
        display: block;
    }

    .kv-description p {
        letter-spacing: -0.04rem;
    }

    .message-title {
        margin-bottom: 20px;
    }

    .message-section .container {
        margin: 0 24px;
        padding: 24px;
    }

    .message-section .message-flex {
        flex-direction: column;
        gap: 20px;
    }

    .section-title {
        margin: 50px auto;
    }

    .brand-nav-logo h2 img {
        max-width: 120px;
    }

    .gold .brand-odd::before {
        background-size:
            120px 120px,
            /* ← 小さくして星を細かく */
            160px 160px,
            200px 200px,
            240px 240px,
            280px 280px;
        background-position:
            0 0,
            80px 50px,
            -60px 100px,
            100px 140px,
            -100px -70px;
        opacity: 0.4;
    }

    @keyframes twinkle {
        0% {
            opacity: 0.2;
            filter: brightness(0.8);
        }

        50% {
            opacity: 0.4;
            filter: brightness(1.2);
        }

        100% {
            opacity: 0.3;
            filter: brightness(1);
        }
    }

    .youtube-section {
        text-align: left;
        letter-spacing: -0.01rem;
        padding-left: 10px;
    }

    .support-grid,
    .benefits-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .support-list {
        padding: 10px;
    }


    .brand-nav-container {
        padding: 12px 20px;
        gap: 15px;
    }

    .brand-nav-logo h2 {
        font-size: 20px;
    }

    .models-title {
        margin: 40px auto 20px;
    }

    .brand-info {
        padding: 10px 24px;
    }

    .thumb-scroll.prev {
        left: -6px;
    }

    .thumb-scroll.next {
        right: -6px;
    }

    /* サムネ帯を横スクロール化 */
    .thumb-nav-wrap .thumbnail-nav {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(75px, 90px);
        gap: 10px;
        overflow-x: auto;
        padding: 6px 48px;
        /* ← 矢印の分だけ中身に余白 */
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: 40px;
    }

    /* サムネイル全体のレイアウト */
    #modalThumbnails.thumbnail-nav {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        margin: 16px auto 0;
        padding: 8px 4px 0;
        overflow-x: auto;
        /* 横スクロールを許可 */
        -webkit-overflow-scrolling: touch;
        /* スマホでの慣性スクロール */
        scroll-behavior: smooth;
        /* スクロールが滑らかに */
        width: 98%;
        align-items: center;
        justify-content: start;
    }

    .thumb-nav-wrap {
        position: relative;
    }

    #modalThumbnails .thumbnail {
        scroll-snap-align: start;
        max-width: 80px;
        max-height: 80px;
    }

    #productModal #modalThumbnails {
        justify-content: start;
    }

    .thumb-scroll {
        display: flex;
    }

    .brand-hero {
        height: 35dvh;
        height: 35vh;
    }

    .feature-line {
        letter-spacing: -0.01rem;
        width: 100%;
    }

    .feature-line::before {
        font-size: 50px;
        top: -30px;
        left: 10px;
        z-index: -1;
    }

    .model-spec li {
        padding: 2px 0;
    }

    img#modalImage {
        width: 100%;
        height: 250px;
        max-height: none;
        object-fit: contain;
    }

    #modalThumbnails .thumbnail,
    .thumbnail {
        height: 50px;
        width: 75px;
    }

    .modal-content {
        width: 90%;
        /* スマホではモーダル幅を90%に */
        max-width: 500px;
        /* 最大幅を500pxに設定 */
    }

    .modal-details h4 {
        font-size: 20px;
        /* スマホではフォントサイズを小さめに */
    }

    .modal-details p {
        font-size: 15px;
        /* 説明文のフォントサイズを小さめに */
    }

    #productModal #modalThumbnails .thumbnail {
        flex: 0 0 75px;
        width: 75px;
        height: 75px;
    }

    /* 既存の height:50px を上書き */
    #productModal #modalThumbnails .thumbnail,
    #productModal #modalThumbnails .thumbnail img,
    #productModal #modalThumbnails img.thumbnail {
        height: 75px !important;
    }

    .brand-note,
    .line-benefit-main,
    .line-benefit-sub {
        text-align: left;
    }

    .owner-recommendation {
        padding: 30px;
    }

    .perk-corner {
        padding: 5px 16px 5px 16px
    }

    .support-item:last-child {
        padding-bottom: 24px;
    }

    .wb-legend .seg.member {
        width: 100%;
        margin: 0 12px;
    }

    .faq-intro {
        text-align: left;
    }

    .reserve-title {
        letter-spacing: -0.05rem;
    }

    .shop-name {
        text-align: center;
    }

    .footer-sub {
        text-align: left;
    }

    .footer-note {
        text-align: left;
    }
}

@media (max-width:375px) {

    .benefit-image,
    .support-image {
        height: 350px;
    }

    .model-summary {
        font-size: 14px;
    }

    .install-box {
        padding: 10px 0;
    }
}

@media (max-width: 300px) {
    .models-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .model-card {
        width: 100%;
        padding: 12px;
    }

    .model-image img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .model-price {
        font-size: 14px;
    }

    .install-box {
        font-size: 12px;
    }

    .models-grid>*:last-child:nth-child(odd) {
        max-width: 100%;
    }
}

@media (max-width: 320px) {
    .brand-nav-container {
        flex-wrap: wrap;
        /* 要素が収まらない時は折り返す */
        gap: 8px;
        /* 余白を詰める */
        padding: 8px 10px;
        /* 内側余白も縮小 */
    }

    .brand-nav-logo img {
        max-width: 120px;
        /* ロゴの幅を制限 */
        height: auto;
    }

    .mobile-menu-toggle {
        flex: 1 0 100%;
        /* ハンバーガーメニューを次の行へ */
        justify-content: center;
        margin-top: 4px;
    }

    .store-link-sp {
        font-size: 12px;
        /* ボタン文字を小さく */
        padding: 4px 8px;
    }

    .hamburger span {
        margin-right: 10px;
        margin-left: auto;
    }

    .scroll-indicator {
        display: none;
    }

    .kv-slide img {
        width: auto;
        height: clamp(120px, 35vw, 150px);
    }
}

/* 高さが低い環境ではスクロールを消す */
@media(min-width: 768px) and (max-height: 785px) {
    .scroll-indicator {
        display: none;
    }
}

/* === 横向きスマホ最適化 === */
/* 横向きSPではスライダー非表示＋静止画ヒーローを表示 */
@media (max-width: 767px) and (orientation: landscape) {

    /* まずページ全体を伸びられる状態に */
    html,
    body {
        height: auto;
        /* 100vh固定だと子が伸びない */
        min-height: 100svh;
        overflow-y: auto;
    }

    /* KVの親コンテナで高さ固定/中央寄せされている場合をリセット */
    .kv-outer,
    .kv-wrapper,
    .kv-container,
    .kv-section-parent {
        height: auto !important;
        min-height: 0 !important;
        align-items: stretch !important;
        /* 親がflexで center だと潰れがち */
        overflow: visible !important;
    }

    /* 当のKVを“実際に”伸ばす */
    .kv-section {
        height: auto !important;
        min-height: calc(100svh + 50svh) !important;
        /* ここが hidden だと内部が切れるので注意 */
        overflow: visible;
    }

    /* スライダー枠と画像も拡張に合わせて緩める */
    .kv-slider {
        height: min(90svh, 520px);
    }

    .kv-slide img {
        height: min(43svh, 400px);
    }

    /* サイドがはみ出るなら移動量を控えめに */
    .kv-slide.prev {
        transform: translateX(-20vw) scale(0.84) rotateY(10deg);
    }

    .kv-slide.next {
        transform: translateX(20vw) scale(0.84) rotateY(-10deg);
    }
}

/* スマホ横倒し対応：高さが短い画面をスマホと見なす */
@media (max-height: 500px) {
    .kv-title {
        max-width: 80px;
        margin: 10px auto 0;
    }

    .kv-date {
        font-size: 12px;
    }

    .kv-slider {
        height: 145px;
    }

    .kv-subtitle {
        font-size: clamp(16px, 2.3vw, 22px);
        line-height: 1.2;
        white-space: normal;
    }

    .scroll-indicator {
        display: none;
    }
}