/* ==========================================================
   Lin — 事業家コンシェルジュ
   共通スタイル（全ページ共通・1ファイル）
   ========================================================== */

/* ---------- Tokens ---------- */
:root {
  --deep: #1f383b;
  --base: #2c4f54;
  --mid: #538e96;
  --accent: #e3ffe4;
  --light: #F0F0F0;

  --line-dark: rgba(227, 255, 228, .18);   /* ダーク面の罫線 */
  --line-light: rgba(31, 56, 59, .16);     /* ライト面の罫線 */
  --text-dark-sub: rgba(240, 240, 240, .84);
  --text-light-sub: rgba(31, 56, 59, .82);

  --f-en: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --f-mincho: "Shippori Mincho", "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  --f-body: "Shippori Mincho", "游明朝", "Yu Mincho", YuMincho, "Hiragino Mincho ProN", serif;
  --f-gothic: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;

  --wrap: 1080px;
  --gutter: 24px;
  --sec-y: 64px;
  --header-h: 68px;
  --radius: 0;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
@media (min-width: 768px) {
  :root { --gutter: 40px; --sec-y: 96px; --header-h: 80px; }
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--deep);
  color: var(--light);
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .08em;
  font-feature-settings: "palt" 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (min-width: 768px) { body { font-size: 16px; } }
body.is-locked { overflow: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .3em; text-decoration-thickness: 1px; }
p { margin: 0 0 1.4em; }
p:last-child { margin-bottom: 0; }
ul, ol, dl { margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }
.sec-light :focus-visible { outline-color: var(--deep); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 8px; top: -60px; z-index: 200;
  padding: 8px 16px; background: var(--accent); color: var(--deep); text-decoration: none;
}
.skip-link:focus { top: 8px; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 800px; }
.section { padding: var(--sec-y) 0; position: relative; }
.center { text-align: center; }
.mt-s { margin-top: 24px; } .mt-m { margin-top: 40px; } .mt-l { margin-top: 64px; }

/* ---------- Surfaces ---------- */
/* ダーク面：深いティール＋光のにじみ＋粒子 */
.sec-dark {
  position: relative;
  color: var(--light);
  background-color: var(--deep);
  background-image:
    radial-gradient(ellipse 70% 60% at 12% 100%, rgba(227, 255, 228, .16), rgba(227, 255, 228, 0) 70%),
    radial-gradient(ellipse 60% 55% at 92% 0%, rgba(83, 142, 150, .55), rgba(83, 142, 150, 0) 70%),
    linear-gradient(160deg, var(--base) 0%, var(--deep) 100%);
  isolation: isolate;
}
.sec-dark::before {
  content: "";
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .07;
  mix-blend-mode: overlay;
}
/* 光の位置違い */
.sec-dark--alt {
  background-image:
    radial-gradient(ellipse 60% 55% at 88% 100%, rgba(227, 255, 228, .12), rgba(227, 255, 228, 0) 70%),
    radial-gradient(ellipse 70% 60% at 8% 0%, rgba(83, 142, 150, .5), rgba(83, 142, 150, 0) 70%),
    linear-gradient(200deg, var(--base) 0%, var(--deep) 100%);
}
.sec-dark--glow {
  background-image:
    radial-gradient(ellipse 55% 50% at 50% 62%, rgba(227, 255, 228, .18), rgba(227, 255, 228, 0) 70%),
    radial-gradient(ellipse 60% 55% at 90% 5%, rgba(83, 142, 150, .55), rgba(83, 142, 150, 0) 70%),
    linear-gradient(180deg, var(--base) 0%, var(--deep) 100%);
}
/* ライト面：可読性優先 */
.sec-light { background: var(--light); color: var(--deep); }
.sec-light + .sec-light { border-top: 1px solid var(--line-light); }

/* ---------- Typography ---------- */
.eyebrow {
  display: block;
  font-family: var(--f-en);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .18em;
  text-transform: none;
  color: var(--accent);
  opacity: .85;
  margin-bottom: 20px;
}
.sec-light .eyebrow { color: var(--base); opacity: 1; }
.en { font-family: var(--f-en); letter-spacing: .08em; }

.h1, .h2, .h3 { font-family: var(--f-mincho); font-weight: 500; line-height: 1.6; letter-spacing: .1em; }
.h1 { font-size: clamp(28px, 7vw, 48px); line-height: 1.5; }
.h2 { font-size: clamp(22px, 5vw, 32px); margin-bottom: 32px; }
.h3 { font-size: clamp(17px, 3.6vw, 20px); margin-bottom: 12px; }
.lead {
  font-family: var(--f-mincho);
  font-size: clamp(16px, 3.8vw, 19px);
  line-height: 2.1;
  letter-spacing: .08em;
  margin-bottom: 28px;
}
.text { max-width: 36em; }
.note { font-size: 13px; line-height: 1.9; color: var(--text-dark-sub); }
.sec-light .note { color: var(--text-light-sub); }
.sub { color: var(--text-dark-sub); }
.sec-light .sub { color: var(--text-light-sub); }

/* 和文は句読点・文節で折り返す（語の途中で切れない） */
.h1, .h2, .h3, .lead, .hero__sub, .hero__desc, .line-list > li, .meaning__text, .message__quote, .cta__text {
  word-break: keep-all;
  overflow-wrap: anywhere;
  line-break: strict;
}

/* 見出しブロック（eyebrow＋h2＋リード） */
.sec-head { margin-bottom: 48px; }
.sec-head .h2 { margin-bottom: 20px; }
.sec-head--center { text-align: center; }
.sec-head--center .text { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  min-height: 52px;
  padding: 14px 40px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  background: transparent;
  color: var(--accent);
  font-family: var(--f-mincho);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .12em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn::after {
  content: ""; width: 20px; height: 1px; background: currentColor;
  transition: width .4s var(--ease);
}
.btn:hover { background: rgba(227, 255, 228, .1); }
.btn:hover::after { width: 28px; }
.sec-light .btn:not(.btn--dark) { border-color: var(--deep); color: var(--deep); }
.sec-light .btn:not(.btn--dark):hover { background: rgba(31, 56, 59, .07); }
.btn--small { min-height: 40px; padding: 8px 20px; font-size: 13px; letter-spacing: .12em; }
.btn--small::after { display: none; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-note { display: block; margin-top: 16px; font-size: 13px; letter-spacing: .06em; color: var(--text-dark-sub); }
.sec-light .btn-note { color: var(--text-light-sub); }

/* テキストリンク（→ 付き） */
.link-more {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--f-mincho); font-size: 15px; letter-spacing: .14em;
  text-decoration: none; padding: 6px 0; border-bottom: 1px solid currentColor;
}
.link-more::after { content: ""; width: 24px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
.link-more:hover::after { width: 36px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  border-bottom: 1px solid var(--line-dark);
  color: var(--light);
}
/* 半透明＋ぼかしは擬似要素に（header 本体に backdrop-filter を付けると SP 全画面ナビが header 内に閉じ込められるため） */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(31, 56, 59, .72);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--light); }
.brand__logo { width: 36px; height: 36px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--f-en); font-size: 24px; font-weight: 400; letter-spacing: .06em; }
.brand__tag { font-family: var(--f-mincho); font-size: 11px; letter-spacing: .14em; color: var(--text-dark-sub); }

