@charset "UTF-8";
/* ==========================================================================
   page.css
   このファイルの担当範囲
   ── トップページ〜下層ページの「コンテンツ部分」
   ── サイト全体の骨格（ヘッダー/フッター/サイド等）は style.css を参照
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. セクション共通
   -------------------------------------------------------------------------- */

/* 各セクションの外枠（縦積み） */
.sec {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 見出し（キッカー＋見出し＋矢印下線） */
.sec-title {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sec-title__kicker {
  display: inline-flex;
  width: fit-content;
  color: var(--cta);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
}

.sec-title__heading {
  font-size: 23px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

/* セクション導入文 */
.sec-lead {
  font-size: 14.5px;
  color: var(--text-warm);
  line-height: 1.9;
}

/* 注釈 */
.sec-note {
  font-size: 11.5px;
  color: var(--text-mute);
  line-height: 1.7;
  text-align: center;
}

/* カード共通 */
.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

/* --------------------------------------------------------------------------
   2. ヒーロー（キービジュアル）
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #FFF3D6 0%, #FCE3AE 100%);
  overflow: hidden;
  padding: 48px 0 0;
}

.hero__content {
  max-width: var(--header-width);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.hero__left {
  flex: 1 1 520px;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero__headline {
  display: flex;
  flex-direction: column;
}

/* H1（地名入りの小見出し＋キャッチの2段） */
.hero__h1 {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.5;
}

.hero__h1-sub {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-warm);
  letter-spacing: .5px;
}

.hero__headline-text {
  color: var(--cta);
  font-size: 32px;
  font-weight: 900;
  letter-spacing: .5px;
}

.hero__headline svg { margin-top: 6px; }

/* 実績カード */
.hero__card-wrap {
  position: relative;
  width: fit-content;
  margin-right: 44px;
}

.hero__card {
  background: #fff;
  border-radius: 10px;
  padding: 18px 46px 18px 26px;
  box-shadow: 0 8px 22px rgba(32, 20, 0, .08);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero__card-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
}

.hero__card-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.hero__card-date {
  font-size: 23.5px;
  color: var(--cta);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__card-count {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__card-num {
  font-size: 53px;
  color: var(--cta);
  margin: 0 3px;
  font-variant-numeric: tabular-nums;
}

/* 相談料0円バッジ */
.hero__badge {
  position: absolute;
  top: -30px;
  right: -66px;
  width: 116px;
  height: 116px;
}

.hero__badge svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 6px 10px rgba(217, 98, 43, .35));
}

.hero__badge-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.hero__badge-label { font-size: 18px; font-weight: 700; }
.hero__badge-value { font-size: 29px; font-weight: 900; line-height: 1.1; }

/* 選ばれる3つの理由 */
.hero__reasons {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero__reasons-title {
  color: var(--cta);
  font-size: 24px;
  font-weight: 900;
  line-height: 1.5;
}

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

.hero__reason {
  background: var(--cta);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  line-height: 1.5;
}

/* 写真カラム */
.hero__photo-col {
  flex: 1 1 380px;
  min-width: 280px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.hero__photo-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
}

.hero__photo { width: 100%; height: auto; display: block; }

.hero__greeting-btn {
  background: var(--cta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 波型の区切り */
.hero__wave {
  display: block;
  width: 100vw;                     /* 画面幅いっぱい */
  max-width: none;
  margin-left: calc(50% - 50vw);    /* 親のパディングを無視して左端に揃える */
  height: 60px;
  position: relative;
  z-index: 1;
}

/* --------------------------------------------------------------------------
   3. Google口コミ
   -------------------------------------------------------------------------- */
.voice {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.voice__head {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.voice__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.voice__logo-text {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .5px;
}
.voice__logo-text .g1 { color: #4285F4; }
.voice__logo-text .g2 { color: #EA4335; }
.voice__logo-text .g3 { color: #FBBC05; }
.voice__logo-text .g4 { color: #4285F4; }
.voice__logo-text .g5 { color: #34A853; }
.voice__logo-text .g6 { color: #EA4335; }

.voice__stars {
  color: #C89B3C;
  font-size: 16px;
  letter-spacing: 2px;
}

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

.voice-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.voice-card__map {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--border);
}

.voice-card__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.voice-card__body {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.voice-card__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.voice-card__name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.voice-card__rating {
  font-size: 13px;
  color: var(--text-sub);
}
.voice-card__rating .on  { color: #C89B3C; }
.voice-card__rating .off { color: var(--border-gray); }

.voice-card__btn {
  background: var(--cta);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   4. チラシ配布のご案内
   -------------------------------------------------------------------------- */
.flyer__body {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.flyer__image {
  width: 180px;
  height: auto;
  align-self: flex-start;
  flex-shrink: 0;
  border-radius: 10px;
  box-shadow: var(--shadow-soft);
  display: block;
}

.flyer__text {
  flex: 1 1 320px;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.flyer__news {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.flyer__news-tag {
  background: var(--primary);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.flyer__news-text {
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.flyer__news svg { flex-shrink: 0; margin-left: auto; }

.flyer__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--border-light);
}

.flyer__contact span { font-size: 13px; color: var(--text-sub); }
.flyer__contact a    { color: var(--text); font-weight: 700; }

.flyer__btn {
  width: fit-content;
  background: var(--cta);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
}

/* --------------------------------------------------------------------------
   5. 相談会のお知らせ
   -------------------------------------------------------------------------- */
.events__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  flex-wrap: wrap;
}

.event-row__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  flex-shrink: 0;
  background: var(--cta);
  color: #fff;
  border-radius: 10px;
  padding: 7px 0;
}

.event-row__month { font-size: 10.5px; font-weight: 700; }
.event-row__day   { font-size: 21px; font-weight: 900; line-height: 1.1; }
.event-row__week  { font-size: 10px; }

.event-row__body {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-row__title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text);
}

.event-row__meta {
  font-size: 12.5px;
  color: var(--text-sub);
}

.event-row__btn {
  background: var(--primary);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

/* 予約CTAバナー */
.events__cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.events__cta-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.events__cta-title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.events__cta-sub {
  color: rgba(255, 255, 255, .8);
  font-size: 12.5px;
}

.events__cta-btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.events__cta-tel {
  background: #fff;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
}

.events__cta-tel span {
  font-size: 11px;
  font-weight: 700;
  opacity: .75;
}

.events__cta-line {
  background: var(--line-green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   6. 受給事例・感謝のお手紙
   -------------------------------------------------------------------------- */
.cases__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cases__tab {
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.5;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cases__tab.is-active {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}
.cases__tab:not(.is-active) {
  background: #fff;
  border-color: var(--border);
  color: var(--text-sub);
}
.cases__tab:not(.is-active):hover {
  border-color: var(--cta);
  color: var(--cta);
}
.cases__tab:focus-visible {
  outline: 2px solid var(--cta);
  outline-offset: 2px;
}

.cases__list { display: flex; flex-direction: column; }

.case-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.case-row[hidden] { display: none; }
.case-row:last-child { border-bottom: none; }
.case-row:hover .case-row__title { color: var(--cta); }

.case-row__cat {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  flex-shrink: 0;
}
.case-row__cat--case   { background: rgba(14, 92, 74, .1); color: var(--primary); }
.case-row__cat--letter { background: rgba(217, 98, 43, .1); color: var(--cta); }

.case-row__date {
  font-size: 12px;
  color: var(--text-mute);
  white-space: nowrap;
  flex-shrink: 0;
}

.case-row__title {
  flex: 1 1 200px;
  font-size: 14px;
  color: var(--text);
  transition: color .2s ease;
}

/* 傷病名・等級などの補足タグ */
.case-row__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.case-row__tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
  background: var(--bg-beige);
  padding: 3px 9px;
  border-radius: 4px;
  white-space: nowrap;
}

.case-row svg { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   7. 障害年金 無料診断バナー
   -------------------------------------------------------------------------- */
.diag {
  position: relative;
  background: linear-gradient(135deg, #FFF6E0 0%, #FCE3AE 55%, #FBDD9E 100%);
  border-radius: 24px;
  padding: 20px 34px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 18px 0;
  border: 3px solid var(--cta);
}

/* 装飾ドット */
.diag__dots {
  position: absolute;
  background-image: radial-gradient(var(--cta-dark) 1.5px, transparent 1.5px);
  background-size: 9px 9px;
  pointer-events: none;
}
.diag__dots--tr { top: 26px; right: 28px; width: 60px; height: 34px; opacity: .45; }
.diag__dots--bl { bottom: 24px; left: 28px; width: 42px; height: 24px; opacity: .35; }

/* 吹き出し */
.diag__bubble {
  position: absolute;
  z-index: 4;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8EC 100%);
  color: var(--cta);
  font-size: 13.5px;
  font-weight: 900;
  padding: 7px 15px 7px 11px;
  border-radius: var(--radius-pill);
  box-shadow: 0 6px 14px rgba(32, 20, 0, .2);
  white-space: nowrap;
  border: 2px solid var(--cta);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.diag__bubble::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  background: #fff;
  transform: rotate(45deg);
}
.diag__bubble--left {
  top: -16px;
  left: 2px;
  transform: rotate(-7deg);
}
.diag__bubble--left::after {
  bottom: -4px;
  left: 22px;
  box-shadow: 2px 2px 2px rgba(32, 20, 0, .05);
}
.diag__bubble--right {
  bottom: -16px;
  right: 2px;
  transform: rotate(6deg);
}
.diag__bubble--right::after {
  top: -4px;
  right: 22px;
  box-shadow: -2px -2px 2px rgba(32, 20, 0, .05);
}

/* 左右アイコン */
.diag__icon {
  position: relative;
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 3.5px solid var(--cta);
  box-shadow: 0 8px 18px rgba(32, 20, 0, .14);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 中央カード */
.diag__card {
  position: relative;
  flex: 0 1 400px;
  background: #fff;
  border: 3.5px solid var(--cta);
  border-radius: var(--radius-pill);
  padding: 11px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  box-shadow: 0 12px 26px rgba(32, 20, 0, .16);
}

.diag__eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 2px;
}

.diag__title {
  position: relative;
  display: inline-block;
  z-index: 1;
  font-size: 23px;
  font-weight: 900;
  color: var(--cta);
  letter-spacing: 1px;
  width: fit-content;
  -webkit-text-stroke: 1.1px #fff;
  paint-order: stroke fill;
}
.diag__title::after {
  content: "";
  position: absolute;
  left: -5px; right: -7px; bottom: 5px;
  height: 15px;
  background: rgba(200, 155, 60, .28);
  border-radius: 4px;
  transform: rotate(-1.5deg);
  z-index: -1;
}

.diag__lead {
  font-size: 11px;
  color: var(--text-sub);
  line-height: 1.45;
  margin-bottom: 2px;
}

.diag__btn {
  background: var(--cta);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 9px 28px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 14px rgba(217, 98, 43, .4);
}

/* --------------------------------------------------------------------------
   8. 障害年金受給の対象となる方
   -------------------------------------------------------------------------- */
.target__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.target__item {
  background: #fff;
  border-radius: var(--radius);
  padding: 16px 12px;
  box-shadow: 0 6px 16px rgba(32, 20, 0, .06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.target__item img {
  width: 128px;
  height: 128px;
  object-fit: contain;
  display: block;
}

.target__item span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.target__btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   9. まずは、「障害年金」を知ろう！
   -------------------------------------------------------------------------- */
.introqa__row {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
}

.introqa__left {
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.introqa__head {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 12px;
}

.introqa__mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-pill);
  background: var(--accent-blue-bg);
  color: var(--accent-blue);
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.introqa__title {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.introqa__title span {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.introqa__illust { width: 130px; height: auto; display: block; }

.introqa__list {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
}

.introqa__item {
  background: var(--accent-blue-bg);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.introqa__item span {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.introqa__item svg { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   10. 安心してお任せいただける4つの特徴
   -------------------------------------------------------------------------- */
.features__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.feature {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.feature__num {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.feature__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.feature__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.feature__text {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.7;
}

.feature__btn { margin-top: 4px; }

/* --------------------------------------------------------------------------
   11. 依頼するメリット / 依頼しないデメリット
   -------------------------------------------------------------------------- */
.md__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.md__col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.md__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.md__head img {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

.md__label {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  padding: 6px 26px;
  border-radius: var(--radius-pill);
}
.md__label small { font-size: 13px; font-weight: 700; }
.md__label--merit {
  background: var(--cta);
  box-shadow: 0 4px 10px rgba(217, 98, 43, .3);
}
.md__label--demerit {
  background: var(--accent-blue);
  box-shadow: 0 4px 10px rgba(46, 126, 158, .3);
}

.md__bubble {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 26px 22px 20px;
  box-shadow: var(--shadow-card);
}
.md__bubble--merit   { border: 1.5px solid #F0E4D6; }
.md__bubble--demerit { border: 1.5px solid #DCE9EE; }

.md__badge {
  position: absolute;
  top: -16px;
  left: 22px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
}
.md__bubble--merit .md__badge {
  background: var(--cta);
  box-shadow: 0 4px 10px rgba(217, 98, 43, .4);
}
.md__bubble--demerit .md__badge {
  background: var(--accent-blue);
  box-shadow: 0 4px 10px rgba(46, 126, 158, .4);
}

.md__text {
  font-size: 12.5px;
  color: var(--text-body);
  line-height: 1.8;
}
.md__text .em-merit   { color: var(--cta); font-weight: 700; }
.md__text .em-demerit { color: var(--accent-blue); font-weight: 700; }

/* --------------------------------------------------------------------------
   12. なんとなく心配なこと、不安なこと
   -------------------------------------------------------------------------- */
.worry {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.worry__head {
  display: flex;
  align-items: center;
}

.worry__mark {
  font-size: 84px;
  font-weight: 900;
  color: var(--accent-blue-bg);
  line-height: 1;
}

.worry__title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-left: -22px;
}

.worry__title span {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.worry__body {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.worry__illust {
  width: 120px;
  height: auto;
  flex-shrink: 0;
  display: block;
}

.worry__list {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 240px;
}

.worry__item {
  background: var(--accent-blue-bg2);
  border-radius: 12px;
  padding: 14px 8px 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.worry__item span:first-child {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.worry__arrow {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.worry__more-wrap {
  display: flex;
  justify-content: center;
}

.worry__more {
  background: var(--accent-blue);
  color: #fff;
  font-size: 13.5px;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   13. 相談会 ご予約受付中！バナー
   -------------------------------------------------------------------------- */
.reserve {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 230px;
  box-shadow: var(--shadow-strong);
  transition: transform .25s ease, box-shadow .25s ease;
  cursor: pointer;
}
.reserve:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 16px 34px rgba(32, 20, 0, .22);
}

.reserve__photo {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #DED7C4 0%, #C9C2AA 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.reserve__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.reserve__photo-note {
  color: #8A8370;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .5px;
}

.reserve__panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 60%;
  background: linear-gradient(135deg, var(--cta-light) 0%, var(--cta) 100%);
  clip-path: polygon(0 0, 100% 0, 76% 100%, 0 100%);
  transition: clip-path .25s ease;
}
.reserve:hover .reserve__panel {
  clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.reserve__free {
  position: absolute;
  top: 14px;
  left: 198px;
  width: 66px;
  height: 66px;
  border-radius: var(--radius-pill);
  background: #2B2F36;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1px;
  transform: rotate(-10deg);
  border: 3px dashed rgba(255, 255, 255, .5);
  z-index: 2;
}

.reserve__text {
  position: relative;
  z-index: 1;
  padding: 28px 0 0 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 280px;
}

.reserve__title,
.reserve__subtitle {
  background: #fff;
  color: var(--text);
  font-weight: 900;
  padding: 4px 14px;
  display: inline-block;
  width: fit-content;
  line-height: 1.3;
}
.reserve__title    { font-size: 26px; }
.reserve__subtitle { font-size: 22px; }

.reserve__btn {
  position: absolute;
  left: 30px;
  bottom: 22px;
  z-index: 2;
  background: var(--cta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid #fff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 14px rgba(32, 20, 0, .2);
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease;
}
.reserve:hover .reserve__btn {
  transform: scale(1.06);
  box-shadow: 0 8px 18px rgba(32, 20, 0, .28);
}

.reserve__badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  width: 108px;
  height: 108px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .94);
  border: 3px solid var(--cta);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cta);
  font-weight: 900;
  font-size: 13px;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   14. 動画でわかる障害年金！
   -------------------------------------------------------------------------- */
.movie__lead {
  font-size: 14px;
  color: var(--text-warm);
  line-height: 1.8;
}

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

.movie-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.movie-card__thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #2B2F36, #454B54);
  flex-shrink: 0;
}
.movie-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.movie-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.movie-card__play span {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: #FF0000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
}

.movie-card__body { padding: 14px 16px; }

.movie-card__title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}

.movie__btn {
  width: fit-content;
  background: var(--cta);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  align-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --------------------------------------------------------------------------
   15. 障害年金申請の流れ
   -------------------------------------------------------------------------- */
.flow { gap: 24px; }

.flow__row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.flow__card {
  position: relative;
  flex: 1 1 0;
  background: #fff;
  border-radius: var(--radius);
  padding: 26px 12px 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.flow__num {
  position: absolute;
  top: -16px;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: var(--cta);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(217, 98, 43, .35);
}

.flow__title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  min-height: 36px;
  display: flex;
  align-items: center;
}

.flow__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.flow__arrow { flex-shrink: 0; }

/* --------------------------------------------------------------------------
   16. はじめての方へ（センター長挨拶）
   -------------------------------------------------------------------------- */
.greeting { gap: 24px; }

.greeting__body {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.greeting__photo-col {
  flex: 0 0 190px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.greeting__photo {
  width: 190px;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  display: block;
}

.greeting__caption {
  text-align: center;
  line-height: 1.6;
}

.greeting__caption span {
  display: block;
  font-size: 12px;
  color: var(--text-sub);
}

.greeting__name {
  font-size: 16px !important;
  font-weight: 700;
  color: var(--text) !important;
  margin-top: 4px;
}

.greeting__text {
  flex: 1 1 320px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 240px;
}

.greeting__text p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.95;
}

/* 下部リンクカード */
.greeting__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.greeting-link {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  display: block;
}

.greeting-link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.greeting-link__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 20, 20, .65) 0%, rgba(20, 20, 20, .05) 55%);
}

.greeting-link__label {
  position: absolute;
  left: 16px;
  bottom: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.greeting-link__en {
  color: rgba(255, 255, 255, .75);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.greeting-link__ja {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   17. 社会保険労務士（社労士）が安心の理由
   -------------------------------------------------------------------------- */
.reasons {
  position: relative;
  margin-bottom: 20px;
}

.reasons .sec-title { position: relative; }

.reasons__dots {
  position: absolute;
  top: -14px;
  right: 20px;
  width: 60px;
  height: 36px;
  background-image: radial-gradient(var(--cta-dark) 1.5px, transparent 1.5px);
  background-size: 9px 9px;
  opacity: .45;
  pointer-events: none;
}

.reasons__circle {
  position: absolute;
  top: -14px;
  right: 4px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: var(--border);
  opacity: .5;
  z-index: -1;
  pointer-events: none;
}

.reasons__list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 14px;
}

.reasons__line {
  position: absolute;
  left: -2px;
  top: 4px;
  bottom: 4px;
  width: 4px;
  background-image: radial-gradient(circle, var(--border-gray) 1.4px, transparent 1.6px);
  background-size: 4px 11px;
  background-repeat: repeat-y;
}

.reasons__card {
  background: var(--bg-peach);
  border-radius: 16px;
  padding: 20px 24px;
  box-shadow: 0 6px 18px rgba(32, 20, 0, .05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reasons__card--photo {
  flex-direction: row;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.reasons__card-body {
  flex: 1 1 260px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
}

.reasons__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.reasons__title em {
  color: var(--cta);
  font-weight: 900;
  font-style: normal;
}

.reasons__text {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.8;
}

.reasons__photo {
  flex: 0 0 200px;
  width: 200px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(32, 20, 0, .18);
}

/* --------------------------------------------------------------------------
   18. 各事務所の電話案内
   -------------------------------------------------------------------------- */
.officebox__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.officebox__card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.officebox__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
}

.officebox__addr {
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.7;
}

.officebox__tel {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  color: var(--primary);
  font-size: 19px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.officebox__btn {
  align-self: center;
  background: var(--cta);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 18px rgba(217, 98, 43, .28);
}

/* --------------------------------------------------------------------------
   19. 下層ページ 汎用コンテンツ
   -------------------------------------------------------------------------- */
.page-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 8px;
}

.page-head__title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

/* パンくず（irn_breadcrumb() が出力） */
.breadcrumb {
  max-width: var(--frame-width);
  margin: 0 auto 28px;
}

.breadcrumb__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-mute);
}

.breadcrumb__item {
  display: inline-flex;
  align-items: center;
}

/* 区切りの「›」 */
.breadcrumb__item + .breadcrumb__item::before {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 10px 0 8px;
  border-top: 1.5px solid var(--border-gray);
  border-right: 1.5px solid var(--border-gray);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.breadcrumb__item a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text-sub);
}
.breadcrumb__item a:hover { color: var(--cta); opacity: 1; }

.breadcrumb__item [aria-current="page"] {
  color: var(--text);
  font-weight: 700;
}

/* 本文（エディタ出力） */
.entry-content {
  font-size: 14.5px;
  color: var(--text-body);
  line-height: 1.95;
}

.entry-content > * + * { margin-top: 1.4em; }

.entry-content h2 {
  font-size: 20px;
  color: var(--text);
  padding: 12px 0 12px 16px;
  border-left: 5px solid var(--cta);
  background: #fff;
  border-radius: 0 8px 8px 0;
}

.entry-content h3 {
  font-size: 17px;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
}

.entry-content h4 {
  font-size: 15px;
  color: var(--primary);
}

.entry-content a { color: var(--primary); text-decoration: underline; }

.entry-content ul,
.entry-content ol {
  padding-left: 1.4em;
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: .5em; }

.entry-content img {
  border-radius: 10px;
  display: block;
}

.entry-content blockquote {
  margin: 0;
  padding: 16px 20px;
  background: #fff;
  border-left: 4px solid var(--border);
  border-radius: 0 8px 8px 0;
  color: var(--text-sub);
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  background: #fff;
}
.entry-content th,
.entry-content td {
  border: 1px solid var(--border);
  padding: 12px 14px;
  text-align: left;
}
.entry-content th {
  background: var(--bg-beige);
  font-weight: 700;
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   19-2. 本文内で使う共通パーツ
   ── 固定ページ本文（.entry-content）の中でトップと同じ見出しパターン
      （キッカー＋h2＋矢印）を使えるよう、エディタ用の見出し装飾を打ち消す。
   -------------------------------------------------------------------------- */
.entry-content .sec-title__heading {
  font-size: 23px;
  padding: 0;
  border: 0;
  background: none;
  border-radius: 0;
}

/* 下層ページ共通：相談CTA（template-parts/cta-consult.php） */
.cta-consult {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cta-light) 0%, var(--cta) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(217, 98, 43, .28);
}

.cta-consult__lead {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: .9;
}

.cta-consult__title {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.5;
}

.cta-consult__title strong {
  display: inline-block;
  background: #fff;
  color: var(--cta);
  padding: 0 10px;
  border-radius: 6px;
  margin: 0 4px;
}

.cta-consult__tels {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-consult__tel {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--text);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(120, 40, 0, .18);
}

.cta-consult__tel-label {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--cta);
  padding: 2px 9px;
  border-radius: 4px;
}
.cta-consult__tel--primary .cta-consult__tel-label { background: var(--primary); }

.cta-consult__tel-num {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .5px;
  font-variant-numeric: tabular-nums;
}

.cta-consult__hours {
  font-size: 12px;
  opacity: .9;
}

.cta-consult__btns {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-consult__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  border: 2px solid #fff;
  white-space: nowrap;
}
.cta-consult__btn--mail { background: #fff; color: var(--cta); }
.cta-consult__btn--line { background: var(--line-green); color: #fff; border-color: var(--line-green); }

/* --------------------------------------------------------------------------
   19-3. 料金ページ（固定ページ「料金」の本文）
   ── 本文は固定ページのコードエディターで管理（price-content.html）
   -------------------------------------------------------------------------- */

/* 導入文 */
.entry-content .price-intro {
  font-size: 14.5px;
  color: var(--text-warm);
  line-height: 1.9;
}
.entry-content .price-intro strong { color: var(--cta); }

/* 3つのポイント（相談料・着手金・報酬） */
.price-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.price-point {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border: 2px solid transparent;
  padding: 18px 12px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.price-point--accent { border-color: var(--cta); }

.price-point__label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
}

.price-point__value {
  font-size: 40px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1.1;
}
.price-point__value small { font-size: 18px; margin-left: 2px; }
.price-point__value--text {
  font-size: 22px;
  color: var(--cta);
  line-height: 44px;
}

.price-point__note {
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* 目次 */
.price-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px;
  background: var(--bg-beige);
  border-radius: var(--radius);
}

.entry-content .price-toc a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  transition: border-color .2s ease, color .2s ease;
}
.entry-content .price-toc a::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 2px solid var(--cta);
  border-bottom: 2px solid var(--cta);
  transform: rotate(45deg) translateY(-2px);
}
.entry-content .price-toc a:hover { border-color: var(--cta); color: var(--cta); opacity: 1; }

/* セクション */
.entry-content .price-sec {
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-margin-top: 80px;   /* PC追従バーに隠れないように */
}

.entry-content .price-caption {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* 料金早見表 */
.price-table-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.entry-content .price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  background: #fff;
}

.entry-content .price-table th,
.entry-content .price-table td {
  border: 0;
  border-bottom: 1px solid var(--border-light);
  padding: 14px 16px;
  text-align: left;
  vertical-align: middle;
  line-height: 1.5;
}
.entry-content .price-table tbody tr:last-child th,
.entry-content .price-table tbody tr:last-child td { border-bottom: 0; }

.entry-content .price-table thead th {
  background: var(--primary);
  color: #fff;
  font-size: 12.5px;
  white-space: nowrap;
}

.entry-content .price-table tbody th {
  background: var(--bg);
  width: 34%;
  white-space: normal;
}

.entry-content .price-table tbody th a {
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}
.entry-content .price-table tbody th a:hover { color: var(--cta); opacity: 1; }

.entry-content .price-table small {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--text-sub);
  margin-top: 2px;
}

.entry-content .price-table td { font-weight: 700; color: var(--text); }
.entry-content .price-table td.price-table__free,
.entry-content .price-table td.price-table__cost {
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
  width: 18%;
}
.entry-content .price-table td.price-table__free { color: var(--primary); }
.entry-content .price-table td.price-table__cost { color: var(--cta); }

/* 手続き別カード */
.price-plans {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-plan {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--cta);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scroll-margin-top: 80px;
}

.price-plan__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.price-plan__tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cta);
  background: var(--bg-peach);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

.entry-content .price-plan__name {
  font-size: 20px;
  font-weight: 900;
  color: var(--text);
  padding: 0;
  border: 0;
  line-height: 1.4;
}
.entry-content .price-plan__name small {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  margin-left: 4px;
}

.entry-content .price-plan__desc {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.85;
}
.entry-content .price-plan__desc strong { color: var(--text); }

/* 料金の内訳（チップ＋記号） */
.price-formula {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.price-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 8px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  line-height: 1.3;
}
.price-chip small {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-sub);
}
.price-chip strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
}
.price-chip em {
  font-style: normal;
  font-size: 10.5px;
  color: var(--text-sub);
}

.price-chip--free strong { color: var(--primary); }
.price-chip--cost { border-color: var(--cta); }
.price-chip--cost strong { color: var(--cta); }
.price-chip--reward {
  background: var(--cta);
  border-color: var(--cta);
}
.price-chip--reward small,
.price-chip--reward strong { color: #fff; }
.price-chip--reward strong { font-size: 15px; }

.price-formula__op {
  font-size: 16px;
  font-weight: 900;
  color: var(--text-mute);
}

/* 報酬の内容 */
.price-reward {
  margin: 0;
  display: grid;
  grid-template-columns: 124px 1fr;
  background: var(--bg-peach);
  border-radius: 10px;
  padding: 6px 16px;
}

.price-reward dt,
.price-reward dd {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(217, 98, 43, .25);
  line-height: 1.6;
}
.price-reward dt:last-of-type,
.price-reward dd:last-of-type { border-bottom: 0; }

.price-reward dt {
  font-size: 12.5px;
  font-weight: 900;
  color: var(--cta);
}

.price-reward dd {
  margin: 0;
  font-size: 13.5px;
  color: var(--text);
}
.price-reward dd strong { color: var(--cta); }

.entry-content .price-plan__note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
}
.entry-content .price-plan__note::before {
  content: "";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* 報酬の計算例 */
.price-calc {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.entry-content .price-calc__premise {
  font-size: 14px;
  color: var(--text);
  text-align: center;
  padding: 10px;
  background: var(--bg);
  border-radius: 8px;
}
.entry-content .price-calc__premise strong { color: var(--cta); }

.price-calc__row {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--border-light);
}

.price-calc__case {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.price-calc__tag {
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
}

.price-calc__cond {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}

.price-calc__formula {
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.6;
}
.price-calc__formula span {
  font-size: 12px;
  color: var(--text-sub);
}

.price-calc__result {
  font-size: 13px;
  font-weight: 700;
  color: var(--cta);
  white-space: nowrap;
  text-align: right;
}
.price-calc__result strong {
  font-size: 32px;
  font-weight: 900;
  line-height: 1;
  margin-right: 2px;
}
.price-calc__result small {
  font-size: 11px;
  color: var(--text-sub);
}

.entry-content .price-calc__note {
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* お支払いの流れ */
.entry-content .price-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  counter-reset: none;
}

.entry-content .price-flow__step {
  position: relative;
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 26px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

/* ステップ間の矢印 */
.entry-content .price-flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -10px;
  width: 8px;
  height: 8px;
  border-top: 2.5px solid var(--border-gray);
  border-right: 2.5px solid var(--border-gray);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}

.price-flow__num {
  position: absolute;
  top: -14px;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--cta);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(217, 98, 43, .35);
}

.price-flow__title {
  font-size: 14px;
  font-weight: 900;
  color: var(--text);
}

.price-flow__text {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.6;
  flex: 1;
}

.price-flow__cost {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text);
  background: var(--bg-beige);
  padding: 4px 10px;
  border-radius: 6px;
  line-height: 1.4;
}
.price-flow__cost--free   { background: rgba(14, 92, 74, .1); color: var(--primary); font-size: 14px; font-weight: 900; }
.price-flow__cost--none   { background: transparent; color: var(--text-sub); font-weight: 400; }
.price-flow__cost--reward { background: var(--cta); color: #fff; }

/* サポート内容チェックリスト */
.entry-content .price-checklist {
  list-style: none;
  padding: 20px 22px;
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
}

.entry-content .price-checklist li {
  position: relative;
  margin: 0;
  padding-left: 26px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.6;
}

.entry-content .price-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  background: var(--cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.entry-content .price-checklist small {
  display: block;
  font-size: 11px;
  color: var(--text-sub);
}

/* 注意事項 */
.price-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.price-note {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.entry-content .price-note__title {
  font-size: 14.5px;
  font-weight: 900;
  color: var(--text);
  padding: 0 0 8px;
  border-bottom: 2px solid var(--bg-peach);
}

.entry-content .price-note p {
  margin: 0;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.8;
}
.entry-content .price-note strong { color: var(--cta); }

/* よくあるご質問 */
.price-faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-faq__item {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.price-faq__item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 16px 52px 16px 54px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
}
.price-faq__item summary::-webkit-details-marker { display: none; }

/* Q マーク */
.price-faq__item summary::before {
  content: "Q";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--cta);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ＋ / − アイコン */
.price-faq__item summary::after {
  content: "";
  position: absolute;
  right: 20px;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translateY(-50%);
  background:
    linear-gradient(var(--cta), var(--cta)) center / 12px 2px no-repeat,
    linear-gradient(var(--cta), var(--cta)) center / 2px 12px no-repeat;
  transition: transform .2s ease;
}
.price-faq__item[open] summary::after {
  background: linear-gradient(var(--cta), var(--cta)) center / 12px 2px no-repeat;
}

.price-faq__answer {
  position: relative;
  padding: 0 20px 18px 54px;
}
.price-faq__answer::before {
  content: "A";
  position: absolute;
  left: 16px;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.entry-content .price-faq__answer p {
  margin: 0;
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.85;
  padding-top: 2px;
}

/* --------------------------------------------------------------------------
   19-4. 受給事例（一覧 archive-case.php ／ 疾患別 template-parts/case/category.php）
   -------------------------------------------------------------------------- */

/* ページ見出しの上の小ラベル（例：精神疾患） */
.page-head__kicker {
  display: inline-flex;
  width: fit-content;
  color: var(--cta);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
}

.case-archive { gap: 32px; }

.case-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  scroll-margin-top: 80px;
}

/* 導入（説明文＋件数） */
.case-intro {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px 24px;
}

.case-intro__text {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14px;
  color: var(--text-warm);
  line-height: 1.9;
}
.case-intro__text p { margin: 0; }
.case-intro__text .entry-content { font-size: 14px; }

.case-intro__stat {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  padding: 12px 16px;
  background: var(--bg-peach);
  border-radius: 12px;
  line-height: 1.2;
}

.case-intro__stat-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-sub);
}

.case-intro__stat-num {
  font-size: 34px;
  font-weight: 900;
  color: var(--cta);
  font-variant-numeric: tabular-nums;
}
.case-intro__stat-num small { font-size: 14px; margin-left: 2px; }

/* 検索 */
.case-search {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-search__form {
  position: relative;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 2px solid var(--cta);
  border-radius: var(--radius-pill);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.case-search__form:focus-within { box-shadow: 0 0 0 4px rgba(217, 98, 43, .15); }

.case-search__icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-mute);
  pointer-events: none;
}

.case-search__field {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  padding: 14px 16px 14px 48px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text);
}
.case-search__field::placeholder { color: var(--text-mute); }

.case-search__submit {
  flex-shrink: 0;
  border: 0;
  background: var(--cta);
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  padding: 0 30px;
  cursor: pointer;
  transition: background .2s ease;
}
.case-search__submit:hover { background: var(--cta-dark); }

.case-search__keywords {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12.5px;
}

.case-search__keywords-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-sub);
  margin-right: 4px;
}

.case-search__keywords a {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  transition: border-color .2s ease, color .2s ease;
}
.case-search__keywords a::before { content: "#"; color: var(--cta); margin-right: 2px; }
.case-search__keywords a:hover { border-color: var(--cta); color: var(--cta); opacity: 1; }

/* 疾患から探す（カード） */
.case-groups {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.case-group__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}
.case-group__title::before {
  content: "";
  width: 6px;
  height: 20px;
  border-radius: 3px;
  background: var(--cta);
}
.case-group--mental .case-group__title::before { background: var(--primary); }

.case-cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.case-cat {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-left: 4px solid var(--cta);
  border-radius: 10px;
  padding: 14px 14px 14px 16px;
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.case-group--mental .case-cat { border-left-color: var(--primary); }

.case-cat:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.case-cat__label {
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.case-cat__count {
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 900;
  color: var(--cta);
  font-variant-numeric: tabular-nums;
}
.case-cat__count small { font-size: 10.5px; font-weight: 700; margin-left: 1px; color: var(--text-sub); }
.case-group--mental .case-cat__count { color: var(--primary); }

.case-cat svg { flex-shrink: 0; color: var(--text-mute); }

/* 疾患の切り替え（チップ） */
.case-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.case-chips__item {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-sub);
  background: #fff;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  transition: border-color .2s ease, color .2s ease;
}
.case-chips__item:hover { border-color: var(--cta); color: var(--cta); opacity: 1; }
.case-chips__item.is-current {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}
.case-chips__item--all { color: var(--primary); border-color: var(--primary); }

/* 事例カード */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.case-card { display: flex; }

.case-card__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px 18px 16px;
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease;
}
.case-card__link:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.case-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.case-card__cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(14, 92, 74, .1);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.case-card__date {
  font-size: 11.5px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}

.case-card__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--text);
  transition: color .2s ease;
}
.case-card__link:hover .case-card__title { color: var(--cta); }

.case-card__person {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.6;
}

.case-card__spec,
.case-card__money {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-card__spec > div,
.case-card__money > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  line-height: 1.5;
}

.case-card__spec dt,
.case-card__money dt {
  flex-shrink: 0;
  width: 56px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-mute);
}

.case-card__spec dd,
.case-card__money dd { margin: 0; }

.case-card__grade {
  font-weight: 700;
  color: var(--primary);
}

.case-card__money {
  background: var(--bg-peach);
  border-radius: 8px;
  padding: 8px 12px;
}
.case-card__money dd {
  font-weight: 900;
  color: var(--cta);
  font-size: 14px;
}

.case-card__more {
  margin-top: auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cta);
}

/* 該当なし */
.case-empty {
  background: #fff;
  border: 1px dashed var(--border-gray);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-empty__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.case-empty__text {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.8;
}

/* ---------- 受給事例：詳細ページ（single-case.php） ---------- */
.case-single { gap: 36px; }

.case-single__meta {
  display: flex;
  align-items: center;
  gap: 10px;
}
a.case-card__cat:hover { opacity: 1; background: rgba(14, 92, 74, .18); }

/* 事例の概要 */
.case-summary {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--cta);
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.case-summary__title {
  font-size: 15px;
  font-weight: 900;
  color: var(--text);
}

.case-summary__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 10px;
}

.case-stat {
  background: var(--bg-peach);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-stat__label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-sub);
  line-height: 1.5;
}

.case-stat__value {
  font-size: 19px;
  font-weight: 900;
  color: var(--cta);
  line-height: 1.4;
}

.case-stat--grade { background: rgba(14, 92, 74, .08); }
.case-stat--grade .case-stat__value { color: var(--primary); }

.case-summary__list {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.case-summary__list > div {
  display: flex;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--border-light);
  font-size: 14px;
  line-height: 1.6;
}

.case-summary__list dt {
  flex: 0 0 72px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-sub);
}

.case-summary__list dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

/* 受給までの経緯（縦のタイムライン） */
.case-story {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.case-story__step {
  position: relative;
  display: flex;
  gap: 18px;
  padding-bottom: 24px;
}
.case-story__step:last-child { padding-bottom: 0; }

/* 番号をつなぐ縦線 */
.case-story__step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 21px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(to bottom, var(--border-gray) 0 4px, transparent 4px 8px);
}

.case-story__num {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 2px solid var(--cta);
  color: var(--cta);
  font-size: 14px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.case-story__body {
  flex: 1 1 auto;
  min-width: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-story__title {
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-peach);
}

.case-story__text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.95;
}
.case-story__text p { margin: 0; }
.case-story__text p + p { margin-top: .8em; }

/* 最後の「結果」は色を変えて強調 */
.case-story__step--result .case-story__num {
  background: var(--cta);
  color: #fff;
}
.case-story__step--result .case-story__body {
  background: var(--bg-peach);
  box-shadow: none;
  border: 2px solid var(--cta);
}
.case-story__step--result .case-story__title {
  color: var(--cta);
  border-bottom-color: rgba(217, 98, 43, .25);
}
.case-story__step--result .case-story__text { color: var(--text); }

.case-related { margin-top: 16px; }

/* --------------------------------------------------------------------------
   19-5. 感謝のお手紙（archive-letter.php ／ single-letter.php）
   -------------------------------------------------------------------------- */

/* 絞り込み：選択中・すべて表示 */
.case-search__keywords a.is-current {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}
.case-search__keywords a.is-current::before { color: #fff; }
.case-search__keywords a.case-search__all { color: var(--primary); border-color: var(--primary); }
.case-search__keywords a.case-search__all::before { content: none; }

/* 一覧グリッド */
.letter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.letter-grid--compact { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }

.letter-card { display: flex; }

.letter-card__link {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease;
}
.letter-card__link:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

/* 便箋エリア（画像 or 本文の冒頭） */
.letter-card__paper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background:
    repeating-linear-gradient(to bottom, transparent 0 25px, rgba(217, 98, 43, .14) 25px 26px),
    #FFFCF6;
  border-bottom: 1px solid var(--border-light);
}

.letter-card__paper--image { background: var(--bg-beige); }

.letter-card__paper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .3s ease;
}
.letter-card__link:hover .letter-card__paper img { transform: scale(1.04); }

.letter-card__excerpt {
  margin: 0;
  padding: 12px 16px 0;
  font-size: 12.5px;
  line-height: 26px;           /* 罫線の間隔と揃える */
  color: var(--text-body);
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 下端をふんわり消す */
.letter-card__paper:not(.letter-card__paper--image)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255, 252, 246, 0), #FFFCF6);
}

.letter-card__video {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(32, 38, 43, .82);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
}

.letter-card__body {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.letter-card__meta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.letter-card__no {
  font-size: 11px;
  font-weight: 900;
  color: var(--cta);
  letter-spacing: .5px;
  font-variant-numeric: tabular-nums;
}

.letter-card__date {
  font-size: 11px;
  color: var(--text-mute);
  font-variant-numeric: tabular-nums;
}

.letter-card__title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text);
  transition: color .2s ease;
}
.letter-card__link:hover .letter-card__title { color: var(--cta); }

.letter-card__from {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--primary);
  background: rgba(14, 92, 74, .1);
  padding: 2px 9px;
  border-radius: var(--radius-pill);
}

/* 詳細：便箋風の枠 */
.letter-paper {
  position: relative;
  background: #FFFCF6;
  border: 1px solid #EFE3CF;
  border-radius: 6px;
  box-shadow: 0 1px 0 #fff inset, var(--shadow-card);
  padding: 36px 36px 32px;
}
/* 右上の折り返し */
.letter-paper::before {
  content: "";
  position: absolute;
  top: -1px;
  right: -1px;
  width: 34px;
  height: 34px;
  background: linear-gradient(225deg, var(--bg) 0 50%, #F3E6D0 50% 100%);
  border-bottom-left-radius: 6px;
  box-shadow: -2px 2px 4px rgba(32, 20, 0, .06);
}
.letter-paper .entry-content { font-size: 15px; line-height: 2.1; }
.letter-paper .entry-content img {
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(32, 20, 0, .12);
}

/* 動画 */
.letter-video {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 14px;
}
.letter-video__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}
.letter-video__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.letter-video__file {
  display: block;
  width: 100%;
  border-radius: 8px;
  background: #000;
}

/* 前後のお手紙 */
.letter-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.letter-pager__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 16px;
  transition: border-color .2s ease;
}
.letter-pager__link:hover { border-color: var(--cta); opacity: 1; }
.letter-pager__link--next { text-align: right; }

.letter-pager__label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cta);
}

.letter-pager__title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* 受給事例への導線バナー */
.letter-to-case {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 56px 18px 22px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  box-shadow: 0 8px 20px rgba(14, 92, 74, .22);
  transition: transform .2s ease;
}
.letter-to-case:hover { opacity: 1; transform: translateY(-2px); }

.letter-to-case__lead {
  font-size: 12px;
  opacity: .85;
}

.letter-to-case__title {
  font-size: 17px;
  font-weight: 900;
}

.letter-to-case svg {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

/* --------------------------------------------------------------------------
   19-6. 説明・相談会（archive- / single-consultation_meeting.php）
   -------------------------------------------------------------------------- */

/* 導入 */
.meeting-intro {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.meeting-intro__text {
  font-size: 14px;
  color: var(--text-warm);
  line-height: 1.9;
}

.meeting-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.meeting-point {
  background: var(--bg-peach);
  border-radius: 10px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}

.meeting-point__label { font-size: 11.5px; font-weight: 700; color: var(--text-sub); }
.meeting-point__value { font-size: 17px; font-weight: 900; color: var(--cta); }

/* 開催日リスト */
.meeting-dates {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meeting-date {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 16px 10px 10px;
  color: var(--text);
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
a.meeting-date:hover {
  opacity: 1;
  border-color: var(--cta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.meeting-date.is-next {
  border: 2px solid var(--cta);
  box-shadow: 0 8px 20px rgba(217, 98, 43, .14);
}

.meeting-date__cal {
  flex-shrink: 0;
  width: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--primary);
  color: #fff;
  border-radius: 10px;
  padding: 6px 0 5px;
  line-height: 1.15;
}
.meeting-date.is-next .meeting-date__cal { background: var(--cta); }

.meeting-date__month { font-size: 11px; font-weight: 700; }
.meeting-date__day   { font-size: 24px; font-weight: 900; font-variant-numeric: tabular-nums; }
.meeting-date__week  { font-size: 10.5px; }

.meeting-date__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.meeting-date__badge {
  flex-basis: 100%;
  font-size: 11px;
  font-weight: 900;
  color: var(--cta);
}

.meeting-date__venue {
  font-size: 16px;
  font-weight: 900;
}

.meeting-date__time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-sub);
  font-variant-numeric: tabular-nums;
}
.meeting-date__time::before {
  content: "";
  width: 13px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6570' stroke-width='2.2'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 3'/%3E%3C/svg%3E") center / contain no-repeat;
}

.meeting-date__more {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cta);
}

/* 会場カード */
.meeting-venues {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.meeting-venue {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--cta);
  padding: 18px 18px 16px;
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease;
}
.meeting-venue:hover { opacity: 1; transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.meeting-venue.is-closed { border-top-color: var(--border-gray); }

.meeting-venue__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.meeting-venue__name {
  font-size: 20px;
  font-weight: 900;
}
.meeting-venue__name small {
  font-size: 13px;
  font-weight: 700;
  margin-left: 2px;
  color: var(--text-sub);
}

.meeting-venue__status {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}
.meeting-venue__status--closed { background: var(--text-mute); }

.meeting-venue__next {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  background: var(--bg-peach);
  border-radius: 8px;
  padding: 10px 12px;
}

.meeting-venue__next-label { font-size: 11px; font-weight: 900; color: var(--cta); }
.meeting-venue__next-date  { font-size: 17px; font-weight: 900; color: var(--cta); }
.meeting-venue__next-time  { font-size: 12.5px; font-weight: 700; color: var(--text-sub); }

.meeting-venue__count {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
}

.meeting-venue__note {
  font-size: 12.5px;
  color: var(--text-sub);
}

.meeting-venue__addr {
  display: flex;
  align-items: flex-start;
  gap: 5px;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.6;
}
.meeting-venue__addr svg { flex-shrink: 0; margin-top: 3px; }

.meeting-venue__more {
  margin-top: auto;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cta);
}

/* 終了した相談会（折りたたみ） */
.meeting-closed {
  margin-top: 4px;
}
.meeting-closed summary {
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  padding: 8px 0;
}
.meeting-closed[open] summary { margin-bottom: 10px; }

/* 予約の流れ */
.meeting-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.meeting-step {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px 14px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.meeting-step__num {
  position: absolute;
  top: -13px;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-pill);
  background: var(--cta);
  color: #fff;
  font-size: 11.5px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.meeting-step__title { font-size: 14px; font-weight: 900; }
.meeting-step__text  { font-size: 12px; color: var(--text-sub); line-height: 1.7; }

/* 会場ページ：次回開催パネル */
.meeting-summary {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--cta);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.meeting-summary.is-closed { border-top-color: var(--border-gray); }

.meeting-summary__next {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 14px;
}

.meeting-summary__label {
  font-size: 12px;
  font-weight: 900;
  color: var(--cta);
}
.meeting-summary__upcoming .meeting-summary__label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-sub);
}

.meeting-summary__date {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
.meeting-summary__date strong {
  font-size: 30px;
  font-weight: 900;
  color: var(--cta);
  margin: 0 1px;
}

.meeting-summary__time {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-sub);
  font-variant-numeric: tabular-nums;
}

.meeting-summary__none {
  font-size: 14px;
  color: var(--text-sub);
}

.meeting-summary__upcoming .meeting-dates { gap: 6px; }
.meeting-summary__upcoming .meeting-date { padding: 6px 12px 6px 6px; gap: 12px; }
.meeting-summary__upcoming .meeting-date__cal { width: 54px; padding: 4px 0; }
.meeting-summary__upcoming .meeting-date__day { font-size: 19px; }

.meeting-summary__addr {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}
.meeting-summary__addr svg { flex-shrink: 0; margin-top: 3px; }

.meeting-summary__btns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.meeting-summary__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  color: #fff;
  font-size: 13.5px;
  font-weight: 900;
  line-height: 1.3;
  text-align: left;
}
.meeting-summary__btn small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  opacity: .9;
  font-variant-numeric: tabular-nums;
}
.meeting-summary__btn--tel  { background: var(--cta); }
.meeting-summary__btn--tel2 { background: var(--primary); }
.meeting-summary__btn--mail { background: #fff; color: var(--cta); border: 2px solid var(--cta); }
.meeting-summary__btn:hover { opacity: .9; }

.meeting-summary__hours {
  font-size: 11.5px;
  color: var(--text-mute);
  text-align: center;
  margin-top: -8px;
}

/* 会場ページ：エディタ本文（日程・会場・持ち物など）の見た目 */
.entry-content.meeting-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 8px 26px 26px;
}
.entry-content.meeting-content h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 1.8em;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--bg-peach);
  font-size: 16px;
}
.entry-content.meeting-content h3::before {
  content: "";
  width: 6px;
  height: 18px;
  border-radius: 3px;
  background: var(--cta);
  flex-shrink: 0;
}
.entry-content.meeting-content h3 + * { margin-top: .9em; }
.entry-content.meeting-content ul { padding-left: 1.2em; }
.entry-content.meeting-content li::marker { color: var(--cta); }

/* --------------------------------------------------------------------------
   19-7. 障害年金無料診断（page-dia.php）
   -------------------------------------------------------------------------- */
.dia { gap: 24px; scroll-margin-top: 80px; }

/* ステップ */
.dia-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: #fff;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  counter-reset: none;
}

.dia-steps__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mute);
}
.dia-steps__item + .dia-steps__item::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--border);
  border-right: 2px solid var(--border);
  transform: translateY(-50%) rotate(45deg);
}

.dia-steps__num {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-pill);
  background: var(--bg-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
}

.dia-steps__item.is-current { color: var(--cta); background: var(--bg-peach); }
.dia-steps__item.is-current .dia-steps__num { background: var(--cta); color: #fff; }
.dia-steps__item.is-done { color: var(--primary); }
.dia-steps__item.is-done .dia-steps__num { background: var(--primary); color: #fff; }

/* 導入 */
.dia-lead {
  font-size: 14.5px;
  color: var(--text-warm);
  line-height: 1.9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.dia-lead p { margin: 0; }

.dia-badges {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dia-badges li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--cta);
  background: #fff;
  border: 1.5px solid var(--cta);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}
.dia-badges li::before {
  content: "";
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D9622B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* エラー・警告 */
.dia-alert {
  background: #FFF3F0;
  border: 2px solid #D93A2B;
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.8;
}
.dia-alert:focus { outline: 3px solid rgba(217, 58, 43, .3); outline-offset: 2px; }
.dia-alert__title { font-weight: 900; color: #C62F21; margin: 0 0 4px; }
.dia-alert ul { margin: 0; padding-left: 1.2em; }
.dia-alert a { color: #C62F21; text-decoration: underline; }

/* フォーム */
.dia-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dia-block {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 8px 26px 12px;
}

.dia-block__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 6px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--bg-peach);
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}
.dia-block__title::before {
  content: "";
  width: 6px;
  height: 20px;
  border-radius: 3px;
  background: var(--cta);
  flex-shrink: 0;
}

.dia-q {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-light);
  scroll-margin-top: 90px;
}
.dia-q:last-child { border-bottom: 0; }

.dia-q__fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dia-q__label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.6;
}

.dia-q__no {
  font-size: 13px;
  font-weight: 900;
  color: var(--cta);
  font-variant-numeric: tabular-nums;
}

.dia-q__req {
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: #D93A2B;
  padding: 1px 7px;
  border-radius: 4px;
  line-height: 1.6;
}

/* 選択ボタン（ラジオ） */
.dia-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.dia-choices--stack { flex-direction: column; }

.dia-choice {
  position: relative;
  display: flex;
  cursor: pointer;
}
.dia-choices:not(.dia-choices--stack) .dia-choice { flex: 0 1 160px; }

.dia-choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.dia-choice span {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;           /* 指で押しやすい高さ */
  padding: 10px 16px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14.5px;
  color: var(--text);
  line-height: 1.5;
  transition: border-color .15s ease, background .15s ease;
}
.dia-choice span::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-gray);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.dia-choice:hover span { border-color: var(--cta); }
.dia-choice input:checked + span {
  background: var(--bg-peach);
  border-color: var(--cta);
  font-weight: 700;
}
.dia-choice input:checked + span::before {
  border-color: var(--cta);
  box-shadow: inset 0 0 0 4px #fff;
  background: var(--cta);
}
.dia-choice input:focus-visible + span { outline: 3px solid rgba(217, 98, 43, .35); outline-offset: 2px; }

/* 入力欄 */
.dia-input {
  width: 100%;
  font-family: inherit;
  font-size: 16px;              /* 16px未満だとiPhoneで入力時に画面が拡大される */
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  line-height: 1.6;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.dia-input::placeholder { color: var(--text-mute); }
.dia-input:focus {
  outline: 0;
  background: #fff;
  border-color: var(--cta);
  box-shadow: 0 0 0 4px rgba(217, 98, 43, .14);
}
textarea.dia-input { resize: vertical; min-height: 110px; }

.dia-input--select {
  appearance: none;
  -webkit-appearance: none;
  max-width: 320px;
  padding-right: 40px;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235B6570' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 14px no-repeat;
  cursor: pointer;
}

/* エラー表示 */
.dia-q.has-error .dia-input,
.dia-q.has-error .dia-choice span { border-color: #D93A2B; background-color: #FFF8F6; }

.dia-q__error {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #C62F21;
}
.dia-q__error::before {
  content: "!";
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  background: #D93A2B;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dia-q__note {
  margin: 0;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ボット対策の隠し項目 */
.dia-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* プライバシー */
.dia-privacy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.8;
  padding: 16px 20px;
  background: var(--bg-beige);
  border-radius: 12px;
}
.dia-privacy p { margin: 0; }
.dia-privacy a { color: var(--primary); text-decoration: underline; font-weight: 700; }

/* ボタン */
.dia-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dia-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 40px;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.dia-btn--submit {
  border: 0;
  background: var(--cta);
  color: #fff;
  min-width: 280px;
  box-shadow: 0 8px 20px rgba(217, 98, 43, .32);
}
.dia-btn--submit:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(217, 98, 43, .38); }
.dia-btn--back {
  border: 1.5px solid var(--border-gray);
  background: #fff;
  color: var(--text-sub);
}
.dia-btn--back:hover { border-color: var(--text-sub); }
.dia-btn:focus-visible { outline: 3px solid rgba(217, 98, 43, .4); outline-offset: 3px; }

/* 確認画面 */
.dia-confirm { margin: 0; }
.dia-confirm > div {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.dia-confirm > div:last-of-type { border-bottom: 0; }
.dia-confirm dt { font-size: 13px; font-weight: 700; color: var(--text-sub); line-height: 1.6; }
.dia-confirm dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.7; word-break: break-all; }

/* 完了画面 */
.dia-done {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--primary);
  padding: 36px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.dia-done__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(14, 92, 74, .28);
}
.dia-done__title { font-size: 22px; font-weight: 900; color: var(--text); }
.dia-done__text { margin: 0; font-size: 14px; color: var(--text-body); line-height: 1.95; }
.dia-done__note { margin: 0; font-size: 12px; color: var(--text-sub); }
.dia-done__tels { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.dia-done__tels a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 900;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-variant-numeric: tabular-nums;
}
.dia-done__tels span {
  font-size: 11.5px;
  color: #fff;
  background: var(--cta);
  padding: 1px 8px;
  border-radius: 4px;
}
.dia-done__tels a + a span { background: var(--primary); }
.dia-done__hours { margin: 0; font-size: 11.5px; color: var(--text-mute); }

.dia-next {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.dia-next__link {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  transition: border-color .2s ease;
}
.dia-next__link:hover { border-color: var(--cta); opacity: 1; }
.dia-next__lead  { font-size: 11.5px; color: var(--text-sub); }
.dia-next__title { font-size: 15px; font-weight: 900; color: var(--cta); }

/* 任意ラベル・選択肢の並べ方・生年月日・その他（お問い合わせと共通） */
.dia-q__opt {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--text-sub);
  background: var(--bg-beige);
  padding: 1px 7px;
  border-radius: 4px;
  line-height: 1.6;
}

.dia-choices--grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
}

.form-birth {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}
.form-birth__era .dia-choice { flex: 0 0 110px !important; }
.form-birth__ymd {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}
.form-birth__part {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text);
}
.form-birth__y { width: 76px; text-align: center; }
.form-birth__md.dia-input--select { width: 84px; padding-right: 30px; background-position: right 10px center; }

.form-other {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.form-other__label { font-size: 13px; font-weight: 700; color: var(--text-sub); }
.form-other .dia-input { flex: 1 1 220px; max-width: 360px; }

.dia-confirm dd.is-empty { color: var(--text-mute); font-weight: 400; }

/* --------------------------------------------------------------------------
   19-7b. お問い合わせ（page-contact.php）── フォーム部分は 19-7 と共通
   -------------------------------------------------------------------------- */

/* お問い合わせ方法（ページ内リンク） */
.contact-ways {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-auto-flow: column;
  gap: 10px;
}
.contact-ways__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 10px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  font-size: 14.5px;
  font-weight: 900;
  color: var(--text);
  transition: border-color .2s ease, transform .2s ease;
}
.contact-ways__item:hover { border-color: var(--cta); transform: translateY(-2px); opacity: 1; }
.contact-ways__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-ways__icon--tel  { background: var(--primary); }
.contact-ways__icon--mail { background: var(--cta); }
.contact-ways__icon--line { background: #06C755; }

/* 見出し */
.contact-sec__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 900;
  color: var(--text);
}
.contact-sec__title::before {
  content: "";
  width: 6px;
  height: 22px;
  border-radius: 3px;
  background: var(--cta);
  flex-shrink: 0;
}

.contact-tel,
.contact-mail { scroll-margin-top: 90px; }

/* お電話 */
.contact-tel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--primary);
  padding: 24px 26px 22px;
}
.contact-tel__lead { margin: 0; font-size: 14.5px; color: var(--text-body); line-height: 1.9; }
.contact-tel__family {
  display: inline-block;
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-beige);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
}
.contact-tel__nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.contact-tel__num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 12px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  transition: border-color .2s ease;
}
.contact-tel__num:hover { border-color: var(--primary); opacity: 1; }
.contact-tel__office {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  padding: 2px 10px;
  border-radius: 4px;
}
.contact-tel__num--hama .contact-tel__office { background: var(--cta); }
.contact-tel__digits {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}
.contact-tel__hours { margin: 12px 0 0; text-align: center; font-size: 12.5px; color: var(--text-sub); }

