/* ==========================================================================
   CENTER 2027 — lower pages, news/blog, editor content, Contact Form 7
   Loaded after main.css (tokens and common parts live there).
   ========================================================================== */

.bg-alt { background: var(--c-bg-alt); }
.text-sm { font-size: 14px; }
.text-lg { font-size: 16px; line-height: 2.2; }
.text-note { color: var(--c-text-note); }
.label--tight { letter-spacing: 0.2em; }
.heading__ja--plain { letter-spacing: 0.04em; }
.heading__en--md { font-size: 48px; }
.container--narrow { max-width: 1040px; }

.btn--md { padding: 16px 32px; }
.btn--line.btn--md { padding: 15px 31px; }
.btn--dark { padding: 20px 44px; background: var(--c-bg); color: var(--c-text); font-weight: 500; }
.btn--dark:hover { background: #1F2838; color: var(--c-text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.chip-link { padding: 10px 20px; border: 1px solid rgba(255, 255, 255, 0.3); font-size: 14px; line-height: 1.6; }
.chip-link:hover, .chip-link.is-current { border-color: var(--c-amber); color: var(--c-amber); }

.tag--auto { width: auto; padding: 3px 10px; border-color: rgba(255, 255, 255, 0.3); }
.tag--auto.tag--amber { border-color: var(--c-amber); }
.tag--md { padding: 4px 12px; font-size: 14px; }
.tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tag-row--move { gap: 10px; font-size: 14px; }

.placeholder-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--c-bg-muted);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  color: var(--c-text-note);
  font-size: 14px;
  text-align: center;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0 14px;
  font-family: var(--f-en);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--c-text-note);
}
.breadcrumb a { color: inherit; }
.breadcrumb a:hover { color: var(--c-amber); }
.breadcrumb [aria-current] { max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- Page head (plain) ---------- */
.page-head { border-bottom: 1px solid var(--c-line); }
.page-head__inner {
  padding-top: 112px;
  padding-bottom: 64px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}
.page-head__titles { display: flex; flex-direction: column; gap: 12px; }
.page-head__en {
  font-family: var(--f-en);
  font-weight: 300;
  font-size: clamp(64px, 9vw, 128px);
  line-height: 1;
}
.page-head__lead { flex: 0 1 520px; line-height: 2; }
.page-head__anchors { padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Page head with photo (Company) ---------- */
.photo-head {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.photo-head__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.photo-head__shade { position: absolute; inset: 0; background: rgba(11, 15, 23, 0.66); }
.photo-head__body { position: relative; padding-top: 64px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 12px; }
.photo-head .breadcrumb { color: var(--c-text-sub); }

/* ---------- Generic section ---------- */
.section__inner {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.section__inner--wide-gap { gap: 64px; }
.section--border { border-top: 1px solid var(--c-line); }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head__note { font-size: 12px; color: var(--c-text-note); }
.section-head--lead { gap: 24px 64px; }
.section-head__lead {
  flex: 0 1 520px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.7;
}

/* Two columns: heading on the left, content on the right */
.split {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  display: flex;
  flex-wrap: wrap;
  gap: 48px 96px;
}
.split__aside { flex: 1 1 260px; }
.split__main { flex: 3 1 560px; min-width: 0; }

/* Definition list (Outline / Recruit / Business) */
.def-list {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(140px, 200px) 1fr;
  border-top: 1px solid var(--c-line-strong);
}
.def-list dt, .def-list dd { padding: 24px 0; border-bottom: 1px solid var(--c-line-strong); }
.def-list dt { color: var(--c-text-note); }
.def-list dd { margin: 0; }
.def-list--compact { margin-top: 8px; grid-template-columns: 120px 1fr; font-size: 14px; }
.def-list--compact dt, .def-list--compact dd { padding: 16px 0; }

@media (max-width: 767px) {
  .heading__en--md { font-size: 36px; }
  .page-head__inner { padding-top: 72px; padding-bottom: 40px; gap: 24px; }
  .page-head__en { font-size: 56px; }
  .page-head__anchors { padding-bottom: 32px; }
  .photo-head { min-height: 360px; }
  .photo-head__body { padding-top: 48px; padding-bottom: 48px; }
  .section__inner { gap: 40px; }
  .section-head__lead { font-size: 18px; }
  .split { gap: 32px; }
  .split__aside, .split__main { flex-basis: 100%; }
  .def-list { grid-template-columns: 1fr; }
  .def-list dt { padding: 20px 0 4px; border-bottom: 0; font-size: 13px; }
  .def-list dd { padding: 0 0 20px; }
  .def-list--compact { grid-template-columns: 96px 1fr; }
  .def-list--compact dt { padding: 14px 0; border-bottom: 1px solid var(--c-line-strong); font-size: 14px; }
  .def-list--compact dd { padding: 14px 0; }
}

/* ==========================================================================
   Business (page-service.php)
   ========================================================================== */
.biz__inner {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}
.biz--reverse .biz__inner { flex-direction: row-reverse; flex-wrap: wrap-reverse; }
.biz__photo { flex: 1 1 520px; position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.biz__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.biz__badge {
  position: absolute;
  left: 0;
  top: 0;
  padding: 8px 18px;
  background: var(--c-amber);
  color: var(--c-bg);
  font-family: var(--f-en);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
}
.biz__badge--line { padding: 7px 17px; background: rgba(11, 15, 23, 0.7); border: 1px solid rgba(241, 240, 236, 0.6); color: var(--c-text); }
.biz__body { flex: 1 1 440px; display: flex; flex-direction: column; gap: 22px; }
.biz__text { line-height: 2; }
.biz__more { align-self: flex-start; }

.contact-cta--plain { background: none; border-top: 1px solid var(--c-line); }

@media (max-width: 767px) {
  .biz__inner { gap: 32px; }
  .biz--reverse .biz__inner { flex-direction: column-reverse; }
  .biz__photo, .biz__body { flex-basis: 100%; }
  .biz .btn-row .btn { flex: 1 1 100%; text-align: center; }
}

/* ==========================================================================
   Service detail (page-centerx.php / page-agent.php)
   ========================================================================== */
.svc-hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-bottom: 1px solid var(--c-line);
}
.svc-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc-hero__bg.is-gray { filter: grayscale(1); }
.svc-hero__shade { position: absolute; inset: 0; background: rgba(11, 15, 23, 0.6); }
.svc-hero__top { position: relative; padding-top: 96px; }
.svc-hero .breadcrumb { color: var(--c-text-sub); }
.svc-hero__body {
  position: relative;
  padding-bottom: 96px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.svc-hero__titles { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.svc-hero__name { font-family: var(--f-en); font-weight: 300; font-size: clamp(64px, 8vw, 128px); line-height: 1; }
.svc-hero__sub { font-family: var(--f-serif); font-weight: 400; font-size: 22px; letter-spacing: 0.14em; }
.svc-hero__catch {
  margin-top: 20px;
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1.7;
  letter-spacing: 0.08em;
}
.svc-hero__ctas { display: flex; flex-direction: column; gap: 12px; min-width: 300px; }
.svc-hero__ctas .cta-card__text { font-size: 18px; }

/* Numbers strip */
.stats--border { border-bottom: 1px solid var(--c-line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats__item { padding: 64px 32px 56px; display: flex; flex-direction: column; gap: 4px; }
.stats__item:first-child { padding-left: 0; }
.stats__item:last-child { padding-right: 0; }
.stats__item + .stats__item { border-left: 1px solid var(--c-line); }
.stats__label { font-size: 13px; color: var(--c-text-note); }
.stats__value {
  font-family: var(--f-en);
  font-weight: 300;
  font-size: clamp(52px, 5vw, 72px);
  line-height: 1.05;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.stats__value small { margin-left: 6px; font-size: 22px; }
.stats__item:first-child .stats__value > span { color: var(--c-amber); }
.stats__note { padding-bottom: 32px; font-size: 11px; color: var(--c-text-note); }

/* Concept / Mission text */
.split--concept { padding-top: 160px; padding-bottom: 160px; }
.concept__body { display: flex; flex-direction: column; gap: 32px; }
.concept__title {
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(30px, 3.4vw, 48px);
  line-height: 1.6;
  letter-spacing: 0.06em;
}
.concept__title--company { letter-spacing: 0.08em; }
.section--company .split, .section--company .section__inner { padding-top: 128px; padding-bottom: 128px; }

/* Statement band */
.statement { position: relative; min-height: 420px; overflow: hidden; display: flex; align-items: center; }
.statement__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.statement__bg.is-pos-40 { object-position: 50% 40%; }
.statement__bg.is-gray-soft { filter: grayscale(0.4); }
.statement__shade { position: absolute; inset: 0; background: rgba(11, 15, 23, 0.58); }
.statement__text {
  position: relative;
  font-family: var(--f-serif);
  font-weight: 300;
  font-size: clamp(32px, 4.4vw, 64px);
  line-height: 1.5;
  letter-spacing: 0.1em;
}

/* Asymmetric feature grid (Positions / Jobs) */
.feature-grid { display: flex; flex-wrap: wrap; gap: 24px; }
.feature-grid__big {
  flex: 2 1 520px;
  position: relative;
  min-height: 440px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.feature-grid__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); }
.feature-grid__shade { position: absolute; inset: 0; background: rgba(11, 15, 23, 0.6); }
.feature-grid__big-body { position: relative; padding: 48px; display: flex; flex-direction: column; gap: 14px; }
.feature-grid__big-title { font-family: var(--f-serif); font-weight: 300; font-size: 36px; line-height: 1.5; }
.feature-grid__side { flex: 1 1 320px; display: flex; flex-direction: column; gap: 24px; }
.feature-grid__card {
  flex: 1 1 auto;
  padding: 40px 36px;
  border: 1px solid var(--c-line-strong);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feature-grid__title { font-family: var(--f-serif); font-weight: 400; font-size: 22px; line-height: 1.5; }

/* Reasons */
.reasons { border-top: 1px solid var(--c-line-strong); }
.reasons__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 16px 56px;
  padding: 44px 0;
  border-bottom: 1px solid var(--c-line-strong);
}
.reasons__num { width: 140px; font-family: var(--f-en); font-weight: 300; font-size: 96px; line-height: 1; color: var(--c-amber); }
.reasons__title { flex: 1 1 320px; font-family: var(--f-serif); font-weight: 300; font-size: 28px; line-height: 1.6; }
.reasons__text { flex: 1 1 420px; }

/* Cases */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.case-card {
  background: var(--c-bg);
  border-top: 3px solid var(--c-amber);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.case-card--alt { background: var(--c-bg-alt); gap: 20px; }
.case-card__role { font-family: var(--f-en); font-weight: 300; font-size: 40px; line-height: 1.1; }
.case-card__title { font-family: var(--f-serif); font-weight: 400; font-size: 20px; line-height: 1.6; }
.case-card__title--sm { font-size: 19px; }
.case-card__salary { display: flex; align-items: baseline; gap: 8px; }
.case-card__salary-num { font-family: var(--f-en); font-weight: 300; font-size: 44px; line-height: 1; color: var(--c-amber); }

/* Voices */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice-grid--2 { grid-template-columns: repeat(2, 1fr); }
.voice-grid--1 { grid-template-columns: 1fr; width: 100%; }
.voice { margin: 0; padding: 48px 40px; display: flex; flex-direction: column; gap: 22px; }
.voice--outline { border: 1px solid var(--c-line-strong); }
.voice--filled { background: var(--c-bg); }
.voice--lg { padding: 56px 48px; gap: 24px; }
.voice__quote { font-family: var(--f-serif); font-weight: 300; font-size: 88px; line-height: 0.6; color: var(--c-amber); }
.voice--lg .voice__quote { font-size: 96px; }
.voice blockquote { margin: 0; font-family: var(--f-serif); font-weight: 400; font-size: 19px; line-height: 1.8; }
.voice--lg blockquote { font-size: 22px; }
.voice figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--c-text-sub);
  font-size: 13px;
}
.voice--lg figcaption { font-size: 14px; }
.voice figcaption .tag { color: var(--c-text); border-color: rgba(255, 255, 255, 0.5); }

/* Advisors (service/agent/advisors) */
.advisor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.advisor { display: flex; gap: 32px; padding: 40px 36px; background: var(--c-bg-alt); border-top: 3px solid var(--c-amber); }
.advisor__photo { flex: 0 0 168px; aspect-ratio: 4 / 5; align-self: flex-start; display: grid; place-items: center; overflow: hidden; background: linear-gradient(160deg, #1d2638, #0b1019); border: 1px solid var(--c-line); }
.advisor__photo img { width: 100%; height: 100%; object-fit: cover; }
.advisor__initials { font-family: var(--f-serif); font-weight: 300; font-size: 56px; color: var(--c-amber); }
.advisor__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.advisor__name { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-family: var(--f-serif); font-weight: 400; font-size: 26px; line-height: 1.4; }
.advisor__roman { font-family: var(--f-en); font-weight: 300; font-size: 14px; letter-spacing: 0.1em; color: var(--c-text-note); }
.advisor__message { margin: 4px 0 0; padding-top: 18px; border-top: 1px solid var(--c-line); font-family: var(--f-serif); font-size: 16px; line-height: 1.9; }
.voice figcaption .tag--amber { color: var(--c-bg); border-color: var(--c-amber); }

/* Mid CTA */
.mid-cta { background: var(--c-amber); color: var(--c-bg); }
.mid-cta__inner {
  padding-top: 72px;
  padding-bottom: 72px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.mid-cta__text { display: flex; flex-direction: column; gap: 6px; }
.mid-cta__title { font-family: var(--f-serif); font-weight: 300; font-size: 30px; line-height: 1.5; }
.mid-cta .btn--dark { letter-spacing: 0.1em; }

/* Flow */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.flow__step { padding: 32px 28px; border: 1px solid var(--c-line-strong); display: flex; flex-direction: column; gap: 12px; }
.flow__title { font-weight: 500; font-size: 18px; line-height: 1.5; }

/* FAQ */
.faq__list { margin: 0; border-top: 1px solid var(--c-line-strong); }
.faq__item { padding: 28px 0; border-bottom: 1px solid var(--c-line-strong); display: flex; flex-direction: column; gap: 10px; }
.faq__item dt { font-weight: 500; font-size: 16px; }
.faq__item dd { margin: 0; }
.faq__mark { margin-right: 14px; font-family: var(--f-en); }

/* For companies (Agent) */
.for-companies__inner {
  padding-top: 120px;
  padding-bottom: 120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 32px 80px;
}
.for-companies__text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 16px; }

/* Contact band on the detail pages has more room */
.svc-hero ~ .contact-cta .contact-cta__inner { padding-top: 120px; padding-bottom: 120px; }
.svc-hero ~ .contact-cta .cta-card { min-width: 260px; }

/* Other service */
.other-service__inner { padding-top: 120px; padding-bottom: 120px; }
.other-service__card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.other-service__card:hover { color: var(--c-text); }
.other-service__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: transform 0.8s ease; }
.other-service__card:hover .other-service__bg { transform: scale(1.03); }
.other-service__shade { position: absolute; inset: 0; background: rgba(11, 15, 23, 0.7); }
.other-service__body {
  position: relative;
  padding: 56px 64px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.other-service__titles { display: flex; flex-direction: column; gap: 10px; }
.other-service__name { font-family: var(--f-en); font-weight: 300; font-size: 48px; line-height: 1.1; }
.other-service__card:hover .link-en { color: var(--c-amber); }

@media (max-width: 1023px) {
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__item, .stats__item:first-child, .stats__item:last-child { padding: 40px 24px 32px; }
  .stats__item:nth-child(odd) { padding-left: 0; border-left: 0; }
  .stats__item:nth-child(n + 3) { border-top: 1px solid var(--c-line); }
  .card-grid, .voice-grid, .voice-grid--2, .voice-grid--1 { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .advisor { flex-direction: column; gap: 24px; }
}

@media (max-width: 767px) {
  .svc-hero { min-height: 640px; }
  .svc-hero__top { padding-top: 32px; }
  .svc-hero__body { padding-bottom: 56px; gap: 32px; }
  .svc-hero__name { font-size: 52px; }
  .svc-hero__sub { font-size: 17px; letter-spacing: 0.08em; }
  .svc-hero__catch { margin-top: 8px; font-size: 24px; }
  .svc-hero__ctas { min-width: 0; width: 100%; }
  .svc-hero__ctas .btn { text-align: center; }
  .stats__value { font-size: 44px; }
  .stats__value small { font-size: 16px; }
  .stats__item, .stats__item:first-child, .stats__item:last-child { padding: 32px 12px 24px; }
  .stats__item:nth-child(odd) { padding-left: 0; }
  .split--concept { padding-top: var(--section-y); padding-bottom: var(--section-y); }
  .section--company .split, .section--company .section__inner { padding-top: var(--section-y); padding-bottom: var(--section-y); }
  .concept__title { font-size: 24px; }
  .statement { min-height: 320px; }
  .statement__text { font-size: 26px; }
  .feature-grid__big { flex-basis: 100%; min-height: 380px; }
  .feature-grid__big-body { padding: 32px 24px; }
  .feature-grid__big-title { font-size: 28px; }
  .feature-grid__side { flex-basis: 100%; gap: 16px; }
  .feature-grid__card { padding: 28px 24px; }
  .reasons__row { padding: 32px 0; gap: 12px; }
  .reasons__num { width: auto; font-size: 56px; }
  .reasons__title { flex-basis: 100%; font-size: 22px; }
  .reasons__text { flex-basis: 100%; }
  .case-card { padding: 32px 24px; }
  .advisor-grid { grid-template-columns: 1fr; }
  .advisor { flex-direction: column; gap: 24px; padding: 32px 24px; }
  .advisor__photo { flex-basis: auto; width: 140px; }
  .advisor__name { font-size: 22px; }
  .voice, .voice--lg { padding: 36px 24px; }
  .voice--lg blockquote, .voice blockquote { font-size: 17px; }
  .mid-cta__inner { padding-top: 56px; padding-bottom: 56px; }
  .mid-cta__title { font-size: 22px; }
  .mid-cta .btn--dark { width: 100%; padding: 18px 20px; text-align: center; }
  .flow { grid-template-columns: 1fr; gap: 12px; }
  .flow__step { padding: 24px; }
  .for-companies__inner { padding-top: 72px; padding-bottom: 72px; }
  .for-companies__inner .btn { width: 100%; text-align: center; }
  .svc-hero ~ .contact-cta .contact-cta__inner { padding-top: 72px; padding-bottom: 72px; }
  .svc-hero ~ .contact-cta .cta-card { min-width: 0; }
  .other-service__inner { padding-top: 72px; padding-bottom: 72px; padding-left: 0; padding-right: 0; }
  .other-service__card { min-height: 280px; }
  .other-service__body { padding: 40px var(--gutter); }
  .other-service__name { font-size: 36px; }
}

/* ==========================================================================
   Company (page-company.php)
   ========================================================================== */
.local-nav { border-bottom: 1px solid var(--c-line); }
.local-nav__inner { display: flex; flex-wrap: wrap; gap: 0 40px; font-size: 14px; }
.local-nav__inner a { padding: 22px 0; }

/* Top message: text only (no portrait), laid out like the other company sections (.split). */
.message__body { display: flex; flex-direction: column; gap: 32px; }
.message__title { font-family: var(--f-serif); font-weight: 300; font-size: 34px; line-height: 1.6; }
.message__text { max-width: 46em; line-height: 2.2; display: flex; flex-direction: column; gap: 1.2em; }
.message__text p { margin: 0; }
.message__sign { margin-top: 8px; display: flex; align-items: baseline; gap: 16px; }
.message__name { font-family: var(--f-serif); font-weight: 300; font-size: 24px; letter-spacing: 0.2em; }

.section__inner--access { gap: 48px; }
.access-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.access { display: flex; flex-direction: column; gap: 16px; }
.access__map { aspect-ratio: 16 / 9; }
.access__map iframe { width: 100%; height: 100%; border: 0; }
.access__name { font-weight: 500; font-size: 18px; }

@media (max-width: 767px) {
  .local-nav__inner { flex-wrap: nowrap; gap: 0 20px; overflow-x: auto; scrollbar-width: none; }
  .local-nav__inner a { flex: none; padding: 16px 0; white-space: nowrap; }
  .message__body { gap: 24px; }
  .message__title { font-size: 24px; }
  .access-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   News / blog
   ========================================================================== */
.section--news-list .news-archive { padding-top: 96px; padding-bottom: var(--section-y); display: flex; flex-direction: column; gap: 40px; }
.news-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.news-cats .chip-link { padding: 6px 16px; font-size: 13px; }

.pagination { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-family: var(--f-en); }
.pagination .page-numbers,
.pagination .post-page-numbers {
  min-width: 44px;
  height: 44px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--c-line-strong);
}
.pagination .current { border-color: var(--c-amber); color: var(--c-amber); }
.pagination .dots { border-color: transparent; }
.pagination a:hover { border-color: var(--c-amber); }

.post-head { border-bottom: 1px solid var(--c-line); }
.post-head__inner { padding-top: 96px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 20px; }
.post-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-family: var(--f-en); color: var(--c-text-sub); }
.post-head__meta .tag { font-family: var(--f-body); }
.post-head__title { font-family: var(--f-serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.6; letter-spacing: 0.04em; }
.post-body { padding-top: 64px; padding-bottom: var(--section-y); }
.post-body__thumb { margin: 0 0 48px; }
.post-body__thumb img { width: 100%; height: auto; }

.post-nav {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--c-line-strong);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 24px;
  font-size: 14px;
}
.post-nav__next { text-align: right; }
.post-nav__index { padding: 10px 24px; border: 1px solid var(--c-line-strong); }
.post-nav__index:hover { border-color: var(--c-amber); }

.section--page .container { padding-top: 80px; padding-bottom: var(--section-y); }
.recruit .def-list { margin-bottom: 48px; }
.recruit .entry-content { margin-bottom: 48px; }
.contact-form { margin-top: 24px; }

@media (max-width: 767px) {
  .section--news-list .news-archive { padding-top: 56px; }
  .post-head__inner { padding-top: 56px; padding-bottom: 40px; }
  .post-body { padding-top: 40px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav__next { text-align: left; }
  .post-nav__index { justify-self: start; }
  .section--page .container { padding-top: 48px; }
}

/* ==========================================================================
   Block editor content (posts / generic pages)
   ========================================================================== */
.entry-content { font-size: 16px; line-height: 2; color: var(--c-text-light); }
.entry-content > * + * { margin-top: 1.6em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 {
  margin-top: 2.6em;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-line-strong);
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.6;
  color: var(--c-text);
}
.entry-content h3 {
  margin-top: 2.2em;
  padding-left: 14px;
  border-left: 2px solid var(--c-amber);
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  color: var(--c-text);
}
.entry-content h4 { margin-top: 2em; font-size: 17px; font-weight: 500; color: var(--c-text); }
.entry-content a { color: var(--c-amber); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: #ECBA7C; }
.entry-content strong { color: var(--c-text); font-weight: 500; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li + li { margin-top: 0.4em; }
.entry-content li::marker { color: var(--c-amber); }
.entry-content img { height: auto; }
.entry-content figure { margin-left: 0; margin-right: 0; }
.entry-content figcaption, .entry-content .wp-element-caption { margin-top: 8px; font-size: 13px; color: var(--c-text-note); }
.entry-content blockquote {
  margin-left: 0;
  margin-right: 0;
  padding: 24px 28px;
  border-left: 2px solid var(--c-amber);
  background: var(--c-bg-alt);
}
.entry-content blockquote p { margin: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15px; }
.entry-content th, .entry-content td { padding: 14px 16px; border: 1px solid var(--c-line-strong); text-align: left; vertical-align: top; }
.entry-content th { background: var(--c-bg-alt); font-weight: 500; color: var(--c-text); }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content hr { border: 0; border-top: 1px solid var(--c-line-strong); }
.entry-content .wp-block-button__link { padding: 16px 36px; border-radius: 0; background: var(--c-amber); color: var(--c-bg); text-decoration: none; font-weight: 500; }
.entry-content .wp-block-embed iframe { max-width: 100%; }

@media (max-width: 767px) {
  .entry-content { font-size: 15px; }
  .entry-content h2 { font-size: 20px; }
  .entry-content h3 { font-size: 18px; }
}

/* ==========================================================================
   Contact Form 7
   ========================================================================== */
.wpcf7 { font-size: 15px; }
.wpcf7 p { margin: 0 0 24px; }
.wpcf7 label { display: block; color: var(--c-text-sub); }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  border: 1px solid var(--c-line-strong);
  border-radius: 0;
  background: var(--c-bg-alt);
  color: var(--c-text);
  font: inherit;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { outline: none; border-color: var(--c-amber); }
.wpcf7 .wpcf7-list-item { display: block; margin: 8px 0 0; }
.wpcf7 input[type="radio"], .wpcf7 input[type="checkbox"] { margin-right: 8px; accent-color: var(--c-amber); }
.wpcf7 input[type="file"] { margin-top: 8px; color: var(--c-text-sub); }
.wpcf7 input[type="submit"] {
  padding: 18px 56px;
  border: 0;
  border-radius: 0;
  background: var(--c-amber);
  color: var(--c-bg);
  font: inherit;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.wpcf7 input[type="submit"]:hover { background: #ECBA7C; }
.wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: #F0A0A0; }
.wpcf7 form .wpcf7-response-output { margin: 24px 0 0; padding: 14px 16px; border-color: var(--c-amber); }
