/* ========================================
   E-NE Landing Page - Style Sheet
   ======================================== */

/* CSS Variables */
:root {
    --primary: #2ECB70;
    --primary-dark: #25a35a;
    --primary-light: #4fd988;
    --secondary: #475569;
    --secondary-dark: #334155;
    --accent: #0ea5e9;
    --dark: #1e293b;
    --dark-soft: #334155;
    --light: #f8fafc;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;
    
    --gradient-primary: linear-gradient(135deg, #2ECB70 0%, #0ea5e9 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-hero: linear-gradient(160deg, #0f172a 0%, #1e3a5f 50%, #1e293b 100%);
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-glow: 0 0 40px rgba(46, 203, 112, 0.3);
    
    --font-sans: 'Outfit', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

.text-primary {
    color: var(--primary);
}

.sp-only {
    display: none;
}

@media (max-width: 768px) {
    .sp-only {
        display: inline;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md), 0 0 0 0 rgba(46, 203, 112, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(46, 203, 112, 0.4);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    transition: var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9375rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-fast);
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* Hero Section - 明るい2カラムレイアウト */
.hero {
    position: relative;
    min-height: 100vh;
    background: var(--white);
    padding: 12rem 0 4rem;
    overflow: hidden;
}

/* 背景装飾 */
.hero-decoration {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.deco-line {
    position: absolute;
    background: linear-gradient(135deg, #7dd3fc 0%, #a5f3fc 100%);
    opacity: 0.6;
}

.deco-line-1 {
    width: 400px;
    height: 8px;
    top: 30%;
    right: -50px;
    transform: rotate(-35deg);
    border-radius: 4px;
}

.deco-line-2 {
    width: 600px;
    height: 12px;
    bottom: 15%;
    right: -100px;
    transform: rotate(-35deg);
    border-radius: 6px;
}

.deco-line-3 {
    width: 300px;
    height: 6px;
    top: 60%;
    right: 10%;
    transform: rotate(-35deg);
    border-radius: 3px;
}

.deco-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(125, 211, 252, 0.3) 0%, rgba(165, 243, 252, 0.2) 100%);
}

.deco-circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 25%;
}

.deco-circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 5%;
}

/* ヒーローコンテナ */
.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* 左側: テキストコンテンツ */
.hero-content {
    max-width: 550px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--gray-600);
    margin: 1.5rem 0;
    line-height: 1.9;
    animation: fadeInUp 0.8s ease-out 0.1s backwards;
}

/* 統計数字 */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin: 2rem 0;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.stat-item {
    text-align: left;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--gray-700);
    font-weight: 500;
    margin-bottom: 0.25rem;
    display: block;
}

.stat-value {
    display: flex;
    align-items: baseline;
    gap: 0.125rem;
}

.stat-number {
    font-size: clamp(3.5rem, 7vw, 5rem);
    font-weight: 800;
    color: #0ea5e9;
    line-height: 1;
    letter-spacing: -0.02em;
    font-family: 'Outfit', sans-serif;
}

.stat-unit {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-800);
}

/* CTAエリア */
.hero-cta-area {
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.cta-lead {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-weight: 500;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, #25a35a 100%);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(46, 203, 112, 0.4);
    transition: var(--transition-base);
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(46, 203, 112, 0.5);
}

.hero-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 1rem;
}

/* 右側: ヒーロービジュアル - absolute配置 */
.hero-visual {
    position: absolute;
    top: 12rem;
    right: -20%;
    width: 75%;
    animation: fadeInRight 1s ease-out 0.2s backwards;
    pointer-events: none;
}

/* メイン画像 */
.hero-image-main {
    position: relative;
    width: 100%;
}

.hero-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 画像がない場合のプレースホルダー（不要になりましたが互換性のため残す） */
.image-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border: 3px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
}

.hero-img:not([src=""]):not([src="hero-main.png"]) + .image-placeholder,
.hero-img[src]:not([src=""]):not([src="hero-main.png"]) ~ .image-placeholder {
    display: none;
}

.placeholder-content {
    text-align: center;
    color: var(--gray-400);
}

.placeholder-content svg {
    margin-bottom: 1rem;
    opacity: 0.6;
}

.placeholder-content p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.placeholder-content span {
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* 個別画像レイアウト（オプション） */
.hero-images-separate {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin-left: auto;
}

.device-pc-image {
    position: relative;
    z-index: 2;
}

.device-pc-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-2xl);
}

.device-phone-image {
    position: absolute;
    bottom: -30px;
    left: -60px;
    z-index: 3;
    width: 180px;
}

