@charset "UTF-8";
/* =========================================================
   CoreBank 古物事業部  style.css
   基準: Figma NEW-HP (1920px) 実測値 / コーディング仕様書 v1.1
   ========================================================= */

/* ---------- 1. tokens ---------- */
:root {
  --ink: #070400;
  --text: #1a1a1a;
  --navy: #012f4e;
  --gold: #897658;
  --navy-80: rgba(1, 47, 78, .8);
  --gold-80: rgba(137, 118, 88, .8);
  --bg-light: #f5f5f5;
  --bg-card: #eeeeee;
  --white: #ffffff;
  --muted: #666666;
  --line: #cccccc;
  --line-form: #999999;
  --line-w50: rgba(255, 255, 255, .5);

  --font-jp: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --font-en: "EB Garamond", Georgia, serif;

  --content: 1200px;
  --band: 1800px;

  --fs-h1: clamp(2.75rem, 1rem + 4.7vw, 6.25rem);         /* 100px */
  --fs-page-title: clamp(2rem, 1.2rem + 2.5vw, 3.75rem);  /* 60px */
  --fs-h2: clamp(1.65rem, 1.2rem + 1.4vw, 2.5rem);        /* 40px */
  --fs-h3: clamp(1.375rem, 1.1rem + .9vw, 1.875rem);      /* 30px */
  --fs-body: clamp(0.9375rem, .9rem + .2vw, 1.125rem);    /* 18px */
  --fs-label: clamp(1.375rem, .75rem + 1.46vw, 2.5rem);   /* 40px */
  --fs-cta-en: clamp(1.5rem, 1.1rem + 1vw, 2.375rem);     /* 38px */

  --sec-pad: clamp(88px, 10.4vw, 200px);                  /* 200px */
  --sec-pad-s: clamp(56px, 5.2vw, 100px);                 /* 100px */
}

/* ---------- 2. reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  background-color: var(--ink); /* iOSオーバースクロール時に白帯を見せない */
}
body {
  margin: 0;
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: var(--fs-body);
  line-height: 2.1;
  color: var(--text);
  background: var(--white);
  overflow-wrap: anywhere;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: inherit; text-decoration: none; }
