/* ===========================================
   CSS: style.css
   ホームページ健康診断 LP
   =========================================== */

/* -----------------------------------------------
   1. CSS Variables
----------------------------------------------- */
:root {
  --navy:         #1B3A6B;
  --navy-dark:    #112548;
  --navy-mid:     #2A4F8F;
  --navy-light:   #EEF2F9;
  --orange:       #E8832A;
  --orange-dark:  #C46A15;
  --orange-light: #FFF4E8;
  --bg:           #F8F6F2;
  --bg-alt:       #FFFFFF;
  --white:        #FFFFFF;
  --text:         #1A1A1A;
  --text-mid:     #444444;
  --text-gray:    #888888;
  --border:       #E2DDD6;
  --border-light: #F0EDE8;
  --success:      #27AE60;
  --warning:      #E67E22;
  --danger:       #C0392B;
  --danger-dark:  #922B21;
  --shadow-sm:    0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow:       0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg:    0 8px 40px rgba(0, 0, 0, 0.12);
  --radius:       10px;
  --radius-sm:    6px;
  --radius-lg:    16px;
  --transition:   0.25s ease;
  --font-main:    'Noto Sans JP', sans-serif;
  --font-serif:   'Noto Serif JP', serif;
  --container:    1100px;
  --header-h:     68px;
}

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

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

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font-family: var(--font-main);
  cursor: pointer;
}

/* -----------------------------------------------
   3. Typography
----------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.4;
}

/* -----------------------------------------------
   4. Layout
----------------------------------------------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 90px 0;
}

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

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--navy);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  display: block;
  width: 48px;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-title-sm {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
}

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

.section-title-white::after {
  background: var(--orange);
  opacity: 0.8;
}

.section-subtitle {
  margin-top: 20px;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
}

.section-subtitle-white {
  color: rgba(255, 255, 255, 0.85);
}

.sp-only {
  display: none;
}

/* -----------------------------------------------
   5. Buttons
----------------------------------------------- */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 131, 42, 0.4);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 22px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 44px;
  font-size: 1.05rem;
}

.btn-xl {
  padding: 18px 52px;
  font-size: 1.1rem;
}

/* -----------------------------------------------
   6. Header
----------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  font-weight: 900;
  font-size: 1.15rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.02em;
}

.header-logo-icon {
  color: var(--orange);
  font-size: 1rem;
}

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

.header-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: color var(--transition);
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.header-nav-link:hover {
  color: var(--navy);
  border-color: var(--orange);
}

.header-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}

.header-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.header-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.header-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.header-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
  z-index: 999;
  box-shadow: var(--shadow);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-link {
  display: block;
  padding: 12px 32px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}

.mobile-menu-link:hover {
  background: var(--bg);
  color: var(--navy);
}

.mobile-menu-cta {
  margin: 12px 32px 4px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50px;
  text-align: center;
  font-weight: 700;
}

.mobile-menu-cta:hover {
  background: var(--orange-dark);
}

/* -----------------------------------------------
   7. Hero
----------------------------------------------- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-mid) 100%);
  padding: calc(var(--header-h) + 72px) 0 0;
  position: relative;
  overflow: hidden;
}

/* Decorative dots pattern */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  padding-bottom: 72px;
}

.hero-target {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 131, 42, 0.2);
  border: 1px solid rgba(232, 131, 42, 0.5);
  color: #F5C784;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.hero-target-icon {
  font-size: 0.7rem;
  color: var(--orange);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.8rem);
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.hero-title em {
  font-style: normal;
  color: #F5C784;
  border-bottom: 3px solid rgba(232, 131, 42, 0.6);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.hero-subtitle strong {
  color: var(--white);
}

.hero-message-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}

.hero-message-lead {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.9;
}

.hero-highlight {
  font-size: 1.6rem;
  font-weight: 900;
  color: #F5C784;
  margin: 0 4px;
}

.hero-message-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}

.hero-pain-list {
  margin-bottom: 20px;
}

