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

        /* キーボード操作時のフォーカス可視化。
           黒背景ボタン等でブラウザ既定のアウトラインが見えにくい問題への対応 */
        a:focus-visible,
        button:focus-visible {
            outline: 3px solid var(--logo-blue);
            outline-offset: 2px;
        }

        :root {
            /* ロゴから抽出した5色 */
            --logo-orange:  #F08020;
            --logo-yellow:  #FFB800;  
            --logo-green:   #5BBD4E;  
            --logo-blue:    #2196F3;  
            --logo-purple:  #9B6DD6;  

            /* サイトカラー（ロゴ準拠）
               ※以前は接頭辞なしの--yellow/--orange/--green/--blue/--purpleが
               別途存在し、--logo-*系と微妙に異なる値を持つ「二重の配色」に
               なっていたため削除・統合済み。色は必ず--logo-*系を使用する。 */

            /* 背景・テキスト（実際に使われている3色のみに整理済み） */
            --blue-light:   #E8F6FC;
            --warm-bg:      #FFF5E8;
            --peach:        #FDE4D0;  /* value-card等の淡い差し色。以前は未定義のまま参照されていたため追加 */
            /* 本文・強調テキストは茶色系をやめ、少し灰色寄りの黒(ニュートラルグレー)に統一。
               --text-lightのみ階層表現のため少し明るいグレーを残し、
               --orange-text-hoverのみホバー時の視覚フィードバックを残すため少し暗いグレーを残す。
               それ以外(--dark/--text-gray/--orange-text)は同一色。 */
            --dark:         #333333;  /* 白背景 12.63:1 */
            --text-gray:    #333333;  /* 白背景 12.63:1 */
            --text-light:   #4D4D4D;  /* 白背景 8.45:1(階層表現用に少し明るめ) */
            --warm-white:   #FDFAF5;

            --orange-text:       #333333;  /* 白背景 12.63:1(旧オレンジ系テキストをグレー黒に統一) */
            --orange-text-hover: #1A1A1A;  /* 白背景 17.4:1(ホバー時の視覚フィードバック用に少し暗く) */

            /* フォント */
            --font-display: 'Zen Maru Gothic', sans-serif;
            --font-heading: 'Zen Maru Gothic', sans-serif;
            --font-body:    'Zen Maru Gothic', sans-serif;

            /* 余白スケール（見出し・セクション間で共通利用し、リズムを統一する） */
            --space-xs:  8px;
            --space-sm:  12px;
            --space-md:  24px;
            --space-lg:  40px;
            --space-xl:  60px;
            --space-2xl: 80px;
        }

        body {
            font-family: var(--font-body);
            color: var(--text-gray);
            line-height: 1.35;
            background: #ffffff;
            overflow-x: hidden;
            font-size: 16px;
            /* 日本語（全角文字）には欧文的な負の字送りは基本的に不要なため、
               body全体の既定値はnormal（0）とする。
               見出し類（.hero-title, .section-title等）は個別ルールで
               letter-spacingを別途指定済み */
            letter-spacing: normal;
        }

        /* Desktop Layout Container */
        .desktop-container {
            display: flex;
            min-height: 100vh;
            position: relative;
            background: #ffffff;
            overflow-x: hidden;
        }

        /* Background Decorations for Desktop Container */
        .desktop-container::before {
            content: '';
            position: fixed;
            width: 400px;
            height: 400px;
            background: linear-gradient(135deg, rgba(240, 128, 32, 0.12) 0%, rgba(255, 184, 0, 0.06) 100%);
            border-radius: 50%;
            top: 10%;
            left: 5%;
            z-index: 1;
            animation: float 15s ease-in-out infinite;
        }

        .desktop-container::after {
            content: '';
            position: fixed;
            width: 350px;
            height: 350px;
            background: linear-gradient(135deg, rgba(155, 109, 214, 0.14) 0%, rgba(33, 150, 243, 0.08) 100%);
            border-radius: 50%;
            bottom: 15%;
            right: 8%;
            z-index: 1;
            animation: float 18s ease-in-out infinite;
            animation-delay: 3s;
        }

        /* Background Decorations */
        .bg-decoration {
            position: fixed;
            z-index: 1;
            pointer-events: none;
        }

        .bg-circle-1 {
            width: 300px;
            height: 300px;
            background: linear-gradient(135deg, rgba(240, 128, 32, 0.10) 0%, rgba(255, 184, 0, 0.06) 100%);
            border-radius: 50%;
            top: 20%;
            left: 15%;
            animation: float 20s ease-in-out infinite;
        }

        .bg-circle-2 {
            width: 250px;
            height: 250px;
            background: linear-gradient(135deg, rgba(33, 150, 243, 0.12) 0%, rgba(155, 109, 214, 0.08) 100%);
            border-radius: 50%;
            top: 60%;
            right: 20%;
            animation: float 22s ease-in-out infinite;
            animation-delay: 2s;
        }

        .bg-circle-3 {
            width: 200px;
            height: 200px;
            background: linear-gradient(135deg, rgba(91, 189, 78, 0.12) 0%, rgba(33, 150, 243, 0.07) 100%);
            border-radius: 50%;
            bottom: 25%;
            left: 25%;
            animation: float 25s ease-in-out infinite;
            animation-delay: 5s;
        }

        .bg-triangle-1 {
            width: 0;
            height: 0;
            border-left: 60px solid transparent;
            border-right: 60px solid transparent;
            border-bottom: 100px solid rgba(255, 140, 0, 0.04);
            top: 15%;
            right: 15%;
            transform: rotate(25deg);
            animation: rotate-float 28s ease-in-out infinite;
        }

        .bg-square-1 {
            width: 80px;
            height: 80px;
            background: rgba(33, 150, 243, 0.05);
            bottom: 30%;
            right: 30%;
            transform: rotate(45deg);
            border-radius: 12px;
            animation: rotate-float 30s ease-in-out infinite;
            animation-delay: 4s;
        }

        .bg-diamond-1 {
            width: 100px;
            height: 100px;
            background: linear-gradient(135deg, rgba(255, 184, 0, 0.04) 0%, rgba(255, 140, 0, 0.02) 100%);
            top: 40%;
            left: 10%;
            transform: rotate(30deg);
            border-radius: 15px;
            animation: rotate-float 26s ease-in-out infinite;
            animation-delay: 6s;
        }

        /* Left Sidebar - App Download */
        .left-sidebar {
            position: fixed;
            left: 0;
            top: 0;
            width: calc((100vw - 480px) / 2);
            max-width: 500px;
            min-width: 250px;
            height: 100vh;
            background: transparent;
            padding: 80px 60px 60px;
            display: none;
            z-index: 50;
            pointer-events: none;
        }

        .left-sidebar::before {
            content: '';
            position: absolute;
            width: 300px;
            height: 300px;
            background: linear-gradient(135deg, rgba(91, 189, 78, 0.08) 0%, rgba(91, 189, 78, 0.04) 100%);
            border-radius: 50%;
            top: 100px;
            left: -100px;
            z-index: -1;
            animation: float 6s ease-in-out infinite;
        }

        .left-sidebar::after {
            content: '';
            position: absolute;
            width: 180px;
            height: 180px;
            background: linear-gradient(135deg, rgba(91, 189, 78, 0.06) 0%, rgba(91, 189, 78, 0.03) 100%);
            border-radius: 50%;
            bottom: -60px;
            right: -60px;
            z-index: -1;
            animation: float 8s ease-in-out infinite;
            animation-delay: 1s;
        }

        .sidebar-download {
            position: sticky;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1;
            max-width: 320px;
            margin-left: 0;
            margin-right: auto;
            pointer-events: auto;
        }

        /* Decorative Elements - Left Sidebar */
        .decoration-triangle {
            position: absolute;
            width: 0;
            height: 0;
            border-left: 40px solid transparent;
            border-right: 40px solid transparent;
            border-bottom: 70px solid rgba(91, 189, 78, 0.1);
            top: 60%;
            left: 20px;
            transform: rotate(15deg);
            z-index: -1;
            animation: float 10s ease-in-out infinite;
            animation-delay: 0.5s;
        }

        .decoration-square {
            position: absolute;
            width: 50px;
            height: 50px;
            background: rgba(91, 189, 78, 0.08);
            bottom: 150px;
            left: 30px;
            transform: rotate(45deg);
            border-radius: 8px;
            z-index: -1;
            animation: rotate-float 12s ease-in-out infinite;
        }

        /* Decorative Elements - Right Sidebar */
        .decoration-circle {
            position: absolute;
            width: 80px;
            height: 80px;
            background: rgba(91, 189, 78, 0.09);
            border-radius: 50%;
            top: 300px;
            left: 30px;
            z-index: -1;
            animation: float 11s ease-in-out infinite;
            animation-delay: 1.5s;
        }

        .decoration-diamond {
            position: absolute;
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, rgba(91, 189, 78, 0.08) 0%, rgba(91, 189, 78, 0.04) 100%);
            bottom: 200px;
            right: 40px;
            transform: rotate(30deg);
            border-radius: 10px;
            z-index: -1;
            animation: rotate-float 13s ease-in-out infinite;
            animation-delay: 2.5s;
        }

        /* Float Animation（動きを控えめにするため振れ幅を半分程度に縮小） */
        @keyframes float {
            0%, 100% {
                transform: translateY(0px) translateX(0px);
            }
            25% {
                transform: translateY(-10px) translateX(5px);
            }
            50% {
                transform: translateY(-5px) translateX(-5px);
            }
            75% {
                transform: translateY(-12px) translateX(3px);
            }
        }

        /* Rotate and Float Animation（同様に振れ幅を縮小） */
        @keyframes rotate-float {
            0%, 100% {
                transform: rotate(45deg) translateY(0px);
            }
            25% {
                transform: rotate(48deg) translateY(-8px);
            }
            50% {
                transform: rotate(43deg) translateY(-4px);
            }
            75% {
                transform: rotate(50deg) translateY(-10px);
            }
        }

        /* Right Sidebar - Navigation Menu */
        .right-sidebar {
            position: fixed;
            right: 0;
            top: 0;
            width: calc((100vw - 480px) / 2);
            max-width: 500px;
            min-width: 250px;
            height: 100vh;
            background: transparent;
            padding: 80px 60px 60px;
            display: none;
            z-index: 50;
            pointer-events: none;
        }

        /* Right Sidebar Decorations */
        .right-sidebar::before {
            content: '';
            position: absolute;
            width: 250px;
            height: 250px;
            background: linear-gradient(135deg, rgba(91, 189, 78, 0.07) 0%, rgba(91, 189, 78, 0.03) 100%);
            border-radius: 50%;
            top: -100px;
            right: -100px;
            z-index: -1;
            animation: float 7s ease-in-out infinite;
        }

        .right-sidebar::after {
            content: '';
            position: absolute;
            width: 200px;
            height: 200px;
            background: linear-gradient(135deg, rgba(91, 189, 78, 0.06) 0%, rgba(91, 189, 78, 0.03) 100%);
            border-radius: 50%;
            bottom: 50px;
            left: -80px;
            z-index: -1;
            animation: float 9s ease-in-out infinite;
            animation-delay: 2s;
        }

        .sidebar-download {
            position: sticky;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1;
            max-width: 320px;
            margin-left: 0;
            margin-right: auto;
            pointer-events: auto;
        }

        .download-title {
            font-family: var(--font-body);
            font-size: 22px;
            font-weight: 900;
            letter-spacing: 0.3px;
            margin-bottom: 12px;
            color: var(--orange-text-hover);
            line-height: 1.3;
        }




        /* Main Content
           ※意図的にスマホアプリのUIをPC/タブレットでも再現するため、
           480px固定幅としている（レスポンシブ未対応ではない）。
           左右の余白には浮遊する装飾円・三角形と、1200px以上でのみ
           表示されるサイドバー（ナビ・DL導線）を配置している。 */
        .main-content {
            width: 480px;
            max-width: 480px;
            background: #ffffff;
            min-height: 100vh;
            margin: 0 auto;
            position: relative;
            z-index: 100;
            box-shadow: 0 0 40px rgba(0, 0, 0, 0.18), 0 0 100px rgba(0, 0, 0, 0.10);
            overflow-x: hidden;
        }

        /* Header */
        .header {
            position: fixed;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 100%;
            max-width: 480px;
            background: #FF8C00;
            backdrop-filter: blur(12px);
            padding: 16px 24px;
            height: 56px;
            z-index: 1000;
            border-bottom: 2px solid rgba(0, 0, 0, 0.10);
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
        }

        .logo {
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 20px;
            letter-spacing: 0.5px;
            color: #ffffff;
            -webkit-text-fill-color: #ffffff;
            text-decoration: none;
            cursor: pointer;
        }

        .menu-icon {
            /* 見た目のアイコンサイズ（24x20px）はヘッダーの高さに合わせて維持しつつ、
               ::beforeで画面に影響しない不可視のヒットエリアを44x44px確保する
               （position:relative + 絶対配置の疑似要素なのでflexレイアウトは崩れない） */
            position: relative;
            width: 24px;
            height: 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            cursor: pointer;
            /* <button>化に伴うブラウザ既定スタイルのリセット */
            background: none;
            border: none;
            padding: 0;
            appearance: none;
        }

        .menu-icon::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 44px;
            height: 44px;
            transform: translate(-50%, -50%);
        }

        .menu-icon span {
            display: block;
            width: 100%;
            height: 2.5px;
            background: #ffffff;
            border-radius: 2px;
            transition: all 0.3s;
            box-shadow: 0 1px 2px rgba(51, 51, 51, 0.55);
        }

        .menu-icon.active span:nth-child(1) {
            transform: translateY(8.75px) rotate(45deg);
        }

        .menu-icon.active span:nth-child(2) {
            opacity: 0;
        }

        .menu-icon.active span:nth-child(3) {
            transform: translateY(-8.75px) rotate(-45deg);
        }

        /* Mobile Menu */
        .mobile-menu {
            position: fixed;
            top: 56px;
            left: 50%;
            transform: translateX(-50%);
            right: auto;
            width: 100%;
            max-width: 480px;
            background: #FF8C00;
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
            z-index: 999;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            border-bottom: 2px solid rgba(0, 0, 0, 0.10);
        }

        .mobile-menu.active {
            max-height: 400px;
        }

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

        .mobile-menu li {
            border-bottom: 1px solid rgba(255, 255, 255, 0.20);
        }

        .mobile-menu li:last-child {
            border-bottom: none;
        }

        .mobile-menu a {
            display: block;
            padding: 16px 28px;
            text-decoration: none;
            color: #ffffff;
            font-family: var(--font-body);
            font-size: 15px;
            font-weight: 600;
            transition: background 0.2s, color 0.2s;
            border-left: 3px solid transparent;
        }

        .mobile-menu a:hover {
            background: rgba(255, 255, 255, 0.15);
            color: #ffffff;
            border-left-color: #ffffff;
        }

        .mobile-menu a.active {
            color: #ffffff;
            border-left-color: #ffffff;
            background: rgba(255, 255, 255, 0.12);
        }

        /* Sections */
        section,
        article {
            position: relative;
            padding: 40px 24px 72px;
            overflow: hidden;
        }

        .section-title {
            font-family: var(--font-display);
            font-size: 13px;
            font-weight: 400;
            text-transform: uppercase;
            letter-spacing: 4px;
            color: var(--logo-orange);
            margin-bottom: var(--space-sm);
        }

        .section-heading {
            font-family: var(--font-body);
            font-size: 26px;
            font-weight: 600;
            line-height: 1.3;
            margin-bottom: var(--space-md);
            color: var(--dark);
        }

        .title-with-deco-right {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: var(--space-md);
            flex-direction: row-reverse;
            justify-content: flex-end;
        }

        .title-deco-right {
            width: 80px;
            height: 80px;
            object-fit: contain;
            flex-shrink: 0;
            pointer-events: none;
            filter: drop-shadow(0 4px 12px rgba(0,0,0,0.12));
            align-self: center;
        }

        .title-with-deco-right .section-title,
        .title-with-deco-right .section-heading {
            margin-bottom: 0;
        }

        .title-with-deco-right .section-heading {
            margin-top: 8px;
        }

        /* Wave Divider */
        .wave-divider {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 80px;
            overflow: hidden;
            line-height: 0;
        }

        .has-wave-gap {
            /* 基本のセクション(padding-top: 40px)向け: 40px + 装飾クリアランス80px */
            padding-bottom: 120px !important;
        }

        /* ヒーロー系セクション(padding-top: 80px)向け: 80px + 装飾クリアランス80px。
           .hero(index.htmlのトップ)/.hero--compact(下層ページのヒーロー)/
           .independence--top80(philosophy.htmlの「親は「教えない」こと」)が対象 */
        .hero.has-wave-gap,
        .hero--compact.has-wave-gap,
        .independence--top80.has-wave-gap {
            padding-bottom: 160px !important;
        }

        /* .parent-roleもpaddingは上下とも実質40pxで統一
           (40 + 装飾クリアランス80 = 120) */
        .parent-role.has-wave-gap {
            padding-bottom: 120px !important;
        }

        .wave-divider svg {
            position: relative;
            display: block;
            width: calc(100% + 1.3px);
            height: 80px;
            transform: rotate(180deg);
        }

        /* Hero Section */
        .hero {
            position: relative;
            padding-top: var(--space-2xl);
            padding-bottom: var(--space-xl);
            text-align: center;
            min-height: 75vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            overflow: hidden;
        }

        .hero-chara-clip {
            position: absolute;
            inset: 0;
            overflow: hidden;
            pointer-events: none;
        }

        /* Video Background */
        .hero-video-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 0;
        }

        .hero-video {
            position: absolute;
            top: 50%;
            left: 50%;
            min-width: 100%;
            min-height: 100%;
            width: auto;
            height: auto;
            transform: translate(-50%, -50%);
            object-fit: cover;
        }

        .hero-video-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(
                135deg,
                rgba(255, 248, 231, 0.85) 0%,
                rgba(255, 255, 255, 0.75) 100%
            );
            backdrop-filter: blur(2px);
        }

        /* Hero Content */
        .hero-content {
            position: relative;
            z-index: 1;
        }

        .hero-logo {
            width: 260px;
            max-width: 75%;
            margin-bottom: 20px;
            display: block;
            margin-left: auto;
            margin-right: auto;
            filter: drop-shadow(0 4px 16px rgba(0,0,0,0.15));
        }

        .hero-subtitle {
            font-size: 14px;
            font-family: var(--font-display);
            color: var(--orange-text);
            font-weight: 400;
            margin-bottom: 20px;
            letter-spacing: 4px;
            text-transform: uppercase;
            text-shadow: 0 2px 4px rgba(255, 255, 255, 0.8);
        }

        .hero-title {
            font-family: var(--font-display);
            font-size: 33.6px;
            font-weight: 900;
            line-height: 1.2;
            letter-spacing: 0.5px;
            margin-bottom: 40px;
            background: linear-gradient(135deg, var(--logo-yellow) 0%, var(--logo-orange) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.9));
        }

        /* サブページのヒーロー画像：横幅いっぱい・高さ控えめ */
        .hero-image {
            width: 100%;
            max-width: 100%;
            height: 280px;
            margin: 20px 0;
            border-radius: 16px;
            overflow: hidden;
        }

        .hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 16px;
        }

        .image-placeholder {
            width: 100%;
            height: 200px;
            background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 24px 0;
            position: relative;
            overflow: hidden;
        }

        /* プレースホルダーに画像が入っている場合は絵文字を非表示 */
        .image-placeholder:has(.placeholder-img)::before {
            display: none;
        }

        .image-placeholder:has(.placeholder-img) {
            background: #f0f0f0;
        }

        .placeholder-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
            border-radius: 16px;
        }

        .image-placeholder::before {
            content: '🖼️';
            font-size: 48px;
            opacity: 0.4;
        }

        .image-placeholder.small {
            height: 280px;
        }

        .image-placeholder.large {
            height: 280px;
        }

        .hero-message {
            font-size: 17px;
            line-height: 1.7;
            color: var(--text-gray);
            margin-top: var(--space-lg);
            font-weight: 600;
            text-shadow: 0 2px 6px rgba(255, 255, 255, 0.9);
            max-width: 400px;
            margin-left: auto;
            margin-right: auto;
            text-wrap: pretty;
        }

        /* Problem Section */
        .problem {
            background: var(--blue-light);
        }

        .problem-cards {
            display: grid;
            grid-template-columns: 1fr;
            gap: 16px;
            margin-bottom: 32px;
        }

        .problem-card {
            background: white;
            padding: 24px;
            border-radius: 16px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.04);
            display: flex;
            align-items: center;
            gap: 16px;
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .problem-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        }

        .problem-text {
            font-size: 15px;
            font-weight: 600;
            color: var(--text-gray);
            line-height: 1.6;
        }

        .insight-box {
            background: white;
            padding: 32px 24px;
            border-radius: 20px;
            text-align: center;
        }

        .insight-text {
            font-family: var(--font-body);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-gray);
            font-weight: 500;
        }

        .insight-text strong {
            color: var(--orange-text);
            font-weight: 700;
        }

        /* Value Section */
        .value {
            background: white;
            padding-bottom: 48px;
        }

        /* Philosophy Diagram */
        .philosophy-diagram {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 20px;
            margin: 32px 0 40px;
            flex-wrap: wrap;
        }

        .diagram-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 16px;
        }

        .diagram-circle {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--logo-yellow) 0%, var(--logo-orange) 100%);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s;
        }

        .diagram-circle:hover {
            transform: translateY(-4px);
        }

        .diagram-number {
            font-family: var(--font-display);
            font-size: 16px;
            font-weight: 700;
            color: #FFFFFF;
        }

        .diagram-title {
            font-size: 18px;
            font-weight: 900;
            color: #FFFFFF;
            margin-top: 4px;
        }

        .diagram-desc {
            font-size: 14px;
            line-height: 1.7;
            color: var(--text-gray);
            text-align: center;
            font-weight: 600;
        }


        .value-cards {
            display: grid;
            gap: 24px;
        }

        .value-card {
            background: var(--warm-bg);
            padding: 32px 24px 32px;
            border-radius: 20px;
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
            overflow: hidden;
        }

        .value-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        }

        .value-number {
            font-family: var(--font-display);
            font-size: 100px;
            font-weight: 900;
            color: rgba(240, 128, 32, 0.13);
            letter-spacing: -6px;
            line-height: 0.85;
            position: absolute;
            top: 12px;
            right: 16px;
            pointer-events: none;
            user-select: none;
        }

        .value-title {
            font-size: 20px;
            font-weight: 900;
            margin-bottom: 8px;
            color: var(--dark);
        }

        .value-desc {
            font-size: 14px;
            color: var(--text-light);
            margin-bottom: 16px;
            font-weight: 500;
        }

        .value-detail {
            font-size: 15px;
            line-height: 1.7;
            color: var(--text-gray);
        }

        /* App Intro Section */
        .app-intro {
            background: var(--warm-bg);
        }

        .app-intro .section-title {
            color: var(--logo-orange);
            opacity: 1;
        }

        .app-intro .section-heading {
            color: var(--dark);
        }

        .app-description {
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-gray);
            margin-bottom: 40px;
            font-weight: 500;
        }

        .app-features-list {
            display: flex;
            flex-direction: column;
            gap: 24px;
            margin-bottom: 40px;
        }

        .feature-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
        }

        .feature-bullet {
            color: var(--logo-orange);
            font-size: 20px;
            line-height: 1.25;
            flex-shrink: 0;
            margin-top: 2px;
        }

        .feature-content {
            flex: 1;
        }

        .feature-name {
            font-size: 16px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 8px;
        }

        .feature-detail {
            font-size: 14px;
            line-height: 1.3;
            color: var(--text-light);
        }

        /* 年齢別設計リスト */
        .age-design-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-bottom: 40px;
        }

        .age-design-item {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 20px 24px;
            background: white;
            border-radius: 14px;
            box-shadow: 0 4px 10px rgba(91, 189, 78, 0.18);  
        }

        .age-badge {
            font-family: var(--font-display);
            font-size: 14px;
            font-weight: 700;
            color: white;
            background: linear-gradient(135deg, var(--logo-green) 0%, #339D25 100%);
            padding: 6px 14px;
            border-radius: 20px;
            white-space: nowrap;
            flex-shrink: 0;
        }

        .age-design-item p {
            font-size: 14px;
            line-height: 1.3;
            color: var(--text-gray);
        }

        /* Independence Section */
        .independence {
            background: var(--warm-bg);
            padding: 40px 24px 72px;
        }

        .independence-content {
            max-width: 100%;
        }

        .independence-lead {
            font-family: var(--font-body);
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-gray);
            margin-bottom: 28px;
            font-weight: 500;
        }

        .independence-points {
            margin: 32px 0;
        }

        .point-item {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }

        .point-icon {
            width: 32px;
            height: 32px;
            background: linear-gradient(135deg, var(--logo-yellow) 0%, var(--logo-orange) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .point-icon svg {
            width: 18px;
            height: 18px;
            color: white;
        }

        .point-item p {
            font-size: 15px;
            font-weight: 600;
            color: var(--dark);
        }

        .independence-outro {
            font-size: 15px;
            line-height: 1.35;
            color: var(--text-gray);
            margin-top: 28px;
        }

        .independence-outro strong {
            color: var(--orange-text);
            font-weight: 700;
        }

        .independence-text {
            font-size: 15px;
            line-height: 1.7;
            color: var(--text-gray);
            font-weight: 500;
        }

        .independence-text p {
            margin-bottom: 16px;
        }

        /* Solution Message Section */
        .solution-message {
            background: white;
            padding: 48px 24px;
            text-align: center;
        }

        .solution-box {
            max-width: 380px;
            margin: 0 auto;
            padding: 48px 32px 32px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 8px 32px rgba(255, 140, 0, 0.15);
        }

        .solution-heading {
            font-family: var(--font-display);
            font-size: 28px;
            font-weight: 900;
            line-height: 1.25;
            margin-bottom: 20px;
            background: linear-gradient(135deg, var(--logo-green) 0%, var(--logo-blue) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .solution-text {
            font-size: 15px;
            line-height: 1.7;
            color: var(--text-gray);
        }

        /* Parent Role Section */
        .parent-role {
            background: white;
            padding: 40px 24px 72px;
            text-align: center;
        }

        .parent-quote {
            font-family: var(--font-body);
            font-size: 24px;
            font-weight: 600;
            line-height: 1.25;
            margin-bottom: 20px;
            color: var(--dark);
        }

        .parent-desc {
            font-size: 16px;
            line-height: 1.7;
            color: var(--text-gray);
        }

        .learn-more-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 26px;
            background: var(--logo-green);
            color: #ffffff;
            text-decoration: none;
            border-radius: 12px;
            font-weight: 700;
            font-size: 15px;
            transition: transform 0.3s, background 0.3s, color 0.3s, border-color 0.3s;
            margin: 44px auto 0;
            display: flex;
            justify-content: center;
            max-width: 280px;
            border: 2px solid transparent;
        }

.learn-more-btn--tight {
    margin-top: 28px;
}

        .learn-more-btn:hover {
            transform: translateY(-2px);
            background: #ffffff;
            color: var(--logo-green);
            border-color: var(--logo-green);
        }

        .learn-more-btn svg {
            width: 20px;
            height: 20px;
        }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, #392414 0%, #4a3527 100%);
            color: white;
            text-align: center;
            padding: 48px 24px 32px;
        }

        .footer-logo {
            font-family: var(--font-display);
            font-size: 20px;
            font-weight: 900;
            margin-bottom: 8px;
            letter-spacing: -0.5px;
        }

        .footer-tagline {
            font-size: 13px;
            opacity: 0.8;
            margin-bottom: 24px;
        }

        .footer-copy {
            font-size: 12px;
            opacity: 0.75;
        }

        /* Responsive - Desktop with Sidebars (1200px以上) */
        @media (min-width: 1200px) {
            .left-sidebar,
            .right-sidebar {
                display: block;
            }

            .main-content {
                max-width: 480px;
                flex: 1 1 auto;
            }

            .header {
                left: 50%;
                transform: translateX(-50%);
                max-width: 480px;
            }

        }

        @media (min-width: 768px) and (max-width: 1199px) {
            .left-sidebar,
            .right-sidebar {
                display: block;
                width: calc((100vw - 480px) / 2);
                max-width: 350px;
                min-width: 180px;
                padding: 60px 40px;
            }

            /* サイドバーがmin-width:180pxで下げ止まる768〜840px幅では、
               メインコンテンツ側は"margin:0 auto"の計算式(viewport幅基準)のみで
               中央寄せされるためズレが生じ、最大36px重なっていた。
               サイドバー側と同じ下限(180px)をメインコンテンツの余白にも
               適用し、重なりを防ぐ。 */
            .main-content {
                margin-left: max(180px, calc((100vw - 480px) / 2));
                margin-right: max(180px, calc((100vw - 480px) / 2));
            }

            /* サイドバーの文字コンテンツ(ナビリンク・DL導線)を非表示。
               背景の装飾(::before/::after、decoration-*)は
               .left-sidebar/.right-sidebar自体に付いているので消えない */
            .sidebar-download,
            .sidebar-nav-left {
                display: none;
            }

            /* 装飾要素のサイズ調整 */
            .decoration-triangle {
                border-left: 30px solid transparent;
                border-right: 30px solid transparent;
                border-bottom: 50px solid rgba(255, 184, 0, 0.1);
                left: 10px;
            }

            .decoration-square {
                width: 40px;
                height: 40px;
                left: 15px;
            }

            .decoration-circle {
                width: 60px;
                height: 60px;
                left: 20px;
            }

            .decoration-diamond {
                width: 45px;
                height: 45px;
                right: 25px;
            }

            .main-content {
                max-width: 480px;
                flex: 1 1 auto;
            }


            .header {
                left: 50%;
                transform: translateX(-50%);
                max-width: 480px;
            }
        }

        @media (max-width: 767px) {
            .left-sidebar,
            .right-sidebar,
            .bg-decoration {
                display: none !important;
            }

            /* サイドバーが無い分、中央の固定480pxカラムを画面中央に保つ */
            .desktop-container {
                padding: 0;
                justify-content: center;
            }
        }
        html {
            scroll-behavior: smooth;
        }

        /* Icons */
        .icon {
            width: 48px;
            height: 48px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 12px;
            /* 白いアイコングリフとのコントラスト確保のため、
               他の.icon系と同じ考え方でロゴ色より暗めのグラデーションに調整 */
            background: linear-gradient(135deg, #B88400 0%, #C25A00 100%);
            color: white;
            font-size: 24px;
            flex-shrink: 0;
        }

        .icon.green {
            background: linear-gradient(135deg, var(--logo-green) 0%, #2C8820 100%);
        }

        .icon.red {
            background: linear-gradient(135deg, #FF5252 0%, #E53935 100%);
        }

        .icon.blue {
            background: linear-gradient(135deg, var(--logo-blue) 0%, #1E7BA8 100%);
        }

        /* App Download Section */
        .app-download {
            background: linear-gradient(180deg, var(--logo-yellow) 0%, var(--logo-orange) 100%);
            padding: 30px 24px 60px;
            text-align: center;
            color: white;
        }

        .download-heading {
            font-family: var(--font-display);
            font-size: 30px;
            font-weight: 400;
            margin-bottom: 16px;
            letter-spacing: 1px;
        }

        .download-subheading {
            font-size: 15px;
            margin-bottom: 40px;
            opacity: 0.95;
            line-height: 1.3;
        }

        .download-buttons {
            display: grid;
            gap: 16px;
            max-width: 320px;
            margin: 0 auto;
        }




        .download-note {
            font-size: 13px;
            margin-top: 24px;
            opacity: 0.85;
        }


/* Smooth Scroll */
/* ===== APP FEATURE SHOWCASE ===== */
.app-features-showcase {
    padding-bottom: 80px;
}

.feature-showcase-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 56px;
}

.feature-showcase-row:last-of-type {
    margin-bottom: 32px;
}

.feature-showcase-row--reverse {
    flex-direction: column;
}

.feature-showcase-text {
    flex: 1;
    min-width: 0;
}

.feature-showcase-num {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 400;
    line-height: 1;
    color: rgba(240, 128, 32, 0.15);
    margin-bottom: 4px;
    letter-spacing: -2px;
}

.feature-showcase-title {
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.25;
}

.feature-showcase-desc {
    font-size: 14px;
    line-height: 1.35;
    color: var(--text-light);
    margin-bottom: 14px;
}

.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    display: inline-block;
    background: rgba(240, 128, 32, 0.10);
    color: var(--orange-text);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 1px 5px rgba(240, 128, 32, 0.22);
}

.feature-showcase-phone {
    width: 200px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    background: transparent;
    border-radius: 12px;
    padding: 4px;
    isolation: isolate;
}

.phone-mockup-img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    display: block;
    object-fit: contain;
    cursor: zoom-in;
    transition: transform 0.25s ease;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.22));
}

.phone-mockup-img:hover {
    transform: scale(1.05);
}

/* ===== LIGHTBOX ===== */
.phone-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    animation: lb-fade-in 0.22s ease;
}

