@charset "UTF-8";

/* ==================================================
   基本設定（色・フォントはここを変えるだけで全体に反映）
   ================================================== */
:root {
  --navy: #13294b;        /* メインのネイビー */
  --navy-dark: #0c1c36;   /* 濃いネイビー（フッターなど） */
  --blue: #2f6fb5;        /* アクセントの青 */
  --blue-light: #eaf2fb;  /* 淡いブルー（背景） */
  --blue-pale: #f5f9fd;   /* さらに淡いブルー */
  --white: #ffffff;
  --text: #22324a;        /* 本文の文字色 */
  --text-sub: #5d6b80;    /* 補足の文字色 */
  --border: #dbe4ef;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(19, 41, 75, 0.08);
  --header-height: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height); /* ヘッダーに隠れないように */
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  letter-spacing: 0.04em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 820px;
}

.pc-only {
  display: inline;
}

/* 見出しの改行位置を整えるためのクラス
   <span class="phrase">〜</span> で囲んだ部分は途中で改行されません。
   （「か？」「さい。」だけが次の行に落ちるのを防ぎます） */
.phrase {
  display: inline-block;
}

/* 文章の最後の行が1〜2文字だけになるのを防ぐ（対応ブラウザのみ） */
p {
  text-wrap: pretty;
}

/* ==================================================
   ボタン
   ================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap; /* 狭い画面ではボタン内の文字を折り返す */
  justify-content: center;
  text-align: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
  font-family: inherit;
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(19, 41, 75, 0.25);
}

.btn--primary:hover {
  background: var(--blue);
  transform: translateY(-2px);
}

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

.btn--outline:hover {
  background: var(--blue-light);
}

.btn--large {
  padding: 16px 36px;
  font-size: 16px;
}

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

/* ==================================================
   1. ヘッダー
   ================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  z-index: 100;
  transition: box-shadow 0.3s;
}

/* スクロールしたら影をつける（script.jsで付け外し） */
.header.is-scrolled {
  box-shadow: 0 2px 16px rgba(19, 41, 75, 0.08);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}

.header__logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 20px;
}

.header__logo-text small {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-sub);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav-list {
  display: flex;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
}

.header__nav-list a {
  position: relative;
  padding: 4px 0;
  white-space: nowrap; /* メニュー名の途中で改行させない */
}

.header__nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width 0.25s;
}

.header__nav-list a:hover::after {
  width: 100%;
}

.header__menu-btn {
  display: none;
}

/* ==================================================
   2. ファーストビュー
   ================================================== */
.hero {
  position: relative;
  --hero-background: #23456d;
  isolation: isolate;
  padding-top: var(--header-height);
  background: var(--hero-background);
  color: var(--white);
}

.hero__inner {
  display: flex;
  align-items: center;
  min-height: clamp(500px, 43vw, 650px);
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero__text {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 64px 0 72px;
}

.hero__title {
  font-size: clamp(32px, 3.55vw, 46px);
  line-height: 1.4;
  letter-spacing: 0;
}

.hero__title-accent {
  color: #eaf2fb;
}

.hero__lead {
  max-width: 29em;
  margin-top: 20px;
  color: var(--white);
  font-size: 16px;
}

.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  margin-top: 28px;
}

.hero__buttons .btn--primary {
  background: var(--white);
  color: var(--navy);
}

.hero__buttons .btn--primary:hover {
  background: var(--blue-light);
}

.hero__services-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.hero__services-link:hover {
  color: #cfe0f5;
}

.hero__text a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
}

.hero__image {
  position: absolute;
  inset: var(--header-height) 0 0;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 49%;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(27, 57, 94, 0.95) 0%, rgba(27, 57, 94, 0.89) 30%, rgba(27, 57, 94, 0.75) 48%, rgba(35, 69, 109, 0.14) 75%, rgba(35, 69, 109, 0.04) 100%);
  pointer-events: none;
}

.photo-note {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-sub);
  text-align: right;
}

/* ==================================================
   セクション共通
   ================================================== */
.section {
  padding: 112px 0;
}

.section__head {
  text-align: center;
  margin-bottom: 56px;
}

.section__en {
  color: var(--blue);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 8px;
}

.section__title {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.5;
  color: var(--navy);
}

.section__title--left {
  text-align: left;
  margin-bottom: 24px;
}

.section__lead {
  margin-top: 16px;
  color: var(--text-sub);
}

.section__head--white .section__en {
  color: #9cc3ef;
}

.section__head--white .section__title {
  color: var(--white);
}

/* ==================================================
   3. お悩み
   ================================================== */
.worries {
  background: var(--white);
}

.worries__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}

.worries__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 28px;
  background: var(--blue-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.worries__item strong {
  color: var(--navy);
}

/* チェックマーク（CSSで描画） */
.check-icon {
  flex-shrink: 0;
  position: relative;
  width: 26px;
  height: 26px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--navy);
}

.check-icon::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 9px;
  width: 6px;
  height: 10px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
}