a, button { touch-action: manipulation; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
strong { font-weight: 500; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
::selection { background: var(--navy); color: var(--white); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- 3. utilities ---------- */
.l-container {
  width: min(100% - 80px, var(--content));
  margin-inline: auto;
}
.l-band {
  width: min(100% - 120px, var(--band));
  margin-inline: auto;
}
.en { font-family: var(--font-en); font-weight: 400; }
.ta-c { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.br-sp { display: none; } /* SPのみ有効な改行(767px以下でinline化) */

/* 見出しセット: 英字ラベル + 見出し */
.sec-head__label {
  display: block;
  font-family: var(--font-en);
  font-size: var(--fs-label);
  font-weight: 400;
  line-height: 1;
  color: var(--gold);
  letter-spacing: .04em;
}
.sec-head__title {
  margin-top: 28px;
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.5;
}
.sec-head--center { text-align: center; }
.sec-head--white .sec-head__title { color: var(--white); }
.sec-head--white-label .sec-head__label { color: var(--white); }

/* 画像フェザリング(グラデーション溶け込み) 共通 */
.feather { position: relative; overflow: hidden; }
.feather > img {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
}
.feather::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background: var(--fx);
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 260px;
  min-height: 60px;
  padding: 10px 28px;
  background: var(--navy);
  color: var(--white);
  font-size: 1.125rem;
  line-height: 1.45;
  transition: background-color .3s ease;
}
.btn:hover { background: #0a4066; }
.btn svg { width: 22px; height: 20px; fill: currentColor; flex-shrink: 0; }
.btn--gold { background: var(--gold); }
.btn--gold:hover { background: #9a865f; }
.btn--ghost { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.btn--ghost:hover { background: #eef3f7; }

/* スクロール出現 */
.reveal { opacity: 0; translate: 0 24px; transition: opacity .8s ease, translate .8s ease; }
.reveal.is-inview { opacity: 1; translate: 0 0; }
.no-js .reveal { opacity: 1; translate: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; }
}

/* ---------- 4. header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 130; /* SPメニュー(110)より上: 開いた状態でも閉じるボタンが操作可能 */
  transition: background-color .35s ease;
}
.site-header.is-scrolled { background: rgba(7, 4, 0, .94); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 19px min(60px, 4vw);
}
.site-header__logo img { width: clamp(160px, 11.5vw, 220px); height: auto; }
.gnav__list {
  display: flex;
  gap: clamp(20px, 2.3vw, 44px);
}
.gnav__list a {
  font-family: var(--font-en);
  font-size: 1.125rem;
  line-height: 1;
  color: var(--white);
  padding: 8px 2px;
  position: relative;
}
.gnav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right .3s ease;
}
.gnav__list a:hover::after,
.gnav__list a[aria-current]::after { right: 0; }

/* SPメニュー */
.menu-toggle { display: none; }
.sp-menu { display: none; }

/* ---------- 5. 下層ページタイトル帯 ---------- */
.page-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  min-height: clamp(240px, 20.8vw, 400px);
  padding: 96px 20px 24px;
  background: var(--ink);
  color: var(--white);
}
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-en);
  font-size: 1.125rem;
  line-height: 1;
  color: var(--gold);
}
.breadcrumb svg { width: 8px; height: 14px; fill: var(--gold); }
.breadcrumb a { display: inline-block; padding: 8px 4px; margin: -8px -4px; transition: opacity .3s; }
.breadcrumb a:hover { opacity: .7; }
.page-hero__title {
  font-size: var(--fs-page-title);
  font-weight: 500;
  line-height: 1.2;
}

/* =========================================================
   6. トップページ
   ========================================================= */

/* ---- hero ---- */
.hero {
  position: relative;
  height: clamp(600px, 50.6vw, 972px);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}
.hero__img {
  position: absolute;
  top: 5.5%; right: 0; bottom: 5.5%;
  width: 79.8%;
  height: 89%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(to left, var(--ink) 0%, rgba(7, 4, 0, 0) 50%, var(--ink) 78%),
    linear-gradient(to top, var(--ink) 8%, rgba(7, 4, 0, 0) 15%, rgba(7, 4, 0, 0) 85%, var(--ink) 92%);
}
.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(140px, 11.7vw, 225px);
}
.hero__title {
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.3;
}
.hero__copy {
  margin-top: clamp(24px, 2.1vw, 40px);
  font-size: clamp(1rem, .9rem + .35vw, 1.25rem);
  line-height: 2.1;
}
.hero__panels {
  position: absolute;
  z-index: 2;
  bottom: 4.1%;
  left: 50%;
  translate: -50% 0;
  width: min(100% - 80px, var(--content));
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
/* ヒーロー初回シーケンス */
.js .hero__title, .js .hero__copy, .js .hero__panels {
  opacity: 0; translate: 0 16px;
  transition: opacity .9s ease, translate .9s ease;
}
.js .hero__panels { translate: -50% 16px; }
.js .is-loaded .hero__title { opacity: 1; translate: 0 0; }
.js .is-loaded .hero__copy { opacity: 1; translate: 0 0; transition-delay: .18s; }
.js .is-loaded .hero__panels { opacity: 1; translate: -50% 0; transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .js .hero__title, .js .hero__copy { opacity: 1; translate: none; }
  .js .hero__panels { opacity: 1; translate: -50% 0; }
}

/* ヒーロー内CTAパネル */
.cta-panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100px;
  padding-inline: 30px;
  overflow: hidden;
  transition: filter .3s ease;
}
.cta-panel:hover { filter: brightness(1.12); }
.cta-panel--navy { background: var(--navy); }
.cta-panel--gold { background: var(--gold); }
.cta-panel__icon { width: 32px; height: 28px; fill: var(--white); flex-shrink: 0; }
.cta-panel__icon--envelope { width: 28px; height: 21px; }
.cta-panel__text { position: relative; z-index: 2; display: block; line-height: 1; }
.cta-panel__jp { display: block; font-size: 1.125rem; }
.cta-panel__en { display: block; margin-top: 10px; font-family: var(--font-en); font-size: 1.625rem; }
.cta-panel__img {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 200px;
}
.cta-panel__img img { width: 100%; height: 100%; object-fit: cover; }
.cta-panel__img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to left, transparent 0%, var(--pbg) 100%);
}
.cta-panel--navy .cta-panel__img::after { --pbg: var(--navy); }
.cta-panel--gold .cta-panel__img::after { --pbg: var(--gold); }

