@charset "UTF-8";
/* ==========================================================
   設備設計企画株式会社  main.css
   配色は名刺（A案）に合わせる：紺 #082951／赤 #e60020
   ========================================================== */

:root {
  --navy: #082951;
  --navy-2: #0e3668;
  --navy-deep: #051c3a;
  --blue: #2b6cb0;
  --blue-pale: #e8f0f8;
  --red: #e60020;
  --ink: #1a2638;
  --muted: #5b6878;
  --line: #dde3ea;
  --bg-soft: #f4f7fa;
  --white: #fff;

  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --en: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --container: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .03em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
address { font-style: normal; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 200; padding: 8px 16px; background: var(--navy); color: #fff; }
.skip-link:focus { top: 8px; }
:focus-visible { outline: 3px solid rgba(43, 108, 176, .55); outline-offset: 3px; }
.sp-only { display: none; }
@media (max-width: 767px) { .sp-only { display: inline; } .pc-only { display: none; } }

/* ---------- button ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .7em 1.6em;
  border: 1px solid transparent; border-radius: 2px;
  font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-decoration: none;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--line { border-color: var(--navy); color: var(--navy); background: #fff; }
.btn--line:hover { background: var(--navy); color: #fff; }
.btn--lg { min-height: 58px; padding-inline: 2em; font-size: 1rem; }

/* ---------- section heading ---------- */
.sec-head__en {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--en); font-weight: 600; font-size: .8rem; letter-spacing: .28em; color: var(--navy);
}
/* 名刺の「紺線＋赤の差し色」を見出しの罫線に */
.sec-head__en::before {
  content: ""; width: 44px; height: 2px;
  background: linear-gradient(90deg, var(--navy) 0 70%, var(--red) 70% 100%);
}
.sec-head__ja {
  margin-top: 10px;
  font-family: var(--serif); font-weight: 600; font-size: clamp(1.75rem, 3.4vw, 2.5rem); line-height: 1.4; letter-spacing: .08em; color: var(--navy);
}
.sec-head--white .sec-head__en, .sec-head--white .sec-head__ja { color: #fff; }
.sec-head--white .sec-head__en::before { background: linear-gradient(90deg, #fff 0 70%, var(--red) 70% 100%); }

.section { padding: clamp(80px, 11vw, 140px) 0; }
.section__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 24px 60px; align-items: end; margin-bottom: clamp(40px, 6vw, 64px); }
.section__lead { color: var(--muted); font-size: 1.02rem; }
@media (max-width: 900px) { .section__top { grid-template-columns: 1fr; } }

.sub-title {
  display: flex; align-items: center; gap: 16px;
  margin: 0 0 24px; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--navy); letter-spacing: .08em;
}
.sub-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
* + .sub-title { margin-top: clamp(56px, 8vw, 88px); }
.section__top + .sub-title { margin-top: 0; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px);
  transition: box-shadow .3s, height .3s;
}
.site-header.is-scrolled { box-shadow: 0 2px 20px rgba(8, 41, 81, .08); }
.site-header__inner { display: flex; align-items: center; height: 100%; padding-inline: clamp(16px, 3vw, 40px); gap: 24px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex-shrink: 0; }
.brand__mark { width: 48px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.25; }
.brand__ja { font-family: var(--serif); font-weight: 700; font-size: 1.28rem; letter-spacing: .1em; }
.brand__en { font-family: var(--en); font-weight: 500; font-size: .6rem; letter-spacing: .2em; margin-top: 3px; }
.brand--white { color: #fff; }

.gnav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); margin-left: auto; }
.gnav__list { display: flex; gap: clamp(16px, 2.2vw, 34px); }
.gnav__list a { display: flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1.3; position: relative; padding: 6px 0; }
.gnav__en { font-family: var(--en); font-weight: 600; font-size: .78rem; letter-spacing: .16em; color: var(--navy); }
.gnav__ja { font-size: .68rem; color: var(--muted); letter-spacing: .1em; }
.gnav__list a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 2px; background: var(--red); transition: width .3s var(--ease), left .3s var(--ease); }
.gnav__list a:hover::after, .gnav__list a.is-current::after { left: 0; width: 100%; }
.gnav__cta { display: flex; align-items: center; gap: 18px; }
.gnav__tel { display: flex; align-items: center; gap: 6px; font-family: var(--en); font-weight: 600; font-size: 1.05rem; color: var(--navy); text-decoration: none; letter-spacing: .04em; white-space: nowrap; }
.gnav__tel svg { width: 18px; height: 18px; fill: var(--navy); stroke: none; }
.gnav__contact { min-height: 44px; padding-inline: 1.4em; font-size: .88rem; }

