/*
 * 播磨屋典礼 サービスページ共通スタイル
 * Design system: 既存トップページの深い緑・金・明朝見出しを継承し、緊急時にも情報の優先順位が一目で分かる静かな構成にする。
 * Visual rule: 写真は施設・搬送・供養の理解を助ける文脈でのみ使い、アイコンは利点・手順・条件を短時間で把握させる。
 */

:root {
  --color-primary: #2c4a3e;
  --color-primary-light: #3d6b5a;
  --color-primary-dark: #1a2e26;
  --color-gold: #b8963e;
  --color-gold-light: #d4af6a;
  --color-gold-pale: #f0e4c4;
  --color-bg-green: #eef3ee;
  --color-white: #ffffff;
  --color-text-light: #555555;
  --color-text-muted: #666666;
  --color-border: #d8cfc0;
  --color-border-light: #e8e0d0;
  --font-serif: 'Shippori Mincho', 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', sans-serif;
  --shadow-sm: 0 2px 8px rgba(44, 74, 62, 0.08);
  --shadow-md: 0 4px 20px rgba(44, 74, 62, 0.12);
  --transition: all 0.22s cubic-bezier(0.23, 1, 0.32, 1);
  --service-ink: #1a2e26;
  --service-green: #2c4a3e;
  --service-green-light: #3d6b5a;
  --service-gold: #b8963e;
  --service-gold-light: #d4af6a;
  --service-cream: #faf7f2;
  --service-warm: #f5f0e8;
  --service-mist: #eef3ee;
  --service-text: #2a2a2a;
  --service-muted: #555;
  --service-border: #e8e0d0;
  --service-shadow: 0 14px 42px rgba(26, 46, 38, 0.1);
  --service-radius: 4px;
}

