/* ==========================================================================
   1. Variables (Scientific Zen Palette)
   ========================================================================== */
:root {
    /* Colors */
    --color-bg: #0a0a0a;       /* 漆黒 (Main Background) */
    --color-bg-alt: #141414;   /* 濃いグレー (Secondary Background) */
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    
    /* Accents */
    --color-accent: #D32F2F;   /* Japan Red */
    --color-gold: #C5A059;     /* Standard Gold */
    --color-gold-metal: #C5A059; 
    
    /* Gradients */
    --gradient-gold: linear-gradient(135deg, #bf953f, #fcf6ba 50%, #b38728);
    
    /* Overlays */
    --color-overlay: rgba(0, 0, 0, 0.7);
    --grid-line-color: rgba(255, 255, 255, 0.03);

    /* Typography */
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-japanese: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;

    /* Layout & Spacing */
    --container-width: 1200px;
    --header-height: 80px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 4rem;
}

/* ==========================================================================
   2. Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden; /* 横スクロール防止 */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   3. Utilities
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-accent { color: var(--color-accent); }
.text-gold { color: var(--color-gold); font-weight: 700; }
.text-muted { color: var(--color-text-muted); }

.mt-2 { margin-top: 2rem; }
.full-width { width: 100%; text-align: center; }

/* ==========================================================================
   4. Components (Buttons, Forms)
   ========================================================================== */
/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-accent);
    box-shadow: 0 0 15px rgba(211, 47, 47, 0.4);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    border-color: var(--color-gold);
    color: var(--color-gold);
    background-color: rgba(255, 255, 255, 0.05);
}

.btn-lg {
    padding: 1.5rem 4rem;
    font-size: 1.3rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* ==========================================================================
   5. Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    white-space: nowrap;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--color-text-muted);
}

.main-nav a:hover,
.main-nav a.active {
    color: white;
}

/* Contact button in header - White text styling */
.main-nav .btn-primary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.8rem 1.5rem;
}

.main-nav .btn-primary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: none;
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: white;
    transition: 0.3s;
}

/* ==========================================================================
   6. Hero Section (Scientific Zen Style)
   ========================================================================== */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
    background-color: var(--color-bg);
    overflow: hidden;
}

/* Layer 1: Background Image */
.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* 実際の画像ファイル名に合わせて変更してください */
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    filter: grayscale(100%) contrast(110%) brightness(0.5); 
    z-index: 0;
    transition: transform 0.5s ease-out;
}

/* Layer 2: Scientific Grid */
.hero-overlay-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(var(--grid-line-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-line-color) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    pointer-events: none;
}

/* Layer 3: Gold Circle (Japan Sun) */
.hero-overlay-circle {
    position: absolute;
    top: 50%; left: 65%;
    transform: translate(-50%, -50%);
    width: 65vh; height: 65vh;
    border: 1px solid rgba(197, 160, 89, 0.4);
    border-radius: 50%;
    box-shadow: 0 0 50px rgba(197, 160, 89, 0.1);
    z-index: 1;
    pointer-events: none;
}

/* Layer 4: Vignette */
.hero-vignette {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 90%);
    z-index: 2;
    pointer-events: none;
}

/* Layer 5: Content */
.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-text-wrapper {
    max-width: 750px;
    position: relative; /* 重要：スマホ版の装飾の基準点 */
}

.hero-label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 4px;
    color: var(--color-gold-metal);
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: block;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero-label {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: -0.1px;
}
.hero-title .text-accent {
    color: var(--color-accent);
    text-shadow: 0 0 30px rgba(211, 47, 47, 0.4);
}

/* =========================================
   Smart Hero Typography (Mobile Optimized)
   ========================================= */

/* 基本設定 (Desktop) */
.hero-subtitle {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 2rem; /* ボタンとの余白を確保 */
    font-weight: 300;
    line-height: 1.6;
}

.subtitle-intro { color: #ccc; } /* 導入文は少し控えめに */
.subtitle-main { font-weight: 700; font-size: 1.1em; } /* コア価値を強調 */
.subtitle-sub { color: #eee; }

.mobile-only { display: none; } /* PCでは改行しない */


.hero-tagline {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    margin-bottom: 2.5rem;
    border-left: 2px solid var(--color-accent);
    padding-left: 1rem;
}

/* Hero Actions & Credentials */
.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-credentials {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
}

.cred-item {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.gold-dot {
    color: var(--color-gold-metal);
    font-size: 0.8rem;
}

/* Japanese Zen Decoration (Desktop) */
.hero-zen-deco {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.8;
    margin-right: 2rem;
    /* デスクトップでは右側に独立させるため、絶対配置にしない */
}

.hero-zen-deco .kanji {
    writing-mode: vertical-rl;
    font-family: var(--font-japanese);
    font-size: 1.2rem;
    letter-spacing: 1rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.hero-zen-deco .line {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
}

/* ==========================================================================
   7. Common Sections (Titles, Headers)
   ========================================================================== */
.page-header {
    padding: 120px 0 60px;
    text-align: center;
    background-color: var(--color-bg-alt);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--color-gold);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    color: white;
}

/* Trust Badges Bar */
.trust-badges {
    padding: 1.5rem 0;
    background-color: #641919; /* 深い青黒 */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.badge-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.badge {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.badge:last-child { border-right: none; }

.badge-icon { color: var(--color-gold); }
.badge-text {
    font-family: var(--font-heading);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #fff;
}

/* ==========================================================================
   8. Specific Page Sections
   ========================================================================== */

/* Intro Section */
.section-intro {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

/* 背景の巨大な漢字（透かし）を「薄いグレー」に変更 */
.section-intro .kanji-watermark {
    color: rgba(0, 0, 0, 0.03); /* 白文字から黒の薄い透かしへ */
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.section-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.lead-text {
    font-size: 1.4rem;
    font-weight: 300;
    line-height: 1.4;
    border-left: 2px solid var(--color-accent);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
}

.kanji-watermark {
    position: absolute;
    top: -100px; right: -50px;
    font-size: 20rem;
    font-family: var(--font-japanese);
    color: rgba(255, 255, 255, 0.03);
    z-index: 1;
    pointer-events: none;
    line-height: 1;
}

/* =========================================
   修正版: Three Pillars Section (Scientific Zen)
   ========================================= */
.section-pillars {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--spacing-xl) 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #431010 50%, #460c0c 100%); /* 深い暗赤のグラデーション */
    position: relative;
}

/* タイトルと数字の色調整 */
.section-pillars .section-title {
    color: white;
    margin-bottom: 5rem;
}

.pillar-row {
    display: flex;
    align-items: stretch; /* 高さを揃える */
    gap: 0; /* 画像とテキストを隙間なく結合 */
    margin-bottom: 6rem;
    background-color: var(--color-bg-alt); /* カード部分を少し明るい黒に */
    border: 1px solid rgba(255, 255, 255, 0.1); /* 薄い枠線を追加 */
    border-radius: 4px;
    overflow: hidden; /* 角丸を効かせる */
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.pillar-row:hover {
    transform: translateY(-5px); /* ホバーで浮き上がる */
    border-color: var(--color-gold); /* 枠線をゴールドに */
}

.pillar-row:last-child {
    margin-bottom: 0;
}

.pillar-row.reverse {
    flex-direction: row-reverse; /* 偶数番目は左右反転 */
}

/* 画像エリアの設定 */
.pillar-image {
    flex: 1;
    min-height: 400px; /* 高さを確保 */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* 画像の上に薄い黒を被せて統一感を出す */
.pillar-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.3); 
    transition: 0.3s;
}

.pillar-row:hover .pillar-image::after {
    background: rgba(0, 0, 0, 0); /* ホバーで明るく */
}

/* 各画像のURL指定 */
.img-online { background-image: url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?q=80&w=800&auto=format&fit=crop'); }
.img-workshop { background-image: url('https://images.unsplash.com/photo-1571019614242-c5c5dee9f50b?q=80&w=800&auto=format&fit=crop'); }
.img-camp { background-image: url('https://images.unsplash.com/photo-1493976040374-85c8e12f0c0e?q=80&w=800&auto=format&fit=crop'); }

/* テキストエリアの設定 */
.pillar-content {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* 背景の数字（01, 02...）のデザイン */
.pillar-number {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.05); /* ほぼ透明な白 */
    line-height: 1;
    position: absolute;
    top: 1rem;
    right: 2rem;
    font-weight: 700;
    z-index: 0;
}

.pillar-content h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    z-index: 1;
}

.pillar-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.pillar-features li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    color: white;
    font-weight: 500;
}

.pillar-features li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--color-accent); /* 赤い点 */
    font-size: 0.8rem;
    top: 4px;
}

/* =========================================
   修正版: Voices from Athletes (Testimonials)
   ========================================= */
.section-testimonials {
    padding: var(--spacing-xl) 0;
    background-color: #050505; /* メインよりさらに深い黒 */
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.section-testimonials .section-title {
    margin-bottom: 4rem;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* グリッド表示を強制 */
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* カードのデザイン */
.testimonial-card {
    background-color: var(--color-bg-alt); /* カード色 */
    padding: 3rem 2rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1); /* 薄い枠線 */
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    border-color: var(--color-gold); /* ホバーで金枠に */
    transform: translateY(-5px);
    background-color: #1a1a1a;
}

/* 引用符の装飾 */
.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: var(--color-accent); /* 赤い引用符 */
    font-family: serif;
    opacity: 0.3;
    line-height: 1;
}

.quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: #fff;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.author {
    font-family: var(--font-heading);
    color: var(--color-gold);
    text-align: right;
    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 600;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    margin-top: auto; /* 下部に固定 */
}


/* About / Profile Teaser */
.section-about-teaser { 
    padding: var(--spacing-lg) 0; }

.about-teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.vertical-deco {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.5rem;
}

.jp-name {
    writing-mode: vertical-rl;
    font-family: var(--font-japanese);
    font-size: 1.8rem;
    color: var(--color-gold);
    letter-spacing: 0.8rem;
    white-space: nowrap;
}

.deco-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    margin-top: 2rem;
}

.about-image-placeholder {
    height: 500px;
    background-color: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}
.about-image-placeholder::after {
    content: '';
    position: absolute;
    top: 20px; left: 20px; right: -20px; bottom: -20px;
    border: 2px solid var(--color-accent);
    z-index: -1;
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: var(--spacing-lg) 0;
}

.service-card {
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-accent);
}

.service-card.highlight {
    border-color: var(--color-gold);
    background-color: #1a1a1a;
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.1);
}

.service-price {
    font-size: 1.5rem;
    color: var(--color-gold);
    font-weight: 700;
}

.service-features li::before {
    content: "✓";
    color: var(--color-accent);
    position: absolute;
    left: 0;
}

/* Mission & Japan Values */
.mission-statement {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.6;
    color: white;
    margin-bottom: 4rem;
    text-align: center;
}

.japan-code-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    border-left: 2px solid var(--color-accent);
    padding-left: 2rem;
}

.code-letter {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    line-height: 1;
}

.cta-section {
    padding: 10rem 0; /* 余白をたっぷりとって荘厳に */
    /* 背景画像 + 暗いオーバーレイ */
    background:
        linear-gradient(to bottom, rgba(10, 10, 10, 0.85), rgba(0, 0, 0, 0.9)),
        url('images/cta-bg.jpg') center/cover no-repeat fixed;
    text-align: center;
    position: relative;
    overflow: hidden;
    /* 上に境界線を入れて区切る */
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 背景にうっすらと「科学的グリッド」を入れて、Heroセクションとの統一感を出す */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.5;
    pointer-events: none;
}