.phone-lightbox-overlay.active {
    display: flex;
}

@keyframes lb-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.phone-lightbox-img {
    max-width: min(380px, 88vw);
    max-height: 88vh;
    width: auto;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 32px 80px rgba(0,0,0,0.5);
    animation: lb-scale-in 0.25s cubic-bezier(0.34,1.56,0.64,1);
    cursor: zoom-out;
}

@keyframes lb-scale-in {
    from { transform: scale(0.82); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

.phone-lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}

.phone-lightbox-close:hover {
    background: rgba(255,255,255,0.28);
}
/* ===== /LIGHTBOX ===== */
/* ===== /APP FEATURE SHOWCASE ===== */

/* ===== LOADING SCREEN =====
   ページを開いた直後、卵のGIFアニメが表示される画面のスタイル */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* iOS Safariのアドレスバー表示変化に対応 */
    height: 100vh;
    height: 100dvh;
    background: #FFA040;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    /* iOS SafariでPosition:fixedがずれる問題対策 */
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
}

#loading-screen.hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-scene {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.egg-img {
    width: 200px;
    height: auto;
}
/* ===== /LOADING SCREEN ===== */

/* サイドバーのラベル画像 — 1文字あたりの見た目サイズを統一 */
.sidebar-label-img {
    display: block;
    height: 40px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    margin-bottom: 4px;
}

