/* きざしデザイン — 共通スタイル（色は参照デッキの値のみ） */
:root {
  --ink: #1B1E24;
  --sub: #6B7280;
  --rule: #D9DCE1;
  --accent: #1E50A2;
  --bg: #FFFFFF;
  --band: #F3F4F6;
  --wrap: 1080px;
  --gutter: clamp(20px, 5vw, 48px);
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
  line-break: strict;
}
h1, h2, h3, p, dd, dt, li, blockquote { word-break: auto-phrase; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 12px 16px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.prose { max-width: 40em; }
.prose p + p { margin-top: 1.2em; }
.sub { color: var(--sub); font-size: 13px; line-height: 1.9; }

/* ---------- ヘッダー ---------- */
.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.logo { display: block; text-decoration: none; }
.logo img { height: 60px; width: auto; }
.gnav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 14px; letter-spacing: 0.08em; }
.gnav a { text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.gnav a[aria-current="page"] { border-bottom: 1px solid var(--ink); }
.gnav .nav-contact { background: var(--accent); color: #fff; padding: 0 20px; }
.gnav .nav-contact:hover { background: var(--ink); color: #fff; }
.menu-toggle { display: none; }

@media (max-width: 900px) {
  .js .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 44px; min-height: 44px; padding: 0 14px;
    border: 1px solid var(--ink); background: var(--bg); color: var(--ink);
    font: inherit; font-size: 13px; letter-spacing: 0.12em; cursor: pointer;
  }
  .site-header .wrap { flex-wrap: wrap; }
  .js .gnav { display: none; width: 100%; padding-bottom: 16px; }
  .js .gnav.is-open { display: block; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .gnav li { border-top: 1px solid var(--rule); }
  .gnav a { width: 100%; }
  .gnav .nav-contact { justify-content: center; margin-top: 12px; }
  .logo img { height: 44px; }
}

/* ---------- ボタン（行き先のページ名を書く） ---------- */
.btn {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 12px 52px 12px 24px;
  background: var(--ink); color: #fff; text-decoration: none;
  font-size: 14px; letter-spacing: 0.1em; line-height: 1.6; text-align: center;
  overflow: hidden;
}
.btn::after {
  content: ""; position: absolute; right: 0; bottom: 0; width: 44px; height: 9px;
  background: var(--sub); clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.btn:hover { background: var(--accent); color: #fff; }
.btn--accent { background: var(--accent); }
.btn--accent:hover { background: var(--bg); color: var(--accent); outline: 1px solid var(--bg); }
.btn--accent::after { display: none; }
.btn--light { background: var(--bg); color: var(--ink); }
.btn--light:hover { background: var(--rule); color: var(--ink); }
.btn--line { background: var(--bg); color: var(--ink); border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn-stack { display: flex; flex-direction: column; gap: 16px; }

/* ---------- セクションの型：左に見出しと本文、右にボタン ---------- */
.block { padding: clamp(72px, 10vw, 120px) 0; }
.block + .block { border-top: 1px solid var(--rule); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 40px 72px; align-items: start; }
.split__aside { padding-top: 8px; }
@media (max-width: 760px) { .split { grid-template-columns: minmax(0, 1fr); } }

.h2 { font-size: clamp(24px, 3.2vw, 32px); font-weight: 700; line-height: 1.6; letter-spacing: 0.08em; }
.h3 { font-size: 18px; font-weight: 700; line-height: 1.7; letter-spacing: 0.06em; }
.block .h2 + * { margin-top: 28px; }

/* ---------- 薄い灰の帯（お知らせ・相談） ---------- */
.band { background: var(--band); clip-path: polygon(0 40px, 100% 0, 100% calc(100% - 40px), 0 100%); padding: calc(clamp(72px, 10vw, 120px) + 24px) 0; }
.band--end { clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%); padding-top: calc(clamp(72px, 10vw, 120px) + 40px); }
.block.band + .block, .block + .block.band { border-top: 0; }

/* ---------- FV ---------- */
.fv { padding: clamp(88px, 14vw, 160px) 0 clamp(72px, 10vw, 112px); text-align: center; }
.fv__label { display: inline-block; font-size: 13px; letter-spacing: 0.16em; border-bottom: 1px solid var(--ink); line-height: 1.8; }
.fv__main { margin-top: 32px; font-size: clamp(28px, 5.2vw, 52px); font-weight: 700; line-height: 1.6; letter-spacing: 0.1em; }
.fv__sub { margin-top: 24px; font-size: clamp(15px, 1.8vw, 17px); line-height: 2; }
.fv__panel[hidden] { display: none; }
.tabs { display: flex; justify-content: center; max-width: 520px; margin: 56px auto 0; border-top: 1px solid var(--rule); }
.tabs button {
  flex: 1 1 0; min-height: 48px; padding: 10px 6px; margin-top: -1px;
  background: none; border: 0; border-top: 2px solid transparent;
  font: inherit; font-size: 13px; letter-spacing: 0.1em; color: var(--sub); cursor: pointer;
}
.tabs button { white-space: nowrap; }
@media (max-width: 480px) { .tabs button { font-size: 12px; letter-spacing: 0.04em; } }
.tabs button[aria-selected="true"] { border-top-color: var(--ink); color: var(--ink); }
.no-js .tabs { display: none; }

/* ---------- お知らせ ---------- */
.news-list li { display: grid; grid-template-columns: 9.5em 6em minmax(0, 1fr); gap: 4px 24px; padding: 18px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.8; }
.news-list li:first-child { border-top: 1px solid var(--rule); }
.news-list time { font-variant-numeric: tabular-nums; }
.news-list .tag { justify-self: start; font-size: 12px; letter-spacing: 0.12em; border: 1px solid currentColor; padding: 0 10px; line-height: 1.9; }
.news-list a { text-decoration: none; }
.news-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 640px) { .news-list li { grid-template-columns: auto auto; } .news-list li > a { grid-column: 1 / -1; } }

/* ---------- 3つの挑戦の循環図 ---------- */
.cycle { margin-top: 40px; max-width: 600px; letter-spacing: 0; }
.cycle-sp { display: none; }
@media (max-width: 640px) {
  .cycle { display: none; }
  .cycle-sp { display: block; margin-top: 32px; border-top: 1px solid var(--ink); }
  .cycle-sp li { padding: 14px 0; border-bottom: 1px solid var(--rule); font-weight: 700; line-height: 1.8; }
  .cycle-sp li.link { font-weight: 400; color: var(--sub); font-size: 14px; padding-left: 1.2em; }
  .cycle-sp li.link::before { content: "↓ "; }
  .cycle-sp li.last { border-bottom: 0; text-align: center; padding-top: 20px; }
}
.cycle text { font-family: var(--font); fill: var(--ink); }
.cycle .c-sub { fill: var(--sub); }
.cycle-list { margin-top: 24px; }
.cycle-list li { padding: 14px 0; border-top: 1px solid var(--rule); }
.cycle-list li:last-child { border-bottom: 1px solid var(--rule); }
.cycle-list b { display: block; font-size: 16px; }
.cycle-list span { color: var(--sub); font-size: 14px; }

/* ---------- 実績 ---------- */
.client-list { margin-top: 32px; border-top: 1px solid var(--rule); }
.client-list li { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 15px; line-height: 1.8; }
.client-list span { color: var(--sub); font-size: 14px; }
@media (max-width: 640px) { .client-list li { grid-template-columns: minmax(0, 1fr); } }
.quote { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--ink); }
.quote p { font-size: 17px; line-height: 2; }
.quote footer { margin-top: 8px; color: var(--sub); font-size: 13px; }

/* ---------- 相談 ---------- */
.cta { text-align: center; padding-bottom: clamp(80px, 11vw, 128px); }
.cta .h2 { font-size: clamp(24px, 3.6vw, 36px); }
.cta p { margin-top: 20px; }
.cta .btn { width: min(320px, 100%); margin: 40px auto 0; min-height: 60px; font-size: 15px; }

/* ---------- 下層ページ ---------- */
.page-head { padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--rule); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0 10px; font-size: 13px; color: var(--sub); }
.crumbs li + li::before { content: "／"; margin-right: 10px; }
.crumbs a { text-decoration: none; }
.page-head__name { margin-top: 28px; font-size: 14px; letter-spacing: 0.12em; }
.page-head__title { margin-top: 12px; font-size: clamp(28px, 4.6vw, 46px); font-weight: 700; line-height: 1.55; letter-spacing: 0.08em; }
.page-head__lead { margin-top: 28px; }

.rows { margin-top: 36px; border-top: 1px solid var(--ink); }
.rows > div { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); gap: 6px 40px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.rows dt { font-weight: 700; line-height: 1.8; }
.rows dd { line-height: 1.9; }
@media (max-width: 640px) { .rows > div { grid-template-columns: minmax(0, 1fr); } }

.related { margin-top: 28px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ---------- 下層ページの部品 ---------- */
.tbd { display: inline-block; border: 1px dashed var(--sub); color: var(--sub); font-size: 13px; line-height: 1.8; padding: 2px 10px; letter-spacing: 0.04em; }
p.tbd, div.tbd { display: block; margin-top: 20px; }

.compare { width: 100%; margin-top: 36px; border-collapse: collapse; font-size: 15px; line-height: 1.8; }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 18px 16px 18px 0; border-bottom: 1px solid var(--rule); }
.compare thead th { border-bottom: 1px solid var(--ink); font-size: 13px; color: var(--sub); font-weight: 400; }
.compare tbody th { font-weight: 700; width: 9em; }
.compare td.ours { font-weight: 700; }
@media (max-width: 640px) {
  .compare, .compare tbody, .compare tr, .compare th, .compare td { display: block; width: 100%; }
  .compare thead { display: none; }
  .compare tr { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .compare th, .compare td { border: 0; padding: 2px 0; }
  .compare td::before { content: attr(data-label) "："; color: var(--sub); font-weight: 400; font-size: 13px; }
}

.steps { margin-top: 36px; counter-reset: step; border-top: 1px solid var(--ink); }
.steps > li { padding: 28px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 3.5em minmax(0, 1fr); gap: 0 16px; }
.steps > li::before { counter-increment: step; content: counter(step); font-size: 28px; font-weight: 700; line-height: 1.3; color: var(--accent); }
.steps .h3 + p, .steps .h3 + ul { margin-top: 10px; }
.steps ul { margin-top: 14px; }
.steps ul li { padding: 8px 0 8px 1.2em; text-indent: -1.2em; line-height: 1.8; }
.steps ul li::before { content: "・"; }

.svc { padding: 36px 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 24px 72px; align-items: start; }
.svc:first-of-type { border-top: 1px solid var(--ink); }
.svc .rows { margin-top: 16px; border-top: 0; }
.svc .rows > div { grid-template-columns: 7em minmax(0, 1fr); padding: 10px 0; }
.svc .rows dt { font-weight: 400; color: var(--sub); font-size: 14px; }
@media (max-width: 760px) { .svc { grid-template-columns: minmax(0, 1fr); } .svc .rows > div { grid-template-columns: minmax(0, 1fr); } }
.svc-list { margin-top: 36px; }

.case { padding: 40px 0; border-bottom: 1px solid var(--rule); }
.case:first-of-type { border-top: 1px solid var(--ink); margin-top: 36px; }
.case .rows { margin-top: 16px; border-top: 0; }
.case .quote { margin-top: 24px; border-top: 1px solid var(--rule); }

.profile-head { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px 56px; align-items: end; margin-top: 40px; }
.photo-ph { aspect-ratio: 4 / 5; background: var(--band); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--sub); font-size: 13px; padding: 16px; }
.profile-name { font-size: 28px; font-weight: 700; letter-spacing: 0.12em; line-height: 1.5; }
.profile-role { margin-top: 6px; color: var(--sub); font-size: 14px; }
@media (max-width: 640px) { .profile-head { grid-template-columns: minmax(0, 1fr); } .photo-ph { max-width: 280px; } }

.plain-list { margin-top: 28px; border-top: 1px solid var(--rule); }
.plain-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); line-height: 1.8; }

