/* ==========================================================================
   Design System & Custom Properties
   ========================================================================== */
:root {
    /* Color Palette (にじのわクリニック風 凪のネイビー、木漏れ日ゴールド、アイボリー) */
    --color-primary: #2b4260;      /* Deep Navy Blue (凪のネイビー：信頼・穏やかさ) */
    --color-primary-light: #5279a4;/* Soft Blue (空色ブルー：親しみやすさ・ボタン) */
    --color-secondary: #748da9;    /* Muted Slate Blue (サブ) */
    --color-secondary-light: #f3f6f9; /* Pale Blue Gray (淡いブルーグレー) */
    --color-accent: #bca265;       /* Warm Gold (木漏れ日のゴールド) */
    --color-accent-hover: #9c834a; /* Darker Gold for hover */
    
    --color-text-dark: #333b46;    /* Dark Slate Charcoal (目に優しいチャコール) */
    --color-text-muted: #626d7a;   /* Muted Slate Blue Gray */
    --color-bg-light: #faf7f2;     /* Warm Ivory Beige (温もりのある生成り・アイボリー) */
    --color-bg-white: #ffffff;
    
    --color-border: rgba(43, 66, 96, 0.12); /* Soft Indigo Border */
    --color-shadow: rgba(43, 66, 96, 0.03); /* Extremely Muted Shadow */
    --color-shadow-hover: rgba(43, 66, 96, 0.06);

    /* Fonts */
    --font-sans: 'Noto Sans JP', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Outfit', 'Noto Serif JP', serif;
    --font-serif: 'Noto Serif JP', 'Georgia', serif;

    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-dark);
    background-color: var(--color-bg-light); /* 温かみのあるオフホワイト背景 */
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.05em;
    word-break: normal;         /* 日本語が適切に自動折り返しされるようにする */
    overflow-wrap: break-word;  /* はみ出す場合は改行 */
    line-break: strict;         /* 日本語の禁則処理を厳密に */
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 120px 0;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: 0.08em;
    line-height: 1.5;
    text-wrap: balance; /* 見出しの改行バランスを自動最適化 */
}

.section-subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 80px;
    letter-spacing: 0.06em;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(250, 247, 242, 0.9); /* 暖かいアイボリーベージュの透過背景 */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-sub {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.nav {
    display: block;
}

.nav-list {
    display: flex;
    gap: 32px;
}

.nav-list a {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-dark);
    padding: 8px 0;
    position: relative;
    letter-spacing: 0.05em;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary-light);
    transition: var(--transition-smooth);
}

.nav-list a:hover {
    color: var(--color-primary-light);
}

.nav-list a:hover::after {
    width: 100%;
}

.btn-line-header {
    background-color: var(--color-accent);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(188, 162, 101, 0.15);
}

.btn-line-header:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(188, 162, 101, 0.25);
}

/* Mobile Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-smooth);
}

/* Mobile Nav Open State */
.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg-light);
    z-index: 999;
    padding: 100px 24px 40px;
    transition: var(--transition-smooth);
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: center;
}

.mobile-nav-link {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
}

.mobile-nav-cta {
    width: 100%;
    max-width: 300px;
    margin-top: 12px;
}

.btn-line-mobile, .btn-form-mobile {
    display: block;
    text-align: center;
    padding: 12px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    width: 100%;
}

.btn-line-mobile {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 10px rgba(188, 162, 101, 0.15);
}

.btn-form-mobile {
    background-color: var(--color-primary);
    color: white;
    box-shadow: 0 4px 10px rgba(43, 66, 96, 0.15);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    padding: 160px 0 120px;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--color-text-dark);
    background-image: linear-gradient(rgba(250, 247, 242, 0.85), rgba(237, 241, 246, 0.85)), url("../img/miura.PNG");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1.2;
    text-align: left;
}

.hero-badge {
    background-color: rgba(82, 121, 164, 0.08);
    border: 1px solid rgba(82, 121, 164, 0.2);
    color: var(--color-primary);
    display: inline-block;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-serif); /* 明朝体で情緒的に */
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-title-sub {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-light);
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.hero-title-main {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    line-height: 1.35;
}

.hero-description {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: var(--color-text-muted);
}

.hero-ctas {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    margin-bottom: 24px;
}

/* Button UI */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px; /* 優しい丸みに変更 */
    font-weight: 700;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
}

.btn-large {
    padding: 12px 28px;
}