.nav-toggle {
  position: relative; z-index: 120;
  width: 44px; height: 44px; margin-right: -10px;
  background: none; border: 0; padding: 0; cursor: pointer; color: var(--light);
  display: none; /* メニューが使える時だけ表示（nav-ready は js/init.js が付け、main.js の登録失敗時は外れる） */
}
.nav-ready .nav-toggle { display: block; }
.nav-toggle__bar {
  position: absolute; left: 11px; width: 22px; height: 1px; background: currentColor;
  transition: transform .4s var(--ease), opacity .3s;
}
.nav-toggle__bar:nth-child(1) { top: 17px; }
.nav-toggle__bar:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(4.5px) rotate(20deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(-4.5px) rotate(-20deg); }

.nav {
  position: fixed; inset: 0; z-index: 110;
  display: flex; align-items: center; justify-content: center;
  background-color: var(--deep);
  background-image:
    radial-gradient(ellipse 70% 50% at 10% 100%, rgba(227, 255, 228, .14), rgba(227, 255, 228, 0) 70%),
    radial-gradient(ellipse 60% 50% at 95% 0%, rgba(83, 142, 150, .5), rgba(83, 142, 150, 0) 70%);
  opacity: 0; visibility: hidden;
  transition: opacity .4s var(--ease), visibility 0s linear .4s;
}
.nav.is-open { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
.nav__list { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 28px; }
.nav__link {
  font-family: var(--f-mincho); font-size: 20px; letter-spacing: .2em; text-decoration: none;
  color: var(--light); padding: 4px 0;
}
.nav__link[aria-current="page"] { border-bottom: 1px solid var(--accent); }
.nav__cta { margin-top: 12px; }

@media (min-width: 768px) {
  .brand__logo { width: 40px; height: 40px; }
  .brand__name { font-size: 26px; }
  .nav-ready .nav-toggle { display: none; }
  .nav {
    position: static; inset: auto; display: block;
    background: none; opacity: 1; visibility: visible; transition: none;
  }
  .nav__list { flex-direction: row; align-items: center; gap: 36px; }
  .nav__link { font-size: 14px; letter-spacing: .12em; color: var(--light); opacity: .85; transition: opacity .3s; }
  .nav__link:hover { opacity: 1; }
  .nav__cta { margin-top: 0; }
}
/* メニューが使えない時（JS無効・main.js 失敗／SP）：ハンバーガーを使わず、メニューをヘッダー内に並べる */
@media (max-width: 767px) {
  html:not(.nav-ready) .site-header { position: relative; height: auto; }
  html:not(.nav-ready) .site-header__inner { flex-wrap: wrap; padding-top: 16px; padding-bottom: 20px; }
  html:not(.nav-ready) .nav { position: static; opacity: 1; visibility: visible; width: 100%; background: none; }
  html:not(.nav-ready) .nav__list { flex-direction: row; flex-wrap: wrap; gap: 12px 22px; align-items: center; }
  html:not(.nav-ready) .nav__link { font-size: 13px; }
  html:not(.nav-ready) .nav__cta { margin: 0; }
}

main { display: block; }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 116px 0 70px;
  text-align: center;
}
/* ヒーロー専用の光（仕様の5色由来のみ） */
.hero.sec-dark--glow {
  background-image:
    radial-gradient(ellipse 70% 85% at -10% 45%, rgba(83, 142, 150, .6), rgba(83, 142, 150, 0) 72%),
    radial-gradient(ellipse 55% 65% at 105% 90%, rgba(227, 255, 228, .1), rgba(227, 255, 228, 0) 70%),
    linear-gradient(135deg, var(--base), var(--deep) 65%);
}
.hero__inner { width: 100%; }
.hero__logo { width: 98px; height: 98px; margin: 0 auto 10px; }
.hero__name { margin: 0; font-family: var(--f-en); font-size: 46px; font-weight: 400; letter-spacing: .08em; line-height: 1.1; }
.hero__tag { font-family: var(--f-mincho); font-size: 13px; letter-spacing: .18em; margin: 10px 0 0; color: var(--text-dark-sub); }
.hero .eyebrow { margin: 12px 0 0; }
.hero__catch { margin: 38px 0 24px; font-size: clamp(27px, 7.2vw, 46px); }
.hero__desc { font-size: 14px; line-height: 2; letter-spacing: .06em; max-width: 44em; margin: 0 auto 20px; }
.hero__sub { font-family: var(--f-mincho); font-size: 15px; line-height: 2.2; color: var(--text-dark-sub); margin: 0 auto 30px; }
@media (max-width: 767px) {
  .hero__catch { max-width: 13em; margin-left: auto; margin-right: auto; }
  .hero__sub { font-size: 14px; }
}
@media (min-width: 768px) {
  .hero { min-height: max(820px, 100svh); padding-top: 130px; }
  .hero__logo { width: 130px; height: 130px; }
  .hero__name { font-size: 52px; }
  .hero__catch { margin-top: 44px; }
  .hero__desc { font-size: 15px; }
  .hero__sub { font-size: 17px; }
}

