@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700;800&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Noto+Sans+JP:wght@300;400;500;600;700&display=swap');

/* ===== Design tokens ===== */
:root {
  --navy-deep: #0a1220;
  --navy: #101c30;
  --navy-mid: #16233c;
  --navy-line: rgba(201, 162, 39, 0.25);
  --gold: #c9a227;
  --gold-light: #e6c766;
  --gold-soft: rgba(201, 162, 39, 0.12);
  --cream: #f7f4ec;
  --cream-dim: #efe9db;
  --ink: #191712;
  --ink-soft: #55503f;
  --white: #ffffff;

  --font-display: "Shippori Mincho", serif;
  --font-en: "Cormorant Garamond", serif;
  --font-body: "Noto Sans JP", sans-serif;

  --max-w: 1120px;
  --gutter: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.02em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.eyebrow-lg {
  font-size: 30px;
  color: #8a6c14;
}

/* ===== Compass divider — signature motif ===== */
.compass-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto;
  width: 100%;
  max-width: 420px;
}
.compass-divider .line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.compass-divider svg { flex-shrink: 0; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 242, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(25, 23, 18, 0.09);
  box-shadow: 0 1px 0 rgba(25, 23, 18, 0.02);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img.mark { height: 55px; width: auto; }
.brand img.wordmark { height: 132px; width: auto; }

nav.main-nav { display: flex; align-items: center; gap: 40px; }
nav.main-nav a {
  color: var(--ink);
  font-size: 14.5px;
  letter-spacing: 0.06em;
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
}
nav.main-nav a:hover { color: var(--gold); }
nav.main-nav a.current { color: var(--gold); }
nav.main-nav a.current::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--gold);
}
.nav-cta {
  border: 1px solid var(--gold);
  padding: 9px 22px !important;
  border-radius: 2px;
  font-size: 13.5px !important;
  color: var(--ink) !important;
}
.nav-cta:hover { background: var(--gold); color: var(--navy-deep) !important; }

.nav-toggle { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  overflow: hidden;
}
.hero-bg-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
}
.hero-photo-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(90deg,
    rgba(10,18,32,0.94) 0%,
    rgba(10,18,32,0.82) 32%,
    rgba(10,18,32,0.35) 58%,
    rgba(10,18,32,0.08) 72%,
    rgba(10,18,32,0) 85%);
}
/* HERO-FIX-10 */
.hero .wrap {
  position: relative;
  z-index: 3;
  min-height: 520px;
  display: flex;
  align-items: flex-start;
  padding-top: 0px;
  padding-bottom: 48px;
}
.hero-copy {
  margin-top: -140px;
}
.hero-copy { max-width: 700px; }
.hero-copy h1 {
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.5;
  color: var(--white);
}
.hero-copy h1 .accent { color: var(--gold); white-space: nowrap; }
.hero-copy p.lead {
  margin-top: 26px;
  font-size: 16.5px;
  color: rgba(247, 244, 236, 0.82);
  max-width: 620px;
  line-height: 2;
}
.hero-actions { margin-top: 40px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 14.5px;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: all .25s ease;
  border: 1px solid var(--gold);
}
.btn-solid { background: var(--gold); color: var(--navy-deep); }
.btn-solid:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-outline { color: var(--white); }
.btn-outline:hover { background: rgba(201,162,39,0.12); }

.hero-visual { position: relative; }
.hero-visual .frame {
  position: relative;
  border: 1px solid var(--navy-line);
  padding: 14px;
}
.hero-visual img { width: 100%; height: auto; display: block; }
.hero-visual .frame::before,
.hero-visual .frame::after {
  content: "";
  position: absolute;
  width: 30px; height: 30px;
  border: 1px solid var(--gold);
}
.hero-visual .frame::before { top: -8px; left: -8px; border-right: none; border-bottom: none; }
.hero-visual .frame::after { bottom: -8px; right: -8px; border-left: none; border-top: none; }