/* メインコピー */
.cta-section h2 {
    font-family: var(--font-heading);
    font-size: 4rem; /* 巨大な文字でインパクト */
    margin-bottom: 1.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: -1px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

/* サブコピー */
.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 4rem;
    color: #a0a0a0; /* 落ち着いたグレー */
    font-weight: 400;
    max-width: 600px; /* 横幅を制限して読みやすく */
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

/* ボタンのスタイル（ここは .btn-primary を継承しますが、念のため配置調整） */
.cta-section .btn {
    position: relative;
    z-index: 1;
    min-width: 300px; /* ボタンを少し幅広に */
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .cta-section {
        padding: 6rem 0;
    }
    .cta-section h2 {
        font-size: 2.5rem;
        line-height: 1.2;
    }
    .cta-section p {
        font-size: 1rem;
        padding: 0 1rem;
    }
        /* 1. コンテンツを左揃えにして視認性アップ */
    .hero-content {
        align-items: flex-start !important; /* 左寄せ */
        text-align: left !important;
        padding-left: 1rem; /* 左に少し余白 */
        padding-right: 1rem;
    }

    .hero-text-wrapper {
        text-align: left !important;
        margin: 0; /* 中央寄せ解除 */
    }

    /* 2. タイトルの圧迫感を減らす */
    .hero-title {
        font-size: 3.2rem;
        line-height: 0.9;
        
        /* 修正前: margin-bottom: 1rem; */
        /* 修正後: 余白を倍以上に広げます */
        margin-bottom: 3rem; 
    }

    /* 3. サブタイトルのスマート化（ここが肝） */
    .hero-subtitle {
        font-size: 3rem; /* 全体の文字サイズを少し落とす */
        line-height: 1;
        margin-bottom: 1rem;
        margin-top: 1rem !important;
        display: block !important;
    }

    h1.hero-title {
        margin-bottom: 2rem !important; /* 余白を強制確保 */
        padding-bottom: 1rem !important; /* パディングでも余白を作る（念には念を） */
    }

    
    .mobile-only { display: block; } /* スマホでのみ改行を有効化 */

    /* "Supporting gymnasts with" を小さく上に添える */
    .subtitle-intro {
        display: block;
        font-size: 1.3rem;
        color: #888;
        margin-bottom: 0rem;
        letter-spacing: 1px;
    }

    /* "Japanese Conditioning" を大きく目立たせる */
    .subtitle-main {
        display: block; /* 独立した行にする */
        font-size: 1.5rem; /* 大きく */
        line-height: 1;
        margin-bottom: 0.5rem;
    }

    /* 残りの要素 */
    .subtitle-sub {
        display: block;
        font-size: 1.3rem;
        color: #ccc;
        font-weight: 400;
    }

    /* ボタンを縦並びから横並び、もしくは幅調整 */
    .hero-actions {
        flex-direction: column;
        align-items: flex-start; /* 左寄せ */
        width: 100%;
    }

    .btn {
        width: 100%; /* ボタン幅いっぱい */
        max-width: none;
    }
}

/* ==========================================================================
   Footer (Enhanced Design)
   ========================================================================== */
.site-footer {
    padding: 4rem 0 2rem;
    background-color: var(--color-bg-alt);
    color: var(--color-text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

/* Footer Grid Layout */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Brand Section */
.footer-brand {
    max-width: 350px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #888;
    margin-bottom: 1.5rem;
}

.footer-kanji {
    font-family: var(--font-japanese);
    font-size: 1.5rem;
    color: var(--color-gold);
    letter-spacing: 0.5rem;
    opacity: 0.6;
}

/* Footer Sections */
.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-nav a {
    font-size: 0.95rem;
    color: #a0a0a0;
    transition: all 0.3s ease;
    padding-left: 0;
    position: relative;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 1px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.footer-nav a:hover {
    color: white;
    padding-left: 15px;
}

.footer-nav a:hover::before {
    width: 8px;
}

/* Contact Section */
.footer-contact p {
    font-size: 0.95rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.footer-cta {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--color-gold);
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.footer-cta:hover {
    color: white;
    padding-left: 5px;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.85rem;
    color: #666;
}

.footer-credentials {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-credentials .separator {
    color: #444;
}

/* Mobile Footer */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: 1 / -1;
        max-width: 100%;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-section {
        text-align: left;
    }

    .footer-heading {
        font-size: 0.85rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .footer-credentials {
        flex-direction: column;
        gap: 0.5rem;
    }

    .footer-credentials .separator {
        display: none;
    }
}

/* --- 4. 共通パーツの調整（ボタンなど） --- */

/* 白背景エリアにあるボタンのアウトラインが見えなくなるのを防ぐ */
.section-intro .btn-outline {
    border-color: var(--color-gold) !important;
    color: var(--color-gold) !important;
    background-color: transparent !important;
}

/* ホバー時の設定 */
.section-intro .btn-outline:hover {
    background-color: rgba(197, 160, 89, 0.1) !important; /* 薄い金色の背景 */
    color: #fff !important; /* 文字は白く */
}

.section-intro .btn-outline:hover,
.section-about-teaser .btn-outline:hover {
    background-color: #111;
    color: #fff;
}

/* ==========================================================================
   Methodology Layers Section (Premium Design)
   ========================================================================== */
.section-layers {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.layer-intro {
    margin-bottom: 1rem;
    max-width: 800px;
}

.layer-intro .section-title {
    text-align: left;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 0;
}

.layer-row {
    display: flex;
    justify-content: flex-start;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.layer-row:hover {
    padding-left: 2rem;
    background-color: rgba(255, 255, 255, 0.01);
}

.layer-info {
    max-width: 700px;
}

.layer-num {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-gold);
    display: block;
    margin-bottom: 1rem;
    letter-spacing: 3px;
    font-weight: 700;
}

.layer-info h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    color: white;
    letter-spacing: -1px;
    font-weight: 700;
}

.layer-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 2rem;
}

.pillar-tags-minimal {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    opacity: 0.7;
    font-weight: 600;
}

.pillar-tags-minimal span {
    color: var(--color-text-muted);
}

.section-layers .mt-5 {
    margin-top: 3rem;
}

/* ==========================================================================
   Services Teaser Section (Comparison Cards)
   ========================================================================== */
.section-services-teaser {
    padding: var(--spacing-xl) 0;
    background-color: var(--color-bg);
}

.section-services-teaser .mb-4 {
    margin-bottom: 4rem;
}

.services-comparison {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}
/* =========================================
   Service Detail Page (With Images)
   ========================================= */

.services-detail-section {
    padding: 4rem 0;
    background-color: var(--color-bg);
}

.service-detail-card {
    /* 背景色を少し変えてカード感を出す */
    background-color: var(--color-bg-alt);
    margin-bottom: 6rem; /* カード間の余白 */
    border: 1px solid rgba(255,255,255,0.05);
    /* 画像を枠いっぱいに表示するためpaddingを削除し、内部で調整 */
    padding: 0; 
    overflow: hidden; /* 角丸用 */
    border-radius: 4px;
}

.detail-grid {
    display: flex;
    flex-direction: row; /* 横並び */
    align-items: stretch; /* 高さを揃える */
    min-height: 500px; /* 画像エリアの高さを確保 */
}

/* テキストエリア */
.detail-content {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 画像エリア */
.detail-image-wrapper {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 300px; /* スマホ時の最低高 */
}

/* 画像本体の設定 */
.detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 枠に合わせてトリミング */
    object-position: center;
    transition: transform 0.5s ease;
}

/* ホバー時に画像を少しズームさせる演出（高級感） */
.service-detail-card:hover .detail-img {
    transform: scale(1.05);
}

/* --- ジグザグ配置の魔法 (Reverse) --- */
/* reverseクラスがついているカードは左右を入れ替える */
.service-detail-card.reverse .detail-grid {
    flex-direction: row-reverse;
}

/* --- テキスト装飾 --- */
.service-number-large {
    font-family: var(--font-heading);
    font-size: 5rem;
    color: rgba(255,255,255,0.03); /* さらに薄く背景に溶け込ませる */
    line-height: 1;
    font-weight: 700;
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 0;
}
/* reverseの時は数字を右側に */
.service-detail-card.reverse .service-number-large {
    left: auto;
    right: 2rem;
}

.detail-content h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.target-user {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.detail-content p, 
.detail-content ul,
.price-block,
.trial-box {
    position: relative;
    z-index: 1;
}

/* --- Feature List (箇条書き) --- */
.feature-list {
    margin: 1.5rem 0;
    padding-left: 1rem;
}
.feature-list li {
    margin-bottom: 0.5rem;
    color: #ccc;
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
}
.feature-list li::before {
    content: "●";
    color: var(--color-gold);
    position: absolute;
    left: 0;
    top: 2px;
    font-size: 0.8rem;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 900px) {
    .detail-grid {
        flex-direction: column !important; /* スマホでは常に縦並び（画像が上か下か） */
    }
    
    /* スマホでは画像を上に持ってくる */
    .detail-grid, 
    .service-detail-card.reverse .detail-grid {
        flex-direction: column-reverse !important; /* contentが下、画像が上 */
    }
    
    .detail-image-wrapper {
        height: 250px; /* 画像の高さを固定 */
        flex: none; /* 伸縮させない */
    }
    
    .detail-content {
        padding: 2rem;
    }
    
    .service-number-large {
        font-size: 4rem;
        top: 1rem; left: 1rem;
    }
}
.service-card {
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
}

.service-featured {
    border-color: var(--color-gold);
    background-color: #1a1a1a;
    box-shadow: 0 0 30px rgba(197, 160, 89, 0.15);
}

.service-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background-color: var(--color-gold);
    color: var(--color-bg);
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 2px;
}

.service-header {
    margin-bottom: 2rem;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--color-gold);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: white;
    text-transform: uppercase;
    margin: 0;
}

.service-price {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-gold);
}

.price-unit {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-left: 0.5rem;
}

.service-description {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-features {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-features li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
    color: white;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

.btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--color-text-muted);
    padding: 1rem 2rem;
    font-size: 0.95rem;
}

.btn-outline-secondary:hover {
    border-color: white;
    color: white;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Service Detail Page Styling */
.service-detail-card {
    background-color: var(--color-bg-alt);
    margin-bottom: 4rem;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem;
    position: relative;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}
/* 偶数番目は左右逆にする（おしゃれに見せる） */
.service-detail-card.reverse .detail-grid {
    direction: rtl; /* 要素の順序を逆に */
}
.service-detail-card.reverse .detail-grid > * {
    direction: ltr; /* 中身の文字の向きは戻す */
}

.service-number-large {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: rgba(255,255,255,0.05);
    line-height: 1;
    font-weight: 700;
    margin-bottom: -1rem;
}

.price-block {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.price-main {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-gold);
}

.price-sub {
    color: #888;
}

/* Trial Box Design (ここが重要) */
.trial-box {
    margin-top: 2rem;
    background: linear-gradient(45deg, #1a1a1a, #222);
    border: 1px solid var(--color-gold);
    padding: 1.5rem;
    border-radius: 4px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.trial-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--color-gold);
    color: black;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.8rem;
    text-transform: uppercase;
}

.trial-price {
    font-size: 2rem;
    color: white;
    font-family: var(--font-heading);
}

/* Free Consultation Section */
.free-consult-section {
    padding: 4rem 0 6rem;
}

.consult-card {
    background-color: #111;
    border: 1px dashed #444;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.free-badge {
    display: inline-block;
    background-color: var(--color-accent);
    color: white;
    padding: 0.5rem 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .detail-grid { grid-template-columns: 1fr; gap: 2rem; }
    .service-detail-card { padding: 2rem; }
    .detail-image { display: none; /* スマホでは画像省略して縦長防ぐのもあり */ }
}

/* =========================================
   Services Grid Layout (Horizontal)
   ========================================= */

.services-grid-section {
    padding: 4rem 0;
    background-color: var(--color-bg);
}

.services-grid-wrapper {
    display: grid;
    /* PCでは3列、タブレットは2列、スマホは1列に自動調整 */
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    align-items: stretch; /* 高さを揃える */
}

/* カード本体 */
.service-grid-card {
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* 縦積みレイアウト */
    transition: transform 0.3s ease, border-color 0.3s ease;
    height: 100%; /* 高さ揃え用 */
}

.service-grid-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-gold);
}

/* ハイライト（真ん中のカードなど） */
.service-grid-card.highlight {
    background-color: #1a1a1a;
    border-color: rgba(197, 160, 89, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* 画像エリア */
.card-image {
    width: 100%;
    height: 250px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-grid-card:hover .card-image img {
    transform: scale(1.05);
}

/* 番号装飾 */
.card-number {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--color-gold);
    color: black;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-top-left-radius: 4px;
}

/* テキストエリア */
.card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* 内容が少なくても下まで伸ばす */
}

.card-content h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.card-content p {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* コンパクトなトライアルボックス */
.trial-box-compact {
    background: linear-gradient(45deg, #222, #1a1a1a);
    border: 1px dashed var(--color-gold);
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    border-radius: 4px;
}

.trial-badge-compact {
    display: inline-block;
    background-color: var(--color-gold);
    color: black;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.trial-box-compact h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 0.2rem;
}

.trial-price-compact {
    font-size: 1.4rem;
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-weight: 700;
}

.trial-price-compact .unit {
    font-size: 0.8rem;
    font-weight: 400;
    color: #999;
}

/* 価格ブロック */
.price-block-grid {
    margin-top: auto; /* 一番下に配置 */
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.feature-list-compact {
    margin: 0 0 2rem 0;
    padding: 0;
    list-style: none;
}

.feature-list-compact li {
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 0.3rem;
    padding-left: 1.2rem;
    position: relative;
}

.feature-list-compact li::before {
    content: "✓";
    color: var(--color-gold);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.mt-auto { margin-top: auto; }
.text-xs { font-size: 0.8rem; }

/* スマホ対応 */
@media (max-width: 768px) {
    .services-grid-wrapper {
        grid-template-columns: 1fr; /* 1列にする */
    }
    .card-image {
        height: 200px;
    }
}

/* ==========================================================================
   10. UPDATES: Hero Mobile Fix & Service Cards with Images (ADD TO END)
   ========================================================================== */

/* --- A. Hero Section Mobile Fix (階層化 & 余白調整) --- */
@media (max-width: 768px) {
    /* 1. タイトルの余白強制確保 */
    h1.hero-title {
        font-size: 3rem;
        line-height: 0.9;
        margin-bottom: 4rem !important; /* 強制的に空ける */
        padding-bottom: 0.5rem;
    }

    /* 2. サブタイトルの表示調整 */
    .hero-subtitle {
        display: flex !important;      /* Flexボックスにして間隔を制御 */
        flex-direction: column;        /* 縦並び */
        gap: 0.3rem;                   /* 行間を狭く均一に (0.3rem) */
        margin-top: 0 !important;      /* 上の余白を削除 */
        margin-bottom: 2.5rem !important; /* ボタンとの距離は保つ */
        text-align: left;
        padding-left: 0.2rem;
    }

    .subtitle-intro {
        display: block;
        font-size: 1rem;
        color: #aaa;
        letter-spacing: 1px;
        margin-bottom: 0rem;
    }

    .subtitle-main {
        display: block;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--color-gold);
        line-height: 1.1;
        margin-bottom: 0rem;
    }

    .subtitle-sub {
        display: block;
        font-size: 1rem;
        color: #aaa;
        font-weight: 400;
        line-height: 1.4;
    }
}

/* --- B. Top Page Service Cards (Image Layout) --- */

/* カード全体の調整 */
.service-card.has-image {
    padding: 0; /* 画像を端まで表示するためにパディングをリセット */
    overflow: hidden; /* 角丸からはみ出さないように */
    display: flex;
    flex-direction: column;
    height: 100%; /* 高さを揃える */
    background-color: var(--color-bg-alt);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.service-card.has-image:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
}

/* 画像エリア */
.card-img-top {
    position: relative;
    width: 100%;
    height: 220px; /* 画像の高さ */
    overflow: hidden;
}

.card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* ホバー時のズームエフェクト */
.service-card.has-image:hover .card-img-top img {
    transform: scale(1.1);
}

/* 番号バッジ（右上または右下） */
.service-number-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: var(--color-gold);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    font-size: 1rem;
    z-index: 2;
    border-top-left-radius: 4px;
}

/* テキストエリア */
.card-body {
    padding: 2rem; /* 元のパディングをここに適用 */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-body .service-description {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* リンク矢印の調整 */
.link-arrow {
    margin-top: auto; /* 下部に固定 */
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: white;
    transition: 0.3s;
}

.link-arrow:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.pill-badge {
    display: inline-block;
    background: rgba(197, 160, 89, 0.15);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-size: 0.75rem;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    width: fit-content;
    font-weight: 600;
}

/* スマホ対応 (Services) */
@media (max-width: 768px) {
    .services-comparison {
        display: grid;
        grid-template-columns: 1fr; /* 1列表示 */
        gap: 2rem;
    }
    
    .card-img-top {
        height: 200px; /* スマホでは少し画像を低く */
    }
}

/* ==========================================================================
   Credentials Section (Premium Design)
   ========================================================================== */
.section-credentials {
    background: var(--color-bg);
    padding: var(--spacing-xl) 0;
    position: relative;
}

.credentials-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: start;
}

.credentials-text {
    position: relative;
}

.credentials-text .section-label {
    display: block;
    margin-bottom: 1rem;
}

.credentials-text .lead-text {
    margin-bottom: 3rem;
}

/* Profile Image in Credentials */
.credentials-text .profile-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 3/4;
    overflow: hidden;
    margin-bottom: 3rem;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(30%) contrast(110%);
    transition: all 0.5s ease;
}

.credentials-text .profile-image-wrapper:hover .profile-image {
    filter: grayscale(0%) contrast(115%);
    transform: scale(1.03);
}

.profile-image-frame {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--color-accent);
    z-index: -1;
    pointer-events: none;
    transition: all 0.3s ease;
}

.credentials-text .profile-image-wrapper:hover .profile-image-frame {
    border-color: var(--color-gold);
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
}

.marquee-text {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0.5;
    margin-top: 2rem;
    line-height: 1.8;
}

.credentials-text .mt-4 {
    margin-top: 3rem;
}

/* Premium Stats */
.credentials-stats {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding-top: 4rem;
}

.stat-premium {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2rem;
    transition: all 0.3s ease;
}

.stat-premium:hover {
    border-bottom-color: var(--color-gold);
    padding-left: 1rem;
}

.stat-val {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1;
    display: block;
    color: var(--color-gold);
    margin-bottom: 0.8rem;
    letter-spacing: -2px;
}

.stat-unit {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    display: block;
    font-weight: 600;
}

.bg-alt {
    background-color: var(--color-bg-alt);
}

/* ==========================================================================
   9. Media Queries (Responsiveness)
   ========================================================================== */

/* Tablet & Smaller Laptops */
@media (max-width: 991px) {
    .pillar-row, .pillar-row.reverse {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .pillar-image { width: 100%; height: 300px; }

    .about-teaser-grid, .intro-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    

    .hero-title { font-size: 4rem; }

    /* Methodology Layers - tablet */
    .layer-intro .section-title {
        font-size: 2.5rem;
    }

    .layer-info h3 {
        font-size: 2rem;
    }

    .layer-info p {
        font-size: 1rem;
    }

    /* Services Comparison - tablet */
    .services-comparison {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Credentials - stack on tablet */
    .credentials-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .credentials-stats {
        padding-top: 2rem;
        gap: 2rem;
    }

    .stat-val {
        font-size: 3.5rem;
    }
}

/* Mobile Devices */
@media (max-width: 768px) {
    /* Mobile Navigation */
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--color-bg);
        padding: 2rem;
        transform: translateX(100%);
        transition: 0.3s ease;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    /* Philosophy Quote */
    .philosophy-quote {
        font-size: 1.4rem !important; /* スマホでは文字サイズを少し抑える */
    }
    
    .intro-grid {
        gap: 3rem; /* 間隔を少し詰める */
    }
    .main-nav.active { transform: translateX(0); }
    
    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }
    
    .mobile-menu-btn { display: flex; }

    /* Hero Section Mobile Fixes */
    .hero {
        min-height: auto; /* 固定高を解除してコンテンツに応じた高さに */
        height: auto;
        padding-bottom: 3rem; /* 下部に余白を追加 */
    }

    .hero-content {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding-top: 2rem;
    }

    .hero-text-wrapper {
        padding-top: 2rem;
        position: relative;
        width: 100%;
        max-width: 400px;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .hero-tagline {
        border-left: none;
        padding-left: 0;
        margin-bottom: 2rem;
        opacity: 0.8;
    }

    .hero-overlay-circle {
        left: 50%; top: 40%;
        width: 90vw; height: 90vw;
        opacity: 0.3;
    }

    .hero-zen-deco {
        display: flex; /* Force display */
        position: absolute;
        top: 0; 
        right: 10px; /* Inside the wrapper */
        opacity: 0.4;
        transform: scale(0.7);
        margin-right: 0;
        z-index: 0;
        pointer-events: none;
    }
    
    .hero-zen-deco .kanji { font-size: 1.5rem; letter-spacing: 0.5rem; margin-bottom: 0.5rem; }
    .hero-zen-deco .line { height: 40px; }

    /* Buttons Stack */
    .hero-actions {
        flex-direction: column;
        width: 100%;
        align-items: center;
        text-align: center;

    }
    .btn { width: 100%; max-width: 300px; }

    /* Credentials Stack */
    .hero-credentials {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2.5rem;
        margin-bottom: 0.5rem; /* trust-badgesとの重なりを防ぐ */
        padding-bottom: 0.5rem; /* 追加の余白で確実に表示 */
        padding-left: 1.5rem;
    }

    /* General Sections Mobile */
    .badge-grid {
        flex-direction: column;
        align-items: center; /* バッジ全体を中央に */
    }
    .badge {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        width: 100%;
        max-width: 400px; /* 最大幅を設定して中央寄せの枠を作る */
        justify-content: flex-start; /* アイテム内は左揃え */
        padding-left: 1rem; /* 左に適度な余白 */
    }

    .about-text { flex-direction: column; gap: 1rem; }
    .vertical-deco { display: none; } /* Hide vertical name in about section on mobile */
    .about-image-placeholder { order: -1; height: 300px; }

    .page-title { font-size: 2.5rem; }

    /* Methodology Layers - mobile */
    .layer-intro .section-title {
        font-size: 2rem;
    }

    .layer-row {
        padding: 2rem 0;
    }

    .layer-row:hover {
        padding-left: 0;
    }

    .layer-info h3 {
        font-size: 1.8rem;
    }

    .layer-info p {
        font-size: 1rem;
    }

    .pillar-tags-minimal {
        font-size: 0.7rem;
    }

    /* Services Comparison - mobile */
    .services-comparison {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .price-amount {
        font-size: 2.5rem;
    }

    /* Credentials - mobile */
    .credentials-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .credentials-text .profile-image-wrapper {
        max-width: 100%;
        aspect-ratio: 4/5;
    }

    .profile-image-frame {
        top: 15px;
        left: 15px;
        right: -15px;
        bottom: -15px;
    }

    .marquee-text {
        font-size: 0.7rem;
        letter-spacing: 1px;
    }

    .credentials-stats {
        padding-top: 1rem;
        gap: 2rem;
    }

    .stat-val {
        font-size: 3rem;
    }

    .stat-unit {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   Global Presence Map Section
   ========================================================================== */
.section-global-presence {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

/* 地図のコンテナ：高級感を出すため少し浮かせた表現に */
.map-container {
    position: relative;
    width: 100%;
    margin-top: 4rem;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 4px;
}

/* SVG地図の基本スタイル */
#interactive-world-map svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

/* 国（Land）のデフォルト色：控えめなグレー */
.land {
    fill: #2a2a2a; 
    stroke: #0a0a0a;
    stroke-width: 0.5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 実績のある国：Japan Redで強調 */
.land.active {
    fill: var(--color-accent); /* #D32F2F */
    cursor: pointer;
}

.land.active:hover {
    fill: var(--color-gold); /* #C5A059 */
    filter: brightness(1.2);
}
/* 実績がある国（active）にアニメーションを付与 */
.land.active {
    animation: glow-red 2s infinite alternate;
}

@keyframes glow-red {
    from {
        filter: brightness(1);
    }
    to {
        filter: brightness(1.5);
        /* SVGのパスにドロップシャドウで光彩を追加 */
        drop-shadow: 0 0 5px var(--color-accent);
    }
}

/* ギャラリー・ポップアップ：中央に浮かび上がる重厚なデザイン */
.gallery-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100vw; /* 確実に画面端まで広げる */
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    display: none; 
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(8px);
}

.gallery-content {
    background: var(--color-bg-alt);
    width: 90%;
    max-width: 800px;
    /* 修正ポイント：画面の高さを超えないようにし、上下中央を維持 */
    max-height: 90vh; 
    padding: 2rem;
    border: 1px solid var(--color-gold);
    position: relative;
    display: flex;
    flex-direction: column;
    animation: modalFadeIn 0.5s ease forwards;
    overflow-y: auto; /* 万が一中身が溢れたら内部スクロール */
}

/* 画像を横に並べる本体 */
.gallery-images-slider {
    display: flex !important;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* ピタッと止まる設定 */
    gap: 0; /* 隙間をゼロに */
    padding: 0; /* チラ見え用の余白を削除 */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.gallery-images-slider::-webkit-scrollbar {
    display: none;
}

/* 画像：コンテナ幅に完全に合わせる */
.gallery-images-slider img {
    flex: 0 0 100%;
    width: 100%;
    /* 修正ポイント：固定値（450px）ではなく、画面高に合わせた最大値を設定 */
    max-height: 60vh; 
    object-fit: contain;
    background-color: #000;
    scroll-snap-align: start;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
    overflow: hidden;
    /* 修正ポイント：画像エリアが縦に伸びすぎないように制限 */
    flex-shrink: 1; 
    min-height: 0; 
}

/* ナビゲーション矢印：視認性を高める */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--color-gold);
    color: #000;
}
.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* スマホ対応 */
@media (max-width: 768px) {
    .gallery-images-slider img { height: 300px; }
    .nav-btn { width: 40px; height: 40px; font-size: 1.5rem; }
}

@media (max-width: 768px) {
    .map-guide-hint {
        display: flex;
        align-items: center;
        gap: 8px;
        position: sticky; /* スクロールしても左上に残る */
        left: 0;
        top: 0;
        background: rgba(244, 236, 222, 0.6); /* ゴールド背景 80%透明度 */
        color: #000;
        padding: 5px 12px;
        font-size: 0.75rem;
        font-weight: 700;
        z-index: 100;
        width: fit-content;
        margin-bottom: 10px;
        pointer-events: none; /* 操作の邪魔をしない */
        animation: pulse-guide 2s infinite;
    }
}

@keyframes pulse-guide {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* テキストエリア */
.gallery-text h4 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.gallery-text p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* 閉じるボタンの位置調整：コンテンツ内に入れるか、より安全な位置へ */
.close-gallery {
    position: absolute;
    top: 10px;
    right: 15px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 地図ズームコントロール - 地図右下に縦並びで配置 */
.map-container {
    position: relative;
}

.map-zoom-controls {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 10;
}

.zoom-btn {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(0, 0, 0, 0.7);
    color: var(--color-gold);
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: var(--color-gold);
}

.zoom-btn:active {
    transform: scale(0.95);
}

/* 地図ラッパーのトランスフォーム設定 */
#interactive-world-map {
    transform-origin: center center;
    transition: transform 0.2s ease;
}

/* モバイル対応 */
@media (max-width: 768px) {
    .map-container {
        padding: 1rem;
        overflow-x: auto; /* 常に横スクロール可能 */
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }
    #interactive-world-map {
        min-width: 600px;
    }
    #interactive-world-map svg {
        min-width: 600px;
        height: auto;
    }
    .map-zoom-controls {
        position: absolute;
        bottom: 0.5rem;
        right: 0.5rem;
    }
    .zoom-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    .map-guide-hint span {
        display: inline;
    }
    .map-guide-hint span::after {
        content: " / Pinch to Zoom";
    }
    .gallery-content { width: 95%; padding: 1rem; }
    .gallery-text h4 { font-size: 1.5rem; }
}

/* ==========================================================================
   UPDATES: Profile & About Sections (Add to end of styles.css)
   ========================================================================== */

/* --- Homepage: Profile Teaser (New Design) --- */
.section-profile-teaser {
    padding: var(--spacing-xl) 0;
    position: relative;
    background-color: #0d0d0d;
    overflow: hidden;
}

/* Background "Zen" Circle decoration */
.teaser-bg-circle {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    border: 1px solid rgba(197, 160, 89, 0.1);
    border-radius: 50%;
    pointer-events: none;
}

.teaser-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

/* Image Side */
.teaser-image-container {
    position: relative;
    padding: 20px; /* Space for the border effect */
}

.teaser-image-frame {
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-radius: 4px;
    filter: grayscale(20%);
    transition: all 0.5s ease;
}

.teaser-image-frame img {
    width: 100%;
    height: auto;
    display: block;
}

/* Gold Border Offset Effect */
.teaser-image-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: 1px solid var(--color-gold);
    z-index: 1;
    transform: translate(-10px, -10px);
    transition: transform 0.5s ease;
}

.teaser-image-container:hover .teaser-image-frame {
    filter: grayscale(0%);
}

.teaser-image-container:hover::before {
    transform: translate(0, 0);
}

/* Text Side */
.teaser-role {
    font-family: var(--font-heading);
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: block;
}

.teaser-quote {
    font-size: 1.8rem;
    line-height: 1.4;
    font-weight: 300;
    color: white;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
}

.teaser-desc {
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

/* --- FULL PROFILE PAGE STYLES --- */

/* Profile Hero */
.profile-page-hero {
    padding: 180px 0 80px;
    background-color: var(--color-bg-alt);
    position: relative;
}

.profile-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: end;
}

.profile-hero-image img {
    width: 100%;
    border-radius: 4px;
    filter: sepia(10%) contrast(110%);
}

.profile-hero-text h1 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    color: white;
}

.profile-hero-text .jp-name {
    display: block;
    font-size: 1.5rem;
    color: var(--color-gold);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.5rem;
}

.profile-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.role-badge {
    border: 1px solid rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ccc;
}

/* Philosophy Section (Dark & Emotional) */
.section-philosophy {
    padding: 6rem 0;
    background-color: #050505;
    position: relative;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.philosophy-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
    border-left: 2px solid var(--color-accent);
}

.philosophy-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.philosophy-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin: 2rem 0;
    display: block;
}

/* Career & Affiliations */
.section-career {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.career-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.career-block h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

.list-check li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    color: #ccc;
    line-height: 1.6;
}

.list-check li::before {
    content: "kne"; /* Font awesome or simple unicode fallback */
    content: "■";
    font-size: 0.6rem;
    color: var(--color-gold);
    position: absolute;
    left: 0;
    top: 8px;
}

/* Strengths (Grid) */
.section-strengths {
    padding: 6rem 0;
    background-color: var(--color-bg-alt);
}

.strengths-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.strength-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem;
    transition: 0.3s;
}

.strength-card:hover {
    border-color: var(--color-gold);
    background: rgba(255,255,255,0.04);
}

.strength-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(255,255,255,0.1);
    font-weight: 700;
    margin-bottom: 1rem;
}

.strength-card h4 {
    font-size: 1.25rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.strength-card p {
    color: #a0a0a0;
    font-size: 0.95rem;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .teaser-grid, .profile-hero-grid, .career-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .profile-hero-grid {
        display: flex;
        flex-direction: column-reverse; /* Image on top on mobile if desired, or bottom */
    }
    
    .profile-hero-text h1 { font-size: 3rem; }
    
    .philosophy-wrapper {
        padding-left: 1.5rem;
        padding-right: 1.5rem; /* スマホで文字が端に行き過ぎないように */
        border-left-width: 2px;
    }
}

/* ==========================================================================
   PROFILE PAGE REFINED STYLES (Update)
   ========================================================================== */

/* 1. Hero Typography Updates */
.profile-roles-list {
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--color-gold);
}

.role-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* 2. Background Section (Text + Photo) */
.section-background {
    padding: 6rem 0;
    background-color: var(--color-bg);
}

.background-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.background-image-wrapper {
    position: relative;
}

.sub-image {
    width: 100%;
    border-radius: 4px;
    filter: sepia(20%) contrast(110%); /* 少し温かみを出す */
    box-shadow: 20px 20px 0 rgba(255, 255, 255, 0.05);
}

.image-caption {
    position: absolute;
    bottom: -30px;
    right: 0;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 3. Refined Strengths Grid */
.strengths-grid-refined {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.strength-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.strength-box:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-5px);
}

.strength-box.highlight {
    border-color: var(--color-gold);
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.1), transparent);
}

