/* みずき造園 — 初稿（パターン：グリーン×山吹）
   シンエイサイクル／NT Garage と同じ作り。色・フォントは :root の変数だけで差し替えられる */
:root {
  --main: #20822F;        /* 既存サイトの緑 */
  --main-d: #17652A;
  --leaf: #67B82C;        /* 既存サイトの黄緑 */
  --accent: #E9B949;      /* 山吹 */
  --accent-l: #FBF3DC;
  --ink: #15301D;         /* 文字・濃い面（深い森の色） */
  --ink-2: #4A5B4E;
  --bg: #FFFFFF;
  --bg-2: #F2F7EC;        /* 既存サイトの淡い緑 */
  --kinari: #F8F4EA;
  --line: #DCE6D4;
  --en: "Cormorant Garamond", "Zen Old Mincho", serif;
  --min: "Zen Old Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --ja: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --r: 18px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --hd: 84px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hd) + 12px); }
body { font-variant-numeric: lining-nums; margin: 0; font-family: var(--ja); font-weight: 500; color: var(--ink); background: var(--bg); line-height: 1.9; letter-spacing: .03em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; font-weight: 900; letter-spacing: .05em; }
h1, h2 { font-family: var(--min); }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---------- moving parts inside <symbol> ---------- */
#i-shears .bl { transform-box: view-box; transform-origin: 27px 20px; animation: var(--snip-a, snipA) var(--spd, .5s) ease-in-out infinite; animation-play-state: var(--snip, running); }
#i-shears .bl-b { animation-name: snipB; }
@keyframes snipA { 0%, 100% { transform: rotate(-13deg); } 50% { transform: rotate(1deg); } }
@keyframes snipB { 0%, 100% { transform: rotate(13deg); } 50% { transform: rotate(-1deg); } }
#i-leaf .leaf-body { transform-box: view-box; transform-origin: 12px 42px; animation: sway var(--spd, 3.6s) ease-in-out infinite; animation-play-state: var(--sway, running); }
@keyframes sway { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }

/* ---------- common parts ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; font-weight: 700; font-size: 14px; color: var(--main-d); }
.eyebrow i { position: relative; font-family: var(--en); font-style: italic; font-weight: 700; font-size: 26px; line-height: 1; letter-spacing: .04em; color: var(--main); padding-left: 26px; }
.eyebrow i::before { content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; margin-top: -10px; background: var(--leaf); border-radius: 0 100% 0 100%; transform: rotate(-10deg); }
.eyebrow.light, .eyebrow.light i { color: #fff; }
.eyebrow.light i::before { background: var(--accent); }
.sec { padding: clamp(80px, 11vw, 150px) 0; position: relative; }
.sec-h { font-size: clamp(28px, 4.2vw, 50px); margin-bottom: 24px; }
.sec-h em { font-style: normal; color: var(--main); }
.lead { font-size: clamp(15px, 1.5vw, 17px); color: var(--ink-2); max-width: 46em; }
.mark { background: linear-gradient(transparent 62%, var(--accent-l) 62%); padding: 0 .1em; font-weight: 700; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 44px; }
.sec-alt { background: var(--bg-2); }
.sec-kinari { background: var(--kinari); }

.btn { --b: var(--main); --f: #fff; position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 18px 30px; border-radius: 999px; background: var(--b); color: var(--f); font-weight: 900; text-decoration: none; overflow: hidden; isolation: isolate; transition: transform .35s var(--ease), box-shadow .35s, color .35s; box-shadow: 0 12px 26px -12px rgba(21, 48, 29, .55); }
.btn svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit; transform: scale(0, 1); transform-origin: left; transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover svg { transform: translateX(5px); }
.btn-y { --b: var(--accent); --f: var(--ink); }
.btn-y::before { background: #fff; }
.btn-line { --b: transparent; --f: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-line:hover { --f: #fff; }
.btn-w { --b: #fff; --f: var(--ink); }
.btn-w:hover { --f: #fff; }
.btn-w::before { background: var(--main); }

/* reveal */
.up { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.up.in { opacity: 1; transform: none; }
.lines > span { display: block; overflow: hidden; padding-bottom: .08em; }
.lines > span > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.lines > span:nth-child(2) > span { transition-delay: .12s; }
.lines > span:nth-child(3) > span { transition-delay: .24s; }
.lines.in > span > span { transform: none; }
.ph { position: relative; overflow: hidden; border-radius: var(--r); background: var(--ink); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
/* 写真は葉の形のマスクが開いて現れる */
.ph::after { content: ""; position: absolute; inset: -2px; background: var(--main); clip-path: circle(150% at 0 100%); transition: clip-path 1.2s var(--ease) .1s; }
.ph.in::after { clip-path: circle(0 at 0 100%); }
.ph.in img { animation: zoomout 1.8s var(--ease) both; }
@keyframes zoomout { from { transform: scale(1.2); } }

/* scroll progress: 植木ばさみが生垣を刈り込みながら進む */
.progress { position: fixed; z-index: 120; left: 0; right: 0; top: 0; height: 5px; pointer-events: none; }
.progress-hedge { position: absolute; inset: 0; background: linear-gradient(90deg, var(--main), var(--leaf)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.progress-shears { position: absolute; top: -2px; left: 0; width: 38px; height: 24px; color: var(--ink); transform: translateX(calc(var(--p, 0) * (100vw - 42px))); opacity: 0; transition: opacity .3s; --spd: .28s; }
.progress.on .progress-shears { opacity: 1; }
.progress.idle .progress-shears { --snip: paused; }

/* falling leaves (JS で [data-leaves] に生成) */
.leaves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 2; }
.leaves i { position: absolute; top: -40px; width: var(--s, 18px); height: var(--s, 18px); background: var(--c, var(--leaf)); border-radius: 0 100% 0 100%; opacity: .9; animation: fall var(--t, 9s) linear infinite; animation-delay: var(--dl, 0s); }
.leaves i::after { content: ""; position: absolute; left: 15%; top: 15%; width: 100%; height: 1px; background: rgba(255, 255, 255, .5); transform: rotate(45deg); transform-origin: left; }
@keyframes fall {
  0% { transform: translate(0, 0) rotate(0); opacity: 0; }
  8% { opacity: .9; }
  30% { transform: translate(calc(var(--x, 60px) * 1), 30vh) rotate(140deg); }
  60% { transform: translate(calc(var(--x, 60px) * -.6), 62vh) rotate(260deg); }
  90% { opacity: .8; }
  100% { transform: translate(calc(var(--x, 60px) * .5), 105vh) rotate(380deg); opacity: 0; }
}

/* ---------- header ---------- */
.hd { position: fixed; z-index: 100; inset: 0 0 auto; height: var(--hd); display: flex; align-items: center; gap: 18px; padding: 0 clamp(16px, 2.4vw, 34px); transition: background .4s, box-shadow .4s, transform .5s var(--ease), height .4s; }
body:not(.pg-home) .hd, .hd.solid { background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); box-shadow: 0 6px 24px -14px rgba(21, 48, 29, .35); --hd: 70px; height: 70px; }
.hd.hide { transform: translateY(-110%); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo-mark { width: 44px; height: 44px; color: var(--main); --vein: #fff; --sway: paused; transition: transform .6s var(--ease); }
.logo:hover .logo-mark { --sway: running; --spd: 1.2s; transform: scale(1.08); }
.logo-t { display: grid; line-height: 1.15; }
.logo-t b { font-family: var(--min); font-size: 23px; font-weight: 900; letter-spacing: .14em; }
.logo-t i { font-family: var(--en); font-weight: 700; font-style: italic; font-size: 13px; letter-spacing: .26em; color: var(--main); }
.pg-home .hd:not(.solid) .logo, .pg-home .hd:not(.solid) .gnav a { color: #fff; }
.pg-home .hd:not(.solid) .logo-t i { color: var(--accent); }
.pg-home .hd:not(.solid) .logo-mark { color: #fff; --vein: var(--main); }
.gnav { display: flex; margin-left: auto; gap: 2px; }
.gnav a { position: relative; display: grid; justify-items: center; padding: 8px 12px; font-size: 14px; font-weight: 700; text-decoration: none; line-height: 1.3; white-space: nowrap; }
.gnav a i { font-family: var(--en); font-style: italic; font-weight: 700; font-size: 14px; letter-spacing: .06em; color: var(--main); transition: transform .3s var(--ease); }
.pg-home .hd:not(.solid) .gnav a i { color: var(--accent); }
.gnav a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 12px; height: 12px; margin-left: -6px; background: var(--leaf); border-radius: 0 100% 0 100%; transform: scale(0) rotate(-90deg); transition: transform .4s var(--ease); }
.gnav a:hover::after, .gnav a.cur::after { transform: scale(1) rotate(-45deg); }
.gnav a:hover i { transform: translateY(-2px); }
.gnav-contact { display: none !important; }
.hd-tel { display: flex; align-items: center; gap: 10px; padding: 8px 18px 8px 9px; border-radius: 999px; background: var(--main); color: #fff; text-decoration: none; flex: none; transition: background .3s, transform .3s var(--ease); }
.hd-tel:hover { background: var(--ink); transform: translateY(-2px); }
.hd-tel svg { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: var(--accent); color: var(--ink); animation: ring 3.2s ease-in-out infinite; }
@keyframes ring { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(-14deg); } 78% { transform: rotate(12deg); } 82% { transform: rotate(-8deg); } 86% { transform: rotate(5deg); } }
.hd-tel span { display: grid; line-height: 1.2; }
.hd-tel b { font-family: var(--en); font-size: 25px; font-weight: 700; letter-spacing: .04em; }
.hd-tel small { font-size: 10.5px; opacity: .9; }
.hd-mail { display: grid; justify-items: center; gap: 0; padding: 8px 14px; border-radius: 16px; background: var(--accent); color: var(--ink); text-decoration: none; font-size: 11px; font-weight: 900; line-height: 1.3; flex: none; transition: transform .3s var(--ease), background .3s; }
.hd-mail svg { width: 22px; height: 22px; }
.hd-mail:hover { transform: translateY(-2px) rotate(-2deg); background: #fff; }
.menu-btn { display: none; }

/* ---------- page hero (subpages) ---------- */
.phero { position: relative; padding: calc(var(--hd) + clamp(50px, 7vw, 90px)) 0 clamp(60px, 7vw, 100px); background: var(--bg-2); overflow: hidden; }
.phero::before { content: ""; position: absolute; right: -4vw; top: 0; bottom: 0; width: 52vw; background: var(--main); border-radius: 0 0 0 60% / 0 0 0 100%; }
.phero-img { position: absolute; right: 0; top: 0; bottom: 0; width: 46vw; border-radius: 0 0 0 52% / 0 0 0 100%; overflow: hidden; }
.phero-img img { width: 100%; height: 115%; object-fit: cover; }
.phero-in { position: relative; z-index: 3; }
.phero-en { display: block; font-family: var(--en); font-style: italic; font-weight: 700; font-size: clamp(60px, 10vw, 140px); line-height: .9; color: var(--main); letter-spacing: .01em; }
.phero-en span { display: inline-block; opacity: 0; transform: translateY(.4em) rotate(10deg); animation: char .9s var(--ease) forwards; animation-delay: calc(var(--i) * .045s + .2s); }
@keyframes char { to { opacity: 1; transform: none; } }
.phero h1 { margin-top: 16px; font-size: clamp(24px, 3vw, 36px); }
.phero h1 span { background: #fff; padding: 2px 14px; box-decoration-break: clone; -webkit-box-decoration-break: clone; box-shadow: 6px 6px 0 var(--accent); }
.crumb { display: flex; gap: 10px; margin-top: 28px; font-size: 12.5px; color: var(--ink-2); }
.crumb a { text-decoration: none; color: var(--main-d); }
.crumb a::after { content: "›"; margin-left: 10px; color: var(--ink-2); }

/* ---------- marquee ---------- */
.marq { overflow: hidden; padding: 18px 0; background: var(--ink); color: #fff; transform: rotate(-2deg); margin: -12px -2vw; position: relative; z-index: 4; }
.marq.y { background: var(--accent); color: var(--ink); transform: rotate(1.5deg); }
.marq .row { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.marq .row span { font-family: var(--en); font-style: italic; font-weight: 700; font-size: clamp(32px, 4.4vw, 58px); letter-spacing: .02em; line-height: 1; padding-right: 30px; display: inline-flex; align-items: center; gap: 30px; }
.marq .row span svg { width: .8em; height: .8em; color: var(--leaf); --vein: var(--ink); }
.marq.y .row span svg { color: var(--main); --vein: var(--accent); }
.marq .row span small { font-family: var(--ja); font-style: normal; font-size: .36em; font-weight: 900; }

/* ---------- cards / lists ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; text-decoration: none; box-shadow: 0 20px 40px -26px rgba(21, 48, 29, .45); transition: transform .4s var(--ease), box-shadow .4s; }
.card:hover { box-shadow: 0 30px 50px -24px rgba(32, 130, 47, .5); }
.card .ph { border-radius: 0; aspect-ratio: 16/10; }
.card .ph img { transition: transform .8s var(--ease); }
.card:hover .ph img { transform: scale(1.07); }
.card-b { padding: 26px 26px 30px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card h3 small { display: block; font-family: var(--en); font-style: italic; font-size: 17px; letter-spacing: .04em; color: var(--main); font-weight: 700; }
.card p { font-size: 14.5px; color: var(--ink-2); }
.card-more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 14px; color: var(--main-d); }
.card-more svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--bg-2); transition: transform .35s var(--ease), background .35s; }
.card:hover .card-more svg { transform: translateX(6px); background: var(--accent); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: #fff; font-weight: 700; box-shadow: 0 8px 20px -16px rgba(21, 48, 29, .5); }
.checks li svg { flex: none; width: 30px; height: 30px; padding: 5px; border-radius: 50%; background: var(--main); color: #fff; }
.checks li svg path { stroke-dasharray: 30; stroke-dashoffset: 30; transition: stroke-dashoffset .6s var(--ease); transition-delay: calc(var(--i, 0) * .12s + .2s); }
.checks.in li svg path { stroke-dashoffset: 0; }
.checks li small { display: block; font-weight: 500; font-size: 13px; color: var(--ink-2); }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: clamp(90px, 11vw, 140px) 0; background: var(--main); color: #fff; }
.cta-bg { position: absolute; inset: 0; display: grid; align-content: center; pointer-events: none; }
.cta-bg span { font-family: var(--en); font-style: italic; font-weight: 700; font-size: 20vw; line-height: .8; color: rgba(255, 255, 255, .07); white-space: nowrap; }
.cta-bg span:nth-child(2) { margin-left: 16vw; }
.cta .wrap { position: relative; z-index: 3; }
.cta-h { font-size: clamp(28px, 4.4vw, 54px); margin-bottom: 18px; }
.cta-lead { font-size: 16px; margin-bottom: 36px; }
.cta-lead b { color: var(--accent); font-size: 1.2em; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; }
.cta-tel { display: flex; align-items: center; gap: 18px; text-decoration: none; padding: 16px 30px 16px 16px; border-radius: 26px; background: var(--ink); transition: transform .4s var(--ease); }
.cta-tel:hover { transform: translateY(-4px) rotate(-1deg); }
.cta-tel-ic { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 20px; background: var(--accent); color: var(--ink); }
.cta-tel-ic svg { width: 36px; height: 36px; animation: ring 2.6s ease-in-out infinite; }
.cta-tel span:last-child { display: grid; line-height: 1.25; }
.cta-tel small { font-size: 13px; opacity: .85; }
.cta-tel b { font-family: var(--en); font-weight: 700; font-size: clamp(40px, 5vw, 60px); letter-spacing: .03em; }
.cta-tel em { font-style: normal; font-size: 13px; color: var(--accent); }
.cta-note { margin: 26px 0 0; font-size: 13px; opacity: .85; }
.cta-leaves { position: absolute; inset: 0; }
.cta-leaves .leaves i { --c: rgba(255, 255, 255, .35); }

/* ---------- footer ---------- */
.ft { position: relative; background: var(--ink); color: #D8E5D6; padding: 80px 0 0; overflow: hidden; }
.ft-in { display: flex; justify-content: space-between; gap: 50px; flex-wrap: wrap; }
.logo-ft { color: #fff; margin-bottom: 18px; }
.logo-ft .logo-t i { color: var(--accent); }
.logo-ft .logo-mark { color: var(--leaf); --vein: var(--ink); }
.ft p { font-size: 14px; }
.ft-area { color: var(--accent); }
.ft-sns { display: flex; gap: 10px; flex-wrap: wrap; }
.ft-sns a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 14px; padding: 8px 16px 8px 10px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); transition: background .3s, border-color .3s; }
.ft-sns svg { width: 22px; height: 22px; }
.ft-sns .ig:hover { background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); border-color: transparent; }
.ft-sns .fb:hover { background: #1877F2; border-color: #1877F2; }
.ft-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 50px; align-content: start; }
.ft-nav a { text-decoration: none; font-size: 14px; font-weight: 700; position: relative; padding-left: 20px; transition: color .3s; }
.ft-nav a::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 0 100% 0 100%; background: var(--leaf); transition: transform .3s var(--ease); }
.ft-nav a:hover { color: var(--accent); }
.ft-nav a:hover::before { transform: rotate(90deg); }
/* フッターの生垣：はさみが端から端まで刈り込んでいく */
.ft-hedge { position: relative; height: 80px; margin-top: 60px; }
.ft-hedge-bg { position: absolute; inset: 0; width: 100%; height: 100%; fill: #1E4428; }
.ft-shears { position: absolute; top: 4px; width: 60px; height: 38px; color: #E8EFE6; animation: trim 14s linear infinite; --spd: .32s; }
@keyframes trim { from { left: -70px; } to { left: 100%; } }
.copy { text-align: center; font-family: var(--en); letter-spacing: .2em; font-size: 14px; padding: 16px 0 22px; margin: 0; color: #9CB39E; background: #1E4428; }
.ft-legal { display: block; font-family: var(--ja); letter-spacing: .08em; font-size: 12px; color: #C9D8CA; margin-bottom: 6px; }
.ft-legal:hover { color: #fff; }

/* floating */
.side-tab { position: fixed; z-index: 90; right: 0; top: 50%; display: grid; justify-items: center; gap: 6px; width: 76px; padding: 16px 8px 18px; border-radius: 20px 0 0 20px; background: var(--accent); color: var(--ink); text-decoration: none; text-align: center; box-shadow: -8px 10px 30px -14px rgba(21, 48, 29, .6); transform: translate(110%, -50%); transition: transform .6s var(--ease), background .3s; --snip: paused; }
.side-tab.show { transform: translate(0, -50%); }
.side-tab:hover { background: #fff; --snip: running; }
.side-tab svg { width: 46px; height: 30px; color: var(--main-d); --grip: var(--ink); }
.side-tab b { writing-mode: vertical-rl; font-family: var(--min); font-size: 18px; letter-spacing: .18em; }
.side-tab span { font-size: 11px; font-weight: 700; line-height: 1.4; }
.to-top { position: fixed; z-index: 90; right: 22px; bottom: 22px; width: 62px; height: 62px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--leaf); text-decoration: none; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .4s var(--ease); --sway: paused; --vein: var(--ink); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); opacity: .5; }
.to-top:hover { --sway: running; --spd: .8s; }
.to-top span { position: relative; font-family: var(--en); font-weight: 700; font-size: 13px; letter-spacing: .1em; color: #fff; }
.sp-bar { display: none; }
.toast { position: fixed; z-index: 300; left: 50%; bottom: 30px; transform: translate(-50%, calc(100% + 60px)); visibility: hidden; padding: 14px 24px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .5); transition: transform .5s var(--ease); max-width: calc(100% - 32px); }
.toast.on { transform: translate(-50%, 0); visibility: visible; }

/* page transition: 緑の幕が丸く広がり、葉が一枚ゆれる */
.pg-wipe { position: fixed; z-index: 400; inset: 0; pointer-events: none; display: grid; place-items: center; background: var(--main); clip-path: circle(0 at var(--wx, 50%) var(--wy, 50%)); }
.pg-wipe svg { width: 110px; height: 110px; color: #fff; --vein: var(--main); --spd: 1s; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease); }
.pg-wipe.in { clip-path: circle(150% at var(--wx, 50%) var(--wy, 50%)); transition: clip-path .65s var(--ease); }
.pg-wipe.in svg, .pg-wipe.cover svg { opacity: 1; transform: none; }
.pg-wipe.cover { clip-path: circle(150% at 50% 50%); }
.pg-wipe.out { clip-path: circle(0 at 50% 50%); transition: clip-path .7s var(--ease) .1s; }
.pg-wipe.out svg { opacity: 0; transform: scale(1.4) rotate(30deg); }

/* cursor: 葉っぱが動く向きに傾く */
.cursor { position: fixed; z-index: 500; left: 0; top: 0; width: 30px; height: 30px; margin: -15px 0 0 -15px; pointer-events: none; color: var(--main); opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), color .3s; --sway: paused; }
.cursor.on { opacity: 1; }
.cursor.big { width: 58px; height: 58px; margin: -29px 0 0 -29px; color: var(--accent); --vein: var(--ink); }
.cursor.off { opacity: 0; }
.cursor svg { width: 100%; height: 100%; filter: drop-shadow(0 2px 4px rgba(21, 48, 29, .35)); }
.has-cur, .has-cur a, .has-cur button { cursor: none; }
.has-cur input, .has-cur textarea, .has-cur select { cursor: auto; }

/* ---------- tables / faq ---------- */
.tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th, .tbl td { padding: 18px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tbl th { width: 9em; font-weight: 900; color: var(--main-d); white-space: nowrap; }
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border-radius: 16px; box-shadow: 0 10px 26px -20px rgba(21, 48, 29, .5); overflow: hidden; }
.faq summary { list-style: none; display: flex; align-items: center; gap: 16px; padding: 20px 24px; font-weight: 900; font-size: 16.5px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary b { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 0 50% 0 50%; background: var(--main); color: #fff; font-family: var(--en); font-size: 24px; font-style: italic; }
.faq summary::after { content: ""; flex: none; margin-left: auto; width: 14px; height: 14px; border-right: 3px solid var(--main); border-bottom: 3px solid var(--main); transform: rotate(45deg) translateY(-4px); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .a { display: flex; gap: 16px; padding: 0 24px 22px; color: var(--ink-2); }
.faq .a b { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50% 0 50% 0; background: var(--accent); color: var(--ink); font-family: var(--en); font-size: 24px; font-style: italic; }
.faq .a p { margin: 8px 0 0; }
.faq details[open] .a { animation: drop .5s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .hd-tel small { display: none; }
  .gnav a { padding: 8px 9px; font-size: 13px; }
}
@media (max-width: 1080px) {
  :root { --hd: 68px; }
  .hd { gap: 10px; }
  .hd.solid { height: 64px; }
  .menu-btn { display: grid; place-content: center; gap: 6px; width: 50px; height: 50px; border: 0; border-radius: 14px; background: var(--ink); cursor: pointer; z-index: 3; }
  .menu-btn span { width: 22px; height: 3px; border-radius: 2px; background: var(--accent); transition: transform .4s var(--ease), opacity .3s; }
  .menu-open .menu-btn span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
  .menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  .menu-open .menu-btn span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
  .hd-tel { margin-left: auto; padding: 6px; }
  .hd-tel span, .hd-mail { display: none; }
  .gnav { position: fixed; inset: 0; z-index: 2; flex-direction: column; justify-content: center; gap: 4px; padding: 90px 30px 40px; background: var(--ink); clip-path: circle(0 at calc(100% - 50px) 34px); transition: clip-path .7s var(--ease); margin: 0; }
  .menu-open .gnav { clip-path: circle(150% at calc(100% - 50px) 34px); }
  .gnav a, .pg-home .hd:not(.solid) .gnav a { color: #fff; display: flex; gap: 16px; align-items: baseline; justify-items: start; font-size: 20px; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .gnav a i { width: 90px; font-size: 18px; color: var(--accent); }
  .gnav a::after { display: none; }
  .gnav-contact { display: flex !important; }
  .menu-open .logo { position: relative; z-index: 3; color: #fff; }
  .menu-open .hd { background: transparent; box-shadow: none; backdrop-filter: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .phero::before { width: 40vw; }
  .phero-img { width: 36vw; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 32px); }
  .logo-mark { width: 36px; height: 36px; }
  .logo-t b { font-size: 19px; }
  .logo-t i { font-size: 11px; }
  .cards { grid-template-columns: 1fr; }
  .phero { padding-bottom: 160px; }
  .phero h1 { font-size: 21px; }
  .phero::before { width: 100%; top: auto; height: 130px; right: 0; border-radius: 60% 0 0 0 / 70% 0 0 0; }
  .phero-img { width: 100%; top: auto; height: 120px; border-radius: 60% 0 0 0 / 70% 0 0 0; }
  .side-tab { display: none; }
  .to-top { bottom: 84px; right: 14px; width: 52px; height: 52px; }
  .sp-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; background: var(--ink); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 20px -12px rgba(0, 0, 0, .5); }
  .sp-bar a { display: grid; justify-items: center; gap: 2px; padding: 9px 0 8px; color: #fff; text-decoration: none; font-size: 11.5px; font-weight: 700; }
  .sp-bar a:first-child { background: var(--main); }
  .sp-bar a:nth-child(3) { background: var(--accent); color: var(--ink); }
  .sp-bar svg { width: 24px; height: 22px; }
  body { padding-bottom: 62px; }
  .cta-tel { padding: 12px 20px 12px 12px; gap: 12px; }
  .cta-tel-ic { width: 56px; height: 56px; border-radius: 16px; }
  .cta .btn { width: 100%; justify-content: center; }
  .tbl th, .tbl td { display: block; width: auto; padding: 4px 0; border: 0; }
  .tbl tr { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .ft-nav { grid-template-columns: 1fr 1fr; gap: 10px 20px; }
  .faq summary { padding: 16px; font-size: 15px; gap: 12px; }
  .faq summary b, .faq .a b { width: 36px; height: 36px; font-size: 20px; }
  .faq .a { padding: 0 16px 18px; gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .up, .lines > span > span { opacity: 1; transform: none; }
  .leaves { display: none; }
}

/* menu-fix-20261110 スマホメニューの崩れ対策
   ヘッダーに transform / backdrop-filter / filter があると、中の position:fixed のメニューが「画面」ではなく「ヘッダー」基準になり、
   スクロール後に開くとメニューがヘッダーの高さに押し込まれて本文と重なる。開いている間と閉じる途中（menu-closing）はこれらを外す。 */
body.menu-open .hd, body.menu-closing .hd { transform: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; filter: none !important; will-change: auto !important; transition-property: background, background-color, box-shadow, height, color !important; }
html.menu-lock { overflow: hidden !important; overscroll-behavior: none; }
html.menu-lock body { overflow: visible !important; }  /* body まで hidden にすると sticky のヘッダーがずれるので、止めるのは html だけ */
body.menu-open .sp-bar, body.menu-open .to-top, body.menu-open .side-tab { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }

/* hp-check-20261110 横はみ出し対策：斜めの帯（.marq）が画面より左右に広いので、PC で横スクロールが出ないよう切る（main で切る。clip はスクロール領域を作らないので sticky・メニュー修正に影響しない。body に付けると画面全体の設定に回されて効かない） */
main { overflow-x: clip; }