/* ---- MESSAGE ---- */
.message { position: relative; }
.message__bg {
  position: absolute; inset: 0;
  --fx: linear-gradient(to left, rgba(255, 255, 255, .5) 0%, var(--white) 100%);
}
.message__inner {
  position: relative;
  z-index: 2;
  padding-block: var(--sec-pad);
}
.message__body { margin-top: clamp(28px, 2.4vw, 44px); max-width: 790px; }

/* ---- SERVICE ---- */
.service { background: var(--ink); color: var(--white); padding-bottom: var(--sec-pad); }
.service__intro { position: relative; min-height: clamp(320px, 34.4vw, 660px); }
.service__img {
  position: absolute;
  top: 0; left: 0;
  width: 62.5%; height: 100%;
  --fbg: var(--ink);
  --fx: linear-gradient(to left, var(--fbg) 0%, rgba(7, 4, 0, 0) 50%, var(--fbg) 100%),
        linear-gradient(to top, var(--fbg) 0%, rgba(7, 4, 0, 0) 50%);
}
.service__intro-text {
  position: relative;
  z-index: 2;
  margin-left: 46%;
  padding-block: var(--sec-pad) clamp(40px, 4vw, 80px);
}
.service__lead { margin-top: clamp(24px, 1.6vw, 30px); max-width: 640px; }
.service-card {
  position: relative;
  min-height: 300px;
  background: var(--bg-card);
  color: var(--text);
}
.service-card + .service-card { margin-top: 1px; }
.service-card__body {
  position: relative;
  z-index: 2;
  padding: clamp(32px, 3.1vw, 60px) 26% clamp(32px, 3.1vw, 60px) clamp(26px, 2.7vw, 52px);
}
.service-card__tag {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--gold);
  line-height: 1;
}
.service-card__num { font-family: var(--font-en); font-size: 1.375rem; }
.service-card__label { font-size: 1.125rem; font-weight: 400; }
.service-card__title {
  margin-top: clamp(20px, 1.7vw, 32px);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.35;
}
.service-card__text { margin-top: clamp(16px, 1.6vw, 30px); }
.service-card__img {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 38.3%;
  --fbg: var(--bg-card);
  --fx: linear-gradient(to left, transparent 0%, var(--fbg) 100%);
}

/* ---- RECRUIT誘導帯 ---- */
.recruit-band {
  position: relative;
  background: var(--bg-light);
  min-height: clamp(380px, 41vw, 788px);
  margin-bottom: clamp(32px, 3.1vw, 60px);
}
.recruit-band__img {
  position: absolute;
  top: 0; left: 0;
  width: 62.5%; height: 100%;
  --fbg: var(--bg-light);
  --fx: linear-gradient(to left, var(--fbg) 0%, rgba(245, 245, 245, 0) 75%, var(--fbg) 100%),
        linear-gradient(to top, var(--fbg) 0%, rgba(245, 245, 245, 0) 50%);
}
.recruit-band__text {
  position: relative;
  z-index: 2;
  margin-left: 43%;
  padding-block: var(--sec-pad) clamp(48px, 5.2vw, 100px);
}
.recruit-band__body { margin-top: clamp(28px, 2.4vw, 46px); max-width: 660px; }
.recruit-band__btn { margin-top: clamp(28px, 2.4vw, 46px); }

