:root {
  --green-900: #07592f;
  --green-800: #08783f;
  --green-700: #0b8d4b;
  --green-100: #e8f6ee;
  --green-50: #f3faf6;
  --ink: #17231d;
  --muted: #607067;
  --line: #dce8e1;
  --white: #fff;
  --danger: #c83d36;
  --danger-soft: #fff1ef;
  --shadow: 0 14px 38px rgba(21, 74, 46, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #f7faf8; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic UI", "Noto Sans JP", sans-serif; font-size: 16px; line-height: 1.75; }
button, input { font: inherit; }
button { cursor: pointer; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.site-header { height: 72px; padding: 0 max(20px, calc((100vw - 1080px) / 2)); background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 20; backdrop-filter: blur(10px); }
.brand { color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 11px; line-height: 1.2; }
.brand-logo { display: block; width: min(280px, 42vw); height: auto; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: var(--green-800); color: white; font-size: .78rem; font-weight: 800; letter-spacing: -.04em; }
.brand strong { display: block; font-size: .98rem; }
.brand small { display: block; color: var(--muted); font-size: .72rem; margin-top: 3px; }
.header-line { display: inline-block; text-decoration: none; border: 0; border-radius: 10px; background: var(--green-800); color: white; padding: 10px 16px; font-weight: 700; }
main { width: min(100% - 40px, 960px); margin: 0 auto; }
.intro { padding: 66px 0 34px; text-align: center; }
.eyebrow { margin: 0 0 8px; color: var(--green-800); font-weight: 800; font-size: .86rem; letter-spacing: .08em; }
.intro h1 { margin: 0; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -.04em; line-height: 1.25; }
.lead { color: var(--muted); margin: 12px 0 30px; }
.search-wrap { position: relative; width: min(100%, 680px); margin: 0 auto; }
.search-wrap input { width: 100%; height: 64px; border: 2px solid var(--green-800); border-radius: 15px; padding: 0 56px 0 58px; background: white; color: var(--ink); font-size: 1.05rem; box-shadow: var(--shadow); outline: none; }
.search-wrap input:focus { box-shadow: 0 0 0 4px rgba(8,120,63,.13), var(--shadow); }
.search-icon { position: absolute; left: 23px; top: 20px; width: 20px; height: 20px; border: 2px solid var(--green-800); border-radius: 50%; }
.search-icon::after { content: ""; width: 8px; height: 2px; background: var(--green-800); position: absolute; right: -6px; bottom: -3px; transform: rotate(45deg); border-radius: 2px; }
#clear-search { position: absolute; right: 13px; top: 13px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: #eff4f1; color: var(--muted); font-size: 1.4rem; }
.quick-search { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 16px; font-size: .86rem; color: var(--muted); }
.quick-search button { padding: 3px 11px; border: 1px solid var(--line); border-radius: 99px; background: white; color: var(--green-900); }
.emergency { margin: 12px 0 26px; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid #f3c6c2; border-radius: 16px; background: var(--danger-soft); }
.emergency > div { display: flex; align-items: center; gap: 15px; }
.emergency-icon { flex: 0 0 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--danger); color: white; font-weight: 900; font-size: 1.35rem; }
.emergency p { margin: 0; color: #8b3631; font-size: .82rem; font-weight: 700; }
.emergency h2 { margin: 0; font-size: 1.08rem; }
.emergency button { flex: 0 0 auto; border: 1px solid #d95c55; background: white; color: #a92d27; border-radius: 10px; padding: 10px 14px; font-weight: 800; }
.categories { display: flex; gap: 9px; overflow-x: auto; padding: 3px 2px 13px; scrollbar-width: none; position: sticky; top: 72px; z-index: 10; background: #f7faf8; }
.categories::-webkit-scrollbar { display: none; }
.categories button { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 9px 15px; background: white; color: #48584f; font-weight: 700; }
.categories button.active { color: white; border-color: var(--green-800); background: var(--green-800); }
.faq-area { padding: 24px 0 14px; }
.result-bar { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 13px; }
.result-bar h2 { margin: 0; font-size: 1.22rem; }
.result-bar span { color: var(--muted); font-size: .88rem; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: white; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 3px 12px rgba(34,80,56,.035); }
.faq-item[open] { border-color: #a8d5ba; box-shadow: var(--shadow); }
.faq-item summary { list-style: none; display: grid; grid-template-columns: 32px 1fr 28px; gap: 12px; align-items: start; padding: 19px 20px; cursor: pointer; font-weight: 750; line-height: 1.55; }
.faq-item summary::-webkit-details-marker { display: none; }
.q-mark { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--green-100); color: var(--green-800); font-weight: 900; }
.plus { width: 24px; height: 24px; position: relative; margin-top: 3px; }
.plus::before, .plus::after { content: ""; position: absolute; background: var(--green-800); border-radius: 2px; }
.plus::before { left: 5px; top: 11px; width: 15px; height: 2px; }
.plus::after { left: 11px; top: 5px; width: 2px; height: 15px; transition: transform .2s ease; }
.faq-item[open] .plus::after { transform: rotate(90deg); }
.faq-answer { padding: 0 20px 22px 64px; color: #3c4a42; }
.faq-answer p { margin: 0 0 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--ink); }
.category-label { display: inline-block; margin-bottom: 12px; padding: 2px 9px; border-radius: 99px; background: var(--green-50); color: var(--green-800); font-size: .75rem; font-weight: 800; }
.steps { list-style: none; padding: 0; margin: 15px 0; counter-reset: steps; }
.steps li { counter-increment: steps; position: relative; padding: 0 0 14px 42px; min-height: 34px; }
.steps li::before { content: counter(steps); position: absolute; left: 0; top: 0; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--green-800); color: white; font-size: .8rem; font-weight: 800; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 31px; bottom: 2px; width: 2px; background: #cfe4d7; }
.inline-line { display: inline-block; text-decoration: none; border: 0; border-radius: 9px; color: white; background: var(--green-800); padding: 9px 14px; font-weight: 800; margin-top: 4px; }
.detail-link { display: inline-flex; align-items: center; color: var(--green-800); font-weight: 850; text-underline-offset: 4px; }
.guide-main { width: min(100% - 40px, 820px); margin: 0 auto; padding: 42px 0 70px; }
.guide-back { display: inline-block; margin-bottom: 24px; color: var(--green-800); font-weight: 800; text-decoration: none; }
.guide-hero { padding: 34px; border-radius: 22px; background: var(--green-900); color: white; box-shadow: var(--shadow); }
.guide-hero h1 { margin: 0 0 12px; font-size: clamp(2rem, 6vw, 3rem); line-height: 1.25; }
.guide-hero p { margin: 0; color: #d7ede0; }
.guide-section { margin-top: 18px; padding: 26px 28px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.guide-section h2 { margin: 0 0 10px; font-size: 1.28rem; }
.guide-section p:last-child, .guide-section ul:last-child, .guide-section ol:last-child { margin-bottom: 0; }
.cost-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.cost-grid div { padding: 15px; border-radius: 12px; background: var(--green-50); }
.cost-grid strong { display: block; color: var(--green-900); }
.notice-box { border-left: 4px solid #d08a16; background: #fff9e9; }
.empty-state { text-align: center; padding: 54px 18px; background: white; border: 1px dashed #b8cec0; border-radius: 16px; }
.empty-state > span { width: 48px; height: 48px; display: grid; place-items: center; margin: 0 auto 12px; border-radius: 50%; background: var(--green-100); color: var(--green-800); font-weight: 900; font-size: 1.3rem; }
.empty-state h2 { margin: 0; font-size: 1.12rem; }
.empty-state p { margin: 8px 0 18px; color: var(--muted); }
.contact-card { margin: 42px 0 24px; padding: 30px; background: var(--green-900); color: white; border-radius: 20px; display: flex; justify-content: space-between; align-items: center; gap: 24px; box-shadow: var(--shadow); }
.contact-card .eyebrow { color: #91e7b7; }
.contact-card h2 { margin: 0; font-size: 1.45rem; }
.contact-card p:last-child { margin: 6px 0 0; color: #d7ede0; }
.line-button { display: inline-block; text-decoration: none; text-align: center; flex: 0 0 auto; border: 0; border-radius: 11px; padding: 13px 20px; color: var(--green-900); background: white; font-weight: 850; }
.draft-check { margin: 0 0 60px; border: 1px solid #e3d6ac; background: #fffdf4; border-radius: 15px; overflow: hidden; }
.draft-check > button { width: 100%; padding: 18px 20px; border: 0; background: transparent; display: flex; justify-content: space-between; align-items: center; text-align: left; color: var(--ink); }
.draft-check small { display: block; color: #8e6f14; font-size: .72rem; font-weight: 800; }
.draft-check strong { display: block; }
.draft-check > button > span:last-child { font-size: 1.5rem; color: #8e6f14; transition: transform .2s; }
.draft-check > button[aria-expanded="true"] > span:last-child { transform: rotate(45deg); }
#check-panel { padding: 0 20px 18px; color: #665a34; }
#check-panel p { margin-top: 0; }
#check-panel ul { margin-bottom: 0; padding-left: 22px; }
footer { background: #edf4f0; border-top: 1px solid var(--line); text-align: center; padding: 34px 20px 42px; color: var(--muted); font-size: .82rem; }
footer strong { color: var(--ink); font-size: .93rem; }
footer p { margin: 7px auto 0; max-width: 650px; }
.dialog { position: fixed; inset: 0; z-index: 100; background: rgba(10,24,16,.55); display: grid; place-items: center; padding: 20px; }
.dialog[hidden] { display: none; }
.dialog-card { width: min(100%, 420px); background: white; border-radius: 20px; padding: 30px; text-align: center; position: relative; box-shadow: 0 28px 70px rgba(0,0,0,.22); }
.dialog-close { position: absolute; right: 13px; top: 11px; border: 0; background: transparent; color: var(--muted); font-size: 1.6rem; }
.dialog-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 0 auto 13px; border-radius: 15px; background: #06c755; color: white; font-size: .72rem; font-weight: 900; }
.dialog-card h2 { margin: 0; font-size: 1.3rem; }
.dialog-card p { color: var(--muted); }
.dialog-card #dialog-ok { width: 100%; border: 0; border-radius: 10px; padding: 12px; background: var(--green-800); color: white; font-weight: 800; }
.mobile-only { display: none; }
@media (max-width: 680px) {
  .site-header { height: 62px; padding: 0 16px; }
  .brand-logo { width: min(190px, 52vw); }
  .brand strong { font-size: .84rem; }
  .brand small { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .header-line { font-size: .78rem; padding: 8px 10px; }
  main { width: min(100% - 28px, 960px); }
  .intro { padding: 40px 0 25px; }
  .mobile-only { display: initial; }
  .lead { margin-bottom: 23px; font-size: .92rem; }
  .search-wrap input { height: 58px; padding-left: 52px; font-size: 1rem; }
  .search-icon { left: 20px; top: 18px; }
  .quick-search { justify-content: flex-start; }
  .emergency { align-items: stretch; flex-direction: column; padding: 17px; }
  .emergency button { width: 100%; }
  .categories { top: 62px; margin-left: -14px; margin-right: -14px; padding-left: 14px; padding-right: 14px; }
  .faq-item summary { grid-template-columns: 30px 1fr 24px; gap: 10px; padding: 17px 15px; font-size: .95rem; }
  .faq-answer { padding: 0 15px 20px 55px; font-size: .94rem; }
  .contact-card { align-items: stretch; flex-direction: column; padding: 24px 21px; }
  .contact-card h2 { font-size: 1.27rem; }
  .line-button { width: 100%; }
  .draft-check { margin-bottom: 38px; }
  .guide-main { width: min(100% - 28px, 820px); padding-top: 28px; }
  .guide-hero { padding: 27px 22px; }
  .guide-section { padding: 22px 19px; }
  .cost-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

/* Visual direction aligned with the main brand site */
:root {
  --brand-yellow: #ffe100;
  --brand-yellow-soft: #fff9cf;
  --brand-black: #111b17;
  --brand-green: #06a956;
  --brand-border: #1c2822;
}
body {
  background: #fffef8;
  color: var(--brand-black);
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic UI", sans-serif;
  font-weight: 500;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 5px;
  z-index: 40;
  background: var(--brand-yellow);
}
.site-header {
  border-bottom: 2px solid var(--brand-black);
  box-shadow: 0 4px 0 rgba(17, 27, 23, .06);
}
.brand { gap: 12px; }
.brand-mark {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: 2px solid var(--brand-black);
  border-radius: 50%;
  font-weight: 900;
}
.brand strong { font-weight: 900; letter-spacing: -.04em; }
.header-line {
  background: var(--brand-green);
  border: 2px solid var(--brand-black);
  color: #fff;
  border-radius: 999px;
  box-shadow: 3px 3px 0 var(--brand-black);
  font-weight: 900;
}
.intro {
  margin-top: 30px;
  padding: 54px 28px 38px;
  border: 2px solid var(--brand-black);
  border-radius: 30px;
  background: var(--brand-yellow);
  box-shadow: 7px 7px 0 var(--brand-black);
}
.intro .eyebrow { color: var(--brand-black); font-weight: 900; }
.intro h1 { font-weight: 900; letter-spacing: -.055em; }
.intro .lead { color: #3d473f; font-weight: 600; }
.search-wrap input {
  border-color: var(--brand-black);
  border-width: 2px;
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--brand-black);
  font-weight: 600;
}
.search-wrap input:focus { box-shadow: 5px 5px 0 var(--brand-green); }
.search-icon { border-color: var(--brand-black); }
.search-icon::after { background: var(--brand-black); }
.quick-search { color: var(--brand-black); font-weight: 700; }
.quick-search button {
  border: 1.5px solid var(--brand-black);
  background: white;
  color: var(--brand-black);
  font-weight: 800;
}
.emergency {
  margin-top: 32px;
  border: 2px solid var(--brand-black);
  box-shadow: 4px 4px 0 var(--brand-black);
}
.emergency button { border: 2px solid var(--brand-black); font-weight: 900; }
.categories { background: #fffef8; padding-top: 12px; }
.categories button {
  border: 1.5px solid var(--brand-black);
  color: var(--brand-black);
  font-weight: 800;
  box-shadow: 2px 2px 0 rgba(17,27,23,.18);
}
.categories button.active {
  color: var(--brand-black);
  border-color: var(--brand-black);
  background: var(--brand-yellow);
  box-shadow: 3px 3px 0 var(--brand-black);
}
.result-bar h2 { font-weight: 900; letter-spacing: -.03em; }
.faq-list { gap: 13px; }
.faq-item {
  border: 1.5px solid var(--brand-border);
  border-radius: 18px;
  box-shadow: 3px 3px 0 rgba(17,27,23,.10);
}
.faq-item[open] { border-color: var(--brand-black); box-shadow: 5px 5px 0 var(--brand-yellow); }
.faq-item summary { font-weight: 800; }
.q-mark {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: 1.5px solid var(--brand-black);
  border-radius: 50%;
  font-weight: 900;
}
.plus::before, .plus::after { background: var(--brand-black); }
.category-label {
  background: var(--brand-yellow-soft);
  color: var(--brand-black);
  border: 1px solid #e7cd00;
  font-weight: 900;
}
.faq-answer { color: #364039; }
.faq-answer strong { font-weight: 900; }
.steps li::before { background: var(--brand-black); color: var(--brand-yellow); }
.steps li:not(:last-child)::after { background: #dfcb34; }
.inline-line { background: var(--brand-green); border: 2px solid var(--brand-black); box-shadow: 3px 3px 0 var(--brand-black); }
.detail-link { color: #007d3f; font-weight: 900; }
.contact-card {
  background: var(--brand-black);
  border: 2px solid var(--brand-black);
  box-shadow: 7px 7px 0 var(--brand-yellow);
}
.contact-card .eyebrow { color: var(--brand-yellow); }
.contact-card h2 { font-weight: 900; }
.contact-card .line-button { color: white; background: var(--brand-green); border: 2px solid white; }
.draft-check { border: 1.5px solid #c7ad00; background: #fffbe0; }
footer { background: var(--brand-black); color: #d8dfdb; border-top: 5px solid var(--brand-yellow); }
footer strong { color: white; font-weight: 900; }
.dialog-card { border: 2px solid var(--brand-black); box-shadow: 7px 7px 0 var(--brand-yellow); }
.dialog-card h2 { font-weight: 900; }
.dialog-card #dialog-ok { background: var(--brand-black); color: white; font-weight: 900; }
.guide-back { color: var(--brand-black); font-weight: 900; }
.guide-hero {
  background: var(--brand-yellow);
  color: var(--brand-black);
  border: 2px solid var(--brand-black);
  box-shadow: 7px 7px 0 var(--brand-black);
}
.guide-hero .eyebrow, .guide-hero p { color: var(--brand-black); }
.guide-hero h1, .guide-section h2 { font-weight: 900; letter-spacing: -.04em; }
.guide-section { border: 1.5px solid var(--brand-black); box-shadow: 3px 3px 0 rgba(17,27,23,.10); }
.cost-grid div { background: var(--brand-yellow-soft); border: 1px solid #e7cd00; }
.cost-grid strong { color: var(--brand-black); font-weight: 900; }
.notice-box { border-left: 6px solid var(--brand-yellow); background: #fffbe0; }
@media (max-width: 680px) {
  .intro { margin-top: 18px; padding: 38px 18px 29px; border-radius: 22px; box-shadow: 5px 5px 0 var(--brand-black); }
  .intro h1 { font-size: 2rem; }
  .search-wrap input { box-shadow: 4px 4px 0 var(--brand-black); }
  .emergency { margin-top: 26px; }
  .categories { background: #fffef8; }
}
.brand-logo{aspect-ratio:4.17;height:auto;object-fit:cover}
