/* =========================================================
   見積り係 LP スタイル
   色・文字の大きさは :root の変数で一括管理しています。
   基本は白地。色は紺と朱の2色だけを使い、区切りは罫線で表します。
   ========================================================= */

:root {
  /* 色 */
  --navy: #1B3A5C;        /* 紺：見出し・ロゴ・罫線・フッター */
  --navy-dark: #132A43;
  --shu: #B5341C;         /* 朱：問い合わせボタン・印・強調の数字 */
  --shu-dark: #932A16;
  --ink: #222222;         /* 本文 */
  --gray: #555555;        /* 補足文 */
  --line: #D6DDE5;        /* 細い罫線（紺に近い灰色） */
  --bg: #FFFFFF;
  --bg-soft: #EEF2F6;     /* ごく薄い紺。よくある質問のホバーだけに使う */
  --todo-bg: #FFF1A8;

  /* 文字 */
  --font: "BIZ UDPGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, "Yu Gothic", sans-serif;
  --fs-body: 18px;
  --lh-body: 1.9;
  --fs-h1: 68px;
  --fs-h2: 32px;
  --fs-h3: 22px;
  --fs-small: 16px;       /* これより小さい文字は使わない */

  /* 余白 */
  --gutter: 24px;
  --section-space: 96px;
  --radius: 6px;
}

@media (max-width: 767px) {
  :root {
    --fs-body: 17px;
    --lh-body: 1.85;
    --fs-h1: 36px;
    --fs-h2: 24px;
    --fs-h3: 20px;
    --gutter: 20px;
    --section-space: 64px;
  }
}

/* ---------- 基本 ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: auto;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: var(--bg);
  overflow-wrap: anywhere;
  line-break: strict;
}

h1, h2, h3, p, ul, ol, dl, dd, figure {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--shu);
}

:focus-visible {
  outline: 3px solid var(--shu);
  outline-offset: 3px;
}

strong {
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -100px;
  z-index: 100;
  padding: 8px 16px;
  background: var(--navy);
  color: #fff;
  font-size: var(--fs-small);
}

.skip-link:focus {
  top: 8px;
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.narrow {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.container.narrow {
  max-width: calc(720px + var(--gutter) * 2);
}

.br-sp { display: none; }
@media (max-width: 767px) {
  .br-sp { display: inline; }
  .br-pc { display: none; }
}

.pre-line {
  white-space: pre-line;
}

/* 【要確認】の印 */
mark.todo {
  background: var(--todo-bg);
  color: var(--ink);
  font-weight: 700;
  padding: 0 0.2em;
  border-bottom: 2px dashed var(--shu);
}

/* ---------- ボタン ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: var(--fs-body);
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s;
}

.btn-primary {
  background: var(--shu);
  color: #fff;
}

.btn-primary:hover {
  background: var(--shu-dark);
  color: #fff;
}

.btn-large {
  min-height: 64px;
  padding: 14px 40px;
  font-size: 20px;
}

.btn-block {
  display: flex;
  width: 100%;
}

.btn.is-disabled {
  background: #8A8A8A;
  color: #fff;
  cursor: not-allowed;
}

/* ---------- ロゴ ---------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
  line-height: 1.2;
}

.logo:hover {
  color: var(--navy);
}

.logo-main {
  display: inline-flex;
  white-space: nowrap;
  align-items: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* 「係」の朱の印 */
.logo-seal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.3em;
  height: 1.3em;
  margin-left: 0.08em;
  background: var(--shu);
  color: #fff;
  border-radius: 4px;
  box-shadow: inset 0 0 0 3px var(--shu), inset 0 0 0 4.5px rgba(255, 255, 255, 0.85);
  letter-spacing: 0;
}

.logo-sub {
  display: flex;
  flex-direction: column;
  font-size: var(--fs-small);
  font-weight: 700;
}

.logo-kana {
  white-space: nowrap;
  color: var(--gray);
  letter-spacing: 0.08em;
}

/* ---------- ヘッダー ---------- */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 80px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.header-nav {
  margin-left: auto;
}

.header-nav ul {
  display: flex;
  gap: 28px;
}

