:root {
  color-scheme: light;
  --ink: #10243f;
  --muted: #5d6d80;
  --line: #dfe7ef;
  --paper: #ffffff;
  --soft: #f3f8fc;
  --soft-blue: #eaf5ff;
  --blue: #1478e8;
  --blue-dark: #0755aa;
  --teal: #12b8a6;
  --green: #16a36b;
  --amber: #f3a51c;
  --cta-red: #ff3f2f;
  --cta-orange: #ffb11f;
  --action-cyan: #00a7c8;
  --action-blue: #2563eb;
  --accent-yellow: #f2cf5b;
  --action-lime: #d9f99d;
  --shadow: 0 18px 42px rgba(16, 36, 63, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Yu Gothic UI", sans-serif;
  line-height: 1.75;
  overflow-x: hidden;
}

[hidden] {
  display: none !important;
}

a,
button,
input,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 12px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(16, 36, 63, 0.06);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--blue), var(--teal));
  border-radius: 8px;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--blue);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 8px;
  border: 0;
  font-weight: 800;
}

.nav-cta {
  padding: 0 20px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--cta-red), var(--cta-orange));
  box-shadow: 0 12px 28px rgba(255, 89, 48, 0.28);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button.primary {
  padding: 0 20px;
  color: var(--paper);
  background: linear-gradient(135deg, var(--cta-red), var(--cta-orange));
  box-shadow: 0 14px 30px rgba(255, 89, 48, 0.26);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.button.secondary {
  padding: 0 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--action-cyan), var(--action-blue));
  border: 1px solid rgba(0, 167, 200, 0.18);
  box-shadow: 0 14px 30px rgba(0, 117, 174, 0.18);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.nav-cta:hover,
.button.primary:hover,
.button.secondary:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
}

.button:disabled {
  cursor: progress;
  opacity: 0.72;
}

.hero {
  --hero-x: clamp(24px, 5vw, 72px);
  --hero-top: clamp(30px, 3.8vw, 50px);
  --hero-bottom: clamp(28px, 3.8vw, 46px);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(470px, 0.9fr) minmax(520px, 1.1fr);
  gap: clamp(26px, 3.8vw, 54px);
  align-items: center;
  min-height: min(720px, calc(100vh - 66px));
  padding: var(--hero-top) var(--hero-x) var(--hero-bottom);
  background:
    linear-gradient(118deg, #dff6ff 0 10%, transparent 10% 100%),
    linear-gradient(294deg, transparent 0 89%, #28b6ea 89% 100%),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 100%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: hero-copy-in 680ms ease-out both;
}

.hero-speech {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 46px;
  margin: 0 0 16px;
  padding: 0 24px;
  color: #ffffff;
  background: #101820;
  border-radius: 999px 999px 999px 18px;
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 900;
  line-height: 1;
  transform: rotate(-2deg);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  max-width: 660px;
  margin: 0;
  color: #121212;
  font-size: clamp(36px, 3.7vw, 54px);
  font-weight: 900;
  line-height: 1.08;
  transform: none;
}

.hero-lead {
  width: min(100%, 650px);
  margin: 16px 0 0;
  color: #27384e;
  font-size: clamp(15px, 1.18vw, 18px);
  font-weight: 800;
  line-height: 1.7;
}

.hero-story {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(100%, 650px);
  margin-top: 18px;
}

.hero-story span {
  display: grid;
  gap: 3px;
  min-height: 72px;
  padding: 11px 12px;
  color: #21324a;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(20, 120, 232, 0.14);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 36, 63, 0.08);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.hero-story b {
  color: var(--blue);
  font-size: 12px;
  line-height: 1;
}

h1 span {
  position: relative;
  display: inline;
  z-index: 0;
  padding: 0 6px 0 0;
}

h1 span + span {
  display: block;
  width: fit-content;
  margin-top: 2px;
}

h1 span::after {
  content: "";
  position: absolute;
  right: -10px;
  bottom: 4px;
  left: 6px;
  z-index: -1;
  height: 12px;
  background: var(--accent-yellow);
  transform: skewX(-12deg);
}

h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.28;
}

h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.38;
}

