/* =========================================================
   2026-10 改訂分（悩み系・作り直し意思決定系向け）
   既存の style.css / responsive.css は変更していません。
   元に戻すときは index.html から lp-update.css の読み込みを外し、
   旧 index.html に差し戻してください。
   ========================================================= */

/* ---------- FV：テキスト見出し ---------- */
.first-view--text .first-view__copy {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fv-title {
  margin: 0;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.fv-title__sub {
  display: block;
  font-size: 28px;
}

.fv-title__main {
  display: block;
  font-size: 40px;
}

.fv-title__main em {
  color: var(--color-gold-dark);
  font-style: normal;
  background: linear-gradient(transparent 72%, #fff0c2 72%);
}

.fv-lead {
  margin: 0;
  padding-top: 14px;
  color: var(--color-text);
  font-size: 17px;
  line-height: 1.75;
  border-top: 1px solid #c0cad9;
}

.fv-lead strong {
  color: var(--color-navy);
  font-weight: 700;
}

.fv-points {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fv-points li {
  position: relative;
  padding-left: 28px;
  color: var(--color-text);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
}

.fv-points li::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 20px;
  height: 20px;
  background: url("assets/icon-check-gold.svg") center / contain no-repeat;
}

.fv-points small {
  font-size: 14px;
  font-weight: 500;
}

.fv-credential {
  margin: 0;
  padding: 8px 12px;
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  background: #f4f6fa;
  border-left: 3px solid var(--color-gold);
}

.fv-credential b,
.fv-credential span {
  font-size: 13px;
  font-weight: 500;
}

.fv-price {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  margin: 0;
  color: var(--color-text);
  font-size: 16px;
  line-height: 1.5;
}

.fv-price b {
  color: var(--color-gold-dark);
  font-size: 20px;
}

.fv-price small {
  font-size: 13px;
}

.fv-price a {
  color: var(--color-navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fv-price a::after {
  content: " ↓";
}

.first-view--text .first-view__cta {
  width: 100%;
  margin-top: 4px;
}

.first-view--text .first-view__cta-label strong {
  margin-left: 0.2em;
}

/* ---------- 汎用 ---------- */
.process-step__body h3 small {
  font-size: 0.75em;
  font-weight: 500;
}

/* ---------- 無料相談でわかること ---------- */
.consult-detail {
  padding: 60px 20px;
  background: #fff;
}

.consult-detail__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
  width: min(960px, 100%);
  margin: 0 auto;
}

.consult-detail__lead {
  margin: 0;
  font-size: 18px;
  text-align: center;
}

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

.consult-detail__steps li {
  position: relative;
  padding: 44px 18px 20px;
  font-size: 15px;
  line-height: 1.7;
  background: #f9f7f4;
  border-top: 3px solid var(--color-navy);
  counter-increment: consult;
}

.consult-detail__steps li::before {
  content: counter(consult, decimal-leading-zero);
  position: absolute;
  top: 10px;
  left: 18px;
  color: var(--color-gold-dark);
  font-family: var(--font-latin);
  font-size: 26px;
  line-height: 1;
}

.consult-detail__steps b {
  display: block;
  margin-bottom: 6px;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: 18px;
}

.consult-detail__info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border: 2px solid var(--color-gold);
  border-radius: 5px;
  overflow: hidden;
}

.consult-detail__info div {
  display: flex;
  gap: 16px;
  padding: 14px 18px;
  border-bottom: 1px solid #eadfc0;
}

.consult-detail__info div:nth-child(odd) {
  border-right: 1px solid #eadfc0;
}

.consult-detail__info div:nth-last-child(-n+2) {
  border-bottom: 0;
}

.consult-detail__info dt {
  flex: 0 0 5em;
  color: var(--color-navy);
  font-weight: 700;
}

.consult-detail__info dd {
  margin: 0;
  line-height: 1.6;
}

.consult-detail__note {
  margin: 0;
  color: var(--color-gold-dark);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

/* ---------- 症例 ---------- */
.cases-section__heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  text-align: center;
}

.cases-section__heading p {
  margin: 0;
  font-size: 18px;
}

.cases-section__heading .cases-section__disclaimer {
  color: #555;
  font-size: 14px;
}

.case-card-lp {
  border: 1px solid #e6dfd2;
  border-radius: 5px;
}

.case-card-lp__comment {
  margin: 20px 30px 0;
}

.case-card-lp__photos figure img,
.case-card-lp__photos figure:last-child img {
  width: 360px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #eee;
}

.case-card-lp__photos .case-card-lp__arrow {
  margin-top: 110px;
}

.case-card-lp__facts > div {
  min-height: 0;
}

.case-card-lp__facts b span {
  display: inline;
  font-size: 14px;
}

.case-card-lp__facts small {
  font-size: 13px;
}

.case-cost-list {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.5;
}

.case-cost-list li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 2px 0;
  border-bottom: 1px dotted #ccc;
}

.case-cost-list em {
  font-family: var(--font-latin);
  font-size: 19px;
  font-style: normal;
}

.case-cost-list .is-total {
  padding-top: 4px;
  font-weight: 700;
  border-bottom: 0;
}

.case-cost-list .is-total em {
  color: var(--color-gold-dark);
  font-size: 24px;
}

.case-card-lp__detail-head {
  cursor: default;
}

.case-card-lp__risk-list {
  gap: 8px;
}

/* ---------- 費用 ---------- */
.fee-section {
  padding: 60px 20px;
  background: #f9f7f4;
}

.fee-section__inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: min(860px, 100%);
  margin: 0 auto;
}

.fee-section__lead {
  margin: 0;
  font-size: 18px;
  text-align: center;
}

.fee-section__lead b {
  color: var(--color-gold-dark);
}

.fee-block__title {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
  margin: 0 0 12px;
  padding-left: 10px;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  border-left: 3px solid var(--color-gold);
}

.fee-block__title small {
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
  background: #fff;
}

.fee-table th,
.fee-table td {
  padding: 12px 16px;
  text-align: left;
  vertical-align: middle;
  border: 1px solid #ddd;
}

.fee-table thead th {
  color: #fff;
  font-weight: 700;
  text-align: center;
  background: var(--color-navy);
  border-color: var(--color-navy);
}

.fee-table tbody th {
  width: 38%;
  font-weight: 600;
  background: #fbfaf7;
}

.fee-table tbody th small {
  font-size: 0.85em;
  font-weight: 500;
}

.fee-table td span {
  display: inline-block;
  margin-right: 18px;
  white-space: nowrap;
}

.fee-table td > small {
  display: block;
  color: #555;
  font-size: 13px;
}

.fee-table b {
  color: var(--color-gold-dark);
  font-size: 18px;
}

.fee-table--course tbody th {
  width: 30%;
}

.fee-table--course td {
  text-align: right;
}

.fee-section__notes {
  margin: 0;
  padding: 0;
  list-style: none;
  color: #444;
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- チーム体制 ---------- */
.team-box {
  width: min(1000px, 100%);
  margin: 40px auto 0;
  padding: 28px 30px;
  background: #f9f7f4;
  border-radius: 5px;
}

.team-box__title {
  margin: 0 0 16px;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  text-align: center;
}

.team-box__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  line-height: 1.6;
}

.team-box__list li {
  padding: 10px 14px;
  background: #fff;
  border-left: 3px solid var(--color-gold);
}

.team-box__list b {
  display: block;
  color: var(--color-navy);
}

/* ---------- 自由診療について ---------- */
.jiyu-section {
  padding: 40px 20px;
  background: #f4f6fa;
}

.jiyu-section__inner {
  width: min(860px, 100%);
  margin: 0 auto;
}

.jiyu-section h2 {
  margin: 0 0 14px;
  color: var(--color-navy);
  font-size: 18px;
  font-weight: 700;
}

.jiyu-section dl {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.jiyu-section dl div {
  display: flex;
  gap: 16px;
  padding: 8px 0;
  border-top: 1px solid #d5dbe6;
}

.jiyu-section dt {
  flex: 0 0 9em;
  font-weight: 700;
}

.jiyu-section dd {
  margin: 0;
}

/* =================== レスポンシブ =================== */
@media (max-width: 1180px) {
  .first-view--text .first-view__copy {
    width: min(650px, 100%);
    margin: 0 auto;
  }

  .first-view--text .first-view__title,
  .first-view--text .fv-title {
    margin-left: 0;
  }

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

  .case-card-lp__photos figure img,
  .case-card-lp__photos figure:last-child img {
    width: min(320px, 38vw);
  }

  .case-card-lp__photos .case-card-lp__arrow {
    margin-top: 80px;
  }
}

@media (max-width: 768px) {
  .first-view--text .first-view__copy {
    gap: 12px;
    padding: 22px 16px 0;
  }

  .first-view--text .station-badge {
    display: none;
  }

  .fv-title__sub {
    font-size: 21px;
  }

  .fv-title__main {
    font-size: clamp(25px, 7.4vw, 32px);
  }

  .fv-lead {
    padding-top: 12px;
    font-size: 15px;
    line-height: 1.7;
  }

  .fv-points li {
    font-size: 15px;
  }

  .fv-points li::before {
    top: 2px;
    width: 18px;
    height: 18px;
  }

  .fv-points small {
    font-size: 12px;
  }

  .fv-credential {
    font-size: 14px;
  }

  .fv-credential span {
    font-size: 12px;
  }

  .fv-price {
    font-size: 14px;
  }

  .fv-price b {
    font-size: 18px;
  }

  .first-view--text .first-view__cta {
    margin: 4px -16px 0;
    width: auto;
    padding: 16px;
  }

  .first-view--text .first-view__cta-label {
    font-size: 16px;
    letter-spacing: 0;
  }

  .first-view--text .first-view__cta-label strong {
    font-size: 19px;
  }

  .first-view--text .first-view__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .first-view--text .fv-button {
    width: 100%;
  }

  .first-view--text .first-view__image--lp2 {
    height: 200px;
  }

  .consult-detail,
  .fee-section {
    padding: 44px 16px;
  }

  .consult-detail__lead,
  .fee-section__lead,
  .cases-section__heading p {
    font-size: 15px;
    text-align: left;
  }

  .consult-detail__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }

  .consult-detail__steps li {
    padding: 14px 14px 14px 58px;
    font-size: 14px;
  }

  .consult-detail__steps li::before {
    top: 16px;
    left: 14px;
  }

  .consult-detail__steps b {
    font-size: 16px;
    margin-bottom: 2px;
  }

  .consult-detail__info {
    grid-template-columns: minmax(0, 1fr);
  }

  .consult-detail__info div,
  .consult-detail__info div:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid #eadfc0;
  }

  .consult-detail__info div:last-child {
    border-bottom: 0;
  }

  .consult-detail__info div {
    flex-direction: column;
    gap: 2px;
    padding: 10px 14px;
    font-size: 14px;
  }

  .consult-detail__info dt {
    flex: none;
  }

  .consult-detail__note {
    font-size: 16px;
  }

  .cases-section {
    padding: 44px 12px;
  }

  .case-card-lp__comment {
    margin: 14px 14px 0;
  }

  .case-card-lp__photos figure img,
  .case-card-lp__photos figure:last-child img {
    width: 100%;
    aspect-ratio: 3 / 2;
  }

  .case-card-lp__photos .case-card-lp__arrow {
    margin: 4px 0;
  }

  .case-card-lp__summary b,
  .case-card-lp__summary p:first-child b {
    font-size: 17px;
  }

  .case-card-lp__header > strong {
    flex-direction: row;
    gap: 8px;
    align-items: baseline;
    min-height: 0;
    padding: 10px 0;
    font-size: 34px;
    line-height: 1;
  }

  .case-card-lp__facts {
    padding: 0 14px 8px;
  }

  .case-card-lp__facts > div {
    padding: 12px 10px;
  }

  .case-card-lp__facts strong {
    line-height: 1.3;
  }

  .case-card-lp__details {
    padding: 4px 14px 18px;
  }

  .case-card-lp__detail-body,
  .case-card-lp__risk-list {
    font-size: 14px;
  }

  .fee-block__title {
    font-size: 19px;
  }

  .fee-table {
    font-size: 14px;
  }

  .fee-table th,
  .fee-table td {
    padding: 10px;
  }

  .fee-table tbody th {
    width: 40%;
  }

  .fee-table td span {
    display: block;
    margin-right: 0;
  }

  .fee-table b {
    font-size: 16px;
  }

  .fee-table--course thead th {
    font-size: 13px;
  }

  .fee-table--course tbody th {
    width: 32%;
  }

  .fee-section__notes {
    font-size: 13px;
  }

  .team-box {
    padding: 20px 14px;
  }

  .team-box__title {
    font-size: 18px;
  }

  .team-box__list {
    grid-template-columns: minmax(0, 1fr);
    font-size: 14px;
  }

  .jiyu-section {
    padding: 32px 16px;
  }

  .jiyu-section dl div {
    flex-direction: column;
    gap: 2px;
  }

  .jiyu-section dt {
    flex: none;
  }
}