/* 下層ページのページヘッダー */
.page-hero { padding: calc(var(--header-h) + 72px) 0 72px; }
.page-hero .h1 { font-size: clamp(26px, 6vw, 40px); }
@media (min-width: 768px) { .page-hero { padding: calc(var(--header-h) + 104px) 0 104px; } }
.page-intro { margin: 28px 0 0; }

/* ---------- Lists ---------- */
/* 罫線区切りの一行リスト（「こんな毎日」など） */
.line-list { list-style: none; border-top: 1px solid var(--line-dark); }
.line-list > li {
  padding: 24px 0 24px 36px; position: relative;
  border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-mincho); font-size: clamp(15px, 3.8vw, 18px); line-height: 1.9;
}
.line-list > li::before {
  content: ""; position: absolute; left: 0; top: calc(24px + .95em); width: 16px; height: 1px;
  background: currentColor; opacity: .5;
}
.sec-light .line-list, .sec-light .line-list > li { border-color: var(--line-light); }

/* ドットなしの静かなリスト */
.plain-list { list-style: none; }
.plain-list > li { padding: 6px 0 6px 1.4em; position: relative; }
.plain-list > li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: .6em; height: 1px; background: currentColor; opacity: .6; }

/* 番号付きリスト（①〜⑤） */
.num-list { list-style: none; }
.num-list > li { display: grid; grid-template-columns: 3em 1fr; gap: 0 12px; padding: 24px 0; border-bottom: 1px solid var(--line-dark); }
.num-list > li::before { font-family: var(--f-mincho); font-size: 20px; line-height: 1.6; color: var(--base); }
.num-list > li:nth-child(1)::before { content: "①"; }
.num-list > li:nth-child(2)::before { content: "②"; }
.num-list > li:nth-child(3)::before { content: "③"; }
.num-list > li:nth-child(4)::before { content: "④"; }
.num-list > li:nth-child(5)::before { content: "⑤"; }
.sec-light .num-list > li { border-color: var(--line-light); }
.num-list__title { font-family: var(--f-mincho); font-size: 18px; letter-spacing: .1em; }
.num-list__title .en { display: block; font-size: 12px; color: var(--mid); letter-spacing: .16em; margin-top: 2px; }
.num-list p { font-size: 14px; margin-top: 8px; }