.hero-pain-list li {
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 0 6px 24px;
  position: relative;
  font-size: 0.95rem;
}

.hero-pain-list li::before {
  content: '•';
  position: absolute;
  left: 8px;
  color: var(--orange);
  font-size: 1.1rem;
}

.hero-conclusion {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 36px;
}

.hero-conclusion strong {
  color: #F5C784;
}

.hero-cta-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-wave {
  width: 100%;
  line-height: 0;
}

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

/* -----------------------------------------------
   8. Why Section
----------------------------------------------- */
.section-why {
  background: var(--bg);
}

.why-lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
  line-height: 1.9;
}

.why-signboard {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--navy-light);
  border-left: 5px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 28px;
  margin-bottom: 40px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.why-signboard-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.7;
}

.why-card-row {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.why-card {
  flex: 1;
  border-radius: var(--radius);
  padding: 24px;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
}

.why-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 10px;
}

.why-card-bad {
  background: #FEF3F2;
  border: 2px solid #F7C5C0;
}

.why-card-bad .why-card-label {
  background: #FADBD8;
  color: var(--danger);
}

.why-card-good {
  background: #F0FAF4;
  border: 2px solid #A9DFBF;
}

.why-card-good .why-card-label {
  background: #D5F5E3;
  color: #1E8449;
}

.why-card-arrow {
  font-size: 2rem;
  color: var(--orange);
  flex-shrink: 0;
  font-weight: 900;
}

.why-alert-box {
  background: #FFFBF0;
  border: 2px solid #FAD7A0;
  border-radius: var(--radius);
  padding: 24px 28px;
  max-width: 720px;
  margin: 0 auto;
}

.why-alert-title {
  font-weight: 700;
  color: #784212;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-alert-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: #F39C12;
  color: white;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 900;
  flex-shrink: 0;
}

.why-alert-box p {
  font-size: 0.95rem;
  color: #7D6608;
  line-height: 1.9;
}

/* -----------------------------------------------
   9. Diagnosis Section
----------------------------------------------- */
.section-diagnosis {
  background: var(--bg-alt);
}

.diagnosis-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.diagnosis-questions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.diagnosis-item {
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.diagnosis-item.answered {
  border-color: var(--navy);
  background: var(--navy-light);
}

.diagnosis-item-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.diagnosis-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.diagnosis-item.answered .diagnosis-num {
  background: var(--orange);
}

.diagnosis-text {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
}

.diagnosis-choices {
  display: flex;
  gap: 12px;
  padding-left: 50px;
}

.choice-btn {
  cursor: pointer;
  flex: 1;
}

.choice-btn input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.choice-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid;
  cursor: pointer;
  transition: all var(--transition);
  user-select: none;
}

.choice-yes {
  background: #FEF3F2;
  border-color: #F7C5C0;
  color: #922B21;
}

.choice-no {
  background: #F0FAF4;
  border-color: #A9DFBF;
  color: #1E8449;
}

.choice-btn input:checked + .choice-yes {
  background: var(--danger);
  border-color: var(--danger-dark);
  color: white;
  box-shadow: 0 3px 10px rgba(192, 57, 43, 0.3);
}

.choice-btn input:checked + .choice-no {
  background: var(--success);
  border-color: #1E8449;
  color: white;
  box-shadow: 0 3px 10px rgba(39, 174, 96, 0.3);
}

.choice-label:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Progress */
.diagnosis-progress {
  margin-bottom: 24px;
}

.diagnosis-progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.diagnosis-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--orange));
  border-radius: 4px;
  transition: width 0.5s ease;
}

.diagnosis-progress-text {
  font-size: 0.85rem;
  color: var(--text-gray);
  text-align: right;
}

/* Diagnose Button */
.diagnosis-btn-wrap {
  text-align: center;
}

.btn-diagnose {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 16px 48px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  opacity: 0.4;
  pointer-events: none;
}

.btn-diagnose:not([disabled]) {
  opacity: 1;
  pointer-events: auto;
  background: linear-gradient(135deg, var(--navy), var(--orange));
  box-shadow: 0 6px 24px rgba(27, 58, 107, 0.3);
}

