/* ============================================================
   みなと行政書士事務所（PORTFOLIO DEMO）  style.css

   目次
     1.  デザイントークン / リセット / ベース
     2.  ユーティリティ（コンテナ / 見出し / reveal）
     3.  ボタン
     4.  ポートフォリオ表示バー
     5.  ヘッダー / ナビ / ハンバーガー
     6.  ファーストビュー
     7.  画像フレーム（プレースホルダー）
     8.  お悩みセクション
     9.  サービス
     10. 選ばれる理由
     11. 料金
     12. ご相談の流れ
     13. 代表者紹介
     14. FAQ
     15. お問い合わせ / フォーム
     16. フッター
     17. スマートフォン固定CTA
     18. レスポンシブ
   ============================================================ */

/* ============ 1. デザイントークン / リセット / ベース ============ */
:root {
  --navy: #14243d;
  --navy-700: #1d3452;
  --navy-900: #0d1a2b;
  --gold: #8c6a33; /* 白背景でのコントラスト確保（約4.6:1） */
  --gold-soft: #c9a35f; /* 濃紺背景で使用 */
  --sand: #faf7f1;
  --sand-200: #f3ecdd;
  --white: #ffffff;
  --ink: #23262c;
  --ink-soft: #55606d;
  --line: #e7e1d4;
  --line-cool: #e3e6ea;
  --danger: #b3261e;
  --ok: #1d7a41;

  --container: 1080px;
  --container-narrow: 720px;
  --radius: 8px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(20, 36, 61, 0.05);
  --shadow-md: 0 14px 34px rgba(20, 36, 61, 0.10);
  --ease: 0.25s ease;

  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Yu Gothic", Meiryo, sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.9;
  color: var(--ink);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-align: justify;
  text-justify: inter-character;
}

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

a {
  color: var(--navy);
  text-decoration: none;
  transition: color var(--ease);
}
a:hover {
  color: var(--gold);
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.55;
  color: var(--navy);
}

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

p {
  margin: 0;
}

/* フォーカスリング（キーボード操作時のみ） */
:focus-visible {
  outline: 3px solid var(--gold-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  padding: 10px 18px;
  background-color: var(--navy);
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top var(--ease);
}
.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* ============ 2. ユーティリティ ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: 112px 0;
}
.section--sand {
  background-color: var(--sand);
}
.section--navy {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.section__label {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.section__label::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  margin: 12px auto 0;
  background-color: var(--gold-soft);
}
.section__title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  letter-spacing: 0.02em;
}
.section__head--light .section__title {
  color: var(--white);
}
.section__desc {
  margin: 20px auto 0;
  color: var(--ink-soft);
  font-size: 1rem;
  text-align: center;
}
.section__head--light .section__desc {
  color: rgba(255, 255, 255, 0.8);
}

.pc-only {
  display: inline;
}
.sp-only {
  display: none;
}

/* スクロール時のフェード */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============ 3. ボタン ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 30px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color var(--ease), color var(--ease), border-color var(--ease),
    box-shadow var(--ease), transform var(--ease);
}
.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.btn--lg {
  min-height: 60px;
  padding: 0 38px;
  font-size: 1.05rem;
}
.btn--block {
  width: 100%;
}

.btn--primary {
  background-color: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background-color: var(--navy-700);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--ghost {
  background-color: var(--white);
  border-color: var(--navy);
  color: var(--navy);
}
.btn--ghost:hover {
  background-color: var(--navy);
  color: var(--white);
}

/* ============ 4. ポートフォリオ表示バー ============ */
.demo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 8px 20px;
  background-color: #eef1f5;
  border-bottom: 1px solid var(--line-cool);
  color: var(--ink-soft);
  font-size: 0.8rem;
  text-align: center;
}
.demo-bar__tag {
  flex-shrink: 0;
  padding: 3px 10px;
  border-radius: 999px;
  background-color: var(--navy);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.12em;
}

/* ============ 5. ヘッダー / ナビ ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--ease);
}
.header.is-scrolled {
  box-shadow: 0 6px 20px rgba(20, 36, 61, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
}
.brand:hover {
  color: var(--navy);
}
.brand__mark {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  color: var(--navy);
}
.brand__mark svg {
  width: 100%;
  height: 100%;
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}
.brand__name {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand__sub {
  font-size: 0.72rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav__link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.nav__link:hover {
  color: var(--gold);
}
.nav__link--cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-sm);
  background-color: var(--navy);
  color: var(--white);
  font-weight: 700;
}
.nav__link--cta:hover {
  background-color: var(--navy-700);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4.5px 0;
  background-color: var(--navy);
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============ 6. ファーストビュー ============ */
.hero {
  background: linear-gradient(180deg, var(--sand) 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 84px;
  padding-bottom: 84px;
}
.hero__eyebrow {
  margin: 0 0 18px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--gold);
}
.hero__title {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
}
.hero__lead {
  margin: 24px 0 0;
  font-size: 1.05rem;
  color: var(--ink-soft);
}
.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 0;
}
.hero__points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px 8px 12px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
}
.hero__points svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 0;
}
.hero__note {
  margin: 18px 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ============ 7. 画像フレーム（プレースホルダー） ============ */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background-color: var(--sand-200);
  border: 1px solid var(--line);
}
.media-frame::before {
  /* コーナーの装飾（控えめなゴールドの角） */
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(161, 122, 60, 0.35);
  border-radius: 4px;
  z-index: 3;
  pointer-events: none;
}
.media-frame__label {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: #9a9484;
}
/* 画像は読み込みが確認できるまで非表示。プレースホルダーは常に背面に表示される */
.media-frame img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.media-frame.has-image img {
  opacity: 1;
}
.media-frame.has-image .media-frame__label {
  display: none;
}
.media-frame--hero {
  width: 100%;
  aspect-ratio: 4 / 5;
}
.media-frame--portrait {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 4 / 5;
}