.lead {
  max-width: 660px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.hero-main-cta {
  gap: 18px;
  min-height: 66px;
  padding: 0 34px 0 14px;
  background: linear-gradient(135deg, var(--cta-red), var(--cta-orange));
  border-radius: 999px;
  box-shadow: 0 18px 34px rgba(255, 89, 48, 0.34);
  font-size: clamp(17px, 1.4vw, 20px);
}

.hero-main-cta span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: #bd110a;
  border-radius: 50%;
  font-size: 18px;
  transform: rotate(-10deg);
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 8px;
  width: min(100%, 650px);
  margin-top: 16px;
}

.hero-proof span {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 84px;
  padding: 12px 10px 11px;
  color: #172337;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 255, 0.9)),
    linear-gradient(135deg, rgba(18, 128, 197, 0.08), rgba(255, 180, 45, 0.1));
  border: 1px solid rgba(18, 128, 197, 0.16);
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(15, 45, 72, 0.1);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.hero-proof span::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1688c8, #f2c85b);
}

.hero-proof span::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 76px;
  height: 76px;
  background: radial-gradient(circle, rgba(22, 136, 200, 0.13), transparent 68%);
}

.hero-proof strong,
.hero-proof b {
  display: block;
  line-height: 1.14;
  white-space: nowrap;
}

.hero-proof strong {
  margin-right: 0;
  color: #5b6674;
  font-size: 13px;
  font-weight: 900;
}

.hero-proof b {
  color: #172337;
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 900;
}

.hero-proof em {
  font-style: normal;
  color: #1280c5;
  font-size: clamp(28px, 2.9vw, 40px);
  line-height: 1;
}

.hero-line {
  width: min(100%, 650px);
  margin: 16px 0 0;
  padding: 10px 14px;
  color: #161616;
  background: #ffffff;
  border-top: 5px solid #161616;
  border-bottom: 5px solid #161616;
  font-size: clamp(15px, 1.18vw, 17px);
  font-weight: 900;
  text-align: center;
}

.trust-list,
.contact-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.trust-list li,
.contact-trust li {
  padding: 8px 12px;
  color: var(--blue-dark);
  background: #edf6ff;
  border: 1px solid #cfe4fb;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.trust-list li:first-child,
.contact-trust li:first-child {
  color: #875400;
  background: #fff6df;
  border-color: #f8ddb0;
}

.hero-panel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% + var(--hero-x));
  min-height: 540px;
  margin-left: 0;
  margin-right: calc(var(--hero-x) * -1);
  overflow: hidden;
  background:
    radial-gradient(circle at 68% 24%, rgba(20, 120, 232, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(225, 245, 252, 0.82));
  border: 1px solid rgba(20, 120, 232, 0.14);
  border-radius: 10px 0 0 10px;
  box-shadow: 0 22px 48px rgba(16, 36, 63, 0.12);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: min(42%, 320px);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.96) 0%,
    rgba(255, 255, 255, 0.82) 46%,
    rgba(255, 255, 255, 0.42) 76%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
}

.hero-panel img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  min-height: 540px;
  object-fit: cover;
  object-position: 68% center;
  border-radius: 0;
  filter: none;
  mask-image: none;
  transform: scale(1.08);
}

.section,
.logo-band {
  padding: clamp(42px, 6vw, 72px) clamp(20px, 5vw, 72px);
}

.section-cta {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding: 16px;
  background:
    linear-gradient(135deg, rgba(255, 236, 188, 0.82), rgba(224, 242, 254, 0.78)),
    radial-gradient(circle at 22% 50%, rgba(255, 96, 54, 0.18), transparent 32%);
  border: 1px solid rgba(255, 138, 32, 0.26);
  border-radius: 10px;
  box-shadow: 0 14px 30px rgba(16, 36, 63, 0.08);
}

