/* --- CSS変数定義 --- */
:root {
    /* カラーパレット */
    --primary-blue: #192444;
    --secondary-blue: #2A7CC7;
    --accent-orange: #E9843D;
    --accent-yellow: #fbbf24;
    --text-dark: #333333;
    --text-light: #f0f0f0;
    --text-white: #ffffff;
    --bg-light: #f8f8f8;
    --bg-dark: #1a2444;
    --bg-gradient: linear-gradient(135deg, #1a2444 0%, #2c3e50 100%);
    
    /* フォント */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
    
    /* レイアウト */
    --container-width: 1000px;
    --container-padding: 24px;
    --section-padding: 100px;
    --section-padding-mobile: 60px;
    
    /* アニメーション */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
    
    /* その他 */
    --border-radius: 8px;
    --border-radius-large: 20px;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --box-shadow-large: 0 20px 40px rgba(0, 0, 0, 0.15);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; } /* スムーススクロールを有効化 */

/* --- 基本スタイル --- */
body {
    margin: 0;
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--text-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
}

.page-wrapper { 
    overflow: hidden; 
}

.container { 
    max-width: var(--container-width); 
    margin: 0 auto; 
    padding: 0 var(--container-padding); 
    position: relative; 
    z-index: 2; 
}

/* --- 共通コンポーネント --- */
.section-title { 
    font-family: var(--font-heading); 
    font-weight: var(--font-weight-bold); 
    font-size: clamp(1.5rem, 4.2vw, 2.1rem); 
    text-align: center; 
    margin: 0 0 60px 0; 
    position: relative; 
    padding-bottom: 20px; 
}

.section-title::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 50%; 
    transform: translateX(-50%); 
    width: 60%; 
    height: 3px; 
    background-color: var(--accent-orange); 
}

.section-title.align-left { 
    text-align: left; 
}

.section-title.align-left::after { 
    left: 0; 
    transform: translateX(0); 
}

.section-title-long {
    font-size: clamp(1.2rem, 3.5vw, 2.2rem) !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

@media (max-width: 768px) {
    .section-title-long {
        white-space: normal !important;
        font-size: clamp(1.1rem, 4vw, 1.5rem) !important;
        line-height: 1.4 !important;
    }
}

.section-lead { 
    max-width: 840px; 
    margin: 0 auto 1.5rem auto; 
    text-align: center; 
    font-size: 1.1rem; 
    line-height: 1.7;
}

.text-center { 
    text-align: center; 
}

.text-marker {
    background: linear-gradient(transparent 60%, #fde7d7 60%);
    padding: 0.1em 0.2em;
    font-weight: 700;
}
.content-section { padding: 120px 0; }

/* INTRO SECTION ミニマル・エレガント */
#intro {
    position: relative;
    background: linear-gradient(180deg, 
        #ffffff 0%, 
        #fafbfc 25%, 
        #ffffff 50%, 
        #f8fafc 75%, 
        #ffffff 100%);
    overflow: hidden;
}

#intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(42, 124, 199, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(233, 132, 61, 0.02) 0%, transparent 50%);
    z-index: 1;
}

#intro .container {
    position: relative;
    z-index: 2;
}

#intro .section-title {
    color: var(--primary-blue);
    font-size: clamp(2.4rem, 4.5vw, 3.5rem);
    font-weight: var(--font-weight-bold);
    margin-bottom: 3rem;
    text-shadow: 0 1px 3px rgba(30, 64, 175, 0.1);
    position: relative;
    letter-spacing: -0.02em;
}

#intro .section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 1px;
}

#intro .section-lead {
    color: var(--text-dark);
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    line-height: 1.9;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 0.9;
}

/* SOLUTION SECTION 高級感のある背景 */
#solution {
    position: relative;
    background-image: 
        linear-gradient(
            rgba(0, 0, 0, 0.75), 
            rgba(0, 0, 0, 0.85)
        ),
        url('images/Car.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    overflow: hidden;
}

#solution::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 20%, rgba(233, 132, 61, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(52, 73, 94, 0.15) 0%, transparent 50%);
    z-index: 1;
}

#solution .container {
    position: relative;
    z-index: 2;
}

#solution .section-title {
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#solution .section-title::after {
    background: linear-gradient(90deg, var(--accent-orange), #fff);
}

#solution p {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
    font-size: 1.1rem;
    line-height: 1.8;
    font-weight: 500;
}

#solution .text-marker {
    background: linear-gradient(transparent 40%, rgba(255, 193, 7, 0.8) 40%);
    color: #ffffff;
    font-weight: 700;
    padding: 0.2em 0.4em;
    border-radius: 3px;
}

#solution .one-cushion {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

#solution .one-cushion h3 {
    color: #fff;
    margin-bottom: 1rem;
}

#solution .one-cushion p {
    color: #e0e0e0;
}

#solution .solution-catch {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
    text-align: center;
    margin: 3rem 0 2rem 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.light-bg { background-color: var(--bg-light); }