/* ============ 8. お悩みセクション ============ */
.worry-list {
  display: grid;
  gap: 14px;
}
.worry-list__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 22px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold-soft);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
}
.worry-list__icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-color: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}
.worry-lead {
  margin: 36px auto 0;
  max-width: 620px;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--navy);
}

/* ============ 9. サービス ============ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: 34px 32px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d8cfba;
}
.service-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  background-color: var(--sand);
  color: var(--navy);
  margin-bottom: 20px;
}
.service-card__icon svg {
  width: 26px;
  height: 26px;
}
.service-card__title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  margin-bottom: 12px;
}
.service-card__lead {
  font-size: 0.97rem;
  color: var(--ink-soft);
  flex-grow: 1;
}
.service-card__for {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  font-size: 0.92rem;
}
.tag {
  display: inline-block;
  margin-right: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background-color: var(--navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  vertical-align: 2px;
}
.service-note {
  margin: 32px auto 0;
  max-width: 760px;
  padding: 18px 22px;
  background-color: var(--sand);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ============ 10. 選ばれる理由 ============ */
.reason-list {
  display: grid;
  gap: 4px;
  max-width: 820px;
  margin: 0 auto;
}
.reason-item {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 28px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.reason-item:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.reason-item__num {
  flex-shrink: 0;
  font-family: var(--font-serif);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-soft);
  min-width: 78px;
}
.reason-item__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: 8px;
}
.reason-item__body p {
  font-size: 0.97rem;
  color: rgba(255, 255, 255, 0.82);
}

/* ============ 11. 料金 ============ */
.price-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background-color: var(--white);
}
.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
}
.price-row:last-child {
  border-bottom: 0;
}
.price-row--free {
  background-color: var(--sand);
  border-left: 4px solid var(--gold);
}
.price-row__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.price-row__name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.price-row__desc {
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.price-row__amount {
  flex-shrink: 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.price-row__num {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy);
  margin-right: 2px;
}
.price-note {
  margin: 24px 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ============ 12. ご相談の流れ ============ */
.flow-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: flow;
}
.flow-step {
  position: relative;
  padding: 28px 26px;
  background-color: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.flow-step__num {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.flow-step__num b {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.flow-step__title {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  margin: 10px 0 8px;
}
.flow-step p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ============ 13. 代表者紹介 ============ */
.profile {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 56px;
  align-items: start;
  max-width: 960px;
  margin: 0 auto;
}
.profile__media {
  display: flex;
  justify-content: center;
}
.profile__role {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.profile__name {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--navy);
  margin: 6px 0 22px;
}
.profile__kana {
  margin-left: 12px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-soft);
}
.profile__body p {
  margin-bottom: 16px;
  font-size: 0.98rem;
}
.profile__facts {
  margin: 26px 0 0;
  border-top: 1px solid var(--line);
}
.profile__facts > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.profile__facts dt {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy);
}
.profile__facts dd {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
}
.profile__disclaimer {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ============ 14. FAQ ============ */
.faq {
  display: grid;
  gap: 12px;
}
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background-color: var(--white);
  overflow: hidden;
}
.faq__q-wrap {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--navy);
  text-align: left;
  cursor: pointer;
  transition: background-color var(--ease);
}
.faq__q:hover {
  background-color: var(--sand);
}
.faq__q-text {
  flex: 1;
}
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 4px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background-color: var(--gold);
  transition: transform var(--ease), opacity var(--ease);
}
.faq__icon::before {
  top: 9px;
  left: 0;
  width: 20px;
  height: 2px;
}
.faq__icon::after {
  top: 0;
  left: 9px;
  width: 2px;
  height: 20px;
}
.faq__q[aria-expanded="true"] .faq__icon::after {
  transform: scaleY(0);
  opacity: 0;
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--ease);
}
.faq__a p {
  margin: 0 24px 18px;
  font-size: 0.96rem;
  color: var(--ink-soft);
}
.faq__a p:first-child {
  margin-top: 0;
  padding-top: 2px;
}
.faq__a strong {
  color: var(--navy);
}

