/* ============================================================
   ReCore株式会社 コーポレートサイト
   ------------------------------------------------------------
   このサイト専用に一から書いたCSS（雛形の見た目は使っていない）。
   色は parts/theme.php が出す変数（--navy / --gold / --paper …）だけを使う。
   方針：余白を大きく・要素は少なく・罫線と整列で品を出す。
         グラデーション・影・角丸・光る装飾は使わない。
   ============================================================ */

/* ── 土台 ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 108px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: .05em;
  line-break: strict;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: 500; color: var(--navy); word-break: keep-all; overflow-wrap: anywhere; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }
.nw { white-space: nowrap; }

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 16px; top: -80px; z-index: 200;
  background: var(--navy); color: var(--on-navy); padding: 10px 18px; font-size: 14px;
}
.skip:focus { top: 16px; }

.container {
  width: 100%; max-width: 1200px; margin-inline: auto;
  padding-inline: clamp(24px, 4.4vw, 40px);
}
.narrow { max-width: 900px; }

/* 英字の小ラベル（細いゴールドの線つき） */
.eyebrow {
  display: flex; align-items: center; gap: 16px;
  font-family: "Jost", sans-serif; font-weight: 400;
  font-size: 13px; line-height: 1; letter-spacing: .3em;
  color: var(--gold-text);
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--gold); flex: none; }
.eyebrow--on-navy { color: var(--gold-soft); }

/* 矢印（細い線） */
.arrow { position: relative; display: inline-block; flex: none; width: 34px; height: 9px; }
.arrow::before { content: ""; position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: currentColor; }
.arrow::after {
  content: ""; position: absolute; right: 0; top: 4px; width: 8px; height: 1px; background: currentColor;
  transform-origin: right center; transform: rotate(38deg);
}
.arrow--down { transform: rotate(90deg); width: 22px; }
.arrow--back { transform: scaleX(-1); }
/* 外部サイトの印 */
.ext { position: relative; display: inline-block; flex: none; width: 9px; height: 9px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; }
.ext::after {
  content: ""; position: absolute; top: -1px; right: 0; width: 12px; height: 1px; background: currentColor;
  transform-origin: right center; transform: rotate(-45deg);
}

/* 文字のリンク（下線つき） */
.textlink {
  display: inline-flex; align-items: center; gap: 18px;
  padding-bottom: 10px; border-bottom: 1px solid var(--navy);
  color: var(--navy); font-size: 15px; font-weight: 500; letter-spacing: .1em; line-height: 1.6;
}
.textlink .arrow { transition: transform .3s ease; }
.textlink:hover .arrow { transform: translateX(6px); }
.textlink--back:hover .arrow { transform: scaleX(-1) translateX(6px); }
.more { margin-top: 56px; text-align: center; }
.more--left { text-align: left; }

/* ── ヘッダー ─────────────────────────────────────────── */
.masthead { position: sticky; top: 0; z-index: 100; background: var(--bg); border-bottom: 1px solid var(--rule); }
.masthead__bar { display: flex; align-items: stretch; height: 84px; padding-left: clamp(24px, 3.4vw, 48px); }
.masthead__logo { display: flex; align-items: center; margin-right: auto; }
.masthead__logo .logo-img { height: 30px; width: auto; }
.gnav { display: flex; }
.gnav__list { display: flex; align-items: stretch; gap: clamp(28px, 3.4vw, 52px); padding-right: clamp(28px, 3.4vw, 52px); }
.gnav__list a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; height: 100%; }
.gnav__en { font-family: "Jost", sans-serif; font-size: 10.5px; letter-spacing: .26em; line-height: 1; color: var(--gold-text); }
.gnav__jp { font-size: 14px; font-weight: 500; letter-spacing: .12em; line-height: 1; color: var(--navy); }
.gnav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--navy);
  transform: scaleX(0); transform-origin: left center; transition: transform .3s ease;
}
.gnav__list a:hover::after, .gnav__list a[aria-current="page"]::after { transform: scaleX(1); }
.masthead__contact {
  display: flex; align-items: center; justify-content: center; width: 184px;
  background: var(--navy); color: var(--on-navy);
  font-size: 14px; font-weight: 500; letter-spacing: .14em; transition: background .3s ease;
}
.masthead__contact:hover { background: var(--navy-deep); }
.menu-btn { display: none; }
.sp-menu { display: none; }