.btn-diagnose:not([disabled]):hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(27, 58, 107, 0.4);
}

.diagnosis-btn-note {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-top: 10px;
}

/* Diagnosis Result */
.diagnosis-result {
  margin-top: 40px;
}

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

.result-status-bar {
  padding: 20px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.result-status-bar--green  { background: var(--success); }
.result-status-bar--yellow { background: var(--warning); }
.result-status-bar--red    { background: var(--danger); }
.result-status-bar--critical { background: var(--danger-dark); }

.result-status-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.result-status-title {
  color: white;
  font-size: 1.1rem;
  font-weight: 700;
}

.result-status-score {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  margin-top: 2px;
}

.result-body {
  background: white;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.result-section-block {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-light);
}

.result-section-block:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.result-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-gray);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.result-overall-text {
  font-size: 1rem;
  color: var(--text);
  font-weight: 500;
  line-height: 1.8;
}

.result-issues-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.result-issues-list li {
  padding: 12px 16px;
  background: #FFF9F0;
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}

.result-cta-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 16px;
}

.btn-result-cta {
  display: inline-block;
  background: var(--orange);
  color: white;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  transition: all var(--transition);
}

.btn-result-cta:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 131, 42, 0.4);
}

/* -----------------------------------------------
   10. Products Section
----------------------------------------------- */
.section-products {
  background: var(--bg);
}

/* Main Product */
.product-main {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: visible;
  position: relative;
  margin-bottom: 60px;
  border: 2px solid var(--orange);
}

.product-main-badge {
  position: absolute;
  top: -16px;
  left: 32px;
}

.product-main-badge span {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 50px;
}

.product-main-inner {
  display: flex;
  gap: 32px;
  padding: 44px 40px 36px;
  align-items: flex-start;
}

.product-main-icon {
  flex-shrink: 0;
  margin-top: 4px;
}

.product-main-body {
  flex: 1;
}

.product-main-title {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  color: var(--navy);
  margin-bottom: 6px;
}

.product-main-tagline {
  font-size: 0.95rem;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 18px;
}

.product-main-detail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.product-main-detail p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.9;
}

.product-main-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 20px;
  background: var(--orange-light);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.product-price-label {
  font-size: 0.8rem;
  color: var(--orange-dark);
  font-weight: 700;
}

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

.product-price-tax {
  font-size: 1rem;
}

.product-price-period {
  font-size: 0.85rem;
  color: var(--text-gray);
  border-left: 1px solid var(--border);
  padding-left: 12px;
  margin-left: 4px;
}

/* Sub Products */
.sub-products-lead {
  text-align: center;
  margin-bottom: 36px;
}

.sub-products-title {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.sub-products-lead p {
  color: var(--text-gray);
  font-size: 0.95rem;
}

.sub-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sub-product-card {
  background: white;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.sub-product-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  margin-bottom: 12px;
}

.sub-product-title {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.5;
}

.sub-product-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-gray);
  background: var(--bg);
  padding: 2px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.sub-product-desc {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.85;
}

/* -----------------------------------------------
   11. Schedule Section
----------------------------------------------- */
.section-schedule {
  background: var(--bg-alt);
}

.schedule-timeline {
  max-width: 700px;
  margin: 0 auto 60px;
}

.timeline-item {
  display: flex;
  gap: 24px;
  position: relative;
}

.timeline-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.timeline-dot {
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.timeline-dot-final {
  background: var(--orange);
  font-size: 1.2rem;
}

.timeline-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin: 4px 0;
  min-height: 32px;
}

.timeline-item-last .timeline-marker {
  margin-bottom: 0;
}

.timeline-content {
  padding: 8px 0 36px;
}

.timeline-item-last .timeline-content {
  padding-bottom: 0;
}

