/* KEEPEN.online — 基準：LIFE RECIPE セルフシート（白・細いゴシック・細いグレー罫線・黄1色） */

:root {
  --ink: #171717;      /* 見出し・強い文字（セルフシートと同じ） */
  --text: #444444;     /* 本文グレー（白地でコントラスト約9.7:1） */
  --muted: #6b6b6b;    /* ラベル・小さい文字（約5.3:1） */
  --line: #e0e0e0;     /* 細いグレー罫線 */
  --field: #8a8a8a;    /* 入力欄の枠（3:1以上） */
  --yellow: #fdd601;   /* ロゴと同じ黄。ハイライトの意味でだけ使う */
  --bg: #ffffff;
  --wrap: 720px;
  --gutter: 24px;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  line-break: strict;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- ヘッダー ---------- */
.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  max-width: 1120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand img { width: 30px; }

.brand span {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.22em;
}

.site-nav ul {
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover { color: var(--ink); }

/* ---------- セクション共通 ---------- */
.section {
  padding: 104px 0;
  border-top: 1px solid var(--line);
}

.section:first-child { border-top: 0; }

.label {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.6;
  color: var(--muted);
}

h1, h2, h3 { color: var(--ink); margin: 0; }

h2 {
  font-size: 30px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 40px;
}

h3 {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.06em;
  margin: 56px 0 16px;
}

p { margin: 0 0 1.4em; }

.prose p:last-child { margin-bottom: 0; }

strong { font-weight: 500; color: var(--ink); }

.small {
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- HERO ---------- */
.hero { padding: 120px 0 128px; }

.hero h1 {
  font-size: clamp(46px, 12vw, 96px);
  font-weight: 100;
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin-bottom: 36px;
}

.hero h1 > span { display: block; }

/* 「Highlight.」の下の黄色いマーカー線 */
.hl {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.hl::after {
  content: "";
  position: absolute;
  left: -0.04em;
  right: -0.06em;
  bottom: 0.1em;
  height: 0.2em;
  background: var(--yellow);
  z-index: -1;
}

.hero-sub {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 48px;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  border: 1px solid var(--ink);
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn:hover { background: #f5f5f5; }

/* 主ボタン（セルフシート）だけ黄色 */
.btn-primary {
  background: var(--yellow);
  border-color: var(--yellow);
}

.btn-primary:hover { background: var(--yellow); border-color: var(--ink); }

.actions { margin-top: 48px; }

/* ---------- 番号付きの手順・流れ ---------- */
.steps {
  list-style: none;
  counter-reset: step;
  margin: 0 0 32px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 18px 0 18px 44px;
  border-bottom: 1px solid var(--line);
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 18px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* ---------- 概要（表） ---------- */
.spec {
  margin: 40px 0;
  border-top: 1px solid var(--line);
}

.spec div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec dt {
  color: var(--ink);
  font-weight: 400;
}

.spec dd { margin: 0; }

.lead { color: var(--ink); }

.prose.added { margin-top: 1.4em; }

.tagline {
  margin: -16px 0 32px;
  color: var(--ink);
}

/* ---------- 小さめの注意書き ---------- */
.notes {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.notes ul {
  margin: 0 0 16px;
  padding-left: 1.2em;
}

.notes li { margin-bottom: 4px; }

.notes-title {
  margin: 0 0 4px;
  color: var(--ink);
  font-weight: 400;
}

/* ---------- 07 YOUR ARCHITECT（03〜06より控えめ） ---------- */
.section-quiet h2 { font-size: 26px; }
.price-line { margin: 40px 0 0; color: var(--ink); }

/* ---------- 08 KEEPEN / FOUNDER ---------- */
.plain-list {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}

.plain-list li { padding: 2px 0; }

.title-line {
  margin: -8px 0 24px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.career {
  margin: 0;
  padding-left: 1.2em;
}

/* ---------- 09 CONTACT ---------- */
.form { margin-top: 48px; }

.field { margin-bottom: 28px; }

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--field);
  border-radius: 0;
  background: var(--bg);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.7;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23171717' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.field textarea { min-height: 180px; resize: vertical; }

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- 下層ページ ---------- */
.page { padding: 88px 0 120px; }

.page h1 {
  font-size: 26px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.06em;
  margin-bottom: 48px;
}

.page h2 {
  font-size: 17px;
  font-weight: 400;
  margin: 48px 0 12px;
}

.enacted { margin-top: 56px; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line);
  font-size: 15px;
}

.legal-table th,
.legal-table td {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 12em;
  padding-right: 24px;
  color: var(--ink);
  font-weight: 400;
}

.legal-table ul { margin: 0; padding-left: 1.2em; }

/* ---------- フッター ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 56px 0 48px;
}

.footer-logo { display: inline-block; }

.footer-logo img { width: 168px; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 32px 0 16px;
  padding: 0;
  list-style: none;
  font-size: 12px;
}

.footer-links a { color: var(--muted); }

.copyright {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

/* ---------- スマートフォン ---------- */
@media (max-width: 600px) {
  :root { --gutter: 20px; }

  body { font-size: 15px; line-height: 1.95; }

  .header-inner { min-height: 56px; gap: 12px; }
  .brand img { width: 26px; }
  .brand span { font-size: 12px; letter-spacing: 0.18em; }
  .site-nav ul { gap: 12px; }
  .site-nav a { font-size: 10px; letter-spacing: 0.1em; }

  .section { padding: 80px 0; }
  .hero { padding: 88px 0 96px; }
  .hero-sub { font-size: 16px; }

  h2 { font-size: 24px; margin-bottom: 32px; }
  .section-quiet h2 { font-size: 22px; }

  .btn { display: block; width: 100%; padding: 15px 12px; font-size: 14px; letter-spacing: 0.02em; }

  .spec div { grid-template-columns: 5em 1fr; gap: 12px; }

  .legal-table th,
  .legal-table td { display: block; width: auto; }
  .legal-table th { padding: 16px 0 4px; border-bottom: 0; }
  .legal-table td { padding: 0 0 16px; }
}
