/* 花物 植物 ソライ ― 提案サンプル（方向：komorebi）
   樹木医の信頼感：落ち着き・自然・誠実。年輪のモチーフ。
   見た目は「スキン」で切り替える（html の data-skin）。HTML は全スキン共通で、
   変えるのはこのファイルの CSS 変数と、末尾の「スキンごとの飾り」だけ。
   一覧と既定値は assets/theme-init.js の SKINS。端末のダークモード設定では切り替えない（夜も選べるスキンの 1 つ）。 */

:root {
  --f-body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-mincho-fallback: "Hiragino Mincho ProN", "Yu Mincho", serif;
  --f-gothic-fallback: "Hiragino Sans", "Yu Gothic", sans-serif;
  --w: 1080px;
  --gut: 20px;
}

/* 1. 若葉（既定）― 自然の中の明るさ。淡い若葉色の面、角丸の大きな写真、丸い端のボタン（参考：glänta） */
:root, :root[data-skin="wakaba"] {
  --bg: #fbfbf5;
  --surface: #ffffff;
  --surface-2: #edf1dd;
  --tint: #e6ebcf;
  --ink: #141a12;
  --ink-2: #3b4337;
  --ink-3: #555e50;
  --line: #d3dabd;
  --forest: #2b5424;
  --forest-ink: #ffffff;
  --moss: #3a5f25;
  --lichen: #9cc35a;
  --ring: rgba(120, 160, 80, .2);
  --band-bg: #d5e9de;
  --band-ink: #13201a;
  --band-accent: #2b5424;
  --kari-bg: #fbefc0;
  --kari-ink: #5f4500;
  --kari-line: #c9a227;
  --ph-bg: #eef1e0;
  --ph-ink: #535c4c;
  --shadow: none;
  --f-head: "Zen Kaku Gothic New", var(--f-gothic-fallback);
  --f-latin: "Jost", var(--f-head);
  --head-weight: 500;
  --head-ls: .06em;
  --r: 24px;
  --sec-pad: 80px;
  color-scheme: light;
}

/* 2. 余白 ― 老舗の品と余白。白地に焦げ茶、明朝の見出しと細い欧文、広い字間（参考：Fujiya1935） */
:root[data-skin="yohaku"] {
  --bg: #ffffff;
  --surface: #fbfaf7;
  --surface-2: #f2efe9;
  --tint: #f5f3ef;
  --ink: #463f2c;
  --ink-2: #575040;
  --ink-3: #6a6455;
  --line: #dedad0;
  --forest: #544d37;
  --forest-ink: #ffffff;
  --moss: #6a634d;
  --lichen: #b9b097;
  --ring: rgba(84, 77, 55, .09);
  --band-bg: #f5f3ef;
  --band-ink: #463f2c;
  --band-accent: #6a634d;
  --kari-bg: #fbefc0;
  --kari-ink: #5f4500;
  --kari-line: #c9a227;
  --ph-bg: #f2efe9;
  --ph-ink: #655f50;
  --shadow: none;
  --f-head: "Zen Old Mincho", var(--f-mincho-fallback);
  --f-latin: "Cormorant Garamond", var(--f-head);
  --head-weight: 500;
  --head-ls: .12em;
  --r: 14px;
  --sec-pad: 112px;
  color-scheme: light;
}

/* 3. 年輪 ― 時を重ねたクラシック。温かい灰にこげ茶、本文まで明朝、角のない写真（参考：三次元 The Classic） */
:root[data-skin="nenrin"] {
  --bg: #f4f4f2;
  --surface: #fbfbf9;
  --surface-2: #e9e6e0;
  --tint: #ecebe7;
  --ink: #2d2519;
  --ink-2: #4b4336;
  --ink-3: #625b4f;
  --line: #d6d6ce;
  --forest: #2d2519;
  --forest-ink: #f4f4f2;
  --moss: #5b4f3d;
  --lichen: #b3a283;
  --ring: rgba(45, 37, 25, .07);
  --band-bg: #e6e2db;
  --band-ink: #2d2519;
  --band-accent: #5b4f3d;
  --kari-bg: #fbefc0;
  --kari-ink: #5f4500;
  --kari-line: #c9a227;
  --ph-bg: #e9e6e0;
  --ph-ink: #5e584d;
  --shadow: none;
  --f-head: "Shippori Mincho B1", var(--f-mincho-fallback);
  --f-body: "Shippori Mincho B1", var(--f-mincho-fallback);
  --f-latin: "STIX Two Text", var(--f-head);
  --head-weight: 500;
  --head-ls: .04em;
  --r: 0px;
  --sec-pad: 104px;
  color-scheme: light;
}