/* HOW TO: 6文字 */
.sidebar-label-img[src*="menu-howto"] {
    height: 41px;
}

/* PHILOSOPHY: 10文字 */
.sidebar-label-img[src*="menu-philosophy"] {
    height: 50px;
    max-width: 240px;
}

/* USE CASE: 8文字 */
.sidebar-label-img[src*="menu-usecase"] {
    height: 51px;
    max-width: 230px;
}

/* 左サイドバーナビ */
.sidebar-nav-left {
    position: sticky;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    max-width: 320px;
    margin-left: auto;
    margin-right: 0;
    pointer-events: auto;
}

.sidebar-nav-left ul {
    list-style: none;
}

.sidebar-nav-left li {
    margin-bottom: 24px;
}

.sidebar-nav-left a {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--orange-text);
    text-decoration: none;
    transition: color 0.3s;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    padding: 14px 0;
    text-align: center;
    pointer-events: auto;
}

.sidebar-nav-left a:hover,
.sidebar-nav-left a.active {
    color: var(--orange-text-hover);
}

.sidebar-nav-left .sidebar-label-img {
    /* 共通ベース — alt別overrideに委ねる */
    width: auto;
    object-fit: contain;
    margin-top: 4px;
    margin-left: 0;
}

/* 1文字あたりのサイズ統一 (sidebar-nav-left 内で確実に上書き) */
.sidebar-nav-left .sidebar-label-img[src*="menu-top"] {
    height: 40px;
    max-width: 200px;
}
.sidebar-nav-left .sidebar-label-img[src*="menu-howto"] {
    height: 41px;
    max-width: 200px;
}
.sidebar-nav-left .sidebar-label-img[src*="menu-philosophy"] {
    height: 50px;
    max-width: 300px;
}
.sidebar-nav-left .sidebar-label-img[src*="menu-usecase"] {
    height: 51px;
    max-width: 230px;
}