.hero-bg-mark {
  position: absolute;
  right: -8%;
  top: -18%;
  width: 620px;
  opacity: 0.05;
  z-index: 1;
  pointer-events: none;
}

/* ===== Page hero (inner pages) ===== */
.page-hero {
  background: var(--navy-deep);
  color: var(--white);
  padding: 108px 0 64px;
  position: relative;
  overflow: hidden;
}
.page-hero .eyebrow { color: var(--gold-light); }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 3.6vw, 42px); line-height: 1.6; }
.page-hero h1 .accent { color: var(--gold); white-space: nowrap; }
.page-hero p { margin-top: 18px; color: rgba(247,244,236,0.78); max-width: 62ch; font-size: 15.5px; }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1.55fr 0.45fr;
  gap: 40px;
  align-items: center;
}
.page-hero-split h1 { font-size: clamp(28px, 3.1vw, 37px); }
.page-hero-split .page-hero-copy p { max-width: none; }
.page-hero-visual { max-width: 280px; margin: 0 auto; }
.page-hero-visual .frame { margin: 0; }

/* ===== Profile photo hero (index.html PROFILE section) ===== */
.profile-hero-photo {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  padding: 0;
  overflow: hidden;
}
.profile-hero-photo-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  background-image: url('../images/profile-compass-bg.jpg');
  background-repeat: no-repeat;
  background-size: 148% auto;
  background-position: 100% center;
  z-index: 1;
}
.profile-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--navy-deep) 0%,
    var(--navy-deep) 36%,
    rgba(10, 18, 32, 0.55) 50%,
    rgba(10, 18, 32, 0) 66%);
  z-index: 2;
}
.profile-hero-photo-grid {
  position: relative;
  z-index: 3;
  padding: 112px 0;
}
.profile-hero-photo-text { max-width: 640px; }
.profile-hero-photo-text .eyebrow { color: var(--gold-light); }
.profile-hero-photo-text h2 { color: var(--white); font-size: clamp(26px, 3vw, 34px); line-height: 1.6; }
.profile-hero-photo-text p { margin-top: 20px; color: rgba(247,244,236,0.78); font-size: 15.5px; }
.profile-hero-photo-text .btn-outline { border-color: var(--gold); color: var(--white); }
@media (max-width: 860px) {
  .profile-hero-photo-img { position: static; width: 100%; height: 260px; }
  .profile-hero-photo::before { display: none; }
  .profile-hero-photo-grid { padding: 48px 0; }
  .profile-hero-photo-text { max-width: none; }
}

/* ===== Results photo hero (results.html page-hero) ===== */
.results-hero-photo {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  padding: 0;
  overflow: hidden;
}
.results-hero-photo-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  background-image: url('../images/results-hero-bg.jpg');
  background-repeat: no-repeat;
  background-size: 180% auto;
  background-position: 100% 32%;
  z-index: 1;
}
.results-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--navy-deep) 0%,
    var(--navy-deep) 36%,
    rgba(10, 18, 32, 0.55) 50%,
    rgba(10, 18, 32, 0) 66%);
  z-index: 2;
}
.results-hero-photo-grid {
  position: relative;
  z-index: 3;
  padding: 112px 0;
}
.results-hero-photo-text { max-width: 580px; }
.results-hero-photo-text .eyebrow { color: var(--gold-light); }
.results-hero-photo-text h1 { color: var(--white); }
.results-hero-photo-text p { color: rgba(247,244,236,0.78); }
@media (max-width: 860px) {
  .results-hero-photo-img { position: static; width: 100%; height: 260px; }
  .results-hero-photo::before { display: none; }
  .results-hero-photo-grid { padding: 48px 0; }
  .results-hero-photo-text { max-width: none; }
}