/* 4. 森 ― 苔と樹皮の深い緑（最初にお見せした見た目） */
:root[data-skin="mori"] {
  --bg: #eef0ea;
  --surface: #f8f9f5;
  --surface-2: #e2e7db;
  --ink: #1b231e;
  --ink-2: #4a554e;
  --ink-3: #59645d;
  --line: #cbd2c4;
  --forest: #2b4a35;
  --forest-ink: #f3f6ef;
  --moss: #4b6936;
  --lichen: #c9d47c;
  --ring: rgba(43, 74, 53, .14);
  --band-bg: #2b4a35;
  --band-ink: #f3f6ef;
  --band-accent: #c9d47c;
  --kari-bg: #fbefc0;
  --kari-ink: #5f4500;
  --kari-line: #c9a227;
  --ph-bg: #e4e8de;
  --ph-ink: #536058;
  --shadow: 0 1px 2px rgba(20, 30, 22, .06), 0 8px 24px rgba(20, 30, 22, .06);
  --f-head: "Shippori Mincho B1", var(--f-mincho-fallback);
  --tint: var(--surface);
  --f-latin: var(--f-body);
  --head-weight: 700;
  --head-ls: .04em;
  --r: 6px;
  --sec-pad: 64px;
  color-scheme: light;
}

/* 5. 夜 ― 深い森の夜の色（暗い画面が好みの方に） */
:root[data-skin="yoru"] {
  --bg: #111613;
  --surface: #171f1a;
  --surface-2: #1f2922;
  --ink: #e3e8e0;
  --ink-2: #b1bcb3;
  --ink-3: #8c988f;
  --line: #2e3a31;
  --forest: #9fca92;
  --forest-ink: #0f1711;
  --moss: #a5c27f;
  --lichen: #b6c164;
  --ring: rgba(159, 202, 146, .12);
  --band-bg: #1e3626;
  --band-ink: #e6eee1;
  --band-accent: #b6c164;
  --kari-bg: #3b3313;
  --kari-ink: #f2dc92;
  --kari-line: #a8861d;
  --ph-bg: #1c251f;
  --ph-ink: #9aa69d;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
  --f-head: "Shippori Mincho B1", var(--f-mincho-fallback);
  --tint: var(--surface);
  --f-latin: var(--f-body);
  --head-weight: 700;
  --head-ls: .04em;
  --r: 6px;
  --sec-pad: 64px;
  color-scheme: dark;
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  line-break: strict;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@supports (word-break: auto-phrase) {
  html, body { word-break: auto-phrase; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 {
  font-family: var(--f-head);
  font-weight: var(--head-weight);
  line-height: 1.45;
  letter-spacing: var(--head-ls);
  margin: 0 0 .6em;
  text-wrap: balance;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
small { font-size: .82em; }
:focus-visible { outline: 3px solid var(--lichen); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--w); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: var(--surface); padding: 8px 12px; }

/* ---- sample bar ---- */
.samplebar {
  background: var(--kari-bg);
  color: var(--kari-ink);
  font-size: 13px;
  line-height: 1.6;
  border-bottom: 1px solid var(--kari-line);
}
.samplebar .wrap { padding-top: 7px; padding-bottom: 7px; }
.samplebar a { color: inherit; font-weight: 700; }

/* ---- header ---- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.25;
  margin-right: auto;
  flex: none;
  white-space: nowrap;
}
.brand-name { font-family: var(--f-head); font-weight: 700; font-size: 19px; letter-spacing: .12em; }
.brand-sub { font-size: 11px; color: var(--ink-3); letter-spacing: .08em; }

/* ---- 見た目（スキン）の切り替え ----
   スマホ・タブレット：「メニュー」を開いた中の下半分。PC（1120px 以上）：ヘッダー右端の「見た目」。 */
.skin-list { display: grid; gap: 6px; }
.skin-opt {
  appearance: none;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: min(var(--r), 10px);
  padding: 8px 10px;
  cursor: pointer;
  line-height: 1.45;
}
.skin-opt:hover { background: var(--surface-2); }
.skin-opt .sw {
  flex: none;
  display: flex;
  width: 46px;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .18);
}
.skin-opt .sw i { flex: 1; background: var(--s1); }
.skin-opt .sw i + i { background: var(--s2); }
.skin-opt .sw i + i + i { background: var(--s3); }
.skin-opt .tx { display: grid; min-width: 0; }
.skin-opt b { font-size: 14px; }
.skin-opt small { font-size: 12px; color: var(--ink-2); }
.skin-opt .now {
  margin-left: auto;
  flex: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--forest-ink);
  background: var(--forest);
  border-radius: 999px;
  padding: 1px 8px;
  visibility: hidden;
}
.skin-opt[aria-pressed="true"] { border-color: var(--forest); background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--forest); }
.skin-opt[aria-pressed="true"] .now { visibility: visible; }
/* 色見本（各スキンの 地・主な色・差し色）。ここだけはスキンに関係なく固定の色 */
[data-skin-set="wakaba"] { --s1: #fbfbf5; --s2: #d5e9de; --s3: #2b5424; }
[data-skin-set="yohaku"] { --s1: #ffffff; --s2: #f2efe9; --s3: #544d37; }
[data-skin-set="nenrin"] { --s1: #f4f4f2; --s2: #d6d6ce; --s3: #2d2519; }
[data-skin-set="mori"]   { --s1: #eef0ea; --s2: #2b4a35; --s3: #c9d47c; }
[data-skin-set="yoru"]   { --s1: #111613; --s2: #1e3626; --s3: #9fca92; }
.skin-hint { font-size: 12px; color: var(--ink-3); line-height: 1.6; margin: 8px 2px 0; }

.skin-menu { position: relative; display: none; }
.skin-menu > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  padding: 4px 12px 4px 6px;
  white-space: nowrap;
}
.skin-menu > summary::-webkit-details-marker { display: none; }
.skin-menu > summary::after { content: "▾"; font-size: 10px; color: var(--ink-3); }
.skin-menu[open] > summary { border-color: var(--forest); }
.skin-dot {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--forest);
  box-shadow: inset 0 0 0 4px var(--surface-2);
  border: 1px solid var(--line);
}
.skin-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 380px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: min(var(--r), 12px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 12px 32px rgba(0, 0, 0, .14);
  padding: 12px;
}
.skin-pop-h, .nav-skins-h { font-size: 13px; font-weight: 700; color: var(--ink-2); margin: 0 2px 8px; }

.nav-toggle { position: relative; }
.nav-toggle > summary {
  list-style: none;
  cursor: pointer;
  border: 1px solid var(--line);
  border-radius: min(var(--r), 10px);
  padding: 6px 12px;
  font-size: 14px;
  background: var(--surface);
  color: var(--ink);
  white-space: nowrap;
}
.nav-toggle > summary::-webkit-details-marker { display: none; }
.nav-toggle[open] > summary { background: var(--forest); color: var(--forest-ink); border-color: var(--forest); }
.nav-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: min(360px, calc(100vw - 2 * var(--gut)));
  max-height: calc(100vh - 90px);
  max-height: calc(100dvh - 90px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: min(var(--r), 12px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 12px 32px rgba(0, 0, 0, .14);
  padding: 8px;
}
.nav-panel nav { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-panel a {
  display: block;
  padding: 10px 10px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 6px;
  font-size: 15px;
  line-height: 1.5;
}
.nav-panel a:hover, .nav-panel a[aria-current="page"] { background: var(--surface-2); }
.nav-panel a.nav-cta { grid-column: 1 / -1; background: var(--forest); color: var(--forest-ink); margin-top: 6px; text-align: center; }
.nav-skins { border-top: 1px solid var(--line); margin-top: 10px; padding: 12px 2px 4px; }
.nav-desktop { display: none; }

@media (min-width: 1120px) {
  .nav-toggle { display: none; }
  .skin-menu { display: block; }
  .nav-desktop { display: flex; gap: 2px; align-items: center; }
  .nav-desktop a {
    text-decoration: none;
    color: var(--ink-2);
    font-size: 14px;
    padding: 6px 9px;
    border-radius: 6px;
    white-space: nowrap;
  }
  /* ヘッダーだけ少し広く使い、メニュー 9 個と「見た目」を 1 行に収める */
  .site-header .wrap { max-width: 1200px; }
  .nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--ink); background: var(--surface-2); }
  .nav-desktop a.nav-cta { background: var(--forest); color: var(--forest-ink); margin-left: 6px; }
}

/* ---- buttons ---- */
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: var(--r);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid var(--forest);
  background: var(--forest);
  color: var(--forest-ink);
  cursor: pointer;
  font-family: inherit;
}
.btn.ghost { background: transparent; color: var(--forest); }
.btn:hover { filter: brightness(1.08); }

/* ---- "仮" marker ---- */
.kari {
  display: inline-block;
  background: var(--kari-bg);
  color: var(--kari-ink);
  border: 1px solid var(--kari-line);
  border-radius: 3px;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  padding: 0 5px;
  margin: 0 .3em;
  vertical-align: .15em;
  letter-spacing: .05em;
  white-space: nowrap;
}
.kari-note {
  background: var(--kari-bg);
  color: var(--kari-ink);
  border-left: 3px solid var(--kari-line);
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.7;
  border-radius: 0 var(--r) var(--r) 0;
  margin: 16px 0;
}
.kari-fill {
  background: var(--kari-bg);
  color: var(--kari-ink);
  padding: 0 .3em;
  border-bottom: 1px dashed var(--kari-line);
}

/* ---- photos and placeholders ---- */
.frame {
  position: relative;
  margin: 0;
  background: var(--ph-bg);
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: var(--ar, 4 / 3);
}
.frame > img { width: 100%; height: 100%; object-fit: cover; }
.frame.tall { --ar: 3 / 4; }
.frame.square { --ar: 1 / 1; }
.frame.wide { --ar: 16 / 10; }
.ph {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: 16px;
  border: 1.5px dashed var(--line);
  color: var(--ph-ink);
  font-size: 14px;
  line-height: 1.6;
}
.ph strong { font-family: var(--f-head); font-size: 15px; color: var(--ink-2); }
.ph::before {
  content: "";
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  box-shadow: 0 0 0 5px var(--ph-bg), 0 0 0 6.5px currentColor;
  opacity: .5;
  margin-bottom: 8px;
}
figcaption, .cap {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.7;
  margin-top: 8px;
}

/* ---- sections ---- */
.section { padding: var(--sec-pad) 0; }
.section.tint { background: var(--tint, var(--surface)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section.dark { background: var(--band-bg); color: var(--band-ink); }
.section.dark a { color: var(--band-ink); }
.eyebrow {
  display: block;
  font-family: var(--f-latin, var(--f-body));
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--moss);
  font-weight: 700;
  margin-bottom: 10px;
}
.section.dark .eyebrow { color: var(--band-accent); }
.sec-title { font-size: clamp(24px, 6vw, 34px); }
.lead { font-size: 17px; color: var(--ink-2); }
.section.dark .lead { color: inherit; opacity: .9; }
.more { margin-top: 20px; font-weight: 700; }
.more a::after { content: " →"; }

/* ---- hero (home) ---- */
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; }
.hero-rings {
  position: absolute;
  right: -180px;
  top: -140px;
  width: 620px;
  height: 620px;
  color: var(--ring);
  pointer-events: none;
}
.hero .wrap { position: relative; display: grid; gap: 32px; }
.hero-tag {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.hero-tag span { border: 1px solid var(--line); background: var(--surface); padding: 2px 10px; border-radius: 999px; }
.hero h1 { font-size: clamp(30px, 8.6vw, 54px); line-height: 1.32; margin-bottom: 18px; }
.hero h1 .pre { display: block; font-size: .46em; color: var(--moss); letter-spacing: .1em; margin-bottom: 8px; }
.hero .lead { max-width: 34em; }
.hero-photo .frame { --ar: 4 / 5; box-shadow: var(--shadow); }
@media (min-width: 860px) {
  .hero { padding: 64px 0 80px; }
  .hero .wrap { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
}

/* ---- page head (subpages) ---- */
.page-head { position: relative; padding: 44px 0 40px; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head .hero-rings { right: -240px; top: -260px; width: 560px; height: 560px; }
.page-head h1 { font-size: clamp(28px, 7.4vw, 44px); margin-bottom: 12px; position: relative; }
.page-head .lead { position: relative; max-width: 38em; }
.crumbs { font-size: 12px; color: var(--ink-3); margin-bottom: 14px; position: relative; }
.crumbs a { color: inherit; }

/* ---- grids & cards ---- */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid.g2 { grid-template-columns: repeat(2, 1fr); } .grid.g3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid.g3 { grid-template-columns: repeat(3, 1fr); } .grid.g4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .grid.g4 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--ink-2); line-height: 1.85; }

.worry { display: flex; gap: 14px; align-items: flex-start; }
.worry .mark {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--forest);
  display: grid;
  place-items: center;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 15px;
}

/* main service + side services */
.svc-main {
  display: grid;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.svc-main .body { padding: 24px; }
.svc-main .frame { border-radius: 0; }
@media (min-width: 860px) { .svc-main { grid-template-columns: 1fr 1fr; } .svc-main .body { padding: 36px; } .svc-main .frame { aspect-ratio: auto; min-height: 100%; } }
.badge-main {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  background: var(--forest);
  color: var(--forest-ink);
  padding: 2px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
  letter-spacing: .08em;
}
.side-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .side-list { grid-template-columns: repeat(3, 1fr); } }
.side-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.side-list h3 { font-size: 16px; margin-bottom: 4px; }
.side-list p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }

/* works */
.work { margin: 0; }
.work h3 { font-size: 16px; margin: 12px 0 4px; }
.work p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.work .where { font-size: 12px; color: var(--moss); font-weight: 700; letter-spacing: .06em; }

.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba .frame { --ar: 1 / 1; }
.ba .lbl {
  position: absolute; left: 8px; top: 8px; z-index: 1;
  background: var(--ink); color: var(--bg);
  font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 3px; letter-spacing: .1em;
}

/* profile */
.prof { display: grid; gap: 28px; align-items: start; }
@media (min-width: 820px) { .prof { grid-template-columns: 320px 1fr; gap: 48px; } }
.quote {
  font-family: var(--f-head);
  font-size: 18px;
  line-height: 2;
  border-left: 3px solid var(--lichen);
  padding: 4px 0 4px 18px;
  margin: 0 0 20px;
  color: var(--ink);
}
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 22px; }
.timeline li::before {
  content: ""; position: absolute; left: -6px; top: .7em;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--moss);
}
.timeline .t { display: block; font-size: 12px; color: var(--moss); font-weight: 700; letter-spacing: .08em; }