/* ---------- Split / Contrast ---------- */
/* 2カラム（テキスト＋画像など） */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 72px; }
  .split--wide-text { grid-template-columns: 1.2fr .8fr; }
}
.figure { margin: 0; }
.figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 900px) { .figure--tall img { aspect-ratio: 4 / 5; } }
.figure figcaption { font-size: 12px; margin-top: 10px; color: var(--text-dark-sub); }
.service-image { margin-top: 56px; }
.service-image img { aspect-ratio: 16 / 5; }
@media (max-width: 767px) { .service-image img { aspect-ratio: 16 / 9; } }

/* 罫線区切りの強みリスト（services） */
.strengths { list-style: none; }
.strengths li { border-bottom: 1px solid var(--line-dark); padding: 15px 0; }
.strengths li:first-child { border-top: 1px solid var(--line-dark); }

/* 左右対比（多くのコンシェルジュ／Lin） */
.contrast { display: grid; gap: 0; border: 1px solid var(--line-dark); }
.contrast__col { padding: 32px 28px; }
.contrast__col + .contrast__col { border-top: 1px solid var(--line-dark); }
.contrast__label { font-family: var(--f-mincho); font-size: 18px; letter-spacing: .14em; margin-bottom: 16px; }
.contrast__label.en { font-family: var(--f-en); font-weight: 400; letter-spacing: .08em; }
.contrast__col--muted { color: var(--text-dark-sub); }
.contrast__col--em { background: rgba(227, 255, 228, .05); }
.contrast__col--em .contrast__label { color: var(--accent); }
.sec-light .contrast, .sec-light .contrast__col + .contrast__col { border-color: var(--line-light); }
.sec-light .contrast__col--muted { color: var(--text-light-sub); }
.sec-light .contrast__col--em { background: rgba(83, 142, 150, .08); }
.sec-light .contrast__col--em .contrast__label { color: var(--deep); }
@media (min-width: 768px) {
  .contrast { grid-template-columns: 1fr 1fr; }
  .contrast__col { padding: 48px 44px; }
  .contrast__col + .contrast__col { border-top: 0; border-left: 1px solid var(--line-dark); }
  .sec-light .contrast__col + .contrast__col { border-left-color: var(--line-light); }
}