.header-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--fs-small);
  font-weight: 700;
}

.header-nav a:hover {
  color: var(--shu);
  text-decoration: underline;
}

.btn-header {
  min-height: 48px;
  padding: 8px 20px;
  font-size: var(--fs-small);
  white-space: nowrap;
}

/* ヘッダーにメニューが無いページ（個人情報の取扱い）では、ボタンを右に寄せる */
.header-inner > .btn-header:nth-child(2) {
  margin-left: auto;
}

@media (max-width: 767px) {
  .header-nav { display: none; }
  .btn-header { margin-left: auto; }
  .header-inner { min-height: 68px; gap: 12px; }
  .logo-main { font-size: 24px; }
  .logo { gap: 8px; }
  .logo-desc { display: none; }
  .btn-header { padding: 8px 14px; }
}

/* 狭いスマホでは、右上のボタンを出さない（最初の画面のボタンと画面下の固定ボタンで足りるため） */
@media (max-width: 479px) {
  .btn-header { display: none; }
}

@media (max-width: 319px) {
  .logo-sub { display: none; }
}

/* ---------- A. ファーストビュー ---------- */

.hero {
  padding: 64px 0 72px;
  background: var(--bg);
  text-align: center;
}

.hero-inner {
  max-width: calc(880px + var(--gutter) * 2);
}

.hero-target {
  color: var(--navy);
  font-weight: 700;
}

.hero-title {
  margin-top: 8px;
  font-size: var(--fs-h1);
  line-height: 1.3;
  color: var(--navy);
  letter-spacing: 0.02em;
}

.hero-service {
  margin-top: 16px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--shu);
}

.hero-lead {
  margin: 16px auto 0;
  max-width: 30em;
}

/* 経験と数字の帯 */
.hero-proof {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  align-items: center;
  column-gap: 40px;
  margin-top: 40px;
  padding: 24px 0;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  text-align: left;
}

.hero-proof-divider {
  align-self: stretch;
  background: var(--line);
}

/* 左：経験の一言（右の約4,000点と同じくらいの存在感にする） */
.hero-claim {
  justify-self: end;
  color: var(--navy);
  font-weight: 700;
}

.hero-claim-pre {
  font-size: 20px;
  line-height: 1.4;
}

.hero-claim-main {
  margin-top: 6px;
  font-size: clamp(34px, 3.6vw, 46px); /* 画面幅が狭いPC・タブレットでは、右の数字を押し出さないよう少し小さくする */
  line-height: 1.2;
  white-space: nowrap;
}

/* 「代表」の文字（氏名の前に小さく） */
.profile-role {
  margin-right: 0.8em;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--gray);
  vertical-align: 0.15em;
}

.hero-stat {
  justify-self: start;
  line-height: 1.15;
  color: var(--navy);
  font-weight: 700;
}

.hero-stat-main { white-space: nowrap; }
.hero-stat-pre { font-size: 24px; margin-right: 0.2em; }
.hero-stat-num { font-size: 72px; color: var(--shu); letter-spacing: -0.01em; }
.hero-stat-unit { font-size: 28px; color: var(--shu); margin-left: 0.05em; }
.hero-stat-label { margin-top: 6px; font-size: 20px; }

.hero-actions {
  margin-top: 40px;
}

.hero-btn {
  min-width: 360px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 18px;
  font-size: var(--fs-small);
  font-weight: 700;
  color: var(--navy);
}

.hero-tags li {
  position: relative;
  padding-left: 26px;
}

.hero-tags li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.55em;
  width: 12px;
  height: 7px;
  border-left: 3px solid var(--shu);
  border-bottom: 3px solid var(--shu);
  transform: rotate(-45deg);
}