/* ご注意 */
.contact-notice {
  border: 2px solid #80C2DB;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}
.contact-notice__title {
  margin: 0;
  padding: 10px 16px;
  background: #80C2DB;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}
.contact-notice__body { padding: 16px 20px; font-size: 13.5px; color: var(--text-body); line-height: 1.9; }
.contact-notice__body p { margin: 0; }
.contact-notice__body p + p { margin-top: 8px; }

/* メール */
.contact-mail__lead strong { color: var(--cta); }
.contact-mail__small { font-size: 12.5px; color: var(--text-sub); }

/* --------------------------------------------------------------------------
   19-8. 採用情報（固定ページ「採用情報」の本文 job-content.html）
   -------------------------------------------------------------------------- */

/* メインビジュアル */
.job-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--bg-beige);
}

.entry-content .job-hero__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 0;
}

.job-hero__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 26px 22px;
  background: linear-gradient(to top, rgba(20, 20, 20, .72) 0%, rgba(20, 20, 20, .35) 60%, rgba(20, 20, 20, 0) 100%);
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.job-hero__kicker {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: .92;
}

.entry-content .job-hero__catch {
  margin: 0;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.45;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
}

.entry-content .job-hero__tags {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.entry-content .job-hero__tags li {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  background: var(--cta);
  color: #fff;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
}

.entry-content .job-lead {
  font-size: 14.5px;
  color: var(--text-warm);
  line-height: 1.95;
}

/* 応募ボタン */
.entry-content .job-apply {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  width: fit-content;
  min-width: 320px;
  margin: 0 auto;
  padding: 14px 40px 14px 32px;
  position: relative;
  border-radius: var(--radius-pill);
  background: var(--cta);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(217, 98, 43, .32);
  transition: transform .2s ease, box-shadow .2s ease;
}
.entry-content .job-apply::after {
  content: "";
  position: absolute;
  right: 24px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2.5px solid #fff;
  border-right: 2.5px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}
.entry-content .job-apply:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 14px 26px rgba(217, 98, 43, .38); }
.job-apply__lead  { font-size: 11.5px; opacity: .92; }
.job-apply__title { font-size: 18px; font-weight: 900; letter-spacing: 1px; }