/* ---------- 追加調整（スマホの読みやすさ） ---------- */
.fv-credential span {
  display: inline-block;
  margin-right: 1em;
}

@media (max-width: 768px) {
  main .first-view--text .fv-lead,
  main .first-view--text .fv-price,
  main .first-view--text .fv-credential {
    text-align: left;
  }

  .case-card-lp__summary {
    gap: 6px;
  }

  .case-card-lp__summary p {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .case-card-lp__summary span {
    font-size: 13px;
    padding: 3px 8px;
  }

  .case-card-lp__photos {
    flex-direction: row;
    gap: 6px;
    align-items: center;
    padding: 14px;
  }

  .case-card-lp__photos figure {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
  }

  .case-card-lp__photos figcaption {
    padding: 3px;
    font-size: 18px;
    line-height: 20px;
  }

  .case-card-lp__arrow,
  .case-card-lp__photos .case-card-lp__arrow {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin: 20px 0 0;
    transform: none;
  }
}

@media (max-width: 420px) {
  .case-card-lp__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-card-lp__facts > .case-card-lp__cost {
    grid-column: 1 / -1;
  }

  .case-card-lp__facts b {
    font-size: 16px;
  }

  .case-card-lp__facts .case-card-lp__treatment span {
    font-size: 17px;
  }

  .case-card-lp__facts strong em {
    font-size: 30px;
  }
}

/* 症例写真：治療前・治療後を同じ大きさ（3:2）でそろえる */
.case-card-lp .case-card-lp__photos figure:first-child img,
.case-card-lp .case-card-lp__photos figure:last-child img {
  width: 360px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

@media (max-width: 1180px) {
  .case-card-lp .case-card-lp__photos figure:first-child img,
  .case-card-lp .case-card-lp__photos figure:last-child img {
    width: min(320px, 38vw);
  }
}

@media (max-width: 768px) {
  .case-card-lp .case-card-lp__photos figure:first-child img,
  .case-card-lp .case-card-lp__photos figure:last-child img {
    width: 100%;
  }
}

/* =========================================================
   2026-10-30 修正分
   ========================================================= */

/* FV写真：院長と入れ歯が見える位置で切り抜く */
.first-view--text .first-view__image--lp2 img {
  object-position: 45% 30%;
}

.fv-price a::after {
  content: " ↓";
}

/* 予約エリア：「相談無料」を目立たせる */
.consult-cta__free {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 6px 22px 6px 6px;
  color: var(--color-navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  background: var(--color-white);
  border-radius: 40px;
}

.consult-cta__free b {
  padding: 6px 16px;
  color: var(--color-navy);
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.06em;
  background: var(--color-yellow);
  border-radius: 40px;
}

/* 路線図（Googleマップのすぐ下） */
.access-section .access-map {
  height: auto;
  overflow: visible;
}

.access-section .access-map iframe {
  height: 395px;
}

.route-map {
  width: 100%;
  margin: 0 0 16px;
}

.route-map img {
  width: 100%;
  height: auto;
}

/* スマホ固定ボタン：アイコンなし・「無料相談」入り */
.floating-cta-sp__free {
  display: block;
  margin-bottom: 4px;
  padding: 1px 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  background: rgb(255 255 255 / 75%);
  border-radius: 20px;
}

@media (max-width: 768px) {
  .floating-cta-sp__button {
    padding: 6px 0 8px;
  }

  .consult-cta__free {
    gap: 8px;
    padding-right: 14px;
    font-size: 13px;
  }

  .consult-cta__free b {
    padding: 4px 12px;
    font-size: 19px;
  }

  /* 表をスマホでは項目ごとのカードに組み替え、横スクロールをなくす */
  .comparison-panel .table-scroll {
    overflow: visible;
  }

  .comparison-panel .comparison-table,
  .comparison-panel .comparison-table tbody,
  .comparison-panel .comparison-table tr,
  .comparison-panel .comparison-table th,
  .comparison-panel .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-panel .comparison-table {
    font-size: 15px;
  }

  .comparison-panel .comparison-table thead {
    display: none;
  }

  .comparison-panel .comparison-table tr {
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid #ccc;
    border-radius: 5px;
  }

  .comparison-panel .comparison-table tbody th,
  .comparison-panel .comparison-table tbody td {
    padding: 10px 14px;
    border: 0;
    border-radius: 0;
  }

  .comparison-panel .comparison-table tbody th {
    color: var(--color-white);
    font-weight: 700;
    background: var(--color-navy);
  }

  .comparison-panel .comparison-table tbody td + td {
    border-top: 1px solid #ddd;
  }

  .comparison-panel .comparison-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: #666;
    font-size: 12px;
    font-weight: 700;
  }

  .comparison-panel .comparison-table td.highlight[data-label]::before {
    color: var(--color-gold-dark);
  }

  /* 原因の表：「原因」を見出し風に */
  .comparison-panel .cause-table td:first-child {
    font-weight: 700;
    background: #f4f6fa;
  }

  .access-section .access-map iframe {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .comparison-panel.comparison-panel--cause .comparison-table,
  .comparison-panel.comparison-panel--cause .comparison-table td,
  .comparison-panel .comparison-table tbody th {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 768px) {
  .comparison-panel .comparison-table tbody th,
  .comparison-panel .comparison-table tbody td {
    min-height: 0;
    height: auto;
  }
}