/* definition table */
.dl { margin: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.dl > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.dl dt { font-weight: 700; font-size: 13px; color: var(--ink-3); letter-spacing: .06em; }
.dl dd { margin: 0; }
@media (min-width: 640px) { .dl > div { grid-template-columns: 180px 1fr; gap: 16px; } .dl dt { font-size: 14px; } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 12px; }
.steps > li {
  counter-increment: st;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 18px 18px 64px;
}
.steps > li::before {
  content: counter(st);
  position: absolute; left: 16px; top: 16px;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 700;
  background: var(--forest); color: var(--forest-ink);
}
.steps h3 { font-size: 17px; margin-bottom: 4px; }
.steps p { font-size: 15px; color: var(--ink-2); }
@media (min-width: 900px) {
  .steps.row { grid-template-columns: repeat(5, 1fr); }
  .steps.row > li { padding: 62px 16px 18px; }
  .steps.row > li::before { left: 16px; top: 16px; }
}

/* stats */
.stats { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 2px solid var(--forest); padding-top: 12px; }
.stat .n { font-family: var(--f-head); font-weight: 700; font-size: clamp(26px, 7vw, 36px); line-height: 1.2; color: var(--forest); }
.stat .n small { font-size: .5em; margin-left: 2px; }
.stat .d { font-size: 13px; color: var(--ink-2); line-height: 1.7; margin-top: 4px; }

/* karte (sample of a tree report) */
.karte {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 20px;
  box-shadow: var(--shadow);
  font-size: 14px;
}
.karte-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; border-bottom: 2px solid var(--ink); padding-bottom: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.karte-head b { font-family: var(--f-head); font-size: 18px; letter-spacing: .2em; }
.karte-head span { font-size: 12px; color: var(--ink-3); }
.karte .row { display: grid; grid-template-columns: 7.5em 1fr; gap: 10px; border-bottom: 1px dotted var(--line); padding: 9px 0; }
.karte .row b { color: var(--ink-2); font-weight: 700; font-size: 13px; }
.karte .row > span { color: var(--ink-3); }

/* area tags */
.tags { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 14px; font-size: 14px; }
.tags li.main { background: var(--forest); color: var(--forest-ink); border-color: var(--forest); font-weight: 700; }

/* instagram frame */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
@media (min-width: 760px) { .ig-grid { grid-template-columns: repeat(6, 1fr); } }
.ig-grid .frame { --ar: 1 / 1; border-radius: 3px; }
.ig-grid .ph { font-size: 11px; padding: 6px; border-width: 1px; }
.ig-grid .ph::before { width: 18px; height: 18px; box-shadow: 0 0 0 3px var(--ph-bg), 0 0 0 4px currentColor; margin-bottom: 4px; }
.ig-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ig-head p { margin: 0; color: var(--ink-2); font-size: 14px; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; }
.faq-item h3 { font-size: 17px; display: flex; gap: 10px; margin-bottom: 8px; }
.faq-item h3::before { content: "Q"; color: var(--moss); font-family: var(--f-head); flex: none; }
.faq-item p { color: var(--ink-2); font-size: 15px; }

/* contact band */
.cta-band { display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1.2fr 1fr; } }
.tel { font-family: var(--f-head); font-weight: 700; font-size: clamp(24px, 6.5vw, 32px); letter-spacing: .06em; text-decoration: none; white-space: nowrap; }
.section.dark .btn { background: var(--band-ink); color: var(--band-bg); border-color: var(--band-ink); }
.section.dark .btn.ghost { background: transparent; color: var(--band-ink); }