/* ===== Profile page hero photo (profile.html page-hero) ===== */
.profile-page-hero-photo {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  padding: 0;
  overflow: hidden;
}
.profile-page-hero-photo-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  background-image: url('../images/profile-page-hero-bg.jpg');
  background-repeat: no-repeat;
  background-size: 130% auto;
  background-position: 70% center;
  z-index: 1;
}
.profile-page-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--navy-deep) 0%,
    var(--navy-deep) 36%,
    rgba(10, 18, 32, 0.55) 50%,
    rgba(10, 18, 32, 0) 66%);
  z-index: 2;
}
.profile-page-hero-photo-grid {
  position: relative;
  z-index: 3;
  padding: 112px 0;
}
.profile-page-hero-photo-text { max-width: 580px; }
.profile-page-hero-photo-text .eyebrow { color: var(--gold-light); }
.profile-page-hero-photo-text h1 { color: var(--white); }
.profile-page-hero-photo-text p { color: rgba(247,244,236,0.78); }
@media (max-width: 860px) {
  .profile-page-hero-photo-img { position: static; width: 100%; height: 260px; }
  .profile-page-hero-photo::before { display: none; }
  .profile-page-hero-photo-grid { padding: 48px 0; }
  .profile-page-hero-photo-text { max-width: none; }
}

/* ===== Contact photo hero (contact.html page-hero) ===== */
.contact-hero-photo {
  position: relative;
  background: var(--navy-deep);
  color: var(--white);
  padding: 0;
  overflow: hidden;
}
.contact-hero-photo-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  background-image: url('../images/contact-hero-bg.jpg');
  background-repeat: no-repeat;
  background-size: 140% auto;
  background-position: 60% center;
  z-index: 1;
}
.contact-hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--navy-deep) 0%,
    var(--navy-deep) 36%,
    rgba(10, 18, 32, 0.55) 50%,
    rgba(10, 18, 32, 0) 66%);
  z-index: 2;
}
.contact-hero-photo-grid {
  position: relative;
  z-index: 3;
  padding: 32px 0;
}
.contact-hero-photo-text { max-width: 620px; }
.contact-hero-photo-text .eyebrow { color: var(--gold-light); }
.contact-hero-photo-text h1 { color: var(--white); }
.contact-hero-photo-text p { color: rgba(247,244,236,0.78); }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(201, 162, 39, 0.25);
}
.trust-item {
  display: flex;
  align-items: center;
  font-size: 14.5px;
  color: var(--white);
  margin-right: 28px;
  margin-bottom: 12px;
  white-space: nowrap;
}
.trust-item svg { flex: none; width: 18px; height: 18px; margin-right: 8px; }
@media (max-width: 860px) {
  .contact-hero-photo-img { position: static; width: 100%; height: 260px; }
  .contact-hero-photo::before { display: none; }
  .contact-hero-photo-grid { padding: 48px 0; }
  .contact-hero-photo-text { max-width: none; }
  .trust-row { flex-direction: column; gap: 12px; }
}

/* ===== Sections ===== */
section { padding: 96px 0; }
section.section-tight-top { padding-top: 8px; }
section.section-tight-bottom { padding-bottom: 24px; }
section.on-navy { background: var(--navy-deep); color: var(--white); }
section.on-cream-dim { background: var(--cream-dim); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(26px, 3vw, 34px); line-height: 1.6; }
.on-navy .section-head h2 { color: var(--white); }
.section-head p { margin-top: 18px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.9; }
.on-navy .section-head p { color: rgba(247,244,236,0.78); }
.on-navy .section-head p.eyebrow { color: var(--gold); }

/* ===== Values row (5 values) ===== */
.values-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--navy-line);
}
.value-item {
  padding: 40px 18px;
  text-align: center;
  border-right: 1px solid var(--navy-line);
}
.value-item:last-child { border-right: none; }
.value-item .vicon { display: block; margin: 0 auto 20px; height: 44px; width: auto; }
.value-item h3 { color: var(--white); font-size: 18px; letter-spacing: 0.12em; }
.value-item p { margin-top: 12px; font-size: 13.5px; color: rgba(247,244,236,0.68); line-height: 1.85; }

