:root {
  --midnight: #06101f;
  --night: #0a1a34;
  --night-2: #102c55;
  --ink: #101a2b;
  --muted: #63748d;
  --paper: #f7f8fb;
  --white: #ffffff;
  --line: #06c755;
  --line-2: #00a94a;
  --gold: #f3c65f;
  --gold-2: #fff0b8;
  --blue-soft: #e9f2ff;
  --border: #d9e4f2;
  --glass: rgba(10, 30, 61, 0.68);
  --shadow-soft: 0 20px 50px rgba(8, 24, 48, 0.12);
  --shadow-dark: 0 26px 70px rgba(0, 0, 0, 0.28);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "IBM Plex Sans JP", sans-serif;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.mobile-only {
  display: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  padding: clamp(10px, 1.1vw, 18px) 0 0;
  color: var(--white);
  pointer-events: none;
}

.header-shell {
  display: grid;
  grid-template-columns: minmax(390px, 0.92fr) minmax(300px, 0.64fr) minmax(170px, 0.34fr) minmax(280px, auto);
  gap: clamp(18px, 1.6vw, 28px);
  align-items: center;
  justify-content: center;
  width: calc(100% - 64px);
  min-height: 132px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
  backdrop-filter: none;
}

.header-brand {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-width: 0;
}

.header-emblem {
  display: block;
  width: 100px;
  height: 132px;
  background: url("./assets/header-emblem-transparent.png") center / contain no-repeat;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.34));
}

.header-brand-name,
.header-brand-note {
  display: block;
}

.header-brand-copy {
  min-width: 0;
}

.header-brand-name {
  color: var(--white);
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(38px, 2.8vw, 50px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.03em;
  white-space: nowrap;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.42);
}

.header-brand-note {
  margin-top: 12px;
  color: var(--gold);
  font-family: "Shippori Mincho", "Zen Old Mincho", serif;
  font-size: clamp(17px, 1.2vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.header-nav {
  display: flex;
  justify-content: center;
  gap: clamp(32px, 2.4vw, 46px);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(19px, 1.35vw, 23px);
  font-weight: 700;
}

.header-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0;
  border-radius: 0;
  white-space: nowrap;
  transition: color 0.18s ease;
}

.header-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.6);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

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

.header-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-status {
  position: relative;
  display: grid;
  gap: 12px;
  align-content: center;
  min-height: 76px;
  padding-left: 26px;
  border-left: 1px solid rgba(214, 228, 255, 0.24);
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  isolation: isolate;
}

.header-status::before {
  position: absolute;
  inset: 8px -14px 8px 12px;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle at 72% 50%, rgba(6, 199, 85, 0.22), transparent 64%);
  content: "";
  opacity: 0.78;
  animation: liveStatusHalo 2.4s ease-in-out infinite;
}

.header-status span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(16px, 1.15vw, 20px);
  font-weight: 500;
  line-height: 1.2;
}

.header-status i {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 14px rgba(6, 199, 85, 0.9);
  animation: liveStatusDot 1.35s ease-in-out infinite;
}

.header-status i::after {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(6, 199, 85, 0.6);
  border-radius: 50%;
  content: "";
  animation: liveStatusRing 1.35s ease-out infinite;
}

.header-status strong {
  position: relative;
  display: block;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(18px, 1.35vw, 23px);
  font-weight: 500;
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(6, 199, 85, 0.34);
  animation: liveStatusText 2s ease-in-out infinite;
}

.header-status strong::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(6, 199, 85, 0.9), transparent);
  content: "";
  transform-origin: center;
  animation: liveStatusUnderline 1.65s ease-in-out infinite;
}

.header-status em {
  display: inline-block;
  color: var(--line);
  font-style: normal;
  font-size: 1.22em;
  font-weight: 900;
  text-shadow: 0 0 18px rgba(6, 199, 85, 0.76);
  animation: liveStatusNumber 1.35s ease-in-out infinite;
}

.mobile-hero-status {
  display: none;
}

.header-cta::after {
  display: block;
  width: 9px;
  height: 9px;
  border-top: 2px solid rgba(255, 255, 255, 0.86);
  border-right: 2px solid rgba(255, 255, 255, 0.86);
  content: "";
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.header-cta-mobile-text {
  display: none;
}

.header-cta {
  min-height: 68px;
  padding: 0 24px;
  border: 1px solid rgba(157, 255, 196, 0.26);
  border-radius: var(--radius);
  font-size: clamp(18px, 1.35vw, 22px);
  white-space: nowrap;
  box-shadow: 0 18px 44px rgba(6, 199, 85, 0.32);
}

.button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.38) 45%, transparent 58%);
  transform: translateX(-130%);
  animation: ctaSheen 3.8s ease-in-out infinite;
  pointer-events: none;
}

.header-cta,
.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(180deg, var(--line), var(--line-2));
  font-weight: 700;
  box-shadow: 0 14px 34px rgba(6, 199, 85, 0.28);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.button {
  min-height: 70px;
  padding: 0 34px;
  font-size: clamp(18px, 2.1vw, 23px);
  line-height: 1.25;
  text-align: center;
}

.button-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.button-call {
  border: 1px solid rgba(255, 240, 184, 0.76);
  color: #182238;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  box-shadow: 0 16px 36px rgba(243, 198, 95, 0.34);
}

.button-call::after {
  background: linear-gradient(110deg, transparent 0 34%, rgba(255, 255, 255, 0.52) 45%, transparent 58%);
}

.button-call:hover {
  box-shadow: 0 20px 44px rgba(243, 198, 95, 0.42);
}

.header-cta {
  min-height: 68px;
  padding: 0 24px;
  border-radius: var(--radius);
  font-size: clamp(18px, 1.35vw, 22px);
  box-shadow: 0 18px 44px rgba(6, 199, 85, 0.32);
}

.header-cta .line-badge {
  min-width: 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  font-size: 10px;
}

.button:hover,
.header-cta:hover,
.mini-line:hover {
  transform: translateY(-2px);
  filter: saturate(1.08);
  box-shadow: 0 20px 42px rgba(6, 199, 85, 0.34);
}

.line-badge {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  min-width: 54px;
  height: 30px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--line-2);
  background: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.hero {
  position: relative;
  min-height: 780px;
  overflow: hidden;
  color: var(--white);
  background: var(--midnight);
}

.hero-bg,
.night-sky {
  position: absolute;
  inset: 0;
}

.hero-bg picture,
.hero-bg img {
  width: 100%;
  height: 100%;
}

.hero-bg picture {
  display: block;
}

.hero-bg img {
  object-fit: cover;
  object-position: 64% center;
}

.night-sky {
  background:
    radial-gradient(circle at 8% 36%, rgba(243, 198, 95, 0.22), transparent 16%),
    radial-gradient(circle at 22% 21%, rgba(243, 198, 95, 0.12), transparent 18%),
    radial-gradient(circle at 72% 35%, rgba(39, 117, 200, 0.1), transparent 28%),
    linear-gradient(90deg, rgba(5, 13, 29, 0.97) 0%, rgba(5, 13, 29, 0.91) 42%, rgba(5, 13, 29, 0.44) 72%, rgba(5, 13, 29, 0.72) 100%);
}

