:root {
  color-scheme: light;
  --ink: #1a2638;
  --blue: #2b65a8;
  --slate: #546278;
  --mist: #7c8fa6;
  --line: #cdd5e0;
  --tint: #f3f5f8;
  --paper: #ffffff;
  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", Georgia, serif;
  --sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", Meiryo, sans-serif;
  --gutter: clamp(16px, 5vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  line-break: strict;
  overflow-wrap: anywhere;
}

h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

h1, h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .02em;
  word-break: auto-phrase;
}
h2 { font-size: clamp(25px, 3.4vw, 36px); line-height: 1.5; }
h3 { font-size: 17px; font-weight: 600; line-height: 1.6; }

.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.nb { display: inline-block; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }

.eyebrow { color: var(--blue); font-size: 13px; font-weight: 600; letter-spacing: .12em; margin-bottom: 14px; }
.eyebrow--light { color: #a9c4e6; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 60px; position: relative; }
.brand { display: inline-flex; flex-direction: column; text-decoration: none; font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.1; letter-spacing: .03em; }
.brand__arc { width: 100%; height: 7px; margin-top: 1px; }
.brand__arc path { fill: none; stroke: var(--blue); stroke-width: 2.4; stroke-linecap: round; }
.site-nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 28px); font-size: 14px; }
.site-nav a { text-decoration: none; color: var(--slate); white-space: nowrap; }
.site-nav a:hover { color: var(--blue); }
.site-nav .site-nav__contact { color: var(--blue); font-weight: 600; }

.menu-toggle { display: none; width: 44px; height: 44px; margin-right: -10px; padding: 0; background: none; border: 0; color: var(--ink); cursor: pointer; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 22px; height: 2px; background: currentColor; transition: transform .15s, background-color .15s; }
.menu-toggle__bars { position: relative; margin: 0 auto; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle__bars::before { top: -7px; }
.menu-toggle__bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding-inline: var(--gutter); padding-bottom: 8px;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(26, 38, 56, .08);
    font-size: 16px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 0; border-top: 1px solid var(--line); color: var(--ink); }
  .site-nav a:first-child { border-top: 0; }
}

/* hero */
.hero { position: relative; overflow: hidden; }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(48px, 8vw, 104px) clamp(96px, 12vw, 168px); }
/* 1行ずつ（.nb 単位）で折り返さないよう、狭い画面では vw で縮める */
.hero h1 { font-size: clamp(20px, 6.4vw, 72px); line-height: 1.38; }
.hero__lead { max-width: 39em; margin-top: 28px; font-size: clamp(16px, 1.5vw, 18px); color: var(--slate); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; margin-top: 36px; }
.hero__arc { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: clamp(90px, 15vw, 220px); }
.hero__arc path { fill: none; stroke: var(--blue); stroke-width: 1.5; vector-effect: non-scaling-stroke; }