/* ===== Values row (photo-based, brand board style) ===== */
.values-row-photo {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--navy-line);
}
.value-photo-card {
  border-right: 1px solid var(--navy-line);
  background: var(--navy-deep);
}
.value-photo-card:last-child { border-right: none; }
.value-photo-card .value-photo {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.value-photo-card .value-info {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px;
}
.value-photo-card .value-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.value-photo-card .value-titles {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.value-photo-card .value-jp {
  color: var(--white);
  font-size: 16px;
  letter-spacing: 0.06em;
}
.value-photo-card .value-en {
  font-family: var(--font-en);
  font-style: italic;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.08em;
}

/* ===== Two column feature ===== */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-grid > * { min-width: 0; }
.feature-grid.reverse .feature-media { order: 2; }
.feature-media img { border: 1px solid var(--cream-dim); width: 100%; height: auto; display: block; }
.feature-text .eyebrow { color: var(--gold); }
.feature-text h2 { font-size: 26px; line-height: 1.7; }
.feature-text p { margin-top: 20px; color: var(--ink-soft); font-size: 15.5px; }
.origin-compact p { line-height: 1.6; margin-top: 15px; }
.feature-text-full { max-width: none; }

/* ===== Brand visual panels (replace person photography) ===== */
.media-panel {
  background: var(--white);
  border: 1px solid var(--cream-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 40px;
  min-height: 300px;
  text-align: center;
}
.media-panel.on-navy-panel { background: var(--navy-deep); border-color: var(--navy-line); }
.media-panel.media-panel-flat { background: transparent; border: none; }
.media-panel .panel-mark { width: 132px; height: auto; border: none; }
.media-panel .panel-mark.panel-mark-lg { width: 264px; }
.media-panel .panel-logotype { margin-top: 22px; width: 220px; height: auto; border: none; }
.media-panel .panel-caption {
  margin-top: 22px;
  font-family: var(--font-en);
  font-style: italic;
  color: #8a6c14;
  font-size: 26px;
  letter-spacing: 0.14em;
}
.media-panel .stat-num {
  font-family: var(--font-en);
  font-style: italic;
  color: var(--gold);
  font-size: 76px;
  line-height: 1;
}
.media-panel .stat-num .stat-unit {
  font-family: var(--font-body);
  font-style: normal;
  color: var(--ink);
  font-size: 26px;
  margin-left: 6px;
}
.media-panel .stat-label {
  margin-top: 20px;
  font-size: 13.5px;
  color: var(--ink-soft);
  max-width: 220px;
  line-height: 1.8;
}
.media-panel .compass-large { width: 64px; height: 64px; }
.media-panel .panel-list {
  width: 100%;
  max-width: 260px;
  text-align: left;
  margin-top: 6px;
}
.media-panel .panel-list li {
  list-style: none;
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--cream-dim);
  font-size: 14px;
  color: var(--ink-soft);
}
.media-panel .panel-list li:first-child { border-top: none; }
.media-panel .panel-list .n { font-family: var(--font-en); font-style: italic; color: var(--gold); font-size: 15px; }

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.card-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--cream-dim);
  padding: 40px 30px;
}
.card .num { font-family: var(--font-en); font-style: italic; color: var(--gold); font-size: 26px; }
.card h3 { margin-top: 14px; font-size: 19px; line-height: 1.6; }
.card p { margin-top: 14px; font-size: 14.5px; color: var(--ink-soft); }
.card .cat-icon { font-family: var(--font-en); font-style: italic; color: var(--gold); font-size: 13px; letter-spacing: 0.1em; }