.light-bg .section-title {
    color: var(--primary-blue);
    font-weight: var(--font-weight-bold);
    font-size: clamp(1.8rem, 4.8vw, 2.8rem);
}
.light-bg .section-title::after {
    background-color: var(--accent-orange);
    width: 60%;
    height: 3px;
}
.dark-bg { background-color: var(--primary-blue); color: var(--text-light); }
.dark-bg .section-title { 
    color: var(--text-light); 
    font-weight: var(--font-weight-bold);
    font-size: clamp(1.8rem, 4.8vw, 2.8rem);
}
.dark-bg .section-lead, .dark-bg p { color: #ccc; }
.dark-bg .section-title::after { 
    background-color: var(--accent-orange);
    width: 60%;
    height: 3px;
}
.dark-bg .text-marker {
    background: linear-gradient(transparent 60%, rgba(233, 132, 61, 0.3) 60%);
    color: #fff;
}
.two-column-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.cta-button { display: inline-block; text-decoration: none; font-weight: 700; transition: all var(--transition-normal) ease; border: 2px solid transparent; cursor: pointer; background-color: var(--accent-orange); color: #fff; padding: 1.2rem 4rem; border-radius: 50px; margin: 2.5rem 0; font-size: 1.1rem; }
.cta-button:hover { background-color: #d66d28; transform: scale(1.05); }

/* --- HERO SECTION & シンプルヘッダー --- */
.hero-section { 
    position: relative; 
    height: 100vh; 
    min-height: 700px; 
    display: flex; 
    flex-direction: column; 
    color: #fff; 
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(233, 132, 61, 0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(42, 124, 199, 0.1) 0%, transparent 30%);
    z-index: 4;
    animation: parallax-float 15s ease-in-out infinite;
    transform: translateZ(0);
}

@keyframes parallax-float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
    }
    33% {
        transform: translate(-2%, -1%) rotate(1deg) scale(1.02);
    }
    66% {
        transform: translate(2%, 1%) rotate(-1deg) scale(0.98);
    }
}
.hero-background { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 120%; 
    background-image: url('images/FV.png'); 
    background-size: cover; 
    background-position: center; 
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 1; 
    transform: translateZ(0);
    will-change: transform;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(25, 36, 68, 0.8) 0%, rgba(30, 41, 59, 0.6) 50%, rgba(25, 36, 68, 0.8) 100%);
    z-index: 2;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(233, 132, 61, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(42, 124, 199, 0.15) 0%, transparent 50%);
    z-index: 3;
    animation: parallax-glow 8s ease-in-out infinite;
}

@keyframes parallax-glow {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.1) rotate(2deg);
    }
}
.simple-header { position: absolute; top: 0; left: 0; width: 100%; z-index: 10; padding: 2rem 0; }
.nav-logo { 
    text-decoration: none; 
    display: inline-block;
}

.logo-image {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 8px #fff(0,0,0,0.4));
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}
.hero-content { flex-grow: 1; display: flex; align-items: center; text-align: center; position: relative; z-index: 5; padding-top: 80px; /* ヘッダー分の余白 */ }
.main-title-wrapper { margin-bottom: 2.5rem; }
.hero-main-title { 
    font-family: var(--font-heading); 
    font-weight: var(--font-weight-medium); 
    font-size: clamp(3.2rem, 7.5vw, 4.8rem); 
    line-height: 1.25; 
    margin: 0; 
    color: #fff; 
    letter-spacing: 0.05em; 
    text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 4px 20px rgba(0,0,0,0.3); 
}
.hero-main-title .title-en { display: block; }
.hero-jp-title { 
    font-family: var(--font-family-jp); 
    font-size: clamp(1.3rem, 3.2vw, 1.6rem); 
    font-weight: 700; 
    color: #fff; 
    letter-spacing: 0.2em; 
    margin: 1.5rem 0 0 0; 
    opacity: 0.9; 
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.accent-line { height: 3px; width: 120px; background-color: var(--secondary-blue); margin: 2rem auto; opacity: 0.8; }
.hero-subtitle { 
    font-size: clamp(1.4rem, 2.8vw, 1.8rem); 
    max-width: 750px; 
    margin: 0 auto; 
    opacity: 0.9; 
    line-height: 1.8; 
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-cta-button { display: inline-block; background-color: var(--secondary-blue); color: #fff; padding: 1rem 3rem; border-radius: 50px; text-decoration: none; font-weight: 700; margin-top: 3rem; transition: background-color var(--transition-normal), transform var(--transition-normal); }
.hero-cta-button:hover { background-color: #2268a5; transform: translateY(-3px); }


/* --- PROBLEM SECTION --- */
#problem { margin-top: -1px; }
.problem-box { border: 1px solid var(--accent-orange); padding: 2.5rem; margin-top: 2rem; }
.column-image img { width: 100%; height: auto; border-radius: 8px; object-fit: cover; }

/* --- SOLUTION SECTION --- */
.large-text { font-size: 1.2rem; }
.one-cushion { background: var(--bg-light); padding: 3rem; text-align: center; margin: 4rem 0; border-radius: var(--border-radius); }
.one-cushion h3 { 
    font-family: var(--font-heading); 
    font-weight: var(--font-weight-medium); 
    font-size: clamp(1.5rem, 3vw, 1.8rem); 
}
.solution-catch { text-align: center; margin: 4rem 0; font-size: clamp(1.5rem, 3vw, 1.8rem); }

/* --- BENEFITS SECTION ステップ式アニメーションデザイン --- */
.feature-steps-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

.feature-steps-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-image-container {
    order: -1;
}

.feature-steps-list {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.feature-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    opacity: 0.4;
    transition: all 0.5s ease;
    cursor: pointer;
}

.feature-step.active {
    opacity: 1;
    transform: scale(1.02);
}

.step-circle {
    position: relative;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.5s ease;
    flex-shrink: 0;
}

.feature-step.active .step-circle {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(233, 132, 61, 0.5);
}

.step-number {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
    display: block;
}

.step-check {
    font-size: 1.2rem;
    color: #fff;
    display: none;
}

.feature-step.completed .step-number {
    display: none;
}

.feature-step.completed .step-check {
    display: block;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.step-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-content li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.step-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-orange);
    font-weight: bold;
}

.feature-image-container {
    position: relative;
    height: 400px;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-top: 10px;
    margin-right: 50px;
    align-self: center;
}

.feature-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(2rem) rotateX(-10deg);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.feature-image.active {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.step-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 1rem;
    transition: transform 0.6s ease;
}

.feature-image.active .step-image {
    transform: scale(1.02);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    background: linear-gradient(135deg, rgba(42, 124, 199, 0.3), rgba(233, 132, 61, 0.3));
}

.image-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.8) 0%, rgba(30, 58, 138, 0.4) 50%, transparent 100%);
}