.form { margin-top: 36px; max-width: 40em; display: grid; gap: 28px; }
.form label, .form legend { display: block; font-weight: 700; font-size: 15px; line-height: 1.8; }
.form .req, .form .opt { margin-left: 10px; font-size: 12px; font-weight: 400; color: var(--sub); }
.form input[type="text"], .form input[type="email"], .form textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px 14px; min-height: 48px;
  border: 1px solid var(--sub); border-radius: 0; background: var(--bg); color: var(--ink);
  font: inherit; font-size: 16px; letter-spacing: 0.04em; line-height: 1.8;
}
.form textarea { min-height: 180px; resize: vertical; }
.form fieldset { border: 0; margin: 0; padding: 0; }
.form .choices { margin-top: 8px; display: grid; gap: 4px; }
.form .choices label, .form .consent label { font-weight: 400; display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.form input[type="radio"], .form input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--accent); flex: none; }
.form .btn { width: min(320px, 100%); border: 0; font: inherit; font-size: 15px; letter-spacing: 0.12em; cursor: pointer; min-height: 60px; }

.prose h3 { margin-top: 32px; }
.prose h3 + p, .prose h3 + ul { margin-top: 8px; }
.prose ul li { padding-left: 1.2em; text-indent: -1.2em; }
.prose ul li::before { content: "・"; }