.strength-icon {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.strength-box h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.strength-box p {
    font-size: 0.95rem;
    color: #bbb;
    line-height: 1.6;
}

/* 4. Experience & Gallery (Trust Section) */
.section-experience {
    padding: 6rem 0;
    background-color: var(--color-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.experience-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.list-title {
    color: var(--color-gold);
    font-family: var(--font-heading);
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(197, 160, 89, 0.3);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.check-list {
    list-style: none;
}

.check-list li {
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
    color: #ccc;
}

.check-list li::before {
    content: "●";
    color: var(--color-gold);
    position: absolute;
    left: 0;
    font-size: 0.7rem;
    top: 5px;
}

/* Photo Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 2px;
    background-color: #222;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: grayscale(50%);
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.gallery-title {
    font-family: var(--font-heading);
    color: white;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.gallery-caption {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #888;
    text-align: right;
}

/* 5. Philosophy Section (Emotional) */
.section-philosophy-dark {
    padding: 8rem 0;
    background: #050505;
    position: relative;
}

.philosophy-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-heading {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.philosophy-text p {
    font-size: 1.15rem;
    line-height: 2;
    color: #ccc;
    margin-bottom: 2rem;
}

.philosophy-text .emphasis {
    font-size: 1.5rem;
    color: white;
    font-style: italic;
    font-family: var(--font-heading);
}

.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: 3rem auto;
    width: 50%;
    opacity: 0.5;
}

.final-message {
    font-size: 1.4rem !important;
    color: white !important;
    font-weight: 300;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
    .background-grid,
    .experience-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .background-image-wrapper {
        order: -1; /* スマホでは写真を上に */
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* スマホでも2列維持 */
    }
}

/* ==========================================================================
   HIGH CONTRAST PROFILE DESIGN (New Update)
   ========================================================================== */

/* 共通：メリハリのためのタイポグラフィ強化 */
.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem); /* 画面幅に応じて巨大化 */
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: white;
}

.text-black { color: #111 !important; }
.bg-zinc { background-color: #e5e5e5; color: #111; } /* 明るいグレー背景でコントラスト */

/* 1. Profile Hero: Big & Bold */
.profile-hero-bold {
    padding: 160px 0 100px;
    background-color: var(--color-bg);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.hero-txt { flex: 1; }
.hero-img { flex: 1; position: relative; }

.hero-img img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 4px;
    box-shadow: 20px 20px 0 var(--color-gold); /* ゴールドの影で立体感 */
}

.name-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 7rem); /* 超巨大文字 */
    line-height: 0.9;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.role-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 3px solid var(--color-accent);
}

.hero-intro {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #fff;
    max-width: 500px;
}

/* 2. Zigzag Section (Biography) */
.section-biography {
    padding: 8rem 0;
    background-color: #111; /* わずかに明るい黒 */
}

.zigzag-row {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.zigzag-content { flex: 1; }
.zigzag-image { flex: 1; }

.zigzag-image img {
    width: 100%;
    border-radius: 4px;
    filter: grayscale(100%);
    transition: 0.5s;
}
.zigzag-image img:hover { filter: grayscale(0%); }

.highlight-lead {
    font-size: 2rem;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

/* 3. Credentials (Light Background for Impact) */
.section-credentials-bold {
    padding: 8rem 0;
    /* 背景色を明るいグレーにすることで、黒背景のページの中で強烈なメリハリを生む */
}

.credentials-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.bold-list {
    list-style: none;
}

.bold-list li {
    font-size: 1.1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-weight: 600;
}

.bold-list li:last-child { border-bottom: none; }

.bold-list .icon {
    margin-right: 0.5rem;
}

.cred-footer {
    margin-top: 3rem;
    text-align: center;
    font-weight: 700;
}

/* Credentials Gallery Strip */
.cred-gallery {
    margin-top: 3rem;
    overflow: hidden;
}

.cred-gallery-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
}

.cred-gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border-radius: 4px;
}

.cred-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: grayscale(30%);
    transition: filter 0.4s ease, transform 0.5s ease;
}

.cred-gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.08);
}