.device-phone-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.hero-person-image {
    position: absolute;
    bottom: -20px;
    right: -40px;
    width: 150px;
    z-index: 4;
}

.hero-person-image img {
    width: 100%;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* 
 * ==================================================
 * 以下は旧デバイスモックアップのスタイル（参考用に残しています）
 * ==================================================
 */

/* PCモックアップ（参考用） */
.device-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    margin-left: auto;
}

.device-pc {
    position: relative;
    z-index: 2;
}

.pc-frame {
    background: var(--gray-800);
    border-radius: 12px;
    padding: 8px;
    box-shadow: var(--shadow-2xl);
}

.pc-screen {
    background: var(--white);
    border-radius: 6px;
    overflow: hidden;
}

.screen-header {
    background: var(--gray-100);
    padding: 8px 12px;
    display: flex;
    align-items: center;
}

.screen-dots {
    display: flex;
    gap: 6px;
}

.screen-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
}

.screen-dots span:first-child { background: #ff5f57; }
.screen-dots span:nth-child(2) { background: #febc2e; }
.screen-dots span:last-child { background: #28c840; }

.screen-content {
    padding: 20px;
    min-height: 200px;
}

.mock-calendar {
    background: var(--gray-50);
    border-radius: 8px;
    overflow: hidden;
}

.mock-header {
    background: var(--primary);
    color: var(--white);
    padding: 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

.mock-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 12px;
}

.mock-slot {
    height: 40px;
    background: var(--gray-200);
    border-radius: 6px;
}

.mock-slot.available {
    background: rgba(46, 203, 112, 0.2);
    border: 2px solid var(--primary);
}

/* スマホモックアップ（参考用） */
.device-phone {
    position: absolute;
    bottom: -30px;
    left: -60px;
    z-index: 3;
    width: 160px;
}

.phone-frame {
    background: var(--gray-900);
    border-radius: 24px;
    padding: 8px;
    box-shadow: var(--shadow-2xl);
}

.phone-notch {
    width: 60px;
    height: 20px;
    background: var(--gray-900);
    border-radius: 0 0 12px 12px;
    margin: 0 auto;
    position: relative;
    top: -1px;
}

.phone-screen {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    min-height: 280px;
}

.phone-content {
    padding: 16px 12px;
}

.line-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 12px;
}

.line-icon {
    width: 32px;
    height: 32px;
    background: #06C755;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.line-icon svg {
    width: 20px;
    height: 20px;
}

.line-header span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
}

.line-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.line-bubble {
    background: #06C755;
    color: var(--white);
    padding: 10px 12px;
    border-radius: 0 12px 12px 12px;
    font-size: 0.75rem;
    line-height: 1.5;
    max-width: 90%;
}

.line-bubble small {
    display: block;
    margin-top: 4px;
    opacity: 0.9;
}

/* 人物イラスト（参考用） */
.hero-person {
    position: absolute;
    bottom: -20px;
    right: -40px;
    width: 120px;
    z-index: 4;
}

.hero-person svg {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

/* アニメーション */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Section Styles */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(46, 203, 112, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.3;
}

/* Problems Section */
.problems {
    background: var(--white);
    padding: 6rem 0;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
    margin-bottom: 3rem;
}

/* 課題アイテム - 2カラム構成 */
.problem-item {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: start;
    border: solid 2px #30cb70;
    padding: 20px;
    border-radius: 20px;
    overflow: hidden;
}

/* 3つ目の課題を中央配置 */
.problem-item-center {
    max-width: 500px;
    margin: 0 auto 3rem;
}

/* 人物画像 */
.problem-image {
    position: absolute;
    bottom: 0;
    left: -20px;
    height: 100%;
    width: auto;
}

.problem-image img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* テキストコンテンツ */
.problem-content {
    margin-left: 160px;
}

.problem-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

.problem-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.problem-list li {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.7;
    padding-left: 0;
    position: relative;
}

.problems-conclusion {
    text-align: center;
    margin-top: 2rem;
    padding-top: 3rem;
    border-top: 1px solid var(--gray-200);
}

.problems-conclusion p {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900);
}

/* Solutions Section */
.solutions {
    background: var(--gray-50);
}

.solution-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-200);
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.solution-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.solution-item:last-child {
    border-bottom: none;
}

.solution-item.reverse {
    direction: rtl;
}

.solution-item.reverse > * {
    direction: ltr;
}

.solution-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
}

