/* 下層ページ共通。style.css を読み込んだ上で追加で読む */

/* ---------------- page hero ---------------- */

.page-hero {
  padding: 128px 0 60px;
  background:
    radial-gradient(760px 400px at 86% 6%, rgba(217, 152, 43, .12), transparent 62%),
    var(--paper-warm);
  border-bottom: 1px solid var(--line);
}
.page-hero .wrap { width: min(100% - 48px, 900px); }
.page-eyebrow {
  font-family: var(--f-en);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--honey);
  margin-bottom: 14px;
}
.page-title {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(25px, 3.4vw, 38px);
  line-height: 1.45;
  color: var(--navy);
  letter-spacing: .01em;
}
.page-lead {
  margin-top: 20px;
  font-size: 15px;
  color: var(--gray);
}

/* ---------------- breadcrumb ---------------- */

.breadcrumb {
  padding-top: 96px;
  background: var(--paper-warm);
}
.breadcrumb .wrap { width: min(100% - 48px, 900px); }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--gray);
}
.breadcrumb li + li::before {
  content: '›';
  margin-right: 8px;
  color: var(--line);
}
.breadcrumb a { color: var(--gray); }
.breadcrumb a:hover { color: var(--navy); text-decoration: underline; }
.breadcrumb + .page-hero { padding-top: 34px; }

/* ---------------- 文書ページ（規約・ポリシー） ---------------- */

.doc { padding: 76px 0 96px; }
.doc .wrap { width: min(100% - 48px, 900px); }

.doc-meta {
  font-size: 12.5px;
  color: var(--gray);
  text-align: right;
  margin-bottom: 40px;
}

.doc-intro {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 28px;
  font-size: 14.5px;
  color: var(--gray);
  margin-bottom: 48px;
}
.doc-intro strong { color: var(--ink); }

.doc h2 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  line-height: 1.6;
  margin: 56px 0 18px;
  padding-left: 14px;
  border-left: 4px solid var(--honey);
}
.doc h2:first-of-type { margin-top: 0; }
.doc h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 15.5px;
  color: var(--ink);
  margin: 30px 0 10px;
}
.doc p {
  font-size: 14.5px;
  color: var(--gray);
  line-height: 2.05;
}
.doc p + p { margin-top: 12px; }
.doc strong { color: var(--ink); font-weight: 700; }

.doc-list { margin: 12px 0 0; }
.doc-list li {
  position: relative;
  padding-left: 20px;
  font-size: 14.5px;
  color: var(--gray);
  line-height: 2.05;
}
.doc-list li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--honey);
}
.doc-list.num { counter-reset: dl; }
.doc-list.num li { padding-left: 28px; counter-increment: dl; }
.doc-list.num li::before {
  content: counter(dl) '.';
  background: none;
  border-radius: 0;
  width: auto;
  height: auto;
  top: 0;
  left: 2px;
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 13px;
  color: var(--honey);
}

/* 定義表 */
.doc-table-wrap { overflow-x: auto; margin-top: 8px; }
.doc-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  font-size: 14px;
}
.doc-table th,
.doc-table td {
  text-align: left;
  vertical-align: top;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  line-height: 1.9;
}
.doc-table tr:last-child th,
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table th {
  width: 230px;
  background: var(--paper-warm);
  font-family: var(--f-head);
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}
.doc-table td { color: var(--gray); }
.doc-table td strong { color: var(--ink); }
.doc-table .sub { display: block; font-size: 12.5px; margin-top: 4px; }

/* 料金表（税込併記） */
.fee-table th { width: auto; white-space: normal; }
.fee-table thead th {
  background: var(--navy);
  color: var(--white);
  font-size: 13.5px;
  white-space: nowrap;
}
.fee-table tbody th { width: 160px; }
.fee-table td { white-space: nowrap; }

.doc-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--gray);
  line-height: 1.95;
}

/* ---------------- 業種別ページ ---------------- */

