:root {
  --bg: #ffffff;
  --soft: #f4f8f8;
  --fg: #16232a;
  --muted: #5d6b72;
  --line: #e3eaec;
  --accent: #0f8f86;
  --accent-dark: #0b6f68;
  --accent-soft: #e3f4f2;
  --warm: #ff8a3d;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(22, 35, 42, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  line-height: 1.85;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
h1, h2, h3 { line-height: 1.4; margin: 0; word-break: auto-phrase; text-wrap: balance; }
.hero-lead, .section-lead, .cta-band p, .contact-lead { word-break: auto-phrase; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.2rem); font-weight: 900; letter-spacing: .01em; }
h3 { font-size: 1.12rem; font-weight: 700; }
section { padding: 88px 0; }
.eyebrow { color: var(--accent); font-weight: 700; font-size: .9rem; letter-spacing: .12em; margin: 0 0 10px; }
.eyebrow.light { color: #bff0ea; }
.section-lead { color: var(--muted); margin: 14px auto 0; max-width: 640px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--warm); color: #fff; font-weight: 700; text-decoration: none;
  border-radius: 999px; padding: 12px 26px; border: 2px solid var(--warm);
  box-shadow: 0 8px 20px rgba(255, 138, 61, .3); transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255, 138, 61, .38); }