/* 下向きの矢印 */
.worries__arrow {
  width: 0;
  height: 0;
  margin: 64px auto 0;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 28px solid var(--blue-light);
}

/* ==================================================
   4. 解決策
   ================================================== */
.solution {
  padding-top: 24px;
}

.solution__inner {
  display: grid;
  gap: 0;
}

.solution__image {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(300px, 38vw, 450px);
  overflow: hidden;
  padding: 40px clamp(24px, 5vw, 64px) 52px;
  border-radius: 20px 20px 0 0;
  background: var(--navy);
}

.solution__image img,
.solution__image::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.solution__image img {
  object-fit: cover;
  object-position: 80% center;
}

.solution__image::after {
  content: "";
  background: linear-gradient(90deg, rgba(12, 28, 54, 0.91) 0%, rgba(12, 28, 54, 0.77) 31%, rgba(12, 28, 54, 0.16) 63%, rgba(12, 28, 54, 0.04) 100%);
}

.solution__title {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.solution__title {
  font-size: clamp(25px, 3.6vw, 42px);
}

.solution__text {
  padding: clamp(22px, 4vw, 44px);
  border-radius: 0 0 20px 20px;
  background: var(--blue-light);
}
.solution__text > p {
  color: var(--text-sub);
}

.solution__points {
  margin-top: 32px;
  display: grid;
  gap: 14px;
}

.solution__points li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-left: 4px solid var(--navy);
  background: var(--blue-pale);
  font-weight: 700;
  color: var(--navy);
}

.solution__points span {
  color: var(--blue);
  font-size: 14px;
}

/* ==================================================
   5. サービス紹介
   ================================================== */
.services {
  background: var(--blue-light);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  padding: 40px 28px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
}

.service-card__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--blue-light);
}

.service-card__icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__title {
  font-size: 19px;
  line-height: 1.5;
  color: var(--navy);
  margin-bottom: 14px;
}

.service-card__text {
  font-size: 15px;
  color: var(--text-sub);
}

/* ==================================================
   6. 選ばれる理由
   ================================================== */
.reasons {
  isolation: isolate;
  position: relative;
  color: var(--white);
  overflow: hidden;
}

/* 背景写真＋ネイビーの重ね */
.reasons__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(19, 41, 75, 0.92), rgba(19, 41, 75, 0.92)),
    url("images/office.jpg") center / cover no-repeat;
  z-index: -1;
}

.reasons__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.reason-item {
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
}

.reason-item__num {
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: #9cc3ef;
  margin-bottom: 16px;
}

.reason-item__title {
  font-size: 21px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.reason-item__text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}

/* ==================================================
   7. ご相談の流れ
   ================================================== */
.flow__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  counter-reset: none;
}

.flow-step {
  position: relative;
  padding: 36px 24px;
  text-align: center;
  background: var(--blue-pale);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ステップ間の矢印 */
.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -22px;
  width: 12px;
  height: 12px;
  border-top: 3px solid var(--blue);
  border-right: 3px solid var(--blue);
  transform: translateY(-50%) rotate(45deg);
}

.flow-step__label {
  display: inline-block;
  padding: 2px 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.flow-step__title {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}

.flow-step__text {
  font-size: 14px;
  color: var(--text-sub);
}

/* ==================================================
   8. よくある質問
   ================================================== */
.faq {
  background: var(--blue-pale);
}

.faq__list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item__q {
  position: relative;
  display: block;
  padding: 22px 64px 22px 64px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

/* ブラウザ標準の三角マークを消す */
.faq-item__q::-webkit-details-marker {
  display: none;
}

/* 「Q」マーク */
.faq-item__q::before {
  content: "Q";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 20px;
}

/* 右側の「＋」マーク */
.faq-item__q::after {
  content: "+";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  font-weight: 400;
  color: var(--navy);
  transition: transform 0.25s;
}

.faq-item[open] .faq-item__q::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item__a {
  position: relative;
  padding: 0 32px 24px 64px;
  color: var(--text-sub);
}

/* 「A」マーク */
.faq-item__a::before {
  content: "A";
  position: absolute;
  left: 24px;
  top: -2px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
}

/* ==================================================
   9. 無料相談（お問い合わせ）
   ================================================== */
.contact {
  isolation: isolate;
  position: relative;
  overflow: hidden;
}

.contact__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(234, 242, 251, 0.97) 0%, rgba(234, 242, 251, 0.9) 100%),
    url("images/contact.jpg") center / cover no-repeat;
  z-index: -1;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.contact__text > p {
  color: var(--text-sub);
}

.contact__points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.contact__points li {
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 14px;
  font-weight: 700;
}

.contact-form {
  padding: 40px;
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contact-form__demo {
  margin-bottom: 24px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--blue-pale);
  color: var(--text-sub);
  font-size: 13px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

.required {
  display: inline-block;
  margin-left: 6px;
  padding: 0 8px;
  border-radius: 4px;
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  vertical-align: middle;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px; /* スマホでズームされないよう16px以上 */
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 111, 181, 0.15);
}

/* 入力エラー時（script.jsで付け外し） */
.form-row .is-error {
  border-color: #c0392b;
}

.contact-form__result {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.contact-form__result.is-success {
  color: var(--blue);
}

.contact-form__result.is-error {
  color: #c0392b;
}

/* ==================================================
   10. フッター
   ================================================== */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.85);
  padding-top: 56px;
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 40px;
}