/* ===== /SIDEBAR NAV LABEL IMAGES ===== */


/* ===== メインエリア内キャラクター =====
   TOP/下層ページのヒーロー付近に表示される、卵・フライパン・プリンなどの
   キャラクター画像の配置とアニメーションをまとめたセクション */
/* 共通ベース */
.hero-chara-index,
.hero-chara-page {
    position: absolute;
    width: 150px;
    height: 150px;
    object-fit: contain;
    pointer-events: none;
    z-index: 10;
    bottom: -120px;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.12));
}

/* TOPページ：右端・テキスト下に配置・左右のぞきアニメ */
.hero-chara-index {
    right: 0;
    bottom: auto;
    top: 55%;
    /* 本文の可読性を妨げないよう、常時ループではなく初回2回のみ再生して静止する */
    animation: peek-in 8s ease-in-out 2;
    animation-delay: 1s;
    animation-fill-mode: both;
}

@keyframes peek-in {
    0%   { transform: translateX(150px); }
    12%  { transform: translateX(10px) rotate(-3deg); }
    25%  { transform: translateX(16px) rotate(4deg); }
    38%  { transform: translateX(10px) rotate(-2deg); }
    50%  { transform: translateX(14px) rotate(3deg); }
    62%  { transform: translateX(10px) rotate(-1deg); }
    78%  { transform: translateX(110px); }
    100% { transform: translateX(150px); }
}