.cred-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.3) 0%, transparent 50%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cred-gallery-item:hover::after {
    opacity: 0.4;
}

@media (max-width: 991px) {
    .cred-gallery-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .cred-gallery-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }

    .cred-gallery-item:last-child {
        grid-column: 1 / -1;
    }
}

/* 4. Philosophy (Emotional / Image Background) */
.section-philosophy-impact {
    padding: 10rem 0;
    position: relative;
    background: url('images/hero-bg.jpg') center/cover fixed; /* パララックス効果 */
    text-align: center;
}

.overlay-dark {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); /* 写真を暗く落とす */
}

.relative-z { position: relative; z-index: 2; }

.philosophy-quote-box {
    max-width: 800px;
    margin: 0 auto;
}

.big-quote {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-style: italic;
    color: white;
    margin-bottom: 2rem;
}

.philosophy-body {
    font-size: 1.2rem;
    line-height: 2;
    color: #ddd;
    margin-bottom: 3rem;
}

.gold-message {
    font-size: 2rem;
    color: var(--color-gold);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .hero-split, .zigzag-row, .credentials-wrapper {
        flex-direction: column;
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-img { order: -1; margin-bottom: 2rem; } /* スマホでは写真を上に */
    .hero-img img { max-width: 100%; box-shadow: 10px 10px 0 var(--color-gold); }
    
    .name-title { font-size: 3.5rem; }
    
    .section-biography { padding: 4rem 0; }
    
    .zigzag-image { order: -1; }
}

/* ==========================================================================
   STRENGTHS: Sticky Layout (Editorial Style)
   ========================================================================== */

.section-strengths-sticky {
    padding: 10rem 0;
    background-color: var(--color-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sticky-layout {
    display: grid;
    grid-template-columns: 1fr 2fr; /* 左1 : 右2 の比率 */
    gap: 6rem;
    align-items: start; /* 上揃え（重要） */
}

/* --- 左側：追従するヘッダー --- */
.sticky-header {
    position: sticky;
    top: 150px; /* 画面上部から150pxの位置で止まる */
    height: fit-content;
}

.sticky-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    line-height: 0.9;
    color: white;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.sticky-desc {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.sticky-line {
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
}

/* --- 右側：スクロールするリスト --- */
.scroll-content {
    display: flex;
    flex-direction: column;
    gap: 4rem; /* 項目間の余白 */
}

.strength-row {
    display: grid;
    grid-template-columns: 80px 1fr; /* 数字 : 中身 */
    gap: 2rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.strength-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ホバー時の演出 */
.strength-row:hover {
    transform: translateX(10px); /* 少し右に動く */
}
.strength-row:hover .row-title {
    color: var(--color-gold);
}

/* 数字のデザイン */
.row-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
}

/* コンテンツのデザイン */
.row-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: white;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.1;
    transition: color 0.3s ease;
}

.row-text {
    font-size: 1rem;
    line-height: 1.8;
    color: #b0b0b0;
}

/* Sticky Scroll 内の強調文字をゴールドにする */
.row-text strong {
    color: var(--color-gold); /* 白からゴールドに変更 */
    font-weight: 700;
    /* 下線が不要なら以下を追加 */
    /* text-decoration: none; */ 
}

/* ハイライト項目の特別色（Japan Style） */
.strength-row.highlight .row-title,
.strength-row.highlight .row-num {
    color: var(--color-gold);
}
/* ==========================================================================
   Mobile Optimization: Horizontal Snap Scroll (Fixed)
   ========================================================================== */
@media (max-width: 900px) {
    /* 1. レイアウトの初期化 */
    .section-strengths-sticky {
        padding: 4rem 0; /* 上下の余白 */
        overflow: hidden; /* 横スクロールバーが画面全体に出ないように */
    }

    .sticky-layout {
        display: block; /* グリッドを解除 */
        width: 100%;
    }

    /* 2. ヘッダー（タイトル） */
    .sticky-header {
        position: static; /* 固定を解除 */
        margin-bottom: 2rem;
        padding-right: 1rem;
        width: 100%;
    }

    .sticky-title {
        font-size: 3rem;
        line-height: 1;
        margin-bottom: 0.5rem;
    }

    .sticky-line {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    /* 3. 横スクロールエリア（ここが重要） */
    .scroll-content {
        display: flex !important;       /* 強制的にFlexboxにする */
        flex-direction: row !important; /* 横並びにする */
        flex-wrap: nowrap !important;   /* 折り返しを絶対にさせない */
        overflow-x: auto;               /* 横スクロールを許可 */
        
        width: 100vw;                   /* 画面幅いっぱいにする */
        margin-left: -5vw;              /* containerのpadding(通常5%)を相殺して画面端まで広げる */
        padding-left: 5vw;              /* 左端の余白を戻す */
        padding-right: 5vw;             /* 右端の余白を作る */
        padding-bottom: 2rem;           /* 下部の余裕 */
        
        gap: 1.5rem;                    /* カード間の隙間 */
        
        /* スナップ（ピタッと止まる）挙動 */
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    /* スクロールバーを隠す（見た目を綺麗に） */
    .scroll-content::-webkit-scrollbar {
        display: none; 
    }

    /* 4. カード単体のデザイン */
    .strength-row {
        /* カードのサイズ固定 */
        flex: 0 0 85%; /* 画面の85%幅で固定（縮ませない） */
        width: 85%;    /* 念のため幅も指定 */
        max-width: 350px; /* PCで見ても広がりすぎないように */
        
        scroll-snap-align: start; /* 左端で止まる */
        
        /* デザイン */
        display: block; /* グリッド解除 */
        background-color: #1a1a1a;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        padding: 2rem;
        
        /* アニメーション用 */
        transition: transform 0.3s ease;
    }

    .strength-row:last-child {
        margin-right: 5vw; /* 最後のカードの右に余白 */
    }

    /* 中身の文字サイズ調整 */
    .row-num {
        font-size: 2rem;
        margin-bottom: 0.5rem;
        display: block;
    }

    .row-title {
        font-size: 1.5rem;
        min-height: 3rem; /* 高さ揃え */
        margin-bottom: 1rem;
        display: flex;
        align-items: center;
    }

    .row-text {
        font-size: 0.9rem;
        line-height: 1.6;
        color: #ccc;
    }
    
    /* ハイライトカード */
    .strength-row.highlight {
        border-color: var(--color-gold);
        background: linear-gradient(135deg, #222, #111);
    }
}

/* ==========================================================================
   PAGE: Mission Styles
   ========================================================================== */

/* 1. Mission Hero */
.mission-hero {
    padding: 200px 0 100px;
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.mission-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20vw;
    font-family: var(--font-heading);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
}

.hero-title-mission {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 1;
    color: #666; /* Default gray for contrast */
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

/* 2. The Origin (I wish -> I'm glad) */
.section-origin {
    padding: 8rem 0;
    background-color: #050505; /* Deepest black */
}

.origin-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.origin-quote-box {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.origin-before { color: #666; }
.origin-arrow { 
    color: var(--color-accent); 
    font-size: 2rem; 
    margin: 1rem 0; 
    opacity: 0.8;
}
.origin-after { color: white; }

.origin-text p {
    font-size: 1.2rem;
    color: #ccc;
    line-height: 1.8;
}

/* 3. Statement Grid */
.section-statement {
    padding: 8rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.statement-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
}

.statement-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    line-height: 0.9;
    letter-spacing: -2px;
    color: rgba(255,255,255,0.1);
}

.statement-lead {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    border-left: 3px solid var(--color-gold);
    padding-left: 1.5rem;
}

.statement-desc p {
    font-size: 1.05rem;
    color: #aaa;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* 4. J.A.P.A.N. Values Grid */
.section-values {
    padding: 8rem 0;
    background-color: var(--color-bg);
}

.japan-values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Value Card Design */
.value-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.value-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Highlight Card (Prevention) */
.value-card.highlight {
    border-color: var(--color-accent);
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.05), transparent);
}

.value-char {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1); /* Subtle default */
    margin-bottom: 1rem;
}

.value-content h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.value-content p {
    font-size: 0.95rem;
    color: #999;
    line-height: 1.6;
}

/* Footer of values section */
.values-footer {
    margin-top: 5rem;
}

.final-message {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Mobile Responsiveness for Mission */
@media (max-width: 900px) {
    .hero-title-mission { font-size: 3.5rem; }
    
    .statement-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .statement-title {
        font-size: 4rem;
        margin-bottom: 1rem;
    }
    
    .origin-quote-box { font-size: 1.8rem; }
    
    .japan-values-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
}

/* ==========================================================================
   STEP 1: MISSION HERO (English Only / Scientific Zen)
   ========================================================================== */

/* コンテナ設定 */
.mission-hero-v2 {
    position: relative;
    width: 100%;
    min-height: 85vh; /* 画面の85%の高さを確保 */
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-bg);
    padding-top: var(--header-height);
}

/* 背景画像設定 */
.mission-hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('images/hero-bg_2.jpg') center/cover no-repeat;
    filter: grayscale(100%) brightness(0.3); /* 彩度を落とし、かなり暗くする */
    z-index: 0;
}

/* 背景の巨大文字 */
.mission-bg-text-layer {
    position: absolute;
    top: 50%;
    right: -5%;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: 25vw;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03); /* ほぼ透明 */
    line-height: 1;
    pointer-events: none;
    z-index: 1;
}

/* レイアウト */
.hero-content-mission {
    position: relative;
    z-index: 10;
    width: 100%;
}

.mission-layout-grid {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

/* 左側の装飾（縦ラインと英語ラベル） */
.mission-vertical-deco {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0.5rem;
}

.vertical-label-en {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg); /* 下から上へ読む向き */
    font-family: var(--font-heading);
    color: var(--color-gold);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.vertical-line {
    width: 1px;
    height: 120px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
}

/* タイトルエリア */
.hero-title-mission {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    line-height: 1;
    text-transform: uppercase;
    color: #888; /* ベースはグレー */
    margin-bottom: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-title-mission .title-line {
    display: block;
}

.hero-title-mission .text-white {
    color: #fff; /* 強調ワード */
}

.hero-title-mission .text-accent {
    color: var(--color-accent);
    /* 赤い光彩効果 */
    text-shadow: 0 0 30px rgba(211, 47, 47, 0.5);
}

/* サブメッセージ（英語のみ） */
.mission-sub-message {
    border-left: 2px solid var(--color-gold);
    padding-left: 2rem;
}

.mission-sub-message p {
    font-family: 'Times New Roman', Times, serif; /* 明朝体の代わりにセリフ体 */
    font-style: italic; /* イタリックにしてエレガンスを出す */
    font-size: 1.3rem;
    color: #ccc;
    line-height: 1.6;
    font-weight: 300;
}

/* --- スマホ対応 (Hero) --- */
@media (max-width: 768px) {
    .mission-hero-v2 {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 5rem;
    }

    .mission-layout-grid {
        gap: 1.5rem;
    }

    .vertical-line { height: 60px; }
    
    .hero-title-mission {
        font-size: 3rem;
        margin-bottom: 2rem;
    }

    .mission-sub-message p {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   STEP 2: ORIGIN SECTION (Final Version)
   ========================================================================== */

/* セクション全体：背景に2つの光を灯して奥行きを作る */
.section-origin-zen {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
    
    /* 背景グラデーション */
    background: 
    /* 未来側：強いゴールド */
    radial-gradient(
      circle at 75% 50%,
      rgba(197,160,89,0.45) 0%,
      rgba(197,160,89,0.30) 20%,
      rgba(197,160,89,0.15) 40%,
      transparent 65%
    ),
    /* 過去側：はっきりブルーグレー */
    radial-gradient(
          circle at 25% 50%,
          rgba(100,110,120,0.35) 0%,
          rgba(86,90,95,0.22) 25%,
          rgba(200,210,220,0.10) 45%,
          transparent 65%
        ),
        /* ベースの色：漆黒 */
        #050505;
}

/* レイアウトグリッド */
.origin-flow-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

/* ラベル (PAST REGRET / FUTURE MASTERY) */
.meta-label {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* 左側 (Past) のスタイル */
.origin-past {
    text-align: right;
    /* 以前のopacity設定を削除し、視認性を確保 */
}

.origin-past .meta-label {
    color: #888; /* 暗すぎないグレー */
}

/* 引用文: "I wish I had known..." */
.fade-quote {
    font-family: 'Times New Roman', Times, serif; /* 古さを演出するSerif体 */
    font-style: italic;
    font-size: 2.5rem;
    font-weight: 400;
    /* 背景の光に乗るように、少し明るめのシルバーグレーに */
    color: #777; 
    transition: color 0.3s ease;
}

/* ホバー時に少し明るくして「記憶が蘇る」演出 */
.origin-past:hover .fade-quote {
    color: #aaa;
}

/* 中央の接続パーツ (Connector) */
.origin-connector-visual {
    position: relative;
    width: 150px;
    height: 2px;
    display: flex;
    align-items: center;
    flex-shrink: 0; /* 縮まないように固定 */
}

.connector-line {
    width: 100%;
    height: 1px;
    /* 左（グレー）から右（ゴールド）へのグラデーション */
    background: linear-gradient(90deg, #444 0%, var(--color-gold) 100%);
    opacity: 0.6;
}

.connector-node {
    width: 12px;
    height: 12px;
    background-color: var(--color-bg);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    position: absolute;
    right: 0;
    /* ゴールドの光彩 */
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.4); 
}

/* 右側 (Future) のスタイル */
.origin-future {
    text-align: left;
}

.origin-future .meta-label {
    color: var(--color-gold); /* ゴールドで強調 */
}

/* 引用文: "Now I know." */
.glow-quote {
    font-family: var(--font-heading); /* 力強いSans-Serif */
    font-size: 3rem;
    color: white; /* 純白 */
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1;
    /* テキストの発光表現 */
    text-shadow: 0 0 20px rgba(197, 160, 89, 0.3);
}

.origin-desc-en {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    font-weight: 300;
    max-width: 400px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 1.5rem;
}

/* --- スマホ・モバイル対応 --- */
@media (max-width: 768px) {
    .section-origin-zen {
        padding: 6rem 0;
        /* スマホ用の背景光調整（上下に配置） */
        background:
            /* 下部：ゴールド（未来） */
            radial-gradient(
                ellipse at 50% 75%,
                rgba(197, 160, 89, 0.35) 0%,
                rgba(197, 160, 89, 0.22) 25%,
                rgba(197, 160, 89, 0.10) 45%,
                transparent 65%
            ),
            /* 上部：ブルーグレー（過去） */
            radial-gradient(
                ellipse at 50% 25%,
                rgba(100, 110, 120, 0.28) 0%,
                rgba(86, 90, 95, 0.18) 30%,
                rgba(200, 210, 220, 0.08) 50%,
                transparent 65%
            ),
            #050505;
    }

    .origin-flow-grid {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .origin-past, .origin-future {
        text-align: center;
        width: 100%;
    }

    /* スマホでの視認性をさらに高める */
    .fade-quote {
        font-size: 2rem;
        color: #999; /* さらに明るく */
    }

    .origin-desc-en {
        margin: 0 auto;
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 1rem;
    }

    /* コネクタを縦向きに変更 */
    .origin-connector-visual {
        width: 2px;
        height: 60px; /* 縦の長さ */
        flex-direction: column;
    }
    
    .connector-line {
        width: 1px;
        height: 100%;
        /* 上（グレー）から下（ゴールド）へのグラデーション */
        background: linear-gradient(to bottom, #444 0%, var(--color-gold) 100%);
    }
    
    .connector-node {
        bottom: 0;
        top: auto;
        right: -5px; /* 中央配置の微調整 */
    }
}


/* --- 3. Statement (Geometric Background) --- */
.section-jpn-statement {
    padding: 8rem 0;
    position: relative;
    background-color: var(--color-bg-alt);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

/* 麻の葉模様のような幾何学パターン（CSSグラデーションで生成） */
.jpn-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(30deg, rgba(255,255,255,0.02) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.02) 87.5%, rgba(255,255,255,0.02)),
        linear-gradient(150deg, rgba(255,255,255,0.02) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.02) 87.5%, rgba(255,255,255,0.02)),
        linear-gradient(30deg, rgba(255,255,255,0.02) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.02) 87.5%, rgba(255,255,255,0.02)),
        linear-gradient(150deg, rgba(255,255,255,0.02) 12%, transparent 12.5%, transparent 87%, rgba(255,255,255,0.02) 87.5%, rgba(255,255,255,0.02)),
        linear-gradient(60deg, rgba(255,255,255,0.02) 25%, transparent 25.5%, transparent 75%, rgba(255,255,255,0.02) 75%, rgba(255,255,255,0.02)),
        linear-gradient(60deg, rgba(255,255,255,0.02) 25%, transparent 25.5%, transparent 75%, rgba(255,255,255,0.02) 75%, rgba(255,255,255,0.02));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    opacity: 0.3;
    pointer-events: none;
}

.statement-box {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--color-gold);
    padding: 4rem;
    background: rgba(10, 10, 10, 0.8); /* 背景を少し暗くして文字を読ませる */
    backdrop-filter: blur(5px);
}

.statement-logo {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    letter-spacing: 0.5rem;
    margin-bottom: 1rem;
    color: white;
}

.statement-jp {
    font-size: 1.5rem;
    color: var(--color-gold);
    letter-spacing: 1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.statement-body {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #bbb;
}

/* ==========================================================================
   STEP 3: STATEMENT SECTION (Radical Redesign)
   ========================================================================== */

.section-statement-structure {
    position: relative;
    /* 上下の余白を広げて、画面全体を使った演出にする */
    padding: 14rem 0;
    background-color: #050505;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 1. 背景グリッド（控えめに） */
.structure-grid-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 0;
}

/* 2. エネルギー・グロー（背景の赤い光） */
.energy-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(211, 47, 47, 0.15) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
    filter: blur(50px);
}

/* 3. 巨大タイポグラフィ（建築物のような背景） */
.structure-typo-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg); /* 少し斜めにして動感を出す */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    width: 100%;
    pointer-events: none;
    line-height: 0.85;
}

.giant-line {
    font-family: var(--font-heading);
    font-size: 22vw; /* 画面からはみ出すサイズ */
    font-weight: 800;
    text-transform: uppercase;
    color: #0f0f0f; /* ほぼ黒に近いグレー（塊感） */
    white-space: nowrap;
    text-shadow: 0 0 30px rgba(0,0,0,0.5); /* 文字自体に影を落として浮き上がらせる */
}

/* 真ん中の PRACTICE だけアウトラインにして抜け感を出す */
.giant-line.outline {
    color: transparent;
    -webkit-text-stroke: 2px #1a1a1a;
}

/* 4. メッセージカード（漆黒のモノリス） */
.statement-content-layer {
    position: relative;
    z-index: 10; /* 最前面 */
    display: flex;
    justify-content: center;
}

.statement-monolith {
    max-width: 750px;
    /* 背景を透過させず、深い黒で塗りつぶして存在感を出す */
    background: linear-gradient(145deg, #0a0a0a, #000000);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 5rem 4rem;
    position: relative;
    /* 強烈な影で浮遊感を演出 */
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.9),
        0 0 0 1px rgba(0, 0, 0, 1); 
}

/* 左側のアクセントバー（金） */
.monolith-accent {
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
}

/* リード文 */
.statement-lead-en {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-gold-highlight {
    color: var(--color-gold);
    border-bottom: 2px solid var(--color-accent); /* 赤い下線 */
    padding-bottom: 5px;
}

/* 本文 */
.statement-body-en p {
    font-size: 1.1rem;
    color: #888;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

/* 5. スペックバー（機械的な詳細情報） */
.specs-bar {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-item .label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #444;
    margin-bottom: 0.5rem;
}

.spec-item .value {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #ccc;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- スマホ対応 --- */
@media (max-width: 768px) {
    .section-statement-structure {
        padding: 8rem 0;
    }

    .giant-line {
        font-size: 28vw; /* スマホではさらに巨大に */
    }
    
    .statement-monolith {
        padding: 3rem 2rem;
        margin: 0 1rem;
        border-left: none; /* ボーダーリセット */
    }
    
    .monolith-accent {
        width: 100%;
        height: 2px;
        bottom: auto;
        background: linear-gradient(to right, var(--color-gold), transparent);
    }

    .statement-lead-en {
        font-size: 1.8rem;
    }

    .specs-bar {
        grid-template-columns: 1fr; /* 縦並び */
        gap: 2rem;
        text-align: left;
    }
}

/* --- 4. J.A.P.A.N. Code (Timeline Layout) --- */
.section-japan-code {
    padding: 5rem 0;
    background-color: var(--color-bg);
}

.code-intro {
    text-align: center;
    margin-bottom: 6rem;
}

/* タイムラインの構造 */
.japan-timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* 中央を貫く赤い線 */
.center-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--color-accent), var(--color-accent), transparent);
    transform: translateX(-50%);
    opacity: 0.7;
}

.code-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    position: relative;
}

/* 左側の巨大文字 */
.code-letter-large {
    flex: 1;
    text-align: right;
    padding-right: 3rem;
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255, 255, 255, 0.05); /* 透かしのように */
    transition: all 0.3s ease;
}

.code-row:hover .code-letter-large {
    color: rgba(255, 255, 255, 0.2);
    transform: translateX(-10px);
}

/* 中央のドット */
.code-dot {
    width: 12px;
    height: 12px;
    background-color: var(--color-bg);
    border: 2px solid var(--color-gold);
    border-radius: 50%;
    z-index: 2;
    flex-shrink: 0; /* 潰れないように */
}

/* P (Prevention) の強調ドット */
.dot-accent {
    border-color: var(--color-accent);
    background-color: var(--color-accent);
    box-shadow: 0 0 15px var(--color-accent);
}

/* 右側の詳細テキスト */
.code-detail {
    flex: 1;
    padding-left: 3rem;
    text-align: left;
}

.code-detail h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.jp-sub {
    font-size: 0.9rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    display: block;
}

.desc {
    font-size: 0.95rem;
    color: #888;
    line-height: 1.6;
    max-width: 350px;
}

/* 右揃えレイアウト（偶数番目の行用） */
.code-row.right-align {
    flex-direction: row; /* 要素順はHTMLで制御、ここはデフォルト */
}
.code-row.right-align .code-letter-large {
    text-align: left;
    padding-left: 3rem;
    padding-right: 0;
}
.code-row.right-align .code-detail {
    text-align: right;
    padding-right: 3rem;
    padding-left: 0;
}
/* 右揃え時のdescの位置調整 */
.code-row.right-align .desc {
    margin-left: auto; /* 右寄せ */
}
.code-row.right-align:hover .code-letter-large {
    transform: translateX(10px);
}

/* ハイライト行の特別演出 */
.highlight-row .desc {
    color: white;
}

/* --- 5. Minimal CTA --- */
.cta-minimal {
    padding: 4rem 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.cta-message {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #666;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero-layout-v2 {
        flex-direction: row; /* スマホでも横並び維持 */
        align-items: center;
        gap: 1.5rem;
    }
    
    .vertical-label {
        height: 100px; /* 少し短く */
        font-size: 0.7rem;
    }

    .origin-split {
        flex-direction: column;
        gap: 2rem;
    }
    
    .origin-center-line {
        width: 100px;
        height: 1px; /* 横線に変更 */
        transform: rotate(0);
        margin: 1rem auto;
    }

    .statement-box {
        padding: 2rem;
    }
    
    .statement-logo { font-size: 1.8rem; letter-spacing: 2px; }
    .statement-jp { letter-spacing: 0.5rem; }

    /* スマホ版タイムライン：中央線を左端に寄せる */
    .center-line {
        left: 20px; /* 左端に配置 */
        transform: none;
    }

    .code-row, .code-row.right-align {
        flex-direction: column; /* 縦積みにしないと入らない */
        align-items: flex-start;
        margin-left: 20px; /* 線の分あける */
        padding-left: 20px;
        margin-bottom: 3rem;
        border-left: none; /* center-lineがあるので不要 */
    }

    /* スマホでは巨大文字を背景のように配置 */
    .code-letter-large {
        position: absolute;
        top: -1rem;
        left: 1rem;
        font-size: 5rem;
        opacity: 0.1;
        text-align: left;
        padding: 0;
        z-index: 0;
    }
    
    /* 右配置の打ち消し */
    .code-row.right-align .code-letter-large {
        text-align: left;
        left: 1rem;
        padding: 0;
    }

    .code-dot {
        position: absolute;
        left: -6px; /* 線の中心に合わせる */
        top: 0;
    }

    .code-detail, .code-row.right-align .code-detail {
        text-align: left;
        padding: 0;
        padding-left: 1rem; /* ドットとの距離 */
        z-index: 1;
    }
    
    .code-row.right-align .desc {
        margin-left: 0;
    }
}

/* ==========================================================================
   MOBILE OPTIMIZATION FIXES (Mission Page)
   ========================================================================== */

@media (max-width: 768px) {
    /* 1. 過剰な余白の削減 (PC: 8~10rem -> Mobile: 4rem) */
    .mission-hero,
    .section-origin-v2,
    .section-jpn-statement,
    .section-statement,
    .section-japan-code,
    .cta-minimal {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* 2. ヒーローセクションの調整 */
    .mission-hero {
        padding-top: 140px !important; /* ヘッダー被り防止 */
        padding-bottom: 3rem !important;
        min-height: auto; /* 高さを強制しない */
    }
    .hero-title-mission {
        font-size: 3rem; /* タイトルを画面に収める */
        margin-bottom: 1rem;
    }
    .mission-bg-text {
        font-size: 40vw; /* 背景文字のサイズ調整 */
        top: 30%;
    }

    /* 3. Origin (I wish...) セクションの整理 */
    .section-origin-v2 {
        background-color: #050505;
    }
    .origin-split {
        gap: 1.5rem; /* 要素間隔を詰める */
    }
    .origin-center-line {
        /* 斜め線を「短い横線」に変更して区切りを良くする */
        width: 40px;
        height: 1px;
        transform: rotate(0);
        margin: 1rem auto;
        background: var(--color-gold);
    }
    .fade-text, .gold-text {
        font-size: 1.8rem; /* 文字サイズを適正化 */
        margin-bottom: 0.5rem;
    }

    /* 4. J.A.P.A.N. コード（赤い糸）のスマホ最適化 */
    .japan-timeline {
        margin-top: 1rem;
        /* 左端のスペース確保 */
        padding-left: 0; 
    }

    /* 中央線を「左端」に寄せてタイムライン化 */
    .center-line {
        left: 15px; /* 左端から15pxの位置 */
        transform: none;
        width: 1px; /* 線を少し細く */
        opacity: 0.5;
    }

    /* 各行のレイアウト */
    .code-row, 
    .code-row.right-align {
        flex-direction: column; /* 縦積みに */
        align-items: flex-start;
        margin-left: 30px; /* 線の分だけ中身を右にずらす */
        padding-left: 1.5rem; /* テキストの左余白 */
        margin-bottom: 3rem; /* 下の要素との間隔を詰める */
        border-left: none;
        position: relative;
    }

    /* 巨大文字(J, A, P...)を背景として配置 */
    .code-letter-large, 
    .code-row.right-align .code-letter-large {
        position: absolute;
        top: -1.5rem;
        left: 0;
        font-size: 6rem;
        opacity: 0.07; /* かなり薄くして邪魔しないように */
        text-align: left;
        padding: 0;
        z-index: 0;
        pointer-events: none; /* タップの邪魔をしない */
    }

    /* 赤い点・金の点 */
    .code-dot {
        position: absolute;
        left: -21px; /* center-line (left:15px) の上に乗るように調整 */
        top: 0;
        width: 10px;
        height: 10px;
        border-width: 1px;
    }

    /* テキストエリア */
    .code-detail, 
    .code-row.right-align .code-detail {
        padding: 0;
        text-align: left;
        z-index: 1;
        width: 100%;
    }

    /* 見出しとサブテキスト */
    .code-detail h3 {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
    }
    .jp-sub {
        font-size: 0.8rem;
        margin-bottom: 0.8rem;
        opacity: 0.8;
    }
    .desc {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-left: 0;
    }
}

/* ==========================================================================
   NEW PAGE STYLES - Mission, Methodology, Services, Contact, Terms
   ========================================================================== */

/* --- MISSION PAGE --- */
.mission-hero-dramatic {
    min-height: 70vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 80px;
    background-color: var(--color-bg);
    overflow: hidden;
}

.hero-bg-layer {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    z-index: 0;
}

.mission-giant-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-heading);
    font-size: 20vw;
    font-weight: 800;
    color: rgba(255,255,255,0.02);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
}

.mission-hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: flex-start;
    gap: 3rem;
}

.hero-vertical-line {
    width: 2px;
    height: 200px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    flex-shrink: 0;
}

.hero-label-mission {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.mission-title-main {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    color: #888;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 2rem;
}

.mission-title-main .text-white {
    color: white;
}

.mission-subtitle-hero {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.8;
}

/* Origin Story Section */
.section-origin-story {
    padding: 6rem 0;
    background-color: var(--color-bg-alt);
}

.origin-grid {
    display: flex;
    align-items: stretch;
    gap: 2rem;
}

.origin-card {
    flex: 1;
    padding: 3rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    text-align: center;
}

.origin-card.highlight-card {
    background: rgba(197, 160, 89, 0.05);
    border-color: rgba(197, 160, 89, 0.2);
}

.origin-icon {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.origin-label {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.origin-quote-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.origin-quote-text.text-gold {
    color: var(--color-gold);
}

.origin-desc {
    color: var(--color-text-muted);
    line-height: 1.7;
}

.origin-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

.divider-line {
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, var(--color-gold), transparent);
}

.divider-arrow {
    color: var(--color-gold);
    padding: 1rem 0;
}

/* Statement Bold Section */
.section-statement-bold {
    padding: 8rem 0;
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.statement-bg-pattern {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    z-index: 0;
}

.statement-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.statement-typography {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.typo-line {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
}

.typo-line.outline {
    -webkit-text-stroke: 2px rgba(255,255,255,0.5);
    color: transparent;
}

.typo-line.accent {
    color: var(--color-accent);
}

.statement-card-elevated {
    background: var(--color-bg-alt);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 3rem;
    position: relative;
}

.card-accent-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--color-accent);
}

.statement-headline {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    line-height: 1.4;
    color: white;
    margin-bottom: 2rem;
}

.statement-paragraphs p {
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.statement-pillars {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.pillar-item {
    flex: 1;
}

.pillar-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.pillar-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-gold);
    font-weight: 600;
}

/* J.A.P.A.N. Code V2 */
.section-japan-code-v2 {
    padding: 6rem 0;
    background-color: var(--color-bg-alt);
}

.code-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-heading-large {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.code-intro-text {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.japan-code-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.15) 10%, rgba(255,255,255,0.15) 90%, transparent);
}

.code-item {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    padding-left: 50px;
    text-align: left;
}

.code-item::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 30px;
    width: 40px;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.code-item.featured {
    background: rgba(211, 47, 47, 0.05);
    border-left: 2px solid var(--color-accent);
    padding: 2rem 2rem 2rem 50px;
    border-radius: 0 4px 4px 0;
    margin-left: 0;
}

.code-item.featured::before {
    background: var(--color-accent);
    opacity: 0.4;
}

.code-letter-circle {
    width: 60px;
    height: 60px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    background: var(--color-bg);
    position: relative;
    z-index: 2;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.code-item:hover .code-letter-circle {
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 0 15px rgba(255,255,255,0.05);
}

.code-letter-circle.accent {
    border-color: var(--color-accent);
    color: var(--color-accent);
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.3);
}

.code-content {
    flex: 1;
    text-align: left;
}

.code-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.code-item:hover .code-content h3 {
    color: var(--color-gold);
}

.code-content .jp-text {
    font-family: var(--font-japanese);
    font-size: 0.9rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    opacity: 0.7;
}

.code-content p:not(.jp-text) {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --- METHODOLOGY PAGE --- */
.methodology-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
    overflow: hidden;
}

.methodology-giant-num {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    font-family: var(--font-heading);
    font-size: 40vw;
    font-weight: 800;
    color: rgba(255,255,255,0.02);
    z-index: 1;
    pointer-events: none;
}

.methodology-hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.methodology-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    color: white;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.methodology-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

/* Layers Intro */
.section-layers-intro {
    padding: 4rem 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.layers-overview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.layer-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.layer-block.highlight {
    background: rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.3);
}

.layer-indicator {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
}

.layer-info-block h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.3rem;
}

.layer-info-block p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.3rem;
}