.btn-icon {
    font-size: 1.4rem;
    margin-right: 10px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.btn-subtext {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.85;
}

.btn-maintext {
    font-size: 0.95rem;
    line-height: 1.2;
}

.btn-line {
    background-color: var(--color-primary-light); /* 凪のネイビーに近い空色ブルーへ */
    color: white;
    box-shadow: 0 4px 15px rgba(82, 121, 164, 0.15);
}

.btn-line:hover {
    background-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(82, 121, 164, 0.25);
}

.btn-primary {
    background-color: var(--color-accent); /* 木漏れ日ゴールド */
    color: white;
    box-shadow: 0 4px 15px rgba(188, 162, 101, 0.15);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(188, 162, 101, 0.25);
}

.btn-craft {
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px; /* 手書き風の有機的な形 */
    border: 2px solid transparent;
}

.btn-line.btn-craft {
    border: 2px solid var(--color-primary-light);
}

.btn-primary.btn-craft {
    border: 2px solid var(--color-accent);
}

.hero-note {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    opacity: 0.8;
    margin-top: 12px;
}

/* ヒーロー画像の有機的フレーム・浮遊アニメーション */
.hero-visual { display: none !important;
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-image-wrapper {
    width: 380px;
    height: 380px;
    overflow: hidden;
    border: 3px solid #ffffff;
    box-shadow: 0 15px 35px rgba(43, 66, 96, 0.08);
    border-radius: 60% 40% 70% 30% / 40% 50% 60% 50%; /* アシンメトリーな丸み */
    animation: morphing 15s ease-in-out infinite alternate, float-slow 6s ease-in-out infinite;
    background-color: var(--color-secondary-light);
}

.hero-image-organic {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 0.8s ease;
}

/* 波形セパレーターの装飾 */
.hero-divider {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.hero-divider .shape-fill {
    fill: var(--color-bg-light); /* 背景色アイボリーベージュと完全に同期 */
}

/* アニメーション定義 */
@keyframes morphing {
    0% {
        border-radius: 60% 40% 70% 30% / 40% 50% 60% 50%;
    }
    50% {
        border-radius: 40% 60% 50% 50% / 50% 40% 70% 50%;
    }
    100% {
        border-radius: 50% 50% 60% 40% / 40% 60% 50% 60%;
    }
}

@keyframes float-slow {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ==========================================================================
   Story Section
   ========================================================================== */
.story-section {
    background-color: var(--color-bg-white);
    padding: 100px 0;
}

.story-box {
    background-color: var(--color-bg-light);
    border: 2px dashed rgba(188, 162, 101, 0.3);
    border-radius: 30px;
    padding: 60px;
    margin: 0 auto;
    max-width: 1000px;
}

.story-header {
    text-align: center;
    margin-bottom: 40px;
}

.story-subtitle {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text-muted);
    letter-spacing: 0.05em;
    display: inline-block;
    margin-bottom: 12px;
}

.story-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.story-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.story-visual-left {
    flex: 0.8;
}

.story-illustration {
    width: 100%;
    border-radius: 60% 40% 50% 50% / 40% 45% 55% 60%;
    border: 3px double rgba(43, 66, 96, 0.15);
    box-shadow: 0 10px 25px rgba(43, 66, 96, 0.05);
}

/* 横書き・手紙風のスタイル */
.story-horizontal-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.story-letter-wrapper {
    flex: 1.2;
    background-color: #faf7f2; /* 温かみのある生成り色 */
    border: 1px solid rgba(188, 162, 101, 0.25);
    border-radius: 16px;
    box-shadow: inset 0 0 20px rgba(188, 162, 101, 0.05), 0 10px 30px rgba(43, 66, 96, 0.05);
    padding: 40px 35px;
    position: relative;
    overflow: hidden;
}

.story-letter-paper {
    font-family: "Kiwi Maru", var(--font-serif);
    font-size: 1.1rem;
    line-height: 2.3; /* 横罫線と同期 */
    color: var(--color-primary);
    background-image: linear-gradient(rgba(188, 162, 101, 0.15) 1px, transparent 1px);
    background-size: 100% 2.3em; /* line-height と同期 */
    background-position: left top;
    padding: 10px 0;
    width: 100%;
}

.story-letter-paper p {
    margin: 0;
}
/* スクロールバーのカスタマイズ */
.story-letter-paper::-webkit-scrollbar {
    height: 6px;
}
.story-letter-paper::-webkit-scrollbar-track {
    background: rgba(188, 162, 101, 0.05);
    border-radius: 3px;
}
.story-letter-paper::-webkit-scrollbar-thumb {
    background: rgba(188, 162, 101, 0.25);
    border-radius: 3px;
}

.letter-para {
    margin-left: 2.3em; /* 縦書き時の行間調整（左側の余白） */
    display: inline-block;
    vertical-align: top;
    white-space: normal;
}

.letter-quote {
    margin-left: 2.3em;
    font-weight: 500;
    color: var(--color-primary-light);
    display: inline-block;
    vertical-align: top;
    white-space: normal;
}

.letter-signature {
    margin-left: 2.3em;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    display: inline-block;
    vertical-align: top;
    margin-top: 100px; /* 縦書きでの下寄せ */
    white-space: nowrap;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .story-content.story-vertical-layout {
        flex-direction: column;
        gap: 30px;
    }
    
    .story-visual-left {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }
    
    .story-letter-wrapper {
        width: 100%;
        padding: 30px 20px;
    }
    
    .story-letter-paper {
        height: 320px;
        font-size: 0.95rem;
        line-height: 2.1;
        background-size: 2.1em 100%;
    }
    
    .letter-para, .letter-quote, .letter-signature {
        margin-left: 2.1em;
    }
}

/* Organic Images for Options and Flow */
.organic-img {
    border-radius: 60% 40% 50% 50% / 40% 45% 55% 60%;
    transition: transform 0.4s ease;
}

.organic-img:hover {
    transform: scale(1.02);
}

.option-visual {
    margin-bottom: 16px;
}

.option-visual img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border: 2px solid rgba(43, 66, 96, 0.05);
}

.flow-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-top: 16px;
    border: 2px solid rgba(43, 66, 96, 0.05);
}

/* ==========================================================================
   Pain Points Section
   ========================================================================== */
.pain-points {
    background-color: var(--color-bg-light);
    padding: 120px 0;
}

.pain-container-organic {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 960px;
    margin: 0 auto 60px;
}

.pain-organic-row {
    display: flex;
    gap: 40px;
}

.pain-organic-row.offset {
    padding-left: 80px; /* アシンメトリーなズレを表現 */
}

.pain-polaroid {
    flex: 1;
    background-color: var(--color-bg-white);
    border: 1px solid rgba(43, 66, 96, 0.08);
    border-radius: 4px; /* ポラロイドらしい角 */
    padding: 36px 30px 42px; /* 下部に広めの余白 */
    box-shadow: 0 10px 25px rgba(43, 66, 96, 0.03);
    position: relative;
    transition: var(--transition-smooth);
}

/* ポラロイドを不揃いに傾ける */
.pain-organic-row:nth-child(1) .pain-polaroid:nth-child(1) { transform: rotate(-1.2deg); }
.pain-organic-row:nth-child(1) .pain-polaroid:nth-child(2) { transform: rotate(1deg); }
.pain-organic-row:nth-child(2) .pain-polaroid:nth-child(1) { transform: rotate(0.8deg); }
.pain-organic-row:nth-child(2) .pain-polaroid:nth-child(2) { transform: rotate(-1.5deg); }

/* マスキングテープ風の装飾 */
.pain-polaroid::before {
    content: "";
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 80px;
    height: 24px;
    background-color: rgba(188, 162, 101, 0.15); /* 和紙・マスキングテープ風のゴールド */
    border-left: 1px dashed rgba(188, 162, 101, 0.25);
    border-right: 1px dashed rgba(188, 162, 101, 0.25);
    z-index: 2;
}

.pain-polaroid:hover {
    transform: translateY(-6px) rotate(0deg) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(43, 66, 96, 0.07);
    z-index: 10;
}

.pain-badge-num {
    font-family: var(--font-serif);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent-hover);
    display: inline-block;
    margin-bottom: 14px;
    letter-spacing: 0.05em;
}

.pain-polaroid-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
    line-height: 1.5;
}

.pain-polaroid-desc {
    font-size: 0.9rem;
    color: var(--color-text-dark);
    line-height: 1.75;
}

.pain-summary-organic {
    text-align: center;
    background-color: rgba(188, 162, 101, 0.05);
    border: 2px dashed rgba(188, 162, 101, 0.3);
    padding: 30px 40px;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.pain-summary-text-organic {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.8;
}

/* ==========================================================================
   Features Section (選ばれる理由)
   ========================================================================== */
.features {
    background-color: var(--color-bg-white);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-bottom: 100px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1.2;
}

.feature-num {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--color-accent);
    opacity: 0.6;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: 0.05em;
}


.feature-item-title {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 18px;
    line-height: 1.45;
    letter-spacing: 0.02em;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--color-text-dark);
    line-height: 1.8;
}

.feature-image {
    flex: 0.8;
    border-radius: 60% 40% 50% 50% / 40% 45% 55% 60%; /* アシンメトリーな丸み */
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(43, 66, 96, 0.02);
    border: 2px solid rgba(43, 66, 96, 0.06);
    aspect-ratio: 4 / 3;
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition-smooth);
}

.feature-image:hover img {
    transform: scale(1.04);
}

/* ==========================================================================
   Services & Pricing Section
   ========================================================================== */
.services {
    background-color: var(--color-bg-light);
}

.pricing-important {
    background-color: rgba(188, 162, 101, 0.05); /* ゴールド系の薄い背景 */
    border: 2px dashed rgba(188, 162, 101, 0.25); /* 手仕事感のある点線 */
    padding: 36px;
    border-radius: 20px;
    margin-bottom: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-important-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pricing-important-desc {
    font-size: 0.9rem;
    color: var(--color-text-dark);
    line-height: 1.75;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1140px;
    margin: 0 auto 80px;
    align-items: stretch;
}

.pricing-card {
    background-color: var(--color-bg-white);
    border-radius: 24px;
    padding: 48px 40px;
    border: 3px double rgba(43, 66, 96, 0.15); /* クラフト感のある二重線 */
    box-shadow: 0 10px 25px rgba(43, 66, 96, 0.02);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(43, 66, 96, 0.05);
}

.pricing-card.premium {
    border-color: var(--color-accent); /* 一番人気はゴールドの枠線 */
    box-shadow: 0 10px 30px rgba(188, 162, 101, 0.05);
}

.pricing-card-popular {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary); /* 赤ではなく、凪のネイビー */
    color: white;
    padding: 5px 24px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(43, 66, 96, 0.15);
}