.night-sky::before,
.night-sky::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.night-sky::before {
  opacity: 0.56;
  background-image:
    radial-gradient(circle at 8% 18%, #ffffff 0 1px, transparent 2px),
    radial-gradient(circle at 32% 22%, #ffffff 0 1px, transparent 2px),
    radial-gradient(circle at 68% 16%, #ffffff 0 1px, transparent 2px),
    radial-gradient(circle at 88% 38%, #ffffff 0 1px, transparent 2px);
  background-size: 280px 190px;
  animation: starDrift 22s linear infinite;
}

.night-sky::after {
  left: 4vw;
  top: 138px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 178, 72, 0.2), transparent 68%);
  filter: blur(10px);
  opacity: 0.58;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(280px, 360px);
  align-items: center;
  gap: 34px;
  width: min(1220px, calc(100% - 40px));
  min-height: 940px;
  margin: 0 auto;
  padding: 210px 0 84px;
}

.hero-copy {
  padding-top: 0;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: clamp(13px, 1.7vw, 16px);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.eyebrow.dark {
  color: var(--night-2);
}

.hero h1 {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  letter-spacing: 0.03em;
}

.service-name {
  position: relative;
  display: block;
  color: var(--white);
  font-family: "Shippori Mincho", "Zen Old Mincho", serif;
  font-size: clamp(82px, 10vw, 148px);
  font-weight: 800;
  line-height: 0.94;
  white-space: nowrap;
  text-shadow:
    0 4px 0 rgba(2, 11, 24, 0.72),
    0 18px 48px rgba(0, 0, 0, 0.48),
    0 0 24px rgba(255, 255, 255, 0.16);
}

.service-name::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.1em;
  bottom: -0.08em;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(243, 198, 95, 0.1), var(--gold), var(--line), rgba(6, 199, 85, 0.08));
  box-shadow: 0 0 18px rgba(243, 198, 95, 0.28);
}

.hero-line {
  display: block;
  margin-top: 34px;
  color: #fbfdff;
  font-size: clamp(38px, 4.7vw, 66px);
  font-weight: 900;
  line-height: 1.14;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.46);
}

.lead,
.sublead {
  max-width: 620px;
  font-weight: 600;
}

.lead {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(17px, 2vw, 21px);
}

.sublead {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(14px, 1.6vw, 17px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 34px;
}

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

.microcopy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.11);
  color: rgba(255, 255, 255, 0.94);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

.trust-pills span::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 13px rgba(243, 198, 95, 0.8);
}

.hero-flow {
  align-self: end;
  max-width: 360px;
  margin: 0 0 54px;
  padding: 18px;
  border: 1px solid rgba(212, 229, 255, 0.28);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(5, 13, 29, 0.72), rgba(10, 30, 61, 0.48));
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.hero-flow-heading {
  display: block;
  margin-bottom: 12px;
}

.hero-flow-heading span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.hero-flow-heading strong {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.5;
}

.hero-flow-row {
  display: grid;
  gap: 10px;
}

.hero-flow-row article {
  position: relative;
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 2px 10px;
  min-height: 82px;
  padding: 14px 14px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.hero-flow-row article::after {
  display: none;
  content: "";
}

.hero-step {
  position: relative;
  z-index: 1;
  grid-row: span 2;
  display: inline-block;
  color: var(--gold);
  font-family: "Zen Old Mincho", serif;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
}

.hero-flow h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 2px;
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.hero-flow p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.65;
}

.chat-card {
  position: relative;
  align-self: end;
  margin-bottom: 54px;
  padding: 20px;
  border: 1px solid rgba(212, 229, 255, 0.4);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.06)),
    var(--glass);
  box-shadow: var(--shadow-dark), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(18px);
  animation: cardFloat 5.6s ease-in-out infinite;
}

.chat-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(243, 198, 95, 0.42), transparent 28%, rgba(6, 199, 85, 0.32));
  opacity: 0.26;
  pointer-events: none;
}

.chat-card > * {
  position: relative;
  z-index: 1;
}

.chat-top {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  font-weight: 700;
}

.chat-top small {
  margin-left: auto;
  color: #9dffc4;
  font-size: 12px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 14px rgba(6, 199, 85, 0.9);
}

.chat-stream {
  display: grid;
  gap: 10px;
}

.chat-stream {
  margin-top: 18px;
}

.bubble {
  margin: 0;
  max-width: 92%;
  padding: 12px 14px;
  border-radius: 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
}

.bubble.user {
  justify-self: end;
  color: var(--white);
  background: linear-gradient(180deg, var(--line), var(--line-2));
  border-bottom-right-radius: 4px;
}

.bubble.agent {
  justify-self: start;
  color: #13223a;
  background: var(--white);
  border-bottom-left-radius: 4px;
}

.mini-line {
  display: grid;
  place-items: center;
  min-height: 44px;
  margin-top: 16px;
  border-radius: var(--radius);
  color: var(--white);
  background: linear-gradient(180deg, var(--line), var(--line-2));
  font-weight: 700;
  box-shadow: 0 14px 32px rgba(6, 199, 85, 0.24);
}

.section {
  padding: 72px 0;
}

.section-heading p {
  margin: 0 0 8px;
  color: var(--night-2);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

#concept .section-heading p {
  font-size: 22px;
}

.section-heading h2,
.signal-copy h2,
.line-copy h2,
.advisor-copy h2 {
  margin: 0;
  color: var(--night);
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(31px, 4.4vw, 52px);
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: 0.02em;
}

.section-heading.left {
  text-align: left;
}

.intro {
  background: linear-gradient(180deg, var(--white), #f4f7fb);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: start;
}

.concept-copy {
  display: grid;
  gap: 16px;
  padding-left: 34px;
  border-left: 3px solid var(--gold);
}

.concept-copy p,
.line-copy p,
.advisor-copy p {
  margin: 0;
  color: #31415a;
  font-size: clamp(16px, 1.75vw, 18px);
  font-weight: 500;
}

.signal-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 16, 31, 0.93), rgba(6, 16, 31, 0.72)),
    var(--midnight);
}

.signal-panel {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 36px;
  align-items: center;
  padding: 8px 0;
}

.signal-copy .eyebrow {
  color: var(--gold);
}

.signal-copy h2 {
  color: var(--white);
}

.signal-lead {
  margin: 18px 0 0;
  max-width: 500px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(15px, 1.7vw, 18px);
  font-weight: 600;
}

.signal-list {
  display: grid;
  gap: 14px;
}

.signal-list article {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  align-items: start;
  min-height: 104px;
  padding: 18px 20px;
  border: 1px solid rgba(212, 229, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.signal-list h3 {
  margin: 0;
  color: var(--white);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 800;
  line-height: 1.45;
}

.signal-list p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
}

.signal-number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(243, 198, 95, 0.45);
  border-left: 3px solid var(--gold);
  color: var(--gold);
  background: rgba(5, 13, 29, 0.5);
  font-family: "Shippori Mincho", serif;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.legal-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(16, 44, 86, 0.16);
  border-radius: var(--radius);
  color: var(--night);
  background: var(--white);
  font-size: 14px;
  font-weight: 800;
}

.line-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 15% 20%, rgba(243, 198, 95, 0.16), transparent 24%),
    linear-gradient(180deg, #061226, #0c2548);
}