.section-cta.full {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.section-cta .button {
  position: relative;
  min-width: min(100%, 340px);
  min-height: 52px;
  padding-inline: 24px 46px;
  font-size: 15px;
}

.section-cta .button::after {
  content: "→";
  position: absolute;
  right: 22px;
  font-size: 20px;
  line-height: 1;
}

.section-cta .button.primary {
  box-shadow:
    0 16px 34px rgba(255, 89, 48, 0.3),
    0 0 0 6px rgba(255, 177, 31, 0.16);
}

.section-heading {
  max-width: 900px;
}

.section-heading p,
.diagnosis-copy p,
.contact-copy p,
.proof-note {
  color: var(--muted);
  font-size: 17px;
}

.compact {
  max-width: 760px;
}

.logo-band {
  background: var(--paper);
  border-block: 1px solid var(--line);
  text-align: center;
}

.logo-band h2 {
  max-width: 880px;
  margin: 0 auto;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  padding: 10px 0;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: logo-scroll 24s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-tile {
  display: grid;
  min-height: 92px;
  width: 230px;
  align-items: center;
  justify-items: center;
  padding: 20px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(16, 36, 63, 0.08);
}

.logo-tile img {
  display: block;
  width: 100%;
  max-width: 170px;
  height: 56px;
  object-fit: contain;
}

.proof-note {
  max-width: 900px;
  margin: 20px auto 0;
  font-size: 14px;
}

.reassurance-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.reassurance-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  max-width: 1120px;
  margin: 24px auto 0;
  overflow: hidden;
  background: var(--paper);
  border: 8px solid #d8eef7;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(16, 36, 63, 0.1);
}

.reassurance-item {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 14px;
  min-height: 292px;
  padding: 28px 26px 26px;
  text-align: center;
}

.reassurance-item + .reassurance-item {
  border-left: 1px dashed #86c9eb;
}

.reassurance-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  margin-bottom: 4px;
  color: var(--blue-dark);
  background: linear-gradient(180deg, #f4fbff 0%, #e5f3ff 100%);
  border: 1px solid #cde7f7;
  border-radius: 8px;
}

.years-number {
  position: relative;
  z-index: 1;
  color: var(--blue-dark);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.years-label {
  position: relative;
  z-index: 1;
  color: #637f9b;
  font-size: 10px;
  font-weight: 900;
}

.years-card {
  position: absolute;
  left: 26px;
  top: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 68px;
  height: 82px;
  background: #ffffff;
  border: 2px solid #c4deef;
  border-radius: 8px;
  box-shadow: 0 10px 20px rgba(16, 36, 63, 0.14);
}

.years-card::before,
.years-card::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  height: 3px;
  background: #d9e9f3;
  border-radius: 999px;
}

.years-card::before {
  bottom: 17px;
}

.years-card::after {
  bottom: 10px;
}

.years-stack {
  position: absolute;
  right: 18px;
  bottom: 22px;
  width: 56px;
  height: 52px;
  background:
    linear-gradient(90deg, #7aa4c4 0 18px, transparent 18px 20px, #2d75ad 20px 38px, transparent 38px 40px, var(--blue) 40px 56px);
  border-radius: 6px 6px 3px 3px;
}

.years-stack::before {
  content: "";
  position: absolute;
  right: 2px;
  bottom: 45px;
  width: 46px;
  height: 4px;
  background: var(--green);
  border-radius: 999px;
  transform: rotate(-24deg);
}

.years-stack::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: 53px;
  width: 12px;
  height: 12px;
  border-top: 4px solid var(--green);
  border-right: 4px solid var(--green);
  transform: rotate(24deg);
}

.years-ribbon {
  position: absolute;
  top: 4px;
  right: 2px;
  z-index: 3;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #ffe7a4, #d5a642);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(243, 165, 28, 0.14);
}

.years-ribbon::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 10px;
  width: 11px;
  height: 6px;
  border-bottom: 3px solid #ffffff;
  border-left: 3px solid #ffffff;
  transform: rotate(-45deg);
}

.zero-shield {
  position: absolute;
  inset: 18px 26px 16px;
  background: linear-gradient(180deg, #1d8ee8, #0c579f);
  clip-path: polygon(50% 0, 92% 16%, 84% 72%, 50% 100%, 16% 72%, 8% 16%);
  box-shadow: inset 0 -10px 20px rgba(0, 0, 0, 0.14);
}

.zero-number {
  position: relative;
  z-index: 1;
  color: #ffffff;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.zero-visual::after {
  content: "";
  position: absolute;
  right: 16px;
  bottom: 18px;
  width: 34px;
  height: 34px;
  background: var(--green);
  border: 5px solid #ffffff;
  border-radius: 50%;
}

.cost-yen {
  position: absolute;
  left: 22px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--teal), var(--blue));
  border-radius: 8px;
  font-size: 24px;
  font-weight: 900;
}

