/* みずき造園 — ページごとの部品 */

/* ===== opening：木が育つ → 植木ばさみがチョキン → 葉が舞ってロゴ ===== */
.intro { position: fixed; z-index: 1000; inset: 0; background: var(--ink); overflow: hidden; display: grid; place-items: center; transition: transform 1s var(--ease); }
.intro-under { position: fixed; z-index: 999; inset: 0; background: var(--leaf); pointer-events: none; transition: transform 1.1s var(--ease) .12s; }
.intro.out { transform: translateY(-105%); border-radius: 0 0 50% 50% / 0 0 16% 16%; }
.intro-under.out { transform: translateY(-105%); }
.no-intro .intro, .no-intro .intro-under { display: none; }
.intro-big { position: absolute; left: 0; top: 50%; transform: translate(100vw, -60%); font-family: var(--en); font-style: italic; font-weight: 700; font-size: 28vw; line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .08); animation: big-slide 3.4s linear forwards; }
@keyframes big-slide { to { transform: translate(-60%, -60%); } }
.intro-ground { position: absolute; left: 50%; top: 66%; width: 0; height: 3px; background: var(--main); transform: translateX(-50%); animation: ground .6s var(--ease) .1s forwards; border-radius: 3px; }
@keyframes ground { to { width: min(480px, 80vw); } }
.intro-tree { position: absolute; left: 50%; top: 66%; width: min(330px, 62vw); transform: translate(-50%, -100%); overflow: visible; animation: tree-out .6s var(--ease) 2.05s forwards; }
.intro-tree .trunk { fill: none; stroke: #8A6A45; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw .8s var(--ease) .3s forwards; }
.intro-tree .br { fill: none; stroke: #8A6A45; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw .6s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.intro-tree .f { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .6s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.intro-tree .f1 { fill: var(--main); animation-delay: .85s; }
.intro-tree .f2 { fill: var(--leaf); animation-delay: .95s; }
.intro-tree .f3 { fill: var(--main-d); animation-delay: 1.02s; }
.intro-tree .f4 { fill: var(--leaf); animation-delay: 1.1s; }
.intro-tree .f5 { fill: var(--main); animation-delay: 1.16s; }
@keyframes pop { to { transform: scale(1); } }
.intro-tree .cut { transform-box: fill-box; transform-origin: left bottom; }
.intro.snipped .intro-tree .cut { animation: cutfall .7s ease-in forwards; }
@keyframes cutfall { to { transform: translate(30px, 160px) rotate(70deg); opacity: 0; } }
@keyframes tree-out { to { transform: translate(-50%, -100%) scale(.7); opacity: 0; } }
.intro-shears { position: absolute; left: 50%; top: calc(66% - min(330px, 62vw) * .9); width: 130px; height: 82px; color: #E8EFE6; --grip: var(--accent); transform: translate(60vw, 0) rotate(-20deg); animation: shears-in .55s var(--ease) 1.2s forwards, shears-out .5s ease-in 2.1s forwards; --snip: paused; --spd: .22s; }
.intro.snip .intro-shears { --snip: running; }
@keyframes shears-in { to { transform: translate(10px, 0) rotate(-180deg) scaleY(-1); } }
@keyframes shears-out { from { transform: translate(10px, 0) rotate(-180deg) scaleY(-1); } to { transform: translate(70vw, -20vh) rotate(-200deg) scaleY(-1); opacity: 0; } }
.intro-snip { position: absolute; left: 50%; top: calc(66% - min(330px, 62vw) * 1.05); transform: translate(40px, 0) scale(0) rotate(-8deg); font-family: var(--min); font-weight: 900; font-size: clamp(24px, 3vw, 34px); color: var(--accent); letter-spacing: .1em; animation: snip-t .9s var(--ease) 1.65s forwards; }
@keyframes snip-t { 30% { transform: translate(60px, -10px) scale(1.15) rotate(-8deg); opacity: 1; } 80% { opacity: 1; } to { transform: translate(70px, -30px) scale(1) rotate(-8deg); opacity: 0; } }
.intro-burst { position: absolute; left: 50%; top: 42%; }
.intro-burst i { position: absolute; width: 18px; height: 18px; border-radius: 0 100% 0 100%; background: var(--leaf); opacity: 0; animation: burst 1.3s var(--ease) 1.8s forwards; }
.intro-burst i:nth-child(3n) { background: var(--main); }
.intro-burst i:nth-child(4n) { background: var(--accent); }
@keyframes burst { 0% { opacity: 1; transform: translate(0, 0) rotate(0) scale(.4); } 100% { opacity: 0; transform: translate(var(--bx), var(--by)) rotate(var(--br)) scale(1.1); } }
.intro-logo { position: relative; display: grid; justify-items: center; gap: 10px; color: #fff; opacity: 0; transform: translateY(30px); animation: logo-in .9s var(--ease) 2.2s forwards; text-align: center; }
@keyframes logo-in { to { opacity: 1; transform: none; } }
.intro-logo svg { width: 70px; height: 70px; color: var(--leaf); --vein: var(--ink); }
.intro-logo b { font-family: var(--min); font-size: clamp(38px, 6vw, 64px); letter-spacing: .24em; line-height: 1.2; padding-left: .24em; }
.intro-logo i { font-family: var(--en); font-style: italic; font-weight: 700; font-size: 18px; letter-spacing: .3em; color: var(--accent); }
.intro-logo small { font-size: 13px; letter-spacing: .2em; opacity: .75; }
.intro-skip { position: absolute; right: 22px; bottom: 22px; border: 1px solid rgba(255, 255, 255, .35); background: none; color: #fff; font-family: var(--en); letter-spacing: .2em; font-weight: 700; font-size: 15px; padding: 6px 18px; border-radius: 999px; cursor: pointer; }

/* ===== home: hero ===== */
.hero { position: relative; height: 100svh; min-height: 660px; color: #fff; overflow: hidden; background: var(--ink); }
.hero-slides { position: absolute; inset: -20px; }
.hero-slides .s { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slides .s.on { opacity: 1; }
.hero-slides img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); }
.hero-slides .s.on img { animation: kb 8s linear forwards; }
@keyframes kb { from { transform: scale(1.14) translateX(-1%); } to { transform: scale(1) translateX(1%); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(21, 48, 29, .85) 0%, rgba(21, 48, 29, .5) 48%, rgba(21, 48, 29, .05) 100%), linear-gradient(0deg, rgba(21, 48, 29, .55), transparent 40%); }
.hero-in { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: var(--hd); padding-bottom: 90px; }
.hero-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; margin-bottom: 24px; padding: 6px 16px 6px 8px; border-radius: 999px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); font-weight: 700; font-size: 14px; }
.hero-tag svg { width: 26px; height: 26px; padding: 4px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.hero-h { font-size: clamp(44px, 7.6vw, 108px); line-height: 1.2; letter-spacing: .06em; margin-bottom: 26px; text-shadow: 0 4px 30px rgba(0, 0, 0, .3); }
.hero-h em { font-style: normal; color: var(--accent); }
.hero-sub { font-size: clamp(15px, 1.6vw, 18px); font-weight: 700; max-width: 34em; }
.hero-sub b { color: var(--accent); }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 14px; }
.btn-glass { --b: rgba(255, 255, 255, .14); --f: #fff; backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .6); }
.btn-glass::before { background: var(--main); }
.hero-badge { position: absolute; z-index: 4; right: clamp(20px, 6vw, 90px); top: 52%; width: clamp(150px, 15vw, 210px); aspect-ratio: 1; transform: translateY(-40%); text-decoration: none; color: var(--ink); }
.hero-badge .ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-badge .ring text { font-family: var(--en); font-weight: 700; font-size: 15.5px; letter-spacing: .2em; fill: #fff; }
.hero-badge .core { position: absolute; inset: 17%; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--accent); line-height: 1.2; transition: transform .5s var(--ease); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); }
.hero-badge:hover .core { transform: scale(1.08) rotate(-8deg); }
.hero-badge .core small { font-size: 10.5px; font-weight: 900; }
.hero-badge .core b { font-family: var(--min); font-size: clamp(30px, 3vw, 40px); line-height: 1.15; color: var(--main-d); }
.hero-badge .core em { font-style: normal; font-size: 10.5px; font-weight: 700; }
.hero-pager { position: absolute; z-index: 4; left: 0; right: 0; bottom: 110px; }
.hero-pager .wrap { display: flex; gap: 10px; }
.hero-pager button { width: 60px; height: 20px; padding: 0; border: 0; background: none; cursor: pointer; position: relative; }
.hero-pager button::before, .hero-pager i { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.hero-pager i { right: auto; width: 0; background: var(--accent); }
.hero-pager button.on i { animation: bar 6s linear forwards; }
@keyframes bar { to { width: 100%; } }
.hero-hedge { position: absolute; z-index: 3; left: 0; bottom: -1px; width: 100%; height: clamp(40px, 6vw, 90px); fill: var(--bg); }
.hero-scroll { position: absolute; z-index: 4; right: 30px; bottom: 120px; writing-mode: vertical-rl; font-family: var(--en); font-weight: 700; letter-spacing: .3em; font-size: 13px; display: flex; align-items: center; gap: 12px; }
.hero-scroll::after { content: ""; width: 1px; height: 60px; background: linear-gradient(#fff 50%, rgba(255, 255, 255, .25) 50%); background-size: 1px 200%; animation: scr 1.6s linear infinite; }
@keyframes scr { to { background-position: 0 -200%; } }

/* ===== home: about ===== */
.big-bg { position: absolute; right: 0; top: 50px; font-family: var(--en); font-style: italic; font-weight: 700; font-size: 18vw; line-height: .8; color: var(--bg-2); pointer-events: none; z-index: -1; white-space: nowrap; }
.about-g { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; padding: 0; list-style: none; }
.tags li { padding: 4px 14px; border-radius: 999px; background: var(--bg-2); color: var(--main-d); font-weight: 700; font-size: 13.5px; border: 1px solid var(--line); }
.about-ph { position: relative; height: clamp(420px, 46vw, 600px); }
.about-ph .ph { position: absolute; }
.about-ph .ph:nth-child(1) { right: 0; top: 0; width: 76%; height: 66%; border-radius: 200px 18px 18px 18px; }
.about-ph .ph:nth-child(2) { left: 0; bottom: 0; width: 56%; height: 48%; border: 8px solid #fff; border-radius: 18px 18px 18px 160px; }
.sticker { position: absolute; z-index: 3; right: 4%; bottom: 6%; width: 150px; height: 150px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--accent); font-weight: 900; line-height: 1.3; font-size: 13px; transform: rotate(10deg); box-shadow: 0 16px 30px -16px rgba(21, 48, 29, .6); }
.sticker b { font-family: var(--min); font-size: 38px; color: var(--main-d); line-height: 1.1; }
.sticker.in { animation: wobble 4s ease-in-out infinite 1s; }
@keyframes wobble { 0%, 100% { transform: rotate(10deg); } 50% { transform: rotate(-4deg) scale(1.04); } }

/* ===== home: numbers ===== */
.nums { background: var(--main); color: #fff; padding: 60px 0; position: relative; overflow: hidden; }
.nums::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 10% 20%, rgba(103, 184, 44, .5), transparent 40%), radial-gradient(circle at 90% 80%, rgba(21, 48, 29, .5), transparent 40%); }
.nums-g { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.num { padding: 6px 20px; border-left: 1px solid rgba(255, 255, 255, .25); }
.num:first-child { border: 0; }
.num small { font-weight: 700; font-size: 13px; opacity: .85; }
.num b { font-variant-numeric: lining-nums; display: flex; align-items: baseline; gap: 6px; font-family: var(--en); font-weight: 700; font-size: clamp(54px, 6vw, 80px); line-height: 1.05; color: var(--accent); }
.num b i { font-family: var(--ja); font-style: normal; font-size: 18px; color: #fff; }
.num p { margin: 0; font-size: 13px; opacity: .9; }

/* ===== home: service panels (ホバーで広がる3枚) ===== */
.panels { display: flex; gap: 14px; height: clamp(440px, 46vw, 560px); }
.panel { position: relative; flex: 1; overflow: hidden; border-radius: 24px; color: #fff; text-decoration: none; transition: flex .8s var(--ease); background: var(--ink); }
.panels:hover .panel { flex: .8; }
.panels .panel:hover { flex: 1.9; }
.panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.panel:hover img { transform: scale(1.06); }
.panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(21, 48, 29, .92) 10%, rgba(21, 48, 29, .1) 65%); }
.panel-no { position: absolute; z-index: 2; top: 18px; left: 22px; font-family: var(--en); font-style: italic; font-weight: 700; font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #fff; }
.panel-b { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 26px 28px 30px; }
.panel-b small { font-family: var(--en); font-style: italic; font-weight: 700; font-size: 20px; color: var(--accent); }
.panel-b h3 { font-family: var(--min); font-size: clamp(20px, 2vw, 26px); margin-bottom: 6px; }
.panel-b p { font-size: 14px; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s, margin .5s; }
.panel:hover .panel-b p, .panel:focus-visible .panel-b p { max-height: 120px; opacity: .92; margin: 6px 0 14px; }
.panel-more { display: inline-flex; align-items: center; gap: 8px; font-weight: 900; font-size: 14px; }
.panel-more svg { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--accent); color: var(--ink); transition: transform .35s var(--ease); }
.panel:hover .panel-more svg { transform: translateX(6px); }

/* ===== home: worries ===== */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.case { position: relative; display: block; padding: 30px 24px 24px; border-radius: var(--r); background: #fff; text-decoration: none; box-shadow: 0 20px 40px -30px rgba(21, 48, 29, .6); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s, box-shadow .4s; }
.case:hover { transform: translateY(-6px); border-color: var(--leaf); box-shadow: 0 30px 50px -30px rgba(32, 130, 47, .55); }
.case-ic { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 0 50% 0 50%; background: var(--bg-2); color: var(--main); margin-bottom: 16px; transition: background .4s, color .4s, border-radius .6s var(--ease); --vein: var(--bg-2); }
.case:hover .case-ic { background: var(--main); color: #fff; border-radius: 50%; --vein: var(--main); }
.case-ic svg { width: 32px; height: 32px; }
.case h3 { font-size: 18px; margin-bottom: 8px; }
.case p { font-size: 14px; color: var(--ink-2); margin: 0 0 14px; }
.case-to { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 900; color: var(--main-d); }
.case-to::after { content: "→"; transition: transform .3s var(--ease); }
.case:hover .case-to::after { transform: translateX(5px); }
.case-biz { display: flex; align-items: center; gap: 16px; margin: 26px 0 0; padding: 18px 24px; border-radius: 18px; background: var(--ink); color: #fff; font-size: 14.5px; }
.case-biz > svg { flex: none; width: 40px; height: 40px; color: var(--accent); }
.case-biz b { color: var(--accent); }
.case-biz a { flex: none; margin-left: auto; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 900; padding: 8px 16px; border-radius: 999px; background: var(--accent); color: var(--ink); }
.case-biz a svg { width: 16px; height: 16px; }

/* ===== home: before / after ===== */
.ba-g { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.ba { position: relative; aspect-ratio: 4/3; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(21, 48, 29, .7); user-select: none; }
.ba > img, .ba-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before img { filter: saturate(.85) brightness(.92); }
.ba-tag { position: absolute; top: 16px; z-index: 2; font-family: var(--en); font-weight: 700; letter-spacing: .14em; font-size: 15px; padding: 2px 14px; border-radius: 999px; }
.ba-tag.b { left: 16px; background: rgba(21, 48, 29, .8); color: #fff; }
.ba-tag.a { right: 16px; background: var(--accent); color: var(--ink); }
.ba-bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 2; pointer-events: none; }
.ba-bar span { position: absolute; top: 50%; left: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; display: grid; place-items: center; border-radius: 50%; background: #fff; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .4); }
.ba-bar svg { width: 40px; height: 26px; color: var(--main); transform: rotate(90deg); --snip: paused; --spd: .25s; }
.ba.moving .ba-bar svg { --snip: running; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.ba.hint .ba-bar { animation: hint 2.2s var(--ease) 1; }
@keyframes hint { 30% { transform: translateX(-60px); } 65% { transform: translateX(50px); } }
.todo-note { display: inline-block; font-size: 12px; font-weight: 700; color: #B54708; background: #FFF4E5; border: 1px dashed #F79009; border-radius: 6px; padding: 2px 8px; margin: 6px 0 0; }

/* ===== home: seasons ===== */
.season { --sc: var(--leaf); --sb: #F4F9EC; background: var(--sb); transition: background .8s; overflow: hidden; }
.season[data-season="summer"] { --sc: #2E9E5B; --sb: #EAF6EF; }
.season[data-season="autumn"] { --sc: #D4672A; --sb: #FBF0E6; }
.season[data-season="winter"] { --sc: #5B7F94; --sb: #EEF3F6; }
.season-bg { position: absolute; right: -2vw; top: 30px; pointer-events: none; }
.season-bg span { display: block; font-family: var(--en); font-style: italic; font-weight: 700; font-size: 17vw; line-height: .8; color: var(--sc); opacity: .12; transition: color .8s; }
.season-bg span.swap { animation: sswap .8s var(--ease); }
@keyframes sswap { from { opacity: 0; transform: translateY(40px); } }
.season .sec-h em { color: var(--sc); transition: color .8s; }
.season-tabs { display: flex; gap: 10px; margin: 34px 0 30px; flex-wrap: wrap; }
.season-tabs button { position: relative; display: grid; justify-items: center; min-width: 108px; padding: 12px 20px 10px; border: 0; border-radius: 18px; background: #fff; color: var(--ink); font: inherit; cursor: pointer; box-shadow: 0 10px 20px -16px rgba(21, 48, 29, .6); transition: transform .35s var(--ease), background .4s, color .4s; }
.season-tabs b { font-family: var(--min); font-size: 26px; line-height: 1.2; }
.season-tabs small { font-size: 12px; font-weight: 700; opacity: .75; }
.season-tabs button:hover { transform: translateY(-3px); }
.season-tabs button.on { background: var(--sc); color: #fff; }
.season-body { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 56px); align-items: center; }
.season-ph { position: relative; aspect-ratio: 4/3; border-radius: 26px 26px 26px 140px; overflow: hidden; background: var(--ink); }
.season-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.1); transition: opacity .8s, transform 1.4s var(--ease); }
.season-ph img.on { opacity: 1; transform: none; }
.season-list ul { display: none; list-style: none; margin: 0; padding: 0; }
.season-list ul.on { display: grid; gap: 14px; }
.season-list li { position: relative; padding: 18px 22px 18px 64px; border-radius: 16px; background: #fff; font-size: 14.5px; color: var(--ink-2); animation: lin .6s var(--ease) both; box-shadow: 0 10px 24px -20px rgba(21, 48, 29, .6); }
.season-list li:nth-child(2) { animation-delay: .08s; }
.season-list li:nth-child(3) { animation-delay: .16s; }
@keyframes lin { from { opacity: 0; transform: translateX(30px); } }
.season-list li::before { content: ""; position: absolute; left: 22px; top: 22px; width: 24px; height: 24px; border-radius: 0 100% 0 100%; background: var(--sc); transition: background .8s; }
.season-list li b { display: block; font-size: 17px; color: var(--ink); }
.season-note { font-size: 12.5px; color: var(--ink-2); margin: 16px 0 0; }

/* ===== home: flow (4 steps) ===== */
.flow { counter-reset: st; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 50px 0 0; padding: 0; position: relative; }
.flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 44px; height: 4px; background: repeating-linear-gradient(90deg, var(--leaf) 0 14px, transparent 14px 24px); transform-origin: left; transform: scaleX(0); transition: transform 1.8s var(--ease) .2s; }
.flow.in::before { transform: scaleX(1); }
.flow li { list-style: none; position: relative; text-align: center; padding: 0 14px; opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i) * .25s + .3s); }
.flow.in li { opacity: 1; transform: none; }
.flow li::before { counter-increment: st; content: "STEP" counter(st, decimal-leading-zero); display: grid; place-items: center; width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 0 50% 0 50%; background: #fff; border: 3px solid var(--main); font-family: var(--en); font-style: italic; font-weight: 700; font-size: 18px; color: var(--main-d); position: relative; z-index: 1; }
.flow li:last-child::before { background: var(--accent); }
.flow h3 { font-size: 18px; margin-bottom: 8px; }
.flow p { font-size: 14px; color: var(--ink-2); text-align: left; }
.free { display: inline-block; margin-left: 6px; font-size: 11px; padding: 0 8px; border-radius: 999px; background: var(--accent); color: var(--ink); }

/* ===== instagram grid ===== */
.btn-ig { --b: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF); background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.btn-ig::before { background: var(--ink); }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ig { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 14px; background: var(--ink); }
.ig img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ig span { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; color: #fff; font-weight: 900; background: rgba(32, 130, 47, .72); opacity: 0; transition: opacity .4s; }
.ig span svg { width: 34px; height: 34px; transform: scale(.5); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.ig:hover img { transform: scale(1.1) rotate(1deg); }
.ig:hover span { opacity: 1; }
.ig:hover span svg { transform: none; }
.ig.hid { display: none; }
.ig-note { font-size: 12.5px; color: var(--ink-2); margin: 16px 0 0; }
.works-cat, .faq-cat { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.works-cat button, .faq-cat button { font: inherit; font-weight: 900; font-size: 14px; padding: 10px 22px; border-radius: 999px; border: 2px solid var(--main); background: #fff; color: var(--main-d); cursor: pointer; transition: all .3s var(--ease); }
.works-cat button.on, .works-cat button:hover, .faq-cat button.on, .faq-cat button:hover { background: var(--main); color: #fff; }
.faq details.hid { display: none; }

/* ===== shop / company ===== */
.shop-g { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.map { border-radius: var(--r); overflow: hidden; aspect-ratio: 4/3.4; background: var(--bg-2); box-shadow: 0 30px 50px -36px rgba(21, 48, 29, .6); }
.map iframe { width: 100%; height: 100%; border: 0; }
.area { display: flex; flex-wrap: wrap; gap: 6px; }
.area span { padding: 2px 12px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--main-d); }
.area-box { margin-top: 24px; padding: 24px 26px; border-radius: var(--r); background: #fff; }
.area-box h3 { display: flex; align-items: center; gap: 8px; font-size: 17px; margin-bottom: 12px; }
.area-box h3 svg { width: 22px; height: 22px; color: var(--main); }
.area-box p { font-size: 13px; color: var(--ink-2); margin: 12px 0 0; }
.tbl small { color: var(--ink-2); font-size: 12.5px; }

/* ===== subpages ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.split .ph { aspect-ratio: 4/3; border-radius: 160px 18px 18px 18px; }
.svc-nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 40px; }
.svc-nav a { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: var(--bg-2); text-decoration: none; font-weight: 900; font-size: 14.5px; transition: background .3s, color .3s, transform .3s var(--ease); }
.svc-nav a b { font-family: var(--en); font-style: italic; font-size: 24px; color: var(--main); line-height: 1; }
.svc-nav a:hover { background: var(--main); color: #fff; transform: translateY(-3px); }
.svc-nav a:hover b { color: var(--accent); }
.svc { padding: clamp(70px, 9vw, 120px) 0; position: relative; }
.svc-g { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.svc.rev .svc-ph { order: 2; }
.svc-ph { position: relative; }
.svc-ph .ph { aspect-ratio: 5/4; border-radius: 18px 18px 18px 150px; }
.svc.rev .svc-ph .ph { border-radius: 18px 18px 150px 18px; }
.svc-no { position: absolute; z-index: 2; top: -56px; left: -6px; font-family: var(--en); font-style: italic; font-weight: 700; font-size: clamp(90px, 11vw, 150px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--main); }
.svc.rev .svc-no { left: auto; right: -6px; }
.svc-h { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 18px; font-family: var(--min); }
.svc p { color: var(--ink-2); }
.svc .checks { margin-top: 22px; }
.svc-note { font-size: 13px; margin-top: 16px; }
.chips-s { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.chips-s span { padding: 6px 16px; border-radius: 999px; background: #fff; border: 1.5px solid var(--leaf); font-weight: 700; font-size: 13.5px; color: var(--main-d); }
.ex-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.ex-grid span { display: grid; justify-items: center; gap: 6px; padding: 18px 8px; border-radius: 16px; background: #fff; font-weight: 900; font-size: 13.5px; text-align: center; transition: transform .35s var(--ease), background .35s, color .35s; }
.ex-grid span:hover { transform: translateY(-4px); background: var(--main); color: #fff; }
.ex-grid svg { width: 32px; height: 32px; color: var(--main); transition: color .35s; }
.ex-grid span:hover svg { color: var(--accent); }

.steps { list-style: none; margin: 50px 0 0; padding: 0 0 0 30px; position: relative; display: grid; gap: 18px; }
.steps::before { content: ""; position: absolute; left: 44px; top: 20px; bottom: 20px; width: 3px; background: var(--line); }
.steps::after { content: ""; position: absolute; left: 44px; top: 20px; width: 3px; height: calc((100% - 40px) * var(--sp, 0)); background: linear-gradient(var(--main), var(--leaf)); }
.step { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 28px; align-items: start; }
.step-no { position: relative; z-index: 1; display: grid; place-items: center; width: 32px; height: 32px; margin-top: 22px; border-radius: 0 50% 0 50%; background: #fff; border: 3px solid var(--line); font-family: var(--en); font-weight: 700; font-size: 14px; color: var(--ink-2); transition: background .5s, border-color .5s, color .5s, transform .5s var(--ease); }
.step.on .step-no { background: var(--main); border-color: var(--main); color: #fff; transform: scale(1.25) rotate(-8deg); }
.step > div { padding: 22px 28px; border-radius: 18px; background: #fff; box-shadow: 0 14px 30px -24px rgba(21, 48, 29, .6); transition: transform .5s var(--ease); }
.step.on > div { transform: translateX(6px); }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step h3 em { font-style: normal; font-size: 12px; margin-left: 8px; padding: 1px 10px; border-radius: 999px; background: var(--accent); vertical-align: 3px; }
.step p { margin: 0; font-size: 14.5px; color: var(--ink-2); }

.greet { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.greet .ph { aspect-ratio: 4/5; border-radius: 18px 160px 18px 18px; }
.sign { margin-top: 26px; font-weight: 900; font-size: 15px; }
.sign b { font-family: var(--min); font-size: 28px; margin-left: 12px; letter-spacing: .16em; }

.form { display: grid; gap: 22px; padding: clamp(26px, 4vw, 50px); border-radius: 28px; background: #fff; box-shadow: 0 30px 60px -40px rgba(21, 48, 29, .6); }
.form label { display: grid; gap: 8px; font-weight: 900; font-size: 15px; }
.form label > span em { font-style: normal; font-size: 11px; color: #fff; background: var(--main); border-radius: 4px; padding: 1px 6px; margin-left: 8px; vertical-align: 2px; }
.form input, .form select, .form textarea { font: inherit; font-weight: 500; padding: 14px 16px; border-radius: 12px; border: 2px solid var(--line); background: var(--bg-2); color: var(--ink); transition: border-color .3s, background .3s, box-shadow .3s; width: 100%; }
.form input[type=file] { padding: 10px; font-size: 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--main); background: #fff; box-shadow: 0 0 0 5px rgba(32, 130, 47, .15); }
.form textarea { min-height: 160px; resize: vertical; }
.form-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { display: block; }
.chips input { position: absolute; opacity: 0; width: 1px; }
.chips span { display: inline-block; padding: 9px 18px; border-radius: 999px; border: 2px solid var(--line); font-weight: 700; font-size: 14px; cursor: pointer; transition: all .25s var(--ease); }
.chips input:checked + span { background: var(--main); border-color: var(--main); color: #fff; transform: translateY(-2px); }
.chips input:focus-visible + span { box-shadow: 0 0 0 4px rgba(32, 130, 47, .3); }
.form .btn { justify-self: center; border: 0; cursor: pointer; font: inherit; font-weight: 900; padding: 20px 50px; }
.form-note { font-size: 13px; color: var(--ink-2); text-align: center; margin: 0; }
.form-note a { color: var(--main-d); text-decoration: underline; }
.contact-g { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.tel-card { position: sticky; top: 110px; padding: 34px 30px; border-radius: 28px; background: var(--main); color: #fff; }
.tel-card h2 { font-size: 22px; margin-bottom: 14px; }
.tel-card > a[href^="tel"] { display: block; font-family: var(--en); font-weight: 700; font-size: clamp(40px, 4.4vw, 56px); line-height: 1.1; text-decoration: none; color: #fff; margin: 6px 0 12px; }
.tel-card p { font-size: 14px; margin: 0 0 6px; }
.tel-note { opacity: .85; font-size: 12.5px !important; }
.tel-free { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(255, 255, 255, .25); display: grid; gap: 8px; font-weight: 700; font-size: 14.5px; }
.tel-free li { display: flex; align-items: center; gap: 10px; }
.tel-free svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--accent); color: var(--ink); }

/* ===== responsive ===== */
@media (max-width: 1080px) {
  .hero-badge { top: auto; bottom: 130px; transform: none; width: 140px; }
  .hero-scroll { display: none; }
  .about-g, .shop-g, .split, .greet, .contact-g, .ba-g, .svc-g, .season-body { grid-template-columns: 1fr; }
  .svc.rev .svc-ph { order: 0; }
  .nums-g { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .num:nth-child(3) { border: 0; }
  .cases { grid-template-columns: 1fr 1fr; }
  .flow { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .flow::before { display: none; }
  .svc-nav { grid-template-columns: 1fr 1fr; }
  .tel-card { position: static; }
  .greet .ph { aspect-ratio: 16/10; }
  .panels { flex-direction: column; height: auto; }
  .panel, .panels:hover .panel, .panels .panel:hover { flex: none; height: 300px; }
  .panel-b p { max-height: 120px; opacity: .92; margin: 6px 0 14px; }
}
@media (max-width: 720px) {
  .hero { min-height: 620px; }
  .hero-in { justify-content: flex-end; padding-bottom: 170px; }
  .hero-h { font-size: clamp(32px, 9.4vw, 54px); letter-spacing: .02em; }
  .hero-sub br { display: none; }
  .hero-badge { right: 14px; top: calc(var(--hd) + 14px); bottom: auto; width: 116px; }
  .hero-badge .ring text { font-size: 14px; }
  .hero-badge .core small, .hero-badge .core em { font-size: 8px; letter-spacing: 0; }
  .hero-badge .core b { font-size: 24px; }
  .hero-btns .btn { padding: 15px 22px; font-size: 14px; }
  .hero-pager { bottom: 130px; }
  .about-ph { height: 380px; }
  .sticker { width: 112px; height: 112px; font-size: 11px; }
  .sticker b { font-size: 28px; }
  .nums { padding: 44px 0; }
  .num { padding: 4px 12px; }
  .num b { font-size: 48px; }
  .num b i { font-size: 14px; }
  .num p { font-size: 11.5px; }
  .cases { grid-template-columns: 1fr; gap: 12px; }
  .case { display: grid; grid-template-columns: 52px 1fr; gap: 0 14px; padding: 20px; }
  .case-ic { width: 52px; height: 52px; grid-row: span 3; margin: 0; }
  .case-biz { flex-wrap: wrap; }
  .case-biz a { margin-left: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow li { display: grid; grid-template-columns: 76px 1fr; gap: 0 16px; text-align: left; padding: 0; }
  .flow li::before { width: 76px; height: 76px; font-size: 15px; margin: 0; grid-row: span 2; }
  .season-tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .season-tabs button { min-width: 0; padding: 10px 4px 8px; }
  .season-tabs b { font-size: 22px; }
  .season-tabs small { font-size: 10px; }
  .ig-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .svc-nav { grid-template-columns: 1fr; }
  .svc-no { top: -44px; }
  .ex-grid { grid-template-columns: 1fr 1fr; }
  .steps { padding-left: 0; }
  .steps::before, .steps::after { left: 14px; }
  .step { grid-template-columns: 32px 1fr; gap: 12px; }
  .step > div { padding: 18px; }
  .form-2 { grid-template-columns: 1fr; }
  .ba-bar span { width: 52px; height: 52px; margin: -26px 0 0 -26px; }
}