/* ===== Case study blocks ===== */
.case {
  border-top: 1px solid var(--cream-dim);
  padding: 44px 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 34px;
}
.case:last-child { border-bottom: 1px solid var(--cream-dim); }
.case .case-index { font-family: var(--font-en); font-style: italic; color: var(--gold); font-size: 42px; line-height: 1; }
.case .case-industry { margin-top: 10px; font-size: 12.5px; letter-spacing: 0.06em; color: var(--ink-soft); }
.case h3 { font-size: 20px; line-height: 1.6; margin-bottom: 18px; }
.case dl { margin: 0; }
.case dt { font-family: var(--font-en); font-style: italic; color: var(--gold); font-size: 14px; margin-top: 16px; }
.case dt:first-child { margin-top: 0; }
.case dd { margin: 6px 0 0; color: var(--ink-soft); font-size: 15px; line-height: 1.85; }

/* ===== Timeline (process flow — genuinely sequential) ===== */
.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 1px; background: var(--navy-line); }
.on-cream .timeline::before, .timeline.on-light::before { background: var(--cream-dim); }
.t-item { position: relative; padding-bottom: 44px; }
.t-item:last-child { padding-bottom: 0; }
.t-item::before {
  content: "";
  position: absolute; left: -40px; top: 4px;
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--cream); border: 1px solid var(--gold);
}
.t-item h4 { font-size: 17px; margin-bottom: 8px; }
.t-item p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ===== Quote / pull ===== */
.pull {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.9;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.pull .gold { color: var(--gold); }

/* ===== Profile ===== */
.profile-hero {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: start;
}
.profile-photo { border: 1px solid var(--cream-dim); width: 100%; height: auto; display: block; }
.profile-name-en { font-family: var(--font-en); font-style: italic; color: var(--gold); font-size: 17px; letter-spacing: 0.06em; }
.profile-name { font-size: 30px; margin-top: 8px; }
.profile-role { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; }
.profile-lead { margin-top: 26px; font-size: 15.5px; color: var(--ink-soft); }

/* ===== CTA band ===== */
.cta-band {
  background: var(--navy-deep);
  color: var(--white);
  text-align: center;
  padding: 88px 0;
  position: relative;
}
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 32px); line-height: 1.7; }
.cta-band .btn-row { margin-top: 34px; display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }

/* ===== Form ===== */
.form-block {
  background: var(--white);
  border: 1px solid var(--cream-dim);
  padding: 48px;
}
.form-embed-note {
  border: 1px dashed var(--gold);
  padding: 28px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  background: var(--gold-soft);
}
.contact-form .field { margin-bottom: 24px; }
.contact-form label { display: block; font-size: 14.5px; color: var(--ink); margin-bottom: 8px; font-weight: 600; }
.contact-form label .req { color: #b5442e; font-size: 12px; margin-left: 6px; font-weight: 500; }
.contact-form label .opt { color: var(--ink-soft); font-size: 12px; margin-left: 6px; font-weight: 500; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--cream-dim);
  background: var(--cream);
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}
.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form .hp-field { position: absolute; left: -9999px; top: -9999px; }
.contact-form .form-submit { margin-top: 8px; text-align: center; }
.contact-form .form-submit .btn { width: 100%; max-width: 320px; }
.form-error {
  border: 1px solid #b5442e;
  background: #fbeceb;
  color: #8a2f1e;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 14.5px;
}
.contact-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.contact-method { border: 1px solid var(--cream-dim); padding: 26px 28px; }
.contact-method .label { font-family: var(--font-en); font-style: italic; color: var(--navy-deep); font-size: 26px; font-weight: 600; }
.contact-method .value { margin-top: 8px; font-size: 16px; }
.contact-method .value a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.contact-method .value a:hover { color: var(--gold); }

.legal-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.legal-table th, .legal-table td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--cream-dim); font-size: 14.5px; vertical-align: top; }
.legal-table th { width: 200px; color: var(--ink-soft); font-weight: 500; letter-spacing: 0.04em; }