/* ── ファーストビュー ─────────────────────────────────── */
.hero { position: relative; margin-bottom: 72px; }
.hero__photo { margin-left: 26vw; height: clamp(500px, 70vh, 640px); overflow: hidden; background: var(--paper); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.hero__panel {
  position: absolute; left: 0; bottom: -72px;
  width: calc(50vw + 100px); max-width: 920px;
  background: var(--navy); color: var(--on-navy);
}
.hero__panel-in {
  padding: clamp(48px, 5.4vw, 76px) clamp(40px, 5vw, 72px) clamp(48px, 5.4vw, 72px)
           max(clamp(24px, 4.4vw, 40px), calc((100vw - 1200px) / 2 + 40px));
}
.hero__h {
  margin-top: 30px; color: var(--on-navy);
  font-size: clamp(30px, 3.7vw, 54px); font-weight: 500; line-height: 1.55; letter-spacing: .08em;
}
.hero__sub { margin-top: clamp(32px, 3.4vw, 46px); padding-top: clamp(26px, 2.6vw, 34px); border-top: 1px solid var(--gold); }
.hero__sub-row { display: flex; align-items: baseline; gap: 26px; }
.hero__sub-row + .hero__sub-row { margin-top: 12px; }
.hero__sub dt { flex: none; width: 82px; font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: .26em; color: var(--gold-soft); }
.hero__sub dd { font-size: clamp(15px, 1.35vw, 18px); font-weight: 500; letter-spacing: .1em; line-height: 1.8; word-break: keep-all; }

/* ── ストーリー ───────────────────────────────────────── */
.story { padding-block: clamp(96px, 12vw, 168px) clamp(88px, 11vw, 152px); }
.story__in { max-width: 800px; text-align: center; }
.story .eyebrow { justify-content: center; }
.story .eyebrow::after { content: ""; width: 36px; height: 1px; background: var(--gold); flex: none; }
.story__voices { margin-top: 56px; font-size: clamp(17px, 1.7vw, 21px); line-height: 2.3; letter-spacing: .12em; color: var(--text-sub); }
.story__turn {
  margin-top: 36px; color: var(--navy);
  font-size: clamp(21px, 2.3vw, 30px); font-weight: 500; line-height: 1.8; letter-spacing: .1em; word-break: keep-all;
}
.story__body { max-width: 640px; margin: 52px auto 0; text-align: left; }
.story__body p { line-height: 2.3; }
.story__body p + p { margin-top: 1.5em; }
.story__quote {
  display: inline-block; margin-top: 60px; padding: 30px 12px;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold);
  color: var(--navy); font-size: clamp(22px, 2.6vw, 34px); font-weight: 500; line-height: 1.6; letter-spacing: .16em; word-break: keep-all;
}
.story__quote + .story__body { margin-top: 56px; }

/* ── セクション共通 ───────────────────────────────────── */
.section { padding-block: clamp(80px, 10vw, 144px); }
.section--paper { background: var(--paper); }
.section--slim { padding-block: clamp(64px, 7vw, 96px); }
.sechead { margin-bottom: clamp(44px, 5vw, 72px); }
.sechead__h { margin-top: 24px; font-size: clamp(26px, 2.8vw, 38px); line-height: 1.5; letter-spacing: .16em; }
.sechead--split { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: 48px; align-items: end; }
.sechead__lead { font-size: 15px; line-height: 2.1; }

/* ── 理念（トップ・3列） ──────────────────────────────── */
.creed { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4.4vw, 64px); }
.creed__item { padding-top: 34px; border-top: 1px solid var(--gold); }
.creed__en { font-family: "Jost", sans-serif; font-size: 15px; letter-spacing: .32em; line-height: 1; color: var(--gold-text); }
.creed__jp { margin-top: 14px; font-size: 13px; letter-spacing: .12em; line-height: 1.6; color: var(--text-sub); }
.creed__h { margin-top: 28px; font-size: clamp(20px, 1.95vw, 25px); line-height: 1.8; letter-spacing: .1em; }

/* ── サービス（トップ・2つのカード） ──────────────────── */
.offer { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(32px, 4.8vw, 72px); }
.offer__link { display: block; height: 100%; border-bottom: 1px solid var(--rule-strong); padding-bottom: 36px; }
.offer__photo { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); }
.offer__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s ease; }
.offer__link:hover .offer__photo img { transform: scale(1.03); }
.offer__body { position: relative; padding-top: 34px; }
.offer__no {
  position: absolute; right: 0; top: 22px;
  font-family: "Jost", sans-serif; font-weight: 300; font-size: clamp(52px, 5.4vw, 76px); line-height: 1; letter-spacing: .04em; color: var(--gold);
}
.offer__cat { font-size: 13px; font-weight: 500; letter-spacing: .14em; line-height: 1.6; color: var(--gold-text); padding-right: 96px; }
.offer__h { margin-top: 10px; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.6; letter-spacing: .1em; padding-right: 96px; }
.offer__tag { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--navy); font-size: 16px; font-weight: 500; line-height: 1.9; letter-spacing: .08em; word-break: keep-all; }
.offer__p { margin-top: 12px; font-size: 15px; line-height: 2.05; }
.offer__more { display: flex; align-items: center; gap: 18px; margin-top: 26px; color: var(--navy); font-size: 14px; font-weight: 500; letter-spacing: .12em; line-height: 1; }
.offer__more .arrow { transition: transform .3s ease; }
.offer__link:hover .offer__more .arrow { transform: translateX(6px); }