/* ---- COMPANY ---- */
.company { margin-bottom: var(--sec-pad-s); }
.company__bg { height: clamp(320px, 41.7vw, 800px); }
.company__bg img { width: 100%; height: 100%; object-fit: cover; }
.company-card {
  position: relative;
  z-index: 2;
  width: min(600px, 100%);
  margin-top: calc(-1 * clamp(160px, 17.9vw, 344px));
  padding: clamp(32px, 3.1vw, 60px) clamp(22px, 2.7vw, 52px);
  background: var(--white);
  box-shadow: 10px 10px 20px rgba(0, 0, 0, .1);
}
.company-card__img {
  position: absolute;
  top: 0; right: 0;
  width: 57.3%;
  aspect-ratio: 344 / 203;
  --fx: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, var(--white) 100%),
        linear-gradient(to left, rgba(255, 255, 255, 0) 0%, var(--white) 100%);
}
.company-card__body { position: relative; z-index: 2; margin-top: clamp(20px, 1.6vw, 30px); }

/* ---- GREETING ---- */
.greeting { padding-block: var(--sec-pad-s) 0; margin-bottom: clamp(48px, 4.7vw, 90px); }
.greeting__grid {
  display: grid;
  grid-template-columns: minmax(0, 500px) 1fr;
  gap: clamp(32px, 4.6vw, 88px);
  align-items: start;
}
.greeting__photo { aspect-ratio: 500 / 371; }
.greeting__photo img { width: 100%; height: 100%; object-fit: cover; }
.greeting__motto { margin-top: clamp(24px, 2.1vw, 40px); color: var(--gold); font-weight: 500; }
.greeting__motto-main { font-size: var(--fs-h3); line-height: 1.4; }
.greeting__motto-sub { margin-top: 16px; font-size: clamp(1.05rem, 1rem + .35vw, 1.375rem); line-height: 1.4; }
.greeting__body { margin-top: clamp(24px, 2.1vw, 40px); max-width: 640px; }
.greeting__sign { margin-top: clamp(24px, 2.1vw, 40px); text-align: right; max-width: 640px; }

/* ---- STORE ---- */
.store { background: var(--gold); color: var(--white); }
.store .l-band > .l-store-inner { padding: 0; }
.store-band { padding-block: var(--sec-pad-s); }
.store__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: clamp(28px, 2.4vw, 46px);
}
.store-card__photo { aspect-ratio: 380 / 200; }
.store-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.store-card__name { margin-top: 12px; font-size: 1.125rem; font-weight: 400; line-height: 2.1; }
.store-card__addr { font-size: clamp(.875rem, .85rem + .1vw, 1rem); line-height: 1.75; }
.store-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(12px, 2vw, 30px);
  padding-top: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-w50);
  font-size: 1.125rem;
  line-height: 1;
  transition: opacity .3s ease;
}
.store-card__link:hover { opacity: .7; }
.store-card__link svg { width: 8px; height: 14px; fill: currentColor; }

/* ---- ABOUT 会社概要 ---- */
.about { padding-top: var(--sec-pad-s); margin-bottom: var(--sec-pad); }
.about__card {
  background: var(--bg-light);
  padding: var(--sec-pad-s) clamp(24px, 5.2vw, 100px);
}
.about__table { margin-top: clamp(32px, 3.1vw, 60px); }
.about__row {
  display: grid;
  grid-template-columns: 191px 1fr;
  padding-block: 29px;
  border-bottom: 1px solid var(--line);
}
.about__row:last-child { border-bottom: 0; }
.about__row dt { font-weight: 500; line-height: 1.6; }
.about__row dd { line-height: 1.6; }
.about__row a { display: inline-block; padding-block: 6px; margin-block: -6px; }
.about__row a:hover { color: var(--gold); }

/* =========================================================
   7. 採用ページ
   ========================================================= */