.pricing-badge {
    background-color: rgba(43, 66, 96, 0.05);
    color: var(--color-primary);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    align-self: flex-start;
    margin-bottom: 24px;
}

.pricing-card.premium .pricing-badge {
    background-color: rgba(188, 162, 101, 0.12);
    color: var(--color-accent-hover);
}

.pricing-plan-name {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 18px;
}

.pricing-price {
    display: flex;
    flex-direction: column;
    border-bottom: 1px dashed rgba(43, 66, 96, 0.15); /* 破線に変更 */
    padding-bottom: 24px;
    margin-bottom: 28px;
}

.price-sub {
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.price-main {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin: 6px 0;
}

.price-unit {
    font-size: 1.1rem;
    font-weight: 700;
}

.price-tax {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

.pricing-card-desc {
    font-size: 0.9rem;
    color: var(--color-text-dark);
    margin-bottom: 28px;
    min-height: 50px;
    line-height: 1.7;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-features li {
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    line-height: 1.6;
    position: relative;
    padding-left: 24px;
    color: var(--color-text-dark);
}

/* にじのわ風の優しい丸ドットインジケーター */
.pricing-features li.check::before {
    content: "◦";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--color-accent);
    font-size: 1.25rem;
    font-weight: 900;
}

.pricing-features li.cross::before {
    content: "・";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--color-text-muted);
    font-size: 1.15rem;
    font-weight: 700;
    opacity: 0.5;
}

.pricing-features li.cross {
    color: var(--color-text-muted);
    opacity: 0.75;
}

.pricing-features li strong {
    color: var(--color-primary);
}

/* Options Styles */
.options-section {
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--color-bg-white);
    border-radius: 24px;
    padding: 50px 40px;
    border: 3px double rgba(43, 66, 96, 0.12); /* ダブルライン */
    box-shadow: 0 10px 25px rgba(43, 66, 96, 0.01);
}

.options-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}



/* ==========================================================================
   Column Section (換気の重要性)
   ========================================================================== */
.column {
    background-color: var(--color-bg-white);
    padding: 100px 0;
}

.column-box {
    background-color: var(--color-bg-light); /* 和風ベージュ背景 */
    color: var(--color-text-dark);
    border: 3px double rgba(43, 66, 96, 0.15); /* ダブルライン */
    border-radius: 30px;
    padding: 60px;
    box-shadow: 0 10px 30px rgba(43, 66, 96, 0.02);
}

.column-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-primary);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    line-height: 1.5;
}

.column-intro {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    text-align: center;
    color: var(--color-text-muted);
    max-width: 700px;
    margin: 0 auto 48px;
    line-height: 1.8;
}

.column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.column-card {
    background-color: var(--color-bg-white);
    border: 1px solid rgba(43, 66, 96, 0.06);
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 10px 25px rgba(43, 66, 96, 0.01);
}

.column-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fbbf24;  /* Accent Yellow */
    margin-bottom: 16px;
}

.column-card p, .column-card li {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 12px;
}

.column-card ul {
    padding-left: 20px;
    list-style-type: disc;
}

.column-conclusion {
    text-align: center;
    background-color: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.2);
    padding: 24px;
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.column-conclusion p {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
}

/* ==========================================================================
   Flow Section (ご利用の流れ)
   ========================================================================== */
.flow {
    background-color: var(--color-bg-light);
    padding: 100px 0;
}