/* ── 代表メッセージ（トップの抜粋） ───────────────────── */
.voice { display: grid; grid-template-columns: minmax(0, 380px) 1fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.photo-slot {
  position: relative; display: flex; align-items: center; justify-content: center;
  aspect-ratio: 4 / 5; background: var(--navy);
}
.photo-slot::before { content: ""; position: absolute; inset: 14px; border: 1px solid var(--rule-navy); }
.photo-slot span { font-family: "Jost", sans-serif; font-weight: 300; font-size: 15px; letter-spacing: .4em; color: var(--gold-soft); }
.voice__photo img, .letter__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.voice__lead { margin-top: 34px; color: var(--navy); font-size: clamp(21px, 2.3vw, 30px); font-weight: 500; line-height: 1.85; letter-spacing: .1em; word-break: keep-all; }
.voice__p { margin-top: 28px; font-size: 15.5px; line-height: 2.2; }
.voice__sign { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; margin-top: 30px; }
.voice__sign span { font-size: 13px; letter-spacing: .1em; color: var(--text-sub); }
.voice__sign strong { font-size: 19px; font-weight: 500; letter-spacing: .2em; color: var(--navy); }
.voice .more { margin-top: 44px; }

/* ── お知らせ ─────────────────────────────────────────── */
.bulletin { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.bulletin__head { margin-bottom: 0; }
.bulletin__more { margin-top: 40px; }
.postlist { border-top: 1px solid var(--rule-strong); }
.postlist li { border-bottom: 1px solid var(--rule); }
.postlist a { display: grid; grid-template-columns: 118px 1fr auto; gap: 24px; align-items: center; padding: 28px 8px 28px 4px; color: var(--navy); transition: background .3s ease; }
.postlist a:hover { background: var(--paper); }
.postlist time { font-family: "Jost", sans-serif; font-size: 14px; letter-spacing: .14em; color: var(--text-sub); line-height: 1.6; }
.postlist__t { font-size: 15.5px; font-weight: 500; line-height: 1.8; letter-spacing: .06em; }
.postlist .arrow { width: 26px; transition: transform .3s ease; }
.postlist a:hover .arrow { transform: translateX(5px); }
.empty { text-align: center; color: var(--text-sub); }

/* ── 関連事務所 ───────────────────────────────────────── */
.kin { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.kin__h { margin-top: 22px; font-size: clamp(20px, 2vw, 24px); line-height: 1.5; letter-spacing: .16em; }
.kin__card {
  display: grid; grid-template-columns: 132px 1fr; grid-template-areas: "logo text" "logo go";
  column-gap: clamp(28px, 3.6vw, 48px); row-gap: 18px; align-items: center;
  padding: clamp(28px, 3.2vw, 40px) clamp(24px, 3.6vw, 48px);
  background: var(--bg); border: 1px solid var(--rule); transition: border-color .3s ease;
}
.kin__card:hover { border-color: var(--navy); }
.kin__logo { grid-area: logo; }
.kin__logo img { width: 100%; height: auto; }
.kin__text { grid-area: text; display: block; }
.kin__text strong { display: block; color: var(--navy); font-size: 17px; font-weight: 500; letter-spacing: .1em; line-height: 1.7; }
.kin__text > span { display: block; margin-top: 8px; font-size: 14px; line-height: 2; }
.kin__go { grid-area: go; display: inline-flex; align-items: center; gap: 12px; color: var(--navy); font-size: 13.5px; font-weight: 500; letter-spacing: .1em; line-height: 1.6; }

/* ── お問い合わせへの誘い（ネイビーの帯） ─────────────── */
.invite { background: var(--navy); color: var(--on-navy); padding-block: clamp(72px, 8.4vw, 116px); }
.invite__in { display: grid; grid-template-columns: 1fr auto; gap: clamp(36px, 6vw, 88px); align-items: center; }
.invite__h { margin-top: 26px; color: var(--on-navy); font-size: clamp(25px, 2.9vw, 38px); line-height: 1.65; letter-spacing: .12em; }
.invite__h br { display: none; }
.invite__p { margin-top: 20px; max-width: 620px; font-size: 15px; line-height: 2.1; color: var(--on-navy-sub); }
.invite__btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 320px;
  padding: 26px 30px 26px 34px; border: 1px solid var(--on-navy);
  font-size: 15px; font-weight: 500; letter-spacing: .14em; line-height: 1.5;
  transition: background .3s ease, color .3s ease;
}
.invite__btn:hover { background: var(--on-navy); color: var(--navy); }

/* ── フッター ─────────────────────────────────────────── */
.colophon { background: var(--bg); padding-top: clamp(64px, 7vw, 96px); }
.colophon__main { display: grid; grid-template-columns: 1.3fr 1fr 1.1fr; gap: clamp(36px, 5vw, 72px); padding-bottom: clamp(56px, 6vw, 80px); }
.colophon__logo { display: inline-block; }
.colophon__logo .logo-img { height: 30px; width: auto; }
.colophon__name { margin-top: 26px; color: var(--navy); font-size: 15px; font-weight: 500; letter-spacing: .12em; line-height: 1.6; }
.colophon__addr { margin-top: 10px; font-size: 13.5px; line-height: 1.95; }
.colophon__cap { font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: .3em; line-height: 1; color: var(--gold-text); padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.colophon__nav ul { margin-top: 12px; }
.colophon__nav a { display: block; padding: 7px 0; color: var(--navy); font-size: 14px; letter-spacing: .1em; line-height: 1.7; }
.colophon__nav a:hover, .colophon__group-link:hover span:first-child { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.colophon__group-h { margin-top: 18px; font-size: 13px; letter-spacing: .1em; line-height: 1.6; color: var(--text-sub); }
.colophon__group-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 6px; color: var(--navy); font-size: 14px; font-weight: 500; letter-spacing: .08em; line-height: 1.8; }
.colophon__sample p { font-size: 12px; color: var(--text-sub); padding-bottom: 24px; }
.colophon__base { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 26px; border-top: 1px solid var(--rule); }
.colophon__copy, .colophon__top { font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: .2em; line-height: 1.6; color: var(--text-sub); }
.colophon__top { color: var(--navy); }
.colophon__top:hover { text-decoration: underline; text-underline-offset: 6px; }

/* ── 下層ページの見出し ───────────────────────────────── */
.pagehead { background: var(--paper); }
.pagehead__in { padding-block: clamp(64px, 8vw, 112px) clamp(48px, 5.6vw, 76px); }
.pagehead__en { font-family: "Jost", sans-serif; font-weight: 300; font-size: clamp(42px, 7.2vw, 96px); line-height: 1.05; letter-spacing: .1em; color: var(--navy); }
.pagehead__title { display: flex; align-items: center; gap: 18px; margin-top: clamp(20px, 2.4vw, 30px); color: var(--navy); font-size: clamp(15px, 1.4vw, 17px); font-weight: 500; letter-spacing: .22em; line-height: 1.6; }
.pagehead__title::before { content: ""; width: 44px; height: 1px; background: var(--gold); flex: none; }
.crumbs { background: var(--bg); border-bottom: 1px solid var(--rule); }
.crumbs__list { display: flex; flex-wrap: wrap; gap: 4px 0; padding-block: 16px; font-size: 12px; letter-spacing: .1em; line-height: 1.7; color: var(--text-sub); }
.crumbs__list li + li::before { content: ""; display: inline-block; width: 18px; height: 1px; margin: 0 12px; background: var(--rule-strong); vertical-align: middle; }
.crumbs__list a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ページ内の目次（会社概要） */
.anchors { border-bottom: 1px solid var(--rule); }
.anchors__list { display: flex; }
.anchors__list li { flex: 1; border-left: 1px solid var(--rule); }
.anchors__list li:last-child { border-right: 1px solid var(--rule); }
.anchors__list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px clamp(14px, 2.2vw, 28px); color: var(--navy); font-size: 14px; font-weight: 500; letter-spacing: .12em; line-height: 1.6; transition: background .3s ease; }
.anchors__list a:hover { background: var(--paper); }

/* 冒頭の2段（左＝見出し／右＝本文） */
.preface { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.preface__h { font-size: clamp(21px, 2.1vw, 29px); line-height: 1.85; letter-spacing: .1em; }
.preface__body p + p { margin-top: 1.5em; }
.jump { margin-top: 48px; border-top: 1px solid var(--rule-strong); }
.jump li { border-bottom: 1px solid var(--rule); }
.jump a { display: flex; align-items: center; gap: 22px; padding: 20px 8px 20px 4px; color: var(--navy); transition: background .3s ease; }
.jump a:hover { background: var(--paper); }
.jump__no { font-family: "Jost", sans-serif; font-weight: 300; font-size: 24px; letter-spacing: .06em; line-height: 1; color: var(--gold); }
.jump__t { margin-right: auto; font-size: 15px; font-weight: 500; letter-spacing: .1em; line-height: 1.6; }

/* ── サービスの詳細 ───────────────────────────────────── */
.detail__head { display: flex; align-items: flex-end; gap: clamp(22px, 3vw, 40px); padding-bottom: clamp(28px, 3vw, 40px); border-bottom: 1px solid var(--gold); }
.detail__no { flex: none; white-space: nowrap; font-family: "Jost", sans-serif; font-weight: 300; font-size: clamp(64px, 8vw, 112px); line-height: .86; letter-spacing: .02em; color: var(--gold); }
.detail__cat { font-size: 14px; font-weight: 500; letter-spacing: .16em; line-height: 1.6; color: var(--gold-text); }
.detail__h { margin-top: 8px; font-size: clamp(24px, 2.9vw, 38px); line-height: 1.5; letter-spacing: .1em; }
.detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5.6vw, 84px); align-items: start; margin-top: clamp(44px, 5vw, 72px); }
.detail--flip .detail__photo { order: 2; }
.detail__photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.detail__photo img { width: 100%; height: 100%; object-fit: cover; }
.detail__tag { color: var(--navy); font-size: clamp(19px, 2vw, 25px); font-weight: 500; line-height: 1.85; letter-spacing: .1em; word-break: keep-all; }
.detail__p { margin-top: 1.5em; }
.detail__tag + .detail__p { margin-top: 30px; }
.points { margin-top: clamp(56px, 6vw, 88px); }
.points__h { display: flex; align-items: center; gap: 18px; font-size: 16px; letter-spacing: .16em; line-height: 1.6; }
.points__h::after { content: ""; flex: 1; height: 1px; background: var(--rule-strong); }
.points__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.8vw, 40px); margin-top: 30px; }
.points__list li { padding: 28px 24px 30px; background: var(--bg); border: 1px solid var(--rule); }
.section:not(.section--paper) .points__list li { background: var(--paper); border-color: transparent; }
.points__no { display: block; flex: none; white-space: nowrap; font-family: "Jost", sans-serif; font-weight: 300; font-size: 22px; letter-spacing: .1em; line-height: 1; color: var(--gold); }
.points__t { display: block; margin-top: 18px; color: var(--navy); font-size: 15px; font-weight: 500; line-height: 1.85; letter-spacing: .08em; }