/* ============ 15. お問い合わせ / フォーム ============ */
.contact {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.9);
}
.contact__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  max-width: 940px;
  margin: 0 auto;
  align-items: stretch;
}
.contact__phone {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 30px;
  background-color: var(--navy-700);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  text-align: center;
}
.contact__phone-label {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}
.contact__phone-num {
  display: inline-block;
  margin: 10px 0 6px;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.contact__phone-num:hover {
  color: var(--gold-soft);
}
.contact__phone-hours {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}
.contact__phone-note {
  margin-top: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
}
.contact__form-wrap {
  padding: 34px 32px;
  background-color: var(--white);
  border-radius: var(--radius);
  color: var(--ink);
}
.contact__form-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
}

.form__row {
  margin-bottom: 20px;
}
.form__label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}
.form__req {
  padding: 2px 8px;
  border-radius: 4px;
  background-color: #fbe9e7;
  color: var(--danger);
  font-size: 0.7rem;
  font-weight: 700;
}
.form__input {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background-color: var(--white);
  border: 1px solid #cfd4da;
  border-radius: var(--radius-sm);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form__input::placeholder {
  color: #9aa1ab;
}
.form__input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20, 36, 61, 0.14);
}
.form__input.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.12);
}
textarea.form__input {
  resize: vertical;
  min-height: 128px;
}
.form__error {
  margin: 7px 0 0;
  min-height: 1.1em;
  font-size: 0.82rem;
  color: var(--danger);
}
.form__note {
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}
.form__note.is-error {
  color: var(--danger);
}
.form__note.is-ok {
  color: var(--ok);
}
.form__privacy {
  margin: 16px 0 0;
  font-size: 0.8rem;
  color: var(--ink-soft);
  text-align: center;
}

/* ============ 16. フッター ============ */
.footer {
  background-color: var(--navy-900);
  color: rgba(255, 255, 255, 0.78);
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 40px;
}
.footer__name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.footer__addr {
  font-size: 0.88rem;
  line-height: 1.9;
}
.footer__demo {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer__nav-title {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold-soft);
  margin-bottom: 14px;
}
.footer__nav ul {
  display: grid;
  gap: 10px;
}
.footer__nav a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}
.footer__nav a:hover {
  color: var(--white);
}
.footer__copy {
  margin: 0;
  padding: 22px 24px calc(22px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ============ 17. スマートフォン固定CTA ============ */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1100;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background-color: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 20px rgba(20, 36, 61, 0.1);
}
.sticky-cta__btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 700;
}
.sticky-cta__btn svg {
  width: 18px;
  height: 18px;
}
.sticky-cta__btn--tel {
  background-color: var(--white);
  border: 1.5px solid var(--navy);
  color: var(--navy);
}
.sticky-cta__btn--main {
  background-color: var(--navy);
  color: var(--white);
}

/* ============ 18. レスポンシブ ============ */
@media (max-width: 1000px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero__media {
    order: -1;
    max-width: 460px;
  }
  .media-frame--hero {
    aspect-ratio: 16 / 10;
  }
  .profile {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 560px;
  }
  .profile__facts > div {
    grid-template-columns: 96px 1fr;
  }
}

@media (max-width: 900px) {
  .flow-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: 0;
    padding-top: 74px;
    max-height: 100vh;
    background-color: var(--white);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-md);
    overflow-y: auto;
  }
  .nav.is-open {
    transform: translateY(0);
  }
  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 28px;
  }
  .nav__list li {
    border-bottom: 1px solid var(--line);
  }
  .nav__link {
    display: block;
    padding: 18px 4px;
    font-size: 1rem;
  }
  .nav__link--cta {
    justify-content: center;
    min-height: 54px;
    margin-top: 18px;
  }
  .nav__list li:last-child {
    border-bottom: 0;
  }
  .nav-toggle {
    display: block;
    position: relative;
    z-index: 1200;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 1rem;
    padding-bottom: 76px; /* 固定CTA分 */
  }
  .section {
    padding: 72px 0;
  }
  .section__head {
    margin-bottom: 40px;
  }
  .section__title {
    font-size: 1.5rem;
  }
  .container {
    padding: 0 20px;
  }
  .pc-only {
    display: none;
  }
  .sp-only {
    display: inline;
  }

  .hero__inner {
    padding-top: 48px;
    padding-bottom: 56px;
  }
  .hero__title {
    font-size: 1.95rem;
    line-height: 1.55;
  }
  .hero__media {
    order: 1;
    max-width: 100%;
  }
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
  .flow-list {
    grid-template-columns: 1fr;
  }
  .reason-item {
    gap: 16px;
    padding: 22px 4px;
  }
  .reason-item__num {
    font-size: 2rem;
    min-width: 54px;
  }
  .price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px 20px;
  }
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact__form-wrap {
    padding: 28px 22px;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 52px;
  }

  .sticky-cta {
    display: flex;
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 1.72rem;
  }
  .brand__sub {
    display: none;
  }
  .contact__phone-num {
    font-size: 1.7rem;
  }
}