.layer-pillars-list {
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.layer-connector {
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

/* Pillars Grid */
.section-pillars-grid {
    padding: 4rem 0;
    background-color: var(--color-bg);
}

.pillar-layer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.pillar-layer-header:first-child {
    margin-top: 0;
}

.layer-tag {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-gold);
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--color-gold);
    border-radius: 2px;
}

.layer-tag.accent {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.pillar-layer-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: white;
}

.pillars-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.pillar-card {
    background: var(--color-bg-alt);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.pillar-card.highlight {
    border-color: rgba(197, 160, 89, 0.3);
    background: rgba(197, 160, 89, 0.05);
}

.pillar-num-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.05);
}

.pillar-icon {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: white;
    margin-bottom: 1rem;
}

.pillar-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.pillar-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.pillar-keywords span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-gold);
    padding: 0.3rem 0.6rem;
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-radius: 2px;
}

/* Philosophy Quote */
.section-philosophy-quote {
    padding: 6rem 0;
    background: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);
}

.philosophy-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.quote-mark {
    font-size: 8rem;
    font-family: serif;
    color: var(--color-accent);
    opacity: 0.2;
    line-height: 0.5;
    margin-bottom: 1rem;
}

.philosophy-text {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.philosophy-sub {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* --- SERVICES PAGE --- */
.services-hero {
    min-height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 160px 0 80px;
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
    overflow: hidden;
}

.services-hero-content {
    position: relative;
    z-index: 10;
    max-width: 700px;
}

.services-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    color: white;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.services-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

/* Service Detail Section */
.section-services-detail {
    padding: 4rem 0;
    background-color: var(--color-bg);
}

.service-block {
    margin-bottom: 4rem;
}

.service-block-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--color-bg-alt);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    overflow: hidden;
}