/* ── 理念（会社概要・全文） ───────────────────────────── */
.tenet { display: grid; grid-template-columns: 250px 1fr; gap: clamp(32px, 5vw, 80px); padding-block: clamp(44px, 5vw, 68px); border-top: 1px solid var(--gold); }
.tenet:last-child { padding-bottom: 0; }
.tenet__en { font-family: "Jost", sans-serif; font-size: 16px; letter-spacing: .32em; line-height: 1.4; color: var(--gold-text); }
.tenet__jp { margin-top: 12px; font-size: 13px; letter-spacing: .12em; line-height: 1.6; color: var(--text-sub); }
.tenet__h { font-size: clamp(23px, 2.7vw, 36px); line-height: 1.7; letter-spacing: .1em; margin-top: -8px; }
.tenet__h br { display: none; }
.tenet__why { margin-top: 30px; color: var(--navy); font-size: 16px; font-weight: 500; letter-spacing: .12em; line-height: 1.8; }
.tenet__p { margin-top: 1.3em; }
.tenet__why + .tenet__p { margin-top: 16px; }

/* 理念の締め（写真＋ネイビーの面） */
.pledge { position: relative; padding-bottom: 72px; background: var(--paper); }
.pledge__photo { margin-right: 30vw; height: clamp(360px, 38vw, 520px); overflow: hidden; }
.pledge__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.pledge__panel {
  position: absolute; right: 0; bottom: 0; width: calc(50vw + 40px); max-width: 860px;
  background: var(--navy); color: var(--on-navy);
  padding: clamp(44px, 5vw, 68px) max(clamp(24px, 4.4vw, 40px), calc((100vw - 1200px) / 2 + 40px)) clamp(44px, 5vw, 68px) clamp(36px, 5vw, 72px);
}
.pledge__label { display: flex; align-items: center; gap: 16px; color: var(--gold-soft); font-size: 14px; font-weight: 500; letter-spacing: .2em; line-height: 1.6; }
.pledge__label::before { content: ""; width: 36px; height: 1px; background: var(--gold); flex: none; }
.pledge__p { margin-top: 22px; font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; line-height: 2.15; letter-spacing: .1em; }
.pledge__p + .pledge__p { margin-top: 10px; }