.line-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.38;
  background-image:
    radial-gradient(circle at 12% 18%, #ffffff 0 1px, transparent 2px),
    radial-gradient(circle at 58% 22%, #ffffff 0 1px, transparent 2px),
    radial-gradient(circle at 82% 42%, #ffffff 0 1px, transparent 2px);
  background-size: 240px 170px;
}

.line-summary {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 52px;
  align-items: center;
}

.line-copy h2,
.line-copy p,
.advisor-copy h2,
.advisor-copy p {
  color: var(--white);
}

.line-copy p {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.line-request-panel {
  padding: 24px;
  border: 1px solid rgba(212, 229, 255, 0.24);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06)),
    rgba(10, 30, 61, 0.52);
  box-shadow: var(--shadow-dark), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
}

.request-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.request-list {
  display: grid;
  gap: 10px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.request-list li {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 4px 12px;
  align-items: center;
  min-height: 70px;
  padding: 13px 14px;
  border: 1px solid rgba(212, 229, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.request-list span {
  grid-row: span 2;
  color: var(--gold);
  font-family: "Shippori Mincho", serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.request-list strong {
  color: var(--white);
  font-size: 16px;
  line-height: 1.25;
}

.request-list small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 600;
}

/* パネル内CTAは固定幅カラムに収まるよう全幅・1行で表示 */
.line-request-panel .button {
  width: 100%;
  white-space: nowrap;
  font-size: clamp(15px, 1.7vw, 19px);
  padding: 0 18px;
}

.flow-section {
  background: linear-gradient(180deg, #ffffff, #f6f8fb);
}

.flow-section .section-heading {
  text-align: center;
  margin-bottom: 34px;
}

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

.flow-row article {
  position: relative;
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.flow-row article::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: rgba(6, 199, 85, 0.08);
}

.step {
  display: inline-block;
  color: var(--line);
  font-family: "Zen Old Mincho", serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.flow-row h3 {
  margin: 20px 0 8px;
  color: var(--night);
  font-size: 22px;
  font-weight: 700;
}

.flow-row p {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}

.flow-note {
  margin: 26px auto 0;
  max-width: 640px;
  text-align: center;
  color: var(--night-2);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.8;
}

.advisor-section {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(6, 16, 31, 0.93), rgba(6, 16, 31, 0.72)),
    var(--midnight);
}

.advisor-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  grid-template-areas:
    "top photo"
    "copy photo";
  gap: 18px 28px;
  align-items: center;
  overflow: hidden;
  width: min(1020px, 100%);
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid rgba(243, 198, 95, 0.26);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 78% 44%, rgba(6, 199, 85, 0.12), transparent 28%),
    radial-gradient(circle at 20% 10%, rgba(243, 198, 95, 0.12), transparent 22%),
    linear-gradient(140deg, rgba(4, 12, 27, 0.98), rgba(5, 18, 36, 0.94));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

.advisor-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(243, 198, 95, 0.16), transparent 24%, transparent 70%, rgba(6, 199, 85, 0.1)),
    radial-gradient(circle at 70% 78%, rgba(255, 255, 255, 0.06), transparent 28%);
}

.advisor-card > * {
  position: relative;
  z-index: 1;
}

.advisor-card-top {
  grid-area: top;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: stretch;
}

.advisor-hours,
.advisor-queue {
  border: 1px solid rgba(212, 229, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.advisor-hours {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 12px 14px;
}

.clock-mark {
  position: relative;
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 214, 153, 0.92);
  border-radius: 50%;
}

.clock-mark::before,
.clock-mark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 50%;
  width: 3px;
  border-radius: 999px;
  background: rgba(255, 214, 153, 0.92);
  transform-origin: bottom center;
}

.clock-mark::before {
  height: 13px;
  transform: translateX(-50%) rotate(0deg);
}

.clock-mark::after {
  height: 16px;
  transform: translateX(-50%) rotate(130deg);
}

.advisor-hours span,
.advisor-queue span {
  display: block;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
  font-weight: 700;
}

.advisor-hours strong {
  display: block;
  margin-top: 2px;
  color: #ffd99b;
  font-family: "Shippori Mincho", serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.advisor-hours em {
  display: inline-grid;
  place-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(255, 214, 153, 0.38);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.86);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.advisor-queue {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  overflow: hidden;
  min-height: 72px;
  padding: 12px 14px;
  border-color: rgba(6, 199, 85, 0.42);
  background:
    radial-gradient(circle at 12% 20%, rgba(6, 199, 85, 0.28), transparent 34%),
    linear-gradient(145deg, rgba(6, 199, 85, 0.2), rgba(6, 16, 31, 0.72));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.18),
    0 0 0 1px rgba(6, 199, 85, 0.08),
    inset 0 0 28px rgba(6, 199, 85, 0.1);
  isolation: isolate;
  animation: advisorQueueGlow 2.6s ease-in-out infinite;
}

.advisor-queue::before {
  position: absolute;
  inset: -18px -40%;
  z-index: 0;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.2) 48%, transparent 64%);
  content: "";
  opacity: 0;
  transform: translateX(-44%);
  animation: advisorQueueSweep 3.2s ease-in-out infinite;
}

.advisor-queue::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 1px solid rgba(6, 199, 85, 0.26);
  border-radius: inherit;
  box-shadow: inset 0 0 22px rgba(6, 199, 85, 0.12);
  content: "";
  pointer-events: none;
  animation: advisorQueueFrame 1.8s ease-in-out infinite;
}

.advisor-queue > * {
  position: relative;
  z-index: 1;
}

.advisor-queue > .queue-icon {
  display: none;
}

.advisor-queue > div > span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.advisor-queue > div > span::before {
  position: relative;
  z-index: 1;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  content: "";
  background: var(--line);
  box-shadow: 0 0 14px rgba(6, 199, 85, 0.95);
  animation: liveStatusDot 1.35s ease-in-out infinite;
}

.advisor-queue > div > span::after {
  position: absolute;
  left: -5px;
  top: 50%;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(6, 199, 85, 0.56);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
  animation: queuePulse 1.55s ease-out infinite;
}

.advisor-queue strong {
  display: block;
  margin-top: 2px;
  color: #ffd99b;
  font-family: "Shippori Mincho", serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 0 0 18px rgba(255, 217, 155, 0.38), 0 0 22px rgba(6, 199, 85, 0.18);
  animation: advisorQueueText 2s ease-in-out infinite;
}

.advisor-queue small {
  position: relative;
  overflow: hidden;
  width: fit-content;
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  font-weight: 700;
}

.advisor-queue small::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(6, 199, 85, 0.42), transparent);
  content: "";
  opacity: 0;
  transform: translateX(-100%);
  animation: advisorQueueSmallScan 2.8s ease-in-out infinite;
}

.advisor-card-copy {
  grid-area: copy;
  max-width: 720px;
  margin-top: 0;
}

.advisor-card-copy h2 {
  margin: 0;
  color: var(--white);
  font-family: "Zen Old Mincho", serif;
  font-size: 42px;
  font-weight: 900;
  line-height: 1.24;
  letter-spacing: 0.02em;
}

.advisor-title span {
  display: inline;
}

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

.advisor-title .advisor-title-accent {
  color: #ffd99b;
}

