/* Layout: soft mist-green page, oversized calm headline, each service shown as a layered-hills illustration card. */
:root {
  --bg: #f3f6f1;
  --surface: #fbfcfa;
  --text: #1d2b27;
  --muted: #5c6b65;
  --line: #d9e2d9;
  --accent: #3b7a6a;
  --accent-ink: #ffffff;
  --gold: #8f7330;
  --band: #dce8df;
  --f-body: "Plus Jakarta Sans", "Noto Sans SC", system-ui, sans-serif;
  --f-cn: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1a17; --surface: #16231f; --text: #e9f0ec; --muted: #98a9a2; --line: #263530;
    --accent: #7fcab5; --accent-ink: #0b1a16; --gold: #d3b062; --band: #172823;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1a17; --surface: #16231f; --text: #e9f0ec; --muted: #98a9a2; --line: #263530;
  --accent: #7fcab5; --accent-ink: #0b1a16; --gold: #d3b062; --band: #172823;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f-body); font-size: 16px; line-height: 1.65;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
a { color: inherit; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: 1120px; margin: 0 auto; }
.eyebrow { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 26px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; font-family: inherit; cursor: pointer; }
.btn:hover { filter: brightness(1.08); }
.btn.line { background: transparent; color: var(--text); border-color: var(--line); }
.btn.line:hover { border-color: var(--accent); filter: none; }
.cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

/* hero */
.hero { padding-block: clamp(56px, 11vw, 132px) clamp(40px, 7vw, 80px); }
.hero .brand { display: flex; align-items: baseline; gap: 12px; font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.hero .brand span { font-family: var(--f-cn); font-weight: 500; color: var(--accent); font-size: 17px; }
.badge { display: inline-block; margin-top: 18px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--accent); background: var(--surface); }
.hero h1 { margin-top: 28px; font-size: clamp(44px, 8.6vw, 104px); font-weight: 700; letter-spacing: -.035em; line-height: 1; text-wrap: balance; max-width: 11em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { margin-top: 24px; font-size: clamp(16px, 2vw, 20px); color: var(--muted); max-width: 28em; }

/* service cards */
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 32px) clamp(14px, 2vw, 24px); }
.grid .card:nth-child(-n+3) { grid-column: span 2; }
.grid .card:nth-child(n+4) { grid-column: span 3; }
.card { display: block; text-decoration: none; min-width: 0; }
.art { overflow: hidden; border-radius: 20px; background: var(--surface); aspect-ratio: 3 / 2; }
.grid .card:nth-child(n+4) .art { aspect-ratio: 16 / 9; }
.art svg { width: 100%; height: 100%; transition: transform .7s ease; }
.card:hover .art svg { transform: scale(1.04); }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; padding: 14px 2px 0; }
.card h3 { font-size: clamp(18px, 2vw, 21px); font-weight: 700; letter-spacing: -.015em; line-height: 1.2; }
.card .cn { font-family: var(--f-cn); color: var(--accent); font-size: 15px; font-weight: 500; }
.card .line { flex-basis: 100%; color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.card .go { color: var(--accent); font-size: 14px; font-weight: 600; margin-top: 8px; flex-basis: 100%; }

/* sections */
section { padding-block: clamp(40px, 6vw, 80px); }
.sec-title { font-size: clamp(30px, 5vw, 52px); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-bottom: 28px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 6vw, 88px); align-items: start; border-top: 1px solid var(--line); padding-top: clamp(32px, 5vw, 56px); }
.about .sec-title { margin-bottom: 0; max-width: 9em; }
.lead { font-size: clamp(19px, 2.4vw, 24px); font-weight: 500; letter-spacing: -.01em; line-height: 1.4; }
.about .body { margin-top: 16px; color: var(--muted); max-width: 34em; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.facts li { padding: 16px 12px 0 0; }
.facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.facts b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
.facts span { color: var(--muted); font-size: 14px; }
.pick { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.pick li { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); }
.pick span { font-size: clamp(16px, 2vw, 19px); }
.pick a { font-weight: 600; font-size: 15px; color: var(--accent); text-decoration: none; }
.pick a:hover { text-decoration: underline; text-underline-offset: 4px; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); counter-reset: s; }
.steps li { counter-increment: s; padding: 22px 20px 4px 0; }
.steps li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 700; margin-bottom: 14px; }
.steps b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.steps span { color: var(--muted); font-size: 15px; display: block; margin-top: 2px; }
.qa { border-top: 1px solid var(--line); max-width: 46em; }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-size: 17px; font-weight: 600; position: relative; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 400; color: var(--accent); }
.qa details[open] summary::after { content: "–"; }
.qa p { padding: 0 0 20px; color: var(--muted); max-width: 38em; }

/* closing band */
.band { background: var(--band); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: clamp(44px, 7vw, 84px) max(16px, env(safe-area-inset-left, 0px)); }
.band-in { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; }
.band h2 { font-size: clamp(30px, 5.4vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.04; }
.band p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* service page */
.back { display: inline-block; margin-top: clamp(20px, 3vw, 32px); font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--text); }
.s-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: start; padding-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 96px); }
.s-grid h1 { font-size: clamp(40px, 7vw, 80px); font-weight: 700; letter-spacing: -.035em; line-height: 1; text-wrap: balance; }
.s-grid .cn { font-family: var(--f-cn); font-weight: 500; font-size: clamp(22px, 3.4vw, 34px); color: var(--accent); margin-top: 12px; letter-spacing: .04em; }
.s-grid .tag { margin-top: 20px; font-size: clamp(16px, 2vw, 19px); color: var(--muted); max-width: 26em; }
.s-grid h2 { margin: 44px 0 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; }
.chips span i { font-style: normal; font-family: var(--f-cn); color: var(--gold); margin-left: 8px; font-size: 13.5px; }
.inc { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.inc li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; font-size: 15.5px; }
.inc li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.visual { position: sticky; top: 16px; }
.visual .art { border-radius: 26px; aspect-ratio: 5 / 4; }
.visual .art svg { transition: none; }
.more { padding-top: 0; }
.more .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
.more .grid .card:nth-child(n) { grid-column: auto; }
.more .art, .more .grid .card:nth-child(n+4) .art { aspect-ratio: 3 / 2; border-radius: 16px; }
.more .card h3 { font-size: 17px; }
.more .card .cn, .more .card .line, .more .card .go { display: none; }

footer { padding-block: 24px max(24px, env(safe-area-inset-bottom, 0px)); display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid .card:nth-child(n) { grid-column: auto; }
  .grid .card:nth-child(n+4) .art { aspect-ratio: 3 / 2; }
  .grid .card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .grid .card:last-child:nth-child(odd) .art { aspect-ratio: 16 / 9; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 8px; }
  .steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .s-grid { grid-template-columns: minmax(0, 1fr); }
  .visual { position: static; }
  .visual .art { aspect-ratio: 16 / 10; }
  .more .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: minmax(0, 1fr); }
  .grid .card:last-child:nth-child(odd) .art { aspect-ratio: 3 / 2; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding: 18px 0 10px; border-left: 0; border-top: 1px solid var(--line); }
  .steps li:first-child { border-top: 0; }
  .facts b { font-size: 17px; } .facts li + li { padding-left: 10px; }
}
@media (prefers-reduced-motion: reduce) { .art svg { transition: none; } html { scroll-behavior: auto; } }