.solution-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.solution-subtitle {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.solution-desc {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.solution-comparison {
    display: flex;
    align-items: stretch;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.comparison-before,
.comparison-after {
    flex: 1;
    padding: 1rem;
    border-radius: var(--radius-md);
}

.comparison-before {
    background: var(--gray-100);
    border: 1px dashed var(--gray-300);
}

.comparison-after {
    background: rgba(46, 203, 112, 0.1);
    border: 1px solid var(--primary);
}

.comparison-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.5rem;
}

.comparison-before .comparison-label {
    background: var(--gray-300);
    color: var(--gray-700);
}

.comparison-after .comparison-label {
    background: var(--primary);
    color: var(--white);
}

.comparison-before p,
.comparison-after p {
    font-size: 0.875rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.comparison-arrow {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    color: var(--gray-400);
    flex-shrink: 0;
}

.solution-features {
    margin-bottom: 1.5rem;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 1rem;
    color: var(--gray-700);
}

.solution-features li:last-child {
    border-bottom: none;
}

.feature-icon {
    font-size: 1.25rem;
}

.solution-effects {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.solution-effects li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
    font-weight: 500;
}

.effect-icon {
    color: var(--primary);
    font-weight: 700;
}

.solution-visual {
    display: flex;
    justify-content: center;
}

/* 解決策セクションの画像プレースホルダー */
.solution-image {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.solution-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.solution-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    border: 3px dashed var(--gray-300);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

/* 画像が正しく読み込まれたらプレースホルダーを非表示 */
.solution-img:not([src=""]):not([src="solution-01.png"]):not([src="solution-02.png"]):not([src="solution-03.png"]) + .solution-placeholder {
    display: none;
}

.solution-placeholder .placeholder-content {
    text-align: center;
    color: var(--gray-400);
}

.solution-placeholder .placeholder-content svg {
    margin-bottom: 0.75rem;
    opacity: 0.6;
}

.solution-placeholder .placeholder-content p {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.solution-placeholder .placeholder-content span {
    font-size: 0.8125rem;
    color: var(--gray-400);
}

.visual-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    width: 100%;
    max-width: 400px;
}

/* Calendar Preview */
.calendar-preview {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.calendar-header {
    background: var(--primary);
    color: var(--white);
    padding: 1rem;
    font-weight: 600;
    text-align: center;
}

.calendar-slots {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.slot {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slot.available {
    background: rgba(46, 203, 112, 0.1);
    color: var(--gray-700);
    border: 1px solid var(--primary);
}

.slot.booked {
    background: var(--gray-100);
    color: var(--gray-400);
    text-decoration: line-through;
}

.slot-badge {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

/* Priority Preview */
.priority-preview {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.priority-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    transition: var(--transition-fast);
}

.priority-item:first-child {
    background: rgba(46, 203, 112, 0.1);
    border: 1px solid var(--primary);
}

.priority-rank {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-200);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.priority-item:first-child .priority-rank {
    background: var(--primary);
    color: var(--white);
}

.priority-name {
    flex: 1;
    font-weight: 500;
    color: var(--gray-700);
}

.priority-badge {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

/* LINE Preview */
.line-preview {
    background: #7bb8e7;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.line-message {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.line-bubble {
    background: var(--white);
    padding: 1rem;
    border-radius: 0 var(--radius-lg) var(--radius-lg) var(--radius-lg);
    font-size: 0.875rem;
    color: var(--gray-800);
    line-height: 1.6;
    max-width: 280px;
    box-shadow: var(--shadow-sm);
}

.line-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-left: 0.5rem;
}

/* Features Section */
.features {
    background: var(--primary);
}

.features .section-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.features .section-title {
    color: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border: none;
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:nth-child(1).animate-in { transition-delay: 0ms; }
.feature-card:nth-child(2).animate-in { transition-delay: 50ms; }
.feature-card:nth-child(3).animate-in { transition-delay: 100ms; }
.feature-card:nth-child(4).animate-in { transition-delay: 150ms; }
.feature-card:nth-child(5).animate-in { transition-delay: 200ms; }
.feature-card:nth-child(6).animate-in { transition-delay: 250ms; }

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(46, 203, 112, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: var(--radius-lg);
    margin: 0 auto 1.5rem;
    color: var(--primary);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Flow Section */
.flow {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.flow-steps {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

.flow-step {
    flex: 1;
    text-align: center;
    padding: 2rem;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.flow-step.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.flow-step:nth-child(1).animate-in { transition-delay: 0ms; }
.flow-step:nth-child(3).animate-in { transition-delay: 150ms; }
.flow-step:nth-child(5).animate-in { transition-delay: 300ms; }

.step-number {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-glow);
}

.step-number span {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.step-desc {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.7;
}

.step-visual {
    margin-top: 1.5rem;
}

.step-icon {
    font-size: 3rem;
}

.flow-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin-top: 4.5rem;
    flex-shrink: 0;
}

/* Cases Section */
.cases {
    background: var(--gray-900);
    color: var(--white);
}

.cases .section-tag {
    background: rgba(46, 203, 112, 0.2);
}

.cases .section-title {
    color: var(--white);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.case-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: var(--transition-base);
    opacity: 0;
    transform: translateY(20px);
}

.case-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.case-card:nth-child(1).animate-in { transition-delay: 0ms; }
.case-card:nth-child(2).animate-in { transition-delay: 100ms; }
.case-card:nth-child(3).animate-in { transition-delay: 200ms; }

.case-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.case-industry {
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.case-company {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.case-result {
    margin-bottom: 0.5rem;
}

.result-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.result-unit {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-left: 0.25rem;
}

.case-metric {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1rem;
}

.case-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* Pricing Section */
.pricing {
    background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: 3rem;
    box-shadow: var(--shadow-2xl);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    position: absolute;
    top: 1.5rem;
    right: -2rem;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.5rem 3rem;
    transform: rotate(45deg);
}

.pricing-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
    text-align: center;
}

.pricing-price {
    text-align: center;
    margin-bottom: 1rem;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-600);
    vertical-align: top;
}

.price-amount {
    font-size: 4rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--gray-500);
}

.pricing-initial {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(46, 203, 112, 0.1);
    border-radius: var(--radius-lg);
}

.initial-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-right: 0.5rem;
}

.initial-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.initial-note {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 0.25rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    color: var(--primary);
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
    margin-bottom: 1.5rem;
}

.pricing-option {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.option-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 0.25rem;
}

.option-desc {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* FAQ Section */
.faq {
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 0;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--gray-900);
    text-align: left;
    transition: var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    flex-shrink: 0;
    color: var(--gray-400);
    transition: var(--transition-base);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 0 1.5rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* Final CTA Section */
.final-cta {
    background: var(--gradient-hero);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 30% 50%, rgba(46, 203, 112, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(14, 165, 233, 0.15) 0%, transparent 40%);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.cta-desc {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    margin-bottom: 1rem;
}

.cta-note {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.footer {
    background: var(--gray-900);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo .logo-img {
    height: 32px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding-top: 1.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-visual {
        order: 2;
    }
    
    .hero-title {
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-cta-area {
        text-align: center;
    }
    
    .hero-visual {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: 600px;
        margin: 3rem auto 0;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .deco-line-1,
    .deco-line-2,
    .deco-line-3 {
        opacity: 0.4;
    }
    
    .problems-grid,
    .features-grid,
    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .solution-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .solution-item.reverse {
        direction: ltr;
    }
    
    .flow-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .flow-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }
}

@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero {
        padding: 8rem 1rem 3rem;
    }
    
    .hero-container {
        padding: 0 1rem;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-stats {
        flex-direction: row;
        gap: 2rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-unit {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .stat-unit {
        font-size: 1.125rem;
    }
    
    .device-phone {
        display: none;
    }
    
    .hero-person {
        display: none;
    }
    
    .deco-line,
    .deco-circle {
        display: none;
    }
    
    /* プレースホルダー調整 */
    .image-placeholder {
        min-height: 300px;
    }
    
    .device-phone-image,
    .hero-person-image {
        display: none;
    }
    
    .problems-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .problem-item {
        padding: 15px;
        padding-left: 120px;
        min-height: 180px;
    }
    
    .problem-image {
        left: -10px;
        height: 100%;
    }
    
    .problem-content {
        margin-left: 0;
    }
    
    .problem-title {
        font-size: 1.125rem;
    }
    
    .problem-item-center {
        max-width: 100%;
    }
    
    .features-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-comparison {
        flex-direction: column;
    }
    
    .comparison-arrow {
        transform: rotate(90deg);
        justify-content: center;
    }
    
    .visual-card {
        max-width: 100%;
    }
    
    .flow-step {
        padding: 1.5rem;
    }
    
    .pricing-card {
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.375rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-item {
        text-align: center;
    }
    
    .btn-hero {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .result-number {
        font-size: 2.5rem;
    }
    
    .price-amount {
        font-size: 3rem;
    }
}