/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq {
    background-color: var(--color-bg-white);
    padding: 100px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px dashed rgba(43, 66, 96, 0.12); /* 破線で優しく */
    padding: 12px 0;
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    padding: 18px 30px 18px 0;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-family: var(--font-sans);
    font-size: 1.4rem;
    color: var(--color-accent);
    transition: var(--transition-smooth);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: var(--color-primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.9rem;
    color: var(--color-text-dark);
    line-height: 1.75;
}

/* ==========================================================================
   Representative Section (代表・コンプライアンス)
   ========================================================================== */
.representative {
    background-color: var(--color-bg-light);
    padding: 100px 0;
}

.rep-box {
    background-color: var(--color-bg-white);
    border-radius: 30px;
    padding: 60px;
    border: 3px double rgba(43, 66, 96, 0.15); /* ダブルライン */
    box-shadow: 0 10px 30px rgba(43, 66, 96, 0.02);
    max-width: 900px;
    margin: 0 auto;
}

.rep-badge {
    background-color: rgba(43, 66, 96, 0.05);
    color: var(--color-primary);
    font-family: var(--font-serif);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.rep-title {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

.rep-profile {
    display: flex;
    gap: 40px;
    margin-bottom: 48px;
    align-items: flex-start;
}

.rep-avatar {
    width: 150px;
    height: 150px;
    border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%; /* 有機的なアシンメトリー丸型 */
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 10px 25px rgba(43, 66, 96, 0.08);
    flex-shrink: 0;
    background-color: var(--color-bg-light);
    animation: morphing-avatar 12s ease-in-out infinite alternate;
}

.rep-info {
    flex-grow: 1;
}

.rep-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
}

.rep-role {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.rep-bio {
    font-size: 0.9rem;
    color: var(--color-text-dark);
    line-height: 1.85;
}

.compliance-box {
    background-color: rgba(43, 66, 96, 0.02); /* 薄いネイビーグレーの背景 */
    border: 1px dashed rgba(43, 66, 96, 0.12); /* 破線境界 */
    border-left: 4px solid var(--color-accent); /* 木漏れ日ゴールドのアクセントライン */
    border-radius: 16px;
    padding: 32px;
}

.compliance-box h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.compliance-box p {
    font-size: 0.85rem;
    color: var(--color-text-dark);
    margin-bottom: 16px;
    line-height: 1.7;
}

.compliance-box ul {
    padding-left: 20px;
    list-style-type: disc;
}

.compliance-box li {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

/* アバター用の有機的ゆらぎアニメーション */
@keyframes morphing-avatar {
    0% {
        border-radius: 60% 40% 50% 50% / 40% 60% 40% 60%;
    }
    100% {
        border-radius: 50% 50% 60% 40% / 50% 40% 60% 50%;
    }
}

/* ==========================================================================
   Contact / Booking Section
   ========================================================================== */
.contact {
    background-color: var(--color-bg-white);
    padding: 100px 0;
}

.contact-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.contact-card {
    border-radius: 24px;
    padding: 48px 36px;
    text-align: center;
    border: 2px dashed rgba(43, 66, 96, 0.12);
    box-shadow: 0 10px 25px rgba(43, 66, 96, 0.01);
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--color-bg-light);
}

.contact-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--color-accent);
}

.contact-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.btn-full {
    width: 100%;
    padding: 14px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.line-card {
    background-color: #f7faf8;
    border-color: rgba(82, 121, 164, 0.15);
}

.line-id-note {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 12px;
}

.form-card {
    background-color: var(--color-secondary-light);
}

.iframe-container {
    width: 100%;
}

.form-info-text {
    font-size: 0.8rem !important;
    margin-bottom: 16px !important;
    line-height: 1.6;
}

/* ==========================================================================
   Company Section (運営会社)
   ========================================================================== */
.company {
    background-color: var(--color-bg-light);
    padding: 100px 0;
}

.company-box {
    background-color: var(--color-bg-white);
    border-radius: 24px;
    padding: 48px;
    border: 3px double rgba(43, 66, 96, 0.12); /* 上品なダブルライン */
    box-shadow: 0 10px 25px rgba(43, 66, 96, 0.01);
    max-width: 800px;
    margin: 0 auto;
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table tr {
    border-bottom: 1px dashed rgba(43, 66, 96, 0.1);
}

.company-table tr:last-child {
    border-bottom: none;
}

.company-table th {
    width: 30%;
    text-align: left;
    padding: 20px 10px;
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--color-primary);
    vertical-align: top;
    font-size: 0.95rem;
}

.company-table td {
    padding: 20px 10px;
    color: var(--color-text-dark);
    font-size: 0.9rem;
    line-height: 1.75;
}

.company-table ul {
    padding-left: 20px;
    list-style-type: disc;
}

.company-table li {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.company-link {
    color: var(--color-primary-light);
    font-weight: 600;
    text-decoration: underline;
}

.company-link:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer {
    background-color: #1a2636; /* 凪のネイビーをさらに深めたダークネイビー */
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
}

.footer-col h4 {
    color: white;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: \x27\x27;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--color-accent);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col li {
    font-size: 0.85rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    color: white;
    padding-left: 4px;
}

.footer-addr {
    font-size: 0.85rem;
    margin-top: 20px;
    margin-bottom: 8px;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 12px;
}

/* ==========================================================================
   Story Vertical Handwriting Letter Styles
   ========================================================================== */
.story-vertical-layout {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.story-letter-wrapper {
    flex: 1.3;
    background-color: #fdfaf5;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(43, 66, 96, 0.05);
    border: 1px solid rgba(188, 162, 101, 0.2);
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(to left, rgba(188, 162, 101, 0.15) 1px, transparent 1px);
    background-size: 45px 100%;
}

.story-letter-paper {
    writing-mode: vertical-rl;
    text-orientation: upright;
    font-family: "Kiwi Maru", "Noto Serif JP", serif;
    font-size: 1.05rem;
    color: #43392a;
    line-height: 2.15;
    letter-spacing: 0.15em;
    height: 400px;
    margin: 0 auto;
}

.letter-para {
    margin-left: 20px;
    text-indent: 1em;
}

.letter-quote {
    margin-left: 20px;
    font-weight: 600;
    color: var(--color-primary);
}

.letter-signature {
    margin-left: 10px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-top: 50px;
}

.letter-signature .nowrap {
    text-combine-upright: all;
}

.story-visual-left {
    flex: 0.7;
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-illustration {
    width: 100%;
    max-width: 320px;
    border-radius: 40px 10px 40px 10px;
    border: 3px double rgba(43, 66, 96, 0.15);
    box-shadow: 0 10px 25px rgba(43, 66, 96, 0.04);
}

/* ==========================================================================
   Options Section Styles
   ========================================================================== */
.options-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px dashed var(--color-border);
}

.options-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 40px;
}

.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.option-item {
    background-color: var(--color-bg-white);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px var(--color-shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    min-width: 0; /* Fix unequal column widths and grid overflow on desktop */
}

.option-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--color-shadow-hover);
    border-color: var(--color-primary-light);
}

.option-visual {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    height: 180px;
}

.option-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Cam and DIY visual placeholders */
.option-cam-bg {
    background: linear-gradient(135deg, #eef2f7 0%, #d8e2ec 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.option-diy-bg {
    background: linear-gradient(135deg, #faf6ee 0%, #f1e5cf 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-placeholder-icon {
    font-size: 3.5rem;
    opacity: 0.75;
    animation: float-slow 4s ease-in-out infinite;
}

.option-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    position: relative;
    padding-bottom: 8px;
}

.option-name::after {
    content: \x27\x27;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-accent);
}

.option-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   Ventilation (Column) Bubble Diagram Styles
   ========================================================================== */
.house-risks-diagram {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: 60px 0;
}

.risk-bubble {
    flex: 1;
    background-color: var(--color-bg-white);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid var(--color-border);
    box-shadow: 0 10px 25px var(--color-shadow);
    position: relative;
}

.risk-bubble h4 {
    font-family: var(--font-serif);
    color: var(--color-primary);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 4px;
}

.risk-bubble p {
    font-size: 0.9rem;
    color: var(--color-text-dark);
    line-height: 1.6;
}

.risk-house-center {
    flex: 0.8;
    display: flex;
    justify-content: center;
    align-items: center;
}

.risk-house-center img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 25px rgba(43, 66, 96, 0.12));
    animation: float-slow 5s ease-in-out infinite;
}

/* Pointing arrows for PC layout */
@media (min-width: 769px) {
    .risk-bubble-top::after {
        content: \x27\x27;
        position: absolute;
        top: 50%;
        right: -12px;
        transform: translateY(-50%) rotate(45deg);
        width: 20px;
        height: 20px;
        background-color: var(--color-bg-white);
        border-right: 2px solid var(--color-border);
        border-top: 2px solid var(--color-border);
    }
    .risk-bubble-bottom::after {
        content: \x27\x27;
        position: absolute;
        top: 50%;
        left: -12px;
        transform: translateY(-50%) rotate(45deg);
        width: 20px;
        height: 20px;
        background-color: var(--color-bg-white);
        border-left: 2px solid var(--color-border);
        border-bottom: 2px solid var(--color-border);
    }
}

/* ==========================================================================
   Flow Steps Section Styles
   ========================================================================== */
.flow-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 60px;
    position: relative;
}

.flow-step {
    background-color: var(--color-bg-white);
    border-radius: 20px;
    padding: 35px 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 8px 20px var(--color-shadow);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}

.flow-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px var(--color-shadow-hover);
    border-color: var(--color-primary-light);
}

.flow-step-num {
    width: 44px;
    height: 44px;
    background-color: var(--color-accent);
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(188, 162, 101, 0.3);
}

.flow-step-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.flow-step-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

