/* =============================================
   Elfu LP — style.css
   ============================================= */

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

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a1a2e;
  background: #ffffff;
  line-height: 1.7;
  padding-bottom: 72px;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; }
ul { list-style: none; }

/* ----- Variables ----- */
:root {
  --primary: #2C5F8A;
  --primary-dark: #1a3a5c;
  --primary-light: #e8f2ff;
  --line-green: #00B900;
  --line-green-dark: #009900;
  --meo-green: #1a6644;
  --accent-orange: #E8763A;
  --text-main: #1a1a2e;
  --text-sub: #5a5a72;
  --text-light: #8a8aa0;
  --bg-light: #f8f9fb;
  --bg-dark: #1a1a2e;
  --border: #e0e4ec;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 20px rgba(44,95,138,0.1);
  --shadow-hover: 0 8px 30px rgba(44,95,138,0.18);
}

/* ----- Container ----- */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.container-sm {
  max-width: 640px;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.22s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  text-decoration: none;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
  gap: 8px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

.btn-full-sp { width: 100%; }

/* LINE green */
.btn-line {
  background: var(--line-green);
  color: #fff;
  border-color: var(--line-green);
}
.btn-line:hover {
  background: var(--line-green-dark);
  border-color: var(--line-green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,185,0,0.3);
}

/* Dark navy */
.btn-dark {
  background: var(--primary-dark);
  color: #fff;
  border-color: var(--primary-dark);
}
.btn-dark:hover {
  background: #0f2238;
  border-color: #0f2238;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,58,92,0.3);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: #fff;
}

/* Table button */
.btn-table {
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
}
.btn-table:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-table-recommend {
  background: #fff;
  color: var(--primary-dark);
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
}

/* MEO button */
.btn-meo {
  background: var(--meo-green);
  color: #fff;
  border-color: var(--meo-green);
  border-radius: 10px;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
}
.btn-meo:hover {
  background: #0f4a30;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,102,68,0.3);
}

/* Mobile CTA */
.btn-mobile-cta {
  flex: 1;
  border-radius: 8px;
  padding: 14px 10px;
  font-size: 0.9rem;
}

/* =============================================
   HEADER
   ============================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 24px rgba(26,58,92,0.08);
}

.header-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.header-logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
}

.logo-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}

.header-nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* =============================================
   S01: HERO
   ============================================= */
.hero {
  background: linear-gradient(160deg, #0d2240 0%, #1a3a5c 35%, #2C5F8A 70%, #1e4f7a 100%);
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  display: flex;
  align-items: center;
  padding: 80px 20px 40px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 30%, rgba(90,160,220,0.12) 0%, transparent 50%),
                    radial-gradient(circle at 20% 80%, rgba(42,138,120,0.08) 0%, transparent 40%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.012) 60px,
    rgba(255,255,255,0.012) 61px
  );
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-label {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-catch {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   COMMON SECTION STYLES
   ============================================= */
.section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--primary);
  opacity: 0.4;
}

.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.section-desc {
  text-align: center;
  color: var(--text-sub);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

/* =============================================
   S02: PAIN
   ============================================= */
.section-pain {
  padding: 80px 0;
  background: #fff;
}

.pain-slider-wrap {
  margin-bottom: 40px;
}

.pain-slider {
  position: relative;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
}

.pain-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f4f7fb 0%, #eaf0f8 100%);
  border: 1.5px solid rgba(44,95,138,0.15);
  border-radius: var(--radius-lg);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--primary-dark);
  text-align: center;
  line-height: 1.3;
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.pain-card.active {
  opacity: 1;
  transform: translateX(0);
}

.pain-card.exit {
  opacity: 0;
  transform: translateX(-40px);
}

.pain-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: var(--primary);
}

.pain-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pain-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid #e05252;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--text-main);
}

.pain-icon {
  color: #e05252;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.pain-resolve {
  text-align: center;
  font-weight: 700;
  color: var(--primary);
  font-size: 1rem;
}

/* =============================================
   S03: DIAGNOSIS
   ============================================= */
.section-diagnosis {
  padding: 80px 0;
  background: var(--bg-light);
}