/* form */
.form { display: grid; gap: 22px; }
.field > label, .field > .label, fieldset legend {
  display: block;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 6px;
  padding: 0;
}
.req, .opt { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 3px; margin-left: 6px; vertical-align: .1em; }
.req { background: var(--forest); color: var(--forest-ink); }
.opt { background: var(--surface-2); color: var(--ink-3); }
.hint { font-size: 13px; color: var(--ink-3); margin: 0 0 8px; line-height: 1.7; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 11px 12px;
}
textarea { min-height: 160px; line-height: 1.7; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--moss); outline-offset: 0; border-color: var(--moss); }
.choices { display: grid; gap: 8px; }
@media (min-width: 640px) { .choices.c2 { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 11px 12px;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.6;
}
.choice input { margin-top: .3em; accent-color: var(--forest); flex: none; width: 18px; height: 18px; }
.choice small { display: block; color: var(--ink-3); font-size: 12px; }
.choice:has(input:checked) { border-color: var(--forest); background: var(--surface-2); }
.form-result {
  background: var(--surface);
  border: 2px solid var(--forest);
  border-radius: var(--r);
  padding: 20px;
}
.form-result pre {
  white-space: pre-wrap;
  word-break: break-all;
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.7;
  background: var(--bg);
  border-radius: 4px;
  padding: 12px;
  margin: 12px 0 0;
}

/* prose */
.prose h2 { font-size: clamp(22px, 5.6vw, 28px); margin-top: 1.6em; }
.prose h3 { font-size: 19px; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .4em; }
.src { font-size: 12px; color: var(--ink-3); line-height: 1.8; }
.src a { color: inherit; word-break: break-all; }

/* split layouts */
.split { display: grid; gap: 28px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } .split.rev > :first-child { order: 2; } }