.benefit-card {
    position: relative;
    background: linear-gradient(180deg, #0e131f 0%, #000000 70%);
    padding: 2rem;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 -10px 100px 10px rgba(52, 73, 94, 0.25), 
        0 0 10px 0 rgba(0, 0, 0, 0.5);
}

/* ガラス反射オーバーレイ */
.benefit-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 80%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(2px);
    z-index: 35;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

/* ノイズテクスチャ */
.benefit-card::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.3;
    mix-blend-mode: overlay;
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ブルー系グロー効果 */
.benefit-card .card-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 66.67%;
    z-index: 20;
    background: 
        radial-gradient(ellipse at bottom right, rgba(52, 152, 219, 0.7) -10%, rgba(52, 73, 94, 0) 70%),
        radial-gradient(ellipse at bottom left, rgba(41, 128, 185, 0.7) -10%, rgba(52, 73, 94, 0) 70%);
    filter: blur(40px);
    opacity: 0.8;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* 中央ブルーグロー */
.benefit-card .card-glow-center {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 66.67%;
    z-index: 21;
    background: radial-gradient(circle at bottom center, rgba(30, 144, 255, 0.7) -20%, rgba(52, 73, 94, 0) 60%);
    filter: blur(45px);
    opacity: 0.75;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* ボーダーグロー */
.benefit-card .card-border-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 25;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.7) 50%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 
        0 0 15px 3px rgba(52, 152, 219, 0.8), 
        0 0 25px 5px rgba(30, 144, 255, 0.6), 
        0 0 35px 7px rgba(41, 128, 185, 0.4);
    opacity: 0.9;
    transition: all 0.4s ease;
}

/* ホバー効果 */
.benefit-card:hover {
    transform: translateY(-5px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 
        0 -15px 120px 15px rgba(52, 73, 94, 0.35), 
        0 0 15px 0 rgba(0, 0, 0, 0.6);
}

.benefit-card:hover::before {
    opacity: 0.7;
}

.benefit-card:hover .card-glow {
    opacity: 0.9;
    transform: translateY(5px);
}

.benefit-card:hover .card-glow-center {
    opacity: 0.85;
    transform: translateY(10px);
}

.benefit-card:hover .card-border-glow {
    box-shadow: 
        0 0 20px 4px rgba(52, 152, 219, 0.9), 
        0 0 30px 6px rgba(30, 144, 255, 0.7), 
        0 0 40px 8px rgba(41, 128, 185, 0.5);
    opacity: 1;
}

/* アイコンサークル */
.benefit-card .card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(225deg, #1a2444 0%, #0e131f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
    z-index: 40;
    box-shadow: 
        0 6px 12px -2px rgba(0, 0, 0, 0.25), 
        0 3px 6px -1px rgba(0, 0, 0, 0.15), 
        inset 1px 1px 3px rgba(255, 255, 255, 0.12), 
        inset -2px -2px 4px rgba(0, 0, 0, 0.5);
    transition: all 0.4s ease;
}

.benefit-card:hover .card-icon {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 16px -2px rgba(0, 0, 0, 0.3), 
        0 4px 8px -1px rgba(0, 0, 0, 0.2), 
        inset 2px 2px 5px rgba(255, 255, 255, 0.15), 
        inset -2px -2px 5px rgba(0, 0, 0, 0.7);
}

/* アイコンハイライト */
.benefit-card .card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 66.67%;
    height: 66.67%;
    opacity: 0.4;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.5), transparent 80%);
    pointer-events: none;
    filter: blur(10px);
}

/* アイコンシャドウ */
.benefit-card .card-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    opacity: 0.5;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
    backdrop-filter: blur(3px);
}

