/* ==========================================================================
   株式会社アポロパートナーズ  共通スタイルシート
   - 白基調 + ネイビーのアクセント
   - システムフォントのみ使用（外部フォント読み込みなし）
   ========================================================================== */

/* ---------- 1. 変数 ---------- */
:root {
  --color-navy: #1b2f52;
  --color-navy-dark: #13223d;
  --color-navy-light: #2c4a7c;
  --color-accent-line: #b9c6dc;
  --color-text: #222a36;
  --color-muted: #566072;
  --color-line: #dde2ea;
  --color-bg: #ffffff;
  --color-bg-soft: #f4f6f9;
  --color-bg-navy-soft: #eef2f8;
  --color-focus: #2f6fd6;

  /* 日本語は MS Pゴシック 系（Windows）を優先。
     英字・数字は先頭の欧文フォント（Mac は San Francisco、Windows は Segoe UI）が使われます。
     MS Pゴシックが無い環境（Mac・iPhone・Android）では、Osaka → ヒラギノ → Noto の順に代替表示されます。 */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
    "MS PGothic", "MS Pゴシック", "MS Gothic", "MS ゴシック", Osaka,
    "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;

  --container: 1080px;
  --gutter: 20px;
  --radius: 4px;
  --header-height: 72px;
}

/* ---------- 2. リセット・ベース ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.85;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
  line-break: strict;
}

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

h1,
h2,
h3,
h4 {
  line-height: 1.5;
  font-weight: 700;
  color: var(--color-navy-dark);
}

ul,
ol {
  padding: 0;
}

img,
svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

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

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

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--color-navy);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius);
}

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

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.nowrap {
  white-space: nowrap;
}

/* 見出しなどで、意味のまとまりの途中で改行させないための指定 */
.ib {
  display: inline-block;
}

/* ---------- 3. ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--color-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  padding: 10px 0;
  color: var(--color-navy);
  text-decoration: none;
  line-height: 1.3;
}

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

.brand-en {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.brand-ja {
  margin-top: 2px;
  font-size: 0.72rem;
  color: var(--color-muted);
  letter-spacing: 0.08em;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  list-style: none;
}

.site-nav a {
  display: block;
  padding: 8px 0;
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover {
  color: var(--color-navy);
  border-bottom-color: var(--color-accent-line);
}

.site-nav a[aria-current="page"] {
  color: var(--color-navy);
  border-bottom-color: var(--color-navy);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-navy);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* スマートフォン: JavaScript 有効時のみハンバーガーメニューにする
   （JavaScript 無効時はメニューを常時表示） */
@media (max-width: 767.98px) {
  :root {
    --header-height: 64px;
  }

  .header-inner {
    flex-wrap: wrap;
    gap: 0 16px;
  }

  .brand-en {
    font-size: 1.1rem;
  }

  .site-nav {
    width: 100%;
    padding-bottom: 8px;
  }

  .site-nav ul {
    gap: 0 20px;
  }

  .js .nav-toggle {
    display: inline-flex;
  }

  .js .site-nav {
    display: none;
    padding-bottom: 12px;
  }

  .js .site-nav.is-open {
    display: block;
  }

  .js .site-nav ul {
    flex-direction: column;
    border-top: 1px solid var(--color-line);
  }

  .js .site-nav li {
    border-bottom: 1px solid var(--color-line);
  }

  .js .site-nav a {
    padding: 14px 4px;
    border-bottom: 0;
  }

  .js .site-nav a[aria-current="page"] {
    border-left: 3px solid var(--color-navy);
    padding-left: 12px;
  }
}

/* ---------- 4. 汎用レイアウト ---------- */
.section {
  padding-block: 80px;
}

.section--soft {
  background: var(--color-bg-soft);
}

.section--tight {
  padding-block: 56px;
}

.section-head {
  margin-bottom: 40px;
}