.menu-btn { display: none; }

@media (max-width: 1180px) {
  .gnav__tel { display: none; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  /* backdrop-filter があると固定配置のメニューがヘッダー内に閉じ込められるため外す */
  .site-header { backdrop-filter: none; background: #fff; }
  .brand__mark { width: 40px; }
  .brand__ja { font-size: 1.08rem; }
  .brand__en { font-size: .52rem; }
  .menu-btn {
    display: grid; place-content: center; gap: 6px; margin-left: auto;
    width: 48px; height: 48px; border: 0; background: none; position: relative; z-index: 2;
  }
  .menu-btn__bar { width: 26px; height: 2px; background: var(--navy); transition: transform .3s, opacity .3s; }
  .menu-btn[aria-expanded="true"] .menu-btn__bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-btn__bar:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] .menu-btn__bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

  .gnav {
    position: fixed; inset: var(--header-h) 0 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px; background: #fff; overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .3s, transform .3s, visibility .3s;
  }
  .gnav.is-open { visibility: visible; opacity: 1; transform: none; }
  .gnav__list { flex-direction: column; gap: 0; }
  .gnav__list a { flex-direction: row; align-items: baseline; gap: 16px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
  .gnav__en { font-size: 1rem; min-width: 7.5em; }
  .gnav__ja { font-size: .85rem; }
  .gnav__list a::after { display: none; }
  .gnav__cta { flex-direction: column; align-items: stretch; margin-top: 28px; gap: 12px; }
  .gnav__tel { display: flex; justify-content: center; font-size: 1.4rem; padding: 10px; border: 1px solid var(--line); }
  .gnav__contact { min-height: 54px; }
  body.is-menu-open { overflow: hidden; }
}

/* 言語切り替え（JP / EN） */
.lang-switch { display: flex; align-items: center; font-family: var(--en); font-weight: 600; font-size: .74rem; letter-spacing: .1em; }
.lang-switch li + li::before { content: "/"; margin: 0 6px; color: var(--line); }
.lang-switch a { color: var(--muted); text-decoration: none; padding: 4px 2px; }
.lang-switch a:hover { color: var(--navy); }
.lang-switch a[aria-current] { color: var(--navy); border-bottom: 2px solid var(--red); }
@media (max-width: 960px) {
  .lang-switch { justify-content: center; margin-top: 8px; font-size: .9rem; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding-top: var(--header-h); overflow: hidden; background: #fff; }
.hero__visual { position: absolute; top: var(--header-h); right: 0; bottom: 72px; width: min(48vw, 720px); }
.hero__visual img { width: 100%; height: 100%; object-fit: cover; object-position: left bottom; }
.hero__visual::before { /* 左端を白へなじませる */
  content: ""; position: absolute; inset: 0 auto 0 0; width: 30%; background: linear-gradient(90deg, #fff, rgba(255,255,255,0)); z-index: 1;
}
.hero__inner { position: relative; z-index: 2; min-height: clamp(560px, 78vh, 760px); display: flex; flex-direction: column; justify-content: center; padding-block: 64px 120px; }
.hero__label { font-family: var(--en); font-weight: 600; font-size: .78rem; letter-spacing: .32em; color: var(--blue); }
.hero__title {
  margin-top: 22px;
  font-family: var(--serif); font-weight: 700; font-size: clamp(1.75rem, 3.6vw, 3.1rem); line-height: 1.55; letter-spacing: .06em; color: var(--navy);
}

.hero__title span { display: block; }
.hero__lead { margin-top: 28px; max-width: 34em; color: var(--ink); font-size: 1.02rem; line-height: 2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

.hero__services { position: relative; z-index: 2; background: var(--navy); color: #fff; }
.hero__services ul { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 44px; min-height: 72px; padding-block: 14px; }
.hero__services li { display: flex; align-items: baseline; gap: 10px; font-family: var(--serif); font-weight: 600; font-size: 1.12rem; letter-spacing: .12em; }
.hero__services .num { font-family: var(--en); font-size: .72rem; color: #ff6b7a; letter-spacing: .1em; }
.hero__services .hero__services-note { margin-left: auto; font-family: var(--sans); font-weight: 400; font-size: .85rem; letter-spacing: .06em; color: rgba(255,255,255,.75); }

@media (max-width: 900px) {
  .hero__visual { position: relative; top: auto; bottom: auto; width: 100%; height: 280px; margin-bottom: -40px; }
  .hero__visual::before { inset: auto 0 0 0; width: 100%; height: 45%; background: linear-gradient(0deg, #fff, rgba(255,255,255,0)); }
  .hero__visual img { object-position: 30% 70%; }
  .hero__inner { min-height: 0; padding-block: 0 64px; }
  .hero__services ul { gap: 6px 24px; }
  .hero__services .hero__services-note { margin-left: 0; width: 100%; }
}
@media (max-width: 767px) {
  .hero__actions .btn { width: 100%; }
  .hero__lead { font-size: .95rem; }
  .hero__title { font-size: 6vw; letter-spacing: .04em; }
}

/* ---------- message ---------- */
.message { background: #fff; }
.message__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); gap: 48px clamp(40px, 7vw, 100px); }
.message__head { position: relative; }
.message__catch { margin-top: 36px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.8; color: var(--navy); letter-spacing: .1em; }
@media (min-width: 901px) { .message__head { align-self: start; position: sticky; top: calc(var(--header-h) + 40px); } }
.message__body p + p { margin-top: 1.4em; }
.message__body { font-size: 1rem; line-height: 2.1; }
.message__sign { display: flex; align-items: flex-end; justify-content: flex-end; gap: 24px; margin-top: 3em !important; padding-top: 28px; border-top: 1px solid var(--line); }
.message__sign-title { font-size: .85rem; color: var(--muted); line-height: 1.7; text-align: right; }
.message__sign-name { font-family: var(--serif); font-weight: 600; font-size: 1.7rem; color: var(--navy); letter-spacing: .2em; line-height: 1.2; }
@media (max-width: 900px) { .message__inner { grid-template-columns: 1fr; } .message__catch { margin-top: 20px; } }

/* ---------- service ---------- */
.service { background: var(--bg-soft); }
.service__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.service-card { position: relative; display: flex; flex-direction: column; padding: 36px 32px 34px; background: #fff; border-top: 3px solid var(--navy); box-shadow: 0 10px 30px rgba(8, 41, 81, .06); }
.service-card::before { content: ""; position: absolute; top: -3px; right: 0; width: 22%; height: 3px; background: var(--red); }
.service-card__head { display: flex; align-items: flex-start; justify-content: space-between; }
.service-card__num { font-family: var(--en); font-weight: 500; font-size: 2.6rem; line-height: 1; color: var(--blue-pale); -webkit-text-stroke: 1px #b9cde2; }
.service-card__icon { width: 56px; height: 56px; color: var(--navy); }
.service-card__icon svg { width: 100%; height: 100%; stroke-width: 1.6; }
.service-card__en { margin-top: 26px; font-family: var(--en); font-weight: 600; font-size: .72rem; letter-spacing: .24em; color: var(--blue); }
.service-card__title { margin-top: 4px; font-family: var(--serif); font-weight: 600; font-size: 1.6rem; color: var(--navy); letter-spacing: .1em; }
.service-card__text { margin-top: 16px; font-size: .95rem; line-height: 1.95; color: var(--ink); }
.service-card__items { margin-top: auto; padding-top: 22px; }
.service-card__items li { position: relative; padding: 10px 0 10px 20px; border-top: 1px dashed var(--line); font-size: .9rem; line-height: 1.6; }
.service-card__items li::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 8px; border: 2px solid var(--navy); transform: rotate(45deg); border-width: 2px 2px 0 0; }
@media (max-width: 900px) { .service__list { grid-template-columns: 1fr; } .service-card__items { margin-top: 0; } }

.service__scope { display: grid; grid-template-columns: 180px 1fr; gap: 16px 40px; align-items: center; margin-top: 40px; padding: 32px 40px; background: #fff; border: 1px solid var(--line); }
.service__scope-title { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--navy); letter-spacing: .12em; }
.scope__row { display: flex; gap: 20px; align-items: baseline; padding: 8px 0; }
.scope__row + .scope__row { border-top: 1px solid var(--line); }
.scope dt { flex-shrink: 0; min-width: 6.5em; padding: 2px 12px; background: var(--navy); color: #fff; font-size: .85rem; font-weight: 500; text-align: center; letter-spacing: .1em; }
.scope dd { font-size: .95rem; }
@media (max-width: 767px) {
  .service__scope { grid-template-columns: 1fr; padding: 24px 20px; }
  .scope__row { flex-direction: column; gap: 8px; }
}

/* ---------- strength（紺地＋図面グリッド） ---------- */
.strength {
  color: #fff;
  background-color: var(--navy);
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
}
.strength .section__lead { color: rgba(255,255,255,.78); }

.team { display: grid; grid-template-columns: minmax(0, 1fr) 140px minmax(0, 1fr); align-items: stretch; }
.team__base { padding: 36px 40px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); }
.team__country { font-family: var(--en); font-weight: 600; font-size: .8rem; letter-spacing: .3em; color: #ff6b7a; }
.team__name { margin-top: 6px; font-family: var(--serif); font-weight: 600; font-size: 1.45rem; letter-spacing: .1em; }
.team__name span { margin-left: 14px; font-family: var(--sans); font-weight: 400; font-size: .82rem; color: rgba(255,255,255,.7); letter-spacing: .06em; }
.team__base ul { margin-top: 18px; }
.team__base li { padding: 10px 0 10px 24px; border-top: 1px solid rgba(255,255,255,.14); position: relative; font-size: .95rem; }
.team__base li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 8px; height: 8px; background: #fff; transform: translateY(-50%) rotate(45deg); }
.team__link { display: flex; align-items: center; justify-content: center; }
.team__link-line { flex: 1; height: 1px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.6) 0 6px, transparent 6px 12px); }
.team__link-label { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: var(--navy); font-family: var(--en); font-weight: 600; font-size: .78rem; letter-spacing: .16em; line-height: 1.4; text-align: center; box-shadow: 0 0 0 6px rgba(255,255,255,.06); }
@media (max-width: 900px) {
  .team { grid-template-columns: 1fr; }
  .team__link { flex-direction: column; height: 130px; }
  .team__link-line { width: 1px; height: auto; background: repeating-linear-gradient(0deg, rgba(255,255,255,.6) 0 6px, transparent 6px 12px); }
  .team__base { padding: 28px 24px; }
}

.points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 56px; }
.point { padding: 32px 30px; background: #fff; color: var(--ink); }
.point__num { font-family: var(--en); font-weight: 600; font-size: .74rem; letter-spacing: .2em; color: var(--red); }
.point__title { margin-top: 8px; font-family: var(--serif); font-weight: 600; font-size: 1.2rem; line-height: 1.6; color: var(--navy); letter-spacing: .06em; }
.point__text { margin-top: 12px; font-size: .92rem; line-height: 1.95; }
@media (max-width: 900px) { .points { grid-template-columns: 1fr; } }

.flow { margin-top: 72px; }
.flow__title { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; letter-spacing: .1em; margin-bottom: 24px; }
.flow__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.flow__step { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 20px 24px; border: 1px solid rgba(255,255,255,.22); background: rgba(5, 28, 58, .5); }
.flow__step:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -10px; z-index: 1; width: 8px; height: 8px; border: solid #fff; border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); }
.flow__num { font-family: var(--en); font-weight: 600; font-size: 1.4rem; line-height: 1; color: rgba(255,255,255,.4); }
.flow__step strong { font-size: 1rem; letter-spacing: .06em; }
.flow__desc { font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.75); }
@media (max-width: 900px) {
  .flow__list { grid-template-columns: 1fr; }
  .flow__step { display: grid; grid-template-columns: 44px 1fr; gap: 2px 12px; padding: 16px 18px; }
  .flow__num { grid-row: span 2; align-self: center; }
  .flow__step:not(:last-child)::after { top: auto; bottom: -11px; right: auto; left: 34px; transform: rotate(135deg); }
}

/* ---------- company ---------- */
.officers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.officer { position: relative; padding: 34px 36px 30px; border: 1px solid var(--line); background: linear-gradient(135deg, #fff 60%, var(--bg-soft)); }
.officer::before { content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px; width: 4px; background: linear-gradient(180deg, var(--navy) 0 75%, var(--red) 75% 100%); }
.officer__title { font-size: .88rem; color: var(--muted); letter-spacing: .12em; }
.officer__name { margin-top: 4px; font-family: var(--serif); font-weight: 600; font-size: 1.9rem; color: var(--navy); letter-spacing: .2em; line-height: 1.4; }
.officer__en { font-family: var(--en); font-weight: 500; font-size: .74rem; color: var(--muted); letter-spacing: .14em; }
.officer__btn {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 10px 12px 10px 18px;
  border: 1px solid var(--navy); background: #fff; color: var(--navy); font-weight: 700; font-size: .88rem; letter-spacing: .06em;
  transition: background-color .25s, color .25s;
}
.officer__btn-icon { display: grid; place-items: center; width: 24px; height: 24px; background: var(--navy); color: #fff; transition: background-color .25s, transform .3s var(--ease); }
.officer__btn-icon svg { width: 14px; height: 14px; stroke-width: 2.4; }
.officer__btn:hover { background: var(--navy); color: #fff; }
.officer__btn:hover .officer__btn-icon { background: var(--red); transform: rotate(90deg); }
@media (max-width: 767px) { .officers { grid-template-columns: 1fr; } .officer { padding: 26px 24px; } }

.info-table { border-top: 2px solid var(--navy); }
.info-table__row { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--line); }
.info-table dt { padding: 22px 24px; background: var(--bg-soft); font-weight: 500; color: var(--navy); letter-spacing: .1em; }
.info-table dd { padding: 22px 28px; }
.info-table dd a { color: var(--navy); }
.info-table .en { font-family: var(--en); font-size: .8rem; color: var(--muted); letter-spacing: .08em; }
@media (max-width: 767px) {
  .info-table__row { grid-template-columns: 1fr; }
  .info-table dt { padding: 10px 16px; }
  .info-table dd { padding: 14px 16px 18px; }
}

.offices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.office { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.office__map { aspect-ratio: 16 / 9; background: var(--bg-soft); }
.office__map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.7); }
.office__body { padding: 26px 30px 30px; }
.office__country { display: flex; align-items: baseline; gap: 12px; font-family: var(--en); font-weight: 600; font-size: .8rem; letter-spacing: .26em; color: var(--red); }
.office__country span { font-weight: 500; font-size: .7rem; letter-spacing: .12em; color: var(--muted); }
.office__name { margin-top: 4px; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--navy); letter-spacing: .1em; }
.office__name span { display: block; font-family: var(--en); font-weight: 500; font-size: .76rem; letter-spacing: .08em; color: var(--muted); }
.office__address { display: flex; gap: 10px; margin-top: 12px; font-size: .92rem; line-height: 1.7; }
.office__address svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; color: var(--navy); }
.office__address a { color: var(--navy); font-family: var(--en); font-weight: 600; }
@media (max-width: 767px) { .offices { grid-template-columns: 1fr; } .office__body { padding: 22px 20px 24px; } }

/* ---------- contact ---------- */
.contact { background: var(--bg-soft); border-top: 1px solid var(--line); }
.contact__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 48px clamp(40px, 6vw, 88px); align-items: start; }
.contact__lead { margin-top: 24px; color: var(--muted); }
.contact__tel { margin-top: 36px; padding: 26px 28px; background: var(--navy); color: #fff; }
.contact__tel-label { font-size: .85rem; letter-spacing: .1em; color: rgba(255,255,255,.8); }
.contact__tel-num { display: flex; align-items: center; gap: 10px; margin-top: 4px; font-family: var(--en); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.1rem); letter-spacing: .04em; text-decoration: none; line-height: 1.3; }
.contact__tel-num svg { width: 28px; height: 28px; fill: #fff; stroke: none; }

.contact__form-wrap { padding: clamp(28px, 4vw, 48px); background: #fff; box-shadow: 0 10px 30px rgba(8, 41, 81, .06); }
.contact-form { display: grid; gap: 22px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.field label { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-weight: 500; font-size: .92rem; color: var(--navy); }
.req { padding: 1px 7px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 500; letter-spacing: .08em; line-height: 1.6; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #c9d2dc; border-radius: 2px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink); line-height: 1.6;
  transition: border-color .2s, box-shadow .2s;
}
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23082951' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 18px; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 160px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(8, 41, 81, .12); }
.field ::placeholder { color: #9aa6b3; font-size: .9rem; }
.field--agree { text-align: center; }
.check { display: inline-flex !important; align-items: center; gap: 10px; font-weight: 400 !important; color: var(--ink) !important; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--navy); }
.check a { color: var(--navy); }
.btn--submit { justify-self: center; min-width: 280px; }
.form-notice { margin-bottom: 24px; padding: 16px 18px; border-left: 4px solid; font-size: .92rem; }
.form-notice--ok { border-color: var(--navy); background: var(--blue-pale); color: var(--navy); }
.form-notice--ng { border-color: var(--red); background: #fdecee; color: #a0001a; }
@media (max-width: 900px) { .contact__inner { grid-template-columns: 1fr; } }
@media (max-width: 767px) { .field-row { grid-template-columns: 1fr; } .btn--submit { width: 100%; min-width: 0; } }

/* ---------- dialog（役員プロフィール・実績） ---------- */
.dialog { width: min(1040px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 0; background: transparent; color: var(--ink); overflow: visible; }
.dialog--narrow { width: min(760px, calc(100% - 32px)); }
.dialog::backdrop { background: rgba(5, 20, 42, .72); backdrop-filter: blur(3px); }
.dialog[open] { animation: dialog-in .35s var(--ease); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(16px); } }
.dialog__panel { position: relative; max-height: calc(100dvh - 48px); overflow-y: auto; background: #fff; border-top: 4px solid var(--navy); overscroll-behavior: contain; }
.dialog__close { position: sticky; top: 0; float: right; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px; border: 0; background: var(--navy); color: #fff; }
.dialog__close svg { width: 24px; height: 24px; }
.dialog__close:hover { background: var(--red); }
.dialog__head { padding: 40px clamp(24px, 5vw, 56px) 28px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.dialog__role { font-size: .88rem; color: var(--muted); letter-spacing: .12em; }
.dialog__name { font-family: var(--serif); font-weight: 600; font-size: 2rem; color: var(--navy); letter-spacing: .2em; line-height: 1.4; }
.dialog__name span { margin-left: 16px; font-family: var(--en); font-weight: 500; font-size: .8rem; color: var(--muted); letter-spacing: .12em; }
.dialog__body { padding: 36px clamp(24px, 5vw, 56px) 48px; }
.dialog__sub { display: flex; align-items: baseline; gap: 12px; font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--navy); letter-spacing: .1em; }
.dialog__sub small { font-family: var(--sans); font-weight: 400; font-size: .8rem; color: var(--muted); }
.dialog__lead { margin-top: 18px; line-height: 2; }
.dialog__note { margin-top: 16px; font-size: .8rem; color: var(--muted); }
@media (max-width: 767px) { .dialog__name { font-size: 1.6rem; } .dialog__name span { display: block; margin-left: 0; } .dialog__head { padding-top: 28px; padding-right: 64px; } }

.stats { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); margin-top: 22px; border: 1px solid var(--line); }
.stats__max { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 2px 4px; padding: 18px 8px; text-align: center; }
.stats__max strong { font-family: var(--en); font-weight: 600; font-size: 1.9rem; line-height: 1.2; color: var(--navy); }
.stats__max span { font-size: .82rem; color: var(--navy); }
.stats__max em { width: 100%; font-style: normal; font-size: .78rem; color: var(--muted); letter-spacing: .08em; }
.stats__text { display: flex; flex-wrap: wrap; align-items: center; padding: 18px 20px; border-left: 1px solid var(--line); font-weight: 600; color: var(--navy); line-height: 1.7; }
.stats__text span { display: inline-block; }
.works-note { margin-top: 12px; font-size: .78rem; color: var(--muted); }
@media (max-width: 767px) { .stats { grid-template-columns: 1fr; } .stats__max strong { font-size: 1.5rem; } .stats__text { border-left: 0; border-top: 1px solid var(--line); padding: 14px 16px; justify-content: center; text-align: center; } }
.works-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 14px; }
.chip { padding: 6px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .85rem; color: var(--muted); transition: all .2s; }
.chip:hover { border-color: var(--navy); color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

.works-table-wrap { overflow-x: auto; border-top: 2px solid var(--navy); }
.works-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .88rem; line-height: 1.5; }
.works-table th, .works-table td { padding: 12px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.works-table thead th { position: sticky; top: 0; background: var(--bg-soft); font-weight: 500; font-size: .8rem; color: var(--navy); letter-spacing: .08em; white-space: nowrap; }
.works-table tbody th { font-weight: 500; color: var(--navy); }
.works-table .num { text-align: right; font-family: var(--en); font-weight: 500; white-space: nowrap; }
.works-table .nowrap { white-space: nowrap; font-family: var(--en); font-size: .8rem; color: var(--muted); }
.works-table tbody tr:hover { background: #fafcfe; }
.works-table tr.is-hidden { display: none; }
.tag { display: inline-block; margin: 2px 4px 2px 0; padding: 1px 8px; border: 1px solid var(--line); font-size: .76rem; white-space: nowrap; }
.tag--task { border-color: var(--navy); color: var(--navy); }

.career { margin-top: 28px; border-top: 2px solid var(--navy); }
.career__row { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.career dt { font-family: var(--en); font-weight: 600; color: var(--navy); }
.career dd { font-size: .94rem; line-height: 1.8; }
@media (max-width: 767px) { .career__row { grid-template-columns: 1fr; gap: 2px; } }

/* お問い合わせ確認画面 */
.dialog__name--sm { font-size: 1.6rem; letter-spacing: .1em; }
.confirm__lead { font-size: .95rem; color: var(--muted); }
.confirm-list { margin-top: 20px; border-top: 2px solid var(--navy); }
.confirm-list__row { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 14px 4px; border-bottom: 1px solid var(--line); }
.confirm-list dt { font-weight: 500; font-size: .9rem; color: var(--navy); }
.confirm-list dd { font-size: .95rem; line-height: 1.8; word-break: break-word; }
.confirm-list dd.is-multiline { white-space: pre-wrap; }
.confirm-list dd.is-empty { color: #9aa6b3; }
.confirm__actions { display: flex; justify-content: center; gap: 14px; margin-top: 32px; }
.confirm__actions .btn { min-width: 200px; }
.confirm__actions .btn:disabled { opacity: .6; cursor: wait; }
@media (max-width: 767px) {
  .confirm-list__row { grid-template-columns: 1fr; gap: 2px; }
  .confirm__actions { flex-direction: column-reverse; }
  .confirm__actions .btn { width: 100%; min-width: 0; }
  .dialog__name--sm { font-size: 1.35rem; }
}

/* お問い合わせ完了ページ */
.thanks p + p { margin-top: 1.2em; }
.thanks__tel { display: inline-block; margin-top: 36px; padding: 22px 28px; background: var(--navy); color: #fff; }
.thanks__back { margin-top: 48px !important; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.85); }
.site-footer__inner { display: flex; justify-content: space-between; gap: 48px; padding-block: 64px 48px; }
.site-footer .brand__mark { width: 52px; }
.site-footer__address { margin-top: 24px; font-size: .88rem; line-height: 1.9; }
.site-footer__address a { color: #fff; text-decoration: none; font-family: var(--en); font-weight: 600; }
.site-footer__vn { margin-top: 14px; font-family: var(--en); font-size: .8rem; letter-spacing: .06em; }
.site-footer__vn span { display: inline-block; margin-right: 10px; padding: 0 8px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .14em; }
.site-footer__nav ul { display: grid; grid-template-columns: repeat(2, auto); gap: 12px 48px; }
.site-footer__nav a { font-size: .9rem; text-decoration: none; }
.site-footer__nav a:hover { color: #fff; text-decoration: underline; }
.site-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); }
.site-footer__bottom p { padding-block: 18px; font-family: var(--en); font-size: .72rem; letter-spacing: .12em; color: rgba(255,255,255,.55); }
@media (max-width: 767px) { .site-footer__inner { flex-direction: column; padding-block: 48px 36px; } .site-footer__nav ul { gap: 14px 28px; } }

.pagetop {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; display: grid; place-items: center; width: 52px; height: 52px;
  background: var(--navy); color: #fff; box-shadow: 0 6px 18px rgba(8,41,81,.25);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s, background-color .2s;
}
.pagetop svg { width: 22px; height: 22px; transform: rotate(-90deg); }
.pagetop.is-show { opacity: 1; visibility: visible; transform: none; }
.pagetop:hover { background: var(--red); }

/* ---------- 下層ページ ---------- */
.page-head { padding: calc(var(--header-h) + 64px) 0 56px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-head__title { margin-top: 10px; font-family: var(--serif); font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--navy); letter-spacing: .08em; }
.page-body { max-width: calc(880px + var(--gutter) * 2); padding-block: 64px 120px; }
.policy h2 { margin: 2.6em 0 .8em; padding-left: 14px; border-left: 4px solid var(--navy); font-size: 1.15rem; color: var(--navy); line-height: 1.5; }
.policy p + p, .policy ul { margin-top: 1em; }
.policy ul { padding-left: 1.4em; list-style: disc; }
.policy__date { margin-top: 3em !important; text-align: right; color: var(--muted); font-size: .9rem; }

/* ---------- スクロール表示 ---------- */
.js .js-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .js-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .js-reveal { opacity: 1; transform: none; transition: none; }
  .dialog[open] { animation: none; }
}

/* ---------- 英語版の調整（和文向けの字間を詰める） ---------- */
body.lang-en { letter-spacing: .01em; line-height: 1.8; }
.lang-en .gnav__ja { display: none; }
.lang-en .hero__title { font-size: clamp(1.6rem, 3vw, 2.6rem); line-height: 1.35; letter-spacing: .01em; }
.lang-en .hero__title span:last-child { margin-top: .15em; }
.lang-en .hero__title span { text-wrap: balance; }
.lang-en .sec-head__ja, .lang-en .page-head__title { letter-spacing: .02em; }
.lang-en .message__catch { letter-spacing: .02em; line-height: 1.5; }
.lang-en .message__sign-name, .lang-en .officer__name, .lang-en .dialog__name, .lang-en .dialog__name--sm { letter-spacing: .04em; }
.lang-en .officer__name { font-size: 1.7rem; }
.lang-en .service-card__title { font-size: 1.4rem; letter-spacing: .02em; }
.lang-en .team__name, .lang-en .point__title, .lang-en .sub-title, .lang-en .flow__title, .lang-en .service__scope-title, .lang-en .office__name { letter-spacing: .02em; }
.lang-en .hero__services li { letter-spacing: .03em; font-size: 1rem; }
.lang-en .info-table dt, .lang-en .dialog__sub, .lang-en .dialog__role, .lang-en .officer__title { letter-spacing: .02em; }
.lang-en .scope dt { min-width: 8em; }
@media (max-width: 767px) {
  .lang-en .hero__title { font-size: 1.4rem; }
}