@media (max-width: 879px) {
  .hero { padding: 32px 0 48px; }
  .hero-service { margin-top: 10px; font-size: 21px; }
  .hero-lead { margin-top: 12px; text-align: left; }
  .hero-proof {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 16px;
    margin-top: 28px;
    padding: 20px 0;
  }
  .hero-proof-divider { height: 1px; }
  .hero-claim { justify-self: center; text-align: center; }
  .hero-claim-pre { font-size: 18px; }
  .hero-claim-main { margin-top: 4px; font-size: 38px; }
  .hero-stat { justify-self: center; text-align: center; }
  .hero-stat-num { font-size: 56px; }
  .hero-stat-label { font-size: 18px; }
  .hero-actions { margin-top: 28px; }
  .hero-btn { width: 100%; min-width: 0; }
  .hero-tags {
    flex-direction: column;
    align-items: flex-start;
    width: max-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

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

.section {
  padding: var(--section-space) 0;
  background: var(--bg);
}

/* 白地のセクションどうしは、細い罫線で区切る */
.section + .section {
  border-top: 1px solid var(--line);
}

.section-label {
  margin-bottom: 8px;
  color: var(--shu);
  font-weight: 700;
  text-align: center;
}

.section-title {
  margin-bottom: 40px;
  font-size: var(--fs-h2);
  line-height: 1.5;
  color: var(--navy);
  text-align: center;
}

/* 中央寄せの見出しで、1〜2文字だけが次の行に落ちないようにする（文節で区切り、行の長さをそろえる。対応していないブラウザでは通常の改行） */
.section-title,
.cta-band-text,
.closing-line,
.info-box-title,
.faq summary {
  word-break: auto-phrase;
  text-wrap: balance;
}

.sub-title {
  margin-bottom: 20px;
  font-size: var(--fs-h3);
  color: var(--navy);
}

.note {
  margin-top: 16px;
  font-size: var(--fs-small);
  color: var(--gray);
}

.lead-strong {
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
}

.num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 1.7em;
  height: 1.7em;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 0.8em;
  vertical-align: 0.15em;
}

/* ---------- B. お悩み ---------- */

.check-list {
  border-top: 1px solid var(--line);
}

.check-list li {
  position: relative;
  padding: 16px 8px 16px 48px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 9px;
  margin-top: -8px;
  border-left: 3px solid var(--shu);
  border-bottom: 3px solid var(--shu);
  transform: rotate(-45deg);
}

/* 締めの一文：見出しより一段小さく、朱色で目立たせる */
.closing-line {
  margin-top: 40px;
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.5;
  color: var(--shu);
  text-align: center;
}

@media (max-width: 767px) {
  .closing-line { margin-top: 32px; }
}

/* ---------- C. できること ---------- */

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  counter-reset: none;
}

.service {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.service-title {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
  font-size: var(--fs-h3);
  line-height: 1.5;
  color: var(--navy);
}

@media (max-width: 767px) {
  .service-list { grid-template-columns: minmax(0, 1fr); }
  .service { padding: 16px 0; }
}

.scope-text {
  margin-top: 40px;
}

.info-box {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--bg);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
}

.info-box-title {
  margin-bottom: 12px;
  font-size: var(--fs-h3);
  line-height: 1.5;
  color: var(--navy);
}

.info-box p + p {
  margin-top: 12px;
}

@media (max-width: 767px) {
  .info-box { padding: 22px 20px; }
}

.dot-list li {
  position: relative;
  padding-left: 1.2em;
}

.dot-list li + li {
  margin-top: 10px;
}

.dot-list li::before {
  content: "";
  position: absolute;
  left: 0.2em;
  top: 0.8em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--shu);
}

/* ---------- D. 選ばれる理由 ---------- */

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

.reason {
  padding: 24px 0 28px;
  border-top: 2px solid var(--navy);
}

.reason-title {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
  font-size: var(--fs-h3);
  line-height: 1.5;
  color: var(--navy);
}

.reason-title .num {
  margin-top: 0.1em;
}

/* 見出しは文節で折り返し、本文は最後の行に1〜2文字だけ残らないようにする（対応していないブラウザでは通常の改行） */
.reason-title {
  word-break: auto-phrase;
  text-wrap: balance;
}

.reason p {
  text-wrap: pretty;
}

@media (max-width: 767px) {
  .reason-list { grid-template-columns: minmax(0, 1fr); }
  .reason { padding: 20px 0 24px; }
}

/* ---------- D-2. 代表紹介 ---------- */