.purpose {
  position: relative;
  background: var(--bg-light);
  overflow: hidden;
}
.purpose__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .1;
}
.purpose__inner {
  position: relative;
  z-index: 2;
  padding-block: var(--sec-pad);
  text-align: center;
}
.purpose__title {
  margin-top: clamp(20px, 1.6vw, 30px);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.5;
}
.purpose__lead { margin-top: clamp(24px, 2.1vw, 40px); }
.purpose__statement {
  display: inline-block;
  margin-top: clamp(24px, 2.1vw, 40px);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--gold);
  color: var(--gold);
  font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem);
  line-height: 1.6;
}

.r-dark { background: var(--ink); color: var(--white); }

.whatwedo { position: relative; min-height: clamp(360px, 40.7vw, 782px); }
.whatwedo__img {
  position: absolute;
  top: 0; left: 0;
  width: 62.5%; height: 100%;
  --fbg: var(--ink);
  --fx: linear-gradient(to left, var(--fbg) 0%, rgba(7, 4, 0, 0) 50%, var(--fbg) 100%),
        linear-gradient(to top, var(--fbg) 0%, rgba(7, 4, 0, 0) 50%);
}
.whatwedo__text {
  position: relative;
  z-index: 2;
  margin-left: 46%;
  padding-block: var(--sec-pad) clamp(40px, 4vw, 80px);
}
.whatwedo__lead { margin-top: clamp(20px, 1.6vw, 30px); }
.check-panel {
  margin-top: 28px;
  max-width: 648px;
  padding: clamp(16px, 1.3vw, 24px) clamp(18px, 1.5vw, 28px);
  background: var(--navy-80);
}
.check-panel li {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.check-panel svg { width: 16px; height: 16px; fill: var(--white); flex-shrink: 0; translate: 0 2px; }
.whatwedo__close { margin-top: clamp(16px, 1.1vw, 20px); max-width: 660px; }

.work { padding-top: clamp(40px, 3.3vw, 64px); padding-bottom: 0; }
.work__lead { margin-top: clamp(20px, 1.6vw, 30px); text-align: center; }
.work-panel {
  margin-top: clamp(32px, 3.1vw, 60px);
  padding: clamp(28px, 2.6vw, 50px) clamp(24px, 2.9vw, 56px);
  background: var(--navy-80);
}
.work-panel__item + .work-panel__item {
  margin-top: clamp(24px, 2.1vw, 40px);
  padding-top: clamp(24px, 2.1vw, 40px);
  border-top: 1px solid var(--line-w50);
}
.work-panel__head {
  display: flex;
  align-items: baseline;
  gap: 25px;
  line-height: 1;
}
.work-panel__num { font-family: var(--font-en); font-weight: 500; font-size: 1.625rem; }
.work-panel__title { font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); font-weight: 500; }
.work-panel__text { margin-top: clamp(14px, 1.4vw, 26px); }

.strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.strip::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, var(--ink) 0%, rgba(7, 4, 0, 0) 100%);
}
.strip img { width: 100%; height: 100%; aspect-ratio: 640 / 350; object-fit: cover; }

.culture {
  position: relative;
  background: var(--bg-light);
  overflow: hidden;
}
.culture__inner {
  position: relative;
  z-index: 2;
  padding-block: var(--sec-pad);
}
.culture__body { margin-top: clamp(24px, 2.1vw, 40px); max-width: 720px; }
.culture__body--follow { margin-top: 2.1em; }
.culture__img {
  position: absolute;
  right: 0; bottom: 0;
  width: 50.8%;
  aspect-ratio: 976 / 675;
  --fbg: var(--bg-light);
  --fx: linear-gradient(to bottom, var(--fbg) 0%, rgba(245, 245, 245, 0) 100%),
        linear-gradient(to right, var(--fbg) 0%, rgba(245, 245, 245, 0) 100%);
}

.r-message { padding-block: var(--sec-pad); text-align: center; }
.r-message__body { margin-top: clamp(24px, 2.1vw, 40px); }
.r-message__sign { margin-top: clamp(24px, 2.1vw, 40px); }