/* ---------- Steps（流れ） ---------- */
.steps { list-style: none; counter-reset: step; position: relative; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 0 0 48px 64px;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border: 1px solid currentColor; font-family: var(--f-en); font-size: 15px; letter-spacing: .04em;
}
.steps > li::after {
  content: ""; position: absolute; left: 22px; top: 52px; bottom: 8px; width: 1px;
  background: currentColor; opacity: .25;
}
.steps > li:last-child { padding-bottom: 0; }
.steps > li:last-child::after { display: none; }
.step__title { font-family: var(--f-mincho); font-size: 19px; letter-spacing: .12em; line-height: 1.6; padding-top: 6px; margin-bottom: 12px; }
.step__meta { font-size: 13px; color: var(--text-dark-sub); margin-bottom: 12px; }
.sec-light .step__meta { color: var(--text-light-sub); }
.step__box { margin-top: 16px; padding: 20px 24px; border: 1px solid var(--line-dark); }
.sec-light .step__box { border-color: var(--line-light); background: rgba(255, 255, 255, .5); }
.step__box-title { font-size: 13px; letter-spacing: .14em; margin-bottom: 8px; color: var(--mid); }
.sec-light .step__box-title { color: var(--base); }
@media (max-width: 767px) {
  .steps > li { padding-left: 54px; }
  .step__box { padding: 18px; }
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 24px; }
@media (min-width: 768px) {
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
}
.card { padding: 36px 28px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.sec-light .card { border-color: var(--line-light); background: rgba(255, 255, 255, .45); }
.card__label { font-family: var(--f-en); font-size: 13px; letter-spacing: .2em; color: var(--mid); margin-bottom: 12px; }
.sec-dark .card__label { color: var(--accent); }
.sec-light .card__label { color: var(--base); }
.card__title { font-family: var(--f-mincho); font-size: 20px; letter-spacing: .12em; line-height: 1.6; margin-bottom: 16px; }
.card--foundation { border-width: 1px; border-color: var(--mid); }
@media (min-width: 768px) { .card { padding: 44px 40px; } }

/* ---------- dl 表（特商法・会社情報など） ---------- */
.dl-table { border-top: 1px solid var(--line-dark); }
.dl-table__row { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.dl-table dt { font-family: var(--f-mincho); font-size: 14px; letter-spacing: .12em; }
.dl-table dd { margin: 0; font-size: 15px; }
.sec-light .dl-table, .sec-light .dl-table__row { border-color: var(--line-light); }
@media (min-width: 768px) {
  .dl-table__row { grid-template-columns: 14em 1fr; gap: 32px; padding: 24px 0; }
}

/* 法的ページ等の長文 */
.prose { max-width: 44em; }
.prose h2 { font-family: var(--f-mincho); font-size: 18px; letter-spacing: .12em; margin: 48px 0 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line-light); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.prose li { margin-bottom: .4em; }
.form a, .dl-table a, .prose a { overflow-wrap: anywhere; }

/* ---------- Form ---------- */
.contact-layout { display: grid; gap: 40px; }
.contact-intro img { margin-bottom: 24px; }
.contact-intro p { max-width: 23em; }
@media (min-width: 900px) {
  .contact-layout { grid-template-columns: 1fr 1.6fr; gap: 72px; }
  .contact-intro { position: sticky; top: 120px; align-self: start; }
}
.form__row { margin-bottom: 28px; }
.form__label { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--f-mincho); font-size: 15px; letter-spacing: .1em; line-height: 1.7; margin-bottom: 10px; }
fieldset.form__row { margin-bottom: 24px; }
.form__badge { font-family: var(--f-gothic); font-weight: 300; font-size: 11px; letter-spacing: .08em; padding: 1px 8px; border: 1px solid currentColor; line-height: 1.6; }
.form__badge--req { color: var(--base); }
.form__badge--opt { color: var(--text-light-sub); }
.input, .textarea {
  width: 100%; padding: 14px 16px;
  font: inherit; font-family: var(--f-gothic); font-weight: 400; font-size: 16px; letter-spacing: .04em; line-height: 1.7;
  color: var(--deep); background: #fff;
  border: 1px solid var(--line-light); border-radius: var(--radius);
  transition: border-color .3s;
}
.input:focus, .textarea:focus { outline: none; border-color: var(--deep); }
.input:focus-visible, .textarea:focus-visible { outline: 2px solid var(--base); outline-offset: 3px; }
.textarea { min-height: 200px; resize: vertical; }
.radio-group { display: flex; flex-wrap: wrap; gap: 12px 28px; border: 0; padding: 0; margin: 0; }
.radio-group legend { margin-bottom: 16px; }
.radio { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 44px; font-family: var(--f-gothic); font-weight: 400; }
.radio input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; border: 1px solid var(--deep); border-radius: 50%; display: grid; place-content: center; }
.radio input::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--deep); transform: scale(0); transition: transform .2s; }
.radio input:checked::before { transform: scale(1); }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__actions { margin-top: 40px; }
.form__note { margin-top: 20px; font-size: 13px; color: var(--text-light-sub); }
#form-status:empty { display: none; }
#form-status:focus { outline: 1px solid var(--base); outline-offset: 6px; }
.google-form { width: 100%; max-width: 100%; border: 0; }

