@charset "UTF-8";
/* ============================================================
   exam.css
   検査説明ページ（/exam/）専用追加スタイル（最小限）
   ※ common.css / performance.css を前提とし、不足分のみ定義する。
   デザインルール: 対応資料/exam作成/_design/デザインルール_検査説明ページ_v1.md
   ============================================================ */

/* ダークモード自動反転の防止（共通実装指示書3.2） */
:root {
  color-scheme: light only;
}

/* ----------------------------------------
   本文コンテンツ列（読みやすい幅に制限）
---------------------------------------- */
.exam-content {
  margin: 0 auto;
}

.exam-content > p {
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.85;
  color: #444;
  margin-bottom: 1.5em;
}

.exam-content > p:last-child {
  margin-bottom: 0;
}

/* 本文内の箇条書き（pf-symptom-list と同トーン） */
.exam-list {
  margin: 0 auto 20px;
}

.exam-list li {
  position: relative;
  padding-left: 20px;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.85;
  color: #444;
  margin-bottom: 8px;
}

.exam-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #53a4a9;
}

/* ※注記 */
.exam-note {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
  color: #666;
  margin-top: 12px;
}

/* ----------------------------------------
   図版（SVG inline・SP横スクロール）
---------------------------------------- */
.exam-figure {
  max-width: 880px;
  margin: 32px auto 40px;
}

.exam-figure-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  background: #fff;
}

.exam-figure-inner {
  /* min-width は PHP 側で図版ごとに指定（SPで画面幅に縮小しない） */
  padding: 8px;
}

.exam-figure-hint {
  font-size: 1.2rem;
  color: #888;
  text-align: left;
  margin-top: 6px;
}

/* PCではヒント非表示（only_sp は common.css 定義だが念のため） */
@media screen and (min-width: 768px) {
  .exam-figure-hint {
    display: none;
  }
}

.exam-figure-caption {
  display: block;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #666;
  margin-top: 10px;
}

.exam-figure-caption span {
  display: block;
}

.exam-figure-source {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #999;
  margin-top: 6px;
}

/* ----------------------------------------
   価格の強調枠
---------------------------------------- */
.exam-price-box {
  max-width: 880px;
  margin: 0 auto 24px;
  background: #f0f7f7;
  border: 1px solid #cfe4e5;
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
}

.exam-price-box-label {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #477a7e;
  margin-bottom: 6px;
}

.exam-price-box-value {
  font-size: 3.2rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
}

.exam-price-box-value small {
  font-size: 1.5rem;
  font-weight: 500;
  color: #555;
  margin-left: 4px;
}

/* ----------------------------------------
   参考文献
---------------------------------------- */
.exam-references-section {
  padding: 48px 0 8px;
  border-top: 1px solid #e6e6e6;
}

.exam-references-title {
  margin: 0 auto 16px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a1a1a;
}

.exam-references {
  margin: 0 auto;
  counter-reset: exam-ref;
}

.exam-references li {
  counter-increment: exam-ref;
  position: relative;
  padding-left: 28px;
  font-size: 1.3rem;
  line-height: 1.8;
  color: #666;
  margin-bottom: 6px;
}

.exam-references li::before {
  content: counter(exam-ref) '.';
  position: absolute;
  left: 0;
  color: #53a4a9;
  font-weight: 700;
}

/* ----------------------------------------
   監修・最終更新日／免責
---------------------------------------- */
.exam-supervision {
  padding: 20px 0 0;
}

.exam-supervision .container,
.exam-disclaimer .container {
  max-width: 1200px;
}

.exam-supervision-name,
.exam-supervision-date {
  font-size: 1.4rem;
  line-height: 1.9;
  color: #444;
}

.exam-supervision-name a {
  color: #53a4a9;
  text-decoration: underline;
}

.exam-disclaimer {
  padding: 24px 0 64px;
}

.exam-disclaimer p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #999;
}

/* ----------------------------------------
   一覧ページ（/exam/）カード
---------------------------------------- */
.exam-index-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.exam-card {
  display: block;
  background: #fff;
  border: 1px solid #e0e8e4;
  border-radius: 10px;
  padding: 28px 26px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  color: inherit;
}

