/* ============================================
   らくなげ - Premium Landing Page Styles
   ============================================ */

/* ---- CSS Variables ---- */
:root {
    --primary: #F5901B;
    --primary-dark: #D97A0F;
    --primary-light: #FFF3E6;
    --accent: #F5901B;
    --dark: #1A1A2E;
    --dark-blue: #16213E;
    --navy: #0F3460;
    --gray-900: #1a1a1a;
    --gray-800: #2d2d2d;
    --gray-700: #404040;
    --gray-600: #555555;
    --gray-500: #777777;
    --gray-400: #999999;
    --gray-300: #cccccc;
    --gray-200: #e5e5e5;
    --gray-100: #f5f5f5;
    --gray-50: #fafafa;
    --white: #ffffff;
    --danger: #E53E3E;
    --success: #38A169;
    --info: #3182CE;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    --font-en: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-jp);
    color: var(--gray-800);
    line-height: 1.8;
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
    list-style: none;
}

/* ---- Utilities ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

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

.sp-only { display: none; }

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-jp);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(245, 144, 27, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 144, 27, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--white);
}

.btn-lg {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ---- Navigation ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 16px 0;
}

.navbar.scrolled {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 34px;
    width: auto;
    transition: var(--transition);
}

.navbar.scrolled .logo-img {
    height: 30px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 50px;
    transition: var(--transition);
    letter-spacing: 0.02em;
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
}

.nav-cta-link {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 24px;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.bar {
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}
.hamburger.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.7) 0%,
        rgba(15, 52, 96, 0.55) 40%,
        rgba(15, 52, 96, 0.4) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 144, 27, 0.2);
    border: 1px solid rgba(245, 144, 27, 0.5);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 50px;
    margin-bottom: 28px;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.hero-title-accent {
    color: var(--primary);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.9);
    line-height: 1.9;
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-bottom: 48px;
    padding: 28px 40px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

.hero-stat-number {
    display: block;
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}

.hero-stat-number small {
    font-size: 0.45em;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll-indicator span {
    font-family: var(--font-en);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ============================================
   SECTION BASE
   ============================================ */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-jp);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.4;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.9;
    max-width: 700px;
    margin: 0 auto;
}

/* ============================================
   PROBLEM SECTION
   ============================================ */
.section-problem {
    background: var(--gray-50);
}

.problem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

.problem-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.problem-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.problem-card-img {
    height: 240px;
    overflow: hidden;
}

.problem-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.problem-card:hover .problem-card-img img {
    transform: scale(1.05);
}

.problem-card-content {
    padding: 32px;
}

.problem-card-dark {
    background: var(--white);
}

.problem-card-blue {
    background: var(--white);
}

.problem-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.problem-card-dark .problem-icon {
    background: #FEE2E2;
    color: var(--danger);
}

.problem-card-blue .problem-icon {
    background: #DBEAFE;
    color: var(--info);
}

.problem-card-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 12px;
    line-height: 1.4;
}

.problem-card-text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.problem-card-text strong {
    color: var(--gray-900);
    font-weight: 700;
}

.problem-card-source {
    margin-top: 14px;
    font-size: 0.7rem;
    line-height: 1.5;
    color: var(--gray-400);
}

.problem-stats-row {
    display: flex;
    gap: 24px;
}

.problem-stat-item {
    display: flex;
    flex-direction: column;
}

.problem-stat-value {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 4px;
}

.problem-stat-value small {
    font-size: 0.6em;
}

.problem-stat-label {
    font-size: 0.8rem;
    color: var(--gray-500);
    font-weight: 500;
}

.problem-callout {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--dark) 0%, var(--navy) 100%);
    box-shadow: var(--shadow-lg);
    text-align: center;
    overflow: hidden;
}

.problem-callout::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(245,144,27,0.12);
}

.problem-callout-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(245,144,27,0.15);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.problem-callout-text {
    position: relative;
    color: var(--white);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

/* ============================================
   SOLUTION/SERVICE SECTION
   ============================================ */
.section-solution {
    background: var(--white);
}

/* Before / After */
.before-after {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 60px;
    position: relative;
}

.ba-card {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
    transition: var(--transition);
}

.ba-card:hover {
    box-shadow: var(--shadow-lg);
}

.ba-before {
    border: 2px solid var(--gray-200);
}

.ba-after {
    border: 2px solid var(--primary);
}

.ba-header {
    padding: 16px 24px;
}

.ba-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
}

.ba-badge-before {
    background: #FEE2E2;
    color: var(--danger);
}

.ba-badge-after {
    background: var(--primary-light);
    color: var(--primary);
}

.ba-img-wrap {
    height: 200px;
    overflow: hidden;
}

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

.ba-list {
    padding: 24px;
}

.ba-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--gray-700);
    font-weight: 500;
}

.ba-before .ba-list li i {
    color: var(--danger);
    margin-top: 3px;
}

.ba-after .ba-list li i {
    color: var(--success);
    margin-top: 3px;
}

.ba-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    flex-shrink: 0;
}

.ba-arrow-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(245, 144, 27, 0.4);
    margin-bottom: 8px;
}

.ba-arrow-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.feature-card {
    background: var(--gray-50);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-card:hover {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon-wrap {
    margin-bottom: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(245, 144, 27, 0.3);
}

.feature-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 10px;
    line-height: 1.4;
}

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


/* ============================================
   SCOPE SECTION
   ============================================ */
.section-scope {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.scope-layout {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: 32px;
}

.scope-card {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--white);
    transition: var(--transition);
}

.scope-card:hover {
    box-shadow: var(--shadow-lg);
}

.scope-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    color: var(--white);
}

.scope-card-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.scope-header-icon {
    font-size: 1.2rem;
}

.scope-header-do {
    background: linear-gradient(135deg, #059669, #047857);
}

.scope-header-dont {
    background: linear-gradient(135deg, var(--navy), var(--dark-blue));
}

.scope-card-img {
    height: 180px;
    overflow: hidden;
}

.scope-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scope-list {
    padding: 24px;
}

.scope-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    border-bottom: 1px solid var(--gray-100);
}

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

.scope-check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #D1FAE5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.scope-x {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #DBEAFE;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.scope-shield-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    flex-shrink: 0;
}

.scope-shield {
    width: 100px;
    height: 120px;
    background: linear-gradient(145deg, #F5901B, #D97A0F);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    box-shadow: 0 4px 20px rgba(245, 144, 27, 0.4);
}

.scope-shield i {
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.scope-shield span {
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.3;
}

.scope-disclaimer {
    text-align: center;
    padding: 16px 24px;
    background: var(--gray-100);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 40px;
}

.scope-disclaimer i {
    color: var(--primary);
    margin-right: 6px;
}


/* ============================================
   PROCESS SECTION
   ============================================ */
.section-process {
    background: var(--dark);
    color: var(--white);
}

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

.section-process .section-desc {
    color: rgba(255,255,255,0.6);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 50px;
}

.process-line {
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), rgba(245, 144, 27, 0.2));
}

.process-step {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding: 24px 0;
    position: relative;
}

.process-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(245, 144, 27, 0.4);
}

.process-step-number span {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
}

.process-step-content {
    flex: 1;
    padding-top: 4px;
}

.process-week {
    font-family: var(--font-en);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.process-step-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.process-step-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

.process-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(245, 144, 27, 0.1);
    border: 1px solid rgba(245, 144, 27, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 4px;
}

/* ============================================
   RESULTS SECTION (導入前後の数値比較)
   ============================================ */
.section-results {
    background: var(--gray-50);
}

.effect-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto 20px;
}

.effect-chart {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 28px 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 吹き出し（倍率バッジ） */
.effect-bubble {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    margin-bottom: 26px;
    box-shadow: 0 8px 24px rgba(245,144,27,0.35);
}

.effect-bubble::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 14px solid var(--primary);
}

.effect-bubble-label {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    padding: 0 10px;
}

.effect-bubble-value {
    font-family: var(--font-en);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    margin-top: 4px;
}

.effect-bubble-value small {
    font-family: var(--font-jp);
    font-size: 1rem;
    font-weight: 700;
    margin-left: 2px;
}

/* 棒グラフ */
.effect-bars {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    width: 100%;
    height: 170px;
    padding: 0 16px;
    border-bottom: 2px solid var(--gray-300);
}