.timeline-week {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-title {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
}

/* Pricing Box */
.price-box {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.price-box-inner {
  display: flex;
  gap: 0;
}

.price-box-left {
  flex: 1;
  padding: 48px 40px;
}

.price-box-title {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: white;
  margin-bottom: 8px;
  line-height: 1.5;
}

.price-box-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.price-includes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-includes li {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  padding-left: 20px;
  position: relative;
}

.price-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.price-box-right {
  flex-shrink: 0;
  width: 300px;
  background: rgba(255, 255, 255, 0.07);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-left: 1px solid rgba(255,255,255,0.1);
}

.price-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.price-amount {
  font-size: 3rem;
  font-weight: 900;
  color: #F5C784;
  line-height: 1;
  margin-bottom: 4px;
}

.price-tax {
  font-size: 1rem;
}

.price-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
}

/* -----------------------------------------------
   12. Notes Section
----------------------------------------------- */
.section-notes {
  background: var(--bg);
}

.notes-card {
  max-width: 760px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.notes-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.notes-list li {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.85;
  padding-left: 16px;
  border-left: 3px solid var(--border);
}

.notes-list li strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

/* -----------------------------------------------
   13. Contact Section
----------------------------------------------- */
.section-contact {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 90px 0;
}

.form-wrap {
  max-width: 640px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  box-shadow: var(--shadow-lg);
}

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

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

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

.form-required {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--danger);
  color: white;
  padding: 2px 7px;
  border-radius: 3px;
}

.form-optional {
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--border);
  color: var(--text-gray);
  padding: 2px 7px;
  border-radius: 3px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--navy);
  background: white;
  box-shadow: 0 0 0 3px rgba(27, 58, 107, 0.12);
}

.form-input.error,
.form-textarea.error {
  border-color: var(--danger);
}

.form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.7;
}

.form-error {
  font-size: 0.8rem;
  color: var(--danger);
  min-height: 1.2em;
}

.form-submit-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.btn-submit {
  width: 100%;
  border: none;
}

.form-turnstile {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
}

.form-general-error {
  min-height: 1.4em;
  text-align: center;
  font-size: 0.85rem;
}

.btn-submit:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

.form-privacy-note {
  font-size: 0.78rem;
  color: var(--text-gray);
  text-align: center;
}

/* Form Success State */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 900;
  margin: 0 auto 20px;
}

.form-success h3 {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-gray);
}

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

.faq-list {
  max-width: 760px;
  margin: 0 auto 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background var(--transition);
}

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

.faq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.faq-question-text {
  flex: 1;
  font-size: 0.975rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
}

.faq-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
}

.faq-arrow::before,
.faq-arrow::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 10px;
  height: 2px;
  background: var(--text-gray);
  border-radius: 1px;
  transition: transform var(--transition);
}

.faq-arrow::before {
  right: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transform-origin: right center;
}

.faq-arrow::after {
  left: 50%;
  transform: translateY(-50%) rotate(45deg);
  transform-origin: left center;
}

.faq-item.open .faq-arrow::before {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item.open .faq-arrow::after {
  transform: translateY(-50%) rotate(-45deg);
}

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

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

.faq-answer-inner {
  display: flex;
  gap: 14px;
  padding: 0 24px 20px;
  align-items: flex-start;
}

.faq-answer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: 50%;
  font-weight: 900;
  font-size: 0.85rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-answer-inner p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.85;
}

.faq-cta {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  padding: 32px;
  background: white;
  border-radius: var(--radius);
  border: 2px dashed var(--border);
}

.faq-cta p {
  color: var(--text-gray);
  margin-bottom: 16px;
}

/* -----------------------------------------------
   15. Footer
----------------------------------------------- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 0;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 900;
  font-size: 1.05rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.footer-nav-link {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-nav-link:hover {
  color: white;
}

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

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

/* -----------------------------------------------
   16. Floating CTA
----------------------------------------------- */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 12px 16px;
  background: rgba(17, 37, 72, 0.97);
  backdrop-filter: blur(4px);
}

.floating-cta-btn {
  display: block;
  background: var(--orange);
  color: white;
  text-align: center;
  padding: 14px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: background var(--transition);
}