/* ---------- Home: 呼び鈴・同行型 ---------- */
.feature { display: grid; gap: 40px; }
@media (min-width: 900px) { .feature { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; } }

/* ---------- 名に込めたこと（5文字） ---------- */
/* ホーム：梅結びロゴを5文字が囲む */
.knot { position: relative; width: min(460px, 86vw); aspect-ratio: 1 / 1; margin: 48px auto 32px; container-type: inline-size; }
.knot__logo { position: absolute; left: 50%; top: 50%; width: 56%; height: 56%; transform: translate(-50%, -50%); opacity: .95; }
.knot__k { position: absolute; left: 50%; top: 50%; font-family: var(--f-mincho); font-size: clamp(30px, 7.5vw, 50px); line-height: 1; letter-spacing: 0; color: var(--light); transform: translate(-50%, -50%); }
.knot__k:nth-of-type(1) { transform: translate(-50%, -50%) translate(0, -41cqw); }
.knot__k:nth-of-type(2) { transform: translate(-50%, -50%) translate(39cqw, -12.7cqw); }
.knot__k:nth-of-type(3) { transform: translate(-50%, -50%) translate(24.1cqw, 33.2cqw); }
.knot__k:nth-of-type(4) { transform: translate(-50%, -50%) translate(-24.1cqw, 33.2cqw); }
.knot__k:nth-of-type(5) { transform: translate(-50%, -50%) translate(-39cqw, -12.7cqw); }
@supports not (width: 1cqw) {
  .knot { width: auto; aspect-ratio: auto; display: flex; justify-content: center; gap: clamp(16px, 5vw, 48px); }
  .knot__logo { display: none; }
  .knot__k { position: static; transform: none; }
}

