/* =========================================================
   --- CSS VARIABLES (Kutikomi Theme) ---
   ========================================================= */
:root {
    --color-red: #D9333F;       
    --color-red-hover: #BF2A35;
    --color-red-light: #FBEAEA;
    --color-dark: #333333;
    --color-text: #222222;
    --color-text-light: #666666;
    --color-bg: #FFFFFF;
    --color-bg-light: #F5F7FA;
    
    /* Split Hero & Issues Colors */
    --color-split-left: #203142;  
    --color-split-right: #637782; 

    --font-jp: 'Noto Sans JP', sans-serif;
    
    --radius-btn: 50px;
    --radius-card: 16px;
    --shadow-card: 0 4px 15px rgba(0,0,0,0.06);
}

/* =========================================================
   --- RESET & BASE ---
   ========================================================= */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: var(--font-jp); 
    color: var(--color-text);
    background-color: var(--color-bg); 
    line-height: 1.8;
    -webkit-font-smoothing: antialiased; 
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: 0.2s; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.container--sm { max-width: 800px; }
.text-center { text-align: center; }
.text-red { color: var(--color-red); }
.text-white { color: #fff; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}
.mt-4 { margin-top: 24px; }

.section { padding: 80px 0; }
.section--light { background-color: var(--color-bg-light); }
.section--dark { background-color: var(--color-dark); }
.section__title { font-size: 2rem; font-weight: 900; margin-bottom: 16px; line-height: 1.4; color: var(--color-dark); }
.section__subtitle { font-size: 1.1rem; color: var(--color-text-light); margin-bottom: 40px; }

/* ダークセクションの文字色固定パッチ */
.section--dark .section__title,
.section--dark .section__subtitle {
    color: #fff !important;
}

/* 背景色クラス */
.bg-red { background-color: var(--color-red); color: #fff; }
.bg-gray { background-color: #f0f0f0; color: var(--color-dark); }
.bg-dark { background-color: var(--color-dark); color: #fff; }

/* =========================================================
   --- BUTTONS ---
   ========================================================= */
.btn {
    display: inline-flex; justify-content: center; align-items: center;
    border-radius: var(--radius-btn); font-weight: 700; cursor: pointer;
    transition: all 0.3s; text-align: center;
}
.btn--red { background-color: var(--color-red); color: #fff; border: 2px solid var(--color-red); }
.btn--red:hover { background-color: var(--color-red-hover); border-color: var(--color-red-hover); }
.btn--outline-red { background-color: #fff; color: var(--color-red); border: 2px solid var(--color-red); }
.btn--outline-red:hover { background-color: var(--color-red-light); }
.btn--outline-gray { background-color: #fff; color: var(--color-dark); border: 2px solid #ccc; }
.btn--outline-gray:hover { background-color: #f0f0f0; }
.btn--outline-dark { background-color: #fff; color: var(--color-dark); border: 2px solid var(--color-dark); }
.btn--outline-dark:hover { background-color: var(--color-dark); color: #fff; }
.btn--white { background-color: #fff; color: var(--color-red); border: 2px solid #fff; }
.btn--white:hover { background-color: #f0f0f0; }
.btn--outline-white { background-color: transparent; color: #fff; border: 2px solid #fff; }
.btn--outline-white:hover { background-color: rgba(255,255,255,0.1); }
.btn--xl { padding: 16px 40px; font-size: 1.1rem; box-shadow: 0 4px 10px rgba(217,51,63,0.3); }
.btn--lg { padding: 14px 30px; font-size: 1rem; }
.btn--full { width: 100%; padding: 15px 0; font-size: 1.1rem; }

/* ピル型ボタン（CTAバナー専用） */
.btn--outline-red-pill {
    background-color: #fff; color: var(--color-red); border: 2px solid var(--color-red);
    border-radius: 50px; padding: 14px 45px; font-weight: 700; font-size: 1.05rem; transition: 0.3s;
}
.btn--outline-red-pill:hover { background-color: var(--color-red-light); }
.btn--red-pill {
    background-color: var(--color-red); color: #fff; border: 2px solid var(--color-red);
    border-radius: 50px; padding: 14px 45px; font-weight: 700; font-size: 1.05rem; transition: 0.3s;
    box-shadow: 0 4px 10px rgba(217, 51, 63, 0.3);
}
.btn--red-pill:hover { background-color: var(--color-red-hover); }

/* =========================================================
   --- HEADER ---
   ========================================================= */
.header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: #fff; border-bottom: 1px solid #eaeaea; height: 70px;
}
.header__inner {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 100%;
}
.header__logo { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.02em; color: var(--color-dark); }
.logo-red { color: var(--color-red); }
.header__nav { display: flex; align-items: center; gap: 30px; }
.nav-list { display: flex; gap: 20px; }
.nav-list a { font-weight: 700; font-size: 0.95rem; color: var(--color-dark); }
.nav-list a:hover { color: var(--color-red); }
.header__cta { display: flex; gap: 10px; }
.header__cta .btn { padding: 8px 20px; font-size: 0.9rem; border: none; outline: none; box-shadow: none; }

/* =========================================================
   --- HAMBURGER MENU ---
   ========================================================= */
.header__hamburger { 
    display: none; 
    flex-direction: column; 
    justify-content: space-between; 
    width: 24px; 
    height: 18px; 
    cursor: pointer; 
    z-index: 1001; 
    background: none;
    border: none;
    padding: 0;
}
.header__hamburger span { 
    display: block; 
    width: 100%; 
    height: 2px; 
    background-color: #333; 
    border-radius: 1px; 
    transition: all 0.3s ease; 
}
.header__hamburger.is-active span:nth-child(1) { 
    transform: translateY(8px) rotate(45deg); 
}
.header__hamburger.is-active span:nth-child(2) { 
    opacity: 0; 
}
.header__hamburger.is-active span:nth-child(3) { 
    transform: translateY(-8px) rotate(-45deg); 
}

/* =========================================================
   --- HERO SPLIT ---
   ========================================================= */
.hero-split {
    position: relative; width: 100%; padding-top: 70px; 
    background: var(--color-split-left); overflow: hidden; padding-bottom: 120px; 
}
.hero-split__badge-wrapper {
    position: absolute; top: 110px; left: 50%; transform: translateX(-50%);
    z-index: 10; width: 100%; text-align: center;
}
.hero-split__badge {
    display: inline-block; background: #fff; color: var(--color-dark);
    padding: 12px 35px; border-radius: 50px; font-weight: 900; font-size: 1.3rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); border: 2px solid #eaeaea;
}
.hero-split__container { display: flex; flex-direction: column; width: 100%; }
.hero-split__side {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    padding: 120px 20px 60px; position: relative; color: #fff; text-align: center;
}
.hero-split__side--front { background: var(--color-split-left); }
.hero-split__side--back { background: var(--color-split-right); }

@media (min-width: 900px) {
    .hero-split__container { flex-direction: row; min-height: 650px; align-items: stretch; }
    .hero-split__side { justify-content: flex-start; padding-top: 180px; }
    .hero-split__side--front {
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
        margin-right: -15%; padding-right: 15%; z-index: 2;
    }
    .hero-split__side--back { padding-left: 18%; z-index: 1; align-items: center; }
    .hero-split__side--back .split-visual { width: 100%; display: flex; justify-content: flex-end; }
    .hero-split__side--back .split-visual img { margin-left: auto; }
}

.split-content { max-width: 450px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.split-bubble {
    background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.3);
    padding: 16px 30px; border-radius: 50px; font-weight: 900; font-size: 1.3rem;
    margin-bottom: 30px; position: relative; display: inline-flex; align-items: center; gap: 8px;
    backdrop-filter: blur(5px);
}
.split-bubble::after {
    content: ''; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%);
    border-width: 12px 12px 0; border-style: solid;
    border-color: rgba(255,255,255,0.3) transparent transparent transparent;
}
.split-title { font-size: 2.6rem; font-weight: 900; line-height: 1.4; margin-bottom: 10px; letter-spacing: 0.05em; height: 3em; display: flex; align-items: center; justify-content: center; text-align: center; }
.split-arrow { font-size: 1.5rem; font-weight: bold; margin-bottom: 10px; opacity: 0.7; }
.split-subtitle { font-size: 1.2rem; font-weight: 700; margin-bottom: 40px; color: rgba(255,255,255,0.8); height: 1.5em; display: flex; align-items: center; justify-content: center; }
.split-visual img { max-width: 100%; border-radius: 12px; box-shadow: 0 20px 40px rgba(0,0,0,0.3); transition: transform 0.3s; }
.split-visual img:hover { transform: translateY(-10px); }

/* --- HERO CTA BANNER --- */
.hero-cta-banner {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background-color: #1c2431; padding: 24px 0; z-index: 20;
}
.hero-cta-banner__inner {
    max-width: 1100px; margin: 0 auto; display: flex; justify-content: center;
    align-items: center; gap: 40px; padding: 0 20px;
}
.hero-cta-banner__text { color: #fff; font-size: 1.3rem; font-weight: 700; margin: 0; letter-spacing: 0.05em; }
.hero-cta-banner__btns { display: flex; gap: 20px; align-items: flex-end; }
.hero-cta-banner__btn-wrap { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-cta-banner__deco {
    position: absolute; top: -28px; color: #fff; font-size: 0.9rem;
    font-weight: 700; white-space: nowrap; letter-spacing: 0.1em;
}

/* =========================================================
   --- MARQUEE ---
   ========================================================= */
.marquee-wrapper { background: var(--color-bg-light); padding: 30px 0; border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; }
.marquee-title { text-align: center; font-weight: 700; margin-bottom: 20px; color: var(--color-text-light); }
.marquee { overflow: hidden; white-space: nowrap; width: 100%; }
.marquee-inner { display: inline-block; animation: marquee 30s linear infinite; }
.marquee-inner span { display: inline-block; font-family: sans-serif; font-size: 1.5rem; font-weight: 900; color: #ccc; margin: 0 40px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* =========================================================
   --- CONCEPT (Web Vitals Clinicとは) ---
   ========================================================= */
.section--concept {
    background-color: #FEFEFE; /* 画像の背景色に合わせた色 */
    padding: 120px 0;
    position: relative;
    overflow: hidden; /* イラストのはみ出しを防ぐ */
}

.concept-container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.concept-text-area {
    max-width: 700px;
    position: relative;
    z-index: 2;
    text-align: left;
}

.concept-title {
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1.5;
    margin-bottom: 50px;
    color: var(--color-dark);
    letter-spacing: 0.05em;
}

.concept-desc p {
    font-size: 1.05rem;
    line-height: 2.2;
    margin-bottom: 25px;
    color: var(--color-text);
    font-weight: 500;
}

.concept-desc p:last-child {
    margin-bottom: 0;
}

.concept-btn {
    margin-top: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* 黒いピル型ボタン */
.btn--black-pill {
    background-color: #000;
    color: #fff;
    border-radius: 50px;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 1rem;
    transition: 0.3s;
    border: 2px solid #000;
}
.btn--black-pill:hover {
    background-color: transparent;
    color: #000;
}
.btn--black-pill .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.3s;
}
.btn--black-pill:hover .material-symbols-outlined {
    transform: translateX(5px); /* ホバーで矢印が右に動く */
}

.concept-ill-area {
    position: absolute;
    top: 50%;
    right: -50px;
    width: 750px;
    transform: translateY(-50%);
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

/* レスポンシブパッチ (既存の @media 内に追加するか、ここに独立して書く) */
@media (max-width: 900px) {
    .section--concept {
        padding: 80px 0;
    }
    .concept-container {
        flex-direction: column;
    }
    .concept-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    .concept-desc p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    .concept-ill-area {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        bottom: auto;
        width: 100%;
        max-width: 450px;
        margin: 0;
        align-self: auto;
        opacity: 0.3;
        pointer-events: none;
        z-index: 1;
    }
    
}

/* =========================================================
   --- ISSUES / SYMPTOMS ---
   ========================================================= */
.issues { padding-top: 100px; background-color: #fff; }
.cont-wrap__ttl { font-size: 2.5rem; font-weight: 900; margin-bottom: 50px; color: var(--color-dark); }
.issues-bg-split {
    position: relative; width: 100%;
    background: linear-gradient(to right, var(--color-split-left) 50%, var(--color-split-right) 50%);
    padding: 0 0 80px 0;
}
.issues__container--wide { display: flex; gap: 60px; padding: 60px 4% 0; max-width: 1600px; margin: 0 auto; }
.issues__item { flex: 1; display: flex; flex-direction: column; }
.issues__item__title { color: #fff; font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 30px; letter-spacing: 0.05em; }

.issues__item__main { background: #fff; border-radius: 24px; padding: 60px 50px; flex-grow: 1; text-align: center; box-shadow: 0 15px 40px rgba(0,0,0,0.2); }
.issues__item__main h4 { font-size: 1.35rem; font-weight: 700; line-height: 1.6; color: var(--color-dark); margin-bottom: 40px; display: flex; align-items: center; justify-content: center; }
.issues__item__main h4.red { color: var(--color-red); font-size: 1.5rem; margin-top: 10px; }

.issues__item__main__image-text { display: flex; align-items: center; gap: 30px; margin-bottom: 30px; }
.issues__item__main__image-text img { width: 220px; flex-shrink: 0; }
.issues__item__main__image-text__items { text-align: left; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.issues__item__main__image-text__items p { font-size: 1rem; font-weight: 500; border: 1px solid #ccc; border-radius: 12px; padding: 16px 20px; position: relative; background: #fff; line-height: 1.6; }

.arrow-wrap { color: #ccc; margin: 20px 0; }
.arrow-wrap .material-symbols-outlined { font-size: 60px; }

.issues__item__main__list { margin-top: 40px; display: flex; flex-direction: column; gap: 30px; }
.issues__item__main__list__item { display: flex; align-items: center; gap: 30px; text-align: left; }
.issues__item__main__list__item__image { width: 100px; display: flex; flex-direction: column; align-items: center; color: var(--color-dark); }
.issues__item__main__list__item__image small { font-size: 0.9rem; font-weight: 900; margin-bottom: 8px; white-space: nowrap; }
.issues__item__main__list__item__image .material-symbols-outlined { font-size: 48px; color: var(--color-red); }
.issues__item__main__list__item__text h5 { font-size: 1.25rem; font-weight: 900; margin-bottom: 6px; color: var(--color-dark); }
.issues__item__main__list__item__text p { font-size: 1.05rem; font-weight: 700; color: var(--color-text-light); line-height: 1.6; }

.issues__item__button { margin-top: 30px; text-align: center; }
.issues__item__button a { font-size: 1.2rem; font-weight: 700; border-bottom: 1px solid #fff; display: inline-block; padding-bottom: 4px; transition: 0.3s; cursor: pointer; color: #fff; text-decoration: none; }
.issues__item__button a:hover { opacity: 0.7; }

/* =========================================================
   --- RED TRANSITION ---
   ========================================================= */
.section--red-transition { background-color: var(--color-red); color: #fff; padding: 60px 0; }
.transition-title { font-size: 2rem; font-weight: 900; line-height: 1.5; }

/* =========================================================
   --- FEATURE ROW (About: 5 Features Z-Layout) ---
   ========================================================= */
.feature-row { display: flex; align-items: center; gap: 60px; margin-top: 80px; }
.feature-row--reverse { flex-direction: row-reverse; }
.feature-row__text { flex: 1; text-align: left; }
.feature-row__img { flex: 1; text-align: center; }
.feature-row__img img { max-width: 100%; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

.feature-label { display: inline-block; color: var(--color-red); font-weight: 900; font-size: 1.1rem; margin-bottom: 10px; }
.feature-title { font-size: 2.2rem; font-weight: 900; margin-bottom: 20px; line-height: 1.4; color: var(--color-dark); }
.feature-row__text p { font-size: 1.1rem; margin-bottom: 20px; color: var(--color-text); line-height: 1.8; }
.feature-tags span { display: inline-block; background: var(--color-bg-light); padding: 6px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 700; margin-right: 10px; margin-bottom: 10px; border: 1px solid #ddd; }

/* =========================================================
   --- NUMBERS (無限スクロールアニメーション) ---
   ========================================================= */
.marquee-cards {
    width: 100%;
    overflow: hidden;
    padding: 20px 0 40px;
    position: relative;
}

/* 両端を少しグラデーションでフェードアウトさせる（任意） */
.marquee-cards::before,
.marquee-cards::after {
    content: '';
    position: absolute;
    top: 0;
    width: 10vw;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.marquee-cards::before {
    left: 0;
    background: linear-gradient(to right, var(--color-dark), transparent);
}
.marquee-cards::after {
    right: 0;
    background: linear-gradient(to left, var(--color-dark), transparent);
}

.marquee-cards-inner {
    display: flex;
    width: max-content;
    animation: marqueeCards 50s linear infinite;
}

/* ホバー時にアニメーションを一時停止するUXハック */
.marquee-cards-inner:hover {
    animation-play-state: paused;
}

@keyframes marqueeCards {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* 2周分の全体幅の半分まで移動してループ */
}

.number-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 40px 30px;
    color: var(--color-dark);
    width: 320px; /* カードの横幅を固定 */
    margin: 0 15px; /* カード間の余白 */
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    text-align: center;
}

.number-card:hover {
    transform: translateY(-5px);
}

.number-title {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--color-text-light);
    line-height: 1.5;
    min-height: 3em; /* タイトルの高さをある程度揃える */
}

.number-value {
    color: var(--color-red);
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.number-value .big {
    font-size: 3.5rem;
    line-height: 1;
}

.number-bottom {
    font-size: 0.9rem;
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.6;
}


/* =========================================================
   --- RESULTS (導入効果) ---
   ========================================================= */
.section--results {
    padding-bottom: 120px;
}
.results-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); 
    gap: 30px;
    margin-top: 60px;
}

.result-card {
    background: #fff;
    border-radius: var(--radius-card);
    padding: 40px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s;
    position: relative; 
    overflow: hidden; 
}
.result-card:hover { transform: translateY(-5px); }

.result-card--large { grid-column: span 3; }
.result-content__large { display: flex; align-items: center; gap: 30px; }
.result-ill { width: 120px; flex-shrink: 0; }

.result-card--small { grid-column: span 2; padding: 30px; }
.result-content__small { display: flex; flex-direction: column; height: 100%; }

.result-ill--bg {
    position: absolute; bottom: 20px; right: 20px; width: 80px;
    opacity: 0.1; z-index: 0;
}

.result-text { z-index: 1; position: relative; }
.result-title { font-size: 1.1rem; font-weight: 700; color: var(--color-dark); margin-bottom: 15px; line-height: 1.4; }
.result-value { color: var(--color-red); font-weight: 900; font-size: 1.5rem; line-height: 1; margin-bottom: 10px; }
.result-value .big { font-size: 3.5rem; }
.result-card--small .result-value .big { font-size: 2.8rem; }
.result-unit { font-size: 1rem; color: var(--color-red); margin-left: 5px; }
.result-note { font-size: 0.85rem; color: var(--color-text-light); line-height: 1.5; margin-top: auto; }


/* =========================================================
   --- PLANS (Full Screen & Wide Layout, Phase Sync) ---
   ========================================================= */
.section--full-screen { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0; }
.plans__container--wide { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; width: 100%; max-width: 1600px; margin: 40px auto 0; padding: 0 4%; flex-grow: 1; }

.recommended-badge-container { position: relative; z-index: 1; display: flex; flex-direction: column; height: 100%; }
.plan-box { background: #fff; border-radius: var(--radius-card); border: 2px solid #eaeaea; overflow: hidden; display: flex; flex-direction: column; height: 100%; box-shadow: 0 4px 15px rgba(0,0,0,0.06); transition: transform 0.3s; }
.plan-box:hover { transform: translateY(-5px); }

.recommended-badge-container .plan-box--featured { overflow: visible !important; flex-grow: 1; border-color: var(--color-red); transform: scale(1.03); box-shadow: 0 15px 35px rgba(217,51,63,0.15); z-index: 2; border-radius: var(--radius-card); }
.recommended-badge-container .plan-box--featured:hover { transform: scale(1.03) translateY(-5px); }
.recommended-badge { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: #FFD700; color: var(--color-dark); font-size: 0.85rem; font-weight: 900; padding: 6px 20px; border-radius: 20px; box-shadow: 0 4px 10px rgba(0,0,0,0.15); white-space: nowrap; z-index: 10; }

.plan-box__head { padding: 25px 20px; position: relative; text-align: center; border-radius: var(--radius-card) var(--radius-card) 0 0; }
.plan-box__head h4 { font-size: 1.3rem; font-weight: 900; margin-bottom: 6px; }
.plan-box__head p { font-size: 0.95rem; font-weight: 700; }

.plan-box__body { padding: 25px 20px; display: flex; flex-direction: column; flex-grow: 1; text-align: center; }
.plan-box__content { flex-grow: 1; display: flex; flex-direction: column; }
.plan-price { font-size: 2.8rem; font-weight: 900; color: var(--color-dark); margin-bottom: 15px; line-height: 1; }
.plan-price span { font-size: 1.1rem; }
/* 割引前の古い価格（斜線あり）の強調 */
.plan-price-old-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5px;
}
.plan-price-old-wrap .price-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
    margin-bottom: 2px;
}
.plan-price-old {
    font-size: 1.9rem;
    font-weight: 900;
    color: #555;
    position: relative;
    display: inline-block;
    line-height: 1;
}
.plan-price-old::after {
    content: "";
    position: absolute;
    left: -10%;
    top: 50%;
    width: 120%;
    height: 5px; /* さらに太い線 */
    background-color: var(--color-red);
    transform: rotate(-10deg); /* 斜めに入れる */
    border-radius: 3px;
    z-index: 1;
}
.plan-price-old span {
    font-size: 1.25rem;
}

/* 既存のユーティリティクラスを価格に適用するための強制力強化 */
.plan-price.text-red {
    color: var(--color-red) !important;
}

.plan-issue { background: var(--color-red-light); color: var(--color-red); font-size: 0.85rem; font-weight: 700; padding: 10px; border-radius: 8px; margin-bottom: 15px; text-align: left; border-left: 4px solid var(--color-red); line-height: 1.5; }
.plan-issue-gray { background: #f5f5f5; color: var(--color-dark); font-size: 0.85rem; font-weight: 700; padding: 10px; border-radius: 8px; margin-bottom: 15px; text-align: left; border-left: 4px solid #aaa; line-height: 1.5; }
.plan-issue-dark { background: #f5f5f5; color: var(--color-dark); font-size: 0.85rem; font-weight: 700; padding: 10px; border-radius: 8px; margin-bottom: 15px; text-align: left; border-left: 4px solid var(--color-dark); line-height: 1.5; }

.plan-list { text-align: left; font-size: 0.95rem; font-weight: 500; color: var(--color-text); margin: 0; padding: 0; }
.plan-list li { margin-bottom: 5px; padding-left: 1.5em; position: relative; line-height: 1.4; list-style: none; }
.plan-list li::before { content: '✔'; color: var(--color-red); position: absolute; left: 0; font-weight: bold; }

.plan-box--dark { background-color: var(--color-dark); }
.plan-box--dark .plan-box__head { border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.plan-box--dark .plan-box__body { background-color: transparent; }
.plan-box--dark .plan-issue-dark { background: rgba(255, 255, 255, 0.1); color: #fff; border-left-color: #fff; }
.plan-box--dark .plan-phase-content strong { background: rgba(255,255,255,0.1); color: #fff; }
.plan-box--dark .plan-list li { color: #fff !important; }
.plan-box--dark .issues__item__main__list__item__text h5, .plan-box--dark .issues__item__main__list__item__text p { color: #fff !important; }
.plan-box--dark .issues__item__main__list__item__image small, .plan-box--dark .issues__item__main__list__item__image span.material-symbols-outlined { color: #fff !important; }
.plan-box--dark .btn--outline-dark { border-color: #fff; color: #fff; }
.plan-box--dark.bg-dark .btn--outline-dark { border-color: #fff; color: #fff; }
.plan-box--dark .btn--outline-dark:hover { background-color: rgba(255, 255, 255, 0.1); color: #fff; }
.plan-box--dark.bg-dark .btn--outline-dark:hover { background-color: rgba(255, 255, 255, 0.1); color: #fff; }

.plan-box--dark.bg-dark .btn.btn--outline-dark.btn--full {
    color: #fff !important;
}
.plan-box--dark.bg-dark .btn.btn--outline-dark.btn--full:hover {
    color: #fff !important;
}

/* Fix plan layout alignment */
.plan-box--dark .plan-price { color: #fff !important; }
.plan-issue, .plan-issue-gray, .plan-issue-dark { min-height: 80px; }
.plan-phase-content--input { min-height: 140px; }
.plan-phase-content--process { min-height: 165px; }
.plan-phase-content--output { min-height: 235px; }

.plan-phase-content { text-align: left; margin-bottom: 15px; display: flex; flex-direction: column; }
.plan-phase-content:last-of-type { margin-bottom: 0; } 
.plan-phase-content strong { display: inline-block; background: #f0f0f0; color: var(--color-dark); font-size: 0.85rem; font-weight: bold; padding: 4px 12px; border-radius: 20px; margin-bottom: 8px; align-self: flex-start; }
.plan-list strong { background: none; color: inherit; font-size: inherit; padding: 0; border-radius: 0; margin: 0; align-self: auto; }

.plan-phase-content--output .issues__item__main__list { margin-top: 0; gap: 10px; }
.plan-phase-content--output .issues__item__main__list__item { gap: 10px; }
.plan-phase-content--output .issues__item__main__list__item__image { width: 50px; }
.plan-phase-content--output .issues__item__main__list__item__image small { font-size: 0.75rem; margin-bottom: 2px; }
.plan-phase-content--output .issues__item__main__list__item__image .material-symbols-outlined { font-size: 24px; }
.plan-phase-content--output .issues__item__main__list__item__text h5 { font-size: 0.95rem; margin-bottom: 0; }

/* =========================================================
   --- MODAL WINDOW ---
   ========================================================= */
.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s ease; }
.modal.is-active { opacity: 1; visibility: visible; }
.modal__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(8px); }
.modal__content { position: relative; background: #fff; border-radius: 20px; width: 90%; max-width: 600px; padding: 50px 40px; z-index: 10000; transform: translateY(30px) scale(0.95); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); box-shadow: 0 20px 50px rgba(0,0,0,0.3); max-height: 90vh; overflow-y: auto; }
.modal.is-active .modal__content { transform: translateY(0) scale(1); }
.modal__close { position: absolute; top: 20px; right: 20px; cursor: pointer; color: #999; transition: 0.2s; }
.modal__close .material-symbols-outlined { font-size: 32px; }
.modal__close:hover { color: var(--color-red); transform: rotate(90deg); }
.modal__title { font-size: 1.6rem; font-weight: 900; color: var(--color-dark); margin-bottom: 20px; border-bottom: 2px solid #eaeaea; padding-bottom: 15px; }

.modal-issue { background: var(--color-red-light); padding: 20px; border-radius: 12px; margin-bottom: 30px; text-align: left; }
.modal-issue h4 { color: var(--color-red); font-size: 1.1rem; font-weight: 900; margin-bottom: 15px; }
.modal-issue ul { background: transparent !important; padding: 0 !important; margin: 0 !important; }
.modal-issue ul li { font-size: 0.95rem; color: var(--color-dark); margin-bottom: 8px !important; padding-left: 1.2em; position: relative; font-weight: 500 !important; }
.modal-issue ul li::before { content: '・'; position: absolute; left: 0; color: var(--color-red); font-weight: bold; }

.modal-phases { text-align: left; margin-bottom: 30px; }
.phase-box { border: 1px solid #eaeaea; border-radius: 12px; padding: 20px; margin-bottom: 15px; position: relative; background: #fff; }
.phase-badge { display: inline-block; background: var(--color-dark); color: #fff; font-size: 0.8rem; font-weight: bold; padding: 6px 16px; border-radius: 20px; margin-bottom: 15px; letter-spacing: 0.05em; }
.phase-box p { font-size: 0.95rem; color: var(--color-text); margin: 0; line-height: 1.6; }
.phase-box strong { color: var(--color-red); }

/* =========================================================
   --- FAQ ACCORDION ---
   ========================================================= */
#faq { padding-top: 100px; padding-bottom: 100px; }
.accordion { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; }
.accordion__item { background: #fff; border-radius: var(--radius-card); box-shadow: var(--shadow-card); border: 1px solid #eaeaea; overflow: hidden; transition: box-shadow 0.3s; }
.accordion__item:hover { box-shadow: 0 10px 25px rgba(0,0,0,0.08); }
.accordion__title { padding: 24px 60px 24px 30px; font-weight: 700; font-size: 1.1rem; color: var(--color-dark); cursor: pointer; position: relative; list-style: none; outline: none; display: flex; align-items: center; line-height: 1.5; }
.accordion__title::-webkit-details-marker { display: none; }
.accordion__title::before { content: 'Q.'; color: var(--color-red); font-size: 1.4rem; font-weight: 900; margin-right: 15px; flex-shrink: 0; }
.accordion__title::after { content: ''; position: absolute; right: 30px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--color-red); border-bottom: 2px solid var(--color-red); transform: translateY(-70%) rotate(45deg); transition: transform 0.3s ease; }
.accordion__item[open] .accordion__title::after { transform: translateY(-30%) rotate(-135deg); }
.accordion__content { padding: 0 30px 30px 60px; color: var(--color-text); font-size: 1rem; line-height: 1.8; animation: fadeInDown 0.3s ease-in-out; }
.accordion__content p strong { color: var(--color-dark); background: linear-gradient(transparent 60%, rgba(217, 51, 63, 0.1) 60%); }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   --- BOTTOM CTA ---
   ========================================================= */
.section--bottom-cta { background-color: var(--color-red); color: #fff; padding: 100px 0; }
.bottom-cta__title { font-size: 3rem; font-weight: 900; line-height: 1.4; margin-bottom: 20px; }
.bottom-cta__text { font-size: 1.1rem; margin-bottom: 40px; font-weight: 500; }
.bottom-cta__actions { display: flex; justify-content: center; gap: 20px; }

/* =========================================================
   --- FOOTER ---
   ========================================================= */
.footer { background: #fafafa; padding: 60px 0 30px; border-top: 1px solid #eaeaea; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.footer__logo { font-size: 1.5rem; font-weight: 900; color: var(--color-dark); }
.footer__links { display: flex; gap: 20px; }
.footer__links a { font-size: 0.9rem; font-weight: 700; color: var(--color-text-light); }
.footer__copy { text-align: center; font-size: 0.85rem; color: #999; }

/* =========================================================
   --- CASES (導入事例) ---
   ========================================================= */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.case-card {
    background: #fff;
    border-radius: var(--radius-card);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s;
    text-decoration: none;
    color: inherit;
}
.case-card:hover {
    transform: translateY(-5px);
}
.case-img-wrap {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.case-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.case-content {
    padding: 25px;
    text-align: left;
}
.case-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 15px;
    line-height: 1.4;
}
.case-info {
    margin-bottom: 15px;
}
.case-company, .case-spec {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 5px;
}
    .case-tag {
        display: inline-block;
        background: var(--color-bg-light);
        color: var(--color-text);
        font-size: 0.8rem;
        font-weight: 700;
        padding: 4px 12px;
        border-radius: 20px;
    }

/* =========================================================
   --- RESPONSIVE OVERRIDES ---
   ========================================================= */
@media (max-width: 900px) {
    .header__hamburger { display: flex; }
    .header__nav { 
        display: none; 
        position: fixed; 
        top: 0; 
        left: 0; 
        width: 100%; 
        height: 100vh; 
        background: #fff; 
        padding: 70px 0 30px; 
        z-index: 1000;
        overflow-y: auto;
    }
    .header__nav.is-active { 
        display: flex; 
        flex-direction: column; 
        align-items: stretch;
    }
    .nav-list { 
        display: flex; 
        flex-direction: column; 
        width: 100%;
        border-top: 1px solid #eee;
    }
    .nav-list li {
        border-bottom: 1px solid #eee;
    }
    .nav-list a { 
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1rem; 
        padding: 18px 20px; 
        color: #333;
        font-weight: 600;
    }
    .nav-list a:hover {
        background: #f8f8f8;
        color: var(--color-red);
    }
    .header__cta { 
        padding: 30px 20px;
        margin-top: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    .header__cta .btn {
        width: 100%;
        padding: 15px 0;
        font-size: 1rem;
        text-align: center;
    }
    .header__cta .btn--outline-red {
        border: 1px solid #ccc;
        color: var(--color-dark);
    }
    
    .hero-split { padding-bottom: 0; }
    .hero-split__container { flex-direction: column; }
    .hero-split__side { padding-top: 80px; padding-bottom: 40px; }
    .hero-split__side--front { clip-path: none; margin-right: 0; padding-right: 20px; z-index: 1; }
    .hero-split__side--back { padding-left: 20px; }
    .hero-split__badge-wrapper { top: 80px; }
    .hero-split__badge { font-size: 0.9rem; padding: 8px 20px; }
    .split-title { font-size: 2.2rem; height: auto; }
    .split-subtitle { height: auto; margin-bottom: 20px; }

    .hero-cta-banner { position: relative; padding: 40px 20px 50px; }
    .hero-cta-banner__inner { flex-direction: column; gap: 30px; text-align: center; }
    .hero-cta-banner__text { font-size: 1.15rem; }
    .hero-cta-banner__btns { flex-direction: column; width: 100%; gap: 30px; align-items: center; }
    .hero-cta-banner__btn-wrap { width: 100%; }
    .btn--outline-red-pill, .btn--red-pill { width: 100%; padding: 14px 0; }

    .issues-bg-split { background: #1F2E3D; padding: 40px 0; }
    .issues__container--wide { flex-direction: column; gap: 60px; padding: 40px 5% 0; }
    .issues__item__main { padding: 40px 20px; }
    .issues__item__main__image-text { flex-direction: column; }
    .issues__item__main h4, .issues__item__main h4.red, .issues__item__main__image-text__items { height: auto !important; }

    .feature-row, .feature-row--reverse { flex-direction: column; text-align: center; margin-top: 60px; }
    .feature-row__text { text-align: center; }
    .numbers-grid { grid-template-columns: 1fr; }

    /* Results */
    .section--results { padding-bottom: 60px; }
    .results-grid { grid-template-columns: 1fr; gap: 20px; }
    .result-card { padding: 20px; grid-column: span 1; }
    .result-content__large { flex-direction: column; text-align: center; gap: 15px; }
    .result-content__large .result-ill { width: 80px; }
    .result-value .big { font-size: 2.5rem; }
    .result-card--small .result-value .big { font-size: 2rem; }
    .result-title { font-size: 1rem; margin-bottom: 10px; }
    .result-unit { font-size: 0.9rem; }
    .result-note { font-size: 0.8rem; }
    .result-ill--bg { width: 60px; bottom: 10px; right: 10px; }

    .section--full-screen { min-height: auto; padding: 60px 0; }
    .plans__container--wide { grid-template-columns: 1fr; gap: 40px; padding: 0 5%; }
    
    .recommended-badge-container .plan-box--featured { transform: scale(1); }
    .recommended-badge-container .plan-box--featured:hover { transform: translateY(-5px); }
    
    .modal__content { padding: 40px 20px; }

    .accordion__title { padding: 20px; font-size: 1rem; padding-right: 50px; }
    .accordion__title::before { margin-right: 10px; }
    .accordion__title::after { right: 20px; }
    .accordion__content { padding: 0 20px 20px 20px; }

    /* Cases SP */
    .cases-grid { grid-template-columns: 1fr; }

    .footer__inner { flex-direction: column; gap: 20px; text-align: center; }
    .bottom-cta__actions { flex-direction: column; padding: 0 20px; }

    /* --- スマートフォン用：全体的な文字サイズの底上げ（見やすさ・可読性向上） --- */
    .concept-desc p { font-size: 1.05rem; }
    .issues__item__main__image-text__items p,
    .issues__item__main__list__item__text p { font-size: 1.05rem; }
    .feature-row__text p { font-size: 1.05rem; line-height: 1.9; }
    .plan-list { font-size: 1.05rem; }
    .plan-issue, .plan-issue-gray, .plan-issue-dark { font-size: 0.95rem; }
    .modal-issue ul li, .phase-box p { font-size: 1.05rem; }
    .accordion__content { font-size: 1.05rem; line-height: 1.8; }
    .case-company, .case-spec { font-size: 1rem; }
    .footer__links a, .footer__copy { font-size: 0.95rem; }
    .nav-list a { font-size: 1.1rem; }
    
    /* 既存の小さいSP上書きサイズを再調整 */
    .hero-split__badge { font-size: 1.05rem; padding: 8px 20px; }
    .result-title { font-size: 1.1rem; }
    .result-unit { font-size: 1rem; }
    .result-note { font-size: 0.95rem; line-height: 1.6; }
    .accordion__title { font-size: 1.1rem; }
}