.entry { margin-bottom: var(--sec-pad); }
.entry__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 1.3vw, 26px);
  min-height: clamp(280px, 22.9vw, 440px);
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
  text-align: center;
}
.entry__img {
  position: absolute;
  top: 0; bottom: 0;
  width: 50%;
  object-fit: cover;
  height: 100%;
}
.entry__img--l { left: 0; }
.entry__img--r { right: 0; }
.entry__link::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(7, 4, 0, 0) 0%, var(--ink) 50%, rgba(7, 4, 0, 0) 100%);
}
.entry__en, .entry__text, .entry__icon { position: relative; z-index: 2; }
.entry__en { font-family: var(--font-en); font-size: var(--fs-cta-en); line-height: 1; }
.entry__text { line-height: 1.6; }
.entry__icon { width: 28px; height: 28px; fill: var(--white); transition: translate .3s ease; }
.entry__link:hover .entry__icon { translate: 6px 0; }

/* ---------- プライバシーポリシー ---------- */
.policy {
  max-width: 880px;
  padding-block: var(--sec-pad-s) var(--sec-pad);
  line-height: 2;
}
.policy section { margin-top: clamp(36px, 3.1vw, 60px); }
.policy h2 {
  font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  font-weight: 500;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.policy p { margin-top: 16px; }
.policy ol {
  margin-top: 16px;
  padding-left: 1.6em;
  list-style: decimal;
}
.policy a { color: var(--gold); text-decoration: underline; text-underline-offset: 4px; }
.policy__date { margin-top: clamp(40px, 3.6vw, 64px); text-align: right; color: var(--muted); }

/* =========================================================
   8. プレフッターCTA / フッター
   ========================================================= */
.cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.cta__panel {
  position: relative;
  display: block;
  min-height: clamp(220px, 17.9vw, 344px);
  overflow: hidden;
  color: var(--white);
}
.cta__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.cta__overlay { position: absolute; inset: 0; transition: opacity .3s ease; }
.cta__panel--recruit .cta__overlay { background: var(--navy-80); }
.cta__panel--contact .cta__overlay { background: var(--gold-80); }
.cta__panel:hover .cta__overlay { opacity: .88; }
.cta__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 1.5vw, 28px);
  min-height: inherit;
  padding: 32px 20px;
  text-align: center;
}
.cta__icon { width: 32px; height: 28px; fill: var(--white); }
.cta__icon--envelope { width: 28px; height: 21px; }
.cta__jp { font-size: 1.125rem; line-height: 1; }
.cta__en { font-family: var(--font-en); font-size: var(--fs-cta-en); line-height: 1; }

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: clamp(56px, 5.2vw, 100px) 0;
}
.site-footer__inner {
  width: min(100% - 80px, var(--content));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 24px;
}
.site-footer__logo img { width: clamp(170px, 11.5vw, 220px); }
.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 38px;
  font-family: var(--font-en);
  font-size: 1rem;
  line-height: 1;
}
.site-footer__nav a {
  display: inline-block;
  padding: 12px 6px;
  margin: -12px -6px;
  transition: color .3s;
}
.site-footer__nav a:hover { color: var(--gold); }
.site-footer__copy { text-align: center; font-size: .875rem; line-height: 1; }
.site-footer__copy small { font-size: inherit; }
.site-footer__pagetop {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  font-family: var(--font-en);
  font-size: 1.125rem;
  line-height: 1;
  transition: color .3s;
}
.site-footer__pagetop:hover { color: var(--gold); }
.site-footer__pagetop svg { width: 16px; height: 9px; fill: currentColor; }

/* =========================================================
   9. レスポンシブ
   ========================================================= */