/* ── 代表メッセージ（全文） ───────────────────────────── */
.letter { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: clamp(40px, 7vw, 104px); align-items: start; }
.letter__body p { line-height: 2.3; }
.letter__body p + p { margin-top: 1.5em; }
.letter__sign { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin-top: 56px !important; }
.letter__sign span { font-size: 13.5px; letter-spacing: .1em; line-height: 1.6; color: var(--text-sub); }
.letter__sign strong { font-size: 23px; font-weight: 500; letter-spacing: .24em; line-height: 1.5; color: var(--navy); }
.letter__sign img { width: 220px; height: auto; }
.profile { margin-top: 36px; }
.profile__h { font-size: 14px; letter-spacing: .2em; line-height: 1.6; padding-bottom: 14px; border-bottom: 1px solid var(--gold); }
.profile__list > div { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 14px; line-height: 1.8; }
.profile__list dt { color: var(--text-sub); letter-spacing: .1em; }
.profile__list dd { color: var(--navy); }

/* ── 会社概要の表 ─────────────────────────────────────── */
.outline { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.outline__head { margin-bottom: 0; }
.ledger { border-top: 1px solid var(--rule-strong); }
.ledger__row { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 28px 8px; border-bottom: 1px solid var(--rule-strong); }
.ledger dt { color: var(--navy); font-size: 15px; font-weight: 500; letter-spacing: .14em; }
.ledger dd { font-size: 15.5px; line-height: 2; }

/* ── 記事 ─────────────────────────────────────────────── */
.entry__head { padding-bottom: 36px; border-bottom: 1px solid var(--gold); }
.entry__date { font-family: "Jost", sans-serif; font-size: 14px; letter-spacing: .16em; color: var(--text-sub); }
.entry__h { margin-top: 14px; font-size: clamp(23px, 2.7vw, 34px); line-height: 1.7; letter-spacing: .1em; }
.entry__eye { margin-top: 48px; }
.entry__body { margin-top: 48px; }
.entry__body p { line-height: 2.2; }
.entry__body p + p { margin-top: 1.5em; }
.entry__body a, .prose a, .consent a { color: var(--navy); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.entry__back { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--rule); }

/* ── 定型文（プライバシーポリシー） ───────────────────── */
.prose p { font-size: 15.5px; line-height: 2.1; }
.prose h2 { margin: 56px 0 18px; padding-top: 30px; border-top: 1px solid var(--rule-strong); font-size: 19px; line-height: 1.7; letter-spacing: .1em; }
.prose ul { margin: 14px 0; }
.prose li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 2.1; }
.prose li::before { content: ""; position: absolute; left: 2px; top: 1.02em; width: 10px; height: 1px; background: var(--gold); }
.prose__box { margin-top: 18px !important; padding: 26px 30px; background: var(--paper); }