.service-block.reverse .service-block-inner {
    direction: rtl;
}

.service-block.reverse .service-block-inner > * {
    direction: ltr;
}

.service-block.highlight-block .service-block-inner {
    border-color: rgba(197, 160, 89, 0.3);
}

.service-image-side {
    position: relative;
    min-height: 400px;
}

.service-image-wrapper {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.service-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 100%);
}

.image-overlay.gold {
    background: linear-gradient(135deg, rgba(197, 160, 89, 0.2) 0%, rgba(0,0,0,0.3) 100%);
}

.service-number {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 800;
    color: rgba(255,255,255,0.1);
    line-height: 1;
}

.service-number.gold {
    color: rgba(197, 160, 89, 0.3);
}

.service-content-side {
    padding: 3rem;
    display: flex;
    flex-direction: column;
}

.service-header {
    margin-bottom: 1.5rem;
}

.service-target {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
}

.service-content-side h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: white;
    line-height: 1.2;
}

.recommended-badge {
    display: inline-block;
    background: var(--color-gold);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.8rem;
    border-radius: 2px;
    margin-top: 0.5rem;
}

.service-description {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    color: #ccc;
}

.feature-item svg {
    color: var(--color-gold);
    flex-shrink: 0;
}

.service-trial-box {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid rgba(211, 47, 47, 0.3);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.trial-badge {
    background: var(--color-accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.6rem;
    border-radius: 2px;
}

.trial-content {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.trial-title {
    color: white;
    font-weight: 600;
}

.trial-price {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: white;
}

.trial-price .unit {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.service-pricing {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-main {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: white;
}

.price-main.gold {
    color: var(--color-gold);
}

.price-unit {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.price-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.service-content-side .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Free Consultation Section */
.section-free-consult {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1a0a0a 0%, #0a0a0a 100%);
}

.consult-wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.consult-visual {
    text-align: center;
}

.consult-icon-circle {
    width: 120px;
    height: 120px;
    border: 2px solid rgba(197, 160, 89, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.free-tag {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-accent);
}

.consult-content h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
}

.consult-content h3 {
    font-size: 1.2rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.consult-content > p {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.consult-benefits {
    list-style: none;
    margin-bottom: 2rem;
}

.consult-benefits li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.consult-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-gold);
}

/* FAQ Section */
.section-faq {
    padding: 4rem 0;
    background-color: var(--color-bg-alt);
}

.faq-header {
    text-align: center;
    margin-bottom: 3rem;
}

.faq-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: white;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 4px;
}

.faq-item h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --- CONTACT PAGE --- */
.subpage-hero.contact-hero {
    min-height: auto;
    height: auto;
    padding: 140px 0 60px;
}

.contact-hero .hero-content-centered {
    padding-top: 0;
    padding-bottom: 0;
}

.contact-hero .hero-contact-stats {
    margin-top: 1.5rem;
}

.contact-hero-content {
    position: relative;
    z-index: 10;
}

.contact-title {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1.1;
    color: white;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

/* Contact Main Section */
.section-contact-main {
    padding: 4rem 0;
    background-color: var(--color-bg);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
}

.info-icon {
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.1rem;
    color: white;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.response-notice {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 4px;
}

.notice-icon {
    color: var(--color-gold);
}

.response-notice p {
    color: #ccc;
    font-size: 0.9rem;
}

.form-card {
    background: var(--color-bg-alt);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 3rem;
    border-radius: 4px;
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: white;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--color-text-muted);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.required {
    color: var(--color-accent);
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 2rem;
}

.privacy-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.privacy-note svg {
    color: var(--color-gold);
}

/* Quick Links Section */
.section-quick-links {
    padding: 4rem 0;
    background-color: var(--color-bg-alt);
}

.quick-links-header {
    text-align: center;
    margin-bottom: 3rem;
}

.quick-links-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: white;
    margin-bottom: 0.5rem;
}

.quick-links-header p {
    color: var(--color-text-muted);
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.quick-link-card {
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s ease;
}

.quick-link-card:hover {
    border-color: var(--color-gold);
    transform: translateY(-5px);
}

.quick-link-icon {
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.quick-link-card h3 {
    font-size: 1rem;
    color: white;
    margin-bottom: 0.5rem;
}

.quick-link-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.link-arrow {
    color: var(--color-gold);
    font-size: 1.2rem;
}

/* --- TERMS PAGE --- */
.terms-hero {
    min-height: 30vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 140px 0 60px;
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%);
    overflow: hidden;
}

.terms-hero-content {
    position: relative;
    z-index: 10;
}

.terms-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: white;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.terms-subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
}

/* Terms Content Section */
.section-terms-content {
    padding: 4rem 0;
    background-color: var(--color-bg);
}

.terms-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 4rem;
}

.terms-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.terms-nav h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.terms-nav ul {
    list-style: none;
}

.terms-nav li {
    margin-bottom: 0.8rem;
}

.terms-nav a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
    display: block;
    padding-left: 1rem;
    border-left: 2px solid transparent;
}

.terms-nav a:hover {
    color: white;
    border-left-color: var(--color-gold);
}

.terms-main {
    max-width: 800px;
}

.terms-intro {
    padding: 2rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 4px;
    margin-bottom: 3rem;
}

.terms-intro p {
    color: var(--color-text-muted);
    line-height: 1.8;
}

.terms-article {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.article-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255,255,255,0.1);
}

.article-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
}

.article-content p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.highlight-box {
    background: rgba(211, 47, 47, 0.1);
    border-left: 3px solid var(--color-accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    color: #ccc;
}

.terms-list {
    list-style: none;
    margin: 1rem 0;
}

.terms-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ccc;
}

.terms-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.terms-list.check li::before {
    content: "✓";
    color: var(--color-gold);
}

.terms-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
}

.terms-col h4 {
    font-size: 1rem;
    color: white;
    margin-bottom: 1rem;
}

.terms-footer {
    padding: 2rem;
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 4px;
    text-align: center;
}

.terms-footer p {
    color: #ccc;
}

.terms-footer a {
    color: var(--color-gold);
    text-decoration: underline;
}

/* --- RESPONSIVE STYLES FOR NEW PAGES --- */
@media (max-width: 991px) {
    .mission-title-main,
    .methodology-title,
    .services-title,
    .contact-title {
        font-size: 3rem;
    }

    .origin-grid {
        flex-direction: column;
    }

    .origin-divider {
        flex-direction: row;
        padding: 1rem 0;
    }

    .divider-line {
        width: 60px;
        height: 2px;
    }

    .statement-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .typo-line {
        font-size: 4rem;
    }

    .layers-overview {
        flex-direction: column;
    }

    .layer-connector {
        width: 2px;
        height: 40px;
    }

    .pillars-row {
        grid-template-columns: 1fr;
    }

    .service-block-inner {
        grid-template-columns: 1fr;
    }

    .service-block.reverse .service-block-inner {
        direction: ltr;
    }

    .service-image-side {
        min-height: 300px;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .terms-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .terms-sidebar {
        position: static;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .consult-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mission-title-main,
    .methodology-title,
    .services-title,
    .contact-title,
    .terms-title {
        font-size: 2.5rem;
    }

    .japan-code-timeline {
        padding-left: 15px;
    }

    .code-item {
        padding-left: 40px;
        gap: 1.5rem;
    }

    .code-item::before {
        width: 25px;
        left: 15px;
    }

    .timeline-line {
        left: 15px;
    }

    .code-item.featured {
        padding-left: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-footer {
        flex-direction: column;
        gap: 1rem;
    }

    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    .terms-columns {
        grid-template-columns: 1fr;
    }

    .statement-pillars {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ==========================================================================
   NEW SUBPAGE HERO STYLES - Cinematic & Impactful
   ========================================================================== */

/* Base Subpage Hero */
.subpage-hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #050505;
}

/* Background Image Layer */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: 1;
}

/* Gradient Overlay */
.hero-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.9) 0%,
        rgba(5, 5, 5, 0.5) 40%,
        rgba(5, 5, 5, 0.7) 70%,
        rgba(5, 5, 5, 1) 100%
    );
    z-index: 2;
}

.hero-gradient-overlay.services-gradient {
    background: linear-gradient(
        180deg,
        rgba(5, 5, 5, 0.95) 0%,
        rgba(5, 5, 5, 0.6) 50%,
        rgba(5, 5, 5, 1) 100%
    );
}

.hero-gradient-overlay.contact-gradient {
    background: linear-gradient(
        135deg,
        rgba(5, 5, 5, 0.95) 0%,
        rgba(20, 10, 10, 0.8) 50%,
        rgba(5, 5, 5, 1) 100%
    );
}

.hero-gradient-overlay.terms-gradient {
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 1) 0%,
        rgba(15, 15, 15, 0.95) 100%
    );
}

