/* ============================================================
   jikochat-sample3 — 交通事故チャットLP v2（画像中心デザイン）
   palette: navy #17355A / blue #2D6FB5 / sky #EAF3FB / orange #F5771E
   ============================================================ */

:root {
  --navy: #17355A;
  --navy-deep: #0F2540;
  --blue: #2D6FB5;
  --sky: #EAF3FB;
  --sky-deep: #D6E7F5;
  --orange: #F5771E;
  --orange-deep: #CC5A08;
  --amber: #FFB400;
  --ink: #26313D;
  --soft: #5A6B7C;
  --paper: #ffffff;
  --line: #E2EBF4;
  --marker: #FFDCB0;
  --radius: 20px;
  --shadow: 0 2px 10px rgba(23, 53, 90, .07);
  --shadow-lg: 0 6px 24px rgba(23, 53, 90, .12);
  /* thanks.html 互換エイリアス */
  --header-bg: var(--blue);
  --header-bg-deep: var(--navy);
  --accent: var(--orange);
  --text: var(--ink);
  --text-soft: var(--soft);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
  background: #F4F8FC;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
mark {
  background: linear-gradient(transparent 62%, var(--marker) 62%);
  color: inherit;
  font-weight: 900;
  padding: 0 1px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

.wrap { max-width: 560px; margin: 0 auto; padding: 0 18px; }

/* ---------- topbar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  max-width: 560px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
}
.topbar__logo { display: flex; flex-direction: column; line-height: 1.3; }
.topbar__name { font-size: 15px; font-weight: 900; color: var(--navy); letter-spacing: .02em; }
.topbar__sub { font-size: 10.5px; font-weight: 700; color: var(--blue); letter-spacing: .08em; }
.topbar__chip {
  margin-left: auto;
  background: var(--orange); color: #fff;
  font-size: 11px; font-weight: 900;
  padding: 5px 11px; border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(245, 119, 30, .35);
}

/* ---------- progress ---------- */
.progress {
  position: sticky; top: 49px; z-index: 55;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  padding: 8px 0 0;
  box-shadow: 0 4px 12px rgba(23, 53, 90, .06);
}
.progress__label {
  max-width: 560px; margin: 0 auto; padding: 0 18px 6px;
  display: flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 900; letter-spacing: .18em; color: var(--blue);
}
.progress__dots { display: flex; gap: 6px; }
.dot {
  width: 22px; height: 22px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; letter-spacing: 0;
  background: var(--sky); color: #9FB4C9;
  font-family: 'Zen Maru Gothic', sans-serif;
  transition: background .3s, color .3s, transform .3s;
}
.dot--active { background: var(--orange); color: #fff; transform: scale(1.15); }
.dot--done { background: var(--navy); color: #fff; }
.progress__bar { height: 4px; background: var(--sky); }
.progress__fill {
  height: 100%; width: 20%;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  transition: width .6s cubic-bezier(.4, 0, .2, 1);
}

/* ---------- steps ---------- */
.step { display: none; }
.step--active { display: block; animation: stepIn .55s cubic-bezier(.25, .8, .3, 1) both; }
@keyframes stepIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .step--active { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, var(--sky-deep), #F4F8FC 88%); padding-bottom: 8px; }
.hero__imgwrap { max-width: 640px; margin: 0 auto; position: relative; }
.hero__imgwrap img { width: 100%; }
.hero__imgwrap::after {
  content: ''; position: absolute; inset: auto 0 0;
  height: 46px;
  background: linear-gradient(180deg, transparent, #F4F8FC);
}
.hero__card {
  position: relative; z-index: 2;
  max-width: 524px;
  margin: -52px auto 0;
  background: var(--paper);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  padding: 26px 22px 24px;
  text-align: center;
}
.hero__eyebrow {
  display: inline-block;
  font-size: 12.5px; font-weight: 900; letter-spacing: .14em;
  color: var(--blue);
  border-top: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  padding: 3px 12px; margin-bottom: 12px;
}
.hero__title {
  font-size: 24px; font-weight: 900; line-height: 1.5;
  color: var(--navy); letter-spacing: .01em;
}
.hero__title mark { background: linear-gradient(transparent 62%, var(--marker) 62%); }
.hero__lead { margin-top: 12px; font-size: 13.5px; color: var(--soft); }
.hero__badges {
  list-style: none;
  display: flex; justify-content: center; gap: 10px;
  margin: 18px 0 4px;
}
.hero__badges li {
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--sky);
  border: 2px solid var(--sky-deep);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px;
  font-size: 10.5px; font-weight: 700; color: var(--navy); line-height: 1.35;
}
.hero__badges strong {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 17px; font-weight: 900; color: var(--orange); line-height: 1.2;
}
.hero__cue { margin-top: 16px; font-size: 13px; font-weight: 900; color: var(--navy); }
.hero__cue-arrow {
  width: 34px; height: 34px; margin: 8px auto 0;
  border-radius: 50%;
  background: var(--orange); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  animation: bob 1.6s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .hero__cue-arrow { animation: none; } }

/* ---------- doctor note（院長コメント） ---------- */
.doc-note {
  max-width: 560px; margin: 20px auto 0; padding: 0 18px;
  display: flex; gap: 12px; align-items: flex-start;
}
.doc-note__avatar {
  flex: 0 0 52px; width: 52px; height: 52px;
  border-radius: 50%; overflow: hidden;
  border: 3px solid #fff; box-shadow: var(--shadow);
}
.doc-note__avatar img { width: 100%; height: 100%; object-fit: cover; }
.doc-note__body {
  flex: 1;
  background: var(--paper);
  border-radius: 4px 18px 18px 18px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  font-size: 14px;
}
.doc-note__name {
  font-size: 11px; font-weight: 900; color: var(--blue);
  letter-spacing: .06em; margin-bottom: 4px;
}
.doc-note__body p + p { margin-top: 8px; }

/* ---------- question card ---------- */
.qcard {
  position: relative;
  max-width: 524px;
  margin: 34px auto 0;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 34px 20px 22px;
}
.qcard::before {
  content: ''; position: absolute; inset: 0 0 auto;
  height: 6px; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(90deg, var(--blue), var(--navy));
}
.qcard__tab {
  position: absolute; top: -16px; left: 18px;
  background: var(--navy); color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 12px; font-weight: 900; letter-spacing: .16em;
  padding: 6px 16px; border-radius: 999px;
  box-shadow: 0 3px 8px rgba(15, 37, 64, .3);
}
.qcard__tab span { color: var(--amber); font-size: 14px; margin-left: 2px; }
.qcard__img { border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
.qcard__q { font-size: 16.5px; font-weight: 900; line-height: 1.65; color: var(--navy); }
.qcard__note { font-size: 12px; color: var(--soft); margin-top: 4px; }

/* ---------- choices ---------- */
.choices { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.choice {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  width: 100%;
  text-align: left;
  background: #FBFDFF;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 13px 40px 13px 14px;
  font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.55;
  transition: border-color .2s, background .2s, transform .1s;
}
.choice:active { transform: scale(.985); }
.choice__icon {
  flex: 0 0 48px; width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--sky);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(23, 53, 90, .12);
}
.choice__icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.choice::after {
  content: ''; position: absolute; right: 14px; top: 50%;
  width: 10px; height: 10px;
  border-top: 2.5px solid #B9C9D9; border-right: 2.5px solid #B9C9D9;
  transform: translateY(-50%) rotate(45deg);
  transition: border-color .2s;
}
.choice.selected {
  border-color: var(--orange);
  background: #FFF6ED;
}
.choice.selected::after {
  width: 14px; height: 8px;
  border: 0;
  border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange);
  transform: translateY(-70%) rotate(-45deg);
}
.choices.disabled .choice { pointer-events: none; }
.choices.disabled .choice:not(.selected) { opacity: .45; }

/* チェック式（複数選択・1列） */
.choice--check::after {
  content: ''; width: 22px; height: 22px;
  border: 2px solid #C4D2E0; border-radius: 7px;
  background: #fff;
  transform: translateY(-50%);
  transition: background .2s, border-color .2s;
}
.choice--check.selected::after {
  border: 2px solid var(--orange);
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5 10 18 20 6'/%3E%3C/svg%3E") center/14px no-repeat;
  transform: translateY(-50%);
}

/* タイル式（縦2列グリッド・最終質問） */
.choices--grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choice--tile {
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  text-align: center;
  padding: 18px 10px 14px;
  font-size: 12.5px; line-height: 1.5;
  border-radius: 16px;
}
.choice--tile .choice__icon {
  width: 72px; height: 72px; flex: none;
  font-size: 26px;
  border-radius: 22px;
  transition: background .2s, box-shadow .2s;
}
.choice--tile.selected .choice__icon { background: #FFE3C7; box-shadow: 0 0 0 3px var(--orange); }
.choice--tile::after {
  top: 10px; right: 10px;
  width: 22px; height: 22px;
  border: 2px solid #C4D2E0; border-radius: 50%;
  background: #fff;
  transform: none;
}
.choice--tile.selected::after {
  border-color: var(--orange);
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5 10 18 20 6'/%3E%3C/svg%3E") center/13px no-repeat;
  transform: none;
}

/* 回答チップ */
.answer-chip {
  margin: 12px 0 0 auto;
  max-width: 90%;
  width: fit-content;
  background: var(--navy);
  color: #fff;
  border-radius: 16px 4px 16px 16px;
  padding: 10px 14px;
  font-size: 13px; font-weight: 700; line-height: 1.6;
  white-space: pre-line;
  animation: stepIn .35s ease both;
}
.answer-chip::before {
  content: 'あなたの回答';
  display: block;
  font-size: 10px; font-weight: 900; letter-spacing: .12em;
  color: var(--amber);
  margin-bottom: 2px;
}

/* confirm */
.confirm-btn {
  display: block; width: 100%;
  margin-top: 16px;
  background: linear-gradient(180deg, #FF8A33, var(--orange));
  color: #fff;
  font-size: 16px; font-weight: 900; letter-spacing: .04em;
  padding: 16px;
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--orange-deep);
  transition: transform .1s, box-shadow .1s, opacity .2s;
}
.confirm-btn:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--orange-deep); }
.confirm-btn:disabled {
  background: #C9D5E0; box-shadow: 0 4px 0 #AAB9C7;
  opacity: .8; cursor: not-allowed;
}

/* reveal loader（次のセクションが届くまでのドット） */
.reveal-loader {
  max-width: 560px; margin: 22px auto 0; padding: 0 18px;
  display: flex; gap: 6px; align-items: center;
}
.reveal-loader span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--blue); opacity: .3;
  animation: blink 1s infinite;
}
.reveal-loader span:nth-child(2) { animation-delay: .18s; }
.reveal-loader span:nth-child(3) { animation-delay: .36s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: .9; } }

/* ---------- lesson（教育セクション） ---------- */
.lesson {
  margin-top: 36px;
  background: var(--paper);
  padding: 36px 0 40px;
}
.lesson--sky { background: linear-gradient(180deg, var(--sky), #fff); }
.lesson__eyebrow {
  text-align: center;
  font-size: 11.5px; font-weight: 900; letter-spacing: .22em;
  color: var(--orange);
  margin-bottom: 8px;
}
.lesson__title {
  text-align: center;
  font-size: 21px; font-weight: 900; line-height: 1.55;
  color: var(--navy);
  margin-bottom: 6px;
}
.lesson__title .u {
  background: linear-gradient(transparent 64%, var(--marker) 64%);
}
.lesson__lead { text-align: center; font-size: 13.5px; color: var(--soft); margin-bottom: 20px; }
.lesson__img { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 18px; }

.zero-strip {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--navy);
  border-radius: 16px;
  padding: 18px 16px;
  color: #fff;
  margin-bottom: 18px;
}
.zero-strip__label { font-size: 13.5px; font-weight: 900; line-height: 1.6; text-align: left; }
.zero-strip__num {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 46px; font-weight: 900; color: var(--amber); line-height: 1;
}
.zero-strip__num small { font-size: 20px; }
.zero-strip__note { font-size: 10.5px; color: #B8C9DC; display: block; margin-top: 2px; font-weight: 500; }

.vs-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-bottom: 6px;
}
.vs-card {
  background: #fff;
  border: 2px solid var(--sky-deep);
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
}
.vs-card--main { border-color: var(--orange); background: #FFF9F3; }
.vs-card__icon { font-size: 30px; line-height: 1; }
.vs-card__name { font-size: 14.5px; font-weight: 900; color: var(--navy); margin: 6px 0 2px; }
.vs-card__role { font-size: 12px; color: var(--soft); line-height: 1.65; }
.vs-plus {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12.5px; font-weight: 900; color: var(--blue);
  margin: -2px 0;
}
.vs-caption { font-size: 12.5px; color: var(--soft); text-align: center; margin-top: 10px; }

.quote-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.quote {
  background: #fff;
  border-left: 4px solid var(--amber);
  border-radius: 6px 14px 14px 6px;
  box-shadow: var(--shadow);
  padding: 12px 14px;
  font-size: 13px; line-height: 1.7;
}
.quote strong { color: var(--navy); }

.lesson-point {
  background: #fff;
  border: 2px solid var(--sky-deep);
  border-radius: 16px;
  padding: 16px;
  margin-top: 16px;
}
.lesson-point__title {
  font-size: 14px; font-weight: 900; color: var(--navy);
  display: flex; gap: 8px; align-items: center;
  margin-bottom: 8px;
}
.check-list { list-style: none; }
.check-list li {
  position: relative;
  padding: 4px 0 4px 26px;
  font-size: 13.5px;
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 9px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5 10 18 20 6'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* ---------- result / strengths ---------- */
.result-hero {
  background: linear-gradient(180deg, var(--sky-deep), #F4F8FC);
  text-align: center;
  padding: 34px 18px 10px;
}
.result-hero__badge {
  display: inline-block;
  font-family: 'Zen Maru Gothic', sans-serif;
  background: var(--orange); color: #fff;
  font-size: 13px; font-weight: 900; letter-spacing: .1em;
  padding: 6px 18px; border-radius: 999px;
  margin-bottom: 10px;
}
.result-hero__title { font-size: 21px; font-weight: 900; color: var(--navy); line-height: 1.55; }

.strength-cards {
  max-width: 524px;
  margin: 18px auto 0;
  padding: 0 18px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.strength-card {
  display: none;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px 12px;
  text-align: center;
}
.strength-card.show { display: block; animation: stepIn .5s ease both; }
.strength-card__icon {
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; margin: 0 auto 8px;
  border-radius: 50%;
  background: var(--sky);
  font-size: 25px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(23, 53, 90, .12);
}
.strength-card__icon img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.strength-card__title { font-size: 13px; font-weight: 900; color: var(--navy); line-height: 1.5; margin-bottom: 4px; }
.strength-card__text { font-size: 11.5px; color: var(--soft); line-height: 1.65; }

/* ---------- section title ---------- */
.section-title {
  max-width: 560px;
  margin: 44px auto 18px;
  padding: 0 18px;
  text-align: center;
  font-size: 19px; font-weight: 900; line-height: 1.55;
  color: var(--navy);
}
.section-title::after {
  content: '';
  display: block;
  width: 46px; height: 4px;
  margin: 10px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--amber), var(--orange));
}

/* ---------- offer ---------- */
.offer {
  max-width: 560px;
  margin: 40px auto 0;
  padding: 0 14px;
}
.offer__band {
  background: linear-gradient(175deg, #FFFDF8, #FFF3E2);
  border: 2px solid #F6C286;
  border-radius: 26px;
  padding: 30px 16px 22px;
  box-shadow: var(--shadow-lg);
}
.offer__title {
  text-align: center;
  color: var(--navy);
  font-size: 23px; font-weight: 900; line-height: 1.5;
  margin-bottom: 8px;
}
.offer__title mark { background: linear-gradient(transparent 62%, rgba(255, 180, 0, .45) 62%); color: var(--navy); }
.offer__lead { text-align: center; color: var(--soft); font-size: 13px; margin-bottom: 16px; }
.offer__form-card {
  background: #fff;
  border: 1.5px solid #F3DDBE;
  border-radius: 18px;
  padding: 18px 14px 16px;
  box-shadow: 0 2px 10px rgba(214, 158, 84, .10);
}
.offer__note { text-align: center; font-size: 11.5px; color: var(--soft); margin-top: 12px; line-height: 1.7; }
.offer__list {
  list-style: none;
  margin: 14px 4px 0;
  color: var(--ink); font-size: 13px;
}
.offer__list li { padding: 3px 0; }
.offer__list strong { color: var(--orange-deep); }

.sample-form-note {
  margin-top: 14px;
  background: #fff;
  border: 1.5px dashed var(--amber);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 12px; color: #7A5B12; line-height: 1.7;
}

/* ---------- contact wizard ---------- */
.contact-chat__step { display: none; }
.contact-chat__step--active { display: block; animation: stepIn .35s ease both; }
.contact-q {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 10px;
}
.contact-q__avatar {
  flex: 0 0 40px; width: 40px; height: 40px;
  border-radius: 50%; overflow: hidden;
}
.contact-q__avatar img { width: 100%; height: 100%; object-fit: cover; }
.contact-q__text { font-size: 13.5px; font-weight: 700; line-height: 1.65; padding-top: 5px; }
.contact-q__text small { font-weight: 500; color: var(--soft); font-size: 11.5px; }
.contact-field { display: flex; flex-direction: column; gap: 10px; }
.contact-input {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 16px;
  font-family: inherit;
  background: #FBFDFF;
  transition: border-color .2s;
}
.contact-input:focus { outline: none; border-color: var(--orange); background: #fff; }
.contact-input--area { resize: vertical; }
.contact-next {
  background: linear-gradient(180deg, #FF8A33, var(--orange));
  color: #fff;
  font-size: 15px; font-weight: 900;
  padding: 14px;
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--orange-deep);
  transition: transform .1s, box-shadow .1s;
}
.contact-next:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--orange-deep); }
.appointment-options {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
}
.appointment-option {
  border: 2px solid var(--line);
  border-radius: 12px;
  background: #FBFDFF;
  padding: 10px 6px;
  display: flex; flex-direction: column; gap: 1px;
  font-size: 13px; font-weight: 900; color: var(--navy);
  transition: border-color .2s, background .2s;
}
.appointment-option__time { font-size: 12px; font-weight: 700; color: var(--soft); }
.appointment-option.selected {
  border-color: var(--orange);
  background: #FFF6ED;
}
.appointment-option.selected .appointment-option__time { color: var(--orange-deep); }
.contact-chat .answer-chip { border-radius: 14px; }
.contact-chat .msg--user { display: flex; justify-content: flex-end; }

/* ---------- CTA buttons ---------- */
.cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%;
  padding: 16px 14px;
  margin-top: 12px;
  border-radius: 999px;
  font-size: 16.5px; font-weight: 900;
  color: #fff; text-decoration: none;
  transition: transform .1s, box-shadow .1s;
}
.cta-btn--tel { background: linear-gradient(180deg, #3D82C9, var(--blue)); box-shadow: 0 4px 0 var(--navy); }
.cta-btn:active { transform: translateY(3px); box-shadow: none; }

/* ---------- facility ---------- */
.facility {
  max-width: 524px; margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.facility__img img { width: 100%; }
.facility__body { padding: 18px 18px 20px; font-size: 14px; }
.facility__body p + p { margin-top: 8px; }

/* ---------- voices ---------- */
.voices { max-width: 524px; margin: 0 auto; padding: 0 0 4px; display: flex; flex-direction: column; gap: 12px; }
.voice {
  background: var(--paper);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.voice__stars { color: var(--amber); font-size: 14px; letter-spacing: 2px; margin-bottom: 4px; }
.voice__title { font-size: 14.5px; font-weight: 900; color: var(--navy); line-height: 1.55; margin-bottom: 6px; }
.voice p { font-size: 13px; color: var(--ink); }
.voice small { color: var(--soft); }
.voices__note { font-size: 11.5px; color: var(--soft); line-height: 1.7; }

/* ---------- flow ---------- */
.flow { max-width: 524px; margin: 0 auto; position: relative; }
.flow__step {
  position: relative;
  display: flex; gap: 14px;
  padding: 0 0 22px 0;
}
.flow__step::before {
  content: ''; position: absolute; left: 21px; top: 44px; bottom: 0;
  width: 3px; background: var(--sky-deep);
}
.flow__step:last-child::before { display: none; }
.flow__num {
  flex: 0 0 44px; width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy); color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 19px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 0 0 4px #F4F8FC;
}
.flow__body {
  flex: 1;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px 15px;
  font-size: 13.5px; line-height: 1.7;
}
.flow__body strong { color: var(--navy); font-size: 14.5px; }

/* ---------- pricing / 補償 ---------- */
.pricing {
  max-width: 524px; margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pricing__img img { width: 100%; }
.pricing__body { padding: 18px; }
.pricing__title {
  text-align: center;
  font-size: 15.5px; font-weight: 900; color: var(--navy); line-height: 1.7;
  margin-bottom: 12px;
}
.pricing__price {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--orange); font-size: 27px;
}
.pricing__tax { font-size: 11.5px; color: var(--soft); font-weight: 500; }
.pricing__list { list-style: none; }
.pricing__list li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 13.5px;
  border-bottom: 1px dashed var(--line);
}
.pricing__list li:last-child { border-bottom: 0; }
.pricing__list li::before {
  content: ''; position: absolute; left: 0; top: 13px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='4' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5 10 18 20 6'/%3E%3C/svg%3E") center/10px no-repeat;
}
.pricing__desc { margin-top: 10px; font-size: 12.5px; color: var(--soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 524px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq__item {
  background: var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex; align-items: center; gap: 10px;
  text-align: left;
  padding: 14px 16px;
  font-size: 13.5px; font-weight: 900; color: var(--navy); line-height: 1.6;
}
.faq__q::before {
  content: 'Q';
  flex: 0 0 24px; width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--blue); color: #fff;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 13px; font-weight: 900;
  display: inline-flex; align-items: center; justify-content: center;
}
.faq__icon {
  margin-left: auto;
  color: var(--orange); font-size: 17px; font-weight: 900;
  transition: transform .25s;
}
.faq__item.open .faq__icon { transform: rotate(45deg); }
.faq__a {
  display: none;
  padding: 0 16px 14px 50px;
  font-size: 13px; color: var(--ink); line-height: 1.75;
}
.faq__item.open .faq__a { display: block; }

/* ---------- doctor ---------- */
.doctor {
  max-width: 524px; margin: 0 auto;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px 20px;
  text-align: center;
}
.doctor__avatar {
  width: 200px; height: 200px;
  margin: 0 auto 12px;
  border-radius: 18px;
  overflow: hidden;
}
.doctor__avatar img { width: 100%; height: 100%; object-fit: cover; }
.doctor__name { font-size: 17px; font-weight: 900; color: var(--navy); margin-bottom: 10px; }
.doctor__role { font-size: 12px; color: var(--soft); font-weight: 500; }
.doctor p { text-align: left; font-size: 13.5px; margin-top: 8px; }

/* ---------- final CTA ---------- */
.cta-area--final {
  margin-top: 44px;
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  padding: 36px 14px 40px;
}
.cta-area__headline {
  text-align: center;
  color: #fff;
  font-size: 22px; font-weight: 900; line-height: 1.6;
  margin-bottom: 18px;
}
.cta-area__headline mark { background: linear-gradient(transparent 62%, rgba(255, 180, 0, .5) 62%); color: #fff; }
.cta-form-card {
  max-width: 524px; margin: 0 auto;
  background: #fff;
  border-radius: 18px;
  padding: 18px 14px 16px;
}
.cta-area--final .cta-btn { max-width: 524px; margin: 14px auto 0; }
.cta-area__hours { text-align: center; color: #B8C9DC; font-size: 12px; margin-top: 14px; line-height: 1.8; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #C7D5E4; }
.site-footer__inner {
  max-width: 560px; margin: 0 auto;
  padding: 26px 18px 18px;
  text-align: center;
}
.site-footer__name { font-size: 15px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.site-footer__addr { font-size: 12px; line-height: 1.9; }
.site-footer__legal { margin-top: 10px; font-size: 12px; }
.site-footer__legal a { color: #9FC0DF; }
.site-footer__copy { margin-top: 10px; font-size: 11px; color: #7E93A9; }

/* ---------- sticky CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: -80px;
  z-index: 70;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  box-shadow: 0 -4px 16px rgba(23, 53, 90, .12);
  transition: bottom .4s cubic-bezier(.4, 0, .2, 1);
}
.sticky-cta.show { bottom: 0; }
.sticky-cta__btn {
  display: flex; align-items: center; justify-content: center;
  max-width: 524px; margin: 0 auto;
  background: linear-gradient(180deg, #FF8A33, var(--orange));
  color: #fff; text-decoration: none;
  font-size: 15.5px; font-weight: 900;
  padding: 14px;
  border-radius: 999px;
  box-shadow: 0 4px 0 var(--orange-deep);
}

/* ---------- misc ---------- */
.timestamp { text-align: center; margin: 24px 0 0; }
.timestamp span {
  display: inline-block;
  background: var(--sky-deep);
  color: var(--navy);
  font-size: 11.5px; font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}

@media (min-width: 640px) {
  .hero__title { font-size: 27px; }
  .choice--tile { font-size: 13px; }
}

/* ---------- 希望日 2段ピッカー（日にち → 時間帯） ---------- */
.appointment-band-head {
  grid-column: 1 / -1;
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 2px;
}
.appointment-back {
  align-self: flex-start;
  border: 0; background: transparent; padding: 2px 0;
  font-size: 12.5px; font-weight: 800; color: var(--orange-deep); cursor: pointer;
}
.appointment-back:active { transform: translateY(1px); }
.appointment-band-date { font-size: 12.5px; font-weight: 800; color: var(--navy); }