/* 写真が未設定の間は写真の枠ごと消え（main.js）、文章が横幅いっぱいに広がる */
.profile {
  display: flex;
  gap: 36px;
  align-items: flex-start;
}

.profile-body {
  flex: 1 1 auto;
  min-width: 0;
}

/* 顔写真の枠（担当者紹介だけで使う） */
.photo-frame {
  flex: 0 0 240px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767px) {
  .profile {
    flex-direction: column;
    gap: 24px;
  }
  .photo-frame {
    flex-basis: auto;
    width: 200px;
  }
}

.profile-name {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--navy);
}

.profile-kana {
  margin-left: 8px;
  font-size: var(--fs-small);
  color: var(--gray);
}

.profile-block {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.profile-block-title {
  margin-bottom: 8px;
  font-size: var(--fs-body);
  color: var(--navy);
}

/* ページ途中の問い合わせ */
.cta-band {
  margin-top: 56px;
  padding: 32px 0;
  text-align: center;
  border-top: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
}

.cta-band-text {
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 20px;
  color: var(--navy);
}

.cta-band .btn {
  min-width: 360px;
}

@media (max-width: 767px) {
  .cta-band { padding: 24px 0; }
  .cta-band .btn { width: 100%; min-width: 0; }
}

/* ---------- E. 納品物 ---------- */

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

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

@media (max-width: 639px) {
  .card-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}

.card {
  padding: 20px 0;
  border-top: 2px solid var(--navy);
}

.card-title {
  margin-bottom: 6px;
  font-size: var(--fs-h3);
  line-height: 1.5;
  color: var(--navy);
}

.sample-image {
  display: block;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}

/* ---------- F. 料金表 ---------- */

.pricing-table-wrap {
  margin-top: 48px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
}

.pricing-table th,
.pricing-table td {
  padding: 16px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.pricing-table thead th {
  background: var(--navy);
  color: #fff;
}

.pricing-table td {
  font-weight: 700;
  font-size: 20px;
  text-align: right;
  white-space: nowrap;
}

.pricing-image {
  display: block;
  width: 160px;
  margin-bottom: 8px;
  border: 1px solid var(--line);
}

.pricing-name {
  font-weight: 700;
  color: var(--navy);
}

/* スマホでは図面ごとのカードに組み替える */
@media (max-width: 767px) {
  .pricing-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }
  .pricing-table,
  .pricing-table tbody,
  .pricing-table tr,
  .pricing-table th,
  .pricing-table td {
    display: block;
    width: 100%;
  }
  .pricing-table tr {
    margin-bottom: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
  }
  .pricing-table th,
  .pricing-table td {
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .pricing-table td {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    white-space: normal;
  }
  .pricing-table td::before {
    content: attr(data-label);
    font-weight: 400;
    font-size: var(--fs-small);
    text-align: left;
  }
  .pricing-image { width: 100%; max-width: 280px; }
}

/* ---------- G. ご利用の流れ ---------- */

/* 番号を縦の線でつなぐ */
.steps {
  position: relative;
}

.steps::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: var(--line);
}

.step {
  position: relative;
  padding: 0 0 28px 56px;
}

.step:last-child {
  padding-bottom: 0;
}

.step-title {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 4px;
  font-size: var(--fs-h3);
  line-height: 1.5;
  color: var(--navy);
}

.step-num {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--shu);
  color: #fff;
  font-size: var(--fs-small);
}

/* ---------- H. よくある質問 ---------- */

.faq-list {
  border-top: 1px solid var(--line);
}

