/* Base: grayscale + accent with subtle depth */
:root {
  --accent: #FE7E3F;
  --accent-strong: #e76528;
  --accent-contrast: #ffffff;
  --sub-1: #3D6BC0;
  --sub-2: #6BDA95;
  --sub-3: #EADD70;
  --sand: #F5DCBE;
  --gray-0: #ffffff;
  --gray-1: #f7f7f9;
  --gray-2: #E5E5E5;
  --gray-3: #cfcfd4;
  --gray-4: #cfcfd4;
  --ink-1: #222328;
  --ink-2: #3a3b41;
  --muted: #6b6e76;
  --radius: 16px;
  --shadow-1: 0 6px 18px rgba(0,0,0,0.06);
  --shadow-2: 0 10px 30px rgba(0,0,0,0.08);
  --container: 1400px;
}

/* Font stack approximating reference */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: rgba(34, 35, 40, 0.8);
  background: radial-gradient(1200px 600px at 10% -10%, #fafbff 0%, #f7f7fb 45%, #f4f5f8 100%);
  background-attachment: fixed;
  font-family: "Zen Kaku Gothic Antique", "游角ゴシック", "Yu Gothic", "YuGothic", "游ゴシック", "Meiryo", "Meiryo UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.72;
  letter-spacing: 0.015em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Accessible focus styles when keyboard navigation detected */
*:focus { outline: none; }
.show-focus :focus { outline: 2px solid var(--sub-1); outline-offset: 2px; border-radius: 6px; }

.skip-link {
  position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
.skip-link:focus { position: fixed; left: 16px; top: 16px; width: auto; height: auto; z-index: 1000; background: #000; color: #fff; padding: 8px 12px; border-radius: 8px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.8);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.nav-bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { padding-left: clamp(20px, 4vw, 40px); }
.brand__logo { height: clamp(48px, 6vw, 64px); width: auto; display: block; }
.site-nav ul { display: flex; gap: 18px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--ink-2); text-decoration: none; padding: 10px 8px; border-radius: 0; transition: 180ms ease; font-style: normal; }
.site-nav a:hover { background: var(--sub-2); color: var(--ink-1); }
.site-nav a[href="#closing"] { color: var(--accent); }
.site-nav a[href="#closing"]:hover { background: var(--sub-2); color: var(--ink-1); }

.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; border-radius: 8px; }
.nav-toggle__bar { display: block; width: 24px; height: 2px; background: var(--ink-1); margin: 5px 0; transition: 200ms ease; }

/* Sections */
.section { padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 120px) 0; background: var(--gray-0); }
.section--alt { background: var(--gray-2); }
.section--sand { background: var(--sand); }
.section--accent { background: linear-gradient(180deg, color-mix(in srgb, var(--accent), #fff 8%) 0%, var(--accent) 100%); color: var(--accent-contrast); }
.section--contact { background: var(--gray-0); }
.section--intro { background: #ffffff; }
/* About Test section: light orange background */
#about-test { background: color-mix(in srgb, var(--accent), #fff 40%); }
/* Symptoms section: green background (darker green) */
#symptoms { background: var(--sub-2); }
/* Trend section: link styles - blue with green hover */
#trend a {
  color: var(--sub-1);
  text-decoration: underline;
  transition: color 200ms ease;
}
#trend a:hover {
  color: var(--sub-2);
}
/* Trend section: reference text in blue */
#trend .trend-reference {
  color: var(--sub-1);
}
/* Trend section: reference text in dark gray */
#trend .trend-reference-gray {
  color: var(--ink-1);
}

/* Challenges section - same layout as other sections */
#challenges.section {
  padding: clamp(60px, 8vw, 100px) 0 clamp(80px, 10vw, 120px) 0;
  background: #ffffff;
}
.challenges-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
  min-height: 400px;
}
.challenges-left {
  background: #ffffff !important;
  color: rgba(0, 0, 0, 0.8);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Challenges section: use same styles as other sections (no special overrides) */
.challenges-list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 40pt;
}
#challenges .challenges-list li {
  font-size: 22px !important;
  font-weight: 700;
  line-height: 1.72;
  margin: 0 0 20px 0;
  color: rgba(0, 0, 0, 0.8);
  padding-left: 0;
  letter-spacing: 0.015em;
}
.challenge-number {
  display: inline-block;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  width: clamp(40px, 4.5vw, 56px);
  height: clamp(40px, 4.5vw, 56px);
  border-radius: 50%;
  text-align: center;
  line-height: clamp(40px, 4.5vw, 56px);
  font-size: clamp(16px, 2vw, 19pt);
  font-weight: 700;
  margin-right: 16px;
  vertical-align: middle;
}
.challenges-list li:last-child {
  margin-bottom: 0;
}
.challenges-right {
  background: #ffffff !important;
  color: rgba(0, 0, 0, 0.8);
  padding: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-width: 0;
}
.challenges-image-wrapper {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 1;
}
.challenges-image-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  display: block;
}
.challenges-description {
  display: none !important;
}
.challenges-benefits {
  margin-top: clamp(40px, 6vw, 60px);
  padding: clamp(30px, 5vw, 50px) clamp(20px, 4vw, 40px);
  border-top: 1px solid var(--gray-3);
}
.challenges-benefits p {
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 600;
  line-height: 1.8;
  margin: 0 0 20px 0;
  color: var(--sub-2);
}
.challenges-benefits p:last-child {
  margin-bottom: 0;
}
/* Challenges benefits: checkmark with black background and white check */
.challenges-check {
  display: inline-block;
  background: #000000;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  text-align: center;
  line-height: 24px;
  font-size: 16px;
  margin-right: 8px;
  vertical-align: middle;
}