.effect-bar {
    position: relative;
    width: 72px;
    border-radius: 6px 6px 0 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    transition: height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.effect-bar-before {
    background: var(--gray-200);
    color: var(--gray-700);
}

.effect-bar-after {
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
}

.effect-bar-value {
    font-family: var(--font-en);
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    padding-top: 12px;
    white-space: nowrap;
}

.effect-bar-value small {
    font-family: var(--font-jp);
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 1px;
}

.effect-axis {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    padding: 10px 16px 0;
}

.effect-axis span {
    width: 72px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-500);
}

.effect-axis .effect-axis-after {
    color: var(--primary-dark);
}

.effect-rate {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-top: 14px;
    padding: 10px 16px;
    width: 100%;
    border-radius: var(--radius-sm);
    background: var(--gray-50);
}

.effect-rate-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gray-500);
}

.effect-rate-values {
    font-family: var(--font-en);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-600);
}

.effect-rate-values i {
    font-size: 0.75rem;
    margin: 0 4px;
    color: var(--gray-400);
}

.effect-rate-values strong {
    color: var(--primary-dark);
    font-weight: 800;
}

.effect-notes {
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.78rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.effect-notes li {
    padding-left: 2.4em;
    text-indent: -2.4em;
    margin-bottom: 2px;
}

.effect-bubble-label sup {
    font-size: 0.6em;
    font-weight: 500;
    vertical-align: super;
    margin-left: 1px;
}

@media (max-width: 768px) {
    .effect-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 340px;
    }
    .effect-chart {
        padding: 22px 20px 18px;
    }
    .effect-bubble {
        width: 116px;
        height: 116px;
        margin-bottom: 22px;
    }
    .effect-bubble-value { font-size: 2rem; }
    .effect-bars { height: 140px; }
    .effect-rate { margin-top: 12px; padding: 8px 12px; }
    .effect-notes { font-size: 0.72rem; }
    .problem-callout { padding: 36px 22px; }
    .problem-callout-text { font-size: 1.2rem; }
}

/* ============================================
   CTA MIDDLE
   ============================================ */
.section-cta-middle {
    background: linear-gradient(135deg, var(--navy) 0%, var(--dark-blue) 100%);
    padding: 80px 0;
}

.cta-middle-content {
    text-align: center;
}

.cta-middle-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.4;
}

.cta-middle-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 32px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.section-faq {
    background: var(--gray-50);
}

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

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
}

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

.faq-item.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    font-family: var(--font-jp);
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}

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

.faq-icon {
    transition: transform 0.3s ease;
    color: var(--gray-400);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
}

/* ============================================
   COMPANY SECTION
   ============================================ */
.section-company {
    background: var(--white);
}

.company-table-wrap {
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 20px 28px;
    font-size: 0.95rem;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
    line-height: 1.7;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-table th {
    width: 160px;
    background: var(--gray-50);
    color: var(--gray-700);
    font-weight: 700;
    white-space: nowrap;
    vertical-align: top;
}

.company-table td {
    color: var(--gray-800);
    font-weight: 500;
}

@media (max-width: 768px) {
    .company-table th,
    .company-table td {
        padding: 14px 20px;
        font-size: 0.9rem;
    }

    .company-table th {
        width: 110px;
    }
}

@media (max-width: 480px) {
    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 10px 20px;
    }

    .company-table th {
        background: var(--gray-100);
        border-bottom: none;
        padding-bottom: 4px;
        font-size: 0.8rem;
        color: var(--gray-500);
    }

    .company-table td {
        padding-top: 4px;
        padding-bottom: 16px;
        border-bottom: 1px solid var(--gray-200);
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.section-contact {
    background: var(--white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 24px;
}

.contact-info-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.contact-info-card h3 i {
    color: var(--primary);
    margin-right: 8px;
}

.contact-info-card ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--gray-700);
}

.contact-info-card ul li i {
    color: var(--success);
    font-size: 0.85rem;
}

.contact-trust {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--gray-500);
}

.trust-item i {
    color: var(--navy);
    font-size: 1.1rem;
}

/* Form */
.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.required {
    font-size: 0.75rem;
    background: var(--danger);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    font-weight: 500;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-jp);
    font-size: 0.95rem;
    color: var(--gray-800);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 144, 27, 0.1);
}