.section-label {
  display: block;
  margin-bottom: 6px;
  color: var(--color-navy-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-title {
  font-size: 1.75rem;
  letter-spacing: 0.04em;
}

.section-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 16px;
  background: var(--color-navy);
}

.section-lead {
  max-width: 760px;
  margin-top: 20px;
  color: var(--color-muted);
}

.prose > * + * {
  margin-top: 1.1em;
}

.prose {
  max-width: 820px;
}

.text-muted {
  color: var(--color-muted);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

@media (max-width: 767.98px) {
  .section {
    padding-block: 56px;
  }

  .section--tight {
    padding-block: 40px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .grid--2,
  .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- 5. ボタン ---------- */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 28px;
  border: 1px solid var(--color-navy);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

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

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

.btn--outline {
  background: #fff;
  color: var(--color-navy);
}

.btn--outline:hover {
  background: var(--color-bg-navy-soft);
  color: var(--color-navy);
}

.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--color-navy);
}

.btn--light:hover {
  background: var(--color-bg-navy-soft);
  color: var(--color-navy-dark);
}

.btn::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: "";
  width: 6px;
  height: 6px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.text-link:hover {
  text-decoration: underline;
}

/* ---------- 6. トップページ ヒーロー ---------- */
.hero {
  position: relative;
  padding-block: 104px 96px;
  background:
    linear-gradient(180deg, var(--color-bg-navy-soft) 0%, #ffffff 100%);
  border-bottom: 1px solid var(--color-line);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: max(var(--gutter), calc((100% - var(--container)) / 2));
  width: 4px;
  background: var(--color-navy);
}

.hero-inner {
  position: relative;
  padding-left: 32px;
}

.hero-label {
  margin-bottom: 20px;
  color: var(--color-navy-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero-title {
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.55;
  letter-spacing: 0.06em;
}

.hero-lead {
  max-width: 720px;
  margin-top: 28px;
  font-size: 1.02rem;
  color: var(--color-text);
}

@media (max-width: 767.98px) {
  .hero {
    padding-block: 64px 56px;
  }

  .hero-inner {
    padding-left: 20px;
  }

  .hero-lead {
    font-size: 0.97rem;
  }
}

/* ---------- 7. 下層ページ見出し ---------- */
.page-header {
  padding-block: 56px 48px;
  background: var(--color-bg-navy-soft);
  border-bottom: 1px solid var(--color-line);
}

.page-header .section-label {
  margin-bottom: 8px;
}

.page-title {
  font-size: 2rem;
  letter-spacing: 0.06em;
}

.page-lead {
  max-width: 760px;
  margin-top: 16px;
  color: var(--color-muted);
}

.breadcrumb {
  margin-bottom: 24px;
  font-size: 0.82rem;
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin-inline: 10px;
  color: var(--color-muted);
}

.breadcrumb a {
  color: var(--color-muted);
}

.breadcrumb [aria-current="page"] {
  color: var(--color-text);
}

@media (max-width: 767.98px) {
  .page-header {
    padding-block: 36px 32px;
  }

  .page-title {
    font-size: 1.55rem;
  }
}

/* ---------- 8. カード ---------- */
.card {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-navy);
  border-radius: var(--radius);
}

.card-number {
  color: var(--color-navy-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.card-title {
  margin-top: 8px;
  font-size: 1.12rem;
}

.card-text {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 0.93rem;
}

.card-list {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-line);
  list-style: none;
  font-size: 0.9rem;
}

.card-list li {
  position: relative;
  padding-left: 16px;
}

.card-list li::before {
  content: "";
  position: absolute;
  top: 0.8em;
  left: 2px;
  width: 6px;
  height: 6px;
  background: var(--color-navy-light);
}

.card-link {
  margin-top: auto;
  padding-top: 20px;
  font-size: 0.9rem;
}

/* カード見出し（アイコン＋番号・タイトル） */
.card-head {
  display: flex;
  align-items: center;
  gap: 18px;
}

.card-icon {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.card-head-text {
  min-width: 0;
}

.card-head .card-title {
  margin-top: 4px;
}

.card-head + .card-text {
  margin-top: 18px;
}

/* タブレット幅では2カラムでカードが狭くなるため、アイコンを小さく */
@media (max-width: 959.98px) {
  .card-icon {
    width: 56px;
    height: 56px;
  }

  .card-head {
    gap: 14px;
  }
}

/* スマートフォンは1カラムに戻るため、少し大きめに */
@media (max-width: 767.98px) {
  .card-icon {
    width: 64px;
    height: 64px;
  }

  .card-head {
    gap: 16px;
  }
}

/* ---------- 8-2. 当社について（テキスト＋写真） ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: start;
}

.about-figure {
  margin: 0;
}

.about-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  background: var(--color-bg-soft);
}

@media (max-width: 859.98px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  /* スマートフォンでは横長に切り出して、縦に間延びしないようにする */
  .about-figure img {
    aspect-ratio: 4 / 3;
  }
}

/* ---------- 9. 特徴リスト ---------- */
.feature {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.feature-title {
  display: flex;
  gap: 14px;
  align-items: baseline;
  font-size: 1.08rem;
}

.feature-title span {
  flex-shrink: 0;
  color: var(--color-navy-light);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

.feature-text {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 0.93rem;
}

/* ---------- 10. 連携体制の図 ---------- */
.structure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr) 48px minmax(0, 1fr);
  align-items: stretch;
  margin-top: 8px;
  list-style: none;
}

.structure-item {
  display: flex;
  flex-direction: column;
  padding: 28px 24px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  text-align: center;
}

.structure-item--self {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
}

.structure-role {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-navy-light);
}

.structure-item--self .structure-role {
  color: #c9d5ea;
}

.structure-name {
  margin-top: 6px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-navy-dark);
  line-height: 1.5;
}

.structure-item--self .structure-name {
  color: #fff;
}

.structure-desc {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--color-line);
  font-size: 0.88rem;
  color: var(--color-muted);
  text-align: left;
}

.structure-item--self .structure-desc {
  border-top-color: rgba(255, 255, 255, 0.25);
  color: #e6ecf6;
}

.structure-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.structure-arrow::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-navy-light);
}