.cost-route {
  position: absolute;
  top: 32px;
  right: 20px;
  width: 58px;
  height: 42px;
  border-top: 5px solid var(--blue);
  border-right: 5px solid var(--blue);
  border-radius: 0 20px 0 0;
  transform: rotate(-8deg);
}

.cost-route::after {
  content: "";
  position: absolute;
  right: -9px;
  bottom: -2px;
  width: 16px;
  height: 16px;
  border-right: 5px solid var(--blue);
  border-bottom: 5px solid var(--blue);
  transform: rotate(45deg);
}

.cost-dot {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--amber);
  border-radius: 50%;
}

.cost-dot.one {
  top: 58px;
  left: 32px;
}

.cost-dot.two {
  top: 72px;
  right: 38px;
}

.reassurance-item h3 {
  color: var(--ink);
  font-size: 21px;
}

.reassurance-item p {
  max-width: 260px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.issue-grid,
.voice-grid,
.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.issue-grid article,
.voice-grid article,
.faq-list details {
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 36, 63, 0.08);
}

.issue-grid article {
  border-top: 5px solid var(--blue);
}

.voice-grid article {
  border-top: 5px solid var(--green);
}

.issue-grid span {
  display: block;
  margin-bottom: 16px;
  color: var(--blue);
  font-weight: 900;
}

.issue-grid p,
.voice-grid p:last-child,
.flow span {
  color: var(--muted);
}

.diagnosis-section,
.solution-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.8fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: center;
  background: var(--soft);
  border-block: 1px solid var(--line);
}

.diagnosis-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.diagnosis-list div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 13px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.diagnosis-list strong {
  color: var(--blue-dark);
}

.diagnosis-list span {
  color: var(--muted);
  font-size: 15px;
}

.report-preview,
.section-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.report-preview img,
.section-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.report-preview figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: grid;
  gap: 4px;
  padding: 13px 15px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: 8px;
  backdrop-filter: blur(12px);
}

.report-preview figcaption strong {
  font-size: 16px;
  line-height: 1.35;
}

.report-preview figcaption span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}

.voice-section {
  background: var(--paper);
}

.voice-label {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.solution-layout {
  display: contents;
}

.solution-grid {
  grid-column: 1 / -1;
  margin-top: 10px;
}

.solution-grid div {
  padding: 18px 20px;
  color: var(--blue-dark);
  background: #ffffff;
  border: 1px solid #cfe4fb;
  border-left: 5px solid var(--blue);
  border-radius: 8px;
  font-weight: 800;
}

.flow-section {
  background: var(--paper);
}

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
  counter-reset: flow;
}

.flow li {
  counter-increment: flow;
  position: relative;
  padding: 50px 20px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 36, 63, 0.08);
}

.flow li::before {
  content: counter(flow);
  position: absolute;
  top: 20px;
  left: 22px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--paper);
  background: var(--blue);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.flow strong,
.flow span {
  display: block;
}

.flow span {
  margin-top: 8px;
  font-size: 14px;
}

.faq-section {
  background: var(--soft);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 980px;
  margin-top: 24px;
}

.faq-list details {
  padding: 0;
}

.faq-list summary {
  cursor: pointer;
  padding: 17px 20px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
}