/* ---- footer ---- */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 44px 0 28px; font-size: 14px; color: var(--ink-2); }
.foot { display: grid; gap: 24px; }
@media (min-width: 860px) { .foot { grid-template-columns: 1.2fr 1fr; } }
.foot .brand-name { font-size: 20px; color: var(--ink); display: block; margin-bottom: 6px; }
.foot address { font-style: normal; line-height: 1.9; }
.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; list-style: none; padding: 0; margin: 0; }
.foot-nav a { color: var(--ink-2); text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; }
.copy { margin-top: 28px; font-size: 12px; color: var(--ink-3); }

/* 狭い端末（360px 前後）でヘッダーが横にはみ出さないように */
@media (max-width: 400px) {
  .site-header .wrap { gap: 8px; }
  .brand-name { font-size: 16px; letter-spacing: .08em; }
  .nav-toggle > summary { padding: 6px 10px; }
}

/* ---- このサンプルについて：見た目の一覧 ---- */
.skin-cards { list-style: none; padding: 0 !important; margin: 20px 0 1.1em !important; display: grid; gap: 12px; }
@media (min-width: 640px) { .skin-cards { grid-template-columns: 1fr 1fr; } }
.skin-cards li { margin: 0 !important; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.skin-cards .strip { display: flex; height: 44px; border-bottom: 1px solid var(--line); }
.skin-cards .strip i { flex: 2; background: var(--s1); }
.skin-cards .strip i + i { flex: 1; background: var(--s2); }
.skin-cards .strip i + i + i { flex: 1; background: var(--s3); }
.skin-cards .body { padding: 14px 16px 16px; display: grid; gap: 4px; flex: 1; }
.skin-cards h3 { font-size: 18px; margin: 0 !important; }
.skin-cards p { font-size: 14px; color: var(--ink-2); line-height: 1.75; margin: 0; }
.skin-cards .url { font-size: 12px; color: var(--ink-3); word-break: break-all; margin-top: 4px; }
.skin-cards .go { font-weight: 700; font-size: 14px; margin-top: 6px; }
.skin-cards .go a::after { content: " →"; }

/* ================================================================
   スキンごとの飾り（色以外）。HTML は変えず、ここで差を付ける
   ================================================================ */

/* 若葉（glänta の方向）：面の色で節を分け、写真は大きな角丸、ボタンは丸い端。小見出しは大文字の欧文を広く */
:root:not([data-skin]) .eyebrow,
:root[data-skin="wakaba"] .eyebrow { font-weight: 500; letter-spacing: .24em; color: var(--ink); }
:root[data-skin="wakaba"] .section.tint { border-color: transparent; }
:root[data-skin="wakaba"] .btn,
:root[data-skin="wakaba"] .nav-desktop a.nav-cta,
:root[data-skin="wakaba"] .nav-panel a.nav-cta { border-radius: 999px; }
:root[data-skin="wakaba"] .btn.ghost { border-color: var(--ink); color: var(--ink); }
:root[data-skin="wakaba"] .hero-photo .frame { border-radius: 32px; }
:root[data-skin="wakaba"] .card,
:root[data-skin="wakaba"] .faq-item,
:root[data-skin="wakaba"] .steps > li,
:root[data-skin="wakaba"] .side-list li,
:root[data-skin="wakaba"] .karte { border-radius: 20px; }
:root[data-skin="wakaba"] .sec-title { font-weight: 700; }

/* 余白（Fujiya1935 の方向）：白地に細い線、字間と行間を広く。小見出しは細いセリフの欧文を頭だけ大文字に */
:root[data-skin="yohaku"] body { letter-spacing: .08em; line-height: 2.05; }
:root[data-skin="yohaku"] .eyebrow {
  text-transform: lowercase;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--moss);
  margin-bottom: 4px;
}
:root[data-skin="yohaku"] .eyebrow::first-letter { text-transform: uppercase; }
:root[data-skin="yohaku"] .sec-title { font-size: clamp(21px, 5vw, 28px); }
:root[data-skin="yohaku"] .section.tint { border-color: transparent; }
:root[data-skin="yohaku"] .card,
:root[data-skin="yohaku"] .faq-item,
:root[data-skin="yohaku"] .steps > li,
:root[data-skin="yohaku"] .side-list li { background: transparent; }
:root[data-skin="yohaku"] .btn { border-radius: 999px; font-weight: 500; letter-spacing: .12em; }
:root[data-skin="yohaku"] .stat { border-top-width: 1px; }
:root[data-skin="yohaku"] .hero h1 { font-weight: 500; }