@keyframes queuePulse {
  0% {
    opacity: 0.72;
    transform: scale(0.72);
  }

  100% {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes liveStatusHalo {
  0%,
  100% {
    opacity: 0.48;
    transform: scaleX(0.9);
  }

  50% {
    opacity: 0.92;
    transform: scaleX(1);
  }
}

@keyframes liveStatusDot {
  0%,
  100% {
    background: rgba(6, 199, 85, 0.72);
    box-shadow: 0 0 9px rgba(6, 199, 85, 0.58);
  }

  50% {
    background: var(--line);
    box-shadow: 0 0 18px rgba(6, 199, 85, 0.98), 0 0 30px rgba(6, 199, 85, 0.34);
  }
}

@keyframes liveStatusRing {
  0% {
    opacity: 0.76;
    transform: scale(0.58);
  }

  100% {
    opacity: 0;
    transform: scale(1.46);
  }
}

@keyframes liveStatusText {
  0%,
  100% {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 12px rgba(6, 199, 85, 0.22);
  }

  50% {
    color: #fff;
    text-shadow: 0 0 22px rgba(6, 199, 85, 0.58);
  }
}

@keyframes liveStatusUnderline {
  0%,
  100% {
    opacity: 0.2;
    transform: scaleX(0.42);
  }

  50% {
    opacity: 0.95;
    transform: scaleX(1);
  }
}

@keyframes liveStatusNumber {
  0%,
  100% {
    filter: brightness(0.94);
    transform: translateY(0);
  }

  50% {
    filter: brightness(1.35);
    transform: translateY(-1px);
  }
}

@keyframes advisorQueueGlow {
  0%,
  100% {
    border-color: rgba(6, 199, 85, 0.32);
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.18),
      0 0 0 1px rgba(6, 199, 85, 0.08),
      inset 0 0 24px rgba(6, 199, 85, 0.08);
  }

  50% {
    border-color: rgba(6, 199, 85, 0.62);
    box-shadow:
      0 18px 40px rgba(0, 0, 0, 0.18),
      0 0 0 1px rgba(6, 199, 85, 0.2),
      0 0 22px rgba(6, 199, 85, 0.18),
      inset 0 0 34px rgba(6, 199, 85, 0.18);
  }
}

@keyframes advisorQueueSweep {
  0%,
  35% {
    opacity: 0;
    transform: translateX(-44%);
  }

  48% {
    opacity: 0.7;
  }

  70%,
  100% {
    opacity: 0;
    transform: translateX(44%);
  }
}

@keyframes advisorQueueFrame {
  0%,
  100% {
    opacity: 0.42;
  }

  50% {
    opacity: 0.9;
  }
}

@keyframes advisorQueueText {
  0%,
  100% {
    filter: brightness(0.95);
    text-shadow: 0 0 12px rgba(255, 217, 155, 0.24), 0 0 14px rgba(6, 199, 85, 0.12);
  }

  50% {
    filter: brightness(1.18);
    text-shadow: 0 0 22px rgba(255, 217, 155, 0.56), 0 0 28px rgba(6, 199, 85, 0.28);
  }
}

@keyframes advisorQueueSmallScan {
  0%,
  42% {
    opacity: 0;
    transform: translateX(-100%);
  }

  56% {
    opacity: 0.54;
  }

  78%,
  100% {
    opacity: 0;
    transform: translateX(100%);
  }
}

.advisor-card-copy p {
  max-width: 560px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.85;
}

.advisor-card-copy p span {
  color: var(--line);
  font-weight: 900;
}

.advisor-photo {
  grid-area: photo;
  position: relative;
  margin: 0;
}

.advisor-photo picture,
.advisor-photo img {
  display: block;
  width: 100%;
}

.advisor-photo img {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center;
}

.advisor-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 13, 29, 0.08), rgba(5, 13, 29, 0.24));
}

.advisor-photo figcaption {
  position: absolute;
  left: 50%;
  bottom: 12px;
  z-index: 1;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 10px;
  width: calc(100% - 24px);
  min-height: 58px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 214, 153, 0.36);
  border-radius: var(--radius);
  background: rgba(5, 13, 29, 0.86);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.32);
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
}

.message-mark {
  position: relative;
  width: 34px;
  height: 26px;
  border: 2px solid rgba(255, 214, 153, 0.78);
  border-radius: var(--radius);
}

.message-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  bottom: -7px;
  width: 10px;
  height: 10px;
  border-left: 2px solid rgba(255, 214, 153, 0.78);
  border-bottom: 2px solid rgba(255, 214, 153, 0.78);
  background: rgba(5, 13, 29, 0.86);
  transform: rotate(-45deg);
}

.advisor-photo figcaption p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.advisor-photo figcaption strong {
  color: #ffd99b;
  font-weight: 900;
}

.faq-section {
  background: #f6f8fb;
}

.faq-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(8, 24, 48, 0.06);
}

.faq-list summary {
  position: relative;
  min-height: 62px;
  padding: 18px 56px 18px 22px;
  color: var(--night);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 13px;
  height: 13px;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 160ms ease;
}

.faq-list details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq-list p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--muted);
  font-weight: 500;
}

.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 76px 0 36px;
  color: rgba(255, 255, 255, 0.82);
  border-top: 1px solid rgba(219, 165, 82, 0.9);
  background:
    radial-gradient(circle at 18% 18%, rgba(18, 70, 125, 0.34), transparent 30%),
    radial-gradient(circle at 78% 8%, rgba(243, 198, 95, 0.12), transparent 24%),
    linear-gradient(180deg, #061426 0%, #051024 50%, #030914 100%);
  box-shadow: inset 0 1px 0 rgba(255, 230, 181, 0.2);
}