.form-input::placeholder {
    color: var(--gray-300);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-agree {
    margin-top: 4px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.privacy-link {
    color: var(--primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.privacy-link:hover {
    color: var(--primary);
}

/* スパム対策の不可視フィールド。display:none だとボットも無視するため画面外に配置 */
.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    padding: 60px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand {
    flex: 0 0 auto;
}

.footer-logo {
    height: 36px;
    width: auto;
    margin-bottom: 14px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 24px;
    max-width: 620px;
}

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

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

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

/* ============================================
   FIXED CTA & BACK TO TOP
   ============================================ */
.fixed-cta {
    position: fixed;
    bottom: -100px;
    left: 0;
    right: 0;
    padding: 12px 24px;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    transition: bottom 0.3s ease;
    display: none;
}

.fixed-cta.visible {
    bottom: 0;
}

.btn-fixed-cta {
    width: 100%;
    padding: 16px;
}

.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    border: none;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: 0 4px 15px rgba(245, 144, 27, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 144, 27, 0.5);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    max-width: 480px;
    width: 90%;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 3rem;
    color: var(--success);
    margin-bottom: 20px;
}

.modal-icon-error {
    color: var(--danger);
}

.modal-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.modal-content p {
    font-size: 0.95rem;
    color: var(--gray-500);
    margin-bottom: 28px;
    line-height: 1.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Counter Animation */
.count-up {
    display: inline-block;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
}

@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--dark);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        display: block;
        padding: 14px 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.08);
        border-radius: 0;
    }

    .nav-link:hover {
        background: transparent;
    }
    
    .nav-cta-link {
        text-align: center;
        margin-top: 16px;
        border-radius: 50px;
        padding: 14px 24px;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Hero */
    .hero-content {
        padding: 100px 20px 80px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }
    
    .hero-stat-divider {
        width: 60px;
        height: 1px;
    }
    
    .hero-stat-number {
        font-size: 2rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
    }
    
    .hero-cta-group .btn {
        width: 100%;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    /* Section */
    .section {
        padding: 70px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    /* Problem */
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    /* Before/After */
    .before-after {
        flex-direction: column;
        gap: 0;
    }
    
    .ba-arrow {
        flex-direction: row;
        padding: 16px 0;
    }
    
    .ba-arrow-icon {
        margin-bottom: 0;
        margin-right: 10px;
    }

    .ba-arrow-icon i {
        transform: rotate(90deg);
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .feature-card {
        padding: 24px 20px;
    }
    
    /* Scope */
    .scope-layout {
        flex-direction: column;
        gap: 0;
    }
    
    .scope-shield-wrap {
        padding: 24px 0;
    }
    
    /* Process */
    .process-line {
        left: 29px;
    }
    
    .process-step {
        flex-wrap: wrap;
    }
    
    .process-step-icon {
        display: none;
    }
    
    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 24px;
    }
    
    .footer-links {
        justify-content: flex-start;
        max-width: 100%;
        gap: 12px 16px;
    }
    
    /* Fixed CTA */
    .fixed-cta {
        display: block;
    }
    
    .back-to-top {
        bottom: 80px;
    }
    
    .fixed-cta + .back-to-top.visible {
        bottom: 80px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
    
    .hero-stat-number {
        font-size: 1.6rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .problem-card-content {
        padding: 24px;
    }
    
    .problem-card-img {
        height: 180px;
    }
    
    .modal-content {
        padding: 32px 24px;
    }
}

/* ---- Print styles ---- */

/* ============================================
   LEGAL PAGE (privacy.html)
   ============================================ */
.legal-page {
    padding: 140px 0 100px;
    background: var(--gray-50);
}

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 40px;
}

.legal-body {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 48px;
    box-shadow: var(--shadow-sm);
}

.legal-body p {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.legal-body h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 36px 0 12px;
    padding-left: 12px;
    border-left: 4px solid var(--primary);
}

.legal-body h2:first-child {
    margin-top: 0;
}

.legal-body ul {
    margin: 0 0 16px 1.4em;
    list-style: disc;
}

.legal-body li {
    font-size: 0.95rem;
    color: var(--gray-700);
    margin-bottom: 6px;
}

.legal-nav-back {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    font-size: 0.9rem;
    color: var(--primary-dark);
    font-weight: 500;
}

.legal-back:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 110px 0 60px;
    }
    .legal-title {
        font-size: 1.5rem;
    }
    .legal-body {
        padding: 28px 20px;
    }
}

@media print {
    .navbar, .fixed-cta, .back-to-top, .hero-scroll-indicator {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        page-break-after: always;
    }
    
    .section {
        page-break-inside: avoid;
    }
}