/* カードコンテンツ */
.benefit-card .card-content {
    position: relative;
    z-index: 40;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.benefit-card h4 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-medium);
    color: #fff;
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}

.benefit-card:hover h4 {
    text-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.benefit-card ul {
    padding-left: 0;
    margin: 0;
    list-style: none;
    flex-grow: 1;
}

.benefit-card li {
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 350;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    position: relative;
    padding-left: 1.3rem;
    transition: all 0.4s ease;
}

.benefit-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(52, 152, 219, 0.8);
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- STRATEGY SECTION --- */
#strategy .two-column-layout { align-items: flex-start; }
.column-flow { display: flex; justify-content: center; align-items: center; padding-top: 2rem; }
.flow-diagram { display: flex; flex-direction: column-reverse; align-items: center; width: 100%; }
.flow-item { background-color: var(--text-white); border: 1px solid #ddd; border-radius: 50px; padding: 1rem 2rem; text-align: center; font-weight: 700; color: var(--text-dark); width: 100%; max-width: 350px; box-shadow: var(--box-shadow); }
.flow-item.result { background-color: var(--accent-orange); color: #fff; border-color: var(--accent-orange); }
.flow-item strong { color: var(--accent-orange); }
.flow-connector { font-size: 1.5rem; color: #ccc; margin: 0.5rem 0; height: 30px; position: relative; width: 2px; background-color: #ccc; }
.flow-connector::before { content: '▲'; position: absolute; left: 50%; top: -18px; transform: translateX(-50%); color: #ccc; font-size: 1rem; }

/* --- REASON SECTION (Figma Style) --- */
.reason-figma-style {
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.reason-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 110px 0;
    max-width: 1440px;
    margin: 0 auto;
    height: 480px;
}

/* 中央コンテンツエリア */
.reason-content-center {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 560px;
    padding: 0 20px;
}

.reason-main-title {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(2.5rem, 5vw, 3.4rem);
    line-height: 1.09;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.reason-description {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.76;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
}

/* ハイライトテキスト */
.reason-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: nowrap;
}

.highlight-text {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--primary-blue);
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 10px rgba(30, 64, 175, 0.3);
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    background-color: rgba(30, 64, 175, 0.05);
    border: 2px solid rgba(30, 64, 175, 0.1);
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: fit-content;
}

.highlight-text:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.2);
    border-color: rgba(30, 64, 175, 0.3);
}

.highlight-connector {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--accent-orange);
    text-shadow: 0 2px 8px rgba(233, 132, 61, 0.4);
    animation: pulse-connector 2s ease-in-out infinite;
    align-self: center;
    display: flex;
    align-items: center;
    height: 100%;
}


.reason-tagline {
    font-family: var(--font-body);
    font-weight: var(--font-weight-medium);
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    color: var(--text-dark);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}



/* 左右の画像 */
.reason-image-left,
.reason-image-right {
    position: absolute;
    width: 400px;
    height: 320px;
    z-index: 1;
}

.reason-image-left {
    left: -200px;
    top: 40px;
    
}

.reason-image-right {
    right: -200px;
    top: 170px;
   
}

.reason-image-left img,
.reason-image-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    rotate: 10deg;
    
}







.comparison-table { width: 100%; border-collapse: collapse; margin-top: 4rem; }
.comparison-table th, .comparison-table td { border: 1px solid #ddd; padding: 1.2rem; text-align: center; }
.comparison-table th { background-color: #f2f2f2; font-weight: 700; }
.comparison-table td:first-child { text-align: left; font-weight: 700; width: 25%; }
.comparison-table .strong { background-color: #fde7d7; font-weight: 700; }

/* --- PROGRAM SECTION --- */
#program {
    position: relative;
    overflow: hidden;
}

/* Program Section 背景マーキー */
#program .background-marquee {
    position: absolute;
    top: 10%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.08;
}

#program .background-marquee .marquee-content {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12vw;
    color: white;
    white-space: nowrap;
    display: inline-block;
    animation: marquee-to-left 35s linear infinite;
}

@keyframes marquee-to-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

#program .container {
    position: relative;
    z-index: 2;
}

/* Problem Section 背景マーキー */
#problem {
    position: relative;
    overflow: hidden;
}

#problem .background-marquee {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.08;
}

#problem .background-marquee .marquee-content {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12vw;
    color: white;
    white-space: nowrap;
    display: inline-block;
    animation: marquee-to-left 35s linear infinite;
}

#problem .container {
    position: relative;
    z-index: 2;
}

/* Benefits Section 背景マーキー */
#benefits {
    position: relative;
    overflow: hidden;
}

#benefits .background-marquee {
    position: absolute;
    top: 15%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.08;
}

#benefits .background-marquee .marquee-content {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12vw;
    color: white;
    white-space: nowrap;
    display: inline-block;
    animation: marquee-to-left 35s linear infinite;
}

#benefits .container {
    position: relative;
    z-index: 2;
}

.program-part { margin-top: 4rem; }
.program-part h3 { 
    font-family: var(--font-heading); 
    font-weight: var(--font-weight-medium); 
    color: var(--accent-orange); 
    border-bottom: 2px solid var(--accent-orange); 
    padding-bottom: 0.8rem; 
    display: inline-block; 
}
.program-meta { font-size: 0.9rem; color: #aaa; margin-bottom: 2rem; }

.pillars-title {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    font-size: 1.5rem;
    color: var(--text-white);
    text-align: center;
    margin: 2rem 0 1.5rem 0;
    position: relative;
}

.pillars-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 1px;
}