.site-footer::before,
.site-footer::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.site-footer::before {
  inset: 0;
  z-index: -2;
  opacity: 0.42;
  background-image:
    radial-gradient(circle at 12% 18%, #ffffff 0 1px, transparent 2px),
    radial-gradient(circle at 38% 34%, #ffffff 0 1px, transparent 2px),
    radial-gradient(circle at 71% 16%, #ffffff 0 1px, transparent 2px),
    radial-gradient(circle at 86% 45%, #ffffff 0 1px, transparent 2px);
  background-size: 260px 180px;
}

.site-footer::after {
  left: 50%;
  top: -82px;
  z-index: -1;
  width: 1180px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(34, 94, 156, 0.2), transparent 70%);
  transform: translateX(-50%);
}

.site-footer .container {
  position: relative;
  z-index: 1;
  width: min(1368px, calc(100% - 104px));
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(390px, 430px) minmax(0, 1fr);
  gap: 0;
  align-items: center;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(214, 228, 255, 0.15);
}

.footer-brand-block {
  padding-right: 52px;
  border-right: 0;
}

.footer-logo-link {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.footer-emblem {
  display: block;
  width: 86px;
  height: 112px;
  background: url("./assets/footer-emblem-transparent.png") center / contain no-repeat;
  filter: drop-shadow(0 0 18px rgba(243, 198, 95, 0.16));
}

.footer-brand-copy {
  display: block;
  min-width: 0;
}

.footer-brand-name,
.footer-brand-note {
  display: block;
}

.footer-brand-name {
  color: var(--white);
  font-family: "Zen Old Mincho", serif;
  font-size: 43px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.03em;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.38);
}

.footer-brand-note {
  margin-top: 12px;
  color: var(--gold);
  font-family: "Shippori Mincho", "Zen Old Mincho", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.footer-brand-block p {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.85;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  justify-content: stretch;
}

.footer-nav a {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 108px;
  padding: 18px 18px 18px 28px;
  border-left: 0;
  color: rgba(255, 255, 255, 0.82);
  background: transparent;
  transition: color 0.18s ease, background 0.18s ease;
}

.footer-nav a::after {
  display: none;
  content: none;
}

.footer-nav a:hover {
  color: var(--white);
  background: linear-gradient(90deg, rgba(243, 198, 95, 0.08), transparent);
}

.footer-nav strong,
.footer-nav small {
  display: block;
  white-space: nowrap;
}

.footer-nav strong {
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.footer-nav small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.footer-nav-icon {
  position: relative;
  display: block;
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.footer-icon-chat {
  width: 30px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 14px;
}

.footer-icon-chat::before {
  position: absolute;
  left: 7px;
  top: 9px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 6px 0 0 currentColor, 12px 0 0 currentColor;
  content: "";
}

.footer-icon-chat::after {
  position: absolute;
  left: 6px;
  bottom: -6px;
  width: 9px;
  height: 9px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: #061326;
  content: "";
  transform: rotate(-35deg);
}

.footer-icon-line {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--line-2);
  background: var(--white);
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(6, 199, 85, 0.22);
}

.footer-icon-book::before,
.footer-icon-book::after {
  position: absolute;
  top: 4px;
  width: 14px;
  height: 24px;
  border: 2px solid currentColor;
  content: "";
}

.footer-icon-book::before {
  left: 1px;
  border-right: 0;
  border-radius: 3px 0 0 3px;
  transform: skewY(-10deg);
}

.footer-icon-book::after {
  right: 1px;
  border-left: 0;
  border-radius: 0 3px 3px 0;
  transform: skewY(10deg);
}

.footer-icon-faq {
  display: grid;
  place-items: center;
  border: 2px solid currentColor;
  border-radius: 50%;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
}

.footer-icon-faq::before {
  content: "?";
}

.footer-icon-mail {
  width: 32px;
  height: 23px;
  margin-top: 4px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.footer-icon-mail::before,
.footer-icon-mail::after {
  position: absolute;
  top: 2px;
  width: 17px;
  height: 17px;
  border-bottom: 2px solid currentColor;
  content: "";
}

.footer-icon-mail::before {
  left: 1px;
  transform: rotate(35deg);
  transform-origin: left bottom;
}

.footer-icon-mail::after {
  right: 1px;
  transform: rotate(-35deg);
  transform-origin: right bottom;
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 600;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0;
}

.footer-legal a {
  padding: 0 22px;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  transition: color 0.18s ease;
}

.footer-legal a + a {
  border-left: 1px solid rgba(214, 228, 255, 0.18);
}

.footer-legal a:hover {
  color: var(--white);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.legal-page {
  background: #f5f7fb;
}

.legal-main {
  background:
    radial-gradient(circle at 14% 0%, rgba(243, 198, 95, 0.14), transparent 22%),
    linear-gradient(180deg, #eef3f9 0%, #f5f7fb 38%, #ffffff 100%);
}

.legal-hero {
  padding: 410px 0 56px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 18%, rgba(6, 199, 85, 0.16), transparent 22%),
    linear-gradient(115deg, #06101f 0%, #0a1f3f 58%, #082235 100%);
}

.legal-hero-inner {
  display: grid;
  gap: 10px;
}

.legal-back {
  width: fit-content;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.legal-back::before {
  content: "<";
  margin-right: 8px;
  color: var(--gold);
}

.legal-hero h1 {
  margin: 0;
  font-family: "Zen Old Mincho", serif;
  font-size: clamp(42px, 5.6vw, 68px);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0;
}

.legal-hero p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.legal-section {
  padding: 42px 0 76px;
}

.legal-single {
  max-width: 920px;
}

.legal-panel {
  padding: 38px 42px;
  border: 1px solid rgba(16, 44, 86, 0.12);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 22px 60px rgba(8, 24, 48, 0.1);
}

.legal-lead {
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(16, 44, 86, 0.1);
}

.legal-panel h2 {
  margin: 32px 0 10px;
  color: var(--night);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.5;
}

.legal-panel h2:first-of-type {
  margin-top: 28px;
}

.legal-panel p,
.legal-panel li,
.company-list dd {
  color: #31415a;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
}

.legal-panel p {
  margin: 0 0 12px;
}

.legal-panel ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
}

.legal-company,
.legal-note-box {
  margin-top: 24px;
  padding: 18px 20px;
  border: 1px solid rgba(16, 44, 86, 0.1);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: #f8fbff;
}

.legal-company p {
  margin: 0;
}

.legal-company p + p {
  margin-top: 8px;
}

.legal-note-box h2 {
  margin-top: 0;
}

.legal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 34px;
}

.legal-actions.single {
  justify-content: flex-start;
}

.legal-actions .button {
  min-height: 56px;
  padding: 0 24px;
  font-size: 16px;
}

.company-list {
  display: grid;
  margin: 0;
  border: 1px solid rgba(16, 44, 86, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.company-list div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(16, 44, 86, 0.1);
  background: #ffffff;
}

.company-list div:nth-child(even) {
  background: #f9fbff;
}

.company-list div:last-child {
  border-bottom: 0;
}

.company-list dt {
  color: var(--night);
  font-size: 14px;
  font-weight: 900;
}

.company-list dd {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes starDrift {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-120px, 60px, 0);
  }
}

@keyframes ctaSheen {
  0%,
  58% {
    transform: translateX(-130%);
  }

  100% {
    transform: translateX(130%);
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1280px) and (min-width: 981px) {
  .site-header {
    padding-top: 14px;
  }

  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 18px 28px;
    width: min(100% - 36px, 1160px);
    min-height: auto;
    padding: 20px 24px;
  }

  .header-brand {
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 12px;
  }

  .header-emblem {
    width: 66px;
    height: 98px;
  }

  .header-brand-name {
    font-size: 34px;
  }

  .header-brand-note {
    margin-top: 8px;
    font-size: 16px;
  }

  .header-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    gap: 42px;
    padding-top: 12px;
    border-top: 0;
    font-size: 20px;
  }

  .header-status {
    grid-column: 2;
    grid-row: 1;
    min-height: 72px;
    padding-left: 22px;
  }

  .header-status span {
    font-size: 18px;
  }

  .header-status strong {
    font-size: 20px;
  }

  .header-cta {
    grid-column: 2;
    grid-row: 1;
    min-height: 60px;
    padding: 0 18px;
    font-size: 17px;
  }

  .header-cta .line-badge {
    min-width: 42px;
    width: 42px;
    height: 42px;
    font-size: 9px;
  }

  .hero-inner {
    min-height: 820px;
    padding: 256px 0 72px;
  }

  .legal-hero {
    padding: 334px 0 50px;
  }
}

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

  .site-header {
    padding-top: 10px;
  }

  .header-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    width: min(100% - 32px, 1120px);
    min-height: auto;
    padding: 16px 18px;
  }

  .header-brand {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 16px;
  }

  .header-emblem {
    width: 62px;
    height: 82px;
  }

  .header-brand-name {
    font-size: 34px;
  }

  .header-brand-note {
    margin-top: 8px;
    font-size: 15px;
  }

  .header-status {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: center;
    gap: 20px;
    min-height: auto;
    padding: 14px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(214, 228, 255, 0.18);
  }

  .hero-inner,
  .intro-grid,
  .signal-panel,
  .line-summary,
  .advisor-layout,
  .faq-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 34px;
    min-height: auto;
    padding: 144px 0 62px;
  }

  .legal-hero {
    padding: 244px 0 44px;
  }

  .hero-copy {
    padding-top: 18px;
  }

  .chat-card {
    align-self: stretch;
    margin-bottom: 0;
  }

  .hero-flow {
    align-self: stretch;
    max-width: none;
    margin: 0;
  }

  .flow-row {
    grid-template-columns: 1fr;
  }

  .concept-copy {
    padding-left: 22px;
  }

  .line-summary {
    gap: 34px;
  }

  .site-footer .container {
    width: min(100% - 56px, 1120px);
  }

  .footer-shell {
    gap: 30px;
  }

  .footer-brand-block {
    padding-right: 0;
    padding-bottom: 30px;
    border-right: 0;
    border-bottom: 0;
  }

  .footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-nav a {
    border-left: 0;
    border-top: 0;
  }

  .footer-nav a:nth-child(1),
  .footer-nav a:nth-child(2) {
    border-top: 0;
  }

  .footer-nav a:nth-child(2n) {
    border-left: 0;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .mobile-only {
    display: block;
  }

  .container,
  .hero-inner {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding-top: 8px;
  }

  .header-shell {
    position: relative;
    grid-template-columns: auto minmax(0, 1fr) auto;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: min(100% - 28px, 1120px);
    max-width: none;
    min-height: 56px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .header-shell::before {
    display: none;
  }

  .header-brand {
    grid-column: 1;
    grid-row: 1;
    grid-template-columns: 38px minmax(0, auto);
    gap: 7px;
    min-width: 0;
  }

  .header-emblem {
    width: 38px;
    height: 50px;
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.36));
  }

  .header-brand-name {
    font-size: clamp(17px, 4.2vw, 19px);
    text-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
  }

  .header-brand-note {
    margin-top: 3px;
    font-size: clamp(7.6px, 1.95vw, 8.8px);
    letter-spacing: 0.02em;
    text-shadow: 0 8px 20px rgba(0, 0, 0, 0.46);
  }

  .header-status {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: auto;
    padding: 0;
    border: 0;
    color: rgba(255, 255, 255, 0.92);
    white-space: nowrap;
    isolation: auto;
  }

  .header-status::before,
  .header-status strong::after {
    display: none;
    content: none;
  }

  .header-status > span {
    display: none;
  }

  .header-status strong {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
    font-family: "Shippori Mincho", "Zen Old Mincho", serif;
    font-size: clamp(13px, 2.5vw, 16px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: 0;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.55), 0 0 18px rgba(6, 199, 85, 0.32);
    animation: none;
  }

  .header-status strong::before {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 3px;
    border-radius: 50%;
    background: var(--line);
    box-shadow: 0 0 14px rgba(6, 199, 85, 0.86);
    content: "";
    animation: liveStatusDot 1.35s ease-in-out infinite;
  }

  .header-status em {
    display: inline-block;
    min-width: auto;
    height: auto;
    margin: 0 2px;
    color: var(--gold);
    background: transparent;
    font-weight: 900;
    font-size: 1.55em;
    line-height: 0.8;
    text-shadow: 0 0 16px rgba(243, 198, 95, 0.76), 0 10px 24px rgba(0, 0, 0, 0.5);
    box-shadow: none;
    animation: liveStatusNumber 1.35s ease-in-out infinite;
  }

  .header-cta {
    grid-column: 3;
    grid-row: 1;
    min-height: 44px;
    width: auto;
    min-width: 0;
    padding: 0 12px;
    border: 0;
    gap: 8px;
    font-size: 13px;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(6, 199, 85, 0.34);
  }

  .header-cta-text {
    display: none;
  }

  .header-cta-mobile-text {
    display: inline;
    white-space: nowrap;
  }

  .header-cta::after {
    width: 5px;
    height: 5px;
    border-top-width: 1.5px;
    border-right-width: 1.5px;
  }

  .header-cta .line-badge {
    min-width: 42px;
    width: auto;
    height: 28px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-bg {
    overflow: hidden;
  }

  .hero-bg picture {
    height: calc(100% + 300px);
    transform: translateY(-260px);
  }

  .hero-bg img {
    object-position: 62% top;
  }

  .night-sky {
    background:
      radial-gradient(circle at 78% 33%, rgba(255, 255, 255, 0.05), transparent 24%),
      linear-gradient(180deg, rgba(5, 13, 29, 0.16), rgba(5, 13, 29, 0.48) 30%, rgba(5, 13, 29, 0.9) 70%, rgba(5, 13, 29, 0.98) 100%),
      linear-gradient(90deg, rgba(5, 13, 29, 0.95) 0%, rgba(5, 13, 29, 0.7) 44%, rgba(5, 13, 29, 0.24) 74%, rgba(5, 13, 29, 0.5) 100%);
  }

  .night-sky::after {
    top: 190px;
    left: -22px;
    width: 160px;
    height: 160px;
    opacity: 0.42;
  }

  .hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 20px;
    min-height: auto;
    padding: 86px 0 30px;
  }

  .hero-copy {
    padding-top: 0;
  }

  .mobile-hero-status {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 10px;
    padding: 0;
    border: 0;
    border-radius: 0;
    color: rgba(255, 255, 255, 0.92);
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .mobile-hero-status > span,
  .mobile-hero-status strong {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
  }

  .mobile-hero-status > span > span {
    display: inline;
  }

  .mobile-hero-status strong {
    padding: 3px 7px;
    border-radius: 999px;
    background: rgba(6, 199, 85, 0.18);
    box-shadow: 0 0 18px rgba(6, 199, 85, 0.26);
    animation: mobileStatusBlink 1.35s ease-in-out infinite;
  }

  .mobile-hero-status i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    box-shadow: 0 0 12px rgba(6, 199, 85, 0.76);
  }

  .mobile-hero-status em {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    color: #041c19;
    border-radius: 999px;
    background: var(--line);
    font-style: normal;
    font-size: 1.08em;
    font-weight: 900;
    box-shadow: 0 0 16px rgba(6, 199, 85, 0.88);
    animation: mobileStatusNumberBlink 0.95s ease-in-out infinite;
  }

  .eyebrow {
    margin-bottom: 14px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .hero h1 {
    letter-spacing: 0;
  }

  .service-name {
    font-size: clamp(52px, 16vw, 61px);
    letter-spacing: 0;
    line-height: 0.96;
  }

  .service-name::after {
    right: 0.02em;
    bottom: -0.07em;
    height: 3px;
  }

  .hero-line {
    margin-top: 22px;
    font-size: clamp(31px, 9.2vw, 38px);
    line-height: 1.18;
  }

  .lead {
    margin-top: 22px;
    font-size: 15px;
    line-height: 1.72;
  }

  .sublead {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.65;
    display: none;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .button {
    min-height: 58px;
    padding: 0 16px;
    gap: 8px;
    font-size: 16px;
    white-space: normal;
  }

  .button .line-badge {
    min-width: 42px;
    height: 28px;
    font-size: 12px;
  }

  .microcopy {
    width: 100%;
    text-align: center;
  }

  .trust-pills span {
    justify-content: flex-start;
    min-height: 34px;
    padding: 8px 9px;
    font-size: 11px;
    line-height: 1.35;
  }

  .trust-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .trust-pills span::before {
    width: 7px;
    height: 7px;
    margin-right: 7px;
  }

  .hero-flow {
    margin: 0;
    padding: 13px;
  }

  .hero-flow-heading {
    display: block;
    margin-bottom: 10px;
  }

  .hero-flow-heading span,
  .hero-flow-heading strong {
    display: block;
  }

  .hero-flow-heading strong {
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.55;
  }

  .hero-flow-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-flow-row article {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 2px 10px;
    min-height: auto;
    padding: 12px;
  }

  .hero-flow-row article::after {
    display: none;
  }

  .hero-step {
    grid-row: span 2;
    font-size: 25px;
  }

  .hero-flow h3 {
    margin: 0 0 2px;
    font-size: 14px;
  }

  .hero-flow p {
    font-size: 12px;
    line-height: 1.55;
  }

  .chat-card {
    display: none;
  }

  .chat-top {
    font-size: 13px;
  }

  .bubble {
    max-width: 96%;
    padding: 11px 12px;
    border-radius: 13px;
    font-size: 13px;
    line-height: 1.56;
  }

  .section {
    padding: 52px 0;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .signal-panel {
    gap: 22px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .signal-list article {
    grid-template-columns: 52px 1fr;
    gap: 12px;
    min-height: auto;
    padding: 13px 14px;
  }

  .signal-list p {
    font-size: 12px;
    line-height: 1.55;
  }

  .signal-number {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }

  .line-summary {
    gap: 18px;
  }

  .line-request-panel {
    padding: 16px;
  }

  .request-list {
    gap: 8px;
  }

  .request-list li {
    grid-template-columns: 42px 1fr;
    min-height: 64px;
    padding: 12px;
  }

  .request-list span {
    font-size: 22px;
  }

  .advisor-card {
    display: block;
    width: 100%;
    padding: 14px;
  }

  .advisor-card-top {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .advisor-hours {
    grid-template-columns: 42px 1fr auto;
    gap: 10px;
    min-height: 78px;
    padding: 12px;
  }

  .clock-mark {
    width: 38px;
    height: 38px;
    border-width: 2px;
  }

  .clock-mark::before {
    height: 13px;
  }

  .clock-mark::after {
    height: 16px;
  }

  .advisor-hours span,
  .advisor-queue span {
    font-size: 12px;
  }

  .advisor-hours strong {
    font-size: 30px;
  }

  .advisor-hours em {
    min-height: 32px;
    padding: 0 10px;
    font-size: 12px;
  }

  .advisor-queue {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .advisor-queue strong {
    font-size: 24px;
  }

  .advisor-queue small {
    margin-top: 5px;
    font-size: 12px;
  }

  .advisor-card-copy {
    margin-top: 30px;
  }

  .advisor-card-copy h2 {
    font-size: clamp(24px, 7.1vw, 29px);
    line-height: 1.28;
    letter-spacing: 0;
  }

  .advisor-title span {
    display: block;
  }

  .advisor-title .advisor-title-accent {
    white-space: nowrap;
  }

  .advisor-card-copy p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.8;
  }

  .advisor-photo {
    margin-top: 26px;
  }

  .advisor-photo img {
    aspect-ratio: 4 / 3;
  }

  .advisor-photo figcaption {
    position: relative;
    left: auto;
    bottom: auto;
    grid-template-columns: 34px 1fr;
    gap: 10px;
    width: 100%;
    min-height: auto;
    margin-top: 10px;
    padding: 12px;
    transform: none;
  }

  .message-mark {
    width: 28px;
    height: 22px;
  }

  .advisor-photo figcaption p {
    font-size: 13px;
    line-height: 1.6;
  }

  .site-footer {
    padding: 48px 0 28px;
  }

  .site-footer .container {
    width: min(100% - 28px, 1120px);
  }

  .footer-shell {
    display: grid;
    gap: 24px;
    padding-bottom: 28px;
  }

  .footer-brand-block {
    min-height: auto;
    padding-bottom: 24px;
  }

  .footer-logo-link {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 16px;
  }

  .footer-emblem {
    width: 64px;
    height: 84px;
  }

  .footer-brand-name {
    font-size: 34px;
  }

  .footer-brand-note {
    margin-top: 8px;
    font-size: 15px;
  }

  .footer-brand-block p {
    margin-top: 16px;
    font-size: 14px;
    line-height: 1.8;
  }

  .footer-nav {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0;
    justify-content: stretch;
    border-top: 0;
  }

  .footer-nav a,
  .footer-nav a:nth-child(2n) {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    min-height: 74px;
    padding: 14px 4px;
    border: 0;
    border-bottom: 0;
    color: rgba(255, 255, 255, 0.82);
    background: transparent;
  }

  .footer-nav a:nth-child(1),
  .footer-nav a:nth-child(2) {
    border-top: 0;
  }

  .footer-nav a::after {
    display: none;
    content: none;
  }

  .footer-nav strong {
    font-size: 14px;
  }

  .footer-nav small {
    overflow: hidden;
    font-size: 11px;
    text-overflow: ellipsis;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    margin-top: 22px;
    text-align: center;
    font-size: 11px;
  }

  .footer-legal {
    display: grid;
    gap: 10px;
  }

  .footer-legal a {
    padding: 0;
  }

  .footer-legal a + a {
    border-left: 0;
  }

  .footer-bottom p {
    white-space: normal;
  }

  .legal-hero {
    padding: 132px 0 32px;
  }

  .legal-hero h1 {
    font-size: 32px;
    line-height: 1.25;
  }

  .legal-section {
    padding: 22px 0 50px;
  }

  .legal-panel {
    padding: 22px 18px;
  }

  .legal-panel h2 {
    font-size: 19px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 14px;
  }

  .legal-text-link {
    width: 100%;
    justify-content: center;
  }

  .legal-actions .button,
  .legal-actions .legal-text-link {
    width: 100%;
  }

}

@media (max-width: 430px) {
  .header-shell {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px;
    width: min(100% - 24px, 1120px);
    min-height: 54px;
    padding: 0;
  }

  .header-brand {
    grid-template-columns: 31px minmax(0, auto);
    gap: 4px;
  }

  .header-emblem {
    width: 31px;
    height: 46px;
  }

  .header-brand-name {
    font-size: clamp(15px, 4vw, 17px);
  }

  .header-brand-note {
    font-size: clamp(6.8px, 1.85vw, 8px);
    letter-spacing: 0;
  }

  .header-status strong {
    font-size: 11px;
  }

  .header-status em {
    font-size: 1.46em;
  }

  .header-cta {
    min-height: 42px;
    padding: 0 10px;
    gap: 0;
  }

  .header-cta-mobile-text,
  .header-cta::after {
    display: none;
  }

  .header-cta .line-badge {
    min-width: 44px;
    height: 28px;
    padding: 0 9px;
    font-size: 12px;
  }
}

/* ============================================================
   CTA 強化: 中盤セクションCTA / モバイル追従フローティングCTA
   ============================================================ */

/* 中盤セクション内に置くCTAブロック */
.section-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

/* advisor-card は grid-template-areas を使うため明示的に全幅配置 */
.advisor-card .section-cta {
  grid-column: 1 / -1;
  grid-row: auto;
}

.section-cta .button {
  min-width: min(420px, 100%);
}

.section-cta .button-call {
  min-width: min(420px, 100%);
}

.section-cta .microcopy {
  text-align: center;
}

/* モバイル追従フローティングCTA: デスクトップは非表示 */
.floating-cta {
  display: none;
}

@media (max-width: 980px) {
  .floating-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 60px;
    padding: 10px 18px;
    border: 1px solid rgba(157, 255, 196, 0.32);
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(180deg, var(--line), var(--line-2));
    box-shadow: 0 12px 30px rgba(6, 199, 85, 0.45);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    text-decoration: none;
    animation: ctaPulse 2.4s ease-in-out infinite;
  }

  .floating-cta .line-badge {
    min-width: 44px;
    height: 26px;
  }

  .floating-call {
    border-color: rgba(255, 240, 184, 0.78);
    color: #182238;
    background: linear-gradient(180deg, var(--gold-2), var(--gold));
    box-shadow: 0 12px 30px rgba(243, 198, 95, 0.48);
  }

  .floating-call .line-badge {
    min-width: 44px;
    height: 26px;
    color: var(--line-2);
    background: var(--white);
    font-size: 12px;
  }

  .floating-cta small {
    flex-basis: 100%;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    opacity: 0.92;
  }

  /* 追従CTAとフッターが被らないよう余白を確保 */
  .site-footer {
    padding-bottom: 104px;
  }
}

@keyframes ctaPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 12px 30px rgba(6, 199, 85, 0.45);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(6, 199, 85, 0.55);
  }
}

@keyframes callPulse {
  0%,
  100% {
    transform: translateY(0);
    box-shadow: 0 12px 30px rgba(243, 198, 95, 0.48);
  }
  50% {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(243, 198, 95, 0.58);
  }
}

@keyframes mobileStatusBlink {
  0%,
  100% {
    background: rgba(6, 199, 85, 0.16);
    box-shadow: 0 0 14px rgba(6, 199, 85, 0.22);
  }
  50% {
    background: rgba(6, 199, 85, 0.32);
    box-shadow: 0 0 24px rgba(6, 199, 85, 0.52);
  }
}

@keyframes mobileStatusNumberBlink {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 14px rgba(6, 199, 85, 0.74);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 26px rgba(6, 199, 85, 1);
  }
}

@media (max-width: 980px) {
  .floating-call {
    animation-name: callPulse;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-cta {
    animation: none;
  }
}

/* ============================================================
   CVRレビュー反映: 社会的証明 / なぜ無料 / 比較 / クロージング / サンプル会話
   ============================================================ */

/* ヒーロー右カラム: サンプル会話 + フローを縦に積む */
.hero-aside {
  align-self: center;
  display: grid;
  gap: 16px;
  min-width: 0;
}

.hero-aside .chat-card,
.hero-aside .hero-flow {
  align-self: stretch;
  max-width: none;
  margin: 0;
}

/* 社会的証明バー */
.social-proof-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.proof-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.proof-stat:nth-of-type(3) {
  border-right: 0;
}

.proof-stat strong {
  color: var(--gold);
  font-family: "Shippori Mincho", serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
}

.proof-stat small {
  font-size: 14px;
}

.proof-live {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(6, 199, 85, 0.4);
  border-radius: 999px;
  background: rgba(6, 199, 85, 0.12);
  color: #d9ffe8;
  font-size: 12px;
  font-weight: 700;
}

.proof-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line);
  box-shadow: 0 0 12px rgba(6, 199, 85, 0.9);
  animation: liveStatusDot 1.35s ease-in-out infinite;
}

.proof-live em {
  color: #9dffc4;
  font-style: normal;
  font-weight: 900;
  font-size: 1.15em;
}

/* なぜ無料か（不信解消ブロック） */
.why-free {
  width: min(640px, 100%);
  margin: 6px auto 0;
  padding: 20px 22px;
  border: 1px solid rgba(243, 198, 95, 0.35);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  text-align: left;
}

.why-free-q {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 800;
}

.why-free-a {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.85;
}

.why-free-a strong {
  color: #fff;
  font-weight: 800;
}

.why-free-list {
  display: grid;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.why-free-list li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 600;
}

.why-free-list li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  transform: rotate(45deg);
}

/* signal-panel 内の追加ブロックは全幅で配置 */
.signal-panel .why-free,
.signal-panel .section-cta,
.signal-panel .closing-whisper {
  grid-column: 1 / -1;
}

/* クロージングの一言（ピーク・エンド） */
.closing-whisper {
  margin: 22px 0 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Shippori Mincho", serif;
  font-size: clamp(15px, 1.8vw, 19px);
  font-weight: 600;
  line-height: 1.9;
}

/* アンカリング比較表 */
.compare-wrap {
  margin-top: 34px;
}

.compare-anchor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.compare-col {
  padding: 22px 22px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.compare-col .compare-head {
  display: block;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 800;
}

.compare-col ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compare-col li {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.compare-col.muted {
  background: #eef1f6;
  color: var(--muted);
}

.compare-col.muted .compare-head {
  color: #8794a8;
}

.compare-col.muted li::before {
  content: "×";
  position: absolute;
  left: 6px;
  top: 0;
  color: #aab4c2;
  font-weight: 800;
}

.compare-col.hot {
  border-color: rgba(6, 199, 85, 0.5);
  background: linear-gradient(180deg, rgba(6, 199, 85, 0.08), rgba(6, 199, 85, 0.02));
  color: var(--night);
  box-shadow: 0 18px 40px rgba(6, 199, 85, 0.14);
}

.compare-col.hot .compare-head {
  color: var(--line-2);
}

.compare-col.hot li {
  color: var(--night);
}

.compare-col.hot li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 11px;
  border-right: 2px solid var(--line);
  border-bottom: 2px solid var(--line);
  transform: rotate(45deg);
}

@media (max-width: 640px) {
  .social-proof-bar {
    gap: 10px 12px;
  }

  .proof-stat strong {
    font-size: 22px;
  }

  .proof-live {
    flex-basis: 100%;
  }

  .why-free {
    padding: 16px 18px;
  }

  .compare-wrap {
    margin-top: 24px;
  }

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

/* === CVR改善：社会的証明・信頼・比較・カウントダウン === */

.social-proof-bar {
  display: flex; flex-wrap: wrap; align-items: stretch; gap: 14px;
  margin-top: 22px;
}
.proof-stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 0 16px 0 0; border-right: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.86); font-size: 11px; font-weight: 700; line-height: 1.3;
}
.proof-stat strong {
  color: var(--gold); font-family: "Shippori Mincho", serif;
  font-size: 26px; font-weight: 800; line-height: 1;
}
.proof-stat small { font-size: 14px; }
.proof-live {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border: 1px solid rgba(6,199,85,.4); border-radius: 999px;
  background: rgba(6,199,85,.12); color: #d9ffe8; font-size: 12px; font-weight: 700;
  flex-basis: 100%;
}
.proof-live i {
  width: 8px; height: 8px; border-radius: 50%; background: var(--line);
  box-shadow: 0 0 12px rgba(6,199,85,.9); animation: liveStatusDot 1.35s ease-in-out infinite;
}
.proof-live em { color: #9dffc4; font-style: normal; font-weight: 900; font-size: 1.15em; }
@media (max-width: 640px) {
  .proof-stat strong { font-size: 22px; }
  .social-proof-bar { gap: 10px; }
}

.why-free {
  max-width: 620px; margin: 28px auto 0; padding: 20px 22px;
  border: 1px solid rgba(243,198,95,.35); border-left: 4px solid var(--gold);
  border-radius: var(--radius); background: rgba(255,255,255,.06);
}
.why-free-q { margin: 0 0 8px; color: var(--gold); font-size: 15px; font-weight: 800; }
.why-free-a { margin: 0; color: rgba(255,255,255,.88); font-size: 14px; line-height: 1.85; }
.why-free-a strong { color: #fff; }
.why-free-list { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.why-free-list li {
  position: relative; padding-left: 26px;
  color: rgba(255,255,255,.82); font-size: 13px; font-weight: 600;
}
.why-free-list li::before {
  content: ""; position: absolute; left: 4px; top: 6px;
  width: 6px; height: 11px; border-right: 2px solid var(--line); border-bottom: 2px solid var(--line);
  transform: rotate(45deg);
}

/* compare-* の重複定義は削除（明るい.introセクション用の上部定義を使用） */

.closing-whisper {
  margin-top: 28px; text-align: center;
  color: rgba(255,255,255,.55); font-size: 14px; font-style: italic; line-height: 1.8;
}

.countdown-badge {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px; padding: 4px 12px; border-radius: 999px;
  background: rgba(243,198,95,.15); border: 1px solid rgba(243,198,95,.3);
  color: var(--gold); font-size: 12px; font-weight: 700;
}
.countdown-badge.hidden { display: none; }