.diagnosis-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(44,95,138,0.12);
  padding: 40px;
  border: 1.5px solid rgba(255,167,38,0.5);
  position: relative;
  overflow: hidden;
}

.diagnosis-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ffa726, #ff7043);
}

.diagnosis-box-lead {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-sub);
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 24px;
  line-height: 1.6;
}

.feature-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 2px solid var(--border);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-sub);
  background: #fff;
  user-select: none;
}

.feature-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.feature-chip input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.feature-chip:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.portal-input-wrap {
  max-width: 480px;
  margin: 0 auto 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 24px;
}

.portal-input-label {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.portal-input-note {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
}

.portal-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-input {
  flex: 1;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  color: var(--text-main);
  transition: border-color 0.2s;
  background: var(--bg-light);
}

.portal-input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.portal-input-unit {
  font-size: 0.9rem;
  color: var(--text-sub);
  font-weight: 500;
  white-space: nowrap;
}

/* ----- Category Grid ----- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.category-card {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
}

.category-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.category-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.category-name {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--text-main);
}

.category-chips {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* Override chip style inside cards */
.category-chips .feature-chip {
  width: 100%;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  text-align: center;
  border-radius: var(--radius);
}

.category-chips .feature-chip input[type="checkbox"] {
  display: none;
}

.category-chips .feature-chip span {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
}


/* Checked state for card chips */
.category-chips .feature-chip:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
}

.category-chips .feature-chip:has(input:checked) span {
  color: var(--primary);
}

.category-chips .feature-chip:hover {
  border-color: var(--primary);
  cursor: pointer;
}

.feature-group-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature-meo-sep {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 2px dashed #d0e8d8;
}

.feature-chip-meo {
  border-color: #2a8a78 !important;
  color: #2a8a78 !important;
}

.feature-chip-meo:has(input:checked) {
  background: #e6f4f1 !important;
  border-color: #2a8a78 !important;
  color: #2a8a78 !important;
}

.diagnosis-result {
  border-top: 2px dashed var(--border);
  padding-top: 32px;
}

.result-plan {
  margin-bottom: 28px;
}

.result-label {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.result-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--primary-dark);
  transition: all 0.3s;
  display: block;
  margin-bottom: 12px;
}

.result-fees {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.result-fee-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.result-fee-label {
  font-size: 0.72rem;
  color: var(--text-light);
  font-weight: 500;
}

.result-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary);
  transition: all 0.3s;
}

.result-fee-sep {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 700;
  padding-top: 14px;
}

.result-monthly {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-sub);
  transition: all 0.3s;
}

.result-free-badge {
  width: 100%;
  margin-top: 8px;
  background: #fff8ec;
  border: 1px solid #ffa726;
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #b85c00;
}

/* Loss message block in diagnosis result */
.loss-block {
  background: #fff5f5;
  border: 1.5px solid #e05252;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  text-align: center;
}

.loss-block-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #c0392b;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.loss-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.loss-stat {
  flex: 1;
  text-align: center;
}

.loss-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: #7a2020;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.loss-num {
  display: block;
  font-size: clamp(3rem, 10vw, 5.5rem);
  font-weight: 900;
  color: #c0392b;
  line-height: 1;
}

.loss-num small {
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  font-weight: 700;
}

.loss-stat-div {
  font-size: 1rem;
  font-weight: 700;
  color: #c0392b;
  opacity: 0.4;
  flex-shrink: 0;
}

.loss-notes {
  text-align: left;
  border-top: 1px solid #f0c0c0;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.loss-note {
  font-size: 0.72rem;
  color: #a06060;
  line-height: 1.5;
}

.cost-compare {
  margin-bottom: 28px;
}

.compare-label {
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 14px;
  font-weight: 500;
}

.compare-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.compare-name {
  font-size: 0.8rem;
  color: var(--text-sub);
  width: 80px;
  flex-shrink: 0;
  font-weight: 500;
}

.compare-bar-wrap {
  flex: 1;
  background: var(--bg-light);
  border-radius: 6px;
  height: 36px;
  overflow: hidden;
}

