/* article.css — 下層ページ（業種・地域・記事・案内ページ）共通テンプレート */

.article-wrap { max-width: 1380px; margin-inline: auto; }

/* ---------- 記事ヘッダー ---------- */
.article-header { position: relative; margin: .5rem 0 1.25rem; }
.article-header .label { margin-bottom: .75rem; }
.article-title { position: relative; font-size: var(--fs-h1); line-height: 1.25; margin-bottom: .875rem; }
.article-title-hand { display: inline-block; margin-left: .75rem; font-size: clamp(1.25rem, .9rem + 1.3vw, 2.375rem); vertical-align: middle; }
@media (min-width: 900px) {
  .article-title-hand { position: absolute; right: 0; top: .75rem; margin: 0; }
}
.article-lead { font-size: var(--fs-lead); line-height: 1.85; max-width: 46em; margin-bottom: .75rem; color: var(--color-text-strong); }
.article-dates { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-size: var(--fs-small); color: var(--color-text-strong); }

.article-hero { aspect-ratio: 43 / 10; margin-bottom: 1.75rem; }
@media (max-width: 767px) { .article-hero { aspect-ratio: 21 / 9; } }

/* ---------- 本文セクション ---------- */
.a-section { margin-bottom: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem); }
.a-section > h2, .a-section__head h2 { font-size: var(--fs-h2-sub); line-height: 1.25; margin-bottom: .625rem; }
.a-section__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem var(--space-3); margin-bottom: .875rem; }
.a-section__head h2 { margin-bottom: 0; }
.a-section__head p { font-size: var(--fs-small); color: var(--color-text-strong); }
.a-section > p { font-size: .9375rem; color: var(--color-text-strong); }
.a-section p + p { margin-top: .25em; }

.about-grid { display: grid; gap: var(--space-3) var(--space-5); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: minmax(0, 1fr) 47%; } }
.about-grid__text p { font-size: .9375rem; line-height: 1.85; color: var(--color-text-strong); }
.about-figure { position: relative; margin-right: 1.5rem; }
.about-figure .media { aspect-ratio: 32 / 10; }
.about-figure .handwritten-note { position: absolute; right: -1.75rem; bottom: -1.25rem; font-size: 1.5rem; text-shadow: 0 0 6px #fff, 0 0 6px #fff, 0 0 2px #fff; }
@media (max-width: 899px) { .about-figure { margin-right: .5rem; } .about-figure .handwritten-note { right: -.5rem; font-size: 1.25rem; } }

/* 料金表 */
.price-table { width: 100%; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); border-collapse: separate; overflow: hidden; font-size: .9375rem; margin-top: .5rem; box-shadow: var(--shadow); }
.price-table th, .price-table td { padding: .5rem 1.5rem; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--color-line); }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table th { width: 22%; background: linear-gradient(90deg, var(--color-peach), #FEF1EA); color: var(--color-text-strong); font-weight: 800; white-space: nowrap; padding-left: 2.75rem; }
.price-table td { color: var(--color-text-strong); }
@media (max-width: 599px) { .price-table { font-size: .8125rem; } .price-table th { width: 30%; white-space: normal; padding-left: .75rem; } .price-table th, .price-table td { padding: .625rem .75rem; } }
.table-note { margin-top: .5rem; font-size: var(--fs-note); color: var(--color-text-strong); }

/* 利用の流れ */
.flow { display: grid; gap: 12px; }
@media (min-width: 768px) { .flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; } }
.flow li { position: relative; background: var(--color-bg-soft); border: 1px solid var(--color-line); border-radius: var(--radius); padding: .875rem 1rem 1rem; box-shadow: var(--shadow); }
.flow h3 { display: flex; align-items: center; gap: .5rem; font-size: 1.0625rem; margin-bottom: .375rem; }
.flow__num { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--color-red); color: #fff; font-family: var(--font-sans); font-size: .9375rem; font-weight: 800; }
.flow p { font-size: .8125rem; line-height: 1.7; padding-left: 2.25rem; color: var(--color-text-strong); }
@media (min-width: 768px) {
  .flow li:not(:last-child)::after {
    content: ""; position: absolute; right: -21px; top: 50%; width: 10px; height: 10px; z-index: 1;
    border-top: 2px solid var(--color-red); border-right: 2px solid var(--color-red); transform: translateY(-50%) rotate(45deg);
  }
}
@media (max-width: 767px) { .flow li { padding: .625rem .75rem; } .flow p { font-size: .75rem; } }

/* こんな人に向いています */
.suits { display: grid; gap: 12px; }
@media (min-width: 768px) { .suits { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.suits li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 1rem; align-items: start; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow); }
.suits svg { width: 56px; height: 48px; color: var(--color-red); margin-top: .25rem; }
.suits h3 { font-size: 1.0625rem; margin-bottom: .375rem; line-height: 1.4; }
.suits p { font-size: .8125rem; line-height: 1.7; color: var(--color-text-strong); }
@media (max-width: 767px) { .suits li { grid-template-columns: 40px minmax(0, 1fr); padding: .625rem .75rem; } .suits svg { width: 36px; height: 30px; } .suits h3 { font-size: .9375rem; margin-bottom: .125rem; } .suits p { font-size: .75rem; } }

/* 利用前に確認したいこと */
.check-box { position: relative; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 1rem; align-items: center; background: var(--color-red-soft); border-radius: var(--radius); padding: 1rem 13rem 1rem 1.5rem; }
.check-box svg { width: 64px; height: 56px; color: var(--color-red); justify-self: center; }
.check-box ul { display: grid; gap: .125rem; font-size: .875rem; line-height: 1.7; padding-left: 1.1em; color: var(--color-text-strong); }
.check-box li::marker { color: var(--color-red); font-size: 1.1em; }
.check-box strong { font-weight: 800; }
.check-box .handwritten-note { position: absolute; right: 2.5rem; top: 50%; translate: 0 -50%; font-size: 1.75rem; line-height: 1.3; text-align: left; }
@media (max-width: 767px) {
  .check-box { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "icon note" "list list"; padding: 1rem 1rem 1.25rem; gap: .5rem 1rem; }
  .check-box svg { grid-area: icon; width: 40px; height: 36px; justify-self: start; }
  .check-box ul { grid-area: list; }
  .check-box .handwritten-note { grid-area: note; position: static; translate: none; justify-self: end; font-size: 1.25rem; }
  .check-box ul { font-size: .8125rem; }
}

/* エリアごとの傾向 */
.area-mini { display: grid; gap: 12px; }
@media (min-width: 768px) { .area-mini { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.area-mini a { display: grid; grid-template-columns: 154px minmax(0, 1fr); gap: 1.25rem; align-items: start; text-decoration: none; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); padding: .5rem; height: 100%; box-shadow: var(--shadow); }
.area-mini .media { aspect-ratio: 3 / 2; border-radius: 8px; }
.area-mini h3 { font-size: 1.1875rem; margin: .25rem 0 .125rem; }
.area-mini p { font-size: .8125rem; line-height: 1.6; color: var(--color-text-strong); }
.area-mini a:hover h3 { color: var(--color-red); }
@media (max-width: 767px) { .area-mini a { grid-template-columns: 30% minmax(0, 1fr); gap: .75rem; } .area-mini h3 { font-size: 1rem; } .area-mini p { font-size: .75rem; } }

/* ---------- 汎用本文（記事・案内・法務ページ） ---------- */
.prose { max-width: 820px; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose li { font-size: .9375rem; line-height: 1.9; color: var(--color-text-strong); }
.prose h2 { font-size: var(--fs-h2-sub); margin-top: 1.75em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; padding-left: .75rem; border-left: 5px solid var(--color-red); }
.prose h2 + *, .prose h3 + * { margin-top: .625em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .25em; }
.prose li::marker { color: var(--color-red); }
.prose a { color: var(--color-red); font-weight: 700; }
.prose figure .media { aspect-ratio: 16 / 9; }
.prose figcaption { margin-top: .5rem; font-size: var(--fs-note); color: var(--color-text-sub); }
.prose blockquote { border-left: 4px solid var(--color-line); padding: .25rem 0 .25rem 1rem; color: var(--color-text-sub); }
.prose table { width: 100%; font-size: var(--fs-small); background: var(--color-surface); border: 1px solid var(--color-line); }
.prose th, .prose td { padding: .625rem .875rem; border: 1px solid var(--color-line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--color-peach); }
.prose tbody th { background: #FEF6F1; }
.table-scroll { overflow-x: auto; }
.note-box { background: var(--color-red-soft); border-radius: var(--radius); padding: 1rem 1.5rem; font-size: var(--fs-small); }
.note-box strong { color: var(--color-red-dark); }
.prose .handwritten-note { display: inline-block; font-size: 1.5rem; }
.info-dl { display: grid; grid-template-columns: minmax(7em, 30%) minmax(0, 1fr); border-top: 1px solid var(--color-line); font-size: var(--fs-small); }
.info-dl dt, .info-dl dd { padding: .875rem .5rem; border-bottom: 1px solid var(--color-line); }
.info-dl dt { font-weight: 700; color: var(--color-text-strong); }

/* 一覧ページの見出し */
.page-header { margin: .5rem 0 1.5rem; }
.page-header .article-title { margin-bottom: .5rem; }

/* 関連記事 */
.related { margin: var(--space-5) 0 var(--space-4); }
.related > h2 { font-size: var(--fs-h2-sub); margin-bottom: 1rem; }

@media (max-width: 767px) { .br-pc { display: none; } }
@media (min-width: 768px) and (max-width: 1099px) { .area-mini a { grid-template-columns: minmax(0, 1fr); gap: .5rem; } .area-mini .media { aspect-ratio: 21 / 9; } }
.area-mini a > div { min-width: 0; overflow-wrap: anywhere; }

/* PC（1100px以上）：デザイン見本に合わせて文字を大きめに */
@media (min-width: 1100px) {
  .article-lead { font-size: 1.1875rem; line-height: 1.7; }
  .article-dates { font-size: 1.0625rem; }
  .a-section > p, .about-grid__text p { font-size: 1.125rem; line-height: 1.7; }
  .a-section__head p { font-size: 1.0625rem; }
  .about-figure .handwritten-note { font-size: 1.875rem; }
  .price-table { font-size: 1.125rem; }
  .price-table th, .price-table td { padding: .5rem 1.75rem; }
  .table-note { font-size: .9375rem; }
  .flow h3 { font-size: 1.3125rem; }
  .flow p { font-size: 1rem; }
  .suits h3 { font-size: 1.3125rem; }
  .suits p { font-size: 1rem; }
  .check-box ul { font-size: 1.0625rem; }
  .check-box .handwritten-note { font-size: 2.125rem; }
  .area-mini h3 { font-size: 1.5rem; }
  .area-mini p { font-size: .9375rem; }
  .prose p, .prose li { font-size: 1.0625rem; }
}

/* 関連リンク（2026-11-19） */
.link-list { list-style: none; padding: 0; display: grid; gap: 8px; }
@media (min-width: 768px) { .link-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 18px; } }
.link-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 52px; padding: .75rem 1.125rem; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); box-shadow: var(--shadow); color: var(--color-text-strong); font-weight: 700; text-decoration: none; }
.link-list a:hover { border-color: var(--color-red); color: var(--color-red); }
.link-list__arrow { flex: none; color: var(--color-red); font-size: 1.125rem; }