.btn-lg { padding: 16px 34px; font-size: 1.08rem; }
.btn-sm { padding: 6px 16px; font-size: .9rem; box-shadow: none; }
.btn-ghost { background: #fff; color: var(--fg); border-color: var(--line); box-shadow: none; }
.btn-ghost:hover { box-shadow: var(--shadow); }
.btn-white { background: #fff; color: var(--accent-dark); border-color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .15); }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.2rem; color: var(--fg); text-decoration: none; }
.brand-mark { position: relative; width: 36px; height: 36px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 1.15rem; }
.brand-mark::after { content: ""; position: absolute; top: 4px; right: 4px; width: 6px; height: 6px; border-radius: 50%; background: var(--warm); }
.brand-33 { color: var(--accent); }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--fg); text-decoration: none; font-size: .93rem; font-weight: 500; }
.site-nav a:not(.btn):hover { color: var(--accent); }
.site-nav a.btn { color: #fff; }

/* hero */
.hero { position: relative; padding: 0; min-height: min(86vh, 760px); display: flex; align-items: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 20% center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(270deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.88) 40%, rgba(255,255,255,.15) 62%, rgba(255,255,255,0) 100%); }
.hero-body { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; width: 100%; display: flex; flex-direction: column; align-items: flex-end; }
.hero-copy { width: min(100%, 580px); }
.hero-kicker { display: inline-block; background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; font-size: .9rem; padding: 4px 14px; border-radius: 999px; margin: 0 0 18px; }
.hero h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); font-weight: 900; line-height: 1.3; letter-spacing: .01em; }
.hl { white-space: nowrap; color: var(--accent); background: linear-gradient(transparent 68%, #ffe2c9 68%); }
.hero-lead { font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--muted); margin: 20px 0 30px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 30px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { font-weight: 700; font-size: .95rem; padding-left: 26px; position: relative; }
.hero-points li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; margin-top: 4px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .72rem; display: grid; place-items: center; line-height: 1; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse .split-img { order: 2; }
.split-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.split-img.portrait img { aspect-ratio: 4 / 5; max-width: 440px; margin: 0 auto; }
.split-text h2 { margin-bottom: 20px; }
.split-text p { color: var(--muted); }

/* worry */
.worry { background: var(--soft); }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checklist li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px 12px 48px; position: relative; font-weight: 500; }
.checklist li::before { content: "✓"; position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border-radius: 6px; background: var(--warm); color: #fff; font-size: .8rem; display: grid; place-items: center; line-height: 1; }
.worry-answer { margin-top: 22px; font-size: 1.1rem; color: var(--fg) !important; }
.worry-answer strong { color: var(--accent-dark); background: linear-gradient(transparent 65%, #ffe2c9 65%); }

/* services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.service-body { padding: 20px 22px 24px; }
.service-body h3 { margin-bottom: 8px; }
.service-body p { margin: 0; color: var(--muted); font-size: .95rem; }

/* cta band */
.cta-band { padding: 52px 0; background: linear-gradient(120deg, var(--accent) 0%, #13a99d 100%); color: #fff; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cta-band p { margin: 0; font-size: clamp(1.15rem, 2.6vw, 1.5rem); font-weight: 900; }

/* reasons */
.reason-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.reason { background: var(--soft); border-radius: var(--radius); padding: 32px 28px; }
.reason-no { display: block; font-size: 2.4rem; font-weight: 900; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.reason h3 { margin-bottom: 10px; }
.reason p { margin: 0; color: var(--muted); }

/* message */
.message { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }

/* flow */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { border: 2px solid var(--accent-soft); border-radius: var(--radius); padding: 28px 26px; position: relative; background: #fff; }
.steps li:not(:last-child)::after { content: ""; position: absolute; right: -19px; top: 50%; width: 14px; height: 14px; border-top: 3px solid var(--accent); border-right: 3px solid var(--accent); transform: translateY(-50%) rotate(45deg); }
.step-no { display: inline-block; background: var(--accent); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .08em; padding: 2px 12px; border-radius: 999px; margin-bottom: 12px; }
.steps h3 { margin-bottom: 8px; font-size: 1.25rem; }
.steps p { margin: 0; color: var(--muted); }

/* area */
.area { padding: 64px 0; background: var(--soft); }
.area-inner { text-align: center; }
.area h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 8px; }
.area p { margin: 0; color: var(--muted); }

/* contact */
.contact { background: linear-gradient(140deg, #0b6f68 0%, #0f8f86 55%, #19b3a6 100%); color: #fff; }
.contact h2 { color: #fff; margin-bottom: 14px; }
.contact-lead { color: #dff6f3; margin: 0 0 28px; }
.contact-mail { margin-top: 16px; color: #dff6f3; font-size: .95rem; }

/* app note */
.app-note { padding: 48px 0; }
.app-note h2 { font-size: 1rem; margin-bottom: 8px; color: var(--muted); }
.app-note p { margin: 0; font-size: .85rem; color: var(--muted); max-width: 900px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 36px 0 110px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; color: var(--muted); font-size: .9rem; }
.footer-inner p { margin: 0; }
.footer-inner nav { display: flex; gap: 18px; }
.footer-inner nav a { color: var(--muted); }
.footer-inner .copy { margin-left: auto; }

/* mobile sticky cta */
.mobile-cta { display: none; }

/* document pages (privacy / terms) */
.doc main { max-width: 800px; margin: 0 auto; padding: 48px 20px 80px; }
.doc main h1 { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 900; margin-bottom: 6px; }
.doc main h2 { font-size: 1.15rem; font-weight: 700; margin: 40px 0 10px; padding-left: 12px; border-left: 4px solid var(--accent); }
.doc main p, .doc main li { color: #34444c; }
.doc .date { color: var(--muted); font-size: .9rem; }
.doc code { background: var(--soft); padding: 1px 6px; border-radius: 6px; font-size: .88em; }

@media (max-width: 900px) {
  section { padding: 64px 0; }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-img { order: 0; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .reason-list, .steps { grid-template-columns: 1fr; }
  .steps li:not(:last-child)::after { right: 50%; top: auto; bottom: -19px; transform: translateX(50%) rotate(135deg); }
  .site-nav a:not(.btn):not(.nav-keep) { display: none; }
  .site-nav { gap: 14px; }
}
@media (max-width: 640px) {
  .hero { min-height: 0; flex-direction: column; align-items: stretch; }
  .hero-img { position: relative; height: 280px; object-position: 30% center; }
  .hero-body { align-items: stretch; }
  .hero::before { display: none; }
  .hero-body { padding-top: 28px; padding-bottom: 48px; }
  .hero-cta .btn { width: 100%; }
  .service-grid { grid-template-columns: 1fr; }
  .cta-band-inner { justify-content: center; text-align: center; }
  .footer-inner .copy { margin-left: 0; }
  .mobile-cta {
    display: block; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30;
    background: var(--warm); color: #fff; text-align: center; font-weight: 700; text-decoration: none;
    padding: 14px; border-radius: 999px; box-shadow: 0 10px 24px rgba(255, 138, 61, .45);
  }
}

/* contact form */
.contact-form { max-width: 760px; margin: 8px auto 0; background: #fff; color: var(--fg); border-radius: 24px; padding: 36px; box-shadow: 0 20px 50px rgba(0, 0, 0, .18); display: grid; gap: 20px; text-align: left; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.label { font-weight: 700; font-size: .95rem; padding: 0; }
.label em, .label i { font-style: normal; font-size: .72rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; margin-left: 6px; vertical-align: 2px; }
.label em { background: var(--warm); color: #fff; }
.label i { background: var(--soft); color: var(--muted); }
.contact-form input[type=text], .contact-form input[type=email], .contact-form input[type=tel], .contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--fg); background: #fbfdfd;
  border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea { resize: vertical; line-height: 1.7; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); background: #fff; }
.contact-form ::placeholder { color: #a7b3b8; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 16px; font-size: .92rem; font-weight: 500; transition: all .15s; }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px var(--accent-soft); }
.agree { display: flex; gap: 10px; align-items: center; font-size: .95rem; cursor: pointer; }
.agree input { width: 20px; height: 20px; accent-color: var(--accent); }
.btn-submit { width: 100%; font-size: 1.12rem; cursor: pointer; font-family: inherit; }
.form-note { margin: -6px 0 0; text-align: center; color: var(--muted); font-size: .85rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-mail a { color: #fff; }
@media (max-width: 640px) {
  .contact-form { padding: 24px 18px; border-radius: 18px; }
  .field-row { grid-template-columns: 1fr; }
}
.thanks { max-width: 640px; margin: 0 auto; padding: 100px 20px 120px; text-align: center; }
.thanks-mark { width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 2rem; display: grid; place-items: center; }
.thanks h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 900; margin-bottom: 16px; }
.thanks p { color: var(--muted); }
.thanks-sub { font-size: .9rem; margin-bottom: 32px; }

/* causes */
.causes { background: #fff; }
.cause-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 40px; }
.cause { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; background: #fff; }
.cause-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); font-size: 1.6rem; margin-bottom: 14px; }
.cause h3 { margin-bottom: 6px; }
.cause p { margin: 0; color: var(--muted); font-size: .93rem; }
.net-support { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center; margin-top: 48px; background: var(--soft); border-radius: 24px; padding: 32px; }
.net-support img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 18px; }
.net-support h3 { font-size: 1.35rem; margin-bottom: 14px; }
.net-support ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.net-support li { padding-left: 30px; position: relative; font-weight: 500; }
.net-support li::before { content: "✓"; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; font-size: .72rem; display: grid; place-items: center; line-height: 1; }

/* featured service */
.service.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.badge { display: inline-block; background: var(--warm); color: #fff; font-size: .75rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }

/* setagaya */
.setagaya { padding: 0 0 88px; background: #fff; }
.setagaya-visual { height: 340px; overflow: hidden; }
.setagaya-visual img { width: 100%; height: 100%; object-fit: cover; }
.setagaya-body { position: relative; margin-top: -90px; background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: 44px 40px; max-width: 1080px; }
.setagaya-body h2 { margin-bottom: 14px; }
.setagaya-lead { color: var(--muted); margin: 0 0 28px; max-width: 760px; }
.districts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.district { background: var(--soft); border-radius: 14px; padding: 16px; }
.district h3 { color: var(--accent-dark); font-size: 1.02rem; margin-bottom: 6px; }
.district p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.7; }
.setagaya-note { margin: 22px 0 0; font-weight: 700; }

@media (max-width: 900px) {
  .cause-grid { grid-template-columns: repeat(2, 1fr); }
  .net-support { grid-template-columns: 1fr; padding: 22px; }
  .districts { grid-template-columns: repeat(2, 1fr); }
  .setagaya-body { padding: 32px 24px; margin-left: 16px; margin-right: 16px; }
}
@media (max-width: 640px) {
  .cause-grid, .districts { grid-template-columns: 1fr; }
  .setagaya-visual { height: 220px; }
  .setagaya-body { margin-top: -50px; }
}

/* pricing page */
.site-nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }
.page-hero { position: relative; padding: 0; overflow: hidden; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.92) 50%, rgba(255,255,255,.55) 100%); }
.page-hero-body { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 72px; }
.page-hero h1 { font-size: clamp(1.9rem, 4.6vw, 3rem); font-weight: 900; }
.page-hero .hero-lead { max-width: 620px; }
.price-promises { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 12px; }
.price-promises li { background: #fff; border: 2px solid var(--accent-soft); border-radius: 14px; padding: 10px 18px; font-size: .95rem; box-shadow: var(--shadow); }
.price-promises strong { display: block; color: var(--accent-dark); font-size: .82rem; }
.price-main { padding-top: 64px; }
.pack { position: relative; border: 3px solid var(--warm); border-radius: 26px; padding: 44px 40px 36px; background: linear-gradient(135deg, #fff 0%, #fff7f0 100%); box-shadow: 0 18px 40px rgba(255, 138, 61, .15); }
.pack-label { position: absolute; top: -16px; left: 32px; background: var(--warm); color: #fff; font-weight: 700; font-size: .9rem; padding: 4px 18px; border-radius: 999px; }
.pack-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: center; }
.pack h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); margin-bottom: 12px; }
.pack-desc { color: var(--muted); margin: 0 0 18px; }
.pack-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pack-list li { padding-left: 30px; position: relative; font-weight: 500; }
.pack-list li::before { content: "✓"; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--warm); color: #fff; font-size: .72rem; display: grid; place-items: center; line-height: 1; }
.pack-price { text-align: center; background: #fff; border-radius: 20px; padding: 28px 20px; box-shadow: var(--shadow); }
.pack-normal { margin: 0; color: var(--muted); text-decoration: line-through; font-size: .95rem; }
.pack-amount { margin: 4px 0 0; font-weight: 900; color: var(--warm); font-size: 1.2rem; line-height: 1.1; }
.pack-amount span { font-size: clamp(3rem, 7vw, 4.2rem); letter-spacing: -.02em; }
.pack-tax { margin: 6px 0 18px; color: var(--muted); font-size: .88rem; }
.price-heading { font-size: clamp(1.3rem, 3vw, 1.7rem); margin: 64px 0 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.tag-net { background: var(--accent); color: #fff; font-size: .78rem; padding: 3px 12px; border-radius: 999px; font-weight: 700; }
.price-table { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 24px; background: #fff; }
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-row:nth-child(even) { background: #fbfdfd; }
.price-row h3 { font-size: 1.05rem; margin-bottom: 2px; }
.price-row p { margin: 0; color: var(--muted); font-size: .9rem; }
.price { flex: none; font-weight: 900; font-size: 1.35rem; color: var(--accent-dark); white-space: nowrap; }
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.example { background: var(--soft); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; }
.example-case { font-weight: 700; font-size: 1.05rem; margin: 0 0 12px; }
.example-calc { color: var(--muted); font-size: .9rem; margin: 0 0 14px; flex: 1; }
.example-total { margin: 0; padding-top: 12px; border-top: 1px dashed #c9d6d9; }
.example-total strong { color: var(--warm); font-size: 1.6rem; font-weight: 900; }
.price-notes { margin-top: 48px; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; }
.price-notes h3 { margin-bottom: 8px; }
.price-notes ul { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: .93rem; }
.pricing-cta h2 { color: #fff; margin-bottom: 14px; }
@media (max-width: 900px) {
  .pack-grid { grid-template-columns: 1fr; }
  .examples { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pack { padding: 36px 20px 24px; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 18px; }
  .page-hero::before { background: rgba(255,255,255,.9); }
}

/* chatbot */
.chatbot { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; font-size: .95rem; }
.chat-launcher { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; font: inherit; font-weight: 700; color: #fff; background: var(--accent); padding: 14px 20px; border-radius: 999px; box-shadow: 0 12px 28px rgba(15, 143, 134, .4); transition: transform .15s; }
.chat-launcher:hover { transform: translateY(-2px); }
.chat-launcher-icon { font-size: 1.25rem; line-height: 1; }
.chatbot.open .chat-launcher-text { display: none; }
.chatbot.open .chat-launcher-icon::before { content: ""; }
.chat-hint { position: absolute; right: 0; bottom: 64px; white-space: nowrap; background: #fff; color: var(--fg); border: 1px solid var(--line); border-radius: 14px; padding: 8px 14px; font-size: .85rem; font-weight: 700; box-shadow: var(--shadow); opacity: 0; transform: translateY(6px); transition: all .3s; pointer-events: none; }
.chat-hint.show { opacity: 1; transform: none; }
.chat-panel { width: min(370px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); background: #fff; border-radius: 20px; box-shadow: 0 24px 60px rgba(22, 35, 42, .25); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--accent); color: #fff; }
.chat-head .brand-mark { background: #fff; color: var(--accent); flex: none; }
.chat-head div { flex: 1; line-height: 1.3; }
.chat-head small { display: block; opacity: .85; font-size: .78rem; }
.chat-close { border: 0; background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; background: var(--soft); display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; white-space: pre-line; line-height: 1.65; font-size: .92rem; }
.chat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 4px; }
.chat-msg.typing { color: var(--muted); letter-spacing: .2em; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-chip { font: inherit; font-size: .85rem; font-weight: 700; color: var(--accent-dark); background: #fff; border: 1.5px solid var(--accent); border-radius: 999px; padding: 6px 12px; cursor: pointer; }
.chat-chip:hover { background: var(--accent); color: #fff; }
.chat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { flex: 1; min-width: 0; font: inherit; font-size: 16px; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; }
.chat-input input:focus { outline: none; border-color: var(--accent); }
.chat-input button { font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 8px 16px; background: var(--warm); color: #fff; cursor: pointer; }
@media (max-width: 640px) {
  .chatbot { right: 12px; bottom: 76px; }
  .chat-launcher { padding: 12px 14px; }
  .chat-launcher-text { display: none; }
  .chat-panel { height: min(520px, calc(100vh - 170px)); }
}

/* blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--fg); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-body { padding: 18px 20px 22px; }
.post-card h3 { font-size: 1.08rem; margin: 6px 0 8px; }
.post-card-body > p:last-child { margin: 0; color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .82rem; color: var(--muted); }
.post-cat { background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; padding: 1px 10px; border-radius: 999px; }
.blog-latest { background: var(--soft); }
.blog-more { margin: 32px 0 0; }
.blog-list { padding-top: 56px; }
.post { padding: 32px 0 72px; }
.post-wrap { max-width: 780px; margin: 0 auto; padding: 0 20px; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.post h1 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); font-weight: 900; margin: 10px 0 22px; }
.post-hero { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 20px; margin-bottom: 28px; }
.post-body { font-size: 1.03rem; line-height: 2; }
.post-body h2 { font-size: 1.4rem; margin: 44px 0 14px; padding: 10px 16px; background: var(--soft); border-left: 5px solid var(--accent); border-radius: 0 10px 10px 0; }
.post-body h3 { font-size: 1.15rem; margin: 30px 0 10px; color: var(--accent-dark); }
.post-body p { margin: 0 0 18px; }
.post-body ul, .post-body ol { padding-left: 1.4em; margin: 0 0 20px; }
.post-body li { margin-bottom: 6px; }
.post-body strong { background: linear-gradient(transparent 62%, #ffe2c9 62%); }
.post-body blockquote { margin: 0 0 20px; padding: 14px 18px; background: #fff7f0; border-left: 4px solid var(--warm); border-radius: 0 10px 10px 0; }
.post-body blockquote p:last-child { margin: 0; }
.post-body table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: .95rem; }
.post-body th, .post-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.post-body th { background: var(--soft); }
.post-cta { margin-top: 44px; border: 2px solid var(--warm); border-radius: 20px; padding: 26px; background: #fff7f0; }
.post-cta-title { font-weight: 900; font-size: 1.2rem; margin: 0 0 8px; }
.post-cta p { margin: 0 0 16px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .post-grid { grid-template-columns: 1fr; } }