/* 右配置（app・story） */
.hero-chara-right {
    right: 8px;
}

/* 揺れる（app / chara-egg） */
.hero-chara-right:not(.hero-chara-shake) {
    /* 常時ループではなく2回再生して静止し、視線誘導の邪魔をしないようにする */
    animation: chara-gentle-sway 3.5s ease-in-out 2;
    animation-fill-mode: forwards;
    transform-origin: bottom center;
}

@keyframes chara-gentle-sway {
    0%   { transform: rotate(0deg) translateY(0); }
    25%  { transform: rotate(-5deg) translateY(-6px); }
    50%  { transform: rotate(4deg) translateY(-9px); }
    75%  { transform: rotate(-3deg) translateY(-4px); }
    100% { transform: rotate(0deg) translateY(0); }
}

/* 跳ねる（philosophy / chara-pan）
   実際に使っているのは下の.chara-pan-imgルール（このファイルの
   「コードレビュー対応」セクション内）。ここではアニメーション自体の
   中身だけを定義している */
@keyframes chara-gentle-bounce {
    0%   { transform: translateY(0); }
    20%  { transform: translateY(-16px) scaleY(1.03) scaleX(0.97); }
    35%  { transform: translateY(0) scaleY(0.95) scaleX(1.04); }
    50%  { transform: translateY(-8px) scaleY(1.01) scaleX(0.99); }
    65%  { transform: translateY(0); }
    80%  { transform: translateY(-4px); }
    100% { transform: translateY(0); }
}