@media (max-width: 1024px) {
  .l-band { width: min(100% - 48px, var(--band)); }
  .hero__panels { gap: 20px; }
  .cta-panel { padding-inline: 20px; gap: 14px; }
  .cta-panel__jp { font-size: 1rem; }
  .cta-panel__img { width: 120px; }
  .service__intro-text, .whatwedo__text, .recruit-band__text { margin-left: 42%; }
  .service__img, .whatwedo__img, .recruit-band__img { width: 58%; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 76px; }
  .l-container { width: min(100% - 40px, var(--content)); }
  .l-band { width: 100%; }

  /* header / menu */
  .site-header { background: rgba(7, 4, 0, .94); }
  .site-header__inner { padding: 14px 20px; }
  .gnav { display: none; }
  .menu-toggle {
    display: grid;
    place-content: center;
    gap: 8px;
    width: 44px; height: 44px;
    position: relative;
    z-index: 120;
  }
  .menu-toggle__bar {
    display: block;
    width: 26px; height: 1px;
    background: var(--white);
    transition: translate .3s ease, rotate .3s ease;
  }
  .is-menu-open .menu-toggle__bar:nth-child(1) { translate: 0 4.5px; rotate: 20deg; }
  .is-menu-open .menu-toggle__bar:nth-child(2) { translate: 0 -4.5px; rotate: -20deg; }
  /* [hidden]中は base の display:none を維持する（常時被さり事故の防止） */
  .sp-menu:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed; inset: 0;
    z-index: 110;
    background: rgba(7, 4, 0, .97);
    opacity: 0;
    transition: opacity .35s ease;
  }
  .is-menu-open .sp-menu { opacity: 1; }
  body.is-menu-open { overflow: hidden; }
  .sp-menu__list { display: grid; gap: 34px; text-align: center; }
  .sp-menu__list a {
    display: grid;
    gap: 8px;
    color: var(--white);
    font-family: var(--font-en);
    font-size: 1.5rem;
    line-height: 1;
  }
  .sp-menu__list a span {
    font-family: var(--font-jp);
    font-size: .8125rem;
    color: var(--gold);
  }

  /* 下層タイトル帯 */
  .page-hero { gap: 18px; min-height: 220px; padding-top: 88px; }
  .breadcrumb ol { font-size: .9375rem; }

  /* hero */
  .hero {
    height: auto;
    min-height: min(100svh, 780px);
    display: flex;
    flex-direction: column;
  }
  /* 固定改行をSPでは解除して自然折返しに */
  .u-flow br { display: none; }
  /* SP指定位置の改行を有効化 */
  .br-sp { display: inline; }
  .hero__img {
    inset: 0;
    width: 100%; height: 100%;
    object-position: 50% 50%;
  }
  /* キャッチコピーの背面を確実に落とし、被写体は右下に逃がす */
  .hero::after {
    background:
      linear-gradient(to bottom, rgba(7, 4, 0, .94) 0%, rgba(7, 4, 0, .62) 32%, rgba(7, 4, 0, 0) 60%),
      linear-gradient(to top, var(--ink) 10%, rgba(7, 4, 0, 0) 45%),
      linear-gradient(to right, rgba(7, 4, 0, .85) 0%, rgba(7, 4, 0, 0) 72%);
  }
  .hero__inner { padding-top: 128px; }
  .hero__panels {
    position: relative;
    bottom: auto; left: auto;
    translate: none;
    width: min(100% - 40px, 100%);
    margin: 48px auto 32px;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: auto;
    padding-top: 48px;
  }
  .js .is-loaded .hero__panels { translate: 0 0; }
  .js .hero__panels { translate: 0 16px; }
  /* 和文+英字が1行ずつで収まるサイズに統一（画像はフェードを強めて文字と共存） */
  .cta-panel { height: 84px; padding-inline: 18px; gap: 12px; }
  .cta-panel__icon { width: 26px; height: 23px; }
  .cta-panel__icon--envelope { width: 24px; height: 18px; }
  .cta-panel__text { flex: 1; min-width: 0; position: relative; z-index: 2; padding-right: 40px; }
  .cta-panel__jp { font-size: .9375rem; white-space: nowrap; }
  .cta-panel__en { font-size: 1.375rem; margin-top: 9px; }
  .cta-panel__img { width: 104px; }
  .cta-panel__img::after { background: linear-gradient(to left, transparent 0%, var(--pbg) 85%); }

  /* MESSAGE */
  .message__bg { --fx: linear-gradient(to left, rgba(255, 255, 255, .62) 0%, var(--white) 100%); }

  /* SERVICE / WHAT WE DO / RECRUIT帯: 画像上・本文下へ縦組み */
  .service__intro, .whatwedo, .recruit-band { min-height: 0; }
  .service__img, .whatwedo__img, .recruit-band__img {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .service__img, .whatwedo__img {
    --fx: linear-gradient(to top, var(--fbg) 0%, rgba(7, 4, 0, 0) 45%);
  }
  .recruit-band__img {
    --fx: linear-gradient(to top, var(--fbg) 0%, rgba(245, 245, 245, 0) 45%);
  }
  .service__intro-text, .whatwedo__text, .recruit-band__text {
    margin-left: 0;
    padding-block: 40px 56px;
  }
  .service { padding-bottom: 72px; }
  .service-card { display: flex; flex-direction: column; }
  .service-card + .service-card { margin-top: 20px; }
  .service-card__img {
    position: static;
    width: 100%;
    order: -1;
    aspect-ratio: 16 / 9;
    --fx: linear-gradient(to top, var(--fbg) 0%, rgba(238, 238, 238, 0) 55%);
  }
  .service-card__body { padding: 28px 22px 36px; }

  /* COMPANY */
  .company__bg { height: 52vw; min-height: 220px; }
  .company-card { margin-top: -72px; padding: 28px 22px 36px; }
  .company-card__img { width: 62%; }

  /* GREETING */
  .greeting__grid { grid-template-columns: 1fr; gap: 28px; }
  .greeting__photo { max-width: 480px; }

  /* STORE */
  .store__grid { grid-template-columns: 1fr; gap: 36px; }
  .store-card { max-width: 480px; margin-inline: auto; width: 100%; }

  /* ABOUT */
  .about__card { padding: 48px 22px; }
  .about__row { grid-template-columns: 1fr; gap: 6px; padding-block: 18px; }
  .about__row dt { color: var(--gold); font-size: .9375rem; }

  /* recruit */
  .purpose__statement { font-size: 1.0625rem; }
  .check-panel li { align-items: flex-start; }
  .check-panel svg { translate: 0 10px; }
  .work-panel__head { gap: 16px; }
  /* 写真ストリップ: SPは2枚（中央のPC資料写真を非表示。WHAT WE DOのPC写真と被るため） */
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img:nth-child(2) { display: none; }
  .strip img { aspect-ratio: 16 / 10; }
  /* SERVICEカード見出しは幅連動で必ず1行に収める（最長16文字基準） */
  .service-card__title {
    font-size: min(1.375rem, calc((100vw - 88px) / 16));
  }
  .culture__img {
    position: relative;
    width: 100%;
    margin-top: 8px;
    --fx: linear-gradient(to bottom, var(--fbg) 0%, rgba(245, 245, 245, 0) 55%);
  }
  .culture__inner { padding-bottom: 0; }
  .culture { padding-bottom: 0; }
  .entry__img { width: 100%; }
  .entry__img--r { display: none; }
  .entry__link::after { background: rgba(7, 4, 0, .72); }
  .entry__link { padding: 48px 24px; }

  /* CTA / footer */
  .cta { grid-template-columns: 1fr; }
  .cta__panel { min-height: 240px; }
  .site-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 40px;
    text-align: center;
  }
  .site-footer__nav { justify-content: center; margin-top: 28px; }
}

@media (max-width: 400px) {
  .hero__inner { padding-top: 112px; }
  .cta-panel__jp { font-size: .875rem; }
  .cta-panel__img { width: 88px; }
  .site-header__logo img { width: 150px; }
}