.cta-band {
  margin: clamp(24px, 4vw, 48px);
  padding: clamp(28px, 4vw, 44px);
  background: linear-gradient(180deg, #edf7ff, #ffffff);
  border: 1px solid #cfe4fb;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.78fr);
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 36px rgba(16, 36, 63, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.contact-form label > span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  color: var(--ink);
  background: #f8fbfe;
  border: 1px solid #cad8e6;
  border-radius: 8px;
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input::placeholder {
  color: #9aa8b6;
}

.contact-form input:focus,
.contact-form select:focus {
  background: var(--paper);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 120, 232, 0.14);
}

.contact-form select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--blue) 50%),
    linear-gradient(135deg, var(--blue) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 21px,
    calc(100% - 12px) 21px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.reveal,
.issue-grid article,
.voice-grid article,
.reassurance-item,
.flow li {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 620ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible,
.issue-grid article.is-visible,
.voice-grid article.is-visible,
.reassurance-item.is-visible,
.flow li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

@media (min-width: 1180px) {
  .hero {
    grid-template-columns: minmax(500px, 0.9fr) minmax(600px, 1.1fr);
    padding-right: clamp(36px, 4.2vw, 64px);
  }

  .section,
  .logo-band {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .diagnosis-section,
  .solution-section,
  .contact-section {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.78fr);
  }

  .faq-list {
    max-width: 1120px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .hero,
  .diagnosis-section,
  .solution-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    gap: 26px;
  }

  .hero-copy {
    width: 100%;
    min-height: auto;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(34px, 7vw, 50px);
  }

  .hero-lead {
    width: 100%;
  }

  .hero-story {
    grid-template-columns: 1fr;
    max-width: 620px;
  }

  .hero-panel {
    position: relative;
    inset: auto;
    width: 100%;
    min-height: 380px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 22px;
    border-radius: 10px;
  }

  .hero-panel img {
    height: 380px;
    min-height: 300px;
    object-fit: contain;
    width: 100%;
    max-width: 100%;
    object-position: center;
    transform: none;
  }

  .issue-grid,
  .voice-grid,
  .solution-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .logo-tile {
    width: 188px;
    min-height: 82px;
    padding: 16px 20px;
  }

  .logo-tile img {
    max-width: 142px;
    height: 48px;
  }
}

@media (max-width: 560px) {
  .topbar {
    padding: 12px 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .nav-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
  }

  h1 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .hero-speech {
    min-height: 42px;
    padding: 0 18px;
  }

  .hero-proof {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 14px;
  }

  .hero-story span {
    min-height: auto;
  }

  .hero-proof span {
    width: 100%;
    justify-content: center;
    white-space: normal;
  }

  .hero-proof strong,
  .hero-proof b {
    white-space: normal;
  }

  .hero-proof b {
    font-size: 28px;
  }

  .hero-panel {
    min-height: 320px;
    margin-right: 0;
    border-radius: 10px;
  }

  .hero-panel img {
    height: 320px;
    min-height: 280px;
    object-fit: contain;
    width: 100%;
    max-width: 100%;
    object-position: center;
    transform: none;
  }

  .button {
    width: 100%;
  }

  .diagnosis-list div,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .cta-band {
    margin: 20px;
  }

  .report-preview figcaption {
    right: 12px;
    bottom: 12px;
    left: 12px;
    padding: 12px;
  }

  .reassurance-panel {
    grid-template-columns: 1fr;
  }

  .reassurance-item {
    min-height: auto;
    padding: 28px 22px;
  }

  .reassurance-item + .reassurance-item {
    border-top: 1px dashed #86c9eb;
    border-left: 0;
  }
}

/* Let the hero image fill the first screen, with the copy layered over its left side. */
@media (min-width: 981px) {
  .hero {
    display: block;
    min-height: max(650px, calc(100svh - 66px));
    padding-right: var(--hero-x);
  }

  .hero-copy {
    width: min(100%, 660px);
    min-height: max(555px, calc(100svh - 66px - var(--hero-top) - var(--hero-bottom)));
  }

  .hero-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .hero-panel::before {
    width: 65%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.94) 45%, rgba(255, 255, 255, 0.5) 78%, rgba(255, 255, 255, 0) 100%);
  }

  .hero-panel img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    transform: none;
  }
}

@media (max-width: 980px) {
  .hero {
    display: flex;
    align-items: center;
    min-height: max(720px, calc(100svh - 66px));
  }

  .hero-copy {
    min-height: 0;
  }

  .hero-panel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .hero-panel::before {
    width: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75) 68%, rgba(255, 255, 255, 0.42));
  }

  .hero-panel img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: 68% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Photo-led reassurance cards and a compact, verifiable hero proof point. */