.faq {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.faq summary {
  position: relative;
  display: block;
  padding: 18px 60px 18px 48px;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::before {
  content: "Q";
  position: absolute;
  left: 12px;
  top: 16px;
  color: var(--shu);
  font-size: 22px;
}

/* 開閉の印（＋／－） */
.faq summary::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 18px;
  height: 18px;
  margin-top: -9px;
  background:
    linear-gradient(var(--navy), var(--navy)) center / 18px 3px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 3px 18px no-repeat;
}

.faq[open] summary::after {
  background: linear-gradient(var(--navy), var(--navy)) center / 18px 3px no-repeat;
}

.faq summary:hover {
  background: var(--bg-soft);
}

.faq-answer {
  position: relative;
  padding: 4px 16px 22px 48px;
}

.faq-answer::before {
  content: "A";
  position: absolute;
  left: 12px;
  top: 2px;
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
}

.faq-answer p + p,
.faq-answer dl + p,
.faq-answer p + dl {
  margin-top: 12px;
}

.def-list > div {
  display: grid;
  grid-template-columns: 8em minmax(0, 1fr);
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
}

.def-list dt {
  font-weight: 700;
}

/* 項目名が長い一覧（個人情報の取扱いページの窓口） */
.def-list-wide > div {
  grid-template-columns: 13em minmax(0, 1fr);
}

@media (max-width: 767px) {
  .faq summary { padding: 16px 44px 16px 40px; }
  .faq summary::before { left: 8px; }
  .faq summary::after { right: 10px; }
  .faq-answer { padding: 4px 8px 20px 40px; }
  .faq-answer::before { left: 8px; }
  .def-list > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
}

/* ---------- I. お問い合わせ ---------- */

.section-contact {
  background: var(--navy);
  color: #fff;
}

.section + .section-contact {
  border-top: 0;
}

.section-contact .section-title,
.section-contact .section-label {
  color: #fff;
}

.contact-box {
  margin-top: 36px;
  padding: 32px;
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius);
}

@media (max-width: 767px) {
  .contact-box { padding: 22px 18px; }
}

.contact-form-note,
.contact-form-todo {
  margin-top: 10px;
  font-size: var(--fs-small);
  color: var(--gray);
  text-align: center;
}

.contact-other {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-other > div {
  display: flex;
  gap: 16px;
  padding: 4px 0;
}

.contact-other dt {
  flex: none;
  width: 3.5em;
  font-weight: 700;
}

.contact-other a {
  font-weight: 700;
}

/* ---------- J. フッター ---------- */

.site-footer {
  padding: 56px 0 32px;
  background: var(--navy-dark);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 32px 48px;
  align-items: start;
}

@media (max-width: 879px) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

.logo-footer,
.logo-footer:hover {
  color: #fff;
}

.logo-footer .logo-kana {
  color: #D5DCE4;
}

.footer-title {
  margin-bottom: 8px;
  font-size: var(--fs-body);
}

.operator-list > div {
  display: grid;
  grid-template-columns: 5em minmax(0, 1fr);
  gap: 12px;
  font-size: var(--fs-small);
  line-height: 1.8;
}

.operator-list dt {
  color: #D5DCE4;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.site-footer a {
  color: #fff;
}

.site-footer a:hover {
  color: #FFD9CF;
}

.copyright {
  margin-top: 40px;
  text-align: center;
  font-size: var(--fs-small);
  color: #D5DCE4;
}

/* ---------- スマホ画面下の固定ボタン ---------- */

.sticky-cta {
  display: none;
}

@media (max-width: 767px) {
  .sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: block;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
    visibility: hidden;
  }
  .sticky-cta.is-visible {
    visibility: visible;
  }
  .sticky-cta .btn {
    min-height: 52px;
  }
  /* 固定ボタンでフッターが隠れないように */
  body {
    padding-bottom: 76px;
  }
}

/* ---------- 個人情報の取扱いページ ---------- */

.page-simple {
  padding: 56px 0 96px;
}

.page-simple h1 {
  margin-bottom: 32px;
  font-size: var(--fs-h2);
  color: var(--navy);
}

.page-simple h2 {
  margin: 40px 0 12px;
  word-break: auto-phrase;
  text-wrap: balance;
  font-size: var(--fs-h3);
  color: var(--navy);
}

.page-simple p + p,
.page-simple p + ul,
.page-simple p + dl,
.page-simple ul + p {
  margin-top: 12px;
}

.page-simple .privacy-date {
  margin-top: 40px;
}

.page-simple .back-link {
  display: inline-block;
  margin-top: 48px;
  font-weight: 700;
}

/* ---------- 印刷 ---------- */

@media print {
  .site-header .btn-header,
  .sticky-cta,
  .skip-link { display: none !important; }
  .faq-answer { display: block; }
}