/* 4つの柱 - プレミアムカードデザイン */
.pillars-container { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 1.5rem; 
    margin-top: 2rem; 
    perspective: 1000px;
}

.pillar {
    position: relative;
    background: linear-gradient(180deg, #0e131f 0%, #000000 70%);
    padding: 1.8rem;
    border-radius: 25px 25px 20px 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 -8px 80px 8px rgba(52, 73, 94, 0.2), 
        0 0 8px 0 rgba(0, 0, 0, 0.4);
}

/* ガラス反射オーバーレイ */
.pillar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 80%, rgba(255,255,255,0.05) 100%);
    backdrop-filter: blur(2px);
    z-index: 35;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

/* ノイズテクスチャ */
.pillar::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.3;
    mix-blend-mode: overlay;
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='5' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* ブルー系グロー効果 */
.pillar .card-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    z-index: 20;
    background: 
        radial-gradient(ellipse at bottom right, rgba(52, 152, 219, 0.6) -10%, rgba(52, 73, 94, 0) 70%),
        radial-gradient(ellipse at bottom left, rgba(41, 128, 185, 0.6) -10%, rgba(52, 73, 94, 0) 70%);
    filter: blur(35px);
    opacity: 0.7;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.pillar .card-glow-center {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    z-index: 21;
    background: radial-gradient(circle at bottom center, rgba(30, 144, 255, 0.6) -20%, rgba(52, 73, 94, 0) 60%);
    filter: blur(40px);
    opacity: 0.65;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.pillar .card-border-glow {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    z-index: 25;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 
        0 0 12px 2px rgba(52, 152, 219, 0.7), 
        0 0 20px 4px rgba(30, 144, 255, 0.5), 
        0 0 30px 6px rgba(41, 128, 185, 0.3);
    opacity: 0.8;
    transition: all 0.4s ease;
}

/* ホバー効果 */
.pillar:hover {
    transform: translateY(-3px) rotateX(1deg) rotateY(-1deg);
    box-shadow: 
        0 -10px 90px 10px rgba(52, 73, 94, 0.25), 
        0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.pillar:hover::before {
    opacity: 0.6;
}

.pillar:hover .card-glow {
    opacity: 0.8;
    transform: translateY(3px);
}

.pillar:hover .card-glow-center {
    opacity: 0.75;
    transform: translateY(5px);
}

.pillar:hover .card-border-glow {
    box-shadow: 
        0 0 15px 3px rgba(52, 152, 219, 0.8), 
        0 0 25px 5px rgba(30, 144, 255, 0.6), 
        0 0 35px 7px rgba(41, 128, 185, 0.4);
    opacity: 0.9;
}

/* アイコンサークル */
.pillar .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(225deg, #1a2444 0%, #0e131f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 40;
    box-shadow: 
        0 5px 10px -2px rgba(0, 0, 0, 0.2), 
        0 2px 5px -1px rgba(0, 0, 0, 0.1), 
        inset 1px 1px 2px rgba(255, 255, 255, 0.1), 
        inset -1px -1px 3px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
}

.pillar:hover .card-icon {
    transform: translateY(-1px);
    box-shadow: 
        0 6px 12px -2px rgba(0, 0, 0, 0.25), 
        0 3px 6px -1px rgba(0, 0, 0, 0.15), 
        inset 1px 1px 3px rgba(255, 255, 255, 0.12), 
        inset -2px -2px 4px rgba(0, 0, 0, 0.5);
}

.pillar .card-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 60%;
    opacity: 0.3;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.4), transparent 70%);
    pointer-events: none;
    filter: blur(8px);
}

.pillar .card-icon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40%;
    opacity: 0.4;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), transparent);
    pointer-events: none;
    backdrop-filter: blur(2px);
}

/* カードコンテンツ */
.pillar .card-content {
    position: relative;
    z-index: 40;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.pillar-header {
    margin-bottom: 1rem;
}

.pillar-header h4 {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-medium);
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}

.pillar:hover .pillar-header h4 {
    text-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
}

.pillar-body {
    flex-grow: 1;
}

.pillar-body p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.8rem;
    line-height: 1.4;
    font-weight: 350;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    margin-bottom: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

.pillar-body p:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.management-part { display: grid; grid-template-columns: 2fr 1fr; gap: 4rem; background-color: rgba(0,0,0,0.1); padding: 3rem; border-radius: 8px; }
.management-part ul { list-style: disc; padding-left: 20px; color: #ccc; }
.management-part li { margin-bottom: 1em; }

/* --- ABOUT & CONTACT SECTION --- */
.about-contact-section {
    padding: 0;
    position: relative;
    overflow: hidden;
}

.about-contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 400px;
}

/* About Content (左側) - FV背景画像 */
.about-content {
    position: relative;
    background-image: url('images/semi.png');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.about-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, rgba(30, 58, 138, 0.85) 0%, rgba(59, 130, 246, 0.75) 100%),
        linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.about-text-content {
    position: relative;
    z-index: 2;
    padding: 60px;
    color: white;
}

