@charset "UTF-8";
/* ==========================================================================
   あおき経営パートナーズ — base.css（全ページ共通・親CCが確定／子CCは編集禁止）
   基準＝_rough/references/sources.md（デザイン憲法）
   ========================================================================== */

/* ---------- 1. トークン ---------- */
:root {
  --navy: #051C2C;
  --navy-2: #0B2A40;
  --blue: #2251FF;
  --blue-ink: #1E32E6;
  --blue-deep: #0E2B99;
  --ink: #000;
  --text: #333;
  --mute: #666;
  --gray-1: #F0F0F0;
  --gray-2: #F5F5F5;
  --gray-3: #E6E6E6;
  --line: #D0D0D0;
  --line-blue: #E3E6FC;
  --white: #fff;
  --error: #C8102E;

  --ff-serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --ff-sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;

  --wrap: 1440px;
  --content: 1224px;
  --gutter: 108px;
  --header-h: 90px;

  --ease: cubic-bezier(.45, 0, .55, 1); /* ease-in-out（実測 .4s ease-in-out） */
  --dur: .4s;
}
@media (max-width: 1439px) { :root { --gutter: 80px; } }
@media (max-width: 1279px) { :root { --gutter: 56px; } }
@media (max-width: 1023px) { :root { --gutter: 40px; --header-h: 72px; } }
@media (max-width: 767px)  { :root { --gutter: 20px; --header-h: 64px; } }