/* ===== Service detail sections ===== */
.service-detail {
  scroll-margin-top: 100px;
  padding-top: 20px;
}
.service-detail .feature-grid {
  align-items: start;
  grid-template-columns: 0.62fr 1.38fr;
}
.service-lead {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.7;
  white-space: nowrap;
}
.on-navy .service-lead { color: var(--white); }
.detail-list {
  background: var(--white);
  border: 1px solid var(--cream-dim);
  padding: 40px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0 28px;
}
.detail-list .detail-col h4 {
  font-family: var(--font-en);
  font-style: italic;
  color: var(--gold);
  font-size: 14.5px;
  letter-spacing: 0.06em;
  margin: 26px 0 10px;
}
.detail-list .detail-col h4:first-child { margin-top: 0; }
.detail-list .detail-col ul { list-style: none; margin: 0 0 4px; padding: 0; }
.detail-list .detail-col ul li {
  padding: 9px 0;
  border-top: 1px solid var(--cream-dim);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.detail-list .detail-col:last-child ul li { white-space: nowrap; }
.detail-list .detail-col ul li:first-child { border-top: none; }

.note {
  font-size: 12.5px;
  color: var(--ink-soft);
  border-left: 2px solid var(--gold);
  padding-left: 16px;
  margin-top: 30px;
  line-height: 1.8;
  word-break: keep-all;
  overflow-wrap: normal;
}
.on-navy .note { color: rgba(247,244,236,0.65); }
.note-em { white-space: nowrap; }
.nowrap-word { white-space: nowrap; }

/* ===== Footer ===== */
footer.site-footer {
  background: var(--navy-deep);
  color: rgba(247,244,236,0.65);
  padding: 64px 0 32px;
  border-top: 1px solid var(--navy-line);
}
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 48px; padding-bottom: 44px; border-bottom: 1px solid var(--navy-line); }
.footer-brand img { height: 30px; margin-bottom: 18px; }
.footer-brand p { font-size: 13.5px; line-height: 1.9; max-width: 46ch; }
.footer-col h5 { color: var(--white); font-family: var(--font-body); font-weight: 500; font-size: 13.5px; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 13.5px; margin-bottom: 12px; color: rgba(247,244,236,0.65); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; font-size: 12px; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  nav.main-nav { display: none; }
  .service-detail .feature-grid { grid-template-columns: 1fr; }
  .detail-list { grid-template-columns: 1fr; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .page-hero-visual { max-width: 220px; }
  .service-lead { white-space: normal; }
  .hero .wrap { min-height: 460px; align-items: flex-start; padding-top: 32px; padding-bottom: 56px; }
  .hero-photo-overlay {
    background: linear-gradient(180deg,
      rgba(10,18,32,0.55) 0%,
      rgba(10,18,32,0.88) 55%,
      rgba(10,18,32,0.94) 100%);
  }
  .hero-bg-photo { object-position: 65% center; }
  .values-row { grid-template-columns: repeat(2, 1fr); }
  .value-item { border-right: none; border-bottom: 1px solid var(--navy-line); }
  .values-row-photo { grid-template-columns: repeat(2, 1fr); }
  .value-photo-card { border-right: none; border-bottom: 1px solid var(--navy-line); }
  .value-photo-card:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
  .note-em { white-space: normal; overflow-wrap: anywhere; }
  .note { word-break: normal; overflow-wrap: anywhere; }
  .note-br { display: none; }
  .br-desktop { display: none; }
  section { padding: 56px 0; }
  section.section-tight-top { padding-top: 8px; }
  section.section-tight-bottom { padding-bottom: 24px; }
  .media-panel { padding: 40px 24px; min-height: 220px; }
  .feature-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid.reverse .feature-media { order: initial; }
  .feature-grid.reverse .feature-text { order: -1; }
  .card-grid { grid-template-columns: 1fr; }
  .card-grid-4 { grid-template-columns: 1fr 1fr; }
  .case { grid-template-columns: 1fr; }
  .profile-hero { grid-template-columns: 1fr; }
  .profile-photo { max-width: 280px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .contact-methods { grid-template-columns: 1fr; }
  .legal-table th { width: 130px; }
}

@media (max-width: 560px) {
  .card-grid-4 { grid-template-columns: 1fr; }
}

.br-mobile { display: none; }
@media (max-width: 960px) {
  .br-mobile { display: inline; }
}

.br-phone { display: none; }
@media (max-width: 640px) {
  .br-phone { display: inline; }
}

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

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

/* ===== Fee page ===== */
.fee-intro-box {
  background: var(--white);
  border: 1px solid var(--cream-dim);
  border-left: 3px solid var(--gold);
  padding: 40px 44px;
  max-width: 880px;
  margin: 0 auto;
}
.fee-intro-box .fee-intro-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}
.fee-intro-box h3 { font-size: 20px; }
.fee-intro-box .fee-price { font-family: var(--font-en); font-style: italic; color: var(--gold); font-size: 20px; }
.fee-intro-box p { margin-top: 16px; font-size: 14.5px; color: var(--ink-soft); }
.fee-intro-nowrap { white-space: nowrap; }
@media (max-width: 950px) {
  .fee-intro-nowrap { white-space: normal; }
}
.fee-card .cat-icon { display: block; }
.fee-card .fee-price {
  display: block;
  margin-top: 12px;
  font-family: "Meiryo", "Hiragino Kaku Gothic ProN", var(--font-body), sans-serif;
  font-style: normal;
  font-weight: 600;
  color: var(--gold);
  font-size: 19px;
  letter-spacing: 0.01em;
}
.fee-card h3 { margin-top: 10px; }
.fee-card .fee-examples {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
}
.fee-card .fee-examples li {
  font-size: 14px;
  color: var(--ink-soft);
  padding: 8px 0;
  border-top: 1px solid var(--cream-dim);
}
.fee-card .fee-examples li:first-child { border-top: none; }
@media (max-width: 640px) {
  .fee-intro-box { padding: 32px 26px; }
}

/* ===== service.html OUR APPROACH (生成AI×40年の目利き) ===== */
.ai-approach-h2 { color: var(--white); font-size: clamp(28px, 3.1vw, 37px); line-height: 1.6; margin: 0; }
@media (max-width: 640px) {
  .ai-approach-h2 { font-size: 22px; line-height: 1.55; }
}

/* ===== fee.html 05 従業員教育・研修（幅広カード：他4枚の約1.5倍幅・中央寄せ） ===== */
.fee-card-wide { max-width: 340px; margin: 28px auto 0; }

/* ===== videos.html 再生リスト埋め込み ===== */
.video-embed { position: relative; width: 100%; max-width: 900px; margin: 0 auto; padding-top: 56.25%; border: 1px solid rgba(20,26,45,0.12); box-shadow: 0 20px 50px rgba(20,26,45,0.12); }
.video-embed iframe, .video-embed #video-player { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.mobile-only-btn { display: none; }
@media (max-width: 640px) {
  .mobile-only-btn { display: inline-block; }
}
.episode-picker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 900px; margin: 32px auto 0; }
@media (max-width: 860px) {
  .episode-picker { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .episode-picker { grid-template-columns: 1fr; }
}
.episode-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; font-family: inherit; padding: 14px 18px; border-radius: 6px; border: 1px solid rgba(20,26,45,0.15); background: var(--white); color: var(--ink); cursor: pointer; transition: all .2s ease; }
.episode-btn:hover { border-color: var(--gold); }
.episode-btn .ep-num { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); }
.episode-btn .ep-sub { font-size: 13.5px; line-height: 1.5; color: var(--ink); }
.episode-btn.active { background: var(--navy-deep); border-color: var(--navy-deep); }
.episode-btn.active .ep-num { color: var(--gold); }
.episode-btn.active .ep-sub { color: var(--white); }

/* redeploy trigger */
