/* ==========================================================
   COPROS 仮サイト  style.css
   ブランドカラー・フォントは :root の変数で一元管理しています。
   正式なCI（ロゴ・コーポレートカラー）が決まったら、ここを差し替えます。
   ========================================================== */
:root {
  /* Brand (会社紹介資料 ver.1.0 より) */
  --navy: #121c3c;
  --navy-2: #1e2c5a;
  --red: #e9473f;
  --red-soft: rgba(233, 71, 63, 0.26);
  --blue: #193a80;              /* メインの青（ヘッダーCTA・「困った」など） */
  --blue-ink: #193a80;          /* 小見出しの青 */

  /* Neutral */
  --bg: #fafafb;
  --bg-sub: #f1f2f6;
  --bar: #e3e6ee;              /* 資料の淡いブルーグレーのバー */
  --line: #dde0e8;
  --text: #121c3c;
  --text-sub: #5b6380;
  --white: #fff;

  /* Type */
  --font-en: "Inter", "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-jp: "Noto Sans JP", "Noto Sans CJK JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

  --radius: 14px;
  --radius-s: 8px;
  --container: 1280px;
  --header-h: 64px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-jp);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  letter-spacing: 0.04em;
  line-break: strict;
  word-break: auto-phrase;
  color: var(--text);
  background-color: var(--bg);
  /* 資料と同じ、うっすらとしたグリッド背景 */
  background-image:
    linear-gradient(rgba(18, 28, 60, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 28, 60, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, dl, dd, dt, figure { margin: 0; }

.container { width: min(90%, 1600px); margin-inline: auto; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 6px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

/* ---------- Notice bar ---------- */
.notice {
  background: var(--navy); color: #fff; font-size: 12px; letter-spacing: 0.1em; text-align: center;
  height: 32px; line-height: 32px; padding: 0 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.notice b { color: #ff9b95; font-weight: 500; margin-right: 8px; font-family: var(--font-en); letter-spacing: 0.14em; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 251, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px rgba(18, 28, 60, 0.05); }
/* ロゴは本文と同じ左端、右端のCTAは画面の端まで */
.hd { height: var(--header-h); display: flex; align-items: stretch; justify-content: space-between; padding-left: calc((100% - min(90%, 1600px)) / 2); }
.brand { display: flex; align-items: center; line-height: 0; }
.brand img { height: clamp(24px, 1.9vw, 36px); width: auto; }

.gnav { display: flex; align-items: stretch; }
.gnav ul { display: flex; align-items: center; gap: clamp(24px, 2.4vw, 44px); margin-right: clamp(24px, 2.6vw, 48px); }
.gnav a.link { font-size: 15px; font-weight: 700; letter-spacing: 0.06em; position: relative; padding: 8px 0; display: block; line-height: 1.3; }
.gnav a.link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--blue); transition: right .3s ease; }
.gnav a.link:hover::after,
.gnav a.link[aria-current="page"]::after { right: 0; }
.sp-only { display: none; }
.nav-cta {
  display: flex; align-items: center; justify-content: center; padding: 0 clamp(24px, 1.9vw, 36px);
  background: var(--blue); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 0.08em; transition: background-color .2s;
}
.nav-cta:hover { background: #122c63; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-jp); font-weight: 700; font-size: 14px; letter-spacing: 0.08em;
  padding: 13px 26px; border-radius: 0; border: 2px solid transparent;
  transition: transform .2s ease, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
  cursor: pointer; line-height: 1.4;
}
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(4px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #122c63; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

.nav-toggle { display: none; }

/* ---------- Section primitives ---------- */
.section { position: relative; padding: 112px 0; }
.section.tight { padding: 80px 0; }

.sec-head { margin-bottom: 56px; }
/* 見出し：英字=Inter・大文字・約15pt／日本語=約24pt */
.sec-head .en, .page-hero .en {
  display: block; font-family: "Inter", sans-serif; text-transform: uppercase;
  font-size: 13pt; font-weight: 700; letter-spacing: 0.16em; line-height: 1.4; color: var(--blue-ink);
}
.sec-head .jp, .page-hero .jp {
  display: block; margin-top: 10px; font-size: clamp(24px, 3vw, 32px); font-weight: 900;
  letter-spacing: 0.06em; line-height: 1.5; color: var(--text);
}

.eyebrow { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: 0.16em; color: var(--blue-ink); }

.deco { position: absolute; width: 14px; height: 14px; background: var(--red-soft); pointer-events: none; }

.pill.more-pill { background: transparent; border-style: dashed; color: var(--text-sub); }
.pill {
  display: inline-block; font-size: 12px; letter-spacing: 0.06em; line-height: 1.4;
  padding: 6px 14px; border-radius: 999px; background: var(--bg-sub); color: var(--navy);
  border: 1px solid var(--line);
}
.svc .pill { font-size: 15px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; min-height: max(640px, calc(100svh - 96px)); display: flex; align-items: center; }
.hero-decos { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-decos .deco { width: 12px; height: 12px; background: rgba(233, 71, 63, 0.28); }
.hero .container { position: relative; z-index: 2; padding: 64px 0 88px; }
.hero-copy { max-width: 38.5vw; }
.hero .eyebrow { margin-bottom: 28px; font-size: clamp(13px, 0.9vw, 17px); font-weight: 700; letter-spacing: 0.1em; color: var(--blue); }
.hero h1 { font-size: clamp(28px, 3.45vw, 72px); font-weight: 900; line-height: 1.5; letter-spacing: 0.02em; }
.hero h1 .hl { color: var(--blue); }
.hero .lead { margin-top: clamp(28px, 3vw, 52px); font-size: clamp(14px, 0.9vw, 18px); font-weight: 700; line-height: 2.2; letter-spacing: 0.08em; color: var(--text); }
.hero .cta { margin-top: clamp(32px, 3.6vw, 64px); display: flex; flex-wrap: wrap; gap: 14px; }
.btn-lg { padding: 22px 56px; font-size: clamp(15px, 0.95vw, 18px); min-width: 240px; }

/* メインビジュアル：画面の右・下にはみ出す巨大な「O」＝ひとつの窓口 */
.hero-mark {
  --W: min(42vw, calc((100svh - 96px) * 0.9));
  position: absolute; z-index: 1; width: var(--W);
  right: calc(var(--W) * -0.05); top: calc(var(--W) * 0.04);
  container-type: inline-size;
}
.hero-mark > svg { width: 100%; height: auto; position: relative; z-index: 1; animation: o-in 1.1s cubic-bezier(.2,.8,.2,1) both; transform-origin: 50% 60%; }
@keyframes o-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* 四角（＝お客様の「困った」）が、Oの空洞（＝窓口）に集まってくる */
.funnel { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.sq {
  position: absolute; left: 50%; top: 51.5%; width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  opacity: 0; animation: gather 7s cubic-bezier(.45, 0, .25, 1) var(--d) infinite;
}
.sq-r { background: rgba(233, 71, 63, .55); }
.sq-n { background: rgba(18, 28, 60, .32); }
@keyframes gather {
  0%   { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(1); }
  12%  { opacity: 1; }
  70%  { opacity: 1; transform: translate(0, 0) scale(.8); }
  85%  { opacity: 0; transform: translate(0, 0) scale(.2); }
  100% { opacity: 0; transform: translate(0, 0) scale(.2); }
}
@media (prefers-reduced-motion: reduce) { .funnel { display: none; } .hero-mark > svg { animation: none; } }

/* 下層ページのヒーロー */
.page-hero { padding: 72px 0 64px; position: relative; overflow: hidden; }
.page-hero .lead { margin-top: 32px; font-size: 16px; }
.page-hero .mark-bg { position: absolute; right: -90px; top: -40px; width: 340px; opacity: .06; }
.crumb { font-size: 12px; color: var(--text-sub); letter-spacing: .1em; margin-bottom: 28px; }
.crumb a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Intro ---------- */
.intro-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px 56px; align-items: start; } /* 右カラムはイラスト用に確保 */
.intro-grid .sec-head { margin-bottom: 0; grid-column: 1 / -1; }
.intro-body { max-width: none; }
.intro-fig { margin: 0; align-self: center; }
.intro-cap { margin-top: 20px; font-size: 20px; font-weight: 900; line-height: 1.6; letter-spacing: .04em; color: var(--red); text-align: center; }
.intro-fig img { display: block; width: 100%; height: auto; mix-blend-mode: multiply; }
@media (max-width: 1500px) { .intro-grid { grid-template-columns: 1fr; } .intro-fig { max-width: 900px; } }
.intro-body p.intro-sub { margin-top: 64px; margin-bottom: 0; }
.intro-body .intro-sub b { font-weight: 900; color: var(--blue-ink); }
.intro-body p { font-size: 16px; line-height: 2; }
.intro-body p + p { margin-top: 32px; }
.intro-body .quote { color: var(--blue-ink); font-weight: 700; }

/* ---------- Philosophy ---------- */
.phil { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }
.phil h3 { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.6; font-weight: 900; margin-bottom: 24px; }
.phil h3 .hl { color: var(--blue); }
.phil p { color: var(--text-sub); }
.phil p + p { margin-top: 18px; }
.phil .signature { margin-top: 32px; color: var(--text); font-weight: 700; line-height: 1.9; }
.phil-list { display: grid; gap: 14px; }
.phil-list li {
  background: var(--bar); border-radius: var(--radius-s); padding: 16px 22px; font-weight: 700; font-size: 15px;
  display: flex; gap: 14px; align-items: baseline;
}
.phil-list li span { font-family: var(--font-en); color: var(--blue-ink); font-size: 13px; letter-spacing: .1em; }
.callout {
  margin-top: 56px; padding: 20px 28px; border: 2px solid var(--navy); border-radius: var(--radius-s);
  background: var(--white); color: var(--blue-ink); font-weight: 700; text-align: center; line-height: 1.8;
}

/* ---------- Services ---------- */
.svc-list { display: grid; gap: 16px; }
.svc {
  display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 40px; align-items: center; padding: 32px 36px;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
a.svc:hover { border-color: var(--navy); box-shadow: 0 14px 36px rgba(18, 28, 60, .08); transform: translateY(-3px); }
.svc .no { font-family: var(--font-en); font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--blue-ink); }
.svc h3 { font-size: 22px; line-height: 1.5; font-weight: 700; margin: 4px 0 12px; }
.svc p { font-size: 14px; color: var(--text-sub); line-height: 1.9; }
.more { display: inline-flex; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 700; color: var(--red); letter-spacing: .08em; }
.more .arr { transition: transform .2s; }
a.svc:hover .more .arr { transform: translateX(4px); }

.center-cta { margin-top: 48px; text-align: center; }

/* ---------- Strengths ---------- */
.band { background: var(--bar); border-radius: var(--radius-s); padding: 14px 26px; font-weight: 700; text-align: center; margin-bottom: 28px; font-size: 14px; }
.lead-copy { font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; line-height: 1.8; margin-bottom: 28px; }
.pillars { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 16px; align-items: stretch; }
.pillar { padding: 30px 28px; display: flex; flex-direction: column; gap: 14px; }
.pillar .tag { font-family: var(--font-en); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--red); }
.pillar .tag b { color: var(--blue-ink); margin-right: 10px; font-weight: 600; }
.pillar h3 { font-size: 21px; line-height: 1.5; font-weight: 700; }
.pillar .sub { font-size: 12px; letter-spacing: .1em; color: var(--text-sub); margin-top: -8px; }
.pillar p { font-size: 14px; color: var(--text-sub); line-height: 1.9; }
.pillar .pills { margin-top: auto; padding-top: 6px; }
.pillars .join { align-self: center; color: var(--text-sub); font-size: 20px; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.member { padding: 28px 24px 26px; position: relative; text-align: center; }
.member .ph { height: 140px; display: flex; align-items: flex-end; justify-content: center; margin-bottom: 20px; }
.member .ph img { max-height: 140px; width: auto; max-width: 100%; }
.member .ic { width: 42px; height: 42px; border-radius: 12px; background: var(--bg-sub); display: grid; place-items: center; margin-bottom: 16px; color: var(--navy); }
.member .ic svg { width: 22px; height: 22px; }
.member h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.member p { font-size: 13px; color: var(--text-sub); line-height: 1.8; }
.bar-navy { margin-top: 24px; background: var(--navy); color: #fff; padding: 16px 24px; border-radius: var(--radius-s); font-weight: 700; text-align: center; font-size: 14px; }

/* ---------- Dark CTA / footer ---------- */
.dark { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.ribbon { position: absolute; top: 0; right: 9%; width: 96px; height: auto; }
.cta-block { padding: 120px 0 104px; position: relative; }
.cta-block .thanks { font-family: var(--font-en); font-size: 13px; font-weight: 500; letter-spacing: .3em; color: rgba(255, 255, 255, .7); }
.cta-block h2 { margin-top: 24px; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.6; font-weight: 900; letter-spacing: .06em; }
.cta-block h2 .hl { color: #ff6a62; }
.cta-block p { margin-top: 20px; color: rgba(255, 255, 255, .78); }
.cta-block .mail { margin-top: 36px; }
.btn-mail { background: #fff; color: var(--navy); padding: 18px 48px; font-size: 15px; }
.btn-mail:hover { background: #e9edf8; transform: translateY(-2px); }

.site-footer { border-top: 1px solid rgba(255, 255, 255, .12); padding: 56px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.foot-brand img { height: 30px; width: auto; }
.foot-brand address { margin-top: 20px; font-style: normal; font-size: 13px; line-height: 2; color: rgba(255, 255, 255, .72); }
.foot-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; justify-content: end; font-family: var(--font-en); font-size: 13px; letter-spacing: .12em; }
.foot-nav a { color: rgba(255, 255, 255, .88); }
.foot-nav a:hover { color: #ff8780; }
.copy { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-family: var(--font-en); font-size: 11px; letter-spacing: .16em; color: rgba(255, 255, 255, .5); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- About page ---------- */
.dl-table { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.dl-row { display: grid; grid-template-columns: 200px 1fr; border-bottom: 1px solid var(--line); }
.dl-row:last-child { border-bottom: 0; }
.dl-row dt { padding: 22px 28px; background: var(--bg-sub); font-weight: 700; font-size: 14px; letter-spacing: .12em; }
.dl-row dd { padding: 22px 28px; font-size: 15px; line-height: 1.9; }
.dl-row dd ul li { position: relative; padding-left: 16px; }
.dl-row dd ul li::before { content: ""; position: absolute; left: 0; top: .85em; width: 6px; height: 6px; background: var(--red); }
.dl-row dd a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--red); }
.office + .office { margin-top: 14px; }
.office b { display: block; font-size: 13px; color: var(--blue-ink); letter-spacing: .1em; }
.maplink { font-size: 12px; margin-left: 10px; color: var(--red); font-weight: 700; }

.name-origin { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.origin { padding: 28px 28px 26px; position: relative; }
.origin .letters { font-family: var(--font-en); font-weight: 700; font-size: 38px; letter-spacing: .06em; line-height: 1.2; }
.origin .letters i { font-style: normal; color: var(--red); }
.origin .letters span { color: var(--text-sub); font-weight: 400; font-size: 20px; letter-spacing: .08em; }
.origin p { margin-top: 12px; font-size: 13px; color: var(--text-sub); }
.name-note { margin-top: 24px; text-align: center; color: var(--text-sub); font-size: 15px; }
.name-note b { color: var(--text); }

/* ---------- Use cases ---------- */
.uc-head, .uc-row { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 20px; align-items: center; }
.uc-head { font-size: 12px; letter-spacing: .16em; font-weight: 700; color: var(--blue-ink); padding: 0 28px 12px; }
.uc-row { padding: 18px 28px; margin-bottom: 10px; font-size: 14px; line-height: 1.8; }
.uc-row .q small { display: block; font-size: 11px; color: var(--blue-ink); font-weight: 700; letter-spacing: .1em; }
.uc-row .q strong { font-weight: 700; }
.uc-row .a, .uc-row .r { position: relative; padding-left: 26px; color: var(--text-sub); }
.uc-row .a::before, .uc-row .r::before { content: "→"; position: absolute; left: 0; color: var(--text-sub); }
.uc-row .label { display: none; }

/* ---------- Service detail blocks ---------- */
.detail { padding: 44px 44px; display: grid; grid-template-columns: 0.85fr 1.35fr; gap: 56px; align-items: start; scroll-margin-top: 110px; }
.detail + .detail { margin-top: 18px; }
.detail .no { font-family: var(--font-en); font-weight: 600; font-size: 13px; letter-spacing: .16em; color: var(--blue-ink); }
.detail h2 { font-size: 26px; line-height: 1.5; font-weight: 700; margin: 6px 0 16px; }
.detail .desc { color: var(--text-sub); font-size: 15px; line-height: 2; }
.detail h3 { font-size: 12px; letter-spacing: .24em; color: var(--text-sub); font-weight: 500; margin-bottom: 14px; }
.subnav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.subnav a { font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 0; background: var(--white); border: 1px solid var(--line); transition: all .2s; }
.subnav a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.subnav a span { font-family: var(--font-en); color: var(--blue-ink); margin-right: 8px; letter-spacing: .1em; }
.subnav a:hover span { color: #ff9b95; }

/* ---------- Contact / Privacy ---------- */
.form-wrap { max-width: 780px; }
.form-note { padding: 28px 32px; font-size: 14px; line-height: 2; color: var(--text-sub); }
.form-note p + p { margin-top: 10px; }
.form-note a, .doc a, .mail-sub a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--red); color: inherit; }
.form-note .alt { font-size: 13px; }
.form-frame { margin-top: 20px; padding: 12px; overflow: hidden; }
.form-frame iframe { display: block; width: 100%; height: 1184px; border: 0; }
.mail-sub { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,.7); }
.doc { max-width: 820px; padding: 48px 52px; }
.doc-sec + .doc-sec { margin-top: 36px; }
.doc h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; padding-left: 14px; border-left: 4px solid var(--red); line-height: 1.5; }
.doc p, .doc li { font-size: 15px; line-height: 2; color: var(--text); }
.doc ul { margin-top: 6px; }
.doc li { position: relative; padding-left: 16px; }
.doc li::before { content: ""; position: absolute; left: 0; top: .95em; width: 6px; height: 6px; background: var(--red); }
.doc-date { margin-top: 44px; text-align: right; font-size: 13px; color: var(--text-sub); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; }
.js .reveal.d2 { transition-delay: .16s; }
.js .reveal.d3 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .section { padding: 80px 0; }
  .hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .hero .container { padding: 48px 0 0; }
  .hero-copy { max-width: none; }
  .hero-mark { --W: 96vw; order: 3; position: relative; right: auto; top: auto; margin: 40px 0 -34vw 20vw; }
  .intro-grid, .phil, .foot-grid, .detail { grid-template-columns: 1fr; gap: 36px; }
  .svc { grid-template-columns: 1fr; gap: 20px; padding: 26px; }
  .pillars { grid-template-columns: 1fr; }
  .pillars .join { transform: rotate(90deg); justify-self: center; }
  .team { grid-template-columns: repeat(2, 1fr); }
  .name-origin { grid-template-columns: 1fr; }
  .foot-nav { justify-content: start; }
  .detail { padding: 30px 26px; }
  .form-frame iframe { height: 1340px; }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; padding: 11px;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .hd { padding-left: 20px; }
  .nav-toggle { margin-right: 8px; }
  .gnav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 28px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(18, 28, 60, .08);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .gnav.is-open { transform: none; opacity: 1; visibility: visible; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; margin: 0; }
  .sp-only { display: list-item; }
  .gnav ul li { border-bottom: 1px solid var(--line); }
  .gnav a.link { padding: 16px 0; font-size: 15px; }
  .gnav a.link::after { display: none; }
  .nav-cta { margin-top: 22px; height: 54px; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .container { width: calc(100% - 40px); }
  .hd { padding-left: 20px; }
  .section { padding: 64px 0; }
  .sec-head { margin-bottom: 36px; }
  .hero .container { padding-top: 36px; }
  .hero .eyebrow { font-size: 12px; margin-bottom: 20px; }
  .btn-lg { padding: 17px 36px; font-size: 15px; min-width: 0; }
  .team { grid-template-columns: 1fr; }
  .dl-row { grid-template-columns: 1fr; }
  .dl-row dt { padding: 12px 20px; }
  .dl-row dd { padding: 16px 20px 20px; }
  .uc-head { display: none; }
  .uc-row { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .uc-row .a, .uc-row .r { padding-left: 0; }
  .uc-row .a::before, .uc-row .r::before { content: none; }
  .uc-row .label { display: block; font-size: 10px; letter-spacing: .2em; color: var(--blue-ink); font-weight: 700; margin-bottom: 2px; }
  .intro-body p { font-size: 16px; }
  .intro-body br.pc { display: none; }
  .form-note { padding: 22px 20px; }
  .form-frame { padding: 4px; }
  .form-frame iframe { height: 1540px; }
  .doc { padding: 28px 22px; }
  .cta-block { padding: 88px 0 72px; }
  .ribbon { right: 6%; width: 64px; }
  .notice { font-size: 11px; }
  .notice b { display: none; }
  .foot-nav { grid-template-columns: 1fr 1fr; gap: 10px 24px; }
}

.ad { display: block; }

/* こんなお悩みはありませんか？ */
.worry { padding-bottom: 0; }
.worry-list { max-width: 960px; border-top: 1px solid var(--line); }
.worry-list li { position: relative; padding: 20px 0 20px 36px; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 700; line-height: 1.7; }
.worry-list li::before { content: ""; position: absolute; left: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--red); }
.worry-close { margin-top: 36px; font-size: clamp(18px, 1.6vw, 24px); font-weight: 900; line-height: 1.7; color: var(--blue-ink); }
@media (max-width: 640px) { .worry-list li { font-size: 16px; padding: 16px 0 16px 30px; } }