/* Noise Texture */
.hero-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    z-index: 3;
    pointer-events: none;
}

/* Hero Content Centered */
.hero-content-centered {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content-left {
    position: relative;
    z-index: 10;
    text-align: left;
    max-width: 800px;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-badge span:last-child {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}

/* Massive Title */
.hero-title-massive {
    margin-bottom: 2rem;
}

.hero-title-massive .title-line {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -2px;
    color: rgba(255, 255, 255, 0.4);
}

.hero-title-massive .title-line.highlight {
    color: white;
}

/* Hero Tagline */
.hero-tagline {
    font-size: clamp(1rem, 2vw, 1.3rem);
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-content-left .hero-tagline {
    margin: 0 0 3rem;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.hero-scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* --- MISSION HERO SPECIFIC --- */
.hero-kanji-float {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    display: flex;
    gap: 5vw;
    pointer-events: none;
}

.kanji-char {
    font-family: var(--font-japanese);
    font-size: clamp(8rem, 20vw, 20rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
}

.kanji-char.k1 { animation: float1 6s ease-in-out infinite; }
.kanji-char.k2 { animation: float2 8s ease-in-out infinite; }
.kanji-char.k3 { animation: float3 7s ease-in-out infinite; }

@keyframes float1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* --- METHODOLOGY HERO SPECIFIC --- */
.hero-giant-element {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    text-align: center;
    pointer-events: none;
}

.giant-number {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(15rem, 35vw, 35rem);
    font-weight: 900;
    line-height: 0.8;
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: -20px;
}

.giant-label {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 3vw, 2rem);
    letter-spacing: 1rem;
    color: rgba(197, 160, 89, 0.3);
    margin-top: -2rem;
}

.hero-split-layout {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text-side {
    max-width: 700px;
}

.hero-visual-side {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pillar-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.preview-item.active {
    background: rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.3);
}

.preview-layer {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-gold);
    padding: 0.3rem 0.6rem;
    border: 1px solid var(--color-gold);
    border-radius: 2px;
}

.preview-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* --- SERVICES HERO SPECIFIC --- */
.hero-service-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.service-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    min-width: 120px;
}

.service-nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.service-nav-item.featured {
    background: rgba(197, 160, 89, 0.1);
    border-color: rgba(197, 160, 89, 0.4);
}

.service-nav-item.featured:hover {
    background: rgba(197, 160, 89, 0.2);
}

.nav-num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 0.5rem;
}

.nav-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.3rem;
}

.nav-price {
    font-size: 0.9rem;
    color: var(--color-gold);
}

.nav-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--color-accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.6rem;
    border-radius: 2px;
}