.hero-proof {
  display: flex;
  width: auto;
}
.hero-proof span {
  flex-direction: row;
  gap: 12px;
  min-height: 52px;
  padding: 8px 18px;
}
.hero-proof b {
  display: flex;
  align-items: baseline;
  gap: 3px;
  font-size: 19px;
}
.hero-proof em {
  font-size: 30px;
}
.hero-story span {
  align-content: center;
  font-size: 13px;
  line-height: 1.5;
}
.reassurance-photo {
  width: 100%;
  height: 150px;
  margin-bottom: 2px;
  overflow: hidden;
  border-radius: 8px;
  background: #e9f2f8;
}
.reassurance-photo-empty {
  background: transparent;
}
.reassurance-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reassurance-item:first-child .reassurance-photo img {
  object-position: center;
}
.reassurance-item:nth-child(2) .reassurance-photo img {
  object-position: center;
}
.reassurance-item:nth-child(3) .reassurance-photo img {
  object-position: center;
}
.form-privacy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}
.form-privacy a,
.site-footer a {
  color: var(--blue-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: #edf5fa;
  border-top: 1px solid var(--line);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

@media (min-width: 981px) {
  .hero-copy { width: min(100%, 760px); }
  .hero h1 { max-width: 760px; font-size: clamp(42px, 3.35vw, 48px); }
}

.site-footer .photo-note { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }

/* Keep the diagnosis and support sections balanced after removing their images. */
.diagnosis-section,
.solution-section {
  display: block;
}
.diagnosis-copy {
  max-width: 1120px;
  margin: 0 auto;
}
.diagnosis-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.diagnosis-list div {
  display: block;
}
.diagnosis-list strong {
  display: block;
  margin-bottom: 6px;
}
.solution-layout {
  display: block;
}
.solution-section .section-heading {
  max-width: 1000px;
}
.voice-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: stretch;
  margin-top: 24px;
}
.voice-layout .voice-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
}
.voice-layout .voice-grid article {
  padding: 18px 22px;
}
.voice-layout .voice-grid h3 {
  font-size: 19px;
}
.voice-layout .voice-grid p:last-child {
  margin-bottom: 0;
  line-height: 1.55;
}
.voice-photo {
  min-height: 450px;
}
.voice-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 980px) {
  .diagnosis-list,
  .voice-layout {
    grid-template-columns: 1fr;
  }
  .voice-photo {
    min-height: 340px;
  }
}

.trial-section {
  background: #f4f8fc;
}

.trial-ad,
.trial-terms {
  max-width: 1500px;
  margin-inline: auto;
}

.trial-ad {
  display: grid;
  grid-template-columns: minmax(350px, 0.85fr) minmax(0, 1.15fr);
  overflow: hidden;
  color: #fff;
  background: #10243f;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 22px 46px rgba(16, 36, 63, 0.18);
}

.trial-offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 390px;
  padding: clamp(32px, 4vw, 62px);
  background: linear-gradient(135deg, #1463b8, #0b8fad);
}