.flow-img {
    width: 100%;
    border-radius: 12px;
    margin-top: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Arrow connectors for flow timeline on PC */
@media (min-width: 992px) {
    .flow-step:not(:last-child)::after {
        content: \x27竊箪x27;
        position: absolute;
        top: 50%;
        right: -22px;
        transform: translateY(-50%);
        font-size: 1.6rem;
        color: var(--color-accent);
        font-weight: 800;
        z-index: 2;
    }
}

/* ==========================================================================
   Responsive Utilities & Layout Collapses
   ========================================================================== */
@media (max-width: 991px) {
    section {
        padding: 80px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 600px;
        margin: 0 auto 50px;
    }

    .section-title {
        font-size: 1.8rem;
    }
    .header-container {
        height: 70px;
    }
    .nav {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .header-cta {
        display: none;
    }
    .hero {
        padding: 120px 0 60px;
    }
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 30px;
    }
    .hero-content {
        text-align: center;
    }
    .hero-ctas {
        justify-content: center;
        flex-direction: column;
        gap: 16px;
        max-width: 320px;
        margin: 0 auto 24px;
    }
    .hero-title-main {
        font-size: 2.2rem;
    }
    .hero-visual { display: none !important;
        width: 100%;
    }
    .hero-image-wrapper {
        width: 280px;
        height: 280px;
    }
    .flow-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .flow-step {
        padding: 30px;
    }
    .flow-step:not(:last-child)::after {
        content: \x27竊貼x27;
        position: absolute;
        bottom: -25px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.6rem;
        color: var(--color-accent);
        font-weight: 800;
        z-index: 2;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .story-vertical-layout {
        flex-direction: column-reverse;
        gap: 30px;
    }
    .story-letter-wrapper {
        width: 100%;
        padding: 30px 20px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .story-letter-paper {
        height: 340px;
        font-size: 1rem;
        line-height: 2;
        background-size: 40px 100%;
    }
    .story-visual-left {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .pain-organic-row {
        flex-direction: column;
        gap: 20px;
    }
    .pain-organic-row.offset {
        padding-left: 0;
    }
    .pain-polaroid {
        width: 100% !important;
    }
    .feature-item {
        flex-direction: column !important;
        gap: 30px;
    }
    .feature-content {
        padding: 0;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .options-grid {
        grid-template-columns: 1fr;
    }
    .house-risks-diagram {
        flex-direction: column;
        gap: 30px;
    }
    .risk-house-center {
        order: 1;
    }
    .risk-bubble-top {
        order: 2;
    }
    .risk-bubble-bottom {
        order: 3;
    }
    .risk-bubble {
        width: 100%;
    }
    .contact-methods {
        grid-template-columns: 1fr;
    }
    .company-box {
        padding: 24px;
    }
    .company-table th, .company-table td {
        display: block;
        width: 100% !important;
        padding: 10px 0;
    }
    .company-table th {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* ==========================================================================
   CAM / DIY Badge placeholders (No Emoji)
   ========================================================================== */
.option-visual.option-cam-bg {
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 180px;
}
.option-visual.option-cam-bg::before {
    content: "CAM";
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    color: rgba(43, 66, 96, 0.15);
    letter-spacing: 0.05em;
}
.option-visual.option-diy-bg {
    background-color: #faf7f2;
    border: 1px dashed rgba(188, 162, 101, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 180px;
}
.option-visual.option-diy-bg::before {
    content: "DIY";
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    color: rgba(188, 162, 101, 0.25);
    letter-spacing: 0.05em;
}

/* ==========================================================================
   Representative Avatar Slider
   ========================================================================== */
.rep-avatar-slider {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(43, 66, 96, 0.08);
    border: 3px solid white;
    margin-right: 40px;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .rep-avatar-slider {
        margin-right: 0;
        margin-bottom: 24px;
    }
}
.rep-avatar-slider .rep-avatar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    margin: 0;
    border: none;
    box-shadow: none;
    border-radius: 0;
    transition: opacity 1.5s ease-in-out;
    display: block;
}
.rep-avatar-slider .rep-avatar.active {
    opacity: 1;
    z-index: 2;
}

/* ==========================================================================
   Floating LINE Button
   ========================================================================== */
.floating-line-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background-color: #06C755; /* LINE Official Green */
    color: white !important;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 40px;
    box-shadow: 0 8px 24px rgba(6, 199, 85, 0.35);
    z-index: 9999;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255,255,255,0.1);
}
.floating-line-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 30px rgba(6, 199, 85, 0.5);
    background-color: #05b04b;
    color: white !important;
}
.floating-line-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.floating-line-icon svg {
    width: 100%;
    height: 100%;
}
@media (max-width: 768px) {
    .floating-line-btn {
        bottom: 16px;
        right: 16px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .floating-line-icon {
        width: 20px;
        height: 20px;
    }
}

/* Fix grid column stretch by forcing Japanese text wrapping */
.option-name, .option-desc {
    word-break: break-all !important;
    overflow-wrap: break-word !important;
}


/* ==========================================================================
   Gallery Section (実際の管理の様子)
   ========================================================================== */
.gallery-section {
    background-color: var(--color-bg-white);
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 960px;
    margin: 40px auto 0;
}

.gallery-item {
    background-color: var(--color-bg-light);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 25px var(--color-shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--color-shadow-hover);
    border-color: var(--color-primary-light);
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.gallery-caption {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }
    .gallery-img {
        height: 220px;
    }
}


/* ==========================================================================
   Mobile bugfixes for pricing cards and representative profile
   ========================================================================== */
.pricing-card {
    word-break: break-all;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .rep-profile {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
}
}


/* ==========================================================================
   Gallery Section (実際の管理の様子)
   ========================================================================== */
.gallery-section {
    background-color: var(--color-bg-white);
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 960px;
    margin: 40px auto 0;
}

.gallery-item {
    background-color: var(--color-bg-light);
    border-radius: 20px;
    padding: 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 25px var(--color-shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--color-shadow-hover);
    border-color: var(--color-primary-light);
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
}

.gallery-caption {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-primary);
    text-align: center;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 10px;
    }
    .gallery-img {
        height: 220px;
    }
}


/* ==========================================================================
   Mobile bugfixes for pricing cards and representative profile
   ========================================================================== */
.pricing-card {
    word-break: break-all;
    overflow-wrap: break-word;
}

@media (max-width: 768px) {
    .rep-profile {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 24px !important;
    }
    .rep-avatar-slider {
        margin: 0 auto 20px !important;
    }
    .rep-info {
        text-align: left !important;
    }
}

/* ==========================================================================
   LINE Chat Mockup (LINE報告のモックアップ)
   ========================================================================== */
.line-mockup {
    width: 100%;
    max-width: 360px;
    background-color: #7494c0; /* LINEのトーク画面風ブルーグレー背景 */
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(43, 66, 96, 0.1);
    overflow: hidden;
    border: 4px solid var(--color-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0 auto;
}

.line-mockup-header {
    background-color: #2b3a4a;
    color: #ffffff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
    font-weight: bold;
}

.line-mockup-back {
    font-size: 1.1rem;
    cursor: default;
}

.line-mockup-chat {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    height: 480px;
    overflow-y: auto;
}

.line-chat-bubble-received {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.line-chat-avatar {
    width: 36px;
    height: 36px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    background-image: url('../img/akiyamusume.JPG');
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.line-chat-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: 70%;
}

.line-chat-name {
    font-size: 0.75rem;
    color: #ffffff;
}

.line-chat-bubble {
    background-color: #ffffff;
    color: #333333;
    padding: 10px 14px;
    border-radius: 16px;
    border-top-left-radius: 2px;
    font-size: 0.85rem;
    line-height: 1.4;
    word-break: break-all;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.line-chat-image-bubble {
    padding: 4px;
    border-radius: 12px;
    border-top-left-radius: 2px;
    overflow: hidden;
    background-color: #ffffff;
}

.line-chat-image-bubble img {
    width: 100%;
    border-radius: 8px;
    display: block;
    max-height: 140px;
    object-fit: cover;
}

.line-chat-time {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
    align-self: flex-start;
}

.line-chat-bubble-sent {
    display: flex;
    flex-direction: column;
    align-self: flex-end;
    align-items: flex-end;
    max-width: 70%;
    gap: 4px;
}

.line-chat-bubble-sent .line-chat-bubble {
    background-color: #85e243; /* LINE風の黄緑色 */
    color: #111111;
    border-radius: 16px;
    border-top-right-radius: 2px;
}

.line-chat-bubble-sent .line-chat-time {
    align-self: flex-end;
}

/* ==========================================================================
   Checklist Section (日常管理5項目)
   ========================================================================== */
.checklist-section {
    background-color: var(--color-bg-light);
    padding: 100px 0;
}

.checklist-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto 0;
}

.checklist-item {
    background-color: var(--color-bg-white);
    border-radius: 20px;
    padding: 24px 20px;
    border: 1px solid var(--color-border);
    box-shadow: 0 10px 25px var(--color-shadow);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.checklist-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px var(--color-shadow-hover);
    border-color: var(--color-primary-light);
}

.checklist-icon-wrapper {
    width: 46px;
    height: 46px;
    background-color: rgba(188, 162, 101, 0.1);
    color: var(--color-primary-light);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 16px;
}

.checklist-svg {
    width: 24px;
    height: 24px;
}

.checklist-item-title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.checklist-item-desc {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--color-text-dark);
}

/* ギャラリーグリッドを3カラムにする調整 */
.gallery-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}

/* モバイルレスポンシブ調整 */
@media (max-width: 991px) {
    .checklist-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .checklist-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   2026-06 desktop readability pass
   ========================================================================== */
@media (min-width: 992px) {
    section {
        padding: 86px 0;
    }

    .section-subtitle {
        margin-bottom: 48px;
    }

    .pain-points {
        padding: 88px 0;
    }

    .pain-container-organic {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
        max-width: 1120px;
        margin-bottom: 42px;
    }

    .pain-organic-row,
    .pain-organic-row.offset {
        display: contents;
        padding-left: 0;
    }

    .pain-polaroid,
    .pain-organic-row:nth-child(1) .pain-polaroid:nth-child(1),
    .pain-organic-row:nth-child(1) .pain-polaroid:nth-child(2),
    .pain-organic-row:nth-child(2) .pain-polaroid:nth-child(1),
    .pain-organic-row:nth-child(2) .pain-polaroid:nth-child(2) {
        transform: none;
    }

    .pain-polaroid {
        border-radius: 28px;
        padding: 28px 24px 30px;
        box-shadow: 0 12px 28px rgba(43, 66, 96, 0.04);
    }

    .pain-polaroid::before {
        width: 58px;
        height: 16px;
        top: -9px;
    }

    .feature-item {
        gap: 48px;
        margin-bottom: 64px;
    }

    .feature-content {
        flex: 1.35;
    }

    .feature-image {
        flex: 0 0 320px;
        max-width: 320px;
        aspect-ratio: 1 / 1;
        border-radius: 32px;
    }

    .feature-image .line-mockup {
        max-width: 300px;
    }

    .line-mockup-chat {
        height: 390px;
    }

    .pricing-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        margin-bottom: 52px;
    }

    .pricing-card {
        border-radius: 28px;
        padding: 34px 26px 30px;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .pricing-plan-name {
        font-size: 1.28rem;
    }

    .price-main {
        font-size: 2.1rem;
    }

    .pricing-card-desc {
        min-height: 0;
        margin-bottom: 20px;
    }

    .pricing-features {
        gap: 10px;
    }

    .pricing-features li {
        font-size: 0.82rem;
        line-height: 1.55;
    }

    .options-section {
        max-width: 1120px;
        padding: 38px 34px;
        border-radius: 28px;
    }

    .options-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .option-item {
        padding: 22px 20px;
        border-radius: 24px;
    }

    .option-visual,
    .option-visual.option-cam-bg,
    .option-visual.option-diy-bg {
        height: 128px;
        border-radius: 22px;
    }

    .option-name {
        font-size: 1.02rem;
        line-height: 1.45;
    }

    .option-desc {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .checklist-section {
        padding: 84px 0;
    }

    .checklist-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 16px;
        max-width: 1120px;
    }

    .checklist-item {
        border-radius: 26px;
        padding: 22px 18px;
    }

    .checklist-item-title {
        font-size: 0.98rem;
    }

    .checklist-item-desc {
        font-size: 0.8rem;
        line-height: 1.58;
    }

    .faq-list {
        max-width: 960px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .faq-item {
        border: 1px solid var(--color-border);
        border-radius: 24px;
        padding: 0 22px;
        background-color: var(--color-bg-light);
    }
}

.gallery-section {
    overflow: hidden;
}

.gallery-slider {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(300px, 520px);
    gap: 24px;
    max-width: 1120px;
    margin: 40px auto 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    padding: 4px 6px 18px;
    -webkit-overflow-scrolling: touch;
}

.gallery-slider .gallery-item {
    scroll-snap-align: center;
    border-radius: 28px;
}

.gallery-slider .gallery-img {
    height: clamp(240px, 30vw, 340px);
}

.gallery-slider::-webkit-scrollbar {
    height: 8px;
}

.gallery-slider::-webkit-scrollbar-track {
    background: rgba(43, 66, 96, 0.08);
    border-radius: 999px;
}

.gallery-slider::-webkit-scrollbar-thumb {
    background: rgba(43, 66, 96, 0.28);
    border-radius: 999px;
}

@media (max-width: 768px) {
    .pain-polaroid,
    .pricing-card,
    .checklist-item,
    .faq-item,
    .gallery-slider .gallery-item {
        border-radius: 24px;
    }

    .gallery-slider {
        grid-auto-columns: 86%;
        gap: 16px;
        padding-inline: 10px;
    }
}

/* ==========================================================================
   Mobile-only cleanup pass
   PC styles are intentionally untouched.
   ========================================================================== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    body {
        line-height: 1.72;
        letter-spacing: 0.02em;
    }

    .container {
        padding: 0 18px;
    }

    section,
    .story-section,
    .pain-points,
    .services,
    .column,
    .flow,
    .gallery-section,
    .faq,
    .representative,
    .company,
    .contact,
    .checklist-section {
        padding: 52px 0;
    }

    .section-title {
        font-size: 1.42rem;
        line-height: 1.45;
        letter-spacing: 0.03em;
        margin-bottom: 12px;
        text-wrap: balance;
    }

    .section-subtitle {
        font-size: 0.88rem;
        line-height: 1.65;
        margin-bottom: 28px;
    }

    .sp-only {
        display: none;
    }

    .pc-only {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 104px 0 48px;
        background-position: 54% center;
    }

    .hero-container {
        gap: 0;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 5px 12px;
        margin-bottom: 16px;
        white-space: normal;
    }

    .hero-title {
        gap: 8px;
        margin-bottom: 16px;
    }

    .hero-title-sub {
        font-size: 0.98rem;
        line-height: 1.55;
    }

    .hero-title-main {
        font-size: clamp(1.75rem, 8vw, 2.05rem);
        line-height: 1.35;
        letter-spacing: 0.03em;
    }

    .hero-description {
        font-size: 0.88rem;
        line-height: 1.75;
        margin-bottom: 24px;
    }

    .hero-ctas {
        max-width: 100%;
        gap: 10px;
    }

    .btn-craft {
        width: 100%;
        min-height: 56px;
        padding: 10px 18px;
        border-radius: 20px;
    }

    .btn-text {
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .btn-maintext {
        font-size: 0.92rem;
    }

    .story-box {
        padding: 28px 18px;
        border-radius: 24px;
    }

    .story-header {
        margin-bottom: 22px;
    }

    .story-title {
        font-size: 1.24rem;
        line-height: 1.55;
    }

    .story-content,
    .story-horizontal-layout {
        flex-direction: column;
        gap: 18px;
    }

    .story-visual-left {
        max-width: 210px;
        order: 2;
    }

    .story-illustration {
        max-width: 210px;
        aspect-ratio: 1 / 1;
        object-fit: cover;
        border-radius: 28px;
    }

    .story-letter-wrapper {
        order: 1;
        padding: 22px 18px;
        overflow: visible;
    }

    .story-letter-paper {
        height: auto;
        max-height: none;
        font-size: 0.92rem;
        line-height: 1.85;
        background-size: 100% 1.85em;
    }

    .letter-spacer {
        display: none;
    }

    .pain-container-organic {
        gap: 14px;
        margin-bottom: 26px;
    }

    .pain-organic-row {
        gap: 14px;
    }

    .pain-polaroid,
    .pain-organic-row:nth-child(1) .pain-polaroid:nth-child(1),
    .pain-organic-row:nth-child(1) .pain-polaroid:nth-child(2),
    .pain-organic-row:nth-child(2) .pain-polaroid:nth-child(1),
    .pain-organic-row:nth-child(2) .pain-polaroid:nth-child(2) {
        transform: none;
    }

    .pain-polaroid {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .pain-polaroid::before {
        display: none;
    }

    .pain-badge-num {
        font-size: 0.72rem;
        margin-bottom: 8px;
    }

    .pain-polaroid-title {
        font-size: 1rem;
        line-height: 1.45;
        margin-bottom: 8px;
    }

    .pain-polaroid-desc {
        font-size: 0.84rem;
        line-height: 1.62;
    }

    .pain-summary-organic {
        padding: 20px 18px;
        border-radius: 22px;
    }

    .pain-summary-text-organic {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .feature-item,
    .feature-item.reverse {
        gap: 18px;
        margin-bottom: 42px;
    }

    .feature-num {
        font-size: 2.25rem;
        margin-bottom: 6px;
    }

    .feature-item-title {
        font-size: 1.18rem;
        line-height: 1.45;
        margin-bottom: 10px;
    }

    .feature-text {
        font-size: 0.88rem;
        line-height: 1.7;
    }

    .feature-image {
        width: 100%;
        max-width: 320px;
        aspect-ratio: 4 / 3;
        border-radius: 24px;
        margin: 0 auto;
    }

    .feature-image img {
        object-fit: contain;
        background: var(--color-bg-light);
    }

    .feature-image .organic-img {
        object-fit: cover;
    }

    .feature-image:has(.line-mockup) {
        aspect-ratio: auto;
        max-width: 300px;
        overflow: visible;
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .line-mockup {
        max-width: 300px;
        border-width: 3px;
        border-radius: 22px;
    }

    .line-mockup-chat {
        height: 340px;
        padding: 12px;
        gap: 10px;
    }

    .line-chat-bubble {
        font-size: 0.78rem;
    }

    .pricing-important {
        padding: 22px 18px;
        border-radius: 22px;
        margin-bottom: 28px;
    }

    .pricing-important-title {
        font-size: 1rem;
        line-height: 1.45;
    }

    .pricing-important-desc {
        font-size: 0.84rem;
        line-height: 1.65;
    }

    .pricing-grid {
        gap: 18px;
        margin-bottom: 32px;
    }

    .pricing-card {
        padding: 28px 20px 24px;
        border-radius: 24px;
        word-break: normal;
        overflow-wrap: anywhere;
    }

    .pricing-badge {
        margin-bottom: 14px;
    }

    .pricing-plan-name {
        font-size: 1.22rem;
        line-height: 1.45;
        margin-bottom: 12px;
    }

    .pricing-price {
        padding-bottom: 16px;
        margin-bottom: 18px;
    }

    .price-main {
        font-size: 2.2rem;
    }

    .price-unit {
        font-size: 0.9rem;
    }

    .pricing-card-desc {
        min-height: 0;
        font-size: 0.84rem;
        line-height: 1.62;
        margin-bottom: 16px;
    }

    .pricing-features {
        gap: 9px;
    }

    .pricing-features li {
        font-size: 0.82rem;
        line-height: 1.5;
        padding-left: 20px;
    }

    .options-section {
        padding: 26px 18px;
        border-radius: 24px;
    }

    .options-title {
        font-size: 1.08rem;
        line-height: 1.5;
        margin-bottom: 22px;
    }

    .options-grid {
        gap: 14px;
    }

    .option-item {
        padding: 20px 18px;
        border-radius: 22px;
    }

    .option-visual,
    .option-visual.option-cam-bg,
    .option-visual.option-diy-bg {
        height: 140px;
        border-radius: 20px;
    }

    .option-name {
        font-size: 1rem;
        line-height: 1.45;
    }

    .option-desc {
        font-size: 0.84rem;
        line-height: 1.6;
    }

    .house-risks-diagram {
        margin: 28px 0;
    }

    .risk-house-center img {
        max-width: 220px;
        margin: 0 auto;
    }

    .risk-bubble {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .risk-bubble h4 {
        font-size: 1rem;
        line-height: 1.45;
    }

    .risk-bubble p,
    .column-conclusion p {
        font-size: 0.84rem;
        line-height: 1.65;
    }

    .flow-steps {
        gap: 14px;
        margin-top: 28px;
    }

    .flow-step {
        padding: 22px 18px;
        border-radius: 22px;
    }

    .flow-step:not(:last-child)::after {
        display: none;
    }

    .flow-step-num {
        width: 34px;
        height: 34px;
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .flow-step-title {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .flow-step-desc {
        font-size: 0.82rem;
        line-height: 1.55;
    }

    .checklist-grid {
        gap: 12px;
        padding: 0;
        margin-top: 28px;
    }

    .checklist-item {
        display: grid;
        grid-template-columns: 40px 1fr;
        column-gap: 12px;
        align-items: start;
        padding: 18px;
        border-radius: 22px;
    }

    .checklist-icon-wrapper {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        grid-row: 1 / span 2;
    }

    .checklist-svg {
        width: 21px;
        height: 21px;
    }

    .checklist-item-title {
        font-size: 0.95rem;
        line-height: 1.4;
        margin-bottom: 4px;
    }

    .checklist-item-desc {
        font-size: 0.8rem;
        line-height: 1.52;
    }

    .gallery-slider {
        grid-auto-columns: 88%;
        gap: 14px;
        margin-top: 26px;
        padding: 0 8px 14px;
    }

    .gallery-slider .gallery-item {
        padding: 14px;
        border-radius: 22px;
    }

    .gallery-slider .gallery-img {
        height: 210px;
        border-radius: 16px;
    }

    .gallery-caption {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .faq-list {
        display: block;
    }

    .faq-item {
        border: 1px solid var(--color-border);
        border-radius: 18px;
        background: var(--color-bg-light);
        padding: 0 16px;
        margin-bottom: 10px;
    }

    .faq-question {
        font-size: 0.92rem;
        line-height: 1.45;
        padding: 14px 26px 14px 0;
    }

    .faq-answer p {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .rep-box,
    .company-box,
    .contact-card {
        padding: 26px 20px;
        border-radius: 24px;
    }

    .rep-title {
        font-size: 1.15rem;
        line-height: 1.5;
        margin-bottom: 22px;
    }

    .rep-profile {
        gap: 18px !important;
        margin-bottom: 0;
    }

    .rep-avatar {
        width: 128px;
        height: 128px;
        margin: 0 auto;
    }

    .rep-name,
    .rep-role,
    .rep-bio {
        font-size: 0.84rem;
        line-height: 1.65;
    }

    .company-table th,
    .company-table td {
        font-size: 0.84rem;
        line-height: 1.6;
    }

    .contact-methods {
        gap: 16px;
    }

    .contact-card h3 {
        font-size: 1.08rem;
        line-height: 1.45;
    }

    .contact-card p {
        font-size: 0.84rem;
        line-height: 1.65;
    }

    .floating-line-btn {
        left: 16px;
        right: 16px;
        bottom: 12px;
        justify-content: center;
        border-radius: 999px;
    }

    .footer {
        padding-bottom: 86px;
    }
}

/* ==========================================================================
   Mobile screenshot fixes
   ========================================================================== */
@media (max-width: 768px) {
    .hero-title-sub {
        display: block;
        max-width: 100%;
        font-size: clamp(1rem, 4.2vw, 1.12rem);
        line-height: 1.45;
        letter-spacing: 0.01em;
        white-space: nowrap;
    }

    .hero-title-main {
        max-width: 340px;
        margin: 0 auto;
        font-size: clamp(1.55rem, 6.6vw, 1.82rem);
        line-height: 1.42;
        letter-spacing: 0.01em;
    }

    .hero-description {
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
        font-size: 0.84rem;
        line-height: 1.68;
        letter-spacing: 0.01em;
    }

    .hero-note {
        max-width: 330px;
        margin-left: auto;
        margin-right: auto;
        padding-bottom: 20px;
        font-size: 0.78rem;
        line-height: 1.65;
    }

    .story-section {
        padding-top: 44px;
    }

    .story-box {
        padding: 24px 18px;
        border-radius: 22px;
        overflow: hidden;
    }

    .story-title {
        font-size: clamp(1.32rem, 6vw, 1.55rem);
        line-height: 1.62;
        letter-spacing: 0.01em;
    }

    .story-content,
    .story-horizontal-layout {
        display: block;
    }

    .story-visual-left {
        display: none;
    }

    .story-letter-wrapper {
        width: 100%;
        padding: 20px 18px;
        overflow: visible;
        border-radius: 18px;
    }

    .story-letter-paper {
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
        height: auto !important;
        max-height: none !important;
        min-width: 0 !important;
        width: 100% !important;
        overflow: visible !important;
        font-size: 0.88rem;
        line-height: 1.85;
        letter-spacing: 0.01em;
        background-size: 100% 1.85em;
        background-position: left top;
    }

    .story-letter-paper p,
    .letter-para,
    .letter-quote,
    .letter-signature {
        display: block !important;
        margin: 0 !important;
        white-space: normal !important;
    }

    .letter-spacer {
        display: block;
        height: 0.65em;
    }

    .letter-signature {
        margin-top: 0.65em !important;
        text-align: right;
    }

    .pain-polaroid-title {
        font-size: 0.96rem;
        line-height: 1.5;
        letter-spacing: 0;
    }

    .pain-polaroid-desc {
        font-size: 0.82rem;
        line-height: 1.6;
        letter-spacing: 0;
    }

    .floating-line-btn {
        width: auto;
        left: auto;
        right: 14px;
        bottom: 14px;
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

/* ==========================================================================
   Mobile pricing/options carousel and readability fixes
   ========================================================================== */
@media (max-width: 768px) {
    .floating-line-btn {
        display: none;
    }

    .services .section-title {
        font-size: 1.32rem;
        line-height: 1.38;
        margin-bottom: 18px;
    }

    .pricing-important {
        padding: 20px 18px;
        margin-bottom: 24px;
    }

    .pricing-important-title {
        font-size: 0.98rem;
        line-height: 1.45;
        letter-spacing: 0;
    }

    .pricing-important-desc {
        font-size: 0.8rem;
        line-height: 1.58;
        letter-spacing: 0;
    }

    .pricing-grid {
        display: flex;
        gap: 14px;
        max-width: none;
        width: calc(100% + 36px);
        margin: 0 -18px 34px;
        padding: 18px 10vw 20px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 10vw;
        -webkit-overflow-scrolling: touch;
    }

    .pricing-grid::-webkit-scrollbar,
    .options-grid::-webkit-scrollbar {
        display: none;
    }

    .pricing-card {
        flex: 0 0 78vw;
        max-width: 78vw;
        min-height: auto;
        max-height: 74vh;
        overflow-y: auto;
        scroll-snap-align: center;
        padding: 28px 20px 24px;
        border-width: 2px;
    }

    .pricing-card.premium {
        padding-top: 34px;
    }

    .pricing-card-popular {
        top: -15px;
        font-size: 0.72rem;
        padding: 4px 20px;
    }

    .pricing-badge {
        font-size: 0.72rem;
        margin-bottom: 12px;
    }

    .pricing-plan-name {
        font-size: 1.16rem;
        line-height: 1.42;
        margin-bottom: 10px;
    }

    .pricing-price {
        padding-bottom: 14px;
        margin-bottom: 16px;
    }

    .price-sub,
    .price-tax {
        font-size: 0.72rem;
    }

    .price-main {
        font-size: 2rem;
    }

    .pricing-card-desc {
        font-size: 0.8rem;
        line-height: 1.55;
        margin-bottom: 14px;
    }

    .pricing-features {
        gap: 7px;
    }

    .pricing-features li {
        font-size: 0.78rem;
        line-height: 1.45;
    }

    .options-section {
        padding: 0;
        border: none;
        background: transparent;
        box-shadow: none;
        margin-top: 40px;
    }

    .options-title {
        max-width: 320px;
        margin: 0 auto 20px;
        font-size: 1.18rem;
        line-height: 1.55;
    }

    .options-grid {
        display: flex;
        gap: 14px;
        width: calc(100% + 36px);
        margin: 0 -18px;
        padding: 0 10vw 18px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 10vw;
        -webkit-overflow-scrolling: touch;
    }

    .option-item {
        flex: 0 0 78vw;
        max-width: 78vw;
        scroll-snap-align: center;
        padding: 20px 18px;
        border-radius: 22px;
    }

    .option-visual,
    .option-visual.option-cam-bg,
    .option-visual.option-diy-bg {
        height: 150px;
        margin-bottom: 16px;
    }

    .option-name {
        font-size: 1.02rem;
        line-height: 1.5;
        letter-spacing: 0;
    }

    .option-desc {
        font-size: 0.8rem;
        line-height: 1.55;
        letter-spacing: 0;
    }

    .column-box {
        padding: 30px 18px;
        border-radius: 24px;
    }

    .column-title {
        font-size: 1.2rem;
        line-height: 1.55;
        letter-spacing: 0.01em;
    }

    .column-intro {
        font-size: 0.84rem;
        line-height: 1.65;
    }

    .house-risks-diagram {
        gap: 18px;
        margin: 24px 0;
    }

    .risk-house-center img {
        max-width: 200px;
    }

    .column-conclusion {
        padding: 20px 18px;
        border-radius: 20px;
    }

    .column-conclusion p {
        font-size: 0.84rem;
        line-height: 1.65;
        text-align: left;
    }

    .rep-box {
        padding: 28px 20px;
        border-radius: 24px;
    }

    .rep-title {
        font-size: 1.22rem;
        line-height: 1.65;
        letter-spacing: 0.01em;
    }

    .rep-avatar {
        width: 116px;
        height: 116px;
    }
}