/* --- CONTACT HERO SPECIFIC --- */
.hero-floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
    overflow: hidden;
}

.float-icon {
    position: absolute;
    color: rgba(197, 160, 89, 0.15);
    animation: floatIcon 10s ease-in-out infinite;
}

.float-icon.f1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.float-icon.f2 {
    top: 60%;
    right: 15%;
    animation-delay: -3s;
}

.float-icon.f3 {
    bottom: 25%;
    left: 20%;
    animation-delay: -6s;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.15; }
    50% { transform: translateY(-30px) rotate(10deg); opacity: 0.25; }
}

.hero-contact-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    margin-bottom: 0.3rem;
}

.stat-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* --- TERMS HERO SPECIFIC --- */
.terms-hero-v2 {
    min-height: 60vh;
}

.terms-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
}

.pattern-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 50px,
            rgba(255, 255, 255, 0.02) 50px,
            rgba(255, 255, 255, 0.02) 51px
        );
}

.terms-meta {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.meta-item svg {
    color: var(--color-gold);
}

/* ==========================================================================
   ENHANCED MOBILE RESPONSIVE - All Subpages
   ========================================================================== */

@media (max-width: 991px) {
    /* Subpage Heroes */
    .subpage-hero {
        min-height: 80vh;
        padding: 120px 0 60px;
    }

    .hero-title-massive .title-line {
        font-size: clamp(2rem, 10vw, 3.5rem);
        letter-spacing: -1px;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    /* Methodology Split */
    .hero-split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-visual-side {
        display: none;
    }

    .hero-giant-element {
        right: -5%;
        opacity: 0.5;
    }

    .giant-number {
        font-size: clamp(10rem, 30vw, 20rem);
    }

/* Services Nav */
    .hero-service-nav {
        flex-direction: column;
        gap: 1.5rem; /* 間隔を少し広げる */
        align-items: center; /* 中央揃え */
    }

    .service-nav-item {
        flex-direction: column; /* PCと同じ「縦積み」に戻す */
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 2rem; /* 余白を確保 */
        width: 100%;
        max-width: 280px; /* 幅を制限して綺麗な「箱」にする */
    }

    /* Popularバッジの位置を右上に固定し直す */
    .nav-badge {
        position: absolute; 
        top: -10px;
        right: -10px;
        margin-left: 0;
    }
    
    /* Contact Stats */
    .hero-contact-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 2rem;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    /* Floating Elements */
    .hero-kanji-float {
        gap: 2vw;
    }

    .kanji-char {
        font-size: clamp(5rem, 15vw, 10rem);
    }

    .hero-floating-icons {
        display: none;
    }

    /* Terms */
    .terms-meta {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    /* Subpage Heroes */
    .subpage-hero {
        min-height: 70vh;
        padding: 100px 0 40px;
    }

    .hero-content-centered,
    .hero-content-left {
        padding: 0 1rem;
    }

    .hero-title-massive .title-line {
        font-size: clamp(1.8rem, 9vw, 2.8rem);
    }

    .hero-badge {
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-badge span:last-child {
        font-size: 0.7rem;
    }

    .hero-tagline {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }

    .hero-tagline br {
        display: none;
    }

    /* Scroll Indicator */
    .hero-scroll-indicator {
        margin-top: 2rem;
    }

    .scroll-line {
        height: 40px;
    }

    /* Giant Elements */
    .hero-giant-element {
        display: none;
    }

    .hero-kanji-float {
        display: none;
    }

    /* Services */
    .service-nav-item {
        min-width: auto;
    }

    /* Contact Stats */
    .hero-contact-stats {
        margin-top: 2rem;
    }

    .stat-value {
        font-size: 1.2rem;
    }

    /* Mission Statement */
    .statement-layout {
        gap: 2rem;
    }

    .typo-line {
        font-size: 3rem;
    }

    .statement-card-elevated {
        padding: 2rem;
    }

    .statement-headline {
        font-size: 1.4rem;
    }

    /* Origin Cards */
    .origin-card {
        padding: 2rem;
    }

    .origin-quote-text {
        font-size: 1.4rem;
    }

    /* JAPAN Code */
    .japan-code-timeline {
        padding-left: 10px;
    }

    .code-letter-circle {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .code-content h3 {
        font-size: 1.2rem;
    }

    .code-item {
        padding-left: 30px;
        gap: 1rem;
    }

    .code-item::before {
        width: 20px;
        left: 10px;
    }

    .timeline-line {
        left: 10px;
    }

    .code-item.featured {
        padding: 1.5rem 1rem 1.5rem 30px;
        margin-left: 0;
        margin-right: 0;
    }

    /* Methodology Pillars */
    .layer-block {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .pillar-card {
        padding: 1.5rem;
    }

    .pillar-card h3 {
        font-size: 1.1rem;
    }

    /* Services Blocks */
    .service-content-side {
        padding: 2rem;
    }

    .service-content-side h2 {
        font-size: 1.6rem;
    }

    .price-main {
        font-size: 2.5rem;
    }

    .service-trial-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .trial-content {
        flex-direction: column;
        gap: 0.3rem;
    }

    /* Free Consultation */
    .consult-icon-circle {
        width: 80px;
        height: 80px;
        display: flex;           /* Flexboxを有効化 */
        justify-content: center; /* 水平方向（左右）の中央揃え */
        align-items: center;
    }

    .consult-icon-circle svg {
        width: 32px;
        height: 32px;
    }

    .free-tag {
        font-size: 1.5rem;
    }

    .consult-content h2 {
        font-size: 1.4rem;
    }

    /* FAQ */
    .faq-item {
        padding: 1.5rem;
    }

    .faq-item h3 {
        font-size: 1rem;
    }

    /* Contact Form */
    .form-card {
        padding: 1.5rem;
    }

    .form-header h2 {
        font-size: 1.4rem;
    }

    .info-card {
        padding: 1rem;
    }

    /* Quick Links */
    .quick-link-card {
        padding: 1.5rem;
    }

    /* Terms */
    .terms-hero-v2 {
        min-height: 50vh;
    }

    .terms-article {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .article-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .article-number {
        font-size: 1.5rem;
    }

    .article-header h2 {
        font-size: 1.3rem;
    }

    .highlight-box {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    /* Extra Small Screens */
    .subpage-hero {
        min-height: 60vh;
    }

    .hero-title-massive .title-line {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }

    .hero-tagline {
        font-size: 0.9rem;
    }

    /* Services */
    .service-nav-item {
        padding: 1rem;
    }

    .nav-title {
        font-size: 1rem;
    }

    .nav-price {
        font-size: 0.85rem;
    }

    /* Buttons */
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }

    .btn-lg {
        padding: 1rem 2rem;
    }

    /* Typography */
    .statement-headline {
        font-size: 1.2rem;
    }

    .philosophy-text {
        font-size: 1.8rem;
    }

    .section-heading-large {
        font-size: 2rem;
    }

    /* Contact Stats */
    .stat-value {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }
}
/* =========================================
   UPDATES: Terms Tables & Contact Checkbox
   ========================================= */

/* Terms Tables */
.terms-policy-block {
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.terms-policy-block h3 {
    font-size: 1.1rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.terms-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.terms-table th, 
.terms-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.terms-table th {
    color: white;
    width: 40%;
    font-weight: 600;
}

.terms-table tr:last-child td,
.terms-table tr:last-child th {
    border-bottom: none;
}

/* Contact Form Checkbox (Custom Design) */
.form-agreement {
    margin-bottom: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    position: relative;
    user-select: none;
}

/* Hide default checkbox */
.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Custom Checkbox */
.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: transparent;
    border: 1px solid var(--color-gold);
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 3px;
    transition: 0.2s;
}

.checkbox-container:hover input ~ .checkmark {
    background-color: rgba(197, 160, 89, 0.1);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--color-gold);
}

/* Checkmark indicator */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid black;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.agreement-text {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
}

.agreement-text a {
    text-decoration: underline;
}

.text-sm {
    font-size: 0.8rem;
}

/* Mobile for Tables */
@media (max-width: 600px) {
    .terms-table th, .terms-table td {
        display: block;
        width: 100%;
        padding: 0.5rem 0;
    }
    .terms-table th {
        color: var(--color-gold);
        border-bottom: none;
        padding-bottom: 0;
    }
    .terms-table td {
        padding-top: 0;
        margin-bottom: 0.5rem;
    }
}

/* =============================================
   SEO-only visually hidden content
   Accessible to crawlers & screen readers,
   but not visible on screen
   ============================================= */
.sr-only-seo {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================
   CTA Buttons Layout Fix
   ========================================= */

/* PC・基本設定 (元々HTMLに書いてあったスタイルをここに移動) */
.cta-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    width: 100%;
}

/* スマホ用設定 (縦並びに変更) */
@media (max-width: 768px) {
    .cta-btns {
        flex-direction: column; /* 縦並びにする */
        align-items: center;    /* 中央揃え */
        gap: 1.5rem;            /* ボタン間の隙間を少し広げる */
    }

    .cta-btns .btn {
        width: 100%;            /* ボタンを幅いっぱいに */
        max-width: 350px;       /* ただし広がりすぎないように制限 */
        display: block;         /* ブロック要素として扱う */
        text-align: center;
    }
}

/* =========================================
   Mobile Map Controls Fix (Add/Replace in styles.css)
   ========================================= */

@media (max-width: 768px) {
    .map-container {
        padding: 1rem;
        overflow-x: auto; /* 横スクロールを許可 */
        position: relative;
        /* Flexboxを使って配置順序を制御 */
        display: flex;
        flex-direction: column;
    }

    /* 地図本体 */
    #interactive-world-map {
        min-width: 600px;
        order: 1; /* 地図を上に */
    }

    #interactive-world-map svg {
        min-width: 600px;
        height: auto;
    }

/* --- モバイル用：地図のコントロールボタン修正 --- */
    .map-zoom-controls {
        /* Sticky配置：スクロールエリア内でも画面に追従させる */
        position: sticky; 
        
        /* 重要：スクロールしても「画面の左端」を基準にする設定 */
        left: 0; 
        bottom: 0;
        
        /* 地図の下に配置 */
        order: 2; 
        margin-top: 10px;
        
        /* 重要：横幅を「地図の幅」ではなく「スマホ画面の幅」に強制固定 */
        /* paddingの分（左右合わせて2rem = 約32px）を引いています */
        width: calc(100vw - 2rem);
        max-width: 100%;
        
        /* ボタンを横並びにして右端に寄せる */
        display: flex;
        flex-direction: row;
        justify-content: flex-end; 
        gap: 10px; /* ボタン間の隙間 */
        
        /* 誤タップ防止：バーの余白部分はクリック透過 */
        pointer-events: none; 
        z-index: 20;
    }

    /* ボタン自体のスタイル調整 */
    .zoom-btn {
        pointer-events: auto; /* ボタンのみクリック可能に戻す */
        width: 44px; /* スマホ用に少し大きく */
        height: 44px;
        font-size: 1.2rem;
        background: rgba(20, 20, 20, 0.9); /* 背景を濃くして視認性アップ */
        border-color: var(--color-gold);
        box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    }
    
    /* ガイドヒント（Swipe & Tap...）の調整 */
    .map-guide-hint {
        position: sticky;
        left: 0;
        top: 0;
        margin-bottom: 10px;
        width: fit-content;
        z-index: 100;
    }
}