.exam-card:hover {
  box-shadow: 0 8px 24px rgba(83, 164, 169, 0.16);
  transform: translateY(-3px);
  color: inherit;
  opacity: 1;
}

.exam-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.exam-card-tag {
  display: inline-block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #477a7e;
  background: #f0f7f7;
  border-radius: 2px;
  padding: 3px 8px;
  line-height: 1.5;
}

.exam-card-name {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 10px;
}

.exam-card-lead {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
  color: #555;
  margin-bottom: 16px;
}

.exam-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee;
  padding-top: 14px;
}

.exam-card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

.exam-card-price small {
  font-size: 1.2rem;
  font-weight: 500;
  color: #777;
  margin-left: 2px;
}

.exam-card-more {
  font-size: 1.3rem;
  font-weight: 700;
  color: #53a4a9;
}

.exam-card-more i {
  margin-left: 4px;
  font-size: 1.1rem;
}

/* ----------------------------------------
   SP（〜767px）
---------------------------------------- */
@media screen and (max-width: 767px) {
  .exam-content,
  .exam-list,
  .exam-figure,
  .exam-price-box,
  .exam-references-title,
  .exam-references,
  .exam-supervision-name,
  .exam-supervision-date,
  .exam-disclaimer p {
    max-width: 100%;
  }

  .exam-content > p,
  .exam-list li {
    font-size: 1.5rem;
  }

  .exam-price-box-value {
    font-size: 2.8rem;
  }

  .exam-index-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .exam-card {
    padding: 22px 20px;
  }

  .pf-hero .pf-hero-title {
    font-size: 2.4rem;
  }
}

/* ----------------------------------------
   レビュー反映（2026-08-30）
---------------------------------------- */
/* 見出し内キーワードの泣き別れ防止 */
.u-nowrap {
  white-space: nowrap;
}

/* 一覧カードが1枚だけの間は中央寄せ */
.exam-card:only-child {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

/* SPのCTAボタンは全幅・改行は<wbr>位置のみ */
@media screen and (max-width: 767px) {
  .exam-cta .pf-btn {
    width: 100%;
    min-width: 0;
    word-break: keep-all;
  }
}

/* ----------------------------------------
   本文内の小見出し（h3）・注意ボックス
---------------------------------------- */
.exam-h3 {
  margin: 36px auto 14px;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.6;
  color: #1a1a1a;
  padding-left: 14px;
  border-left: 4px solid #53a4a9;
}

.exam-callout {
  max-width: 880px;
  margin: 24px auto;
  background: #fff;
  border: 1px solid #cfe4e5;
  border-left: 4px solid #53a4a9;
  border-radius: 8px;
  padding: 18px 20px;
}

.exam-callout p {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.85;
  color: #444;
}

.exam-callout p + p {
  margin-top: 10px;
}

@media screen and (max-width: 767px) {
  .exam-h3 {
    font-size: 1.7rem;
  }
}

/* ----------------------------------------
   レビュー反映2（2026-08-30 LOHレビュー）
---------------------------------------- */
/* CTA電話ボタン: 番号の途中改行を禁止し、SPは番号／ラベルの2段組みに */
.exam-cta-tel-num {
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .exam-cta .pf-btn-tel {
    flex-direction: column;
    gap: 2px;
    padding: 12px 16px;
  }

  .exam-cta .pf-btn-tel .exam-cta-tel-note {
    font-size: 1.3rem;
    font-weight: 500;
  }
}

/* 価格ボックスの付記は・区切り（<wbr>位置）でのみ折返し */
.exam-price-box-value small {
  word-break: keep-all;
}

/* ----------------------------------------
   修正（2026-08-30）: コンテンツ幅の統一
   - 見出し・本文テキストはコンテナ幅（1200px）に統一
   - 図版・カード系UIは一回り小さくして中央寄せ
---------------------------------------- */
.exam-page .exam-figure {
  max-width: 800px;
}

.exam-page .exam-price-box {
  max-width: 560px;
}

.exam-page .exam-callout {
  max-width: 800px;
}

/* FAQリストも見出しと同じコンテナ幅に */
.exam-page .pf-faq-list {
  max-width: none;
}