.floating-cta-btn:hover {
  background: var(--orange-dark);
}

/* -----------------------------------------------
   17. Illustration Additions
----------------------------------------------- */

/* Hero 2-column layout */
.hero-layout {
  display: flex;
  align-items: center;
  gap: 48px;
}

.hero-layout .hero-inner {
  flex: 1;
  max-width: none;
}

.hero-illust {
  flex: 0 0 340px;
  padding-bottom: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-illust-svg {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 20px 48px rgba(0, 0, 0, 0.35));
}

/* Why card visual badge */
.why-card-visual {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.why-card-visual .why-card-label {
  margin-bottom: 0;
}

/* Sub-product icon */
.sub-product-icon {
  margin-bottom: 10px;
}

/* Step-by-step diagnosis */
.diagnosis-step-indicator {
  text-align: center;
  margin-bottom: 28px;
}

.diagnosis-step-bubbles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 10px;
}

.step-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--border);
  color: var(--text-gray);
  font-size: 0.85rem;
  font-weight: 700;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  flex-shrink: 0;
}

.step-bubble--active {
  background: var(--navy);
  color: white;
  transform: scale(1.15);
}

.step-bubble--done {
  background: var(--orange);
  color: white;
}

.step-bubble-line {
  width: 32px;
  height: 2px;
  background: var(--border);
  flex-shrink: 0;
  transition: background 0.4s ease;
}

.step-bubble-line--done {
  background: var(--orange);
}

.diagnosis-step-label {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.diagnosis-step-label strong {
  color: var(--navy);
  font-size: 1rem;
}

.diagnosis-item--hidden {
  display: none;
}

@keyframes diagnosisReveal {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.diagnosis-item--reveal {
  animation: diagnosisReveal 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

/* Schedule illustration banner */
.schedule-illust-banner {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--navy-light);
  border-radius: var(--radius);
  padding: 24px 32px;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.schedule-illust-banner svg {
  flex-shrink: 0;
}

.schedule-illust-banner p {
  font-size: 0.95rem;
  color: var(--navy);
  font-weight: 500;
  line-height: 1.7;
}

/* -----------------------------------------------
   18. Responsive
----------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --container: 100%;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 60px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 64px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .sp-only {
    display: block;
  }

  /* Header */
  .header-nav {
    display: none;
  }

  .header-hamburger {
    display: flex;
  }

  /* Hero */
  .hero-illust {
    display: none;
  }

  .hero {
    padding-top: calc(var(--header-h) + 48px);
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .hero-cta-wrap {
    flex-direction: column;
  }

  .hero-cta-wrap .btn-primary,
  .hero-cta-wrap .btn-outline {
    width: 100%;
    text-align: center;
  }

  /* Why */
  .why-card-row {
    flex-direction: column;
  }

  .why-card-arrow {
    transform: rotate(90deg);
  }

  .why-signboard {
    flex-direction: column;
    text-align: center;
  }

  /* Diagnosis */
  .diagnosis-choices {
    padding-left: 0;
    justify-content: center;
  }

  .choice-label {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  /* Products */
  .product-main-inner {
    flex-direction: column;
    padding: 40px 24px 28px;
    gap: 20px;
  }

  .product-main-price {
    flex-wrap: wrap;
    gap: 8px;
  }

  .sub-products-grid {
    grid-template-columns: 1fr;
  }

  /* Schedule */
  .price-box-inner {
    flex-direction: column;
  }

  .price-box-left,
  .price-box-right {
    padding: 32px 24px;
  }

  .price-box-right {
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  /* Contact form */
  .form-wrap {
    padding: 32px 20px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    gap: 12px 20px;
  }

  /* Floating CTA */
  .floating-cta {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.45rem;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .btn-xl {
    padding: 15px 24px;
    font-size: 1rem;
  }

  .product-main-price {
    flex-direction: column;
  }

  .product-price-period {
    border-left: none;
    padding-left: 0;
  }
}