/* 震える（story / chara-pudding） */
.hero-chara-shake {
    /* 常時ループではなく2回再生して静止し、視線誘導の邪魔をしないようにする */
    animation: chara-gentle-shake 3s ease-in-out 2 !important;
    animation-fill-mode: forwards !important;
}

@keyframes chara-gentle-shake {
    0%, 65%, 100% { transform: rotate(0deg); }
    10%  { transform: rotate(-4deg) translateX(-3px); }
    20%  { transform: rotate(4deg) translateX(3px); }
    30%  { transform: rotate(-3deg) translateX(-2px); }
    40%  { transform: rotate(3deg) translateX(2px); }
    50%  { transform: rotate(-2deg) translateX(-1px); }
    58%  { transform: rotate(2deg) translateX(1px); }
}

/* ===== /メインエリア内キャラクター ===== */


/* =====================================================================
   【コードレビュー対応】ここから下は、HTMLに直接書かれていた
   style="……"（インラインスタイル）を、CSSのクラスとして移動したものです。

   ● なぜ移動するの？
   HTMLに直接 style="color:red;" のように書いてしまうと、同じ見た目を
   別の場所でも使いたくなったときに、また同じ内容を書き写す必要があります。
   クラスにしてCSSにまとめておけば、色や余白を変えたいときに
   「この1箇所」を直すだけで、使っている場所すべてに反映されます。
   これが「保守性が高い」コードです。
   ===================================================================== */