/* ── お問い合わせフォーム ─────────────────────────────── */
.inquiry__lead { margin-bottom: 56px; }
.inquiry { border-top: 1px solid var(--rule-strong); }
.field { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: center; padding: 30px 0; border-bottom: 1px solid var(--rule); }
.field--top { align-items: start; }
.field--top .field__label { padding-top: 14px; }
.field__label { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--navy); font-size: 15px; font-weight: 500; letter-spacing: .1em; line-height: 1.6; }
.tag { flex: none; min-width: 46px; padding: 5px 8px; border: 1px solid var(--rule-strong); color: var(--text-sub); font-size: 11.5px; font-weight: 500; letter-spacing: .14em; line-height: 1; text-align: center; }
.tag--req { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.inquiry input[type="text"], .inquiry input[type="email"], .inquiry input[type="tel"], .inquiry textarea {
  display: block; width: 100%; padding: 15px 18px;
  border: 1px solid var(--rule-strong); border-radius: 0; background: var(--bg);
  color: var(--text); font: inherit; font-size: 16px; line-height: 1.7; letter-spacing: .04em;
  -webkit-appearance: none; appearance: none;
  transition: border-color .2s ease;
}
.inquiry textarea { resize: vertical; min-height: 200px; }
.inquiry input::placeholder, .inquiry textarea::placeholder { color: var(--text-sub); opacity: .75; }
.inquiry input:focus, .inquiry textarea:focus { outline: 2px solid var(--navy); outline-offset: -1px; border-color: var(--navy); }
.inquiry .is-err { border-color: #b3261e; }
.f-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-alert, .f-err { display: none; color: #b3261e; font-size: 14px; line-height: 1.8; }
.f-alert.on { display: block; margin: 28px 0 0; padding: 16px 20px; border: 1px solid #b3261e; }
.f-err.on { display: block; margin-top: 8px; }
.consent { padding: 40px 0 0; text-align: center; }
.consent__label { display: inline-flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.8; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 0; accent-color: var(--navy); flex: none; }
.inquiry__submit { margin-top: 36px; text-align: center; }
.submit {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; width: min(100%, 360px);
  padding: 24px 30px 24px 34px; border: 1px solid var(--navy); border-radius: 0; background: var(--navy); color: var(--on-navy);
  font-size: 15px; font-weight: 500; letter-spacing: .14em; line-height: 1.5; cursor: pointer; transition: background .3s ease;
}
.submit:hover { background: var(--navy-deep); }
.submit:disabled { opacity: .55; cursor: default; }
.inquiry.is-sending { opacity: .7; }
.inquiry__note { margin-top: 32px; font-size: 13px; line-height: 2; color: var(--text-sub); text-align: center; }
.inquiry__sample { margin: 24px 0 0; padding: 14px 18px; background: var(--paper); font-size: 13.5px; }

/* ── 送信完了・404 ────────────────────────────────────── */
.notice { padding-block: clamp(96px, 13vw, 184px); }
.notice__in { max-width: 760px; text-align: center; }
.notice .eyebrow { justify-content: center; }
.notice .eyebrow::after { content: ""; width: 36px; height: 1px; background: var(--gold); flex: none; }
.notice__h { margin-top: 30px; font-size: clamp(24px, 2.9vw, 36px); line-height: 1.6; letter-spacing: .14em; }
.notice__p { margin-top: 36px; }
.notice__p--sub { margin-top: 20px; font-size: 14px; color: var(--text-sub); }
.notice__act { margin-top: 56px; }

/* ============================================================
   タブレット以下（〜960px）＝ナビをメニューに畳む
   ============================================================ */
@media (max-width: 960px) {
  html { scroll-padding-top: 84px; }
  .masthead__bar { height: 64px; padding-left: 20px; }
  .masthead__logo .logo-img { height: 24px; }
  .gnav, .masthead__contact { display: none; }
  .menu-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    width: 68px; border: 0; border-left: 1px solid var(--rule); background: var(--bg); color: var(--navy); cursor: pointer; padding: 0;
  }
  .menu-btn__lines { position: relative; display: block; width: 26px; height: 9px; }
  .menu-btn__lines i { position: absolute; left: 0; width: 100%; height: 1px; background: currentColor; transition: transform .3s ease, top .3s ease; }
  .menu-btn__lines i:first-child { top: 0; }
  .menu-btn__lines i:last-child { top: 8px; }
  .menu-btn__txt { font-family: "Jost", sans-serif; font-size: 9.5px; letter-spacing: .2em; line-height: 1; }
  .menu-open .menu-btn__lines i:first-child { top: 4px; transform: rotate(24deg); }
  .menu-open .menu-btn__lines i:last-child { top: 4px; transform: rotate(-24deg); }
  .sp-menu {
    display: block; position: fixed; inset: 65px 0 0 0; z-index: 90; overflow-y: auto;
    background: var(--bg); padding: 12px 24px 56px;
    opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
  }
  .sp-menu.is-open { opacity: 1; visibility: visible; }
  .sp-menu li { border-bottom: 1px solid var(--rule); }
  .sp-menu a { display: flex; align-items: baseline; gap: 20px; padding: 24px 4px; }
  .sp-menu__en { width: 96px; flex: none; font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: .26em; line-height: 1.4; color: var(--gold-text); }
  .sp-menu__jp { color: var(--navy); font-size: 17px; font-weight: 500; letter-spacing: .14em; line-height: 1.4; }

  .sechead--split { grid-template-columns: 1fr; gap: 20px; align-items: start; }
  .creed { grid-template-columns: 1fr; gap: 44px; }
  .bulletin, .kin, .outline { grid-template-columns: 1fr; gap: 0; }
  .bulletin__head, .outline__head { margin-bottom: 40px; }
  .bulletin__more { display: none; }
  .kin__head { margin-bottom: 32px; }
  .preface { grid-template-columns: 1fr; gap: 36px; }
  .colophon__main { grid-template-columns: 1fr 1fr; }
  .colophon__id { grid-column: 1 / -1; }
  .tenet { grid-template-columns: 1fr; gap: 26px; }
  .tenet__h { margin-top: 0; }
  .invite__in { grid-template-columns: 1fr; }
  .invite__btn { justify-self: start; }
}

/* ============================================================
   スマホ（〜720px）
   ============================================================ */
@media (max-width: 720px) {
  body { font-size: 15px; line-height: 2.05; }
  .textlink { font-size: 14px; }
  .more { margin-top: 44px; }

  /* ファーストビュー：写真の下にネイビーの面を重ねる（文字は必ずネイビーの上） */
  .hero { margin-bottom: 0; }
  .hero__photo { margin-left: 0; height: 62vw; min-height: 220px; }
  .hero__photo img { object-position: 56% 50%; }
  .hero__panel { position: relative; left: auto; bottom: auto; width: auto; max-width: none; margin: -44px 24px 0 0; }
  .hero__panel-in { padding: 40px 24px 44px; }
  .hero__h { margin-top: 24px; font-size: clamp(25px, 7.9vw, 34px); line-height: 1.6; letter-spacing: .06em; }
  .hero__sub { margin-top: 30px; padding-top: 26px; }
  .hero__sub-row { display: block; }
  .hero__sub-row + .hero__sub-row { margin-top: 18px; }
  .hero__sub dt { width: auto; font-size: 11px; }
  .hero__sub dd { margin-top: 4px; font-size: clamp(13.5px, 3.9vw, 16px); letter-spacing: .06em; }

  .story { padding-block: 88px 84px; }
  .story__voices { margin-top: 44px; font-size: 16px; letter-spacing: .08em; }
  .story__turn { margin-top: 28px; font-size: clamp(17px, 4.9vw, 21px); letter-spacing: .06em; }
  .story__body { margin-top: 40px; text-align: left; }
  .story__body p { line-height: 2.2; }
  .story__quote { margin-top: 48px; padding: 24px 8px; font-size: clamp(20px, 5.8vw, 24px); letter-spacing: .12em; }
  .story__quote + .story__body { margin-top: 44px; }

  .creed__item { padding-top: 28px; }
  .creed__h { margin-top: 20px; font-size: 21px; }

  .offer { grid-template-columns: 1fr; gap: 56px; }
  .offer__body { padding-top: 28px; }
  .offer__no { top: 18px; font-size: 52px; }
  .offer__cat, .offer__h { padding-right: 76px; }
  .offer__h { font-size: 21px; }
  .offer__tag { font-size: 15px; }

  .voice { grid-template-columns: 1fr; gap: 40px; }
  .voice__photo { width: 62%; max-width: 260px; }
  .voice__lead { margin-top: 28px; font-size: clamp(18px, 5.1vw, 22px); letter-spacing: .06em; }

  .postlist a { grid-template-columns: 1fr auto; gap: 4px 16px; padding: 22px 4px; }
  .postlist time { grid-column: 1 / -1; }
  .postlist--page a, .bulletin .postlist a { align-items: center; }

  .kin__card { grid-template-columns: 1fr; grid-template-areas: "logo" "text" "go"; row-gap: 20px; }
  .kin__logo { width: 112px; }

  .invite__h br { display: inline; }
  .invite__btn { min-width: 0; width: 100%; padding: 22px 24px; font-size: 14px; }

  .colophon__main { grid-template-columns: 1fr; gap: 44px; }
  .colophon__nav ul { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .colophon__base { padding-block: 22px; }

  .pagehead__en { letter-spacing: .08em; }
  .anchors__list a { flex-direction: column; align-items: flex-start; gap: 12px; padding: 16px 12px; font-size: 12.5px; letter-spacing: .06em; }
  .anchors .container { padding-inline: 0; }
  .anchors__list li:first-child { border-left: 0; }
  .anchors__list li:last-child { border-right: 0; }

  .detail__head { gap: 18px; }
  .detail__grid { grid-template-columns: 1fr; gap: 32px; }
  .detail--flip .detail__photo { order: 0; }
  .detail__tag { font-size: clamp(17px, 4.8vw, 20px); letter-spacing: .06em; }
  .points__list { grid-template-columns: 1fr; gap: 12px; }
  .points__list li { display: flex; align-items: baseline; gap: 18px; padding: 22px 20px; }
  .points__t { margin-top: 0; font-size: 15px; }

  .tenet__h br { display: inline; }
  .tenet__h { font-size: clamp(22px, 6.2vw, 26px); }
  .tenet__why { margin-top: 22px; font-size: 15px; letter-spacing: .08em; }

  .pledge { padding-bottom: 0; }
  .pledge__photo { margin-right: 0; height: 62vw; }
  .pledge__panel { position: relative; width: auto; max-width: none; margin: -40px 0 0 24px; padding: 40px 24px 44px; }
  .pledge__p { font-size: 15.5px; letter-spacing: .06em; line-height: 2.1; }

  .letter { grid-template-columns: 1fr; gap: 44px; }
  .letter__photo { width: 62%; max-width: 260px; }
  .letter__body p { line-height: 2.2; }
  .letter__sign { margin-top: 44px !important; }

  .ledger__row { grid-template-columns: 1fr; gap: 4px; padding: 22px 4px; }
  .ledger dt { font-size: 13.5px; color: var(--gold-text); }

  .field { grid-template-columns: 1fr; gap: 12px; padding: 24px 0; }
  .field--top .field__label { padding-top: 0; }
  .field__label { justify-content: flex-start; gap: 14px; }
  .submit { width: 100%; }
  .inquiry__note { text-align: left; }
  .prose__box { padding: 22px 20px; }
  .notice__p br { display: none; }
  .notice__p { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* ============================================================
   修正（2026-11-18 ボス確認）
   ============================================================ */
/* ファーストビューの写真を全幅に */
.hero__photo { margin-left: 0; }
.hero__photo img { object-position: 50% 35%; }   /* 東京タワーが右の空いた所に来るよう、写真は右寄りに切ってある */
/* 広い画面でもネイビーの箱の中の幅を1440のときと同じに保つ（1920で「働く、」だけの行が出ていた） */
.hero__panel { width: max(calc(50vw + 100px), calc((100vw - 1200px) / 2 + 700px)); max-width: none; }

/* トップのストーリーは短く（全文は会社概要） */
.story__after { margin-top: 40px; color: var(--navy); font-size: clamp(16px, 1.5vw, 19px); font-weight: 500; letter-spacing: .1em; line-height: 2; word-break: keep-all; }
.story .more { margin-top: 48px; }
.story .textlink { justify-content: center; }

/* 下層ページの見出し：背景に写真（ネイビーを重ねて文字は白） */
.pagehead--photo { position: relative; overflow: hidden; background: var(--navy); }
.pagehead__bg { position: absolute; inset: 0; }
.pagehead__bg img { width: 100%; height: 100%; object-fit: cover; }
.pagehead__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1, 31, 78, .88) 0%, rgba(1, 31, 78, .62) 55%, rgba(1, 31, 78, .38) 100%); }
.pagehead--photo .pagehead__in { position: relative; padding-block: clamp(88px, 10vw, 148px) clamp(64px, 7vw, 100px); }
.pagehead--photo .pagehead__en,
.pagehead--photo .pagehead__title { color: var(--on-navy); }
.pagehead--photo .crumbs { position: relative; }

/* 会社紹介：見出しの下に写真 */
.preface__photo { margin-top: clamp(36px, 4vw, 56px); aspect-ratio: 4 / 3; overflow: hidden; }
.preface__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }

@media (max-width: 720px) {
  .hero__photo img { object-position: 72% 40%; }
  .story__after { margin-top: 32px; font-size: 15.5px; letter-spacing: .06em; }
  .story .more { margin-top: 40px; }
  .pagehead--photo .pagehead__in { padding-block: 72px 52px; }
  .preface__photo { margin-top: 28px; }
}