/* ---------- 2. リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--ff-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  line-break: strict;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
[hidden] { display: none !important; }
strong, b { font-weight: 500; }

/* ---------- 3. アクセシビリティ ---------- */
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 1000;
  background: var(--blue); color: #fff; padding: 8px 16px; font-size: 16px; font-weight: 400;
}
.skip-link:focus { top: 8px; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.on-navy :focus-visible, .site-drawer :focus-visible { outline-color: #fff; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- 4. 枠 ---------- */
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(840px + var(--gutter) * 2); }
.container--mid { max-width: calc(1000px + var(--gutter) * 2); }

.sec { padding-block: 88px; }
.sec--first { padding-top: 76px; }
.sec--tight { padding-block: 64px; }
.sec--loose { padding-block: 112px; }
.sec--flush-top { padding-top: 0; }
.sec--gray { background: var(--gray-1); }
.sec--gray2 { background: var(--gray-2); }
.sec--navy { background: var(--navy); color: #fff; }
@media (max-width: 767px) {
  .sec { padding-block: 56px; }
  .sec--first { padding-top: 48px; }
  .sec--tight { padding-block: 44px; }
  .sec--loose { padding-block: 72px; }
  .sec--flush-top { padding-top: 0; }
}

/* ---------- 5. 文字 ---------- */
.serif { font-family: var(--ff-serif); }
.h-hero {            /* 52/62.4/300 serif */
  font-family: var(--ff-serif); font-weight: 300; font-size: 52px; line-height: 1.2; color: var(--ink); letter-spacing: 0;
}
.h-display {         /* 44/52.8/300 serif */
  font-family: var(--ff-serif); font-weight: 300; font-size: 44px; line-height: 1.2; color: var(--ink);
}
.h-sub {             /* 36/43.2/300 serif */
  font-family: var(--ff-serif); font-weight: 300; font-size: 36px; line-height: 1.2; color: var(--ink);
}
.h-mid {             /* 28/40/500 sans（記事内見出し・人物名） */
  font-size: 28px; line-height: 1.3; font-weight: 500; color: var(--ink);
}
.h-card {            /* 24/28/500 sans */
  font-size: 24px; line-height: 1.25; font-weight: 500; color: var(--ink);
}
.sec-label {         /* 節ラベル＝16/24/500・字間1.2px（日本語の小見出しそのもの） */
  font-size: 16px; line-height: 1.5; font-weight: 500; letter-spacing: .075em; color: var(--ink); text-align: center;
}
.sec-label--left { text-align: left; }
.lead { font-size: 20px; line-height: 1.6; font-weight: 300; color: var(--text); }
.lead--center { text-align: center; max-width: 900px; margin-inline: auto; }
.body-l { font-size: 18px; line-height: 1.56; }
.small { font-size: 14px; line-height: 1.43; font-weight: 400; }
.cat { font-size: 12px; line-height: 1.33; font-weight: 400; color: var(--ink); }
.note { font-size: 13px; line-height: 1.6; font-weight: 400; color: var(--mute); }
.on-navy { color: #fff; }
.on-navy .h-hero, .on-navy .h-display, .on-navy .h-sub, .on-navy .h-card, .on-navy .h-mid, .on-navy .sec-label, .on-navy .cat { color: #fff; }
.on-navy .lead { color: rgba(255,255,255,.88); }
@media (max-width: 1023px) {
  .h-hero { font-size: 42px; }
  .h-display { font-size: 36px; }
  .h-sub { font-size: 30px; }
}
@media (max-width: 767px) {
  .h-hero { font-size: 32px; line-height: 1.25; }
  .h-display { font-size: 28px; line-height: 1.3; }
  .h-sub { font-size: 24px; line-height: 1.35; }
  .h-mid { font-size: 22px; }
  .h-card { font-size: 20px; line-height: 1.35; }
  .lead { font-size: 17px; line-height: 1.7; }
  .body-l { font-size: 16px; line-height: 1.75; }
}
.br-pc { display: inline; }
.br-sp { display: none; }
@media (max-width: 767px) { .br-pc { display: none; } .br-sp { display: inline; } }
.nb { white-space: nowrap; }

/* 長文（記事・メッセージ・事例） */
.prose { font-size: 18px; line-height: 1.78; color: var(--text); }
.prose > * + * { margin-top: 1.4em; }
.prose h2 { font-family: var(--ff-serif); font-weight: 300; font-size: 32px; line-height: 1.3; color: var(--ink); margin-top: 2.2em; }
.prose h3 { font-size: 24px; line-height: 1.35; font-weight: 500; color: var(--ink); margin-top: 2em; }
.prose h4 { font-size: 18px; line-height: 1.5; font-weight: 500; color: var(--ink); margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; list-style: disc; }
.prose ol { padding-left: 1.4em; list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
@media (max-width: 767px) {
  .prose { font-size: 16px; line-height: 1.85; }
  .prose h2 { font-size: 24px; }
  .prose h3 { font-size: 20px; }
}

/* ---------- 6. リンク・ボタン ---------- */
.arrow { display: inline-block; width: 14px; height: 10px; flex: none; transition: transform var(--dur) var(--ease); }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; line-height: 1.43; font-weight: 500; color: var(--ink);
}
.link-arrow .arrow { color: var(--blue); }
.link-arrow:hover .arrow, a:hover > .link-arrow .arrow { transform: translateX(4px); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.on-navy .link-arrow, .link-arrow--white,
.split-hero .link-arrow, .page-hero .link-arrow, .checker__panel .link-arrow, .office__card .link-arrow, .sec--navy .link-arrow { color: #fff; }
.on-navy .link-arrow .arrow, .link-arrow--white .arrow,
.split-hero .link-arrow .arrow, .page-hero .link-arrow .arrow, .checker__panel .link-arrow .arrow, .office__card .link-arrow .arrow, .sec--navy .link-arrow .arrow { color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 8px 24px;
  font-size: 18px; line-height: 1.4; font-weight: 400;
  border: 1px solid var(--blue); border-radius: 0;
  color: var(--blue-ink); background: transparent;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn .arrow { color: currentColor; }
.btn:hover { background: var(--blue); color: #fff; }
.btn:hover .arrow { transform: translateX(4px); }
.btn--fill { background: var(--blue); color: #fff; }
.btn--fill:hover { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn--white { border-color: #fff; color: #fff; }
.btn--white:hover { background: #fff; color: var(--navy); }
.btn--sm { font-size: 15px; min-height: 40px; padding: 6px 18px; }
.btn-row { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; }
.btn-row--left { justify-content: flex-start; }
@media (max-width: 767px) { .btn { font-size: 16px; } .btn-row { margin-top: 36px; } }

/* ---------- 7. ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  height: var(--header-h);
  transition: box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
.site-header__inner {
  height: 100%; display: flex; align-items: center; gap: 28px;
  max-width: var(--wrap); margin-inline: auto; padding-inline: 32px;
}
.menu-btn {
  width: 40px; height: 40px; margin-left: -8px; display: grid; place-items: center; flex: none;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--ink); position: relative;
}
.menu-btn span::before { position: absolute; top: -7px; }
.menu-btn span::after { position: absolute; top: 7px; }
.logo { display: inline-flex; flex-direction: column; gap: 3px; flex: none; color: var(--ink); }
.logo__en { font-family: var(--ff-serif); font-weight: 400; font-size: 23px; line-height: 1; letter-spacing: .01em; }
.logo__en i { font-style: normal; color: var(--blue); }
.logo__ja { font-size: 10px; line-height: 1; font-weight: 500; letter-spacing: .16em; color: var(--text); }
.gnav { height: 100%; margin-left: 20px; }
.gnav__list { height: 100%; display: flex; align-items: stretch; gap: 26px; }
.gnav__item { position: relative; display: flex; align-items: stretch; }
.gnav__link {
  position: relative; display: flex; align-items: center; gap: 4px;
  font-size: 14px; font-weight: 300; color: var(--text); white-space: nowrap;
  transition: color .2s linear;
}
.gnav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform var(--dur) var(--ease);
}
.gnav__link:hover { color: var(--blue-ink); }
.gnav__link:hover::after { transform: scaleX(1); }
.gnav__link[aria-current="page"], .gnav__item.is-current > .gnav__link { color: var(--blue-ink); font-weight: 400; }
.gnav__link[aria-current="page"]::after, .gnav__item.is-current > .gnav__link::after { transform: scaleX(1); }
.gnav__caret { width: 9px; height: 6px; }
.gnav__sub {
  position: absolute; top: 100%; left: -20px; min-width: 220px; padding: 12px 0;
  background: #fff; border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s linear, transform var(--dur) var(--ease), visibility 0s linear .2s;
}
.gnav__item:hover .gnav__sub, .gnav__item:focus-within .gnav__sub {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.gnav__sub a { display: block; padding: 10px 20px; font-size: 14px; font-weight: 300; color: var(--text); }
.gnav__sub a:hover, .gnav__sub a[aria-current="page"] { color: var(--blue-ink); background: var(--gray-2); }
.header-util { margin-left: auto; display: flex; align-items: center; gap: 20px; flex: none; }
.header-util__links { display: flex; align-items: center; font-size: 13px; font-weight: 400; color: var(--blue-ink); }
.header-util__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.header-util__links span { width: 1px; height: 12px; background: var(--ink); margin-inline: 10px; }
.header-tel { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.header-tel__num { font-size: 17px; font-weight: 400; color: var(--ink); letter-spacing: .02em; }
.header-tel__time { font-size: 12px; font-weight: 400; color: var(--mute); }
@media (max-width: 1279px) { .header-tel { display: none; } .gnav__list { gap: 20px; } }
@media (max-width: 1023px) {
  .gnav, .header-util__links { display: none; }
  .site-header__inner { padding-inline: var(--gutter); gap: 14px; }
  .header-util .btn { display: inline-flex; }
}
.header-cta { display: none; }
@media (max-width: 1023px) { .header-cta { display: inline-flex; } }
@media (max-width: 767px) {
  .logo__en { font-size: 19px; }
  .logo__ja { font-size: 9px; letter-spacing: .12em; }
  .header-cta { font-size: 13px; min-height: 36px; padding: 4px 12px; }
}

/* ---------- 8. ドロワー（全幅メニュー） ---------- */
.site-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; transition: visibility 0s linear var(--dur); }
.site-drawer.is-open { visibility: visible; transition-delay: 0s; }
.site-drawer__veil { position: absolute; inset: 0; background: rgba(5, 28, 44, .6); opacity: 0; transition: opacity var(--dur) var(--ease); }
.site-drawer.is-open .site-drawer__veil { opacity: 1; }
.site-drawer__panel {
  position: absolute; top: 0; bottom: 0; left: 0; width: min(440px, 100%);
  background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch;
  transform: translateX(-100%); transition: transform var(--dur) var(--ease);
  padding: 20px 32px 48px;
}
.site-drawer.is-open .site-drawer__panel { transform: none; }
.site-drawer__head { display: flex; align-items: center; justify-content: space-between; height: 50px; margin-bottom: 20px; }
.drawer-close { width: 40px; height: 40px; display: grid; place-items: center; margin-right: -8px; }
.drawer-close svg { width: 18px; height: 18px; }
.drawer-nav > li { border-top: 1px solid var(--line); }
.drawer-nav > li:last-child { border-bottom: 1px solid var(--line); }
.drawer-nav a { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-size: 18px; font-weight: 300; color: var(--ink); }
.drawer-nav a[aria-current="page"] { color: var(--blue-ink); }
.drawer-nav a .arrow { color: var(--blue); }
.drawer-nav .drawer-sub { padding: 0 0 12px 16px; margin-top: -6px; }
.drawer-nav .drawer-sub a { padding: 8px 0; font-size: 15px; color: var(--text); }
.drawer-foot { margin-top: 32px; display: grid; gap: 12px; }
.drawer-foot .btn { width: 100%; }
.drawer-foot__tel { margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--text); }
.drawer-foot__tel b { display: block; font-size: 22px; font-weight: 400; color: var(--ink); letter-spacing: .02em; }
body.is-locked { overflow: hidden; }

/* ---------- 9. パンくず ---------- */
.breadcrumb { font-size: 12px; line-height: 1.5; font-weight: 400; color: var(--mute); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li + li::before { content: "/"; margin-inline: 10px; color: var(--line); }
.breadcrumb a:hover { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb [aria-current] { color: var(--ink); }
.on-navy .breadcrumb, .page-hero .breadcrumb { color: rgba(255,255,255,.72); }
.page-hero .breadcrumb li + li::before { color: rgba(255,255,255,.4); }
.page-hero .breadcrumb [aria-current] { color: #fff; }

/* ---------- 10. ヒーロー（左＝濃紺の文字パネル／右＝写真） ---------- */
.split-hero { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; background: var(--navy); color: #fff; }
.split-hero__panel {
  display: flex; flex-direction: column; justify-content: center;
  padding: 56px 64px 72px var(--gutter);
}
.split-hero__inner, .page-hero__inner, .checker__inner { width: 100%; max-width: calc(var(--wrap) / 2 - var(--gutter) - 64px); margin-left: auto; }
.checker__row--rev .checker__inner { margin-left: 0; margin-right: auto; }
.page-hero__inner { display: flex; flex-direction: column; gap: 24px; }
.checker__inner { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 767px) { .page-hero__inner { gap: 16px; } .split-hero__inner, .page-hero__inner, .checker__inner { max-width: none; } }
.split-hero__media { position: relative; overflow: hidden; background: var(--navy-2); }
.split-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .split-hero { min-height: 480px; } .split-hero__panel { padding: 48px 40px 56px var(--gutter); } }
@media (max-width: 767px) {
  .split-hero { grid-template-columns: 1fr; min-height: 0; }
  .split-hero__media { order: -1; aspect-ratio: 4 / 3; }
  .split-hero__panel { padding: 32px var(--gutter) 44px; }
}

/* 下層ページの見出し（同じ分割の型・低め） */
.page-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: 440px; background: var(--navy); color: #fff; }
.page-hero__panel {
  display: flex; flex-direction: column; justify-content: center; gap: 24px;
  padding: 48px 64px 56px var(--gutter);
}
.page-hero__title { font-family: var(--ff-serif); font-weight: 300; font-size: 52px; line-height: 1.2; color: #fff; }
.page-hero__en { font-size: 13px; font-weight: 400; letter-spacing: .12em; color: rgba(255,255,255,.7); margin-top: -8px; }
.page-hero__desc { font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.88); max-width: 520px; }
.page-hero__media { position: relative; overflow: hidden; background: var(--navy-2); }
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 1023px) { .page-hero { min-height: 380px; } .page-hero__title { font-size: 42px; } .page-hero__panel { padding: 40px 32px 48px var(--gutter); } }
@media (max-width: 767px) {
  .page-hero { grid-template-columns: 1fr; min-height: 0; }
  .page-hero__media { order: -1; aspect-ratio: 16 / 9; }
  .page-hero__panel { padding: 24px var(--gutter) 36px; gap: 16px; }
  .page-hero__title { font-size: 32px; }
  .page-hero__desc { font-size: 15px; }
}

/* 写真なしの見出し（お知らせ・お問い合わせ・プライバシー）＝中央のセリフ＋下に黒い1px罫 */
.page-title { padding-top: 40px; }
.page-title .breadcrumb { margin-bottom: 40px; }
.page-title__h { font-family: var(--ff-serif); font-weight: 300; font-size: 44px; line-height: 1.2; color: var(--ink); text-align: center; padding-bottom: 32px; border-bottom: 1px solid var(--ink); }
@media (max-width: 767px) { .page-title { padding-top: 20px; } .page-title .breadcrumb { margin-bottom: 28px; } .page-title__h { font-size: 30px; padding-bottom: 24px; } }

/* ---------- 11. カード ---------- */
.card-grid { display: grid; gap: 48px 32px; }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 32px; }
@media (max-width: 1023px) { .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .card-grid--4, .card-grid--3, .card-grid--2 { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

.card { display: flex; flex-direction: column; color: var(--ink); }
.card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--gray-3); margin-bottom: 20px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur) var(--ease); }
a.card:hover .card__media img, .card a:hover .card__media img { transform: scale(1.04); }
.card__cat { font-size: 12px; line-height: 1.33; font-weight: 400; color: var(--ink); margin-bottom: 6px; }
.card__title { font-size: 24px; line-height: 1.25; font-weight: 500; color: var(--ink); }
.card__title .chev { display: inline-block; width: 9px; height: 14px; margin-left: 8px; color: var(--blue); vertical-align: -1px; transition: transform var(--dur) var(--ease); }
a.card:hover .card__title .chev { transform: translateX(3px); }
a.card:hover .card__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.card__meta { margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--text); }
.card__meta time, .card__date { font-style: italic; }
.card__text { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--text); }
.card__link { margin-top: 16px; }
.card-grid--2 .card__title { font-size: 24px; }
.card-grid--2 .card__text { font-size: 16px; }
@media (max-width: 767px) { .card__title { font-size: 20px; } .card__text, .card__meta { font-size: 15px; } }

/* 事例の数字（A3：会社数字と同じ書式を小さく） */
.kpi { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.kpi__label { width: 100%; font-size: 13px; font-weight: 400; color: var(--mute); }
.kpi__before { font-family: var(--ff-serif); font-size: 22px; font-weight: 300; color: var(--mute); }
.kpi__to { width: 16px; height: 10px; color: var(--blue); align-self: center; }
.kpi__after { font-family: var(--ff-serif); font-size: 30px; font-weight: 300; color: var(--blue); line-height: 1.1; }

/* ---------- 12. 市松（濃紺パネル＋写真） ---------- */
.checker__row { display: grid; grid-template-columns: 1fr 1fr; }
.checker__panel {
  background: var(--navy); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 20px;
  padding: 64px 64px 72px var(--gutter);
  min-height: 420px;
}
.checker__row--rev .checker__panel { order: 2; padding: 64px var(--gutter) 72px 64px; }
.checker__media { position: relative; overflow: hidden; min-height: 420px; background: var(--navy-2); }
.checker__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.checker__row:hover .checker__media img { transform: scale(1.03); }
.checker__cat { font-size: 12px; font-weight: 400; color: rgba(255,255,255,.8); }
.checker__title { font-family: var(--ff-serif); font-weight: 300; font-size: 44px; line-height: 1.2; color: #fff; }
.checker__text { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,.9); max-width: 480px; }
@media (max-width: 1023px) { .checker__title { font-size: 34px; } .checker__panel, .checker__media { min-height: 360px; } .checker__panel, .checker__row--rev .checker__panel { padding: 48px 40px 56px var(--gutter); } .checker__row--rev .checker__panel { padding: 48px var(--gutter) 56px 40px; } }
@media (max-width: 767px) {
  .checker__row { grid-template-columns: 1fr; }
  .checker__media { order: -1 !important; min-height: 0; aspect-ratio: 16 / 10; }
  .checker__panel, .checker__row--rev .checker__panel { order: 0; min-height: 0; padding: 32px var(--gutter) 44px; }
  .checker__title { font-size: 28px; }
}

/* ---------- 13. 数字（会社数字：72px serif blue／縦罫で区切る） ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat { text-align: center; padding: 24px 20px 28px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat__num { font-family: var(--ff-serif); font-weight: 300; font-size: 72px; line-height: 1.2; color: var(--blue); letter-spacing: -.01em; }
.stat__num small { font-size: .42em; margin-left: 4px; letter-spacing: 0; }
.stat__label { margin-top: 8px; font-size: 15px; line-height: 1.6; font-weight: 400; color: var(--text); }
.stat__note { margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--mute); }
@media (max-width: 1023px) { .stat__num { font-size: 56px; } }
@media (max-width: 767px) {
  .stats, .stats--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat { padding: 20px 8px 24px; }
  .stat + .stat { border-left: 0; }
  .stat:nth-child(even) { border-left: 1px solid var(--line); }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .stats--3 .stat:nth-child(3) { grid-column: 1 / -1; border-left: 0; }
  .stat__num { font-size: 44px; }
  .stat__label { font-size: 13px; }
}

/* ---------- 14. 罫の一覧（A1：お知らせ） ---------- */
.rule-list { border-bottom: 1px solid var(--line); }
.rule-list__item { border-top: 1px solid var(--line); }
.rule-list__link { display: grid; grid-template-columns: 120px 120px 1fr 24px; gap: 24px; align-items: baseline; padding: 22px 0; }
.rule-list__date { font-size: 15px; font-weight: 400; color: var(--mute); font-variant-numeric: tabular-nums; }
.rule-list__cat { font-size: 12px; font-weight: 400; color: var(--ink); border: 1px solid var(--line); padding: 2px 8px; justify-self: start; white-space: nowrap; }
.rule-list__title { font-size: 17px; line-height: 1.6; font-weight: 400; color: var(--ink); }
.rule-list__go { color: var(--blue); width: 14px; height: 10px; align-self: center; transition: transform var(--dur) var(--ease); }
a.rule-list__link:hover .rule-list__title { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 4px; }
a.rule-list__link:hover .rule-list__go { transform: translateX(4px); }
div.rule-list__link .rule-list__go { visibility: hidden; }
@media (max-width: 767px) {
  .rule-list__link { grid-template-columns: auto 1fr; gap: 8px 12px; padding: 18px 0; }
  .rule-list__title { grid-column: 1 / -1; font-size: 15px; }
  .rule-list__go { display: none; }
}

/* ---------- 15. 次の一歩（A2：灰帯の中に3つの行き先を罫で並べる） ---------- */
.next-steps { background: var(--gray-1); padding-block: 80px 88px; }
.next-steps__head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: 40px; }
.next-steps__title { font-family: var(--ff-serif); font-weight: 300; font-size: 36px; line-height: 1.25; color: var(--ink); text-wrap: balance; }
.next-steps__tel { text-align: right; }
.next-steps__tel b { display: block; font-size: 26px; font-weight: 400; color: var(--ink); letter-spacing: .02em; }
.next-steps__tel span { font-size: 13px; font-weight: 400; color: var(--mute); }
.next-steps__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.next-step { display: flex; flex-direction: column; gap: 12px; padding: 28px 32px 8px 0; }
.next-step + .next-step { border-left: 1px solid var(--line); padding-left: 32px; }
.next-step__title { font-size: 20px; line-height: 1.4; font-weight: 500; color: var(--ink); }
.next-step__text { font-size: 15px; line-height: 1.7; color: var(--text); flex: 1; }
.next-step .btn { align-self: flex-start; margin-top: 8px; }
@media (max-width: 1023px) { .next-steps__title { font-size: 30px; } }
@media (max-width: 767px) {
  .next-steps { padding-block: 56px 64px; }
  .next-steps__head { grid-template-columns: 1fr; }
  .next-steps__tel { text-align: left; }
  .next-steps__title { font-size: 26px; }
  .next-steps__grid { grid-template-columns: 1fr; }
  .next-step, .next-step + .next-step { padding: 24px 0; border-left: 0; }
  .next-step + .next-step { border-top: 1px solid var(--line); }
  .next-step .btn { width: 100%; }
}

/* ---------- 16. 人物カード（灰の地に白い面・写真は丸） ---------- */
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--gray-1); }
.person { background: #fff; text-align: center; padding: 40px 28px 36px; display: flex; flex-direction: column; align-items: center; }
.person__img { width: 168px; height: 168px; border-radius: 50%; overflow: hidden; background: var(--gray-3); margin-bottom: 20px; }
.person__img img { width: 100%; height: 100%; object-fit: cover; }
.person__name { font-family: var(--ff-serif); font-size: 24px; line-height: 1.3; font-weight: 500; color: var(--ink); letter-spacing: .08em; }
.person__kana { margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--mute); letter-spacing: .06em; }
.person__role { margin-top: 10px; font-size: 13px; line-height: 1.5; font-weight: 500; color: var(--ink); }
.person__text { margin-top: 14px; font-size: 14px; line-height: 1.75; font-weight: 300; color: var(--text); text-align: left; }
@media (max-width: 1023px) { .people { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .people { grid-template-columns: 1fr; } .person { padding: 32px 20px; } .person__img { width: 132px; height: 132px; } }

/* ---------- 17. 表 ---------- */
.spec { width: 100%; border-top: 1px solid var(--ink); }
.spec th, .spec td { text-align: left; vertical-align: top; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.75; }
.spec th { width: 220px; padding-right: 24px; font-weight: 500; color: var(--ink); }
.spec td { font-weight: 300; color: var(--text); }
@media (max-width: 767px) {
  .spec th, .spec td { display: block; width: auto; padding: 0; border: 0; font-size: 15px; }
  .spec tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .spec th { margin-bottom: 4px; font-size: 14px; }
}
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll:focus-visible { outline-offset: 0; }

/* ---------- 18. タブ ---------- */
.tabs { display: flex; justify-content: center; gap: 0; border-bottom: 1px solid var(--ink); flex-wrap: wrap; }
.tab {
  padding: 14px 20px; font-size: 15px; font-weight: 400; color: var(--ink); background: transparent;
  transition: background-color .2s linear, color .2s linear;
}
.tab:hover { color: var(--blue-ink); }
.tab[aria-selected="true"], .tab[aria-pressed="true"] { background: var(--gray-1); font-weight: 500; }
@media (max-width: 767px) { .tabs { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; } .tab { flex: none; padding: 12px 14px; font-size: 14px; } }

/* ---------- 19. 入力欄（1px の黒罫・角0） ---------- */
.field { display: grid; gap: 8px; }
.field__label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field__req { color: var(--blue-ink); margin-left: 2px; }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--ink); border-radius: 0;
  background: #fff; font-size: 16px; font-weight: 400; color: var(--ink);
  -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 180px; resize: vertical; line-height: 1.7; }
.select {
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.input:focus, .select:focus, .textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--error); }
.field__error { font-size: 13px; font-weight: 400; color: var(--error); }

/* ---------- 20. フッター（白地） ---------- */
.site-footer { background: #fff; border-top: 1px solid var(--line); padding-top: 64px; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr); gap: 48px; padding-bottom: 48px; }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand address { font-size: 13px; line-height: 1.85; font-weight: 400; color: var(--text); }
.footer-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-nav__h { font-size: 13px; font-weight: 500; color: var(--ink); margin-bottom: 12px; }
.footer-nav__h a:hover { color: var(--blue-ink); }
.footer-nav li + li { margin-top: 8px; }
.footer-nav li a { font-size: 13px; font-weight: 400; color: var(--text); }
.footer-nav li a:hover { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 24px 32px; border-top: 1px solid var(--line); }
.sns { display: flex; gap: 12px; }
.sns a { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; transition: background-color var(--dur) var(--ease); }
.sns a:hover { background: var(--blue); }
.sns svg { width: 15px; height: 15px; fill: #fff; }
.footer-legal { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 12px; font-weight: 400; color: var(--mute); }
.footer-legal a:hover { color: var(--blue-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal small { font-size: 12px; }
.footer-credit { color: var(--mute); }
@media (max-width: 1279px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 767px) {
  .site-footer { padding-top: 44px; }
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- 21. 出現（控えめな1種類だけ） ---------- */
html.js .rv { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
html.js .rv.is-in { opacity: 1; transform: none; }
html.js .rv-d1 { transition-delay: .08s; }
html.js .rv-d2 { transition-delay: .16s; }
html.js .rv-d3 { transition-delay: .24s; }
html.shot .rv, html.shot .rv.is-in { opacity: 1 !important; transform: none !important; transition: none !important; }
html.shot .site-header { position: relative; }

/* ---------- 22. 小物 ---------- */
.u-center { text-align: center; }
.u-mt-8 { margin-top: 8px; } .u-mt-16 { margin-top: 16px; } .u-mt-24 { margin-top: 24px; } .u-mt-32 { margin-top: 32px; }
.u-mt-40 { margin-top: 40px; } .u-mt-48 { margin-top: 48px; } .u-mt-64 { margin-top: 64px; }
.u-mb-24 { margin-bottom: 24px; } .u-mb-40 { margin-bottom: 40px; } .u-mb-48 { margin-bottom: 48px; }
.sec-head { margin-bottom: 48px; }
.sec-head .lead { margin-top: 20px; }
@media (max-width: 767px) { .sec-head { margin-bottom: 32px; } }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.tag { display: inline-block; font-size: 12px; font-weight: 400; line-height: 1.5; padding: 2px 10px; border: 1px solid var(--line); color: var(--ink); background: #fff; }
.tag--blue { border-color: var(--blue); color: var(--blue-ink); }

/* ---------- 23. 拠点（タブ＋濃紺カード＋簡略地図）＝TOP と会社概要で共用 ---------- */
.offices .tabs { justify-content: center; margin-bottom: 0; }
.office { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); min-height: 380px; }
.office__card { background: var(--navy); color: #fff; padding: 40px 40px 44px; display: flex; flex-direction: column; gap: 16px; }
.office__name { font-size: 28px; line-height: 1.3; font-weight: 500; color: #fff; }
.office__addr { font-size: 15px; line-height: 1.8; font-weight: 300; color: rgba(255,255,255,.92); }
.office__meta { font-size: 14px; line-height: 1.8; font-weight: 300; color: rgba(255,255,255,.85); }
.office__card .link-arrow { margin-top: auto; }
.office__map { background: #E9ECEF; position: relative; overflow: hidden; }
.office__map svg { width: 100%; height: 100%; }
@media (max-width: 1023px) {
  .office { grid-template-columns: 1fr; }
  .office__map { aspect-ratio: 16 / 9; }
}
@media (max-width: 767px) {
  .office { grid-template-columns: 1fr; }
  .office__card { padding: 28px 24px 32px; }
  .office__name { font-size: 22px; }
  .office__map { aspect-ratio: 4 / 3; }
}