/* ---- 汎用ユーティリティクラス --------------------------------------
   position:relative; のような「どこでも使う小さな指定」は、
   使い回せる小さなクラス（ユーティリティクラス）としてまとめています。
   使い方: class="hero is-relative" のように、既存のクラスに追加して使う。
--------------------------------------------------------------------- */
.is-relative {
    position: relative;
}

/* flexの子要素を伸ばして幅（高さ）いっぱいに広げる */
.flex-1 {
    flex: 1;
}

/* 画像のトリミング位置（object-position）のクラス。
   数字は「画像のどのあたりを基準に切り抜くか」を表すパーセントです。 */
.img-pos-15 { object-position: center 15%; }
.img-pos-20 { object-position: center 20%; }
.img-pos-25 { object-position: center 25%; }
.img-pos-30 { object-position: center 30%; }
.img-pos-50 { object-position: center 50%; }

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }

/* ---- ヒーローセクション：下層ページ用のコンパクト表示 --------------
   トップページのヒーローは画面いっぱいに大きく見せたいが、
   下層ページ（app/philosophy/story）では控えめな高さにしたいので、
   専用の「見た目を上書きするクラス（モディファイア）」を用意しました。
--------------------------------------------------------------------- */
.hero--compact {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 40px;
    overflow: visible;
}


.footer-nav {
    margin: 24px 0;
}

.footer-nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 0 8px;
    font-size: 12px;
}

/* 「今見ているページ」のリンクだけ、少し明るく・太く見せる */
.footer-nav-link.is-active {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* ---- 右サイドバー：ダウンロード誘導エリアの説明文 -------------------- */
.sidebar-download-desc {
    font-size: 13px;
    color: rgba(51, 51, 51, 0.7);
    margin-bottom: 20px;
    line-height: 1.45;
    font-weight: 500;
}

/* トップページだけ少し文字を大きく見せるための追加クラス */
.sidebar-download-desc--lg {
    font-size: 15px;
    line-height: 1.5;
}

.sidebar-download-note {
    font-size: 13px;
    color: rgba(51, 51, 51, 0.7);
    margin-top: 16px;
    text-align: center;
}


/* ---- タイトル横の飾りアイコンの傾き ---------------------------------
   同じ「傾け方」を複数セクションで使い回すためのクラスです。
--------------------------------------------------------------------- */
.deco-rotate-1 { transform: rotate(-15deg); }
.deco-rotate-2 { transform: rotate(10deg); }
.deco-rotate-3 { transform: rotate(-5deg); }

/* タイトルと飾りアイコンを中央寄せにするパターン（ソリューション見出し用） */
.title-with-deco-right--center {
    justify-content: center;
    margin-bottom: 16px;
}

/* ---- ソリューションセクションの文字装飾解除／サブテキスト ----------- */
/* 見出しのグラデーション文字を解除して、周りと同じ色に戻す */
.solution-heading--plain {
    -webkit-text-fill-color: initial;
    background: none;
    color: inherit;
}

.solution-text--sub {
    margin-top: 12px;
    font-size: 0.9em;
    opacity: 0.85;
}

.independence-lead--sub {
    font-size: 0.9em;
    margin-top: 8px;
    font-weight: 400;
}

/* ---- 「親は一番の応援団」チェックリスト（philosophy.html） ---------- */
.checklist {
    list-style: none;
}

.checklist li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    line-height: 1.3;
}

.checklist li:last-child {
    margin-bottom: 0;
}

.insight-box--compact {
    margin-top: var(--space-lg);
    padding: 24px;
    border-radius: 16px;
}

/* philosophy.htmlの「料理を通して育つ力」セクション用の余白調整 */
.value--tight {
    padding-top: 0;
    padding-bottom: 80px;
}

/* philosophy.htmlの「親は教えない」セクション用の余白調整 */
.independence--top80 {
    padding-top: 80px;
}

/* philosophy.htmlの「なぜ今、料理教育なのか」セクションは背景を白にする */
.problem--white {
    background: #ffffff;
}

/* story.htmlの体験談カードだけ、背景をピーチ色にする */
.value-card--peach {
    background: var(--peach);
}

/* story.html：写真とキャプションをfigure/figcaptionでまとめたことによる調整。
   figureはブラウザ標準で外側にmarginが付くため、元のレイアウトに合わせて0にリセット */
.story-figure {
    margin: 0;
}

/* story.htmlの各エピソード本文の余白 */
.story-caption {
    margin-top: var(--space-md);
    line-height: 1.7;
}

/* 安全機能カード（app.html「危険回避の仕組み」等）のタイトル */
.problem-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
}