.compare-bar {
  height: 100%;
  border-radius: 6px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 80px;
}

.portal-bar {
  background: #c0c8d8;
}

.elfu-bar {
  background: var(--primary);
}

.bar-value {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

.compare-saving {
  text-align: right;
  font-size: 1rem;
  font-weight: 900;
  color: #e05252;
  margin-top: 8px;
}

#saving-amount {
  font-size: 1.3rem;
}

.diagnosis-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* =============================================
   S04: BENEFITS
   ============================================= */
.section-benefits {
  padding: 80px 0;
  background: #fff;
}

.benefit-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.benefit-card {
  padding: 36px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.benefit-blue  { background: linear-gradient(145deg, #eef5ff, #dceeff); border-color: rgba(44,95,138,0.12); }
.benefit-green { background: linear-gradient(145deg, #eaf7ea, #d6f0d6); border-color: rgba(26,122,26,0.12); }
.benefit-sand  { background: linear-gradient(145deg, #fef6ea, #fdecd5); border-color: rgba(138,90,26,0.12); }

.benefit-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.benefit-card-title {
  font-size: 1.1rem;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--text-main);
}

.benefit-blue .benefit-card-title { color: var(--primary); }
.benefit-green .benefit-card-title { color: #1a7a1a; }
.benefit-sand .benefit-card-title { color: #8a5a1a; }

.benefit-card-desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.6;
}

.benefit-card-desc small {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* Accordion */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-item:last-child {
  border-bottom: none;
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: #fff;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  transition: background 0.2s;
}

.accordion-trigger:hover {
  background: var(--bg-light);
}

.accordion-icon {
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}

.accordion-trigger[aria-expanded="true"] .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  display: none;
  padding: 0 24px 20px;
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.8;
  background: var(--bg-light);
}

.accordion-body.open {
  display: block;
}

/* =============================================
   S05: STORY
   ============================================= */
.section-story {
  padding: 80px 0;
  background: var(--bg-light);
}

.story-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.story-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  align-items: flex-start;
}

.story-blue { background: #e8f2ff; }
.story-teal { background: #e6f4f1; }
.story-sand { background: #fdf4e8; }

.story-num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #fff;
}

.story-blue .story-num { background: var(--primary); }
.story-teal .story-num { background: #2a8a78; }
.story-sand .story-num { background: #a06830; }

.story-heading {
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 4px;
  color: var(--text-main);
}

.story-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.story-text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 1.8;
}

.story-conclusion {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 20px 24px;
}

/* =============================================
   S06: CASES
   ============================================= */
.section-cases {
  padding: 80px 0;
  background: #fff;
}

.case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
}

.case-photo-wrap {
  margin-bottom: 16px;
}

.case-photo-placeholder {
  width: 80px;
  height: 80px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
  margin: 0 auto;
  border: 2px dashed var(--border);
}

.case-salon {
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-sub);
  font-size: 0.9rem;
}

.case-coming {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* =============================================
   S07: MEO
   ============================================= */
.section-meo {
  padding: 80px 0;
  background: var(--bg-light);
}

.meo-box {
  background: #fff;
  border: 2px solid #2a8a78;
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 680px;
  margin: 0 auto;
}

.meo-tag {
  display: inline-block;
  background: #e6f4f1;
  color: #2a8a78;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.meo-headline {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 20px;
  text-align: center;
}

.meo-price-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.meo-price-before {
  font-size: 1.2rem;
  color: #e05252;
  text-decoration: line-through;
  font-weight: 700;
}

.meo-arrow {
  font-size: 1.4rem;
  color: var(--text-light);
}

.meo-price-after-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.meo-price-label {
  font-size: 0.75rem;
  color: #2a8a78;
  font-weight: 700;
}

.meo-price-after {
  font-size: 2rem;
  font-weight: 900;
  color: #2a8a78;
  line-height: 1.1;
}

.meo-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.meo-detail {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.meo-detail-title {
  font-weight: 700;
  color: #2a8a78;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.meo-detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meo-detail-list li {
  font-size: 0.88rem;
  color: var(--text-sub);
  padding-left: 14px;
  position: relative;
}

.meo-detail-list li::before {
  content: '・';
  position: absolute;
  left: 0;
  color: #2a8a78;
}

/* =============================================
   S08: PRICING
   ============================================= */
.section-pricing {
  padding: 80px 0;
  background: #fff;
}

.pricing-table-wrap {
  overflow-x: auto;
  margin-bottom: 32px;
  -webkit-overflow-scrolling: touch;
}

.pricing-table {
  width: 100%;
  min-width: 600px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pricing-table thead tr {
  background: var(--bg-light);
}

.pricing-table th,
.pricing-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.pricing-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-sub);
  background: var(--bg-light);
}

.feature-col {
  text-align: left !important;
  width: 160px;
  font-weight: 700;
  color: var(--text-main) !important;
  font-size: 0.85rem !important;
}

.plan-col {
  vertical-align: top;
}

.plan-col .plan-name {
  display: block;
  font-weight: 900;
  color: var(--text-main);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.plan-col .plan-price {
  display: block;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 700;
}

.plan-recommend {
  background: var(--primary) !important;
  color: #fff !important;
}

.plan-recommend .plan-name { color: #fff; }
.plan-recommend .plan-price { color: rgba(255,255,255,0.8); }
.plan-recommend .plan-badge {
  display: inline-block;
  background: #ffa726;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  margin-bottom: 4px;
}

.check {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
}

.plan-recommend .check { color: #fff; }

.minus {
  color: var(--border);
}

.plan-recommend .minus { color: rgba(255,255,255,0.3); }

.lp-val {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.plan-recommend .lp-val { color: #fff; }

.cta-row td {
  padding-top: 20px;
  padding-bottom: 20px;
  border-bottom: none;
}

.pricing-note {
  text-align: center;
  background: #fff8ec;
  border: 1px solid #ffe0a0;
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.pricing-note p {
  font-size: 0.9rem;
  color: var(--text-sub);
}

/* =============================================
   S10: FAQ
   ============================================= */
.section-faq {
  padding: 80px 0;
  background: var(--bg-light);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child {
  border-bottom: none;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 24px;
  background: #fff;
  border: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  text-align: left;
  transition: background 0.2s;
  cursor: pointer;
}

.faq-trigger:hover {
  background: var(--bg-light);
}

.faq-q {
  width: 28px;
  height: 28px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.faq-text {
  flex: 1;
}

.faq-icon {
  font-size: 1.3rem;
  color: var(--primary);
  transition: transform 0.3s;
  flex-shrink: 0;
  line-height: 1;
}

.faq-trigger[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-body {
  display: none;
  padding: 0 24px 20px 66px;
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.8;
  background: var(--bg-light);
}

.faq-body.open {
  display: block;
}

/* =============================================
   FINAL CTA
   ============================================= */
.section-final-cta {
  padding: 80px 0;
  background: var(--primary-dark);
  text-align: center;
}

.final-cta-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

.final-cta-sub {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-bottom: 36px;
}

.final-cta-btns {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   FORM
   ============================================= */
.section-form {
  padding: 80px 0;
  background: var(--bg-light);
}

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

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

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.required {
  font-size: 0.72rem;
  background: #e05252;
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}

.form-input {
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-main);
  transition: border-color 0.2s;
  background: #fff;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5a72' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

/* ----- CTA Blocks ----- */
.cta-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 48px rgba(26,58,92,0.22);
}

.cta-block {
  display: flex;
  flex-direction: column;
  padding: 52px 44px;
  text-decoration: none;
  color: #fff;
  transition: filter 0.25s ease;
  position: relative;
}

.cta-block:hover {
  filter: brightness(1.08);
}

.cta-block--doc {
  background: linear-gradient(145deg, #1a3a5c 0%, #2C5F8A 100%);
}

.cta-block--meeting {
  background: linear-gradient(145deg, #0f4a30 0%, #1a6644 100%);
}

.cta-block-tag {
  display: inline-block;
  background: rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.9);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
  letter-spacing: 0.1em;
  align-self: flex-start;
  border: 1px solid rgba(255,255,255,0.25);
}

.cta-block-icon {
  font-size: 2.8rem;
  margin-bottom: 18px;
  line-height: 1;
}

.cta-block-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.cta-block-desc {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.85;
  flex: 1;
  margin-bottom: 32px;
}

.cta-block-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  align-self: flex-start;
}

.cta-block--meeting .cta-block-btn {
  color: #0f4a30;
}

.cta-block:hover .cta-block-btn {
  transform: translateX(4px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

@media (max-width: 640px) {
  .cta-blocks {
    grid-template-columns: 1fr;
    border-radius: var(--radius);
  }
  .cta-block {
    padding: 36px 28px;
  }
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #0d1f33;
  padding: 40px 0;
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 6px;
  justify-content: center;
  margin-bottom: 10px;
}

.site-footer .logo-text {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
}

.site-footer .logo-sub {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}

.footer-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}

/* =============================================
   MOBILE FIXED CTA
   ============================================= */
.mobile-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--border);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  backdrop-filter: blur(8px);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
  body { padding-bottom: 80px; }

  .hero { padding: 100px 20px 60px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .hero-cta .btn { width: 100%; max-width: 340px; }

  .benefit-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .case-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .story-item {
    flex-direction: column;
    gap: 14px;
  }

  .diagnosis-box {
    padding: 24px 20px;
  }

  .category-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .diagnosis-cta {
    grid-template-columns: 1fr;
  }

  .feature-checks {
    gap: 8px;
  }

  .meo-box { padding: 28px 20px; }
  .meo-price-row {
    flex-wrap: wrap;
    justify-content: center;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 10px 10px;
    font-size: 0.82rem;
  }

  .final-cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .final-cta-btns .btn { width: 100%; max-width: 340px; }

  .header-nav .btn-outline { display: none; }

  .faq-body { padding-left: 24px; }

  .compare-name { width: 64px; font-size: 0.72rem; }
}

@media (min-width: 769px) {
  .mobile-cta-bar { display: none; }
  .btn-full-sp { width: auto; min-width: 240px; }
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 0.6s ease forwards;
}

.section-pain,
.section-diagnosis,
.section-benefits,
.section-story,
.section-cases,
.section-meo,
.section-pricing,
.section-faq {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-pain.visible,
.section-diagnosis.visible,
.section-benefits.visible,
.section-story.visible,
.section-cases.visible,
.section-meo.visible,
.section-pricing.visible,
.section-faq.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   NEW SECTIONS — added 2026-04-24
   ============================================= */

/* ----- Benefit outro closing copy ----- */
.benefit-outro {
  text-align: center;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 900;
  color: var(--primary-dark);
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  letter-spacing: 0.02em;
  line-height: 1.5;
}

/* ----- Story quote & stats (S05) ----- */
.story-quote {
  background: var(--primary-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 40px 28px;
  margin: 40px 0 24px;
  position: relative;
  overflow: hidden;
}
.story-quote::before {
  content: '"';
  font-size: 8rem;
  color: rgba(255,255,255,0.07);
  position: absolute;
  top: -16px;
  left: 16px;
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.story-quote-text {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 900;
  line-height: 1.5;
}
.story-quote-by {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  margin-top: 12px;
}
.story-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.story-stat {
  text-align: center;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 8px;
}
.story-stat-num {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}
.story-stat-num small { font-size: 0.85rem; font-weight: 700; }
.story-stat-label {
  font-size: 0.75rem;
  color: var(--text-sub);
  font-weight: 500;
}

/* ----- Monitor program (S06) ----- */
.section-monitor { padding: 80px 0; background: #f0f7f4; }

.monitor-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
.monitor-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 2px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.monitor-card-a { border-color: var(--primary); box-shadow: 0 6px 24px rgba(44,95,138,0.13); }
.monitor-card-b { border-color: #1a6644; }

.monitor-tag {
  display: inline-block;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  align-self: flex-start;
}
.monitor-card-a .monitor-tag { background: var(--primary); }
.monitor-card-b .monitor-tag { background: #1a6644; }

.monitor-card-frame {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.monitor-card-plan {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 14px;
}
.monitor-card-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.6;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.monitor-card-b .monitor-card-value { color: #1a6644; }
.monitor-card-value strong { font-size: 1.3rem; color: #c0392b; }

.monitor-benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  font-size: 0.85rem;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.monitor-benefit-list li { display: flex; gap: 6px; align-items: flex-start; }
.monitor-benefit-list li::before { content: '✓'; font-weight: 700; flex-shrink: 0; }
.monitor-card-a .monitor-benefit-list li::before { color: var(--primary); }
.monitor-card-b .monitor-benefit-list li::before { color: #1a6644; }

.monitor-conditions {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  border: 1px solid var(--border);
}
.monitor-conditions-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}
.monitor-conditions ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-sub);
}
.monitor-conditions ul li::before { content: '・'; color: var(--text-light); }

/* ----- New Pricing section (S08) ----- */
.pricing-block-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
  margin-bottom: 20px;
}
.pricing-init { margin-bottom: 48px; }
.pricing-plan-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.pricing-plan-card {
  border-radius: var(--radius);
  border: 2px solid var(--border);
  overflow: hidden;
  background: #fff;
}
.pricing-plan-card.is-popular {
  border-color: var(--primary);
  box-shadow: 0 6px 24px rgba(44,95,138,0.18);
}
.pricing-plan-header {
  background: var(--bg-light);
  padding: 16px 12px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.pricing-plan-card.is-popular .pricing-plan-header {
  background: var(--primary);
  border-bottom: none;
}
.pricing-plan-badge {
  display: inline-block;
  background: var(--accent-orange);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}
.pricing-plan-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--text-main);
}
.pricing-plan-card.is-popular .pricing-plan-name { color: #fff; }
.pricing-plan-price {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary);
  margin-top: 4px;
}
.pricing-plan-card.is-popular .pricing-plan-price { color: #fff; }
.pricing-plan-body {
  padding: 14px 12px;
  font-size: 0.8rem;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pricing-plan-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4px;
}
.pricing-plan-key { color: var(--text-light); flex-shrink: 0; }
.pricing-plan-val { font-weight: 700; color: var(--text-main); text-align: right; }
.pricing-plan-funcs {
  font-size: 0.76rem;
  color: var(--text-sub);
  line-height: 1.6;
  border-top: 1px solid var(--border);
  padding-top: 8px;
  margin-top: 4px;
}

/* Monthly pricing table */
.pricing-monthly-wrap { margin-bottom: 28px; }
.pricing-monthly-table {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
}
.pricing-monthly-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.8fr 1.2fr 1.8fr;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.pricing-monthly-row:last-child { border-bottom: none; }
.pricing-monthly-row.is-header {
  background: var(--primary-dark);
  color: #fff;
}
.pricing-monthly-row.is-featured { background: #e6f7f0; }
.pricing-monthly-cell {
  padding: 14px 16px;
  font-size: 0.85rem;
  color: var(--text-sub);
}
.pricing-monthly-row.is-header .pricing-monthly-cell {
  font-size: 0.73rem;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  padding: 11px 16px;
}
.pricing-monthly-price {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--primary);
}
.pricing-monthly-row.is-featured .pricing-monthly-price { color: #0f5a2f; }
.pricing-monthly-discount {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  color: #c0392b;
  background: #fff5f5;
  padding: 1px 7px;
  border-radius: 50px;
}
.pricing-monthly-row.is-featured .pricing-monthly-discount {
  color: #0f5a2f;
  background: #b6f0d4;
}
.pricing-year-badge {
  display: inline-block;
  background: #0f5a2f;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 50px;
  margin-bottom: 3px;
}
.pricing-year-saving {
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f5a2f;
}
.pricing-recontracting {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
  padding: 12px 20px;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* ----- Support table (new section after FAQ) ----- */
.section-support {
  padding: 80px 0;
  background: #fff;
}
.support-table-wrap {
  overflow-x: auto;
  margin-top: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.support-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  background: #fff;
  min-width: 540px;
}
.support-table th {
  background: var(--primary-dark);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.support-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  color: var(--text-sub);
  line-height: 1.7;
}
.support-table small { font-size: 0.76rem; color: var(--text-light); display: block; margin-top: 4px; }
.support-row-featured td {
  background: #e6f7f0;
  color: var(--text-main);
  font-weight: 500;
}
.support-table tr:last-child td { border-bottom: none; }
.support-table td:first-child { font-weight: 700; white-space: nowrap; color: var(--text-main); }

/* Scroll animation for new sections */
.section-monitor,
.section-support {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-monitor.visible,
.section-support.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile */
@media (max-width: 768px) {
  .pricing-plan-cards { grid-template-columns: repeat(2, 1fr); }
  .monitor-cards { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: repeat(3, 1fr); }
  .pricing-monthly-row {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .pricing-monthly-cell:nth-child(4),
  .pricing-monthly-cell:nth-child(5) { grid-column: span 3; }
  .pricing-monthly-row.is-header .pricing-monthly-cell:nth-child(4),
  .pricing-monthly-row.is-header .pricing-monthly-cell:nth-child(5) { grid-column: span 3; }
}
@media (max-width: 480px) {
  .pricing-plan-cards { grid-template-columns: 1fr; }
  .story-stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .story-stat { padding: 12px 6px; }
}

/* =============================================
   HERO — 4層コピー追加スタイル
   ============================================= */
.hero-bridge {
  color: rgba(255,255,255,0.72);
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 500;
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-solution {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 50px;
  padding: 9px 28px;
  color: #fff;
  font-size: clamp(0.88rem, 2vw, 1rem);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.01em;
}

.hero-benefit {
  color: rgba(255,255,255,0.95);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}

.hero-pressure {
  display: inline-block;
  background: rgba(255,200,80,0.1);
  border-left: 3px solid rgba(255,200,80,0.6);
  border-radius: 0 8px 8px 0;
  padding: 10px 20px;
  color: rgba(255,255,255,0.72);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 36px;
  text-align: left;
  max-width: 420px;
  line-height: 1.7;
}

/* =============================================
   PRESSURE BANNERS
   ============================================= */
.pressure-banner {
  background: #f0f5ff;
  border-top: 1px solid rgba(44,95,138,0.1);
  border-bottom: 1px solid rgba(44,95,138,0.1);
  padding: 28px 20px;
  text-align: center;
}

.pressure-banner--dark {
  background: #0f1e30;
  border-color: rgba(255,255,255,0.06);
}

.pressure-text {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.6;
}

.pressure-banner--dark .pressure-text {
  color: rgba(255,255,255,0.9);
}

.pressure-em {
  color: #e8763a;
  font-style: italic;
}

/* =============================================
   PRICING — サマリー行
   ============================================= */
.pricing-plan-summary {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.55;
  margin-bottom: 10px;
  font-style: italic;
}

/* =============================================
   FORM CTA — メインCTA再構成
   ============================================= */
.cta-main-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
}

.cta-main-btn {
  min-width: 300px;
  font-size: 1.05rem;
  padding: 20px 40px;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .cta-main-btn { min-width: unset; width: 100%; }
  .hero-pressure { text-align: center; border-left: none; border-top: 3px solid rgba(255,200,80,0.6); border-radius: 8px; }
}

/* =============================================
   FV スタイル調整
   ============================================= */

/* FV 内の余白を詰める */
.hero .hero-catch    { margin-bottom: 12px; }
.hero .hero-bridge   { margin-bottom: 10px; }
.hero .hero-benefit  { margin-bottom: 20px; }
.hero .hero-solution { margin-bottom: 16px; }
.hero .hero-pressure { margin-bottom: 24px; }

/* hero-solution: ボックスなし・プレーンテキスト */
.hero .hero-solution {
  display: block;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  color: rgba(255,255,255,0.9);
  font-size: clamp(0.95rem, 2.2vw, 1.1rem);
  font-weight: 700;
}

/* hero-pressure: ボックスなし・小さめ・グレー */
.hero .hero-pressure {
  display: block;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  font-weight: 400;
  max-width: 100%;
  text-align: center;
  line-height: 1.7;
}

/* バッジ */
.fv-badge {
  display: inline-block;
  background: rgba(42,173,120,0.18);
  border: 1px solid rgba(42,173,120,0.4);
  color: #5de8a8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

/* スクロールヒント */
.fv-scroll-hint {
  margin-top: 28px;
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  animation: fvBounce 2s ease-in-out infinite;
}

@keyframes fvBounce {
  0%, 100% { transform: translateY(0); opacity: 0.35; }
  50%       { transform: translateY(4px); opacity: 0.6; }
}

/* =============================================
   SECOND VIEW
   ============================================= */
.second-view {
  background: #0b1a2e;
  padding: 80px 20px 100px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.sv-inner {
  max-width: 960px;
  margin: 0 auto;
}

.sv-heading {
  text-align: center;
  color: #fff;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.sv-sub {
  text-align: center;
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  margin-bottom: 48px;
  letter-spacing: 0.04em;
}

/* 機能カード3枚 */
.sv-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.sv-feature-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
}

.sv-feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.sv-feature-name {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.sv-feature-desc {
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  line-height: 1.7;
}

/* モックUI レイアウト */
.sv-mocks {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
  align-items: start;
}

.sv-mocks-sub {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sv-mock-main { }

/* ===== モックカード共通 ===== */
.mock-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 16px 18px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

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

.mock-dots { display: flex; gap: 5px; }

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mock-dot-red    { background: #ff5f57; }
.mock-dot-yellow { background: #febc2e; }
.mock-dot-green  { background: #28c840; }

.mock-card-label {
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* カレンダーモック */
.mock-dates {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
  width: 100%;
}

.mock-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
  min-width: 0;
  padding: 7px 4px;
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.mock-date-selected {
  background: rgba(42,173,120,0.22);
  border-color: rgba(42,173,120,0.5);
}

.mock-wd {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

.mock-date-selected .mock-wd { color: #5de8a8; }

.mock-d {
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}

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

.mock-time {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  padding: 6px 4px;
}

.mock-time-active {
  background: rgba(42,173,120,0.28);
  border-color: rgba(42,173,120,0.55);
  color: #5de8a8;
  font-weight: 700;
}

/* LINEモック */
.mock-line-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.mock-line-icon {
  background: #00B900;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  padding: 3px 7px;
  border-radius: 5px;
  letter-spacing: -0.01em;
}

.mock-line-name {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  font-weight: 700;
  flex: 1;
}

.mock-auto-badge {
  background: rgba(42,173,120,0.15);
  border: 1px solid rgba(42,173,120,0.3);
  color: #5de8a8;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}

.mock-bubble {
  background: #fff;
  color: #1a1a2e;
  border-radius: 4px 14px 14px 14px;
  padding: 9px 13px;
  font-size: 0.76rem;
  line-height: 1.65;
  max-width: 90%;
}

.mock-bubble strong { color: #1a3a5c; }

.mock-bubble-time {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.35);
  margin-top: 6px;
  padding-left: 2px;
}

/* 完了モック */
.mock-complete-card {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mock-complete-check {
  width: 38px;
  height: 38px;
  background: rgba(42,173,120,0.22);
  border: 2px solid rgba(42,173,120,0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #5de8a8;
  font-size: 1rem;
  font-weight: 900;
  flex-shrink: 0;
}

.mock-complete-info { flex: 1; }

.mock-complete-title {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
}

.mock-complete-detail {
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  margin-top: 2px;
}

.mock-complete-badge {
  background: rgba(255,200,80,0.12);
  border: 1px solid rgba(255,200,80,0.3);
  color: rgba(255,200,80,0.9);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
}

/* ===== セカンドビュー モバイル ===== */
@media (max-width: 700px) {
  .sv-feature-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sv-feature-card { text-align: left; display: flex; align-items: flex-start; gap: 14px; padding: 16px; }
  .sv-feature-icon { font-size: 1.5rem; margin-bottom: 0; flex-shrink: 0; }
  .sv-mocks {
    grid-template-columns: 1fr;
  }
  .second-view { padding: 60px 20px 80px; }
}