.structure-arrow::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  margin-left: -9px;
  border-top: 2px solid var(--color-navy-light);
  border-right: 2px solid var(--color-navy-light);
  transform: rotate(45deg);
}

.structure-caption {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--color-muted);
}

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

  .structure-arrow {
    height: 40px;
    transform: rotate(90deg);
  }
}

/* ---------- 11. 注記ボックス ---------- */
.notice {
  margin-top: 32px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-left: 4px solid var(--color-navy);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

.notice-title {
  margin-bottom: 6px;
  font-size: 0.98rem;
}

.notice p + p {
  margin-top: 0.6em;
}

/* ---------- 12. 事業内容ページ ---------- */
.target-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  list-style: none;
}

.target-list li {
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
}

.target-list strong {
  display: block;
  color: var(--color-navy-dark);
  font-size: 1.02rem;
}

.target-list span {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.service-block + .service-block {
  margin-top: 72px;
  padding-top: 72px;
  border-top: 1px solid var(--color-line);
}

.service-head {
  display: flex;
  gap: 20px;
  align-items: baseline;
}

.service-number {
  flex-shrink: 0;
  color: var(--color-navy-light);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.service-title {
  font-size: 1.5rem;
}

.service-lead {
  max-width: 820px;
  margin-top: 16px;
}

.service-items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.service-item {
  padding: 22px 24px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
}

.service-item dt {
  position: relative;
  padding-left: 14px;
  color: var(--color-navy-dark);
  font-weight: 700;
}

.service-item dt::before {
  content: "";
  position: absolute;
  top: 0.35em;
  bottom: 0.35em;
  left: 0;
  width: 3px;
  background: var(--color-navy);
}

.service-item dd {
  margin-top: 6px;
  color: var(--color-muted);
  font-size: 0.92rem;
}

@media (max-width: 767.98px) {
  .target-list,
  .service-items {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-block + .service-block {
    margin-top: 48px;
    padding-top: 48px;
  }

  .service-title {
    font-size: 1.25rem;
  }

  .service-number {
    font-size: 1.3rem;
  }
}

/* 業務の流れ */
.flow {
  list-style: none;
  counter-reset: flow;
}

.flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 20px;
  padding-bottom: 28px;
  counter-increment: flow;
}

.flow-step::before {
  content: counter(flow, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background: var(--color-navy);
  border-radius: 50%;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 68px;
  bottom: 4px;
  left: 31px;
  width: 2px;
  background: var(--color-accent-line);
}

.flow-body {
  padding-top: 14px;
}

.flow-title {
  font-size: 1.08rem;
}

.flow-text {
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 0.93rem;
}

@media (max-width: 767.98px) {
  .flow-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
  }

  .flow-step::before {
    width: 48px;
    height: 48px;
    font-size: 0.9rem;
  }

  .flow-step:not(:last-child)::after {
    top: 52px;
    left: 23px;
  }

  .flow-body {
    padding-top: 8px;
  }
}

/* ---------- 13. 会社概要テーブル ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--color-navy);
}

.info-table th,
.info-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}

.info-table td {
  background: #fff;
}

.info-table th {
  width: 200px;
  background: var(--color-bg-soft);
  color: var(--color-navy-dark);
  font-weight: 700;
  white-space: nowrap;
}

.info-table ol {
  padding-left: 1.4em;
}

.info-table ol li + li {
  margin-top: 6px;
}

.info-table .sub {
  display: block;
  color: var(--color-muted);
  font-size: 0.88rem;
}

.info-table--compact th,
.info-table--compact td {
  padding: 14px 20px;
}

@media (max-width: 767.98px) {
  .info-table,
  .info-table tbody,
  .info-table tr,
  .info-table th,
  .info-table td {
    display: block;
    width: 100%;
  }

  .info-table th {
    padding: 10px 16px;
    border-bottom: 0;
  }

  .info-table td {
    padding: 12px 16px 18px;
  }
}

/* ---------- 14. お問い合わせ ---------- */
.contact-box {
  padding: 40px;
  background: #fff;
  border: 1px solid var(--color-line);
  border-top: 3px solid var(--color-navy);
  border-radius: var(--radius);
  text-align: center;
}

.contact-box-label {
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.contact-email {
  display: inline-block;
  margin-top: 8px;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  word-break: break-all;
}

.contact-box .btn-group {
  justify-content: center;
  margin-top: 24px;
}

.check-list {
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 12px 0 12px 32px;
  border-bottom: 1px solid var(--color-line);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 1.15em;
  left: 6px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--color-navy);
  border-bottom: 2px solid var(--color-navy);
  transform: rotate(-45deg);
}

.note-list {
  list-style: none;
  font-size: 0.92rem;
  color: var(--color-muted);
}

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

.note-list li + li {
  margin-top: 8px;
}

.note-list li::before {
  content: "※";
  position: absolute;
  left: 0;
}

@media (max-width: 767.98px) {
  .contact-box {
    padding: 28px 20px;
  }

  .contact-email {
    font-size: 1.15rem;
  }
}

/* ---------- 15. CTA 帯 ---------- */
.cta {
  padding-block: 64px;
  background: var(--color-navy);
  color: #fff;
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}

.cta-title {
  color: #fff;
  font-size: 1.4rem;
}

.cta-text {
  margin-top: 8px;
  color: #d9e1ee;
  font-size: 0.95rem;
}

.cta .btn-group {
  margin-top: 0;
}

/* ---------- 16. プライバシーポリシー（文書） ---------- */
.policy {
  max-width: 820px;
}

.policy h2 {
  margin-top: 48px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-line);
  font-size: 1.2rem;
}

.policy h2:first-of-type {
  margin-top: 40px;
}

.policy p,
.policy ul,
.policy ol {
  margin-top: 14px;
}

.policy ul,
.policy ol {
  padding-left: 1.5em;
}

.policy li + li {
  margin-top: 4px;
}

.policy-contact {
  margin-top: 16px;
  padding: 20px 24px;
  background: var(--color-bg-soft);
  border-radius: var(--radius);
  font-style: normal;
}

.policy-date {
  margin-top: 48px;
  text-align: right;
  color: var(--color-muted);
}

/* ---------- 17. フッター ---------- */
.site-footer {
  background: var(--color-navy-dark);
  color: #d9e1ee;
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px 48px;
  padding-block: 56px 40px;
}

.footer-brand {
  font-style: normal;
}

.footer-logo {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.footer-company {
  margin-top: 12px;
  color: #fff;
}

.footer-address {
  margin-top: 8px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  list-style: none;
}

.footer-nav a {
  color: #d9e1ee;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-bottom small {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.site-footer :focus-visible {
  outline-color: #9cc0ff;
}

/* ---------- 18. 404 ---------- */
.not-found {
  padding-block: 96px;
  text-align: center;
}

.not-found .page-lead {
  margin-inline: auto;
}

.not-found .btn-group {
  justify-content: center;
}

/* ---------- 19. 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- 20. 印刷 ---------- */
@media print {
  .site-header {
    position: static;
  }

  .nav-toggle,
  .site-nav,
  .skip-link,
  .btn-group,
  .cta {
    display: none !important;
  }

  .hero,
  .page-header,
  .section--soft {
    background: none;
  }

  .site-footer {
    background: none;
    color: #000;
  }

  .footer-logo,
  .footer-company {
    color: #000;
  }

  a {
    color: #000;
  }
}