.btn { display: inline-block; padding: 13px 28px; font-family: inherit; font-size: 15px; font-weight: 600; line-height: 1.4; text-decoration: none; border: 0; border-radius: 3px; cursor: pointer; transition: background-color .15s, color .15s; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: #235489; }
.btn--plain { padding-inline: 2px; color: var(--ink); text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--mist); }
.btn--plain:hover { color: var(--blue); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #dfe8f3; }
.btn:disabled { opacity: .6; cursor: default; }

/* sections */
.section { padding-block: clamp(48px, 6vw, 80px); }
.section--tint { background: var(--tint); }
.h2--wide { max-width: 24em; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .h2--wide { font-size: 5.8vw; } }

/* features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 48px); margin-top: 20px; }
.features li { padding-block: 24px 28px; border-top: 1px solid var(--ink); }
.features h3 { margin-bottom: 8px; font-family: var(--serif); font-size: 20px; }
.features p { color: var(--slate); }
@media (max-width: 820px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* services */
.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 80px); margin-top: 20px; counter-reset: svc; }
.services li { padding-block: 26px 30px; border-top: 1px solid var(--ink); counter-increment: svc; }
.services h3 { font-family: var(--serif); font-size: 21px; margin-bottom: 10px; }
.services h3::before { content: counter(svc, decimal-leading-zero); display: block; margin-bottom: 4px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .1em; color: var(--blue); }
.services p { color: var(--slate); }
.audience { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.audience > div { padding: 24px 28px; background: var(--paper); border: 1px solid var(--line); }
.audience h3 { margin-bottom: 6px; }
.audience p { color: var(--slate); font-size: 15px; }
@media (max-width: 760px) {
  .services, .audience { grid-template-columns: minmax(0, 1fr); }
  .audience > div { padding: 20px; }
}

/* process */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: clamp(36px, 5vw, 60px); position: relative; }
.steps::before { content: ""; position: absolute; top: 19px; left: 0; right: 0; height: 1px; background: var(--line); }
.steps li { position: relative; }
.steps__no { display: grid; place-items: center; width: 39px; height: 39px; margin-bottom: 16px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--serif); font-size: 16px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--slate); font-size: 15px; }
@media (max-width: 880px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .steps::before { top: 0; bottom: 0; left: 19px; right: auto; width: 1px; height: auto; }
  .steps li { padding-left: 58px; }
  .steps__no { position: absolute; left: 0; top: 0; margin: 0; }
}

/* member */
/* PC では写真を左、経歴を右に並べて縦の長さを抑える */
.member { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: clamp(32px, 5vw, 64px); align-items: start; margin-top: 20px; }
.member__photo { grid-row: 1 / span 3; }
.member > :not(.member__photo) { grid-column: 2; }
@media (max-width: 760px) {
  .member { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .member__photo { grid-row: auto; max-width: 420px; }
  .member > :not(.member__photo) { grid-column: 1; }
}
.member__photo img { width: 100%; }
.member__role { color: var(--slate); font-size: 14px; }
@media (max-width: 760px) { .member__role { margin-top: 24px; } }
.member__name { font-size: clamp(30px, 4vw, 40px); line-height: 1.4; letter-spacing: .08em; }
.member__bio { margin-top: 16px; }
.member__link { margin-top: 14px; font-size: 14px; }
.member__link a { color: var(--blue); text-underline-offset: 3px; }

/* company */
.facts > div { display: grid; grid-template-columns: 7em minmax(0, 1fr); gap: 16px; padding-block: 14px; border-top: 1px solid var(--line); }
.facts > div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--slate); font-size: 14px; padding-top: 2px; }

/* contact */
.contact { background: var(--ink); color: #fff; padding-block: clamp(48px, 6vw, 80px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 80px); align-items: start; }
.contact h2 { font-size: clamp(24px, 2.6vw, 30px); }
@media (max-width: 480px) { .contact h2 { font-size: 6.2vw; } }
.contact__lead { margin-top: 20px; color: #c6d0dd; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } }

.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.req { margin-left: 8px; color: #a9c4e6; font-size: 12px; font-weight: 600; }
.field input, .field textarea {
  display: block; width: 100%; padding: 12px 14px;
  background: #fff; color: var(--ink);
  border: 1px solid transparent; border-radius: 3px;
  font-family: inherit; font-size: 16px; line-height: 1.6;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid #a9c4e6; outline-offset: 2px; }
.field [aria-invalid="true"] { border-color: #e7867a; box-shadow: 0 0 0 1px #e7867a; }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; margin: 0; }
.form__note { margin-bottom: 20px; color: #c6d0dd; font-size: 13px; line-height: 1.8; }
.form__submit { min-width: 200px; }
.form__submit:focus-visible { outline-color: #a9c4e6; }
.form__status { margin-top: 14px; font-size: 14px; }
.form__status:empty { display: none; }
.form__status.is-error { color: #ffc2b8; }
.form__status.is-success { color: #bfe3c8; }
@media (max-width: 480px) { .form__submit { width: 100%; } }

.site-footer { background: var(--ink); color: #a4b1c2; font-size: 13px; padding-block: 0 28px; }