.trial-offer span {
  font-size: clamp(17px, 1.5vw, 22px);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.trial-offer strong,
.trial-offer b {
  display: block;
  line-height: 1.05;
  letter-spacing: -0.06em;
  white-space: nowrap;
}

.trial-offer strong { margin-top: 18px; font-size: clamp(68px, 7vw, 112px); }
.trial-offer b { color: #ffe17c; font-size: clamp(94px, 10vw, 160px); }

.trial-message {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 4vw, 62px);
}

.trial-kicker {
  margin: 0 0 12px;
  color: #ffe17c;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.trial-message h2 {
  margin: 0;
  font-size: clamp(27px, 2.65vw, 43px);
  line-height: 1.4;
}

.trial-message > p:not(.trial-kicker) {
  max-width: 660px;
  margin: 18px 0 28px;
  color: #dbe9f5;
  font-size: clamp(16px, 1.3vw, 19px);
}

.trial-message .button { min-width: min(100%, 340px); }

.trial-terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border: 1px solid #d3e2ef;
  border-top: 0;
  border-radius: 0 0 22px 22px;
}
.trial-terms > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 30px;
}
.trial-terms > div + div { border-left: 1px solid #d3e2ef; }

.trial-terms strong { color: #415773; font-size: 16px; }
.trial-terms b { color: #1269b3; font-size: 28px; line-height: 1.2; white-space: nowrap; }
.trial-note { max-width: 1500px; margin: 12px auto 0; color: var(--muted); font-size: 13px; }

@media (max-width: 980px) {
  .trial-ad,
  .trial-terms { grid-template-columns: 1fr; }
  .trial-offer { min-height: 0; }
  .trial-terms > div + div { border-left: 0; border-top: 1px solid #d3e2ef; }
}

/* The one-month offer remains part of the page, with no floating promotion. */
.hero h1 span::after { display: none; }
.hero h1 span:last-child { color: #d94e1e; }
.hero-speech { font-size: clamp(15px, 1.35vw, 19px); }
.hero-story { margin-top: 16px; }
.hero-free {
  display: flex;
  align-items: baseline;
  gap: 10px;
  width: fit-content;
  margin: 18px 0 0;
  padding: 7px 14px;
  color: #10243f;
  background: rgba(255, 255, 255, 0.94);
  border-left: 7px solid #e45b20;
  box-shadow: 0 8px 20px rgba(16, 36, 63, 0.1);
  font-weight: 900;
}
.hero-free strong { font-size: clamp(27px, 3vw, 42px); line-height: 1.1; }
.hero-free b { color: #d94e1e; font-size: clamp(36px, 4vw, 56px); line-height: 1.1; }
.hero-free span { max-width: 130px; font-size: 13px; line-height: 1.3; }
.hero-actions { margin-top: 16px; }
.hero-main-cta { min-height: 56px; padding-inline: 30px; border-radius: 10px; }
.cta-reassurance { margin: 10px 0 0; color: #324963; font-size: 13px; font-weight: 800; }
.trial-message .cta-reassurance { color: #dbe9f5; }

.hero-product {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 5vw, 80px);
  bottom: 38px;
  width: min(30vw, 390px);
  padding: 12px;
  color: #10243f;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #c9dbe9;
  border-radius: 14px;
  box-shadow: 0 20px 44px rgba(16, 36, 63, 0.28);
  backdrop-filter: blur(8px);
}
.hero-product-head { display: flex; align-items: center; gap: 5px; padding: 4px 3px 9px; font-size: 13px; font-weight: 900; }
.hero-product-head span { margin-right: auto; }
.hero-product-head i { width: 7px; height: 7px; background: #6fb4d8; border-radius: 50%; }
.hero-product-row { display: flex; gap: 10px; align-items: center; padding: 10px 9px; border-top: 1px solid #e3edf4; font-size: 12px; }
.hero-product-row strong { flex: 0 0 90px; color: #1269b3; }
.hero-product-row span { color: #415773; }

.offer-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 18px clamp(20px, 5vw, 72px);
  background: #10243f;
  color: #fff;
  text-align: center;
}
.offer-strip strong { font-size: clamp(16px, 1.5vw, 22px); }
.offer-strip strong + strong { border-left: 1px solid rgba(255, 255, 255, 0.25); }
.offer-strip span { margin-left: 8px; color: #ffd581; font-size: 1.2em; }

.section-cta { flex-direction: column; align-items: center; gap: 6px; }
.section-cta::after { content: "開発費0円・途中解約OK・PMが同席"; color: #324963; font-size: 13px; font-weight: 800; }

.trial-journey {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  max-width: 1500px;
  margin: 0 auto;
  padding: 28px 18px;
  background: #e7f3fb;
}
.trial-journey > div { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; }
.trial-journey > div + div::before { content: "→"; position: absolute; left: -12px; top: 19px; color: #1478e8; font-size: 27px; font-weight: 900; }
.trial-journey span { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: #1478e8; border-radius: 50%; font-size: 13px; font-weight: 900; }
.trial-journey strong { font-size: 19px; }
.trial-journey small { color: #536a81; font-size: 13px; font-weight: 700; }
.trial-terms { border-radius: 0; }
.trial-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 1500px; margin: 18px auto 0; }
.trial-details > div { padding: 20px 24px; background: #fff; border: 1px solid #d3e2ef; border-radius: 12px; }
.trial-details h3 { color: #1269b3; font-size: 19px; }
.trial-details p { margin: 8px 0 0; color: #415773; font-size: 15px; }

@media (max-width: 980px) {
  .hero-product { right: 20px; bottom: 18px; width: min(40vw, 350px); }
  .trial-journey { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .trial-journey > div::before { display: none; }
}
@media (max-width: 560px) {
  .hero-product { display: none; }
  .hero-free { flex-wrap: wrap; }
  .offer-strip { grid-template-columns: 1fr; gap: 6px; }
  .offer-strip strong + strong { border-left: 0; }
  .trial-details { grid-template-columns: 1fr; }
}
