@charset "UTF-8";

/* =========================================
   1. 高級感のある和モダン・基本設定
========================================= */
:root {
    --theme-black: #0c0f14;
    --theme-navy: #151c28;
    --theme-gold: #c5a880;
    --theme-accent: #d946ef;
    --theme-vermilion: #e11d48;
    --bg-tatami: #fdfcf7;
    --text-main: #27272a;
    --orion-blue: #003399;
    --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-size: 16px;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.8;
    color: var(--text-main);
    background-color: var(--bg-tatami);
    margin: 0; padding: 0;
    padding-bottom: 160px; /* 追従フッターバーの被りを防ぐセーフエリア */
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; border: 0; }
.mincho { font-family: 'Shippori Mincho', serif; font-weight: 700; }
.mt-20 { margin-top: 20px !important; }

/* =========================================
   2. ヘッダー ＆ ナビゲーション
========================================= */
.global-header { 
    background: var(--white); 
    border-top: 2px solid var(--theme-gold); 
    border-bottom: 3px solid var(--theme-gold); 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
    box-shadow: 0 4px 15px rgba(12,15,20,0.06); 
    width: 100%; 
}
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; }
.header-logo img { height: 38px; width: auto; }

.header-nav { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }
.header-nav a { color: var(--theme-navy); text-decoration: none; font-weight: 700; font-size: 14px; transition: 0.3s; white-space: nowrap; }
.header-nav a:hover { color: var(--theme-vermilion); }

.hamburger-btn { background: none; border: none; cursor: pointer; padding: 5px; color: var(--theme-navy); font-size: 1.6rem; display: none; }

.menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(12,15,20,0.7); z-index: 9998; opacity: 0; visibility: hidden; transition: 0.3s; backdrop-filter: blur(4px); }
.menu-overlay.open { opacity: 1; visibility: visible; }
.drawer-menu { position: fixed; top: 0; right: -100%; width: 300px; height: 100vh; background: var(--bg-tatami); z-index: 9999; transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1); display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(0,0,0,0.2); border-left: 4px solid var(--theme-gold); }
.drawer-menu.open { right: 0; }
.drawer-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #e5e5e0; background-color: var(--white); }
.drawer-logo { height: 28px; }
.close-btn { background: none; border: none; font-size: 1.6rem; color: #71717a; cursor: pointer; }
.drawer-content { overflow-y: auto; display: flex; flex-direction: column; }
.drawer-content a { padding: 18px 20px; color: var(--theme-navy); text-decoration: none; font-weight: 700; border-bottom: 1px solid #e5e5e0; }

/* =========================================
   3. パンくず ＆ ヒーローエリア
========================================= */
.breadcrumbs { background-color: var(--white); border-bottom: 1px solid #e5e5e0; padding: 12px 0; font-size: 12px; color: #71717a; }
.breadcrumbs-inner { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.breadcrumbs a { color: var(--orion-blue); text-decoration: none; font-weight: 500; }

.hero { 
    background-position: center; 
    background-size: cover; 
    min-height: 520px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    color: var(--white); 
    padding: 40px 20px; 
    position: relative; 
    border-bottom: 5px solid var(--theme-gold); 
}
.yakatabune-hero { 
    background-image: linear-gradient(rgba(12, 15, 20, 0.4), rgba(12, 15, 20, 0.85)), url('https://gazou.orion-tour.co.jp/Honban/Content/images/Item/tour/219/2605/900021/sh_ptn2_5.jpg'); 
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
}

.saikou-flag { 
    background: var(--theme-vermilion); 
    color: var(--white); 
    font-size: 1.2rem; 
    font-weight: 900; 
    padding: 8px 24px; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    flex-wrap: wrap; 
    gap: 12px; 
    border: 2px solid var(--theme-gold); 
    box-shadow: 0 4px 15px rgba(197,168,128,0.4); 
    margin-bottom: 24px; 
    border-radius: 2px; 
    letter-spacing: 1px; 
    max-width: 100%;
}
.hero-decided { 
    color: var(--theme-black); 
    background: var(--theme-gold); 
    font-size: 0.85em; 
    padding: 2px 10px; 
    border-radius: 2px; 
    font-weight: 900; 
    white-space: nowrap; 
}
.hero-date-wrap {
    white-space: nowrap; 
    display: inline-block;
}

.hero-catch { background: var(--theme-navy); color: var(--theme-gold); padding: 6px 24px; border-radius: 40px; font-size: 14px; font-weight: 700; margin-bottom: 20px; display: inline-block; border: 1px solid var(--theme-gold); }

.hero h1 { 
    font-size: clamp(1.6rem, 5vw, 2.8rem); 
    margin: 0 0 20px; 
    line-height: 1.4; 
    color: var(--white);
    text-shadow: 
        1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000,
        0 4px 20px rgba(0,0,0,0.8); 
}
.hero h1 .title-sub { 
    font-size: 0.65em; 
    display: block; 
    margin-top: 12px; 
    color: var(--theme-gold); 
    font-weight: 700; 
    text-shadow: 
        1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000,
        0 2px 10px rgba(0,0,0,0.8);
}
.hero p { 
    max-width: 800px; 
    margin: 0 auto; 
    font-size: clamp(0.95rem, 2.5vw, 1.15rem); 
    font-weight: 500; 
    color: var(--white);
    text-shadow: 
        1px 1px 0 #000, -1px 1px 0 #000, 1px -1px 0 #000, -1px -1px 0 #000,
        0 2px 15px rgba(0,0,0,0.9); 
}

/* =========================================
   4. メイン構造 ＆ クイック予約
========================================= */
.main-content { padding-top: 40px; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

.card-section { background: var(--white); border-radius: 4px; padding: 40px; box-shadow: 0 4px 20px rgba(12,15,20,0.03); margin-bottom: 40px; border: 1px solid #e5e5e0; border-top: 5px solid var(--theme-navy); position: relative; }
.card-section::before { content: ''; position: absolute; top: 4px; left: 4px; right: 4px; bottom: 4px; border: 1px solid #f1f1eb; pointer-events: none; }

.section-title { text-align: center; margin-top: 0; margin-bottom: 40px; color: var(--theme-navy); font-size: clamp(1.35rem, 4vw, 1.85rem); position: relative; letter-spacing: 1px; }
.section-title::after { content: '❄'; display: block; color: var(--theme-gold); font-size: 1rem; margin: 12px auto 0; }
.section-title span { display: inline-block; word-break: keep-all; } 
.section-divider { border: none; border-top: 2px dashed var(--theme-gold); margin: 50px 0; opacity: 0.6; }

.quick-cta-box { background: linear-gradient(135deg, #111827 0%, #1f2937 100%); padding: 28px 36px; border-radius: 4px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; box-shadow: 0 10px 30px rgba(12,15,20,0.15); border: 2px solid var(--theme-gold); }
.q-price-label { color: #9ca3af; font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.q-price-main { color: #fff000; font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 900; }
.q-price-main span { font-size: 1rem; color: var(--white); font-weight: 500; margin-left: 4px; }

.main-action-btn { 
    background: linear-gradient(135deg, var(--theme-vermilion) 0%, #be123c 100%); 
    color: var(--white); 
    text-decoration: none; 
    padding: 18px 32px; 
    border-radius: 4px; 
    font-weight: 700; 
    font-size: clamp(0.95rem, 2vw, 1.15rem); 
    display: inline-block;
    box-shadow: 0 6px 20px rgba(225,29,72,0.35); 
}
.btn-flex-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}
.btn-flex-inner span {
    white-space: nowrap; 
}

/* =========================================
   5. グリッドレイアウト項目
========================================= */
.points-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.point-item { background: #fafaf6; padding: 28px; border-radius: 2px; border: 1px solid #e5e5e0; border-top: 4px solid var(--theme-gold); position: relative; }
.point-icon { font-size: 2rem; color: var(--theme-vermilion); margin-bottom: 14px; }
.point-item h3 { margin: 0 0 12px; font-size: 1.2rem; color: var(--theme-navy); font-weight: 700; border-bottom: 1px solid #e5e5e0; padding-bottom: 8px; }
.point-item p { margin: 0; font-size: 0.95rem; color: #4b5563; line-height: 1.75; }

/* =========================================
   6. スライダー構造
========================================= */
.slider-outer { position: relative; margin-bottom: 40px; width: 100%; }
.slider-viewport { overflow: hidden; width: 100%; border-radius: 4px; position: relative; }

.visual-slider { 
    display: flex; 
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px; 
    padding: 10px 0;
    width: 100%;
    scrollbar-width: none; 
}
.visual-slider::-webkit-scrollbar { display: none; } 

.main-slider .slide-item { 
    flex: 0 0 calc(70% - 12px); 
    flex-shrink: 0;
    scroll-snap-align: center; 
    user-select: none;
    border-radius: 4px; 
    overflow: hidden; 
    background: var(--theme-navy); 
    border: 3px solid var(--theme-navy); 
    aspect-ratio: 16/10; 
    box-shadow: 0 6px 15px rgba(12,15,20,0.08); 
}

.nested-slider .slide-item { 
    flex: 0 0 100%; 
    flex-shrink: 0;
    scroll-snap-align: center; 
    user-select: none;
    border-radius: 4px; 
    overflow: hidden; 
    background: var(--theme-navy); 
    border: 3px solid var(--theme-gold); 
    aspect-ratio: 16/10; 
    box-shadow: 0 6px 15px rgba(12,15,20,0.08); 
}

.slide-item img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

.slide-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 2px; background: var(--theme-navy); border: 1px solid var(--theme-gold); color: var(--theme-gold); font-size: 1.3rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 10; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: 0.2s; }
.slide-arrow:hover { background: var(--theme-vermilion); color: var(--white); border-color: var(--white); }
.prev-arrow { left: -15px; } .next-arrow { right: -15px; }

.nested-slider .prev-arrow { left: -12px; } 
.nested-slider .next-arrow { right: -12px; }

.slide-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 24px; width: 100%; height: 14px; }
.dot { width: 10px; height: 10px; background: #d1d5db; border-radius: 50%; transition: 0.3s; cursor: pointer; }
.dot.active { background: var(--theme-vermilion); width: 28px; border-radius: 6px; }

.wagara-nested-slider-title { font-size: 15px; font-weight: 700; color: var(--theme-navy); margin: 25px 0 12px; }
.video-section-wrapper { max-width: 820px; margin: 0 auto; border: 4px solid var(--theme-navy); padding: 4px; background-color: var(--white); box-shadow: 0 8px 25px rgba(12,15,20,0.08); }
.video-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; }
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* =========================================
   7. 各種コンテンツ
========================================= */
.info-split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.info-block-accent, .info-block-navy { padding: 36px; border-radius: 4px; height: 100%; border: 1px solid; }
.info-block-accent { background: #fffdf5; border-color: #fef08a; box-shadow: inset 0 0 20px rgba(197,168,128,0.05); }

.info-block-accent h3, .info-block-navy h3 { 
    font-size: 1.25rem; 
    padding-bottom: 12px; 
    font-weight: 700; 
    margin-top: 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.info-block-accent h3 border-bottom, .info-block-navy h3 border-bottom { border-bottom: 2px solid; }
.info-block-accent h3 { color: #854d0e; border-bottom: 2px solid #fef08a; }
.info-block-navy { background: linear-gradient(135deg, #111827 0%, var(--theme-navy) 100%); color: var(--white); border-color: var(--theme-gold); }
.info-block-navy h3 { color: var(--theme-gold); border-bottom: 2px solid rgba(197,168,128,0.3); }

.text-wrap-balance span {
    display: inline-block;
    word-break: keep-all; 
    overflow-wrap: anywhere;
}

.info-block-navy ul { padding-left: 20px; margin: 0; }
.info-block-navy li { margin-bottom: 12px; font-size: 0.95rem; line-height: 1.6; }

.menu-flex-container { display: flex; gap: 24px; }
.menu-card { flex: 1; background: var(--white); border: 2px solid var(--theme-navy); border-radius: 2px; padding: 32px; position: relative; }
.menu-head { background: var(--theme-navy); color: var(--theme-gold); padding: 12px 24px; border-radius: 2px; font-weight: 700; text-align: center; margin-bottom: 24px; font-size: 1.1rem; border: 1px solid var(--theme-gold); letter-spacing: 1px; }
.menu-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.menu-list li { padding-left: 18px; position: relative; font-size: 0.95rem; font-weight: 700; color: var(--theme-navy); }
.menu-list li::before { content: '◆'; color: var(--theme-vermilion); position: absolute; left: 0; font-size: 0.8rem; }
.menu-sub-note { font-size: 12px; color: #6b7280; margin-top: 18px; text-align: center; }
.drink-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.drink-tags span { background: #f4f4f0; color: var(--theme-navy); padding: 6px 14px; border-radius: 2px; font-size: 13px; font-weight: 700; border: 1px solid #e5e5e0; }

.timeline-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 20px; }
.sch-timeline { border-left: 3px double var(--theme-gold); padding-left: 28px; position: relative; }
.border-left-double { border-left-color: var(--theme-navy); }
.sch-type-title { font-size: 1.15rem; color: var(--theme-navy); margin-top: 0; margin-bottom: 28px; padding-bottom: 12px; border-bottom: 2px solid var(--theme-gold); font-weight: 700; }
.sch-timeline .tl-item { position: relative; margin-bottom: 35px; }
.sch-timeline .tl-item::before { content: ''; position: absolute; left: -38px; top: 4px; width: 16px; height: 16px; background: var(--white); border: 4px solid var(--theme-vermilion); border-radius: 50%; z-index: 2; }
.border-left-double .tl-item::before { border-color: var(--theme-navy); }
.tl-time-badge { display: inline-block; background: var(--theme-navy); color: var(--theme-gold); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 2px; margin-bottom: 8px; border: 1px solid var(--theme-gold); }
.sch-timeline p { margin: 0 0 6px; font-size: 0.95rem; color: var(--theme-navy); }
.transit-badge { display: block; background: #fdfdfa; color: #4b5563; font-size: 12px; padding: 8px 14px; border-radius: 2px; border: 1px solid #cbd5e1; margin: 10px 0; line-height: 1.5; border-left: 4px solid var(--theme-gold); }
.highlight-text { color: var(--theme-vermilion); font-weight: 700; font-size: 0.95rem; }
.meal-condition-box { background: var(--theme-navy); color: var(--theme-gold); padding: 14px; text-align: center; border-radius: 2px; font-weight: 700; margin-top: 20px; font-size: 14px; border: 1px solid var(--theme-gold); }

/* アクセス構造 */
.access-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; }
.access-info-text h3 { margin-top: 0; font-size: 1.4rem; color: var(--theme-navy); }
.address-line { font-weight: 700; color: var(--theme-vermilion); margin-bottom: 20px; }
.station-guide-title { font-size: 1.05rem; margin: 20px 0 10px; color: var(--theme-navy); border-bottom: 2px solid var(--theme-gold); padding-bottom: 6px; font-weight: 700; }
.station-list { padding-left: 20px; margin: 0; font-size: 0.9rem; }
.station-list li { margin-bottom: 8px; color: #374151; }
.bus-desc { font-size: 0.9rem; margin: 0; color: #4b5563; }
.alert-box-mini { background: #fff5f5; border: 1px solid #fecaca; color: #991b1b; padding: 14px; border-radius: 2px; margin-top: 24px; font-size: 13px; font-weight: 700; border-left: 4px solid #dc2626; }

/* マップラッパー */
.access-map-wrapper { width: 100%; border: 4px solid var(--theme-navy); padding: 4px; background: var(--white); box-shadow: 0 6px 15px rgba(12,15,20,0.06); }
.map-image-container { width: 100%; height: 100%; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.map-image-container img { width: 100%; height: auto; object-fit: contain; transition: transform 0.3s ease; }
.map-image-container img:hover { transform: scale(1.03); }

/* =========================================
   8. テーブル（旅行条件書）設計
========================================= */
.matrix-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 35px; border: 2px solid var(--theme-navy); }
.matrix-table th, .matrix-table td { border: 1px solid #cbd5e1; padding: 16px 20px; text-align: left; }
.matrix-table th { background: #f4f4f0; color: var(--theme-navy); font-weight: 700; width: 25%; border-right: 2px solid var(--theme-navy); }
.matrix-table td { background: var(--white); color: var(--text-main); }

.cancel-policy-box { background: #fafaf6; border: 1px solid #cbd5e1; border-top: 4px solid var(--theme-navy); border-radius: 2px; padding: 28px; }
.cancel-policy-box h4 { margin-top: 0; font-size: 1.1rem; color: var(--theme-navy); margin-bottom: 18px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cancel-policy-box h4 span { display: inline-block; word-break: keep-all; } 

.policy-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; text-align: center; }
.policy-item { background: var(--white); border: 1px solid #cbd5e1; padding: 14px 8px; border-radius: 2px; display: flex; flex-direction: column; gap: 6px; border-bottom: 3px solid #e5e5e0; }
.p-days { font-size: 12px; font-weight: 700; color: #4b5563; }
.p-fee { font-size: 1.25rem; font-weight: 900; color: var(--theme-navy); }
.p-fee.free { color: #16a34a; }
.p-fee.charge { color: var(--theme-vermilion); }

.notice-wrap.always-open { background: var(--white); border: 1px solid #cbd5e1; border-radius: 2px; overflow: hidden; margin-top: 30px; }
.notice-title { background: #f4f4f0; padding: 16px 20px; font-weight: 700; margin: 0; color: var(--theme-navy); font-size: 14px; border-bottom: 1px solid #cbd5e1; letter-spacing: 0.5px; }
.notice-content { padding: 24px; font-size: 14px; color: #4b5563; }
.notice-content ul { padding-left: 20px; margin: 0; }
.notice-content li { margin-bottom: 10px; line-height: 1.65; }

.global-footer { background: var(--theme-black); color: #9ca3af; padding: 50px 20px 40px; text-align: center; font-size: 13px; border-top: 4px solid var(--theme-gold); position: relative; }
.wagara-wave-decor {
    height: 20px; width: 100%; margin-bottom: 25px; opacity: 0.15;
    background-image: radial-gradient(circle at 50% 100%, transparent 10px, var(--theme-gold) 11px, var(--theme-gold) 13px, transparent 14px);
    background-size: 40px 20px;
}
.footer-links { list-style: none; padding: 0; margin-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 28px; }
.footer-links a { color: #e5e7eb; text-decoration: none; transition: 0.2s; font-weight: 500; }
.footer-links a:hover { color: var(--theme-gold); text-decoration: underline; }
.copyright { color: #6b7280; margin: 0; letter-spacing: 0.5px; }

/* 追従バー */
.fixed-bar { position: fixed; bottom: 0; left: 0; width: 100%; background: rgba(12, 15, 20, 0.96); padding: 14px 20px; z-index: 9997; backdrop-filter: blur(10px); box-shadow: 0 -8px 30px rgba(0,0,0,0.3); border-top: 2px solid var(--theme-gold); display: flex; justify-content: center; }
.fixed-bar-inner { width: 100%; max-width: 1000px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.fb-price-area { display: flex; flex-direction: column; line-height: 1.2; }
.fb-label { font-size: 11px; color: #9ca3af; font-weight: 700; letter-spacing: 0.5px; }
.fb-price { color: #fff000; font-size: 1.9rem; font-weight: 900; }
.fb-price span { font-size: 12px; color: var(--white); font-weight: 500; margin-left: 2px; }
.fixed-btn-primary { flex: 1; max-width: 450px; background: linear-gradient(135deg, var(--theme-vermilion) 0%, #be123c 100%); color: var(--white); text-decoration: none; text-align: center; padding: 15px 20px; border-radius: 4px; font-weight: 700; font-size: 1.15rem; box-shadow: 0 4px 15px rgba(225,29,72,0.4); border: 1px solid var(--theme-gold); transition: 0.2s; white-space: nowrap; letter-spacing: 1px; }
.fixed-btn-primary:hover { opacity: 0.95; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(225,29,72,0.6); }

/* アニメーション */
@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 6px 20px rgba(225,29,72,0.35); }
    50% { transform: scale(1.02); box-shadow: 0 10px 25px rgba(225,29,72,0.55); border-color: var(--white); }
    100% { transform: scale(1); box-shadow: 0 6px 20px rgba(225,29,72,0.35); }
}
.pulse-anim { animation: pulse 3s infinite ease-in-out; }

/* =========================================
   11. レスポンシブ
========================================= */
@media (max-width: 991px) {
    .points-grid { grid-template-columns: 1fr; gap: 16px; }
    .slider-outer { width: calc(100% + 40px); left: -20px; }
    .main-slider .slide-item { flex: 0 0 82%; } 
    .nested-slider .slide-item { flex: 0 0 100%; } 
    .prev-arrow { left: 15px; } .next-arrow { right: 15px; }
    .info-split-grid { grid-template-columns: 1fr; }
    .menu-flex-container { flex-direction: column; gap: 20px; }
    .timeline-wrapper { grid-template-columns: 1fr; gap: 30px; }
    
    .access-grid { grid-template-columns: 1fr; gap: 24px; }
    .access-map-wrapper { padding: 2px; }
    
    .matrix-table tr { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid #cbd5e1; }
    .matrix-table tr:last-child { border-bottom: none; }
    .matrix-table th, .matrix-table td { display: block; width: 100%; border: none; padding: 12px 16px; }
    .matrix-table th { background: #151c28; color: #c5a880; font-weight: 700; border-bottom: 1px solid rgba(197,168,128,0.2); }
    .matrix-table td { padding-bottom: 18px; }
    
    .policy-grid { grid-template-columns: repeat(2, 1fr); }
    .policy-item:last-child { grid-column: span 2; }
}

@media (max-width: 768px) {
    .section-title {
        font-size: clamp(1.2rem, 4.5vw, 1.5rem);
        line-height: 1.6;
    }
    .section-title span {
        display: block; 
        width: 100%;
    }
    
    .header-nav { display: none; }
    .hamburger-btn { display: block; }
    .card-section { padding: 30px 15px; }
    
    .quick-cta-box { flex-direction: column; gap: 18px; text-align: center; padding: 22px; }
    
    .main-action-btn { 
        width: 100%; 
        padding: 16px 12px;
    }
    .btn-flex-inner span {
        font-size: clamp(0.85rem, 3.8vw, 1.05rem); 
    }
}

@media (max-width: 480px) {
    .saikou-flag {
        font-size: 0.95rem;
        padding: 8px 16px;
        gap: 8px;
    }
    .hero-decided {
        font-size: 0.85em;
        padding: 2px 8px;
    }
}