/* ---------- フッター ---------- */
.site-footer { border-top: 1px solid var(--rule); padding: 40px 0 48px; font-size: 13px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer .brand { display: flex; align-items: center; gap: 16px; color: var(--sub); }
.site-footer .brand img { height: 40px; width: auto; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 0 28px; }
.site-footer a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }

/* ---------- 動きを減らす設定 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
.vision-h { margin-top: 48px; }
.vision-h + .sub { margin-top: 6px; }

/* ---------- 事例インタビュー ---------- */
.interview { margin-top: 12px; }
.interview .h3 { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule); }
.interview .q { margin-top: 32px; font-weight: 700; }
.interview .q + p { margin-top: 8px; }
.interview p + p { margin-top: 1em; }
.note-date { margin-top: 48px; }
.dots li { padding-left: 1.2em; text-indent: -1.2em; line-height: 1.8; }
.dots li + li { margin-top: 4px; }
.dots li::before { content: "・"; }
.case .btn { margin-top: 24px; max-width: 320px; }
.profile-photo { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 640px) { .profile-photo { max-width: 280px; } }

.plain-ol { list-style: decimal; padding-left: 1.6em; margin-top: 8px; }
.plain-ol li + li { margin-top: 4px; }
/* 種別ラベルは1行の高さで止め、幅をそろえる */
.news-list .tag { align-self: start; min-width: 5.5em; text-align: center; margin-top: 3px; }