/* about：5行（漢字1字＋短文） */
.meaning { list-style: none; max-width: 640px; margin: 0 auto; }
.meaning > li {
  display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 24px;
  padding: 28px 0; border-bottom: 1px solid var(--line-dark);
}
.meaning > li:first-child { border-top: 1px solid var(--line-dark); }
.meaning__kanji { font-family: var(--f-mincho); font-size: 48px; line-height: 1; text-align: center; }
.meaning__text { font-family: var(--f-mincho); font-size: clamp(16px, 4vw, 20px); letter-spacing: .14em; line-height: 1.8; }
@media (min-width: 768px) {
  .meaning > li { grid-template-columns: 120px 1fr; gap: 40px; padding: 36px 0; }
  .meaning__kanji { font-size: 64px; }
}
@media (max-width: 767px) {
  .meaning > li { grid-template-columns: 56px 1fr; gap: 20px; }
  .meaning__text { letter-spacing: .07em; }
}
.meaning-logo { width: 96px; height: 96px; margin: 0 auto 48px; opacity: .92; }

/* ---------- Message（引用風） ---------- */
.message { max-width: 720px; margin: 0 auto; text-align: center; }
.message.mt-l { margin-top: 72px; }
.message__quote {
  margin: 0; padding: 48px 0;
  border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark);
  font-family: var(--f-mincho); font-size: clamp(18px, 4.6vw, 26px); line-height: 2.1; letter-spacing: .12em;
}
.message__quote p { margin: 0; }
.message__by { margin-top: 24px; font-family: var(--f-mincho); font-size: 14px; letter-spacing: .2em; color: var(--text-dark-sub); }

/* ---------- about：どんな現場にいたか ---------- */
.career__body p { line-height: 2.1; }
.career__extra { margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line-light); font-size: 13px; letter-spacing: .06em; color: var(--text-light-sub); }

/* ---------- Profile（about） ---------- */
/* モバイル: 1列（写真→本文）／900px以上: 写真左・本文右（gap は .split を踏襲） */
@media (min-width: 900px) {
  .split--profile { grid-template-columns: .8fr 1.2fr; align-items: start; }
}
.profile__photo img { aspect-ratio: 4 / 5; }
@media (max-width: 899px) {
  .profile__photo { max-width: 320px; width: 100%; margin: 0 auto; }
}
.profile__body .h2 { margin-bottom: 12px; }
.profile__role { font-family: var(--f-mincho); font-size: 14px; letter-spacing: .16em; color: var(--text-light-sub); margin-bottom: 32px; }
.profile__body p { line-height: 2.1; }
.profile__intro { margin-bottom: 40px; }
@media (max-width: 767px) { .profile__intro br { display: none; } }
.profile__h3 { font-family: var(--f-mincho); font-size: 15px; letter-spacing: .14em; color: var(--base); padding-top: 24px; border-top: 1px solid var(--line-light); margin-bottom: 16px; }
.profile__facts { list-style: none; margin: 0 0 8px; padding: 0; }
.profile__facts li { position: relative; padding-left: 18px; line-height: 2; font-size: 15px; }
.profile__facts li::before { content: ""; position: absolute; left: 0; top: 1em; width: 8px; height: 1px; background: var(--base); }
.profile__word { margin-top: 40px; font-family: var(--f-mincho); font-size: 18px; letter-spacing: .14em; color: var(--deep); }

