/* エコボロン静岡中央 - 静的サイト用スタイル（モバイルファースト） */
:root {
  --green: #7bac4e;
  --green-dark: #3f6b22;
  --green-deep: #2d4e18;
  --green-soft: #eef5e4;
  --ink: #2a201d;
  --muted: #6a625c;
  --line: #e3dfd5;
  --bg: #f7f6f1;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(42, 32, 29, .08);
  --gutter: 16px;
  --max: 960px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.85; font-size: 16px; overflow-wrap: anywhere;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); }
a:hover { color: var(--green-deep); }
h1, h2, h3, h4 { line-height: 1.4; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.logo { display: block; line-height: 0; flex: 0 0 auto; }
.logo img { width: min(250px, 62vw); height: auto; aspect-ratio: 910 / 134; }
.nav-toggle { appearance: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; width: 46px; height: 46px; display: grid; place-content: center; gap: 5px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.gnav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.gnav.open { display: block; }
.gnav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.gnav a { display: block; padding: 14px 4px; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 600; }
.gnav a[aria-current="page"] { color: var(--green-dark); }
.gnav .nav-cta a { margin-top: 12px; border: 0; background: var(--green-dark); color: #fff; text-align: center; border-radius: 999px; }
.header-tel { display: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 12px 28px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--green-dark); background: var(--green-dark); color: #fff; line-height: 1.3; cursor: pointer; font-size: 1rem; font-family: inherit; }
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.btn.ghost { background: #fff; color: var(--green-dark); }
.btn.ghost:hover { background: var(--green-soft); color: var(--green-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { background: linear-gradient(180deg, #fff 0%, var(--green-soft) 100%); padding: 28px 0 40px; }
.hero .wrap { display: grid; gap: 24px; }
.hero-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); width: 100%; max-width: 480px; margin: 0 auto; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: left center; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--green-dark); background: #fff; border: 1px solid var(--green); border-radius: 999px; padding: 2px 14px; margin-bottom: 14px; }
.hero h1 { font-size: clamp(1.7rem, 6vw, 2.6rem); letter-spacing: .02em; margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--green-dark); }
.hero .lead { font-size: 1.05rem; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding: 48px 0; }
.section.alt { background: #fff; }
.section.green { background: var(--green-soft); }
.sec-title { font-size: clamp(1.4rem, 4.5vw, 1.9rem); margin-bottom: 1.2em; position: relative; padding-left: 16px; }
.sec-title::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 6px; border-radius: 3px; background: var(--green); }
.sec-title small { display: block; font-size: .75rem; letter-spacing: .14em; color: var(--green-dark); font-weight: 700; }
.more { text-align: center; margin-top: 28px; }

.features { display: grid; gap: 14px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
.features li { background: #fff; border-radius: var(--radius); padding: 22px 20px; box-shadow: var(--shadow); border-top: 4px solid var(--green); }
.features .num { font-size: .8rem; letter-spacing: .15em; color: var(--green-dark); font-weight: 700; }
.features h3 { font-size: 1.15rem; margin: .1em 0 .4em; }
.features p { margin: 0; font-size: .95rem; color: var(--muted); }

.cards { display: grid; gap: 16px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); height: 100%; }
.card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card .thumb { aspect-ratio: 4 / 3; background: var(--green-soft); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card a:hover .thumb img { transform: scale(1.04); }
.card .thumb.none { display: grid; place-content: center; color: var(--green-dark); font-weight: 700; letter-spacing: .1em; }
.card .body { padding: 14px 16px 18px; }
.card time, .news-list time { font-size: .85rem; color: var(--muted); }
.card h3 { font-size: 1rem; margin: .2em 0 .4em; }
.card p { font-size: .9rem; color: var(--muted); margin: 0; }

.news-list { list-style: none; margin: 0; padding: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list a { display: grid; gap: 2px; padding: 14px 18px; text-decoration: none; color: var(--ink); }
.news-list a:hover { background: var(--green-soft); }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; color: #fff; background: var(--green-dark); border-radius: 4px; padding: 0 8px; margin-right: 8px; vertical-align: 1px; }
.tag.news { background: #8a6d3b; }

.cta-band { background: var(--green-deep); color: #fff; text-align: center; padding: 44px 0; }
.cta-band h2 { font-size: clamp(1.25rem, 4.5vw, 1.7rem); }
.cta-band .tel { display: inline-block; font-size: clamp(1.9rem, 8vw, 2.8rem); font-weight: 800; color: #fff; text-decoration: none; letter-spacing: .03em; line-height: 1.2; }
.cta-band .hours { font-size: .9rem; opacity: .85; margin: .4em 0 1.4em; }
.cta-band .btn { background: #fff; color: var(--green-deep); border-color: #fff; }
.cta-band .btn:hover { background: var(--green-soft); }

/* ---------- page head / breadcrumb ---------- */
.page-head { background: linear-gradient(180deg, #fff, var(--green-soft)); padding: 28px 0 24px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(1.5rem, 5vw, 2.1rem); margin: 0; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.crumbs span + span::before { content: "›"; margin: 0 .5em; }

/* ---------- article ---------- */
.article { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 18px; margin: 28px 0; }
.article .meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.2em; }
.article figure { margin: 1.4em 0; }
.article figure img { border-radius: 10px; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.article .video { position: relative; aspect-ratio: 16 / 9; margin: 1.4em 0; }
.article .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 10px; }
.article a { word-break: break-all; }
.entry-list { display: grid; gap: 28px; }
.year-head { font-size: 1.1rem; color: var(--green-dark); margin: 36px 0 14px; border-bottom: 2px solid var(--green); padding-bottom: 4px; }
.pager { display: flex; justify-content: space-between; gap: 12px; margin: 8px 0 40px; flex-wrap: wrap; }

/* ---------- about ---------- */
.about h2 { font-size: clamp(1.3rem, 4.5vw, 1.7rem); margin: 2.2em 0 1em; padding: .5em .8em; background: var(--green-soft); border-left: 6px solid var(--green); border-radius: 0 10px 10px 0; }
.about h2:first-child { margin-top: 0; }
.about h3 { font-size: 1.15rem; color: var(--green-dark); margin: 1.8em 0 .6em; }
.about .block { display: grid; gap: 16px; background: #fff; border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow); margin-bottom: 18px; }
.about .block figure { margin: 0; }
.about .block figure img { border-radius: 10px; width: auto; max-width: 100%; height: auto; margin: 0 auto; }
.about dl { margin: 0; }
.about dt { font-weight: 700; color: var(--green-dark); margin-top: 1em; }
.about dt:first-child { margin-top: 0; }
.about dd { margin: .2em 0 0; }
.about dd p:last-child, .about .block p:last-child { margin-bottom: 0; }

/* ---------- company ---------- */
.spec { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); margin: 28px 0; overflow: hidden; }
.spec dl { margin: 0; }
.spec .row { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.spec .row:last-child { border-bottom: 0; }
.spec dt { font-weight: 700; color: var(--green-dark); font-size: .9rem; margin-bottom: 4px; }
.spec dd { margin: 0; }
.spec dd ul { margin: 0; padding-left: 1.2em; }

/* ---------- form ---------- */
.form-tabs { display: flex; gap: 8px; margin: 28px 0 0; }
.form-tabs button { flex: 1; min-height: 52px; border: 2px solid var(--green-dark); background: #fff; color: var(--green-dark); border-radius: 12px 12px 0 0; font-weight: 700; font-family: inherit; font-size: .95rem; cursor: pointer; line-height: 1.3; padding: 6px 8px; }
.form-tabs button[aria-selected="true"] { background: var(--green-dark); color: #fff; }
.form-card { background: #fff; border: 2px solid var(--green-dark); border-radius: 0 0 var(--radius) var(--radius); padding: 22px 18px 28px; margin-bottom: 40px; }
.form-card[hidden] { display: none; }
.field { margin-bottom: 18px; }
.field > label, .field > .lbl, .field legend { display: block; font-weight: 700; margin-bottom: 6px; padding: 0; }
.req { color: #fff; background: #b3402a; font-size: .7rem; padding: 1px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }
.opt { color: var(--muted); font-size: .75rem; margin-left: 8px; font-weight: 400; }
input[type=text], input[type=email], input[type=tel], textarea, select {
  width: 100%; font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid #cfc9bb; border-radius: 10px; background: #fff; color: var(--ink);
}
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(123, 172, 78, .45); border-color: var(--green-dark); }
textarea { min-height: 160px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 400; cursor: pointer; }
.choices input { width: 20px; height: 20px; accent-color: var(--green-dark); }
.addr-row { display: grid; gap: 10px; }
.post-row { display: flex; align-items: center; gap: 8px; }
.post-row input { max-width: 180px; }
.note { font-size: .88rem; color: var(--muted); background: var(--green-soft); padding: 10px 14px; border-radius: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sub-block { border-left: 4px solid var(--green); padding-left: 14px; margin: 24px 0 18px; }
.confirm dl { margin: 0 0 24px; }
.confirm .row { padding: 12px 0; border-bottom: 1px solid var(--line); }
.confirm dt { font-weight: 700; color: var(--green-dark); font-size: .9rem; }
.confirm dd { margin: 2px 0 0; white-space: pre-wrap; }
.errors { background: #fdeeea; border: 1px solid #e6a79b; color: #7a2416; border-radius: 10px; padding: 14px 18px 14px 34px; margin-bottom: 20px; }
.errors li { margin: 4px 0; }
.thanks { text-align: center; padding: 28px 0 8px; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #e9e4da; padding: 40px 0 24px; font-size: .92rem; }
.site-footer a { color: #e9e4da; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand img { width: 250px; box-sizing: content-box; max-width: 100%; height: auto; background: #fff; padding: 6px 10px; border-radius: 8px; margin-bottom: 14px; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; }
.footer-nav a { display: block; padding: 6px 0; }
.copy { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .8rem; opacity: .75; }
.sticky-call { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; background: var(--green-deep); box-shadow: 0 -4px 14px rgba(0, 0, 0, .18); }
.sticky-call a { flex: 1; text-align: center; color: #fff; text-decoration: none; font-weight: 700; padding: 13px 8px; font-size: .95rem; line-height: 1.3; }
.sticky-call a + a { border-left: 1px solid rgba(255, 255, 255, .25); background: var(--green-dark); }
body { padding-bottom: 52px; }

/* ---------- tablet / desktop ---------- */
@media (min-width: 720px) {
  :root { --gutter: 24px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .news-list a { grid-template-columns: 120px 1fr; align-items: baseline; }
  .article { padding: 36px 40px; }
  .about .block { grid-template-columns: 1fr 260px; align-items: center; padding: 26px 28px; }
  .about .block.wide { grid-template-columns: 1fr; }
  .spec .row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 18px 26px; }
  .spec dt { margin: 0; font-size: 1rem; }
  .footer-grid { grid-template-columns: 1.3fr 1fr; }
  .form-card { padding: 32px 36px 36px; }
  .addr-row { grid-template-columns: 1fr; }
}
@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .sticky-call { display: none; }
  .nav-toggle { display: none; }
  .gnav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .gnav ul { display: flex; align-items: center; gap: 4px; padding: 0; }
  .gnav a { border: 0; padding: 8px 12px; border-radius: 999px; font-size: .92rem; white-space: nowrap; }
  .gnav a:hover { background: var(--green-soft); }
  .gnav a[aria-current="page"] { background: var(--green-soft); }
  .gnav .nav-cta a { margin: 0 0 0 8px; padding: 10px 22px; }
  .gnav .nav-cta a:hover { background: var(--green-deep); }
  .logo img { width: 250px; }
  .hero { padding: 56px 0 64px; }
  .hero .wrap { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .hero-photo { aspect-ratio: 5 / 4; }
  .features { grid-template-columns: repeat(4, 1fr); }
  .cards.three { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 72px 0; }
  .site-footer { padding-top: 56px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .sticky-call, .cta-band, .nav-toggle { display: none; } body { padding: 0; background: #fff; } }
.policy h2 { font-size: 1.1rem; color: var(--green-dark); margin: 1.8em 0 .5em; }
.policy ul { margin: 0 0 1em; padding-left: 1.4em; }
.copy a { color: #e9e4da; }

/* Cloudflare Turnstile（ボタンの下） */
.ts-wrap { margin-top: 14px; }
.ts-wrap .ts-msg { margin: 8px 0 0; color: #a33; }