.about-title {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-medium);
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    margin-bottom: 1.5rem;
    line-height: 1.4;
    color: #ffffff;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.8);
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #ffffff;
    opacity: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

.phone-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-contact i {
    font-size: 1.3rem;
    color: white;
    opacity: 0.9;
}

.phone-number {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 700;
    color: white;
    font-family: var(--font-family-en);
    letter-spacing: 0.1em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Contact Content (右側) - ブルー背景 */
.contact-content {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.contact-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
}

.contact-title {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-medium);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: white;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 2;
}

.contact-text {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.contact-form-button {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.contact-form-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* --- CLOSING MESSAGE SECTION --- */
.closing-section {
    background: #0f172a;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 背景ボックスアニメーション */
.background-boxes {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.boxes-container {
    position: absolute;
    left: 25%;
    top: -25%;
    transform: translate(-50%, -50%) skewX(-48deg) skewY(14deg) scale(0.675);
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(60, 64px);
    grid-template-rows: repeat(80, 32px);
    gap: 0;
}

.grid-box {
    width: 64px;
    height: 32px;
    border-right: 1px solid #334155;
    border-top: 1px solid #334155;
    background-color: transparent;
    transition: background-color 2s ease;
    position: relative;
}

.grid-box:hover {
    transition: background-color 0s;
}



.boxes-mask {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 40%, #0f172a 70%);
    z-index: 2;
    pointer-events: none;
}

.closing-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 30px;
    background: 
        linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.8) 100%);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-large);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 
        var(--box-shadow-large),
        0 0 40px rgba(233, 132, 61, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all var(--transition-slow);
}

.closing-content:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.25),
        0 0 60px rgba(233, 132, 61, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.closing-message {
    font-family: var(--font-heading);
    font-weight: var(--font-weight-bold);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    color: #ffffff;
    margin: 0;
    position: relative;
    line-height: 1.4;
    letter-spacing: 0.05em;
    text-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(255, 255, 255, 0.3);
}



.closing-message::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-orange) 50%, transparent 100%);
    border-radius: 2px;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(233, 132, 61, 0.6);
    animation: line-glow 2s ease-in-out infinite;
}

.closing-message::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-orange) 50%, transparent 100%);
    border-radius: 2px;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(233, 132, 61, 0.6);
    animation: line-glow 2s ease-in-out infinite 1s;
}

@keyframes line-glow {
    0%, 100% {
        opacity: 0.6;
        transform: translateX(-50%) scaleX(1);
        box-shadow: 0 0 15px rgba(233, 132, 61, 0.6);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.2);
        box-shadow: 0 0 25px rgba(233, 132, 61, 0.9);
    }
}

/* 文字アニメーション強化 */
.closing-message .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotateX(-45deg) scale(0.8);
    animation: char-appear-stylish 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    animation-delay: calc(60ms * var(--char-index));
    transform-origin: center bottom;
    transition: all 0.3s ease;
}

@keyframes char-appear-stylish {
    0% {
        opacity: 0;
        transform: translateY(30px) rotateX(-45deg) scale(0.8);
        filter: blur(5px);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-5px) rotateX(5deg) scale(1.05);
        filter: blur(1px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0deg) scale(1);
        filter: blur(0px);
    }
}

.closing-message .char:hover {
    transform: translateY(-3px) scale(1.1);
    text-shadow: 0 0 20px rgba(233, 132, 61, 0.8);
}

/* --- FOOTER SECTION --- */
.footer-section { 
    background-color: var(--primary-blue); 
    padding: 25px 0; 
    text-align: center; 
    position: relative;
}

.footer-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.footer-section .section-title { 
    font-family: var(--font-heading); 
    font-weight: var(--font-weight-medium); 
    letter-spacing: 3px; 
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    color: var(--text-white);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: var(--font-weight-normal);
    letter-spacing: 0.5px;
    margin: 0;
    opacity: 0.9;
    font-weight: bold;
}

/* --- カスタムカーソル --- */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 90px;
    height: 90px;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.1s ease;
    will-change: transform, opacity;
}

.custom-cursor.active {
    opacity: 1;
}

.cursor-circle {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border: 2px solid rgba(42, 124, 199, 0.6);
    animation: cursor-rotate 10s linear infinite;
    box-shadow: 
        0 0 20px rgba(42, 124, 199, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.cursor-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
}

.cursor-text span {
    position: absolute;
    left: 50%;
    font-family: var(--font-heading);
    font-size: 9px;
    font-weight: var(--font-weight-bold);
    color: #1e40af;
    transform-origin: 0 45px;
    text-transform: uppercase;
    letter-spacing: 1px;
    /* text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(30, 64, 175, 0.6);
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.3)); */
}

.cursor-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 
        0 0 15px rgba(42, 124, 199, 0.8),
        0 0 30px rgba(42, 124, 199, 0.4),
        inset 0 0 5px rgba(255, 255, 255, 0.3);
    animation: cursor-center-pulse 2s ease-in-out infinite;
}