/* ---------- 2つの支え方（services） ---------- */
.ways { color: var(--light); display: grid; gap: 24px; }
.way { padding: 28px 20px 32px; border: 1px solid var(--line-dark); border-radius: var(--radius); }
.way__head { margin-bottom: 20px; }
.way__label { font-family: var(--f-en); font-size: 13px; letter-spacing: .2em; color: var(--accent); margin-bottom: 10px; }
.way__title { font-family: var(--f-mincho); font-size: 20px; letter-spacing: .12em; line-height: 1.6; margin-bottom: 10px; }
.way__text { font-size: 14px; line-height: 1.9; opacity: .9; }
.board { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 0; padding: 0; }
.board__item { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); }
.board__item img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(.85); }
.board__item::after { content: ""; position: absolute; inset: auto 0 0 0; height: 46%; background: linear-gradient(180deg, rgba(31,56,59,0), rgba(31,56,59,.62)); pointer-events: none; }
.board__item--wide { grid-column: span 2; aspect-ratio: 16 / 8; }
.board__word { position: absolute; left: 16px; bottom: 14px; z-index: 1; font-family: var(--f-mincho); font-size: 15px; letter-spacing: .14em; }
.way__cases { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.way__cases li { position: relative; padding-left: 18px; font-size: 14px; line-height: 1.8; letter-spacing: .04em; }
.way__cases li::before { content: ""; position: absolute; left: 0; top: .95em; width: 8px; height: 1px; background: var(--accent); }
@media (min-width: 768px) {
  .ways { gap: 32px; }
  .way { padding: 40px 40px 44px; }
  .way__head { display: grid; grid-template-columns: auto 1fr; column-gap: 32px; align-items: baseline; margin-bottom: 24px; }
  .way__label { grid-column: 1 / -1; }
  .way__title { margin-bottom: 0; }
  .board { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .board__item--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .board__word { font-size: 16px; left: 20px; bottom: 18px; }
  .way__cases { display: block; columns: 2; column-gap: 32px; margin-top: 26px; }
  .way__cases li { break-inside: avoid; margin-bottom: 10px; }
}

/* ---------- CTA 帯 ---------- */
.cta { text-align: center; }
.cta .h2 { margin-bottom: 20px; }
.cta__text { margin-bottom: 40px; }

/* ---------- thanks ---------- */
.thanks { min-height: 75svh; display: grid; align-items: center; }
.thanks .h1 { font-size: clamp(25px, 6.7vw, 38px); }

/* ---------- Footer ---------- */
.site-footer { padding: 72px 0 32px; border-top: 1px solid var(--line-dark); }
.site-footer__grid { display: grid; gap: 48px; }
.footer-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--light); }
.footer-brand__logo { width: 56px; height: 56px; flex: none; }
.footer-brand__name { font-family: var(--f-en); font-size: 28px; font-weight: 400; letter-spacing: .06em; line-height: 1.2; display: block; }
.footer-brand__tag { font-family: var(--f-mincho); font-size: 12px; letter-spacing: .14em; display: block; }
.footer-brand__en { font-family: var(--f-en); font-size: 12px; letter-spacing: .12em; display: block; color: var(--text-dark-sub); margin-top: 4px; }
.footer-nav__list { list-style: none; display: grid; grid-template-columns: repeat(2, max-content); gap: 12px 40px; }
.footer-nav__list a { text-decoration: none; font-family: var(--f-mincho); font-size: 14px; letter-spacing: .14em; opacity: .9; }
.footer-nav__list a:hover { text-decoration: underline; }
.footer-legal { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-size: 12px; letter-spacing: .08em; }
.footer-legal a { color: var(--text-dark-sub); text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }
.copyright { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-family: var(--f-en); font-size: 12px; letter-spacing: .12em; color: var(--text-dark-sub); }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1fr auto; align-items: start; gap: 32px; }
  .footer-nav__list { grid-template-columns: repeat(4, max-content); gap: 12px 24px; }
  .footer-legal { justify-content: flex-end; }
}

/* ---------- Fade ---------- */
/* 本文は最初から表示。JSが画面外の要素にだけ data-reveal を付け、見えた時にフェードさせる */
.fade { opacity: 1; transform: none; transition: opacity .75s ease; }
.fade[data-reveal]:not(.is-visible) { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade[data-reveal]:not(.is-visible) { opacity: 1; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* ---------- Utility ---------- */
.mobile-only { display: none; }
@media (max-width: 767px) { .mobile-only { display: block; } }