/* ---- app.htmlのみで使うフィーチャー画像：幅いっぱいに表示 ----------
   .phone-mockup-imgは元々幅200pxで固定していますが、この一覧内では
   親要素の幅に合わせて伸縮させたいので、上書き用クラスを追加します。
--------------------------------------------------------------------- */
.phone-mockup-img--fluid {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* app.html「5つのコア機能」セクションの背景色 */
.app-features-showcase {
    background: var(--warm-bg);
    position: relative;
}

/* ---- app.html「ガイドキャラクター」セクション ----------------------- */
.guide-section {
    background: white;
    padding: 60px 24px;
    position: relative;
}

.guide-character {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: var(--space-lg);
    margin-bottom: 8px;
}

.guide-character-img-wrap {
    animation: chara-gentle-bounce 2.8s ease-in-out 2;
    animation-fill-mode: forwards;
    transform-origin: bottom center;
}

.guide-character-img {
    width: 200px;
    height: 200px;
    object-fit: contain;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.14));
}

.guide-character-name {
    font-size: 24px;
    font-weight: 900;
    color: var(--dark);
    margin-top: 16px;
    margin-bottom: 4px;
}

.guide-character-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--orange-text);
    letter-spacing: 2px;
}

.guide-role-cards {
    margin-top: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.guide-role-card {
    background: #FFFBF0;
    border-radius: 16px;
    padding: 24px;
}

.guide-role-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--logo-orange);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.guide-role-label.is-green { color: var(--logo-green); }
.guide-role-label.is-blue  { color: var(--logo-blue); }

.guide-role-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--dark);
    line-height: 1.6;
}

/* philosophy.htmlの余白の微調整（"正しく教えること〜"の一文、応援団の見出し） */
.parent-role-note {
    line-height: 1.7;
    color: #555;
}

.parent-role-heading {
    font-size: 16px;
    font-weight: 700;
}

/* philosophy.html：フライパンキャラをヒーローとValueセクションの境目に重ねて配置 */
.chara-pan-wrap {
    position: relative;
    height: 80px;
    overflow: visible;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    padding-right: 16px;
    margin-bottom: -20px;
}

.chara-pan-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.12));
    animation: chara-gentle-bounce 2.8s ease-in-out 2;
    animation-fill-mode: forwards;
    transform-origin: bottom center;
}

/* story.html：Scene 02セクションの背景だけ暖色に */
.story-scene-warm {
    background: var(--warm-bg);
}

/* story.html：親の変化カードの上に余白を作る */
.mt-space-md {
    margin-top: var(--space-md);
}

/* ---- カードの並びをdivからul/liに変更したことによる調整 ------------
   ul/liにすると、ブラウザ標準で表示される「・」（黒丸マーク）が
   出てしまうため、list-style: noneで消しています。
   余白（margin/padding）はファイル冒頭の * { margin:0; padding:0; } で
   すでにリセット済みなので、ここでは何もしていません。
--------------------------------------------------------------------- */
.problem-cards,
.app-features-list,
.value-cards,
.age-design-list,
.independence-points,
.philosophy-diagram {
    list-style: none;
}


/* =====================================================================
   【デザイン強化】ここから下は、「文字の装飾が少なく淡々としている」
   という感想を受けて追加した、見た目を華やかにするための装飾用CSSです。
   HTMLの構造や意味はそのままで、見た目だけをプラスしています。
   ===================================================================== */

/* ---- 1. 強調ワードのマーカー色 --------------------------------------
   重要なフレーズの背景にマーカーで線を引いたような色を敷いて目を引かせる。
   使い方: 目立たせたい<strong>タグに class="hl" を追加する。
--------------------------------------------------------------------- */
.hl {
    background: linear-gradient(180deg, transparent 60%, var(--peach) 60%);  /* 黄色マーカーから#FDE4D0(--peach)に変更 */
    padding: 0 2px;
}

.section-heading {
    position: relative;
}

.section-heading::before {
    content: "";
    display: block;
    width: 36px;
    height: 4px;
    border-radius: 2px;
    margin-bottom: 10px;
    background: var(--logo-orange);
}

/* ---- 3. ステップ番号(01/02/03)をより目立たせる ----------------------
   円の中の数字が小さく埋もれがちだったので、太く大きくして視認性を上げる。
--------------------------------------------------------------------- */
.diagram-number {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -1px;
}

/* ---- 4. 引用・格言に大きな引用符を追加 ------------------------------
   「止まって読んでほしい一文」であることが伝わるよう装飾する。
--------------------------------------------------------------------- */
.parent-quote {
    position: relative;
}

.parent-quote::before {
    content: "\201C";
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    color: var(--logo-yellow);
    margin-bottom: 4px;
}

/* ---- 5. ボタンのマイクロインタラクション ----------------------------
   hoverした時にアイコンが少し動く/拡大することで、
   「押せるボタンだ」という感覚がより伝わるようにする。
--------------------------------------------------------------------- */
.learn-more-btn svg {
    transition: transform 0.25s ease;
}

.learn-more-btn:hover svg {
    transform: translateX(4px);
}



/* ===== App Store / Google Play 公式バッジ（4ページ共通） =====
   Apple・Google の配布する公式画像をそのまま使う（色や形は変えない）。
   Google Play の画像は周りに余白を含むので、見た目の高さを App Store にそろえるため
   画像を大きめに表示し、余白分をマイナスの margin で打ち消す（黒い部分の高さ＝画像の約66%） */
.download-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px 16px;
    max-width: none;
}
.store-badge {
    display: inline-block;
    line-height: 0;
    border-radius: 8px;
    transition: transform 0.2s, opacity 0.2s;
}
.store-badge:hover { transform: translateY(-2px); opacity: 0.9; }
.store-badge:focus-visible { outline: 3px solid #333; outline-offset: 3px; }
.store-badge img { display: block; width: auto; }
.store-badge--apple img { height: 48px; }
.store-badge--google img { height: 73px; margin: -12px -11px; }
/* サイドバー：縦に並べる */
.store-badge--side { display: table; margin: 0 auto 14px; }
/* サイドバーは縦に並ぶので、黒い部分の「幅」をそろえる（どちらも150px）。
   Google Play の画像は上下左右に約7.3%の余白（646px中41px）を含むので、その分だけ大きくしてマイナスの margin で打ち消す */
.store-badge--side.store-badge--apple img { width: 150px; height: auto; }
.store-badge--side.store-badge--google img { width: 172px; height: auto; margin: -11px; }
/* バッジ使用時の商標表記（Apple・Google のガイドラインに沿って小さく記載） */
.footer-tm {
    max-width: 360px;
    margin: 12px auto 0;
    font-size: 10px;
    line-height: 1.6;
    opacity: 0.6;
}