/* 4つのポイント */
.job-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.job-point {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.job-point__num {
  font-size: 20px;
  font-weight: 900;
  color: var(--cta);
  line-height: 1;
}

.entry-content .job-point__title {
  font-size: 15.5px;
  font-weight: 900;
  color: var(--text);
  padding: 0;
  border: 0;
}

.entry-content .job-point__text {
  margin: 0;
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.8;
}

/* 仕事内容 */
.entry-content .job-tasks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.entry-content .job-tasks li {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 18px 8px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
}
.job-tasks__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-pill);
  background: var(--bg-peach);
  color: var(--cta);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 募集要項 */
.job-table {
  margin: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.job-table > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  border-bottom: 1px solid var(--border-light);
}
.job-table > div:last-child { border-bottom: 0; }

.job-table dt {
  background: var(--bg-peach);
  padding: 14px 16px;
  font-size: 13.5px;
  font-weight: 900;
  color: var(--cta);
}

.job-table dd {
  margin: 0;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text);
  line-height: 1.8;
}
.job-table dd small { font-size: 12px; color: var(--text-sub); }
.job-table dd ul { margin: 0; padding-left: 1.2em; list-style: disc; }
.job-table dd li { margin: 0; }
.job-table dd li::marker { color: var(--cta); }

.job-table__wage {
  font-size: 17px;
  font-weight: 900;
  color: var(--cta);
}