/* Introduction section */
#introduction {
  color: var(--ink-1);
}
.intro-content {
  text-align: center;
  max-width: min(900px, 80vw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 0;
}
.intro-main {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 20px 0;
  color: var(--ink-1);
}
.intro-sub {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.8;
  margin: 0;
  color: var(--ink-2);
}
/* Introduction section: dark gray text */
.intro-blue {
  color: var(--ink-1);
}

.section__header { margin-bottom: 50px; }
.headline { font-size: clamp(22px, 4.5vw, 44px); line-height: 2; margin: 0 !important; padding: 0 !important; padding-left: 0 !important; padding-top: 22px !important; letter-spacing: 0.04em; font-weight: 700; }
/* Specific sections: headline subtext (after br) in orange with underline */
#trend h2.headline,
#challenges h2.headline,
#about-test h2.headline,
#symptoms h2.headline,
#steps h2.headline,
#benefits h2.headline,
#cases h2.headline,
#trust h2.headline,
#trial h2.headline,
#faq h2.headline,
#closing h2.headline {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
  padding: 0 !important;
}
/* Trial section: subtext in white */
#trial h2.headline {
  color: #ffffff;
  text-decoration: none;
}
/* Trial section: underline only for specific text */
#trial h2.headline .trial-underline {
  text-decoration: underline;
  text-decoration-color: #ffffff;
  text-underline-offset: 4px;
}
/* About Test and Symptoms sections: subtext in white and bold */
#about-test h2.headline,
#symptoms h2.headline {
  color: #ffffff !important;
  text-decoration: underline !important;
  text-decoration-color: #ffffff !important;
  font-weight: 800 !important;
}
/* Add margin-top to br tag to create space before orange subtext */
#trend h2.headline br,
#challenges h2.headline br,
#about-test h2.headline br,
#symptoms h2.headline br,
#steps h2.headline br,
#benefits h2.headline br,
#cases h2.headline br,
#trust h2.headline br,
#trial h2.headline br,
#faq h2.headline br,
#closing h2.headline br {
  display: block;
  margin-top: 100px;
  content: "";
}
/* About Test and Symptoms sections: add margin-bottom to headlines */
#about-test .headline--mobile,
#about-test .headline--desktop,
#symptoms .headline--mobile,
#symptoms .headline--desktop { margin-bottom: 50px !important; }
/* Add margin after headline for sections without section__header */
.headline--mobile + .content-grid,
.headline--mobile + .challenges-grid,
.headline + .accordion { margin-top: 50px; }
/* Trend, Trust, Trial sections: add margin-bottom to headline */
#trend .headline--mobile,
#trend .headline--desktop,
#trust .headline--mobile,
#trust .headline--desktop,
#trial .headline--mobile,
#trial .headline--desktop { margin-bottom: 60px !important; }
h2.headline { font-size: clamp(22px, 1.5vw + 12px, 28px) !important; padding: 0; padding-left: 0 !important; padding-top: 22px !important; margin-left: 0 !important; line-height: 2 !important; font-weight: 700 !important; }
.display { font-size: clamp(32px, 6vw, 56px); line-height: 1.1; letter-spacing: -0.01em; margin: 0 0 16px; }
/* Ensure semantic headings render as intended even without .headline */
h1 { font-size: clamp(36px, 5vw + 18px, 72px); line-height: 1.6; margin: 0 0 12px; font-weight: 800; }
h2 { font-size: clamp(18px, 1.5vw + 10px, 28px); line-height: 3; margin: 0 0 12px; padding: 0; padding-left: 0 !important; font-weight: 500; }
h3 { font-size: clamp(18px, 1.2vw + 10px, 24px); line-height: 1.35; margin: 6px 0 6px; font-weight: 700; }
.eyebrow { text-transform: uppercase; color: var(--sub-1); font-weight: 700; letter-spacing: 0.06em; font-size: 12px; margin: 0 0 8px; }
.lead { font-size: clamp(16px, 2.4vw, 18px); color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }

/* Accent band under headings (1/3 width highlight) */
.accent-band { position: relative; padding-top: 8px; --accent-local: var(--accent); }
.accent-band:before {
  content: ""; position: absolute; inset: 0 auto auto 0; height: 48px; width: 32%; border-radius: 10px; z-index: -1;
  background: linear-gradient(90deg, var(--accent-local) 0%, color-mix(in srgb, var(--accent-local), #fff 35%) 100%);
  opacity: 0.18; filter: saturate(105%);
}
.accent-band--right:before { left: auto; right: 0; }
.section--accent .accent-band:before { opacity: 0.35; }
.invert .headline { color: #fff; }

/* H2 label pill (for former 【...】 part only) */
.hlabel { display: inline-block; background: transparent; color: var(--accent); padding: 4px 8px 4px 0; border-radius: 0; font-size: clamp(24px, 5vw, 46px) !important; font-weight: 700 !important; line-height: 1.3; letter-spacing: 0.08em; margin-left: 0 !important; margin-top: -22px !important; padding-left: 0 !important; vertical-align: top; border-bottom: 2px solid currentColor; text-decoration: none; }
/* Specific sections: hlabel with black 75% background, white text, no border, rounded corners */
#trend .hlabel,
#challenges .hlabel,
#about-test .hlabel,
#symptoms .hlabel,
#steps .hlabel,
#benefits .hlabel,
#cases .hlabel,
#trust .hlabel,
#trial .hlabel,
#faq .hlabel,
#closing .hlabel {
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  border-bottom: none;
  padding: 4px 24px 4px 24px;
  border-radius: 4px;
}
/* Override for specific sections with new style */
#trial .hlabel { background: rgba(0, 0, 0, 0.75) !important; color: #ffffff !important; border-bottom: none !important; padding: 4px 24px 4px 24px !important; margin-left: 0 !important; margin-top: -22px !important; padding-left: 24px !important; line-height: 1.6 !important; border-radius: 4px !important; }
#symptoms .hlabel { background: rgba(0, 0, 0, 0.75) !important; color: #ffffff !important; border-bottom: none !important; padding: 4px 24px 4px 24px !important; margin-left: 0 !important; margin-top: -22px !important; padding-left: 24px !important; line-height: 1.6 !important; border-radius: 4px !important; }
/* About Test section: no letter-spacing, smaller font */
#about-test .hlabel { background: rgba(0, 0, 0, 0.75) !important; color: #ffffff !important; border-bottom: none !important; padding: 4px 24px 4px 24px !important; letter-spacing: 0 !important; font-size: clamp(22px, 4.5vw, 42px) !important; font-weight: 700 !important; line-height: 1.3 !important; margin-top: -22px !important; padding-left: 24px !important; border-radius: 4px !important; }
/* Symptoms section: no letter-spacing, smaller font (same as about-test) */
#symptoms .hlabel { background: rgba(0, 0, 0, 0.75) !important; color: #ffffff !important; border-bottom: none !important; padding: 4px 24px 4px 24px !important; letter-spacing: 0 !important; font-size: clamp(22px, 4.5vw, 42px) !important; line-height: 1.6 !important; margin-top: -22px !important; padding-left: 24px !important; border-radius: 4px !important; }

/* Accent color variants */
.accent--blue { --accent-local: var(--sub-1); }
.accent--green { --accent-local: var(--sub-2); }
.accent--yellow { --accent-local: var(--sub-3); }

/* Hero */
#hero,
.section--hero { color: rgba(0, 0, 0, 1); }
.section--hero { padding-top: 0; padding-bottom: 0; position: relative; overflow: visible; }
/* Hero Ticker - scrolling text */
.hero-ticker {
  background: var(--accent);
  color: #ffffff;
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-wrapper {
  width: 100%;
  overflow: hidden;
}
.ticker-content {
  display: inline-flex;
  animation: ticker-scroll 30s linear infinite;
}
.ticker-content span {
  padding-right: 50px;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  white-space: nowrap;
}
@keyframes ticker-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.section--hero:before {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 70%; z-index: -2;
  background: radial-gradient(600px 280px at 20% 0%, color-mix(in srgb, var(--accent), #fff 60%) 0%, transparent 70%),
              radial-gradient(500px 240px at 80% 10%, color-mix(in srgb, var(--sub-1), #fff 80%) 0%, transparent 72%);
  opacity: 0.45;
}
.section--hero .container { position: relative; padding: 0; max-width: 100%; width: 100%; }
/* Hero two column layout */
.hero-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  height: 768px;
  width: 100%;
  margin: 0;
}
.hero-column {
  position: relative;
}
.hero-column--left {
  position: relative;
}
.hero-column--right {
  position: relative;
  overflow: hidden;
}
.hero-image-wrapper {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Right column: image fills entire column */
.hero-column--right .hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}
.hero-column--right .hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Hero left text box - white background with padding */
.hero-text-box {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%) scale(1.2);
  transform-origin: center top;
  background: #ffffff;
  padding: 20px 24px;
  z-index: 10;
  text-align: center;
}
.hero-text-main {
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 1);
  margin: 0 0 8px 0;
  line-height: 1.2;
}
.hero-text-sub {
  font-size: 1rem;
  font-weight: 700;
  color: rgba(0, 0, 0, 1);
  margin: 0;
  line-height: 1.2;
}
.hero-text-box .hero-text-sub {
  color: rgba(0, 0, 0, 1) !important;
}
.hero-buttons {
  position: absolute;
  top: 70%;
  left: 50%;
  transform: translateX(-50%) scale(1.2);
  transform-origin: center top;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 10;
}
/* Hero right text overlay - centered with line spacing */
.hero-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  color: rgba(0, 0, 0, 1);
  width: 100%;
  max-width: 100%;
  padding: 0 clamp(40px, 6vw, 80px);
  box-sizing: border-box;
}
.hero-text-1 {
  font-size: clamp(14pt, 2vw, 20pt);
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 2.2;
  text-align: center;
}
.hero-text-2 {
  font-size: clamp(28pt, 4.5vw, 45pt);
  font-weight: 700;
  margin: 0 0 28px 0;
  line-height: 2.0;
  text-align: center;
  letter-spacing: -0.02em;
}
.hero-text-narrow {
  letter-spacing: -0.12em;
}
.hero-text-3 {
  font-size: clamp(14pt, 2vw, 20pt);
  font-weight: 700;
  margin: 0;
  line-height: 2.2;
  text-align: center;
}
/* Hero custom button style: white background, black text, no border-radius, green hover */
.btn--hero-custom {
  background: #ffffff !important;
  color: rgba(0, 0, 0, 1) !important;
  border-radius: 0 !important;
  padding: 18px 48px;
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  box-shadow: var(--shadow-1);
  transition: background-color 200ms ease, transform 160ms ease, box-shadow 200ms ease;
  min-width: 280px;
}
.btn--hero-custom:hover {
  background: #6BDA95 !important;
  color: rgba(0, 0, 0, 1) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
}
.btn--hero-custom:active {
  transform: translateY(1px);
}
.hero__stack { display: grid; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 16px; }
.hero__img-center { width: min(80vw, min(680px, 48vw)); height: auto; display: block; border-radius: 24px; box-shadow: var(--shadow-2); }
.lead--invert { color: #fff; max-width: min(840px, 60vw); margin: 8px auto 0; }
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 40px); align-items: center; }
.hero__media img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-2); }
.cta-row { display: flex; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.cta-row--center { justify-content: center; }
#trial .cta-row { margin-top: 32px; justify-content: center; }
#trial .btn { display: block; width: 60%; margin: 32px auto 0; text-align: center; }

/* Content grid */
.content-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(24px, 4vw, 40px); align-items: start; }
/* Trial section: increase gap between text and image */
#trial .content-grid { gap: clamp(40px, 6vw, 60px); }
.content-grid--split { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.content-grid--middle { align-items: center; }
.content-grid__main { min-width: 0; overflow-wrap: break-word; padding-left: 0; }
/* About Test section: add margin-bottom to content */
#about-test .content-grid__main { margin-bottom: 60px; }
/* About Test section: link below content grid */
.about-test-link {
  margin-top: 40px;
  text-align: center;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}
.about-test-link a {
  color: #fff;
  text-decoration: underline;
  font-weight: 700;
  font-size: clamp(18px, 2.2vw, 20px);
  line-height: 1.72;
  letter-spacing: 0.015em;
  transition: opacity 200ms ease;
}
.about-test-link a:hover {
  opacity: 0.8;
}
/* Trust section: make image larger - text left (0.6fr), image right (1.4fr) */
#trust .content-grid { grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr); }
/* Trust section: flexible padding for equal margins */
#trust .container { padding: 0 clamp(20px, 4vw, 40px); }
.content-grid__media { min-width: 0; overflow: hidden; }
.content-grid__media img { width: 100%; max-width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow-1); object-fit: contain; }
/* Trust section: image styling */
#trust .content-grid__media img { border-radius: var(--radius); }
.content-grid__media .img--padded { background: #fff; padding: 16px; border-radius: var(--radius); box-shadow: var(--shadow-1); }
.img--cover { aspect-ratio: 4/3; object-fit: cover; width: 100%; height: auto; }
.square-padded { width: 100%; max-width: min(420px, 30vw); aspect-ratio: 1/1; background: #fff; border-radius: var(--radius); padding: clamp(16px, 2vw, 24px); display: grid; place-items: center; box-shadow: var(--shadow-1); margin: 0 auto; }
.img--half { width: 50%; max-width: min(420px, 30vw); }
.img--center { display: block; margin: 0 auto; }

/* Cards */
.cards { display: grid; gap: 18px; margin-top: 10px; }
.cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { background: #fff; border-radius: var(--radius); padding: clamp(16px, 2vw, 20px); box-shadow: var(--shadow-1); border: 1px solid rgba(0,0,0,0.04); min-width: 0; overflow-wrap: break-word; }
#steps .card { text-align: center; }
.card--media img { display: block; width: 100%; height: auto; border-radius: 12px; margin-bottom: 10px; }
/* Cases section: fixed aspect ratio for consistent image sizes */
#cases .card--media img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; height: auto; }
.card h3 { margin: 6px 0 4px; font-size: clamp(18px, 2.5vw, 20px); }
.card p { margin: 6px 0 0; }
/* Card media: H3 and paragraph same font size */
.card--media h3 {
  font-size: 20px;
}
.card--media p {
  font-size: 20px;
}
/* Benefits section: H3 same font size as paragraph */
#benefits .card--media h3 {
  font-size: 20px !important;
}
#benefits .card--media p {
  font-size: 20px;
}

/* Lists */
.bullets { max-width: min(900px, 65vw); margin: 0 auto; }
.bullets li { margin: 8px 0; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { position: relative; padding-left: 28px; margin: 8px 0; }
.checklist li:before { content: ""; position: absolute; left: 0; top: 10px; width: 18px; height: 10px; border: 3px solid var(--sub-2); border-top: 0; border-right: 0; transform: rotate(-45deg); }

.tagboard { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.tagboard.center { justify-content: center; }
.tag { background: var(--gray-2); border: 1px solid var(--gray-3); padding: 8px 10px; border-radius: 999px; font-size: 14px; }
.tag--em { background: #fff; border-color: var(--gray-3); }
.tagboard.center .tag { font-weight: 700; border-width: 2px; min-width: 120px; text-align: center; }
.mt-16 { margin-top: 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 700; cursor: pointer; text-decoration: none; transition: transform 160ms ease, box-shadow 200ms ease, background-color 200ms ease, color 200ms ease; }
.btn { box-shadow: var(--shadow-1); }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: var(--accent-contrast); box-shadow: 0 8px 20px color-mix(in srgb, var(--accent), #000 12%); }
.btn--accent:hover { background: var(--accent-strong); box-shadow: 0 10px 28px color-mix(in srgb, var(--accent), #000 16%); }
.btn--ghost { background: #fff; color: var(--ink-1); border: 1px solid var(--gray-3); }
.btn--ghost:hover { background: var(--gray-1); }
.btn--ghost-dark { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.9); }
.btn--ghost-dark:hover { background: rgba(255,255,255,0.12); }
.section--accent .btn--light { background: #fff; color: var(--ink-1); }
.section--accent .btn--light:hover { background: #fdf2ec; }
.btn--white { background: #fff; color: inherit; }
.btn--shadow { box-shadow: 0 12px 28px rgba(0,0,0,0.16); }
.btn--lg { padding: 14px 22px; font-size: 1.05rem; }
.btn--xl { padding: 16px 28px; font-size: 1.12rem; }

/* Contact CTA */
.contact__cta { text-align: center; margin: 12px 0 6px; }

/* Benefits: make cards blue with white text, center aligned */
#benefits .card { background: var(--sub-1); color: #fff; border-color: rgba(255,255,255,0.12); text-align: center; border-radius: 4px !important; }
#benefits .card svg { fill: currentColor; }
/* Benefits: h3 font size with margin, single line */
#benefits .card h3 { font-size: clamp(18px, 2.8vw, 24px) !important; margin: 0 0 20px 0 !important; font-weight: 700; line-height: 1.3 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Benefits: image margin and border-radius */
#benefits .card--media img { margin: 0 0 20px 0 !important; border-radius: 4px !important; }
/* Benefits: paragraph margin */
#benefits .card p { margin: 0 !important; }
/* Benefits: price highlight with underline */
#benefits .price-highlight {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
/* Benefits: repeat rate highlight with underline */
#benefits .repeat-rate-highlight {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
/* Benefits: scientific data highlight with underline */
#benefits .scientific-data-highlight {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Accordion */
#faq { color: rgba(34, 35, 40, 0.85); }
.accordion { max-width: min(960px, 70vw); margin: 0 auto; display: grid; gap: 12px; }
.accordion__button { width: 100%; text-align: left; background: #fff; border: 1px solid var(--gray-3); border-radius: 12px; padding: 16px 18px; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: var(--shadow-1); transition: background 200ms ease; position: relative; color: rgba(34, 35, 40, 0.85); }
.accordion__button:after { content: "\25BD"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%); }
.accordion__button[aria-expanded="true"] { background: #fff7f2; border-color: color-mix(in srgb, var(--accent), #fff 40%); }
.accordion__panel { background: #fff; border: 1px solid var(--gray-3); border-radius: 12px; padding: 14px 18px; margin-top: -8px; color: rgba(34, 35, 40, 0.85); }

/* Contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(20px, 3vw, 28px); align-items: start; }
.iframe-ratio { position: relative; width: 100%; padding-top: 62%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); background: #fff; }
.iframe-ratio iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Closing form: stack each field per line */
#closing .contact-form { background: #fff; border-radius: var(--radius); padding: clamp(16px, 2vw, 24px); border: 1px solid color-mix(in srgb, var(--accent), #fff 60%); box-shadow: var(--shadow-2); }
/* Google Form iframe styling */
.google-form-iframe { 
  display: block; 
  margin: 0 auto; 
  width: min(100%, 900px); 
  max-width: 100%; 
  height: 1100px; 
  border-radius: var(--radius); 
  box-shadow: var(--shadow-2); 
  border: 1px solid var(--gray-3); 
}
/* Google Form iframe scrollbar styling */
.google-form-iframe::-webkit-scrollbar {
  width: 12px;
}
.google-form-iframe::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 6px;
}
.google-form-iframe::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 6px;
}
.google-form-iframe::-webkit-scrollbar-thumb:hover {
  background: var(--accent-strong);
}
#closing .form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
#closing .form-grid label { display: grid; gap: 6px; font-weight: 700; }
#closing .form-grid input, #closing .form-grid textarea { font: inherit; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--gray-3); background: #fff; }
#closing .center { margin-top: 24px; }

/* Footer */
.site-footer { background: #111; color: #ddd; padding: 32px 0 20px; margin-top: 40px; font-style: normal; }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: center; }
.footer__brand img { height: clamp(38px, 4vw, 44px); width: auto; filter: brightness(100%) contrast(110%); }
.footer__addr { font-style: normal; }
.footer__addr a { color: #fff; font-style: normal; }
.footer__social { display: flex; justify-content: end; }
.sns { color: #fff; opacity: 0.9; }
.sns:hover { opacity: 1; }
.sns-icon { width: clamp(28px, 3.5vw, 36px); height: clamp(28px, 3.5vw, 36px); }
.footer__copy { color: #aaa; font-size: 14px; padding-top: 10px; text-align: center; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 16px; font-style: normal; }

/* Reveal on scroll - lighter animation */
.reveal { opacity: 0; transform: translateY(10px); transition: opacity 400ms ease-out, transform 400ms ease-out; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 992px) {
  .content-grid, .hero__grid { grid-template-columns: 1fr; }
  /* Trust section: mobile - same as other sections (vertical stack) */
  #trust .content-grid { grid-template-columns: 1fr; }
  .cards--three { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__social { justify-content: center; }
  .contact__grid { grid-template-columns: 1fr; }
  /* Challenges section - mobile: stack vertically */
  .challenges-grid {
    grid-template-columns: 1fr;
  }
  .challenges-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
  }
  .challenges-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  /* Mobile: remove size restriction on about-test image */
  #about-test .square-padded { 
    max-width: 100%; 
    width: 100%; 
    aspect-ratio: auto; 
    margin: 0; 
  }
  #about-test .square-padded img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  /* Mobile: H2 -> image -> text ordering and visibility */
  .headline--mobile { display: block; margin-bottom: 10px; }
  /* About Test and Symptoms sections: override margin-bottom for headline--mobile */
  #about-test .headline--mobile,
  #symptoms .headline--mobile { margin-bottom: 50px !important; }
  .headline--desktop { display: none; }
  .content-grid__media { order: 2; }
  .content-grid__main { order: 3; }
  /* Mobile: center headings */
  h2, .headline, .headline--mobile { text-align: center !important; }
  /* Mobile: ensure all sections are centered */
  #symptoms h2, #symptoms .headline, #symptoms .headline--mobile,
  #trial h2, #trial .headline, #trial .headline--mobile { 
    text-align: center !important; 
  }
  /* Mobile: ensure hlabel has equal left and right padding */
  #trend .hlabel,
  #challenges .hlabel,
  #about-test .hlabel,
  #symptoms .hlabel,
  #steps .hlabel,
  #benefits .hlabel,
  #cases .hlabel,
  #trust .hlabel,
  #trial .hlabel,
  #faq .hlabel,
  #closing .hlabel {
    padding: 4px 24px 4px 24px !important;
  }
  /* Hero: Mobile - two column becomes single column */
  .hero-two-column {
    grid-template-columns: 1fr;
    gap: 0;
    height: auto;
    min-height: 300px;
  }
  .hero-column {
    min-height: 400px;
    height: 400px;
  }
  /* モバイルでカラムの順序を逆にする：右カラムを上、左カラムを下に */
  .hero-column--left {
    order: 2;
  }
  .hero-column--right {
    order: 1;
    overflow: hidden;
  }
  .hero-image-wrapper {
    min-height: 400px;
    height: 400px;
  }
  .hero-image-wrapper img {
    height: 400px;
    object-fit: cover;
  }
  /* Mobile: Right column image fills entire column */
  .hero-column--right .hero-image-wrapper {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }
  .hero-column--right .hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-text-box {
    padding: 12px 16px;
    transform: translateX(-50%) scale(1);
    max-width: 85%;
    top: 15%;
  }
  .hero-text-main {
    font-size: 0.95rem;
    line-height: 1.1;
    margin: 0 0 4px 0;
  }
  .hero-text-sub {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
  }
  .hero-buttons {
    transform: translateX(-50%) scale(1);
    max-width: 50%;
    width: 50%;
    margin-bottom: 20px;
    top: 50%;
  }
  .btn--hero-custom {
    min-width: auto;
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
  }
  .hero-text-overlay {
    width: 100%;
    max-width: 100%;
    padding: 0 clamp(20px, 4vw, 40px);
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .hero-text-1 {
    font-size: clamp(10pt, 2.5vw, 16pt);
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.8;
  }
  .hero-text-2 {
    font-size: clamp(18pt, 4.5vw, 32pt);
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.7;
    letter-spacing: -0.02em;
  }
  .hero-text-3 {
    font-size: clamp(10pt, 2.5vw, 16pt);
    font-weight: 700;
    line-height: 1.8;
  }
}

/* Desktop: enforce text-left, image-right, shrink images; keep width within container */
@media (min-width: 992px) {
  body { font-size: 20px; }
  .content-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .content-grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .content-grid__main { order: 1; min-width: 0; }
  .content-grid__media { order: 2; min-width: 0; overflow: hidden; }
  .content-grid__media img { max-width: 100%; width: 100%; height: auto; margin: 0; }
  /* Challenges section - same as other sections on desktop */
  .challenges-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  /* Desktop: challenges section - slightly larger than body font size */
  #challenges .challenges-list li { font-size: 22px !important; }
  /* Desktop: challenges-benefits section - more padding */
  .challenges-benefits {
    margin-top: clamp(60px, 8vw, 100px) !important;
    padding: clamp(50px, 7vw, 80px) clamp(80px, 10vw, 120px) !important;
  }
  /* Desktop: About Test section - add margin-bottom to content */
  #about-test .content-grid__main { margin-bottom: 60px; }
  /* Slightly reduce H2 headline size on desktop - responsive scaling */
  .headline { font-size: clamp(24px, 3.5vw, 44px); padding-left: 0; padding-top: 22px !important; text-align: left; line-height: 2; font-weight: 700; }
  /* Desktop: ensure headline--mobile keeps original font size (same as challenges list) */
  .headline--mobile { font-size: clamp(22px, 4.5vw, 44px) !important; }
  /* Desktop: reduce H2 size by one step */
  h2 { font-size: clamp(16px, 1.3vw + 8px, 24px); font-weight: 500; padding-left: 0; text-align: left; line-height: 3; }
  h2.headline { font-size: clamp(22px, 1.3vw + 10px, 28px) !important; padding-left: 0 !important; padding-top: 22px !important; margin-left: 0 !important; text-align: left !important; line-height: 2 !important; font-weight: 700 !important; }
  /* Desktop: Trend, Trust, Trial sections - add margin-bottom to headline (override all margin settings) - must be after h2.headline definition */
  #trend h2.headline.headline--desktop,
  #trust h2.headline.headline--desktop,
  #trial h2.headline.headline--desktop { 
    margin: 0 0 60px 0 !important; 
  }
  /* Desktop: H2 label (orange) size - slightly smaller than before, with adjusted padding to maintain overall size */
  .hlabel { font-size: clamp(32px, 3.5vw, 48px) !important; font-weight: 700 !important; letter-spacing: 0.08em; line-height: 1.3 !important; margin-top: -22px !important; }
  /* Desktop: Specific sections: hlabel with black 75% background, white text, no border, rounded corners */
  /* Desktop: padding adjusted to font size - larger font gets more padding, increased to maintain overall size */
  #trend .hlabel,
  #challenges .hlabel,
  #benefits .hlabel,
  #cases .hlabel,
  #trust .hlabel,
  #faq .hlabel,
  #closing .hlabel {
    background: rgba(0, 0, 0, 0.75) !important;
    color: #ffffff !important;
    border-bottom: none !important;
    padding: 4px 36px 4px 36px !important;
    border-radius: 4px !important;
  }
  /* Desktop: About Test, Symptoms, Steps, Trial sections - smaller font, adjusted padding */
  #about-test .hlabel,
  #symptoms .hlabel,
  #steps .hlabel,
  #trial .hlabel {
    background: rgba(0, 0, 0, 0.75) !important;
    color: #ffffff !important;
    border-bottom: none !important;
    padding: 4px 32px 4px 32px !important;
    border-radius: 4px !important;
  }
  /* Desktop: About Test section - no letter-spacing, smaller font */
  #about-test .hlabel { background: rgba(0, 0, 0, 0.75) !important; color: #ffffff !important; border-bottom: none !important; border-radius: 4px !important; letter-spacing: 0 !important; font-size: clamp(28px, 3vw, 44px) !important; font-weight: 700 !important; line-height: 1.3 !important; margin-top: -22px !important; padding: 4px 32px 4px 32px !important; }
  /* Desktop: Symptoms section - no letter-spacing, smaller font (same as about-test) */
  #symptoms .hlabel { background: rgba(0, 0, 0, 0.75) !important; color: #ffffff !important; border-bottom: none !important; border-radius: 4px !important; letter-spacing: 0 !important; font-size: clamp(28px, 3vw, 44px) !important; margin-left: 0 !important; margin-top: -22px !important; line-height: 1.6 !important; padding: 4px 32px 4px 32px !important; }
  /* Desktop: Trial section - ensure left align */
  #trial .hlabel { background: rgba(0, 0, 0, 0.75) !important; color: #ffffff !important; border-bottom: none !important; border-radius: 4px !important; margin-left: 0 !important; margin-top: -22px !important; line-height: 1.6 !important; padding: 4px 32px 4px 32px !important; }
  /* Desktop: Specific sections: headline subtext (after br) in orange with underline */
  #trend h2.headline,
  #challenges h2.headline,
  #about-test h2.headline,
  #symptoms h2.headline,
  #steps h2.headline,
  #benefits h2.headline,
  #cases h2.headline,
  #trust h2.headline,
  #faq h2.headline,
  #closing h2.headline {
    color: var(--accent) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--accent) !important;
    text-underline-offset: 4px !important;
    padding: 0 !important;
  }
  /* Trial section: override for no underline by default */
  #trial h2.headline {
    color: #ffffff !important;
    text-decoration: none !important;
  }
  /* Desktop: Trial section: subtext in white */
  #trial h2.headline {
    color: #ffffff !important;
    text-decoration: none !important;
  }
  /* Desktop: Trial section: underline only for specific text */
  #trial h2.headline .trial-underline {
    text-decoration: underline !important;
    text-decoration-color: #ffffff !important;
    text-underline-offset: 4px !important;
  }
  /* Desktop: About Test and Symptoms sections: subtext in white and bold */
  #about-test h2.headline,
  #symptoms h2.headline {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-decoration-color: #ffffff !important;
    font-weight: 800 !important;
  }
  /* Desktop: Add margin-top to br tag to create space before orange subtext */
  #trend h2.headline br,
  #challenges h2.headline br,
  #about-test h2.headline br,
  #symptoms h2.headline br,
  #steps h2.headline br,
  #benefits h2.headline br,
  #cases h2.headline br,
  #trust h2.headline br,
  #trial h2.headline br,
  #faq h2.headline br,
  #closing h2.headline br {
    display: block !important;
    margin-top: 100px !important;
  }
  /* Desktop: Symptoms and Trial sections - ensure left align and no padding */
  #symptoms h2, #symptoms .headline, #symptoms .headline--desktop,
  #trial h2, #trial .headline, #trial .headline--desktop {
    text-align: left !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
  /* Desktop: About Test and Symptoms sections - add margin-bottom to headlines */
  #about-test .headline--desktop,
  #symptoms .headline--desktop { margin-bottom: 50px !important; }
  /* Desktop: Trial section button - left align, 60% width */
  #trial .btn { width: 60%; margin: 32px 0 0; text-align: center; }
  #symptoms .content-grid__main, #trial .content-grid__main {
    padding-left: 0 !important;
  }
  /* Desktop: show only desktop headline variant */
  .headline--mobile { display: none; }
  .headline--desktop { display: block; }
  /* Challenges section: keep headline--mobile visible on desktop */
  #challenges .headline--mobile { display: block !important; }
  /* Desktop: reverse layout for trend, about-test sections (image left, text right) */
  #trend .content-grid__main, #about-test .content-grid__main { order: 2; }
  #trend .content-grid__media, #about-test .content-grid__media { order: 1; }
  /* Trust: text left, image right - adjust grid columns */
  #trust .content-grid__main { order: 1; }
  #trust .content-grid__media { order: 2; }
  /* Trial section: image left (1.1fr), text right (0.9fr) - original layout */
  #trial .content-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(40px, 6vw, 60px); }
  #trial .content-grid__media { order: 1; }
  #trial .content-grid__main { order: 2; }
  /* Desktop: About Test section - same ratio as other sections */
  #about-test .content-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  /* Desktop: remove size restriction on about-test image */
  #about-test .square-padded { 
    max-width: 100%; 
    width: 100%; 
    aspect-ratio: auto; 
    margin: 0; 
  }
  #about-test .square-padded img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  /* Desktop: add padding to hero right column */
  .hero-column--right {
    padding: 0 clamp(30px, 4vw, 60px);
  }
}

@media (max-width: 768px) {
  .site-nav { position: fixed; inset: 60px 16px auto 16px; background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); border: 1px solid var(--gray-3); border-radius: 12px; box-shadow: var(--shadow-2); padding: 8px; display: none; }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a { display: block; padding: 14px 10px; }
  .nav-toggle { display: inline-block; }
  .brand__logo { height: clamp(48px, 6vw, 64px); }
  .cards--two, .cards--three { grid-template-columns: 1fr; }
  /* Mobile gutters: add more side spacing */
  .container { width: 100%; max-width: var(--container); padding: 0 clamp(20px, 4vw, 40px); }
  /* Mobile: heading line-height */
  h1, h2 { line-height: 1.6; }
}

/* Hover polish */
img { max-width: 100%; height: auto; transition: transform 240ms ease, box-shadow 240ms ease; }
img:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }
