/* ==========================================================================
   Design Tokens & Root Settings
   ========================================================================== */
:root {
    /* Colors */
    --color-primary-dark: #1E3A8A;   /* Deep Blue */
    --color-primary: #3B82F6;        /* Bright Blue */
    --color-primary-light: #EFF6FF;   /* Very Light Blue */
    
    --color-accent: #e63900;         /* Energy Orange */
    --color-accent-hover: #cc3300;   /* Darker Orange */
    
    --color-success: #10B981;        /* Green */
    --color-danger: #EF4444;         /* Red */
    
    --color-text-dark: #0F172A;      /* Dark Slate */
    --color-text-muted: #475569;     /* Gray */
    --color-bg-light: #F8FAFC;       /* Off-white */
    --color-border: #E2E8F0;         /* Border Gray */
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-premium: 0 20px 25px -5px rgba(30, 58, 138, 0.1), 0 10px 10px -5px rgba(30, 58, 138, 0.04);
    
    /* Transition */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    color: var(--color-text-dark);
    background-color: #FFFFFF;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    word-break: keep-all;
    overflow-wrap: anywhere;
}

.pc-br {
    display: inline;
}

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

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

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

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

.section-tag {
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.25rem;
    color: var(--color-primary-dark);
    margin-bottom: 16px;
    position: relative;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 48px;
}

/* ==========================================================================
   Visual Theme Switcher (AI vs SVG)
   ========================================================================== */
#theme-toggle-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-primary);
    padding: 10px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.toggle-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-primary-dark);
}

.toggle-switch-wrapper {
    display: flex;
    background: var(--color-bg-light);
    border-radius: 8px;
    padding: 3px;
}

.toggle-btn {
    border: none;
    background: transparent;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px;
    transition: var(--transition-fast);
    color: var(--color-text-muted);
}

.toggle-btn.active {
    background: var(--color-primary);
    color: #FFFFFF;
    box-shadow: var(--shadow-sm);
}

/* Theme Visibility Rules */
body.theme-ai .svg-visual {
    display: none !important;
}

body.theme-ai .ai-visual {
    display: block !important;
}

body.theme-svg .ai-visual {
    display: none !important;
}

body.theme-svg .svg-visual {
    display: block !important;
}

/* ==========================================================================
   Header Style
   ========================================================================== */
.main-header {
      background: rgba(255, 255, 255, 0.95);
      backdrop-filter: blur(8px);
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1001;
      border-bottom: 1px solid var(--color-border);
      box-shadow: var(--shadow-sm);
      transition: transform 0.3s ease-in-out;
  }
  .main-header.header-hidden {
      transform: translateY(-100%);
  }
  .main-header.header-visible {
      transform: translateY(0);
  }

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-badge {
      background: #1E3A8A;
      color: #FFFFFF;
      font-size: 0.75rem;
      font-weight: 800;
      padding: 2px 8px;
      border-radius: 4px;
  }

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--color-primary-dark);
    letter-spacing: -0.03em;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.status-indicator {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-success);
    position: relative;
    padding-left: 12px;
}

.status-indicator::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-success);
}

.header-phone {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-primary-dark);
}

.header-cta-btn {
    background: var(--color-accent);
    color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: var(--shadow-sm);
}

.header-cta-btn:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
}

/* ==========================================================================
   Hero Section (FV)
   ========================================================================== */
.hero-section {
      background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
      padding-top: 140px;
      padding-bottom: 80px;
      position: relative;
      overflow: hidden;
  }

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.hero-tag {
    background: rgba(239, 68, 68, 0.1);
    color: var(--color-danger);
    font-size: 0.875rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 16px;
    display: inline-block;
}

.hero-title {
    font-size: 3rem;
    color: var(--color-primary-dark);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

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

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    max-width: 600px;
}

/* Price Card */
.hero-price-card {
    background: #FFFFFF;
    border: 2px solid var(--color-primary);
    border-radius: 16px;
    padding: 20px 32px;
    box-shadow: var(--shadow-premium);
    margin-bottom: 32px;
    width: 100%;
    max-width: 550px;
}