.footer__name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.footer__desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-size: 14px;
}

.footer__nav a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer__notice {
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
}

.footer__notice strong {
  color: var(--white);
}

.footer__copy {
  margin-top: 12px;
}

/* スマホ用の固定ボタン（PCでは非表示） */
.fixed-cta {
  display: none;
}

/* ==================================================
   スクロールで表示されるアニメーション
   （script.jsで .is-visible を付与）
   ================================================== */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: none;
}

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

/* ==================================================
   レスポンシブ：タブレット（1024px以下）
   ================================================== */
@media (max-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* --- ヘッダー：ハンバーガーメニュー ---
     PC用メニューは横幅が足りないと折り返してしまうため、
     タブレット以下（1024px以下）はハンバーガーメニューに切り替えます */
  .header__menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
  }

  .header__menu-btn span {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
  }

  /* メニューが開いた時の「×」 */
  .header__menu-btn.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .header__menu-btn.is-open span:nth-child(2) {
    opacity: 0;
  }
  .header__menu-btn.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header__nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 24px 20px 32px;
    background: var(--white);
    box-shadow: 0 12px 24px rgba(19, 41, 75, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  }

  .header__nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0;
    font-size: 16px;
  }

  .header__nav-list a {
    display: block;
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
  }

  .header__nav-list a::after {
    display: none;
  }
}

/* ==================================================
   レスポンシブ：スマートフォン（860px以下）
   ================================================== */
@media (max-width: 860px) {
  :root {
    --header-height: 64px;
  }

  body {
    font-size: 15px;
  }

  .container,
  .header__inner,
  .hero__inner {
    padding: 0 20px;
  }

  .pc-only {
    display: none;
  }

  /* --- ヘッダー：ロゴを少し小さく --- */
  .header__logo {
    font-size: 19px;
  }

  .header__logo-mark {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }


  /* --- ファーストビュー --- */
  .hero {
    --hero-photo-height: clamp(255px, 58vw, 435px);
  }

  .hero__inner {
    min-height: 0;
  }

  .hero__text {
    padding-top: calc(var(--hero-photo-height) - 98px);
    padding-bottom: 56px;
  }

  .hero__title {
    font-size: clamp(25px, 5vw, 38px);
  }

  .hero__buttons {
    margin-top: 20px;
  }

  .hero__image img,
  .hero__image::after {
    height: var(--hero-photo-height);
  }

  .hero__image::after {
    bottom: auto;
    background: linear-gradient(180deg, rgba(35, 69, 109, 0.03) 0%, rgba(35, 69, 109, 0.14) 28%, rgba(35, 69, 109, 0.87) 65%, var(--hero-background) 100%);
  }

  /* --- セクション共通 --- */
  .section {
    padding: 80px 0;
  }

  .section__head {
    margin-bottom: 40px;
  }

  /* --- 各セクション：1列に --- */
  .worries__list,
  .services__grid,
  .reasons__list,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .worries__item {
    padding: 20px;
  }

  .solution {
    padding-top: 16px;
  }

  .solution__image {
    align-items: end;
    padding: 32px 16px 43px;
  }

  .solution__image::after {
    background: linear-gradient(180deg, rgba(12, 28, 54, 0.04) 18%, rgba(12, 28, 54, 0.68) 54%, rgba(12, 28, 54, 0.94) 100%);
  }
  .contact__inner {
    gap: 40px;
  }

  .reason-item {
    padding: 28px 24px;
  }

  /* 流れは縦並び＋下向き矢印 */
  .flow__list {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .flow-step:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -26px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .faq-item__q {
    padding: 18px 52px 18px 52px;
  }

  .faq-item__q::before,
  .faq-item__a::before {
    left: 20px;
  }

  .faq-item__q::after {
    right: 20px;
  }

  .faq-item__a {
    padding: 0 20px 20px 52px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .footer {
    padding-bottom: 72px; /* 固定ボタンの分の余白 */
  }

  .footer__inner {
    flex-direction: column;
  }

  /* --- 画面下の固定ボタン --- */
  .fixed-cta {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 12px;
    padding: 14px;
    border-radius: 999px;
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
    text-align: center;
    box-shadow: 0 8px 20px rgba(19, 41, 75, 0.3);
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  }

  .fixed-cta.is-show {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
}

/* 幅の狭いスマートフォンでは意味のまとまりで改行する */
@media (max-width: 420px) {
  .hero__title-audience {
    display: block;
  }

  .hero__buttons {
    justify-content: center;
  }

  .hero__buttons .btn--primary {
    width: 100%;
  }
}