/* 年輪（三次元 The Classic の方向）：欧文の小見出しを大きく、和文の見出しは控えめに。角のない写真、丸い濃い色のボタン */
:root[data-skin="nenrin"] .eyebrow {
  text-transform: lowercase;
  font-size: clamp(26px, 6.4vw, 34px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 6px;
}
:root[data-skin="nenrin"] .eyebrow::first-letter { text-transform: uppercase; }
:root[data-skin="nenrin"] .sec-title { font-size: clamp(17px, 4.2vw, 20px); color: var(--ink-2); letter-spacing: .1em; }
:root[data-skin="nenrin"] .hero h1 .pre { font-family: var(--f-latin); }
:root[data-skin="nenrin"] .btn { border-radius: 999px; font-weight: 500; }
:root[data-skin="nenrin"] .section.tint { border-color: var(--line); }
:root[data-skin="nenrin"] .card,
:root[data-skin="nenrin"] .faq-item,
:root[data-skin="nenrin"] .steps > li,
:root[data-skin="nenrin"] .side-list li { background: transparent; border-color: var(--line); }
:root[data-skin="nenrin"] .stat { border-top-width: 1px; }
:root[data-skin="nenrin"] .hero-tag span,
:root[data-skin="nenrin"] .tags li { border-radius: 0; }
.skin-cards .ref { font-size: 13px; color: var(--moss); }
.samplebar .sb-sep { margin: 0 .5em; }

/* 若葉：ヒーローとページ見出しを淡い若葉色の面に、写真を大きく */
:root[data-skin="wakaba"] .hero,
:root[data-skin="wakaba"] .page-head { background: var(--surface-2); border-bottom-color: transparent; }
@media (min-width: 860px) {
  :root[data-skin="wakaba"] .hero .wrap { grid-template-columns: .95fr 1.05fr; }
}

/* 年輪：フッターをこげ茶の帯に（三次元の締め方の方向） */
:root[data-skin="nenrin"] .site-footer { background: #2d2519; border-top-color: #2d2519; color: #ddd6ca; }
:root[data-skin="nenrin"] .site-footer .brand-name,
:root[data-skin="nenrin"] .site-footer a { color: #f4f1ea; }
:root[data-skin="nenrin"] .site-footer .foot-nav a { color: #ddd6ca; }
:root[data-skin="nenrin"] .site-footer .copy { color: #bdb4a5; }