.case-lead { padding: 76px 0 0; }
.case-lead .wrap { width: min(100% - 48px, 900px); }
.case-lead p { font-size: 15.5px; color: var(--ink); line-height: 2.1; }
.case-lead p + p { margin-top: 18px; }
.case-lead .marker {
  background: linear-gradient(transparent 62%, var(--honey-soft) 62%);
  font-weight: 700;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.voice {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 28px;
}
.voice h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 12px;
  padding-left: 26px;
  position: relative;
}
.voice h3::before {
  content: '“';
  position: absolute;
  left: 0;
  top: -6px;
  font-family: var(--f-en);
  font-size: 30px;
  font-weight: 700;
  color: var(--honey);
  line-height: 1;
}
.voice p { font-size: 14px; color: var(--gray); line-height: 2; }

.answer-list { display: flex; flex-direction: column; gap: 18px; }
.answer {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px 30px;
}
.answer-no {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 34px;
  color: var(--honey-soft);
  line-height: 1;
}
.answer h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 10px;
}
.answer p { font-size: 14.5px; color: var(--gray); line-height: 2.05; }
.answer p + p { margin-top: 10px; }

.pageset {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.pageset-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
}
.pageset-item h3 {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  margin-bottom: 8px;
}
.pageset-item p { font-size: 13.5px; color: var(--gray); line-height: 1.95; }

.plan-pick {
  background: var(--white);
  border: 2px solid var(--honey);
  border-radius: 18px;
  padding: 34px 36px;
  text-align: center;
}
.plan-pick .pick-tag {
  display: inline-block;
  background: var(--honey);
  color: var(--navy-deep);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 12.5px;
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.plan-pick h3 {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
}
.plan-pick .pick-price {
  font-family: var(--f-en);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 16px;
}
.plan-pick .pick-price em { font-style: normal; font-size: 34px; }
.plan-pick p { font-size: 14.5px; color: var(--gray); line-height: 2; }
.plan-pick .btn { margin-top: 22px; }

/* 下層ページ末尾のCTA */
.page-cta {
  background:
    radial-gradient(700px 380px at 12% 10%, rgba(217, 152, 43, .16), transparent 60%),
    var(--navy);
  color: var(--white);
  padding: 84px 0;
  text-align: center;
}
.page-cta h2 {
  font-family: var(--f-head);
  font-weight: 900;
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.55;
  margin-bottom: 18px;
}
.page-cta p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, .74);
  line-height: 2;
  margin-bottom: 30px;
}
.page-cta .btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.page-cta .btn-ghost:hover { background: var(--white); color: var(--navy); }
.page-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------------- responsive ---------------- */

@media (max-width: 1000px) {
  .voice-grid { grid-template-columns: 1fr; }
  .pageset { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .breadcrumb { padding-top: 88px; }
  .breadcrumb ol { font-size: 11.5px; }
  .page-hero { padding-bottom: 44px; }
  .breadcrumb + .page-hero { padding-top: 26px; }
  .doc { padding: 52px 0 72px; }
  .doc h2 { font-size: 17px; margin-top: 44px; }
  .doc-meta { text-align: left; }
  .doc-intro { padding: 20px 20px; }
  .doc-table th {
    display: block;
    width: 100%;
    white-space: normal;
    border-bottom: 0;
    padding-bottom: 8px;
  }
  .doc-table td { display: block; width: 100%; padding-top: 8px; white-space: normal; }
  .fee-table { font-size: 13px; }
  .fee-table th, .fee-table td { display: table-cell; width: auto; }
  .fee-table thead th { padding: 12px 10px; }
  .fee-table tbody th, .fee-table td { padding: 12px 10px; }
  .answer { grid-template-columns: 1fr; gap: 8px; padding: 24px 22px; }
  .answer-no { font-size: 26px; }
  .plan-pick { padding: 28px 22px; }
  .case-lead { padding-top: 52px; }
}