@keyframes cursor-rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes cursor-center-pulse {
    0%, 100% {
        box-shadow: 
            0 0 15px rgba(42, 124, 199, 0.8),
            0 0 30px rgba(42, 124, 199, 0.4),
            inset 0 0 5px rgba(255, 255, 255, 0.3);
    }
    50% {
        box-shadow: 
            0 0 25px rgba(42, 124, 199, 1),
            0 0 40px rgba(42, 124, 199, 0.6),
            inset 0 0 8px rgba(255, 255, 255, 0.5);
    }
}

/* デフォルトカーソルを非表示 */
/* body.custom-cursor-active {
    cursor: none;
}

body.custom-cursor-active * {
    cursor: none;
} */

/* body.custom-cursor-active * {
    cursor: none !important;
} */

/* --- 追従型CTAボタン --- */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--accent-orange);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    /* box-shadow: 0 5px 15px rgba(0,0,0,0.2); */
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    visibility: hidden;
}
.floating-cta.is-visible {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}
.floating-cta:hover {
    background-color: #d66d28;
    transform: scale(1.05);
}
.floating-cta i {
    font-size: 1.2rem;
}

/* ===== レスポンシブデザイン ===== */

/* --- タブレット (1024px以下) --- */
@media (max-width: 1024px) {
    :root {
        --container-padding: 20px;
        --section-padding: 80px;
    }
    .pillars-container { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 1.5rem; 
    }
    
    .pillar {
        padding: 1.5rem;
        min-height: 300px;
    }
    
    .pillar .card-icon {
        width: 36px;
        height: 36px;
    }
    
    .pillar-header h4 {
        font-size: 1rem;
    }
    
    .pillar-body p {
        font-size: 0.75rem;
    }
    
    /* Benefits Cards タブレット対応 */
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .benefit-card {
        padding: 1.8rem;
        min-height: 360px;
    }
    
    .benefit-card h4 {
        font-size: 1.2rem;
    }
    
    .benefit-card li {
        font-size: 0.85rem;
    }
    
    /* About & Contact Section タブレット対応 */
    .about-text-content {
        padding: 40px;
    }
    
    .contact-content {
        padding: 40px;
    }
}
/* --- モバイル (768px以下) --- */
@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
        --section-padding: var(--section-padding-mobile);
    }
    
    /* Program Section マーキー タブレット対応 */
    #program .background-marquee .marquee-content {
        font-size: 15vw;
    }
    
    /* Problem Section マーキー タブレット対応 */
    #problem .background-marquee .marquee-content {
        font-size: 15vw;
    }
    
    /* Benefits Section マーキー タブレット対応 */
    #benefits .background-marquee .marquee-content {
        font-size: 15vw;
    }
    
    /* Reason Section レスポンシブ対応 */
    .reason-container {
        padding: 60px 0;
        height: 400px;
    }
    
    .reason-image-left,
    .reason-image-right {
        width: 320px;
        height: 260px;
    }
    
    .reason-image-left {
        left: -160px;
        top: 60px;
        transform: rotate(-3deg);
    }
    
    .reason-image-right {
        right: -160px;
        top: 80px;
        transform: rotate(5deg);
    }
    
    .content-section { 
        padding: var(--section-padding) 0; 
    }
    
    .hero-section {
        clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
        height: 80vh;
        min-height: 500px;
    }
    
    .hero-background {
        background-attachment: scroll;
        height: 100%;
    }
    
    /* Section Title 統一モバイル対応 */
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem) !important;
        margin-bottom: 2rem;
    }
    
    .section-title::after {
        width: 70% !important;
        height: 2px !important;
    }
    
    #intro .section-lead {
        font-size: clamp(1rem, 4vw, 1.2rem);
        max-width: 95%;
        line-height: 1.8;
    }

    /* Solution Section モバイル対応 */
    #solution {
        background-attachment: scroll;
    }
    
    #solution .one-cushion {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    #solution .solution-catch {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
        margin: 2rem 0 1.5rem 0;
    }
    
    /* Feature Steps モバイル対応 */
    .feature-steps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .feature-steps-list {
        order: 2;
    }
    
    .feature-image-container {
        order: 1;
        margin-right: 0;
        margin-left: 0;
        height: 250px;
    }
    
    .feature-step {
        gap: 1rem;
    }
    
    .step-circle {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .step-content h4 {
        font-size: 1.2rem;
    }
    
    .step-content li {
        font-size: 0.9rem;
    }
    
    .benefit-card {
        min-height: 350px;
        padding: 2rem;
        border-radius: 24px;
        transform: none !important;
        box-shadow: 
            0 -8px 80px 8px rgba(52, 73, 94, 0.2), 
            0 0 8px 0 rgba(0, 0, 0, 0.4);
    }
    
    .benefit-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 
            0 -10px 90px 10px rgba(52, 73, 94, 0.25), 
            0 0 10px 0 rgba(0, 0, 0, 0.5);
    }
    
    .benefit-card .card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 1rem;
    }
    
    .benefit-card h4 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .benefit-card li {
        font-size: 0.9rem;
        margin-bottom: 0.8rem;
        padding-left: 1.2rem;
    }
    
    /* Pillars Cards モバイル対応 */
    .pillars-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        perspective: none;
    }
    
    .pillar {
        min-height: 280px;
        padding: 1.5rem;
        border-radius: 16px;
        transform: none !important;
        box-shadow: 
            0 -6px 60px 6px rgba(52, 73, 94, 0.15), 
            0 0 6px 0 rgba(0, 0, 0, 0.3);
    }
    
    .pillar:hover {
        transform: translateY(-2px) !important;
        box-shadow: 
            0 -8px 70px 8px rgba(52, 73, 94, 0.2), 
            0 0 8px 0 rgba(0, 0, 0, 0.4);
    }
    
    .pillar .card-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0.8rem;
    }
    
    .pillar-header h4 {
        font-size: 1rem;
        margin-bottom: 0.8rem;
    }
    
    .pillar-body p {
        font-size: 0.8rem;
        margin-bottom: 0.6rem;
        padding-bottom: 0.6rem;
    }
    
    /* About & Contact Section モバイル対応 */
    .about-contact-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .about-contact-layout {
        min-height: auto;
    }
    
    .about-text-content {
        padding: 40px 20px;
        text-align: center;
    }
    
    .contact-content {
        padding: 40px 20px;
    }
    
    .phone-contact {
        justify-content: center;
    }
    
    .contact-form-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    /* Closing Message Section モバイル対応 */
    .closing-section {
        padding: 80px 0;
    }
    
    .closing-content {
        padding: 30px 15px;
        margin: 0 15px;
        border-radius: 15px;
    }
    
    .closing-section {
        padding: 40px 0;
        min-height: 250px;
    }
    
    .closing-content {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .closing-message {
        font-size: clamp(1.1rem, 4.5vw, 1.6rem);
        line-height: 1.5;
        font-weight: var(--font-weight-bold);
        letter-spacing: 0.03em;
    }
    
    .boxes-container {
        grid-template-columns: repeat(40, 48px);
        grid-template-rows: repeat(60, 24px);
        transform: translate(-50%, -50%) skewX(-48deg) skewY(14deg) scale(0.5);
    }
    
    .grid-box {
        width: 48px;
        height: 24px;
    }
    .two-column-layout { grid-template-columns: 1fr; gap: 3rem; }
    .section-title.align-left { text-align: center; }
    .section-title.align-left::after { left: 50%; transform: translateX(-50%); }
    .management-part { grid-template-columns: 1fr; gap: 3rem; }
    .target-visual-diagram { flex-direction: column; gap: 1.5rem; }
    .target-symbol { transform: rotate(90deg); }
    .comparison-table { display: block; width: 100%; }
    .comparison-table thead { display: none; }
    .comparison-table tr { display: block; margin-bottom: 1rem; border: 1px solid #ddd; }
    .comparison-table td { display: block; text-align: right; border-bottom: 1px solid #eee; padding-left: 50%; position: relative; }
    .comparison-table td::before { content: attr(data-label); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); font-weight: bold; text-align: left; }
    .comparison-table td:first-child { background-color: #f2f2f2; text-align: center; padding-left: 1.2rem; }
    .comparison-table td:first-child::before { content: ""; }
}
/* --- 小型モバイル (540px以下) --- */
@media (max-width: 540px) {
    .pillars-container { grid-template-columns: 1fr; }
    
    /* Program Section マーキー モバイル対応 */
    #program .background-marquee .marquee-content {
        font-size: 20vw;
        opacity: 0.06;
    }
    
    /* Problem Section マーキー モバイル対応 */
    #problem .background-marquee .marquee-content {
        font-size: 20vw;
        opacity: 0.06;
    }
    
    /* Benefits Section マーキー モバイル対応 */
    #benefits .background-marquee .marquee-content {
        font-size: 20vw;
        opacity: 0.06;
    }
    
    /* Reason Section モバイル対応 */
    .reason-container {
        padding: 40px 0;
        height: auto;
        flex-direction: column;
    }
    
    .reason-image-left,
    .reason-image-right {
        position: relative;
        width: 240px;
        height: 180px;
        left: auto;
        right: auto;
        top: auto;
        margin: 20px 0;
        transform: none;
    }
    
    .reason-content-center {
        order: 1;
        max-width: 90%;
    }
    
    .reason-highlight {
        flex-direction: column;
        gap: 1rem;
    }
    
    .highlight-text {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
        padding: 0.4rem 0.8rem;
    }
    
    .highlight-connector {
        font-size: clamp(1.5rem, 6vw, 2rem);
        transform: rotate(90deg);
    }
    
    .reason-image-left {
        order: 0;
    }
    
    .reason-image-right {
        order: 2;
    }
    
    /* Hero Section モバイル最適化 */
    .hero-main-title {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
    }
    
    .hero-jp-title {
        font-size: clamp(1rem, 4vw, 1.3rem);
        margin: 1rem 0 0 0;
    }
    
    .hero-subtitle {
        font-size: clamp(1.1rem, 4vw, 1.4rem);
        max-width: 95%;
    }
    
    .accent-line {
        width: 80px;
        height: 2px;
        margin: 1.5rem auto;
    }
    
    .main-title-wrapper {
        margin-bottom: 1.5rem;
    }
    
    .floating-cta {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}