html { scroll-behavior: smooth; }
/* 原稿レンダラーが静的本文を置き換える間、旧本文が一瞬見えないようにする。 */
html.manuscript-loading #main-content { visibility: hidden; }
body { margin: 0; background: var(--service-cream); color: var(--service-text); font-family: var(--font-sans); }
body, button, input, textarea { font-synthesis: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.service-page {
  background: var(--service-cream);
  color: var(--service-text);
  font-family: var(--font-sans);
  overflow-x: clip;
}
.service-page * { box-sizing: border-box; }
.service-page a { color: inherit; }
.service-page img { max-width: 100%; }
.service-page .container { width: min(100%, 1200px); margin: 0 auto; padding-right: 40px; padding-left: 40px; }
.service-page .skip-link { position: fixed; top: 10px; left: 10px; z-index: 1000; padding: 12px 16px; background: var(--service-gold); color: #fff; transform: translateY(-160%); transition: transform 0.18s ease; }
.service-page .skip-link:focus { transform: translateY(0); }

/* ===== Hero: 情報の核心を先に伝える ===== */
.service-hero {
  position: relative;
  min-height: 610px;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--service-green);
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
}
.service-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(16, 37, 30, 0.80) 0%, rgba(18, 44, 36, 0.64) 42%, rgba(18, 44, 36, 0.18) 72%, rgba(18, 44, 36, 0.04) 100%);
  content: '';
}
.service-hero::after {
  position: absolute;
  z-index: -1;
  right: -14%;
  bottom: -35%;
  width: min(48vw, 640px);
  aspect-ratio: 1;
  border: 1px solid rgba(212, 175, 106, 0.28);
  border-radius: 50%;
  content: '';
}
.service-hero .container { display: flex; min-height: 610px; align-items: center; }
.service-hero__content { width: min(100%, 790px); padding: 100px 0 78px; color: #fff; }
.service-hero__label,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--service-gold-light);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.7;
  text-transform: uppercase;
}
.service-hero h1 {
  max-width: 790px;
  margin: 17px 0 0;
  color: #fff;
  font-family: var(--font-serif);
  font-size: clamp(33px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.43;
  letter-spacing: 0.09em;
  text-wrap: balance;
}
.service-hero--transport h1 { max-width: none; font-size: clamp(33px, 3.25vw, 48px); letter-spacing: 0.06em; text-wrap: nowrap; white-space: nowrap; }
.service-hero__lead {
  max-width: 700px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 18px;
  line-height: 2.05;
  letter-spacing: 0.04em;
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin: 38px 0 0;
}
.hero-point {
  min-height: 124px;
  padding: 17px 16px;
  border: 1px solid rgba(212, 175, 106, 0.55);
  background: rgba(14, 37, 30, 0.47);
  backdrop-filter: blur(6px);
}
.hero-point svg { width: 27px; height: 27px; color: var(--service-gold-light); }
.hero-point strong { display: block; margin-top: 9px; color: #fff; font-size: 18px; line-height: 1.55; letter-spacing: 0.05em; }
.hero-point span { display: block; margin-top: 3px; color: rgba(255, 255, 255, 0.82); font-size: 16px; line-height: 1.65; }

/* ===== Intro / shared sections ===== */
.service-page .site-breadcrumb-band { background: #fff; }
.service-page .site-breadcrumb { color: var(--service-muted); }
.service-page .site-breadcrumb a { color: var(--service-green); }
.service-intro { padding: 104px 0 88px; background: var(--service-cream); }
.intro-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr); gap: clamp(44px, 7vw, 98px); align-items: center; }
.intro-layout--reverse { grid-template-columns: minmax(360px, 1.1fr) minmax(0, 0.9fr); }
.intro-layout--reverse .intro-copy { order: 2; }
.intro-layout--reverse .intro-visual { order: 1; }
.section-title {
  margin: 13px 0 0;
  color: var(--service-green);
  font-family: var(--font-serif);
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.62;
  letter-spacing: 0.08em;
  text-wrap: balance;
}
.section-title--light { color: #fff; }
.section-lead { margin: 26px 0 0; color: var(--service-muted); font-size: 18px; line-height: 2.1; letter-spacing: 0.04em; }
.section-divider { width: 46px; height: 1px; margin: 22px 0 0; background: linear-gradient(90deg, var(--service-gold), var(--service-gold-light)); }
.intro-visual { position: relative; }
.intro-visual img { display: block; width: 100%; min-height: 410px; object-fit: cover; box-shadow: var(--service-shadow); }
.intro-visual::after { position: absolute; right: -18px; bottom: -18px; z-index: -1; width: 46%; height: 48%; border: 1px solid var(--service-gold); content: ''; }
.photo-caption { margin: 14px 0 0; color: var(--service-muted); font-size: 16px; line-height: 1.75; letter-spacing: 0.04em; }

.content-section { padding: 96px 0; }
.content-section--warm { background: var(--service-warm); }
.content-section--mist { background: var(--service-mist); }
.content-section--white { background: #fff; }
.section-header { max-width: 790px; margin: 0 auto 50px; text-align: center; }
.section-header .section-divider { margin-right: auto; margin-left: auto; }
.section-header .section-lead { max-width: 720px; margin-right: auto; margin-left: auto; }

/* ===== 課題・特長カード: 各カードが一つの判断を支える ===== */
.problem-grid,
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.problem-card,
.feature-card {
  position: relative;
  min-height: 220px;
  padding: 31px 28px 28px;
  border-top: 2px solid var(--service-gold);
  background: #fff;
  box-shadow: 0 8px 24px rgba(26, 46, 38, 0.06);
}
.problem-card__number { color: var(--service-gold); font-family: var(--font-serif); font-size: 16px; font-weight: 700; letter-spacing: 0.15em; }
.problem-card h3,
.feature-card h3 { margin: 17px 0 0; color: var(--service-green); font-family: var(--font-serif); font-size: 23px; font-weight: 600; line-height: 1.62; letter-spacing: 0.06em; }
.problem-card p,
.feature-card p { margin: 15px 0 0; color: var(--service-muted); font-size: 18px; line-height: 1.95; letter-spacing: 0.03em; }
.feature-card__icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; background: var(--service-mist); color: var(--service-gold); }
.feature-card__icon svg { width: 26px; height: 26px; }

/* ===== 手順: 緊急時でも次の行動が分かる ===== */
.service-steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.service-step { position: relative; padding: 0 25px 0 0; counter-increment: step; }
.service-step:not(:last-child)::after { position: absolute; top: 24px; right: 3px; width: calc(100% - 76px); height: 1px; background: var(--service-gold-light); content: ''; }
.service-step__counter { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; background: var(--service-green); color: #fff; font-family: var(--font-serif); font-size: 18px; font-weight: 600; }
.service-step__counter::before { content: counter(step, decimal-leading-zero); }
.service-step h3 { margin: 20px 0 0; color: var(--service-green); font-family: var(--font-serif); font-size: 22px; font-weight: 600; line-height: 1.62; letter-spacing: 0.06em; }
.service-step p { margin: 13px 0 0; color: var(--service-muted); font-size: 18px; line-height: 1.95; letter-spacing: 0.03em; }

/* お見送りサポート: 5つの判断を順に追える縦型ステップ。 */
.service-steps--single { max-width: 900px; margin: 0 auto; grid-template-columns: 1fr; gap: 0; }
.service-steps--single .service-step { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 22px; padding: 0 0 34px; }
.service-steps--single .service-step:not(:last-child)::after { top: 59px; right: auto; left: 24px; width: 1px; height: calc(100% - 58px); }
.service-steps--single .service-step__counter { grid-row: span 2; }
.service-steps--single .service-step h3 { margin: 9px 0 0; }
.service-steps--single .service-step p { margin: 8px 0 0; }

/* ===== タブ: 利用者区分・サービス選択を明快に分ける ===== */
.service-tabs { max-width: 1080px; margin: 0 auto; }
.tab-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; border: 1px solid var(--service-border); background: var(--service-border); }
.tab-trigger {
  min-height: 72px;
  padding: 17px 24px;
  border: 0;
  background: #fff;
  color: var(--service-green);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.tab-trigger[aria-selected="true"] { background: var(--service-green); color: #fff; }
.tab-trigger:focus-visible { position: relative; z-index: 1; outline: 3px solid var(--service-gold-light); outline-offset: -3px; }
.tab-panel { padding: clamp(32px, 5vw, 60px); background: #fff; }
.tab-panel[hidden] { display: none; }
.tab-panel__layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.86fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.tab-panel h3 { margin: 0; color: var(--service-green); font-family: var(--font-serif); font-size: 28px; font-weight: 600; line-height: 1.6; letter-spacing: 0.08em; }
.tab-panel p { margin: 19px 0 0; color: var(--service-muted); font-size: 18px; line-height: 2.04; letter-spacing: 0.04em; }
.tab-points { display: grid; gap: 10px; margin: 26px 0 0; padding: 0; list-style: none; }
.tab-points li { display: flex; gap: 12px; color: var(--service-text); font-size: 18px; line-height: 1.85; }
.tab-points svg { flex: 0 0 22px; width: 22px; height: 22px; margin-top: 5px; color: var(--service-gold); }
.tab-panel__visual { min-height: 260px; padding: 30px; background: linear-gradient(145deg, var(--service-mist), #fff); border-left: 2px solid var(--service-gold); }
.tab-panel__visual svg { width: 52px; height: 52px; color: var(--service-gold); }
.tab-panel__visual strong { display: block; margin-top: 18px; color: var(--service-green); font-family: var(--font-serif); font-size: 23px; line-height: 1.6; letter-spacing: 0.06em; }
.tab-panel__visual span { display: block; margin-top: 11px; color: var(--service-muted); font-size: 18px; line-height: 1.9; }
.decision-visual { display: grid; min-height: 410px; align-content: center; gap: 18px; padding: clamp(28px, 5vw, 52px); border: 1px solid var(--service-border); border-top: 2px solid var(--service-gold); background: linear-gradient(145deg, #fff, var(--service-mist)); box-shadow: var(--service-shadow); }
.decision-visual__step { display: grid; grid-template-columns: 50px 1fr; gap: 15px; align-items: center; }
.decision-visual__step + .decision-visual__step { position: relative; margin-top: 5px; }
.decision-visual__step + .decision-visual__step::before { position: absolute; top: -16px; left: 24px; height: 17px; border-left: 1px solid var(--service-gold-light); content: ''; }
.decision-visual__number { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; background: var(--service-green); color: #fff; font-family: var(--font-serif); font-size: 18px; font-weight: 600; }
.decision-visual__step strong { display: block; color: var(--service-green); font-family: var(--font-serif); font-size: 22px; line-height: 1.5; letter-spacing: 0.06em; }
.decision-visual__step span { display: block; margin-top: 3px; color: var(--service-muted); font-size: 17px; line-height: 1.7; }

/* ===== 料金・比較 ===== */
.price-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; max-width: 920px; margin: 0 auto; }
.price-table-wrap { overflow: hidden; border: 1px solid var(--service-border); background: #fff; box-shadow: 0 8px 24px rgba(26, 46, 38, 0.06); }
.price-table { width: 100%; border-collapse: collapse; text-align: left; }
.price-table th,
.price-table td { padding: 23px 24px; vertical-align: top; border-bottom: 1px solid var(--service-border); font-size: 18px; line-height: 1.85; letter-spacing: 0.03em; }
.price-table tr:last-child th,
.price-table tr:last-child td { border-bottom: 0; }
.price-table th { width: 31%; background: var(--service-mist); color: var(--service-green); font-family: var(--font-serif); font-weight: 600; }
.price-table td { color: var(--service-muted); }
.price-table .price { display: block; color: var(--service-gold); font-family: var(--font-serif); font-size: 27px; font-weight: 700; line-height: 1.5; letter-spacing: 0.05em; }
.price-table small { display: block; margin-top: 5px; color: var(--service-muted); font-size: 16px; line-height: 1.7; letter-spacing: 0.03em; }
.price-note { padding: 30px; border-top: 2px solid var(--service-gold); background: var(--service-green); color: #fff; }
.price-note svg { width: 28px; height: 28px; color: var(--service-gold-light); }
.price-note h3 { margin: 15px 0 0; color: #fff; font-family: var(--font-serif); font-size: 22px; font-weight: 600; line-height: 1.65; letter-spacing: 0.06em; }
.price-note p { margin: 14px 0 0; color: rgba(255, 255, 255, 0.88); font-size: 18px; line-height: 1.95; letter-spacing: 0.03em; }

/* ===== 用途カードと詳細開閉 ===== */
.purpose-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.purpose-card { overflow: hidden; border: 1px solid var(--service-border); background: #fff; transition: transform 0.24s ease, box-shadow 0.24s ease; }
.purpose-card:hover { transform: translateY(-5px); box-shadow: var(--service-shadow); }
.purpose-card__icon { display: grid; height: 110px; place-items: center; background: linear-gradient(145deg, var(--service-mist), #fff); color: var(--service-gold); }
.purpose-card__icon svg { width: 42px; height: 42px; }
.purpose-card__body { padding: 26px; }
.purpose-card h3 { margin: 0; color: var(--service-green); font-family: var(--font-serif); font-size: 23px; font-weight: 600; line-height: 1.6; letter-spacing: 0.06em; }
.purpose-card p { margin: 13px 0 0; color: var(--service-muted); font-size: 18px; line-height: 1.92; }
.purpose-card details { margin: 18px 0 0; border-top: 1px solid var(--service-border); }
.purpose-card summary,
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0 0; color: var(--service-green); font-size: 17px; font-weight: 600; line-height: 1.7; cursor: pointer; list-style: none; }
.purpose-card summary::-webkit-details-marker,
.faq-list summary::-webkit-details-marker { display: none; }
.purpose-card summary::after,
.faq-list summary::after { flex: 0 0 auto; color: var(--service-gold); content: '＋'; font-size: 22px; line-height: 1; }
.purpose-card details[open] summary::after,
.faq-list details[open] summary::after { content: '−'; }
.purpose-card details p { margin-top: 13px; padding-bottom: 4px; }

/* 採用情報: 応募条件・人物像・経験を読み飛ばさず確認できる1カラム。 */
.purpose-grid--single { max-width: 920px; margin: 0 auto; grid-template-columns: 1fr; gap: 18px; }
.purpose-grid--single .purpose-card { display: grid; grid-template-columns: minmax(210px, 0.36fr) minmax(0, 0.64fr); }
.purpose-grid--single .purpose-card__body { display: contents; }
.purpose-grid--single .purpose-card h3 { display: flex; align-items: center; margin: 0; padding: 28px; background: var(--service-mist); }
.purpose-grid--single .purpose-card p,
.purpose-grid--single .purpose-card .manuscript-list { grid-column: 2; align-self: center; margin: 0; padding: 24px 30px; }
.purpose-grid--single .purpose-card .manuscript-list { padding-top: 14px; padding-bottom: 14px; }

@media (max-width: 720px) {
  .service-steps--single .service-step { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding-bottom: 28px; }
  .service-steps--single .service-step:not(:last-child)::after { left: 21px; top: 53px; height: calc(100% - 52px); }
  .service-steps--single .service-step__counter { width: 44px; height: 44px; font-size: 16px; }
  .service-steps--single .service-step h3 { margin-top: 5px; font-size: 20px; }
  .purpose-grid--single .purpose-card { grid-template-columns: 1fr; }
  .purpose-grid--single .purpose-card h3 { padding: 20px; }
  .purpose-grid--single .purpose-card p,
  .purpose-grid--single .purpose-card .manuscript-list { grid-column: 1; padding: 18px 20px; }
}

/* ===== 注意事項とFAQ ===== */
.notice-panel { display: grid; grid-template-columns: auto 1fr; gap: 20px; max-width: 920px; margin: 0 auto; padding: 32px; border-left: 3px solid var(--service-gold); background: #fff; box-shadow: 0 8px 24px rgba(26, 46, 38, 0.06); }
.notice-panel svg { width: 34px; height: 34px; color: var(--service-gold); }
.notice-panel h3 { margin: 0; color: var(--service-green); font-family: var(--font-serif); font-size: 23px; font-weight: 600; line-height: 1.6; letter-spacing: 0.06em; }
.notice-panel p { margin: 12px 0 0; color: var(--service-muted); font-size: 18px; line-height: 1.95; }
.faq-list { max-width: 920px; margin: 0 auto; border-top: 1px solid var(--service-border); }
.faq-list details { border-bottom: 1px solid var(--service-border); background: rgba(255, 255, 255, 0.62); }
.faq-list summary { min-height: 76px; padding: 23px 24px; color: var(--service-green); font-family: var(--font-serif); font-size: 20px; font-weight: 600; letter-spacing: 0.05em; }
.faq-list summary::before { display: grid; flex: 0 0 32px; width: 32px; height: 32px; margin-right: 2px; place-items: center; border: 1px solid var(--service-gold); border-radius: 50%; color: var(--service-gold); content: 'Q'; font-family: var(--font-serif); font-size: 17px; font-weight: 700; letter-spacing: 0; line-height: 1; }
.faq-list details > div { padding: 0 24px 27px; color: var(--service-muted); font-size: 18px; line-height: 2; letter-spacing: 0.04em; }
.faq-list .faq-answer-label { margin-right: 10px; color: var(--service-gold); font-family: var(--font-serif); font-weight: 700; }

/* ===== related / footer / floating action ===== */
.related-services { padding: 82px 0; background: var(--service-mist); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1080px; margin: 38px auto 0; }
.related-link { display: grid; min-height: 128px; padding: 24px; border: 1px solid var(--service-border); background: #fff; color: var(--service-green); font-family: var(--font-serif); font-size: 20px; font-weight: 600; line-height: 1.6; letter-spacing: 0.05em; text-decoration: none; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.related-link span { align-self: end; color: var(--service-gold); font-family: var(--font-sans); font-size: 16px; font-weight: 600; }
.related-link:hover,
.related-link:focus-visible { background: var(--service-green); color: #fff; transform: translateY(-3px); }
.related-link:hover span,
.related-link:focus-visible span { color: var(--service-gold-light); }
.site-footer { padding: 54px 0 28px; background: var(--service-ink); color: rgba(255, 255, 255, 0.76); }
.footer-layout { display: grid; grid-template-columns: 1fr auto; gap: 44px; padding-bottom: 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.13); }
.footer-brand { color: #fff; font-family: var(--font-serif); font-size: 24px; font-weight: 600; letter-spacing: 0.1em; }
.footer-address { margin: 16px 0 0; color: rgba(255, 255, 255, 0.76); font-size: 16px; line-height: 1.9; letter-spacing: 0.04em; }
.footer-nav { display: flex; flex-wrap: wrap; align-content: start; justify-content: flex-end; gap: 10px 22px; max-width: 520px; }
.footer-nav a { color: rgba(255, 255, 255, 0.76); font-size: 16px; line-height: 1.7; text-decoration: none; }
.footer-nav a:hover { color: var(--service-gold-light); }
.footer-bottom { margin: 23px 0 0; color: rgba(255, 255, 255, 0.55); font-size: 16px; letter-spacing: 0.06em; text-align: center; }

/* 下層ページでは、トップページ基準の .floating-cta / .floating-btn を共通利用する。 */
.service-page .site-cta .section-divider { display: none; }

/* 英語の装飾ラベルは文字だけで扱い、区切り線は見出し上下の装飾へ集約する。 */
.service-hero__label::before,
.section-eyebrow::before { display: none; }
.service-page .site-cta .contact-desc { max-width: 780px; }
.sonae-price-note { grid-template-columns: 1fr; align-items: start; margin-top: 6px; padding: 23px 30px; }
.sonae-price-note h3 { margin: 0; }
.sonae-price-note p { margin: 8px 0 0; }
.sonae-support-note { max-width: 980px; margin: 0 auto; padding: 14px 0; color: var(--service-muted); font-size: 17px; line-height: 1.9; letter-spacing: .035em; }
.sonae-support-note p { margin: 0; }
.faq-list summary { justify-content: flex-start; text-align: left; }
.faq-list summary::after { margin-left: auto; }

/* お骨預かり・納骨代行: 数字・二つのサポートを同時に確認できる構成。 */
.decision-visual__number { place-items: center; color: #fff !important; text-align: center; line-height: 1; text-indent: 0; }
.service-panels--stacked { display: grid; gap: 22px; max-width: 1080px; margin: 0 auto; }
.service-panels--stacked .tab-panel { display: block; padding: clamp(30px, 4vw, 48px); border: 1px solid var(--service-border); background: #fff; }
.service-panels--stacked .tab-panel__layout { grid-template-columns: minmax(0, 1fr) minmax(300px, .86fr); }

/* 安置ページの課題導入は、文節の途中で分断せず2行で読ませる。 */
.service-intro#concerns .intro-layout { grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr); }
.service-intro#concerns .section-title { font-size: clamp(29px, 2.55vw, 36px); letter-spacing: .045em; }

/* ご葬儀の流れ: 他ページの手順番号と同じ円形の視認性へ。 */
.flow-details summary { grid-template-columns: 72px minmax(0, 1fr) auto; }
.flow-details .flow-step-number { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 50%; background: var(--service-green); color: #fff; font-family: var(--font-serif); font-size: 18px; font-weight: 600; letter-spacing: 0; line-height: 1; }
.flow-details__body { padding-left: 98px; }

@media (max-width: 720px) {
  .sonae-price-note { padding: 20px; }
  .service-panels--stacked .tab-panel { padding: 26px 20px; }
  .service-panels--stacked .tab-panel__layout { grid-template-columns: 1fr; }
  .service-intro#concerns .intro-layout { grid-template-columns: 1fr; }
  .service-intro#concerns .section-title { font-size: clamp(22px, 5.6vw, 30px); letter-spacing: .04em; }
  .flow-details summary { grid-template-columns: 54px minmax(0, 1fr) auto; }
  .flow-details .flow-step-number { width: 44px; height: 44px; font-size: 16px; }
  .flow-details__body { padding-left: 18px; }
}

/* ===== responsive ===== */
@media (max-width: 980px) {
  .service-page .container { padding-right: 28px; padding-left: 28px; }
  .intro-layout,
  .intro-layout--reverse,
  .tab-panel__layout,
  .price-layout { grid-template-columns: 1fr; }
  .intro-layout--reverse .intro-copy,
  .intro-layout--reverse .intro-visual { order: initial; }
  .service-hero--transport h1 { font-size: clamp(28px, 5.2vw, 43px); }
  .intro-visual { max-width: 720px; }
  .problem-grid,
  .feature-grid,
  .purpose-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 42px 28px; }
  .service-step:not(:last-child)::after { display: none; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .service-page .container { padding-right: 18px; padding-left: 18px; }
  .service-hero,
  .service-hero .container { min-height: 600px; }
  .service-hero { background-position: 62% center; }
  .service-hero::before { background: linear-gradient(90deg, rgba(16, 37, 30, 0.78), rgba(18, 44, 36, 0.42)); }
  .service-hero__content { padding: 70px 0 54px; }
  .service-hero__label,
  .section-eyebrow { font-size: 16px; }
  .service-hero h1 { font-size: clamp(24px, 6.4vw, 34px); line-height: 1.45; }
  .service-hero__lead { font-size: 18px; line-height: 2; }
  .hero-points { grid-template-columns: 1fr; gap: 8px; margin-top: 28px; }
  .hero-point { display: grid; grid-template-columns: 31px 1fr; column-gap: 12px; min-height: 0; padding: 13px 14px; }
  .hero-point svg { grid-row: span 2; }
  .hero-point strong { margin: 0; font-size: 18px; }
  .hero-point span { margin: 2px 0 0; font-size: 16px; }
  .service-intro,
  .content-section { padding: 66px 0; }
  .section-header { margin-bottom: 34px; }
  .section-title { font-size: clamp(21px, 5.4vw, 29px); line-height: 1.6; }
  .section-lead { font-size: 18px; line-height: 2.05; }
  .intro-visual img { min-height: 270px; }
  .photo-caption { font-size: 16px; }
  .problem-grid,
  .feature-grid,
  .purpose-grid,
  .related-grid { grid-template-columns: 1fr; }
  .problem-card,
  .feature-card { min-height: 0; padding: 26px 22px; }
  .problem-card h3,
  .feature-card h3,
  .purpose-card h3 { font-size: 21px; }
  .problem-card p,
  .feature-card p,
  .purpose-card p { font-size: 18px; }
  .service-steps { grid-template-columns: 1fr; gap: 31px; }
  .service-step { display: grid; grid-template-columns: 50px 1fr; column-gap: 17px; padding: 0; }
  .service-step h3 { margin: 0; font-size: 21px; }
  .service-step p { grid-column: 2; margin: 8px 0 0; font-size: 18px; }
  .tab-trigger { min-height: 66px; padding: 13px 10px; font-size: 18px; }
  .tab-panel { padding: 28px 20px; }
  .tab-panel h3 { font-size: 24px; }
  .tab-panel p,
  .tab-points li,
  .tab-panel__visual span { font-size: 18px; }
  .tab-panel__visual { min-height: 0; padding: 24px; }
  .decision-visual { min-height: 0; padding: 26px 22px; }
  .decision-visual__step strong { font-size: 20px; }
  .price-table-wrap { overflow-x: auto; }
  .price-table { min-width: 580px; }
  .price-table th,
  .price-table td { padding: 19px 18px; font-size: 17px; }
  .price-table .price { font-size: 23px; }
  .price-note,
  .notice-panel { padding: 25px 21px; }
  .price-note h3,
  .notice-panel h3 { font-size: 21px; }
  .price-note p,
  .notice-panel p { font-size: 18px; }
  .faq-list summary { min-height: 68px; padding: 20px 18px; font-size: 19px; }
  .faq-list details > div { padding: 0 18px 23px; font-size: 18px; }
  .related-services { padding: 62px 0; }
  .related-link { min-height: 110px; font-size: 19px; }
  .footer-layout { grid-template-columns: 1fr; gap: 28px; }
  .footer-nav { justify-content: flex-start; }
  .faq-list summary::before { flex-basis: 30px; width: 30px; height: 30px; font-size: 16px; }
}


/* ===== Footer navigation grouping: サービス／ご案内／補助リンク ===== */
.footer-nav--grouped { display: grid; grid-template-columns: repeat(2, minmax(182px, 1fr)); align-content: start; justify-content: stretch; gap: 28px 34px; width: min(100%, 560px); max-width: 560px; }
.footer-nav-group { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.footer-nav-group__title { margin: 0 0 4px; color: var(--service-gold-light); font-family: var(--font-sans); font-size: 13px; font-weight: 600; line-height: 1.45; letter-spacing: 0.12em; }
.footer-nav--grouped a { color: rgba(255, 255, 255, 0.76); font-size: 14px; line-height: 1.7; letter-spacing: 0.025em; }
.footer-utility-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 0 0 12px; }
.footer-utility-links a { color: rgba(255, 255, 255, 0.58); font-size: 13px; line-height: 1.6; letter-spacing: 0.04em; text-decoration: none; }
.footer-utility-links a:hover { color: var(--service-gold-light); }
.footer-copyright { margin: 0; }

@media (max-width: 768px) {
  .footer-nav--grouped { grid-template-columns: 1fr; gap: 22px; width: 100%; max-width: none; }
  .footer-nav-group { gap: 7px; }
  .footer-nav-group__title { font-size: 13px; }
  .footer-nav--grouped a { font-size: 14px; line-height: 1.75; }
  .footer-utility-links { justify-content: flex-start; gap: 8px 16px; margin-bottom: 10px; }
  .footer-utility-links a { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .service-page *,
  .service-page *::before,
  .service-page *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ===== Additional pages: 画像・アイコンは情報理解またはコンセプト表現のために使用する ===== */
.service-hero--map { background-color: var(--service-green); background-image: linear-gradient(135deg, #153b30 0%, #204e40 52%, #345d4d 100%); }
.service-hero--map::before { background: linear-gradient(90deg, rgba(16, 37, 30, 0.55), rgba(18, 44, 36, 0.16)); }
.service-hero--map::after { right: 6%; bottom: 12%; width: 320px; border-radius: 0; transform: rotate(45deg); }
.service-hero--map .hero-points { max-width: 700px; }
.service-hero--sonae { background-position: 68% center; }
.service-hero--sonae::before { background: linear-gradient(90deg, rgba(16, 37, 30, 0.66) 0%, rgba(18, 44, 36, 0.46) 42%, rgba(18, 44, 36, 0.10) 72%, rgba(18, 44, 36, 0.02) 100%); }
.service-hero--sonae .service-hero__media,
.service-hero--map .service-hero__media { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; pointer-events: none; }
.service-hero--sonae::before,
.service-hero--map::before { z-index: 1; }
.service-hero--sonae .container,
.service-hero--map .container { position: relative; z-index: 3; }
.service-hero__media--static-fallback { display: none; }
@media (max-width: 768px) {
  .service-hero--sonae { background-position: 72% center; }
  .service-hero--sonae::before { background: linear-gradient(90deg, rgba(16, 37, 30, 0.66), rgba(18, 44, 36, 0.20)); }
}

.quick-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--service-border); }
.quick-fact { min-height: 126px; padding: 25px 23px; background: #fff; }
.quick-fact__icon { display: grid; width: 38px; height: 38px; place-items: center; color: var(--service-gold); }
.quick-fact__icon svg { width: 27px; height: 27px; }
.quick-fact strong { display: block; margin-top: 11px; color: var(--service-green); font-family: var(--font-serif); font-size: 20px; line-height: 1.5; letter-spacing: 0.05em; }
.quick-fact span { display: block; margin-top: 5px; color: var(--service-muted); font-size: 16px; line-height: 1.65; }

.image-gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.gallery-card { position: relative; min-height: 300px; overflow: hidden; background: var(--service-green); }
.gallery-card--wide { grid-column: span 7; }
.gallery-card--tall { grid-column: span 5; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; opacity: 0.88; transition: transform 0.4s ease; }
.gallery-card:hover img { transform: scale(1.035); }
.gallery-card__caption { position: absolute; right: 0; bottom: 0; left: 0; padding: 25px; background: linear-gradient(180deg, transparent, rgba(16, 37, 30, 0.9)); color: #fff; }
.gallery-card__caption strong { display: block; font-family: var(--font-serif); font-size: 23px; line-height: 1.5; letter-spacing: 0.07em; }
.gallery-card__caption span { display: block; margin-top: 6px; color: rgba(255,255,255,.86); font-size: 16px; line-height: 1.7; }
.concept-image-note { margin: 13px 0 0; color: var(--service-muted); font-size: 16px; line-height: 1.7; letter-spacing: 0.04em; }

.job-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.job-card { padding: 28px; border: 1px solid var(--service-border); border-top: 2px solid var(--service-gold); background: #fff; box-shadow: var(--shadow-sm); }
.job-card__icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 50%; background: var(--service-mist); color: var(--service-gold); }
.job-card__icon svg { width: 26px; height: 26px; }
.job-card h3 { margin: 18px 0 0; color: var(--service-green); font-family: var(--font-serif); font-size: 23px; line-height: 1.55; letter-spacing: 0.06em; }
.job-card p { margin: 12px 0 0; color: var(--service-muted); font-size: 18px; line-height: 1.9; }
.job-card details { margin-top: 17px; padding-top: 14px; border-top: 1px solid var(--service-border); }
.job-card summary { display: flex; align-items: center; justify-content: space-between; color: var(--service-green); font-size: 17px; font-weight: 600; line-height: 1.7; cursor: pointer; list-style: none; }
.job-card summary::-webkit-details-marker { display: none; }
.job-card summary::after { color: var(--service-gold); content: '＋'; font-size: 22px; }
.job-card details[open] summary::after { content: '−'; }
.job-card details p { padding-bottom: 4px; }
.conditions-table { width: 100%; border-collapse: collapse; border: 1px solid var(--service-border); background: #fff; }
.conditions-table th, .conditions-table td { padding: 21px 24px; border-bottom: 1px solid var(--service-border); text-align: left; font-size: 18px; line-height: 1.85; letter-spacing: 0.03em; }
.conditions-table tr:last-child th, .conditions-table tr:last-child td { border-bottom: 0; }
.conditions-table th { width: 26%; background: var(--service-mist); color: var(--service-green); font-family: var(--font-serif); font-weight: 600; }
.conditions-table td { color: var(--service-muted); }

.support-band { padding: 74px 0; background: var(--service-green); }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; border: 1px solid rgba(212,175,106,.45); background: rgba(212,175,106,.35); }
.support-card { padding: 31px 27px; background: rgba(20, 55, 43, .84); }
.support-card svg { width: 30px; height: 30px; color: var(--service-gold-light); }
.support-card h3 { margin: 18px 0 0; color: #fff; font-family: var(--font-serif); font-size: 22px; line-height: 1.6; letter-spacing: .06em; }
.support-card p { margin: 10px 0 0; color: rgba(255,255,255,.85); font-size: 18px; line-height: 1.9; }

.reflection-list { display: grid; gap: 1px; max-width: 930px; margin: 0 auto; background: var(--service-border); }
.reflection-list details { background: #fff; }
.reflection-list summary { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 16px; padding: 21px 26px; color: var(--service-green); font-family: var(--font-serif); font-size: 21px; font-weight: 600; line-height: 1.7; letter-spacing: .05em; cursor: pointer; list-style: none; }
.reflection-list summary::-webkit-details-marker { display: none; }
.reflection-list summary::before { display: grid; flex: 0 0 36px; width: 36px; height: 36px; place-items: center; border: 1px solid var(--service-gold); border-radius: 50%; color: var(--service-gold); content: '○'; font-size: 20px; }
.reflection-list summary::after { color: var(--service-gold); content: '＋'; font-size: 24px; }
.reflection-list details[open] summary::after { content: '−'; }
.reflection-list details p { margin: 0; padding: 0 26px 26px 78px; color: var(--service-muted); font-size: 18px; line-height: 2; }

.timeline-list { display: grid; gap: 0; max-width: 960px; margin: 0 auto; }
.timeline-item { display: grid; grid-template-columns: 104px 1fr; gap: 28px; padding: 0 0 37px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item__key { position: relative; padding-top: 4px; color: var(--service-gold); font-family: var(--font-serif); font-size: 17px; font-weight: 700; letter-spacing: .12em; }
.timeline-item__key::after { position: absolute; top: 32px; bottom: -37px; left: 8px; border-left: 1px solid var(--service-gold-light); content: ''; }
.timeline-item:last-child .timeline-item__key::after { display: none; }
.timeline-item__body { padding: 25px 27px; border-left: 2px solid var(--service-gold); background: #fff; box-shadow: var(--shadow-sm); }
.timeline-item__body h3 { margin: 0; color: var(--service-green); font-family: var(--font-serif); font-size: 24px; line-height: 1.6; letter-spacing: .06em; }
.timeline-item__body p { margin: 11px 0 0; color: var(--service-muted); font-size: 18px; line-height: 2; }

.company-message { max-width: 940px; margin: 0 auto; padding: clamp(34px, 6vw, 70px); border-top: 2px solid var(--service-gold); background: #fff; box-shadow: var(--service-shadow); }
.company-message p { margin: 0; color: var(--service-muted); font-size: 18px; line-height: 2.12; letter-spacing: .05em; }
.company-message p + p { margin-top: 20px; }
.company-signature { margin-top: 32px !important; color: var(--service-green) !important; font-family: var(--font-serif); font-weight: 600; text-align: right; }
.company-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--service-border); }
.company-stat { padding: 28px 24px; background: #fff; text-align: center; }
.company-stat strong { display: block; color: var(--service-gold); font-family: var(--font-serif); font-size: 31px; line-height: 1.35; letter-spacing: .05em; }
.company-stat span { display: block; margin-top: 9px; color: var(--service-green); font-size: 16px; font-weight: 600; line-height: 1.7; }

.map-shell { overflow: hidden; border: 1px solid var(--service-border); background: #fff; box-shadow: var(--service-shadow); }
.map-frame { display: block; width: 100%; height: 460px; border: 0; }
.map-shell__actions { display: flex; flex-wrap: wrap; gap: 14px; padding: 22px; background: var(--service-mist); }
.route-tabs .tab-panel { padding: 38px; }
.route-panel__header { display: flex; gap: 18px; align-items: flex-start; }
.route-panel__icon { display: grid; flex: 0 0 54px; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: var(--service-mist); color: var(--service-gold); }
.route-panel__icon svg { width: 29px; height: 29px; }
.route-panel__header h3 { margin: 0; }
.route-panel__header p { margin: 8px 0 0; }
.route-action { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 13px 19px; border: 1px solid var(--service-green); color: var(--service-green); font-size: 17px; font-weight: 600; line-height: 1.5; text-decoration: none; transition: var(--transition); }
.route-action:hover, .route-action:focus-visible { background: var(--service-green); color: #fff; }
.route-guide-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.route-guide { display: flex; min-height: 100%; flex-direction: column; padding: 30px 26px; border: 1px solid var(--service-border); background: #fff; box-shadow: 0 8px 24px rgba(26, 46, 38, 0.06); }
.route-guide .route-panel__header { flex: 1; }
.route-guide .route-action { align-self: flex-start; margin-top: 24px; }
.sonae-feature-grid .purpose-card__icon { border-bottom: 1px solid var(--service-border); }
.sonae-feature-grid .purpose-card details { margin-top: 18px; }

.flow-details { max-width: 1050px; margin: 0 auto; }
.flow-details details { border-bottom: 1px solid var(--service-border); background: #fff; }
.flow-details summary { display: grid; grid-template-columns: 74px 1fr auto; gap: 20px; align-items: center; min-height: 104px; padding: 20px 26px; color: var(--service-green); font-family: var(--font-serif); cursor: pointer; list-style: none; }
.flow-details summary::-webkit-details-marker { display: none; }
.flow-details summary::after { color: var(--service-gold); content: '＋'; font-size: 25px; }
.flow-details details[open] summary::after { content: '−'; }
.flow-step-number { color: var(--service-gold); font-size: 17px; font-weight: 700; letter-spacing: .12em; }
.flow-details summary strong { font-size: 24px; line-height: 1.55; letter-spacing: .06em; }
.flow-details__body { padding: 0 26px 30px 120px; color: var(--service-muted); font-size: 18px; line-height: 2; }
.flow-details__body ul { margin: 16px 0 0; padding-left: 1.25em; }
.flow-details__body li + li { margin-top: 5px; }

@media (max-width: 980px) {
  .quick-facts, .company-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-grid, .support-grid { grid-template-columns: 1fr; }
  .gallery-card--wide, .gallery-card--tall { grid-column: span 12; }
}
@media (max-width: 768px) {
  .quick-facts, .company-stats { grid-template-columns: 1fr; }
  .quick-fact { min-height: 0; padding: 22px 20px; }
  .image-gallery { gap: 14px; }
  .gallery-card { min-height: 260px; }
  .gallery-card__caption { padding: 20px; }
  .gallery-card__caption strong { font-size: 21px; }
  .conditions-table { min-width: 640px; }
  .support-band { padding: 62px 0; }
  .reflection-list summary { min-height: 72px; padding: 18px; font-size: 19px; }
  .reflection-list details p { padding: 0 18px 22px; font-size: 18px; }
  .reflection-list summary::before { flex-basis: 30px; width: 30px; height: 30px; font-size: 17px; }
  .timeline-item { grid-template-columns: 1fr; gap: 10px; padding-bottom: 25px; }
  .timeline-item__key::after { display: none; }
  .timeline-item__body { padding: 22px 20px; }
  .timeline-item__body h3 { font-size: 22px; }
  .company-message { padding: 30px 22px; }
  .company-message p { font-size: 18px; line-height: 2.05; }
  .map-frame { height: 370px; }
  .route-tabs .tab-panel { padding: 26px 20px; }
  .route-guide-list { grid-template-columns: 1fr; gap: 14px; }
  .route-guide { padding: 23px 20px; }
  .route-panel__header { gap: 14px; }
  .route-panel__icon { flex-basis: 46px; width: 46px; height: 46px; }
  .flow-details summary { grid-template-columns: 1fr auto; gap: 8px; min-height: 88px; padding: 18px; }
  .flow-step-number { grid-column: 1; }
  .flow-details summary strong { grid-column: 1; font-size: 21px; }
  .flow-details summary::after { grid-column: 2; grid-row: 1 / span 2; }
  .flow-details__body { padding: 0 18px 25px; font-size: 18px; }
}

@media (max-width: 600px) {
  .service-hero--transport h1 { font-size: clamp(20px, 5.5vw, 24px); letter-spacing: 0.025em; }
  .price-table-wrap { overflow: hidden; }
  .price-table,
  .price-table tbody,
  .price-table tr,
  .price-table th,
  .price-table td { display: block; width: 100%; min-width: 0; }
  .price-table thead { display: none; }
  .price-table th { padding-bottom: 7px; border-bottom: 0; }
  .price-table td { padding-top: 0; overflow-wrap: anywhere; word-break: break-word; }
}

/* 原稿準拠ページ: 原文の段落・リスト・施設写真プレースホルダーを情報として読みやすく見せる。 */
.manuscript-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.manuscript-list li {
  position: relative;
  margin: 0;
  padding: 12px 0 12px 26px;
  border-bottom: 1px solid rgba(25, 69, 57, 0.13);
  color: var(--color-text, #2e403a);
  font-size: 18px;
  line-height: 1.85;
}

.manuscript-list li::before {
  position: absolute;
  left: 2px;
  top: 23px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-gold, #c6a24a);
  content: '';
}

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

.facility-manuscript-card {
  padding: 0 0 24px;
  border-bottom: 1px solid rgba(25, 69, 57, 0.18);
}

.facility-manuscript-card h3 {
  margin: 18px 0 10px;
  color: var(--color-forest, #194539);
  font-family: 'Noto Serif JP', serif;
  font-size: 22px;
  font-weight: 600;
}

.facility-manuscript-card p {
  margin: 0;
  color: var(--color-text, #2e403a);
  font-size: 18px;
  line-height: 1.9;
}

.facility-placeholder {
  display: grid;
  min-height: 220px;
  place-items: center;
  border: 1px solid #c8c8c8;
  background: #d8d8d8;
  color: #666;
  font-size: 15px;
  letter-spacing: 0.12em;
}

/* 施設案内：和モダンの静かな写真を、説明と同じ優先度で読み取れる比率に保つ。 */
.facility-manuscript-card__media {
  width: 100%;
  min-height: 220px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
  background: var(--service-mist);
}

@media (max-width: 720px) {
  .facility-manuscript-grid { grid-template-columns: 1fr; gap: 24px; }
  .facility-manuscript-card h3 { font-size: 21px; }
  .facility-manuscript-card p,
  .manuscript-list li { font-size: 17px; }
  .facility-placeholder,
  .facility-manuscript-card__media { min-height: 180px; }
}

@media (max-width: 768px) {
  .hero-points--text .hero-point {
    display: grid;
    grid-template-columns: minmax(126px, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    column-gap: 13px;
  }

  .hero-points--text .hero-point strong,
  .hero-points--text .hero-point span {
    min-width: 0;
    margin: 0;
    word-break: normal;
    overflow-wrap: normal;
  }

  .hero-points--text .hero-point strong { grid-column: 1; }
  .hero-points--text .hero-point span { grid-column: 2; }
}

/* 採用情報: 条件・人物像を行単位で比較しやすい1カラムへ。 */
.purpose-grid--single { max-width: 920px; margin: 0 auto; grid-template-columns: 1fr; gap: 18px; }
.purpose-grid--single .purpose-card { display: grid; grid-template-columns: minmax(210px, 0.36fr) minmax(0, 0.64fr); }
.purpose-grid--single .purpose-card__body { display: contents; }
.purpose-grid--single .purpose-card h3 { display: flex; align-items: center; margin: 0; padding: 28px; background: var(--service-mist); }
.purpose-grid--single .purpose-card p,
.purpose-grid--single .purpose-card .manuscript-list { grid-column: 2; align-self: center; margin: 0; padding: 24px 30px; }
.purpose-grid--single .purpose-card .manuscript-list { padding-top: 14px; padding-bottom: 14px; }

@media (max-width: 720px) {
  .purpose-grid--single .purpose-card { grid-template-columns: 1fr; }
  .purpose-grid--single .purpose-card h3 { padding: 20px; }
  .purpose-grid--single .purpose-card p,
  .purpose-grid--single .purpose-card .manuscript-list { grid-column: 1; padding: 18px 20px; }
}

/* 下層ページのモバイルヘッダー: ロゴと電話番号の重なりを避け、固定相談導線へ役割を分ける。 */
@media (max-width: 768px) {
  .service-page .header-tel { display: none; }
  .service-page .header-top { min-height: 64px; padding-inline: 16px; }
  .service-page .header-left { min-width: 0; }
  .service-page .logo { min-width: 0; }
}

/* コンセプト背景・採用・お見送り・お問い合わせフォームの追加部品。 */
.sonae-concept-visual,
.recruit-concept-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 580px;
  padding: 112px 0;
  background-color: var(--service-green);
  background-image: var(--concept-image);
  background-position: center;
  background-size: cover;
}
.sonae-concept-visual::before,
.recruit-concept-visual::before { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(18, 44, 36, 0.88) 0%, rgba(18, 44, 36, 0.72) 48%, rgba(18, 44, 36, 0.24) 100%); content: ''; }
.sonae-concept-visual::before { background: linear-gradient(90deg, rgba(18, 44, 36, 0.66) 0%, rgba(18, 44, 36, 0.46) 48%, rgba(18, 44, 36, 0.08) 100%); }
.sonae-concept-visual .sonae-concept-media { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; pointer-events: none; }
.recruit-concept-visual .recruit-concept-media { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; pointer-events: none; }
.sonae-concept-visual::before { z-index: 1; }
.recruit-concept-visual::before { z-index: 1; }
.sonae-concept-visual .container { position: relative; z-index: 3; }
.recruit-concept-visual .container { position: relative; z-index: 3; }
.sonae-concept-visual__copy,
.recruit-concept-visual__copy { width: min(100%, 760px); color: #fff; }
.sonae-concept-visual .section-header,
.recruit-concept-visual .section-header { margin-bottom: 24px; text-align: left; }
.sonae-concept-visual .section-title,
.recruit-concept-visual .section-title { color: #fff; text-align: left; }
.sonae-concept-visual .section-divider,
.recruit-concept-visual .section-divider { margin-left: 0; }
.sonae-concept-visual p,
.recruit-concept-visual p { margin: 0 0 18px; color: rgba(255, 255, 255, 0.93); font-size: 18px; line-height: 2.05; letter-spacing: 0.04em; }
.recruit-concept-visual { min-height: 620px; display: flex; align-items: center; padding: 112px 0; }
.recruit-concept-visual::before { background: linear-gradient(90deg, rgba(20, 51, 42, 0.82), rgba(20, 51, 42, 0.76)); }
.recruit-concept-visual .container { width: 100%; display: flex; justify-content: center; text-align: center; }
.recruit-concept-visual__copy { margin-inline: auto; text-align: center; }
.recruit-concept-visual .section-header { text-align: center; }
.recruit-concept-visual .section-title { text-align: center; }
.recruit-concept-visual .section-divider { margin-inline: auto; }
.recruit-concept-visual p { max-width: 760px; margin: 0 auto 18px; text-align: center; }
.sonae-feature-grid .purpose-card__icon { height: 88px; }
.sonae-feature-grid .purpose-card__icon svg { width: 34px; height: 34px; }
.sonae-feature-grid .purpose-card__body { padding: 20px 22px 22px; }
.sonae-feature-grid .purpose-card h3 { font-size: 19px; line-height: 1.7; letter-spacing: 0.035em; }
.sonae-feature-grid .purpose-card summary { padding-top: 12px; font-size: 16px; }
.sonae-feature-grid .purpose-card details p { font-size: 16px; line-height: 1.85; }
.recruit-role-grid { margin-bottom: 52px; }
.recruit-role-grid .purpose-card__body { display: flex; min-height: 98px; align-items: center; justify-content: flex-start; text-align: left; }
.recruit-role-grid .purpose-card h3 { font-size: 20px; line-height: 1.55; }
.recruit-conditions .purpose-card--experience { grid-template-columns: 1fr; }
.recruit-conditions .purpose-card--experience h3 { display: block; padding: 24px 28px 8px; background: transparent; }
.recruit-conditions .purpose-card--experience p { grid-column: 1; padding: 0 28px 26px; line-height: 1.85; }
.service-hero__support { max-width: 690px; margin: 16px 0 0; color: rgba(255, 255, 255, 0.86); font-size: 17px; line-height: 1.9; letter-spacing: 0.04em; }

.contact-form-section { padding: 96px 0; background: var(--service-warm); }
.contact-form-layout { display: grid; grid-template-columns: minmax(0, 0.62fr) minmax(380px, 1.38fr); gap: clamp(38px, 7vw, 86px); align-items: start; }
.contact-form-aside { position: sticky; top: 124px; padding: 30px; border-top: 2px solid var(--service-gold); background: var(--service-green); color: #fff; }
.contact-form-aside h2 { margin: 12px 0 0; font-family: var(--font-serif); font-size: 29px; line-height: 1.55; letter-spacing: 0.06em; }
.contact-form-aside p { margin: 17px 0 0; color: rgba(255,255,255,.86); font-size: 17px; line-height: 1.9; }
.contact-form-aside a { color: var(--service-gold-light); font-family: var(--font-serif); font-size: 29px; font-weight: 700; text-decoration: none; }
.contact-form { padding: clamp(26px, 4vw, 48px); background: #fff; box-shadow: var(--service-shadow); }
.contact-form__field { margin-top: 24px; }
.contact-form__field:first-child { margin-top: 0; }
.contact-form label { display: block; margin-bottom: 8px; color: var(--service-green); font-size: 17px; font-weight: 600; line-height: 1.6; }
.contact-form label .required { margin-left: 8px; color: #9a3e35; font-size: 13px; }
.contact-form input,
.contact-form select,
.contact-form textarea { width: 100%; border: 1px solid var(--service-border); border-radius: 0; background: #fff; color: var(--service-text); font: inherit; font-size: 17px; line-height: 1.7; }
.contact-form input,
.contact-form select { min-height: 52px; padding: 11px 14px; }
.contact-form textarea { min-height: 180px; padding: 13px 14px; resize: vertical; }
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { outline: 2px solid rgba(184, 150, 62, .4); outline-offset: 1px; border-color: var(--service-gold); }
.contact-form__consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 26px; color: var(--service-muted); font-size: 15px; line-height: 1.75; }
.contact-form__consent input { width: 20px; min-height: 20px; margin-top: 3px; accent-color: var(--service-green); }
.contact-form__consent a { color: var(--service-green); text-decoration: underline; text-underline-offset: 0.18em; }
.contact-form__submit { width: 100%; min-height: 60px; margin-top: 28px; border: 1px solid var(--service-gold); border-radius: 0; background: var(--service-gold); color: #fff; font: 600 17px var(--font-sans); letter-spacing: .12em; cursor: pointer; transition: var(--transition); }
.contact-form__submit:hover { background: var(--service-gold-light); transform: translateY(-2px); }
.contact-form__note { margin: 16px 0 0; color: var(--service-muted); font-size: 14px; line-height: 1.7; }
.contact-form__recaptcha { margin: 18px 0 0; color: var(--service-muted); font-size: 16px; line-height: 1.8; }
.contact-form__recaptcha a { color: var(--service-green); text-decoration: underline; text-underline-offset: 0.16em; }
.company-partner-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.company-partner-grid .company-partner-card { display: flex; min-height: 100%; color: inherit; text-decoration: none; }
.company-partner-grid .purpose-card__body { display: flex; flex: 1; flex-direction: column; justify-content: center; }
.company-partner-grid .purpose-card h3 { font-size: clamp(18px, 1.8vw, 21px); overflow-wrap: anywhere; }
.company-partner-card:hover { transform: translateY(-3px); }

@media (max-width: 768px) {
  .company-partner-grid { grid-template-columns: 1fr; }
}

/* 料金表：金額を主役に保ち、税込表記だけを控えめに同一行へ収める。 */
.price-table .price { white-space: nowrap; }
.price-table .price-tax { display: inline; margin-left: 0.16em; font-size: 12px; font-weight: 400; letter-spacing: 0; white-space: nowrap; vertical-align: baseline; }

/* 採用情報：2つの案内ボックスで箇条書きの開始位置を共通化する。 */
.recruit-page .notice-panel { display: block; }
.recruit-page .notice-panel .manuscript-list { margin: 16px 0 0; padding: 0; }
.recruit-page .notice-panel .manuscript-list li { padding-left: 1.45em; }

/* プライバシーポリシー：一般的な規約文も読み疲れしない幅と明確な見出し階層で表示する。 */
.privacy-hero { min-height: 290px; background: linear-gradient(112deg, #173a30 0%, #275548 54%, #496e5d 100%); }
.privacy-policy-section { padding-top: 92px; padding-bottom: 108px; }
.privacy-document { max-width: 920px; margin: 0 auto; }
.privacy-policy-block { padding: 28px 32px; border-top: 1px solid rgba(37, 74, 62, 0.18); background: rgba(255, 255, 255, 0.68); }
.privacy-policy-block h3 { margin: 0 0 14px; color: var(--service-green); font-family: var(--font-serif); font-size: 23px; line-height: 1.6; }
.privacy-policy-block p, .privacy-policy-block li { color: #333; font-size: 18px; line-height: 2; }
.privacy-policy-block p { margin: 0; }
.privacy-policy-block p + p { margin-top: 12px; }
.privacy-policy-block ul { margin: 12px 0 0; padding-left: 1.45em; }
.privacy-policy-block a { color: var(--service-green); text-decoration: underline; text-underline-offset: 0.18em; }
.privacy-policy-dates { padding: 24px 32px 0; color: #555; font-size: 16px; line-height: 1.8; }
.privacy-policy-dates p { margin: 0; }
.privacy-policy-intro { margin: 0 0 28px; padding: 4px 32px 12px; color: #333; font-size: 18px; line-height: 2; }
.privacy-policy-intro p + p { margin-top: 12px; }

/* 施設案内のイメージ注記は、写真の補足として控えめに統一する。 */
.facility-manuscript-card__figure { margin: 0; }
.facility-manuscript-card__figure picture { display: block; }
.facility-manuscript-card .photo-caption,
.gallery-card .photo-caption,
.intro-visual .photo-caption { display: block; margin-top: 8px; color: var(--service-muted); font-size: 13px; line-height: 1.6; font-weight: 400; letter-spacing: 0; }

@media (max-width: 720px) {
  /* 搬送CTA：指定した2行のうち後半を語の途中で分断しない。 */
  .transport-cta-title { font-size: clamp(22px, 6vw, 25px); line-height: 1.62; word-break: normal; overflow-wrap: normal; }
  .transport-cta-title span { display: inline-block; white-space: nowrap; }
  .privacy-hero { min-height: 230px; }
  .privacy-policy-section { padding-top: 56px; padding-bottom: 72px; }
  .privacy-policy-block { padding: 24px 20px; }
  .privacy-policy-block h3 { font-size: 21px; }
  .privacy-policy-block p, .privacy-policy-block li { font-size: 18px; line-height: 1.9; }
  .privacy-policy-dates { padding: 20px; font-size: 16px; }
}

/* 採用情報：外部フォームも本文と同じ余白・可読性で受け止める。 */
.recruit-entry-section { border-top: 1px solid rgba(25, 69, 57, 0.12); }
.recruit-entry-frame { max-width: 640px; margin: 0 auto; overflow: hidden; background: #fff; box-shadow: var(--service-shadow); }
.recruit-entry-frame iframe { display: block; width: 100%; max-width: 640px; min-height: 1520px; border: 0; }

@media (max-width: 720px) {
  .sonae-concept-visual,
  .recruit-concept-visual { min-height: auto; padding: 74px 0; background-position: 62% center; }
  .sonae-concept-visual p,
  .recruit-concept-visual p { font-size: 17px; line-height: 1.95; }
  .recruit-role-grid { margin-bottom: 38px; }
  .recruit-conditions .purpose-card--experience h3 { padding: 20px 20px 5px; }
  .recruit-conditions .purpose-card--experience p { padding: 0 20px 20px; }
  .recruit-entry-frame iframe { min-height: 1780px; }
  .contact-form-section { padding: 68px 0; }
  .contact-form-layout { grid-template-columns: 1fr; gap: 26px; }
  .contact-form-aside { position: static; padding: 24px; }
  .contact-form-aside h2,
  .contact-form-aside a { font-size: 25px; }
  .contact-form { padding: 24px 20px; }
}

/* ===== 下層ページ本文の文字階層 | トップページ実寸への統一 =====
 * Top page baseline: main lead 17px前後、カード・FAQ本文 15〜16px。
 * 下層の本文だけが大きく見えないよう、本文要素を用途別に固定する。
 */
.service-page .service-hero__lead { font-size: 0.93rem; line-height: 2; }
.service-page .section-lead { font-size: 1.02rem; line-height: 2.2; }
.service-page .problem-card p,
.service-page .feature-card p,
.service-page .service-step p,
.service-page .tab-panel p,
.service-page .tab-points li,
.service-page .tab-panel__visual span,
.service-page .decision-visual__step span,
.service-page .price-table th,
.service-page .price-table td,
.service-page .price-note p,
.service-page .purpose-card p,
.service-page .notice-panel p,
.service-page .faq-list details > div,
.service-page .conditions-table th,
.service-page .conditions-table td,
.service-page .company-message p,
.service-page .timeline-item__body p,
.service-page .flow-details__body,
.service-page .reflection-list details p,
.service-page .manuscript-list li,
.service-page .facility-manuscript-card p,
.service-page .sonae-concept-visual p,
.service-page .recruit-concept-visual p { font-size: 0.95rem; line-height: 2.08; }
.service-page .photo-caption,
.service-page .hero-point span,
.service-page .related-link span,
.service-page .price-table small,
.service-page .sonae-feature-grid .purpose-card details p { font-size: 0.9rem; line-height: 2; }
@media (max-width: 720px) {
  .service-page .section-lead { font-size: 1.02rem; }
  .service-page .faq-list summary { font-size: 1rem; }
  .service-page .related-link { font-size: 1.02rem; }
}

/* ===== モバイル専用 | 可読性・情報階層・軽量画像 =====
 * PCの見た目は変更しない。本文は日本語Webの最小基準18px以上を守る。
 */
@media (max-width: 768px) {
  .service-hero { background-image: var(--hero-image-mobile, var(--hero-image)); }
  .service-page .service-hero__content,
  .service-page .service-hero__content *,
  .service-page .section-header,
  .service-page .section-header *,
  .service-page .section-lead { text-align: left; }
  .service-page .service-hero h1 { font-size: clamp(24px, 6.4vw, 34px); line-height: 1.45; }
  .service-page .section-title,
  .service-page .service-hero h1,
  .service-page .plan-card-title {
    word-break: normal;
    overflow-wrap: normal;
    line-break: strict;
  }
  .service-page .plan-card-price {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    line-height: 1.4;
  }
  .service-page .plan-card-price .price-tax {
    margin-left: 0.2em;
    font-size: 0.72em;
    white-space: normal;
  }
  .service-page .plan-intro-title {
    font-size: clamp(21px, 5.4vw, 24px);
    line-height: 1.5;
    letter-spacing: 0.04em;
    word-break: normal;
    overflow-wrap: normal;
    line-break: strict;
  }
  .service-page .plan-card-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0;
    row-gap: 2px;
  }
  .service-page .plan-card-price .price-tax {
    flex: 0 0 auto;
  }
  .service-page .service-hero__lead,
  .service-page .section-lead,
  .service-page .problem-card p,
  .service-page .feature-card p,
  .service-page .service-step p,
  .service-page .tab-panel p,
  .service-page .tab-points li,
  .service-page .tab-panel__visual span,
  .service-page .decision-visual__step span,
  .service-page .price-table th,
  .service-page .price-table td,
  .service-page .price-note p,
  .service-page .purpose-card p,
  .service-page .notice-panel p,
  .service-page .faq-list details > div,
  .service-page .conditions-table th,
  .service-page .conditions-table td,
  .service-page .company-message p,
  .service-page .timeline-item__body p,
  .service-page .flow-details__body,
  .service-page .reflection-list details p,
  .service-page .manuscript-list li,
  .service-page .facility-manuscript-card p,
  .service-page .sonae-concept-visual p,
  .service-page .recruit-concept-visual p { font-size: 18px; line-height: 2; }
  .service-page .photo-caption,
  .service-page .hero-point span,
  .service-page .related-link span,
  .service-page .price-table small,
  .service-page .sonae-feature-grid .purpose-card details p { font-size: 16px; line-height: 1.85; }
  #concerns .section-title { font-size: 24px; letter-spacing: 0.015em; line-height: 1.65; }
  #concerns .mobile-heading-line { display: block; white-space: nowrap; }
  #concerns .mobile-heading-line + br { display: none; }
  .flow-details details { margin-bottom: 12px; border: 1px solid var(--service-border); box-shadow: 0 6px 18px rgba(26, 46, 38, 0.05); }
  .flow-details summary { min-height: auto; padding: 17px 16px; }
  .flow-step-number { color: var(--service-muted); font-family: var(--font-sans); font-size: 16px; font-weight: 600; letter-spacing: 0.05em; line-height: 1.4; }
  .flow-details summary strong { font-size: 22px; line-height: 1.55; letter-spacing: 0.035em; }
  .flow-details__body { padding: 0 16px 22px; }
}

/* Mobile service safeguard: images sit below the readable overlay and content; no desktop rule is changed. */
@media (max-width: 768px) {
  html,
  body { max-width: 100%; overflow-x: hidden; }
  .service-page,
  .service-page main,
  .service-page .container,
  .service-page .service-hero,
  .service-page .service-hero__content,
  .service-page .hero-points,
  .service-page .hero-point { min-width: 0; max-width: 100%; }
  .service-page .service-hero { width: 100%; }
  .service-hero--with-mobile-media { isolation: isolate; background-image: none !important; }
  .service-hero--with-mobile-media .service-hero__media--mobile,
  .service-hero--with-mobile-media .service-hero__media--static-fallback { position: absolute; z-index: 0; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; pointer-events: none; }
  .service-hero--with-mobile-media::before { z-index: 1; }
  .service-hero--with-mobile-media .container { position: relative; z-index: 2; }
  .service-hero--transport h1 { max-width: 100%; white-space: normal; text-wrap: wrap; overflow-wrap: normal; word-break: normal; line-break: strict; }
  .service-page .price-table-wrap { max-width: 100%; }
  /* 長文のみを左寄せにして、本文中のレイアウト用改行をスマホでは自然な折り返しへ委ねる。 */
  .service-page .service-hero__lead,
  .service-page .section-lead,
  .service-page .problem-card p,
  .service-page .feature-card p,
  .service-page .service-step p,
  .service-page .tab-panel p,
  .service-page .tab-points li,
  .service-page .price-note p,
  .service-page .purpose-card p,
  .service-page .notice-panel p,
  .service-page .faq-list details > div,
  .service-page .company-message p,
  .service-page .timeline-item__body p,
  .service-page .flow-details__body,
  .service-page .reflection-list details p,
  .service-page .manuscript-list li,
  .service-page .facility-manuscript-card p,
  .service-page .sonae-concept-visual p,
  .service-page .recruit-concept-visual p {
    text-align: left;
    word-break: normal;
    overflow-wrap: normal;
  }
  .service-page .service-hero__lead br,
  .service-page .section-lead br,
  .service-page .problem-card p br,
  .service-page .feature-card p br,
  .service-page .service-step p br,
  .service-page .tab-panel p br,
  .service-page .price-note p br,
  .service-page .purpose-card p br,
  .service-page .notice-panel p br,
  .service-page .faq-list details > div br,
  .service-page .company-message p br,
  .service-page .timeline-item__body p br,
  .service-page .flow-details__body br,
  .service-page .reflection-list details p br,
  .service-page .facility-manuscript-card p br,
  .service-page .sonae-concept-visual p br,
  .service-page .recruit-concept-visual p br { display: none; }
}

/* 添付指示11: 会社案内・採用・アクセスの情報量が多い箇所だけを、スマホで読み切れる密度にする。PC共通値は変更しない。 */
@media (max-width: 768px) {
  /* 会社概要・募集要項・会館情報: 固定最小幅を解除し、項目名と内容を縦に積む。 */
  .service-page .conditions-table,
  .service-page .conditions-table tbody,
  .service-page .conditions-table tr,
  .service-page .conditions-table th,
  .service-page .conditions-table td {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .service-page .conditions-table { border: 0; }
  .service-page .conditions-table tr {
    border: 1px solid var(--service-border);
    border-bottom: 0;
    background: #fff;
  }
  .service-page .conditions-table tr:last-child { border-bottom: 1px solid var(--service-border); }
  .service-page .conditions-table th {
    padding: 12px 14px 5px;
    border: 0;
    background: var(--service-mist);
    font-size: 16px;
    line-height: 1.65;
  }
  .service-page .conditions-table td {
    padding: 10px 14px;
    border: 0;
    color: var(--service-muted);
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
  }

  /* 会社案内の提携機関: タイトルは本文より一段大きく、説明と余白は過剰にならないよう整える。 */
  .service-page .company-partner-grid { gap: 14px; }
  .service-page .company-partner-grid .purpose-card__body { padding: 18px; }
  .service-page .company-partner-grid .purpose-card h3 { font-size: 19px; line-height: 1.55; }
  .service-page .company-partner-grid .purpose-card p { margin-top: 8px; font-size: 16px; line-height: 1.8; }

  /* 採用情報: 募集要項・一覧・説明を他のサービスページと同程度の密度に抑える。 */
  .service-page .recruit-concept-visual p { font-size: 16px; line-height: 1.9; }
  .service-page .recruit-role-grid ~ .notice-panel { gap: 14px; padding: 20px; }
  .service-page .recruit-role-grid ~ .notice-panel h3 { font-size: 20px; line-height: 1.55; }
  .service-page .recruit-role-grid ~ .notice-panel .manuscript-list { margin-top: 12px; }
  .service-page .recruit-role-grid ~ .notice-panel .manuscript-list li,
  .service-page .recruit-conditions .manuscript-list li,
  .service-page .recruit-conditions .purpose-card--experience p { font-size: 16px; line-height: 1.8; }
  .service-page .recruit-conditions .purpose-card h3 { padding: 16px; font-size: 19px; line-height: 1.55; }
  .service-page .recruit-conditions .purpose-card p,
  .service-page .recruit-conditions .purpose-card .manuscript-list { padding: 14px 16px; }

  /* アクセス: 表とルート説明の長文を一画面内で読み進めやすいサイズへ整える。 */
  .service-page .manuscript-route-grid .purpose-card p { font-size: 16px; line-height: 1.85; }
  .service-page .manuscript-route-grid { gap: 14px; }
  .service-page .manuscript-route-grid .purpose-card__body { padding: 18px; }
  .service-page .manuscript-route-grid .purpose-card h3 { font-size: 19px; line-height: 1.55; }
}

/* 添付指示13：サービス本文はスマホだけ16pxへ、採用職種は情報カードとして静止・横並びにする。 */
@media (max-width: 768px) {
  .service-page .service-hero__lead,
  .service-page .section-lead,
  .service-page .problem-card p,
  .service-page .feature-card p,
  .service-page .service-step p,
  .service-page .tab-panel p,
  .service-page .tab-points li,
  .service-page .price-note p,
  .service-page .purpose-card p,
  .service-page .notice-panel p,
  .service-page .faq-list details > div,
  .service-page .company-message p,
  .service-page .timeline-item__body p,
  .service-page .flow-details__body,
  .service-page .reflection-list details p,
  .service-page .manuscript-list li,
  .service-page .facility-manuscript-card p,
  .service-page .sonae-concept-visual p,
  .service-page .recruit-concept-visual p {
    font-size: 16px;
    line-height: 1.85;
  }
  .service-page .recruit-role-grid .purpose-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    min-height: 0;
    padding: 14px 16px;
    cursor: default;
    transition: none;
  }
  .service-page .recruit-role-grid .purpose-card:hover {
    transform: none;
    box-shadow: none;
  }
  .service-page .recruit-role-grid .purpose-card__icon {
    width: 40px;
    height: 40px;
    min-height: 40px;
    margin: 0;
    border-radius: 50%;
    align-self: center;
  }
  .service-page .recruit-role-grid .purpose-card__icon svg {
    width: 22px;
    height: 22px;
  }
  .service-page .recruit-role-grid .purpose-card__body {
    display: block;
    min-height: 0;
    padding: 0 0 0 12px;
    text-align: left;
  }
  .service-page .recruit-role-grid .purpose-card h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.45;
  }
  .job-grid .job-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    padding: 18px;
    cursor: default;
    transition: none;
  }
  .job-grid .job-card:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
  .job-grid .job-card__icon {
    width: 40px;
    height: 40px;
  }
  .job-grid .job-card h3 {
    margin: 0;
    padding-left: 12px;
    font-size: 20px;
    line-height: 1.45;
  }
  .job-grid .job-card > p,
  .job-grid .job-card > details {
    grid-column: 1 / -1;
  }
  .job-grid .job-card > p { margin-top: 14px; }
}

@media (hover: hover) {
  .recruit-role-grid .purpose-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* 添付指示14：詳細度を揃え、サービス本文リードをスマホで確実に縮小する。 */
@media (max-width: 768px) {
  .service-page .section-lead {
    font-size: 15px;
    line-height: 1.9;
  }
  .plan-section-lead {
    font-size: 15px;
    line-height: 1.9;
  }
  .service-page .service-hero__lead {
    font-size: 14px;
    line-height: 1.9;
  }
  .service-page .problem-card p,
  .service-page .feature-card p,
  .service-page .service-step p,
  .service-page .tab-panel p,
  .service-page .tab-points li,
  .service-page .price-note p,
  .service-page .purpose-card p,
  .service-page .notice-panel p,
  .service-page .faq-list details > div,
  .service-page .company-message p,
  .service-page .timeline-item__body p,
  .service-page .flow-details__body,
  .service-page .reflection-list details p,
  .service-page .manuscript-list li,
  .service-page .facility-manuscript-card p,
  .service-page .sonae-concept-visual p,
  .service-page .recruit-concept-visual p {
    font-size: 15px;
    line-height: 1.9;
  }
}

/* 添付指示16：お見送り固有のFVカードと見出し、安置導入見出しをスマホだけ整える。 */
@media (max-width: 768px) {
  .service-hero--sonae .hero-points--text .hero-point {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 4px;
  }
  .service-hero--sonae .hero-points--text .hero-point strong,
  .service-hero--sonae .hero-points--text .hero-point span {
    grid-column: 1;
  }
  .service-hero--sonae .hero-points--text .hero-point strong {
    grid-row: 1;
    margin: 0;
  }
  .service-hero--sonae .hero-points--text .hero-point span {
    grid-row: 2;
    margin: 0;
  }
  .service-hero--sonae ~ .content-section .section-header,
  .service-hero--sonae ~ .content-section .section-header .section-title,
  .service-hero--sonae ~ .content-section .section-header .section-eyebrow {
    max-width: 790px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }
  .sonae-mobile-title-break {
    display: block;
  }
  #concerns .mobile-heading-line {
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    line-break: strict;
  }
}