/* 選考の流れ（受給事例のタイムラインを流用） */
.job-flow .case-story__title small {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
}
.entry-content .job-flow .case-story__title { border-left: 0; background: none; padding: 0 0 8px; font-size: 16px; }
.entry-content .job-flow { padding: 0; list-style: none; }
.entry-content .job-flow li { margin: 0; }

.entry-content .job-check {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.entry-content .job-check li {
  margin: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 12px 8px 34px;
  position: relative;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.5;
}
.entry-content .job-check li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--cta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.entry-content .job-check small {
  display: block;
  font-size: 11.5px;
  font-weight: 400;
  color: var(--text-sub);
}

/* 最後の応募 */
.job-last {
  margin-top: 56px;
  padding: 30px 20px;
  border-radius: var(--radius-lg);
  background: var(--bg-peach);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.entry-content .job-last__text {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  color: var(--text);
}

.entry-content .job-apply--top { margin-top: 4px; }

/* ページ送り（the_posts_pagination） */
.irn-pagination .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.irn-pagination .page-numbers {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: var(--radius-pill);
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.irn-pagination a.page-numbers:hover { border-color: var(--cta); color: var(--cta); opacity: 1; }
.irn-pagination .page-numbers.current {
  background: var(--cta);
  border-color: var(--cta);
  color: #fff;
}
.irn-pagination .page-numbers.dots {
  background: transparent;
  border: 0;
  min-width: 20px;
  padding: 0;
}

/* --------------------------------------------------------------------------
   20. レスポンシブ
   -------------------------------------------------------------------------- */

/* 相談料0円バッジの脈動（スマホで使用） */
@keyframes hero-badge-pulse {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.07) rotate(-4deg); }
}

/* 動きを減らす設定の端末ではアニメーションを止める */
@media (prefers-reduced-motion: reduce) {
  .hero__badge { animation: none !important; }
}

/* --- スマホ --- */
@media (max-width: 600px) {

  /* セクション見出し */
  .sec-title__heading { font-size: 20px; }

  /* ヒーロー */
  .hero { padding: 24px 20px 0; }
  .hero__content { gap: 18px; }
  .hero__left,
  .hero__photo-col { flex-basis: 100%; min-width: 0; }
  .hero__left { gap: 16px; }
  .hero__h1-sub {
    font-size: 12.5px;
    letter-spacing: 0;
    word-break: keep-all;          /* 「相談なら」と事務所名の間のスペースでだけ改行 */
    overflow-wrap: anywhere;
  }
  .hero__headline-text { font-size: 19px; }
  .hero__headline svg { width: 48px; height: 9px; }
  /* 実績カード：横幅いっぱい＋数字を主役に */
  .hero__card-wrap {
    width: 100%;
    margin-right: 0;
  }
  .hero__card {
    padding: 16px 96px 14px 18px;          /* 右側はバッジの逃げ */
    border: 2px solid rgba(217, 98, 43, .18);
    box-shadow: 0 10px 24px rgba(217, 98, 43, .18);
    gap: 6px;
  }
  .hero__card-title { font-size: 18px; }
  .hero__card-row {
    flex-wrap: wrap;                       /* 日付 → 件数 の2段組み */
    gap: 0 6px;
    white-space: normal;
  }
  .hero__card-date {
    flex-basis: 100%;
    font-size: 13.5px;
    line-height: 1.4;
  }
  .hero__card-count {
    font-size: 14px;
    line-height: 1.1;
  }
  .hero__card-num {
    font-size: 46px;
    margin: 0 3px;
    letter-spacing: -.5px;
  }

  /* 相談料0円バッジ：大きく＋ゆっくり脈打たせて目を引く */
  .hero__badge {
    width: 96px;
    height: 96px;
    top: -22px;
    right: -10px;
    animation: hero-badge-pulse 2.4s ease-in-out infinite;
  }
  .hero__badge-label { font-size: 13px; }
  .hero__badge-value { font-size: 27px; }
  .hero__reasons-title { font-size: 17px; }
  .hero__reasons-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero__reason { font-size: 13px; padding: 12px 16px; }
  .hero__photo-wrap {
    max-width: none;
    width: calc(100% + 40px);
    margin-left: -20px;
    margin-right: -20px;
  }
  .hero__greeting-btn {
    margin-top: -18px;
    position: relative;
    z-index: 3;
  }
  .hero__wave { margin-top: 14px; }

  /* 口コミ */
  .voice__cards { grid-template-columns: 1fr; }

  /* チラシ */
  .flyer__image { align-self: center; margin: 0 auto; }

  /* 受給事例 */
  .case-row { gap: 8px; position: relative; padding-right: 20px; }
  .case-row__title { flex-basis: 100%; order: 3; }
  .case-row__tags { order: 4; }
  .case-row svg { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); }

  /* 無料診断バナー */
  .diag {
    flex-direction: column;
    padding: 36px 18px 24px;
    gap: 16px;
    border-radius: 24px;
  }
  .diag__icon { display: none; }
  .diag__bubble--left {
    top: 10px;
    left: 50%;
    transform: translateX(-62%) rotate(-4deg);
  }
  .diag__bubble--right {
    bottom: 10px;
    right: 50%;
    transform: translateX(62%) rotate(3deg);
  }
  .diag__card {
    flex-basis: auto;
    width: 100%;
    border-radius: 24px;
    padding: 24px 20px;
  }

  /* 対象となる方 */
  .target__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .target__item img { width: 92px; height: 92px; }

  /* 4つの特徴 */
  .features__grid { grid-template-columns: 1fr; }

  /* メリット・デメリット */
  .md__grid { grid-template-columns: 1fr; gap: 28px; }

  /* 心配なこと */
  .worry__body { flex-direction: column; align-items: center; }

  /* 相談会バナー */
  .reserve { min-height: 300px; }
  .reserve__panel {
    width: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 62%, 0 78%);
  }
  .reserve__text { max-width: none; padding: 24px 20px 0; }
  .reserve__free { left: auto; right: 16px; top: 10px; }
  .reserve__btn { left: 20px; bottom: 16px; }
  .reserve__badge {
    right: 16px;
    bottom: 16px;
    width: 92px;
    height: 92px;
    font-size: 11.5px;
  }

  /* 動画 */
  .movie__grid { grid-template-columns: 1fr; }

  /* 申請の流れ */
  .flow__row {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }
  .flow__arrow { display: none; }
  .flow__card { padding-top: 22px; }

  /* はじめての方へ */
  .greeting__photo-col { flex-basis: 100%; align-self: center; }
  .greeting__links { grid-template-columns: 1fr; }

  /* 社労士が安心の理由 */
  .reasons__photo {
    flex-basis: 100%;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
  }

  /* 事務所電話案内 */
  .officebox__grid { grid-template-columns: 1fr; }

  /* 下層ページ */
  .breadcrumb {
    margin: -24px -20px 20px;
    padding: 0 20px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .breadcrumb::-webkit-scrollbar { display: none; }
  .breadcrumb__list { flex-wrap: nowrap; white-space: nowrap; font-size: 11.5px; }
  .page-head__title { font-size: 21px; }
  .entry-content { font-size: 14px; }
  .entry-content h2 { font-size: 18px; }
  .entry-content h3 { font-size: 16px; }
  .entry-content table { display: block; overflow-x: auto; }
  .entry-content .sec-title__heading { font-size: 20px; }

  /* 相談CTA */
  .cta-consult { padding: 26px 18px 22px; border-radius: var(--radius); }
  .cta-consult__title { font-size: 18px; }
  .cta-consult__tels { flex-direction: column; width: 100%; }
  .cta-consult__tel { justify-content: center; }
  .cta-consult__btns { flex-direction: column; width: 100%; }
  .cta-consult__btn { justify-content: center; }

  /* 料金ページ */
  .price-points { gap: 8px; }
  .price-point { padding: 14px 6px 12px; }
  .price-point__label { font-size: 12px; }
  .price-point__value { font-size: 30px; }
  .price-point__value small { font-size: 14px; }
  .price-point__value--text { font-size: 15px; line-height: 33px; }
  .price-point__note { font-size: 10px; }
  .price-point__note br { display: none; }

  .entry-content .price-sec { margin-top: 48px; }

  .entry-content .price-table { display: table; }
  .entry-content .price-table th,
  .entry-content .price-table td { padding: 12px 10px; }
  .entry-content .price-table thead th { font-size: 11px; white-space: normal; }
  .entry-content .price-table tbody th a { font-size: 13px; }
  .entry-content .price-table td.price-table__free,
  .entry-content .price-table td.price-table__cost { font-size: 15px; }
  .entry-content .price-table td { font-size: 12.5px; }

  .price-plan { padding: 20px 16px; }
  .entry-content .price-plan__name { font-size: 18px; }
  .entry-content .price-plan__name small { display: block; margin: 2px 0 0; }
  .price-formula { gap: 4px; }
  .price-chip { min-width: 0; flex: 1 1 calc(50% - 20px); }
  .price-formula__op { display: none; }
  .price-reward { grid-template-columns: 1fr; padding: 4px 14px; }
  .price-reward dt { padding: 10px 0 0; border-bottom: 0; }
  .price-reward dd { padding: 2px 0 10px; }

  .price-calc { padding: 18px 14px; }
  .price-calc__row { grid-template-columns: 1fr auto; gap: 8px 12px; }
  .price-calc__formula { grid-column: 1 / -1; order: 3; }

  .entry-content .price-flow { grid-template-columns: 1fr; gap: 24px; }
  .entry-content .price-flow__step:not(:last-child)::after { display: none; }

  .entry-content .price-checklist { grid-template-columns: 1fr; padding: 18px 16px; }
  .price-notes { grid-template-columns: 1fr; }

  .price-faq__item summary { padding: 14px 44px 14px 50px; font-size: 14px; }
  .price-faq__answer { padding: 0 16px 16px 50px; }

  /* 受給事例 */
  .case-archive { gap: 28px; }
  .case-intro { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 16px; }
  .case-intro__text { font-size: 13.5px; }
  .case-intro__stat { flex-direction: row; align-items: baseline; justify-content: center; gap: 10px; padding: 8px 12px; }
  .case-intro__stat-num { font-size: 26px; }

  .case-search__icon { left: 16px; }
  .case-search__field { font-size: 16px; padding: 12px 8px 12px 42px; }  /* 16px未満だとiPhoneで入力時に拡大される */
  .case-search__submit { padding: 0 18px; font-size: 13.5px; }

  .case-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .case-cat { padding: 12px 10px 12px 12px; gap: 6px; }
  .case-cat__label { font-size: 13px; }
  .case-cat svg { display: none; }

  /* 疾患チップは横スクロール（縦に何段も積まない） */
  .case-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 0 -20px;
    padding: 2px 20px 6px;
    scrollbar-width: none;
  }
  .case-chips::-webkit-scrollbar { display: none; }

  .case-grid { grid-template-columns: 1fr; gap: 12px; }
  .case-card__link { padding: 16px; }

  .irn-pagination .page-numbers { min-width: 36px; height: 36px; padding: 0 10px; font-size: 13px; }

  /* 受給事例：詳細 */
  .case-single { gap: 28px; }
  .case-summary { padding: 18px 16px 20px; }
  .case-summary__stats { grid-template-columns: 1fr; }
  .case-stat { flex-direction: row; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 14px; }
  .case-stat__label { flex: 0 1 auto; }
  .case-stat__value { font-size: 16px; text-align: right; }
  .case-summary__list > div { flex-direction: column; gap: 2px; font-size: 13.5px; }
  .case-summary__list dt { flex-basis: auto; }

  .case-story__step { gap: 10px; }
  .case-story__step:not(:last-child)::before { left: 15px; top: 32px; }
  .case-story__num { width: 32px; height: 32px; font-size: 12px; }
  .case-story__body { padding: 16px; }
  .case-story__title { font-size: 15px; }
  .case-story__text { font-size: 13.5px; }

  /* 感謝のお手紙 */
  .letter-grid,
  .letter-grid--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .letter-card__body { padding: 10px 10px 12px; }
  .letter-card__title { font-size: 13px; }
  .letter-card__excerpt { padding: 8px 10px 0; font-size: 11.5px; -webkit-line-clamp: 4; }
  .letter-paper { padding: 26px 18px 22px; }
  .letter-paper .entry-content { font-size: 14px; line-height: 2; }
  .letter-video { padding: 8px; }
  .letter-pager { grid-template-columns: 1fr; gap: 8px; }
  .letter-pager__link--next { text-align: left; }
  .letter-to-case { padding: 16px 48px 16px 18px; }
  .letter-to-case__title { font-size: 15.5px; }
  .letter-to-case svg { right: 18px; }

  /* 説明・相談会 */
  .meeting-intro { padding: 18px 16px; }
  .meeting-intro__text { font-size: 13.5px; }
  .meeting-points { gap: 6px; }
  .meeting-point__value { font-size: 14px; }
  .meeting-date { gap: 12px; padding: 8px 12px 8px 8px; }
  .meeting-date__cal { width: 56px; }
  .meeting-date__day { font-size: 21px; }
  .meeting-date__body { gap: 2px 10px; }
  .meeting-date__venue { font-size: 15px; }
  .meeting-date__time { font-size: 12.5px; }
  .meeting-date__more { display: none; }
  .meeting-venues { grid-template-columns: 1fr; }
  .meeting-steps { grid-template-columns: 1fr; gap: 20px; }
  .meeting-summary { padding: 18px 16px; }
  .meeting-summary__date strong { font-size: 25px; }
  .meeting-summary__btns { grid-template-columns: 1fr; }
  .entry-content.meeting-content { padding: 4px 16px 20px; }

  /* 障害年金無料診断 */
  .dia-steps__item { flex-direction: column; gap: 3px; padding: 9px 4px; font-size: 11.5px; }
  .dia-steps__item + .dia-steps__item::before { display: none; }
  .dia-lead { font-size: 13.5px; }
  .dia-block { padding: 4px 16px 8px; }
  .dia-block__title { font-size: 15px; }
  .dia-q { padding: 16px 0; }
  .dia-q__label { font-size: 14.5px; }
  .dia-choices:not(.dia-choices--stack) .dia-choice { flex: 1 1 0; }
  .dia-input--select { max-width: none; }
  .dia-actions { flex-direction: column-reverse; }
  .dia-btn { width: 100%; padding: 0 20px; }
  .dia-btn--submit { min-width: 0; }
  .dia-confirm > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
  .dia-done { padding: 28px 18px 24px; }
  .dia-done__title { font-size: 19px; }
  .dia-done__tels { flex-direction: column; width: 100%; }
  .dia-done__tels a { justify-content: center; }
  .dia-next { grid-template-columns: 1fr; }
  .dia-choices--grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-birth { flex-direction: column; align-items: flex-start; }
  .form-birth__era { width: 100%; }
  .form-birth__era .dia-choice { flex: 1 1 0 !important; }
  .form-other .dia-input { max-width: none; }
  .form-birth__ymd { flex-wrap: nowrap; gap: 8px; }
  .form-birth__part { gap: 4px; }
  .form-birth__y { width: 62px; }
  .form-birth__md.dia-input--select { width: 74px; padding-left: 10px; padding-right: 24px; background-position: right 7px center; }
  .dia-choice span { padding: 10px 12px; gap: 8px; }

  /* お問い合わせ */
  .contact-ways { gap: 6px; }
  .contact-ways__item { flex-direction: column; gap: 4px; min-height: 0; padding: 10px 4px; font-size: 12px; }
  .contact-ways__icon { width: 30px; height: 30px; }
  .contact-sec__title { font-size: 17px; }
  .contact-tel { padding: 20px 16px 18px; }
  .contact-tel__lead { font-size: 13.5px; }
  .contact-tel__lead br { display: none; }
  .contact-tel__nums { grid-template-columns: 1fr; gap: 8px; }
  .contact-tel__digits { font-size: 24px; }
  .contact-notice__title { font-size: 15px; }
  .contact-notice__body { padding: 14px 16px; font-size: 13px; }

  /* 採用情報 */
  .job-hero { border-radius: var(--radius); }
  .entry-content .job-hero__img { aspect-ratio: 4 / 3; }
  .job-hero__body { padding: 50px 16px 16px; }
  .entry-content .job-hero__catch { font-size: 20px; }
  .entry-content .job-lead { font-size: 13.5px; }
  .entry-content .job-apply { min-width: 0; width: 100%; }
  .job-points { grid-template-columns: 1fr; gap: 10px; }
  .entry-content .job-tasks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .job-table > div { grid-template-columns: 1fr; }
  .job-table dt { padding: 8px 14px; }
  .job-table dd { padding: 10px 14px 14px; font-size: 13.5px; }
  .entry-content .job-check { grid-template-columns: 1fr; }
  .job-last { margin-top: 40px; padding: 24px 16px; }
  .entry-content .job-last__text { font-size: 15px; }
}