.price-header {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.price-body {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.price-label {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.price-value {
      font-size: 3rem;
      font-weight: 900;
      color: var(--color-accent);
      line-height: 1;
  }

.price-tax {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.price-footer {
    display: flex;
    gap: 16px;
    border-top: 1px solid var(--color-border);
    padding-top: 12px;
}

.footer-item {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-success);
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-item::before {
    content: '✓';
    font-weight: 900;
}

/* Badges */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.hero-badge {
    background: #FFFFFF;
    border: 1px solid var(--color-border);
    padding: 8px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.badge-icon {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
}

/* CTA Styles */
.hero-cta-wrapper {
    width: 100%;
}

.btn {
    display: inline-block;
    width: 100%;
    max-width: 450px;
    text-align: center;
    padding: 18px 24px;
    border-radius: 12px;
    font-size: 1.25rem;
    font-weight: 800;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--color-accent);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(230, 57, 0, 0.3);
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(230, 57, 0, 0.4);
}

.btn-secondary {
    background: var(--color-primary-dark);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(30, 58, 138, 0.2);
}

.btn-secondary:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

.cta-subtext {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 8px;
    margin-left: 4px;
}

/* Hero Visual Layout */
.hero-visual-area {
    position: relative;
}

.hero-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.visual-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
}

.hero-svg-wrapper {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
}

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

/* Micro interaction - Pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-btn {
    animation: pulse 2.5s infinite;
}

.pulse-btn:hover {
    animation: none;
}

/* ==========================================================================
   Empathy Section (Problem Solving)
   ========================================================================== */
.empathy-section {
    background-color: var(--color-bg-light);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.problem-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: var(--transition-normal);
}

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

.problem-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.problem-title {
    font-size: 1.25rem;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

.problem-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

.danger-box {
    background: rgba(239, 68, 68, 0.08);
    border-left: 4px solid var(--color-danger);
    border-top: 1px solid rgba(239, 68, 68, 0.1);
    border-right: 1px solid rgba(239, 68, 68, 0.1);
    border-bottom: 1px solid rgba(239, 68, 68, 0.1);
    border-radius: 0 12px 12px 0;
    padding: 24px 32px;
    margin-top: 48px;
}

.danger-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.danger-badge {
    background: var(--color-danger);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 4px;
}

.danger-header h4 {
    font-size: 1.125rem;
    color: var(--color-primary-dark);
}

.danger-body p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Features Section (Strengths)
   ========================================================================== */
.features-section {
    background: #FFFFFF;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    padding: 32px 0;
    border-bottom: 1px solid var(--color-border);
}

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

.feature-image-wrapper {
    flex: 0 0 180px;
    max-width: 180px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.svg-illustration-wrapper {
    width: 100%;
    height: 130px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.feature-item:hover .svg-illustration-wrapper {
    transform: scale(1.05);
}

.feature-text-wrapper {
    flex: 1;
}

.feature-number {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.4;
}

.feature-title {
    font-size: 1.35rem;
    color: var(--color-primary-dark);
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-top: 8px;
}

/* ==========================================================================
   Pricing & Simulator Section
   ========================================================================== */
.pricing-section {
      background-color: #eff6ff;
  }

.calculator-card {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--color-border);
    max-width: 800px;
    margin: 0 auto 56px auto;
}

.calc-title {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    text-align: center;
    margin-bottom: 8px;
}

.calc-intro {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 32px;
}

.calc-inputs {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px dashed var(--color-border);
}

/* Range Input Stylings */
.input-range-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

input[type=range] {
    -webkit-appearance: none;
    width: 100%;
    background: transparent;
}

input[type=range]:focus {
    outline: none;
}

input[type=range]::-webkit-slider-runnable-track {
    width: 100%;
    height: 10px;
    cursor: pointer;
    background: var(--color-border);
    border-radius: 5px;
}

input[type=range]::-webkit-slider-thumb {
    height: 24px;
    width: 24px;
    border-radius: 50%;
    background: var(--color-primary);
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -7px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

input[type=range]::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    background: var(--color-primary-dark);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    font-weight: 700;
}

/* Number Input Wrapper */
.input-number-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.number-box {
    display: flex;
    align-items: center;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    padding: 8px 16px;
    background: #FFFFFF;
}

.number-box input[type=number] {
    border: none;
    font-size: 2rem;
    font-weight: 800;
    width: 100px;
    text-align: center;
    color: var(--color-primary-dark);
}

.number-box input[type=number]:focus {
    outline: none;
}

.number-box .unit {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.size-helper {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

/* Result Box */
.calc-result {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.result-price-wrapper {
    text-align: center;
}

.result-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.result-price-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: var(--color-accent);
}

.result-price-value .currency {
    font-size: 2rem;
    font-weight: 800;
}

.result-price-value #calc-price {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
    transition: var(--transition-normal);
}

.result-price-value .tax {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-left: 4px;
}

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

#calc-detail-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: 4px;
}

.calc-note {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
}

/* Pricing Table */
.price-table-wrapper {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
}

.premium-table th {
    background: var(--color-primary-dark);
    color: #FFFFFF;
    padding: 18px 24px;
    font-weight: 700;
    text-align: left;
}

.premium-table td {
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.premium-table tr:last-child td {
    border-bottom: none;
}

.plan-name {
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 1.125rem;
}

.plan-name small {
    font-weight: 400;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1.2;
}

.price-sub {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 4px;
}

.price-amount {
    display: inline-block;
    white-space: nowrap;
}

.price-plus {
    font-size: 1rem;
    font-weight: 700;
    margin-right: 2px;
    vertical-align: middle;
}

.plan-details {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   Work Process Section
   ========================================================================== */
.process-section {
    background: #FFFFFF;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.step-card {
    background: var(--color-bg-light);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    position: relative;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.step-card:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    transform: translateY(-4px);
}

.step-image-wrapper {
    width: 100%;
    height: 140px;
    overflow: hidden;
    position: relative;
}

.step-svg-wrapper {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, rgba(249, 115, 22, 0.03) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.step-card:hover .step-svg-wrapper {
    transform: scale(1.05);
}

.step-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--color-primary-dark);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    z-index: 2;
}

.step-card-content {
    padding: 20px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.step-title {
    font-size: 1rem;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
    margin-top: 0;
}

.step-desc {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   Reviews Section (Social Proof)
   ========================================================================== */
.reviews-section {
    background-color: var(--color-bg-light);
}

/* Stats Card */
.review-stats-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 700px;
    margin: 0 auto 48px auto;
}

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

.rating-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
}

.rating-stars {
    font-size: 1.25rem;
    color: var(--color-accent);
    margin: 8px 0;
}

.rating-text {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    font-weight: 700;
}

.stats-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stat-bar-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8125rem;
}

.star-label {
    font-weight: 700;
    width: 30px;
}

.bar-bg {
    flex: 1;
    height: 8px;
    background: var(--color-border);
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background-color: var(--color-accent);
    border-radius: 4px;
}

.count-label {
    color: var(--color-text-muted);
    width: 40px;
    text-align: right;
}

/* Reviews Grid */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 0.8125rem;
}

.review-header .stars {
    color: var(--color-accent);
    font-weight: 700;
}

.review-header .review-date {
    color: var(--color-text-muted);
}

.review-subject {
    font-size: 1.125rem;
    color: var(--color-primary-dark);
    margin-bottom: 12px;
}

.review-content {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    flex: 1;
    margin-bottom: 16px;
    line-height: 1.6;
}

.reviewer {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-dark);
    border-top: 1px solid var(--color-border);
    padding-top: 12px;
}

/* ==========================================================================
   Manager Message Section
   ========================================================================== */
.manager-section {
    background: #FFFFFF;
}

.manager-layout {
    display: block;
    max-width: 800px;
    margin: 0 auto;
}

.manager-image-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.manager-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.manager-svg-wrapper {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.manager-svg-art {
    width: 100%;
    max-width: 250px;
    height: auto;
}

.manager-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.manager-title {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.manager-name {
    font-size: 2rem;
    color: var(--color-primary-dark);
    margin-bottom: 16px;
}

.manager-name .post {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.manager-quote {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    border-left: 4px solid var(--color-accent);
    padding-left: 16px;
    margin-bottom: 24px;
    line-height: 1.4;
}

.manager-message-text {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    background-color: var(--color-bg-light);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition-fast);
}

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

.faq-question .icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform var(--transition-normal);
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
    background: #FFFFFF;
}

.faq-answer p {
    padding: 0 24px 24px 24px;
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    border-top: 1px solid var(--color-bg-light);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Adjust if content is very long */
}

/* ==========================================================================
   Contact / CTA Section
   ========================================================================== */
.contact-section {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, #0F172A 100%);
    color: #FFFFFF;
}

.contact-section .section-title {
    color: #FFFFFF;
}

.contact-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Phone Card */
.phone-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.phone-card .card-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.phone-card .card-sub {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.phone-link {
    font-size: 3rem;
    font-weight: 900;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 16px;
    display: block;
}

.phone-link:hover {
    color: #FFFFFF;
}

.phone-note {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 32px;
}

.call-badge {
    background: var(--color-success);
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 9999px;
    box-shadow: var(--shadow-md);
}

/* Form Card */
.form-card {
    background: #FFFFFF;
    color: var(--color-text-dark);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-premium);
}

.form-card .card-title {
    font-size: 1.5rem;
    color: var(--color-primary-dark);
    margin-bottom: 8px;
}

.form-card .card-sub {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.premium-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.form-group label .required {
    background: var(--color-danger);
    color: #FFFFFF;
    font-size: 0.6875rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

.form-group label .optional {
    background: var(--color-text-muted);
    color: #FFFFFF;
    font-size: 0.6875rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 4px;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1.5px solid var(--color-border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-submit-btn {
    border: none;
    width: 100%;
    max-width: 100%;
    margin-top: 12px;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.main-footer {
    background: #0F172A;
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 48px 24px 80px 24px; /* Bottom padding accounts for mobile CTA */
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.footer-logo .logo-text {
    color: #FFFFFF;
    margin-bottom: 8px;
}

.footer-tagline {
    font-size: 0.875rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}

.footer-info-block {
    text-align: right;
    font-size: 0.875rem;
}

.footer-info-block p {
    margin-bottom: 8px;
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 16px;
}

/* ==========================================================================
   Floating CTA (Mobile)
   ========================================================================== */
#floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    z-index: 999;
    display: flex;
    box-shadow: 0 -4px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#floating-cta.show {
    transform: translateY(0);
}

.floating-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #FFFFFF;
    text-align: left;
    padding: 8px;
}

.floating-btn .floating-icon {
    font-size: 1.5rem;
}

.floating-text-wrapper {
    display: flex;
    flex-direction: column;
}

.floating-text-wrapper .sub {
    font-size: 0.625rem;
    opacity: 0.8;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.floating-text-wrapper .main {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.phone-btn {
    background: var(--color-accent);
}

.phone-btn:hover {
    background: var(--color-accent-hover);
}

.mail-btn {
      background: var(--color-accent);
  }

.mail-btn:hover {
      background: var(--color-accent-hover);
  }

.full-width-cta {
    width: 100%;
    justify-content: center !important;
    text-align: center !important;
}

.contact-grid.solo-form {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 0 auto;
}

.label-150 {
    position: relative;
    left: 18px; /* Shift right to align with the slider thumb at 150 */
}

/* ==========================================================================
   Responsive Styles (Media Queries)
   ========================================================================== */

/* Tablet & Smaller (Max 1024px) */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-badges {
        justify-content: center;
    }
    
    .hero-price-card {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-visual-area {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .manager-layout {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }
    
    .manager-visual {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .manager-info {
        align-items: center;
    }
    
    .manager-quote {
        border-left: none;
        border-bottom: 2px solid var(--color-accent);
        padding-left: 0;
        padding-bottom: 12px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    
    .footer-info-block {
        text-align: center;
    }
}

/* Mobile Devices (Max 768px) */
@media (max-width: 768px) {
    html {
        font-size: 16px; /* Adjusted to improve readability on mobile */
    }
    
    .pc-br {
        display: none;
    }
    
    .section-container {
        padding: 56px 16px;
    }
    
    .hero-section {
        padding-top: 100px;
        padding-bottom: 48px;
    }
    
    .hero-title {
        font-size: 2rem; /* Reduced slightly to prevent long words from wrapping awkwardly */
    }
    
    .label-150 {
        left: 8px; /* Smaller shift on mobile due to narrower width */
    }
    
    .price-value {
        font-size: 2.25rem;
    }
    
    .price-footer {
        flex-direction: column;
        gap: 6px;
        align-items: center;
    }
    
    .header-right {
        display: none; /* Hide header contact on mobile to save space */
    }
    
    #theme-toggle-container {
        top: 10px;
        right: 10px;
        padding: 6px;
        border-radius: 8px;
    }
    
    .calc-inputs {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .calculator-card {
        padding: 24px 16px;
    }
    
    .result-price-value #calc-price {
        font-size: 3rem;
    }
    
    .review-stats-card {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }
    
    .stats-right {
        width: 100%;
    }
    
    .phone-link {
        font-size: 2.25rem;
    }
    
    .form-card {
        padding: 24px 16px;
    }
    
    /* Responsive Table to Cards */
    .premium-table {
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    
    .premium-table tbody, 
    .premium-table tr, 
    .premium-table td {
        display: block;
        width: 100% !important;
    }
    
    .premium-table thead {
        display: none; /* Hide headers on mobile */
    }
    
    .premium-table tr {
        margin-bottom: 24px;
        border: 1px solid var(--color-border);
        border-radius: 16px;
        padding: 20px;
        box-shadow: var(--shadow-sm);
        background: #FFFFFF;
    }
    
    .premium-table tr:last-child {
        margin-bottom: 0;
    }
    
    .premium-table td {
        border: none;
        padding: 8px 0;
        text-align: left;
    }
    
    .premium-table td.plan-name {
        font-size: 1.2rem;
        border-bottom: 1.5px solid var(--color-bg-light);
        padding-bottom: 12px;
        margin-bottom: 12px;
    }
    
    .premium-table td.plan-price {
        font-size: 1.5rem;
        padding-bottom: 12px;
        margin-bottom: 12px;
        border-bottom: 1.5px dashed var(--color-border);
    }
    
    .premium-table td.plan-details {
        font-size: 0.875rem;
        color: var(--color-text-muted);
        background: var(--color-bg-light);
        padding: 14px;
        border-radius: 8px;
    }
}

/* Added for mobile layout optimizations */
.sp-br {
    display: none;
}
@media (max-width: 768px) {
    .sp-br {
        display: inline;
    }
    .hero-price-card {
        padding: 16px 20px !important;
    }
    .price-body {
        flex-direction: column !important;
        align-items: center !important;
        gap: 8px !important;
    }
}
/* Announcement Bar responsive style */
@media (max-width: 768px) {
    .announcement-bar {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }
}
/* Form Validation Styles */
.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 6px;
    display: block;
    font-weight: 700;
    text-align: left;
    animation: validationFadeIn 0.2s ease-in-out;
}
.premium-form .form-group input.error-input,
.premium-form .form-group textarea.error-input {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}
@keyframes validationFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
/* Adjust hero section padding for sticky header group on mobile */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 135px !important;
    }
    .announcement-bar {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
    }
}

/* Announcement Bar fixed styling */
.announcement-bar {
    background: #1E3A8A;
    color: white;
    text-align: center;
    padding: 8px 16px;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: top 0.3s ease-in-out;
}

/* Mobile button font size and padding adjustments to prevent text wrapping */
@media (max-width: 768px) {
    .hero-cta-wrapper .btn {
        font-size: 1rem !important;
        padding: 14px 20px !important;
        white-space: nowrap !important;
    }
    .form-submit-btn {
        font-size: 1rem !important;
        padding: 14px 16px !important;
        white-space: nowrap !important;
    }
}
/* Mobile media queries for reasons section layout with images */
@media (max-width: 768px) {
    .feature-item {
        flex-direction: column;
        gap: 20px;
        padding: 24px 0;
    }
    .feature-image-wrapper {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    .svg-illustration-wrapper {
        height: 160px;
    }
}
/* Mobile media queries for reasons section layout with images */
/* Mobile media queries for reasons section layout with SVG icons (horizontal space-saving layout) */
@media (max-width: 768px) {
    .feature-item {
        flex-direction: row;
        gap: 16px;
        padding: 20px 0;
        align-items: center;
    }
    .feature-image-wrapper {
        flex: 0 0 70px;
        max-width: 70px;
        border-radius: 8px;
    }
    .svg-illustration-wrapper {
        height: 70px;
        background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(249, 115, 22, 0.05) 100%);
    }
    .svg-illustration-wrapper svg {
        width: 75%;
        height: 75%;
    }
    .feature-text-wrapper {
        flex: 1;
    }
}