/* 모두의곤충 사이트 스타일 — v2: 캔바 일러스트안 (2026-10-01)
   B안(modoogon)의 구조·메뉴는 그대로, 겉모습만 캔바 AI 일러스트 그림체(크림·진초록·세이지·겨자·주황)에 맞춤.
   배경색 --bg 는 그림 바탕색(#fff7e6)과 같아야 그림 테두리가 안 보인다 */
@import url("https://cdn.jsdelivr.net/gh/sun-typeface/SUIT@2/fonts/static/woff2/SUIT.css");
@import url("https://cdn.jsdelivr.net/gh/webfontworld/gmarket/GmarketSans.css");
:root {
  --bg: #fff7e6; --card: #ffffff; --ink: #1f2d22; --sub: #5a6650; --line: #eadfc6;
  --green: #1f4d33; --green-2: #2f6b45; --sage: #dcebc7; --lime: #c9dfae; --yellow: #f2b632;
  --cta: #e8742c; --cta-d: #c25a18;
  --p-green: #e6f0d9; --p-orange: #fde8d6; --p-pink: #f8e3d8; --p-blue: #e9efe0; --p-yellow: #fdf0c8;
  --wrap: 1180px; --r: 22px;
  --display: "GmarketSans", "SUIT", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "SUIT", "Malgun Gothic", sans-serif; color: var(--ink); background: var(--bg); font-size: 16px; line-height: 1.7; word-break: keep-all; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
.tbd { background: #fff1c2; color: #7a5200; border-radius: 6px; padding: 0 5px; font-size: .92em; font-family: "SUIT", sans-serif; }
.draft { background: var(--ink); color: #fff; text-align: center; font-size: 13px; padding: 6px 12px; }
.note { color: var(--sub); font-size: 14px; }

/* ── 머리 ── */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,247,230,.94); backdrop-filter: blur(8px); transition: box-shadow .2s; }
.hd.scrolled { box-shadow: 0 6px 20px rgba(35,48,26,.08); }
.hd-in { display: flex; align-items: center; gap: 24px; height: 78px; }
.logo img { display: block; height: 48px; width: auto; }
.nav { flex: 1; }
.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; justify-content: center; }
.nav-i { position: relative; }
.nav-a { display: block; padding: 10px 16px; margin: 17px 0; border-radius: 999px; font-weight: 700; font-size: 16px; }
.nav-i:hover > .nav-a { background: var(--p-green); }
.nav-i.is-on > .nav-a { background: var(--green); color: #fff; }
.dd { position: absolute; top: calc(100% - 10px); left: 50%; transform: translateX(-50%); min-width: 190px; background: #fff; border-radius: 18px; box-shadow: 0 14px 34px rgba(35,48,26,.14); padding: 10px; opacity: 0; visibility: hidden; transition: opacity .15s; }
.dd ul { list-style: none; margin: 0; padding: 0; }
.dd a { display: block; padding: 8px 12px; border-radius: 12px; font-size: 15px; white-space: nowrap; }
.dd a:hover { background: var(--p-green); color: var(--green); }
.nav-i:hover .dd, .nav-i:focus-within .dd, .hd-cta:hover .dd, .hd-cta:focus-within .dd { opacity: 1; visibility: visible; }
.hd-cta { position: relative; }
.dd-r { left: auto; right: 0; transform: none; min-width: 160px; }
.btn-cta { display: inline-block; background: var(--cta); color: #fff; font-weight: 900; border-radius: 999px; padding: 11px 24px; font-size: 16px; box-shadow: 0 4px 0 var(--cta-d); transition: transform .12s, box-shadow .12s; }
.btn-cta:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--cta-d); }
.btn-line { display: inline-block; border: 3px solid currentColor; border-radius: 999px; padding: 9px 22px; font-weight: 900; }
.big { padding: 14px 30px; font-size: 18px; }
.burger { display: none; margin-left: auto; background: var(--p-green); border: 0; border-radius: 14px; width: 46px; height: 46px; padding: 11px; cursor: pointer; }
.burger span { display: block; height: 3px; border-radius: 2px; background: var(--green); margin: 5px 0; }
.drawer { background: #fff; border-radius: 0 0 24px 24px; max-height: calc(100vh - 70px); overflow: auto; box-shadow: 0 16px 30px rgba(35,48,26,.12); }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer > ul { padding: 8px 22px 90px; }
.drawer .dr-top { display: block; font-family: var(--display); font-size: 20px; color: var(--green); padding: 14px 0 4px; }
.drawer ul ul a { display: block; padding: 6px 12px; color: var(--sub); }

/* ── 첫 화면: 왼쪽 글, 오른쪽 캔바 일러스트 ── */
.hero { padding: 18px 0 0; }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 28px; }
.hero-txt { order: -1; }
.hero-art { position: relative; }
.hero-art::before { content: ""; position: absolute; inset: 8% -4% -2% 10%; background: var(--yellow); opacity: .18; border-radius: 48% 52% 44% 56% / 55% 42% 58% 45%; z-index: -1; }
.hero-img { display: block; width: 100%; height: auto; animation: bob 6s ease-in-out infinite; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--sage); color: var(--green); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 14px; margin: 0 0 18px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--cta); animation: pulse 2s infinite; }
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.2; margin: 0 0 16px; color: var(--green); }
.hero h1 span { color: var(--cta); }
.hero .lead { font-size: 17.5px; color: var(--sub); margin: 0 0 26px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-btns .btn-line { color: var(--green); }
.hero-tel { margin: 18px 0 0; color: var(--sub); } .hero-tel a { font-weight: 900; color: var(--green); }
.hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; }
.hero-chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 14px; }
.hero-chips b { color: var(--cta); margin-right: 4px; }
/* 순차 등장 (듀잇 참고) */
.fade-up { animation: fadeUp .65s ease both; }
.d1 { animation-delay: .1s; } .d2 { animation-delay: .2s; } .d3 { animation-delay: .3s; } .d4 { animation-delay: .4s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(232,116,44,.6); } 60% { box-shadow: 0 0 0 8px rgba(232,116,44,0); } }
.fade-in { animation: fadeIn .9s ease both .15s; }
@keyframes fadeIn { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .hero-img, .fade-up, .fade-in, .eyebrow::before { animation: none; } }

/* ── 섹션 ── */
.sec { padding-top: 60px; }
.sec-hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.sec-hd h2 { margin: 0; font-size: 32px; color: var(--green); }
.more { font-weight: 900; color: var(--green); }
.area-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.area { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); padding: 14px 14px 22px; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.area:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(31,77,51,.10); }
.area-img { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 16px; margin-bottom: 14px; }
.area b { display: block; font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--green); margin: 0 8px 4px; }
.area span { color: var(--sub); font-size: 14.5px; margin: 0 8px; flex: 1; }
.area em { font-style: normal; font-weight: 900; color: var(--cta); font-size: 14.5px; margin: 12px 8px 0; }
.story-band { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: center; background: var(--p-yellow); border-radius: 30px; padding: 22px 36px 22px 22px; }
.story-img { display: block; width: 100%; height: auto; border-radius: 22px; }
.story-band h2 { margin: 0 0 8px; font-size: 32px; color: var(--green); }
.story-band p { margin: 0 0 14px; font-size: 17px; }
.clients-line { font-size: 17px; background: var(--p-yellow); border-radius: var(--r); padding: 22px 26px; margin: 0; }
.cta-band { background: var(--green); color: #fff; text-align: center; padding: 56px 20px; margin: 70px 20px 0; border-radius: 36px; }
.cta-band h2 { margin: 0 0 8px; font-size: 32px; } .cta-band p { margin: 0 0 24px; color: #d5e6c8; }
.hero-btns.center { justify-content: center; }
.btn-line.light { color: #fff; }

/* ── FAQ ── */
.faq h2, .h2 { font-size: 30px; color: var(--green); margin: 0 0 14px; }
.faq details { background: #fff; border-radius: 18px; margin-bottom: 10px; box-shadow: 0 2px 0 var(--line); }
.faq summary { cursor: pointer; padding: 16px 22px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 24px; line-height: 1; color: var(--cta); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 22px 18px; color: var(--sub); }

/* ── 하위 페이지 ── */
.phero { padding: 10px 0 0; }
.phero-in { display: flex; align-items: center; gap: 24px; border-radius: 30px; padding: 26px 30px 26px 40px; background: var(--sage); position: relative; overflow: hidden; }
.phero-txt { flex: 1; }
.phero-art { flex: none; width: 170px; height: 170px; border-radius: 50%; object-fit: cover; border: 6px solid var(--bg); }
.crumb { font-size: 14px; color: var(--sub); margin-bottom: 6px; }
.crumb a:hover { color: var(--green); }
.phero h1 { font-size: clamp(30px, 4.4vw, 44px); margin: 0 0 8px; color: var(--green); }
.lead-p { font-size: 17px; color: var(--ink); margin: 0; max-width: 780px; }
.tabs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.tabs a { display: block; background: #fff; border: 2px solid var(--line); border-radius: 999px; padding: 6px 16px; font-weight: 700; font-size: 15px; }
.tabs a:hover { border-color: var(--green-2); }
.tabs li.on a { background: var(--cta); border-color: var(--cta); color: #fff; }
.pbody { padding-top: 26px; padding-bottom: 20px; }
.pmain { max-width: 920px; }
.pmain > * + * { margin-top: 18px; }
.blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.block { border-radius: var(--r); padding: 22px 24px; display: block; transition: transform .15s; }
.block:nth-child(4n+1) { background: var(--p-green); } .block:nth-child(4n+2) { background: var(--p-orange); } .block:nth-child(4n+3) { background: var(--p-pink); } .block:nth-child(4n) { background: var(--p-blue); }
.block:hover { transform: translateY(-3px); }
.block b { display: block; font-family: var(--display); font-size: 22px; font-weight: 700; }
.block span { color: var(--sub); font-size: 14.5px; }
.block.has-art { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-content: center; padding: 14px 20px 14px 14px; }
.block-img { grid-row: 1 / span 2; width: 96px; height: 96px; object-fit: cover; object-position: center 30%; border-radius: 16px; background: var(--bg); }
.block.has-art b { align-self: end; }
/* 본문 부품: 한눈에 보기 표, 진행 순서, 주제 카드 */
.pmain .h2 { font-size: 26px; margin: 34px 0 12px; }
.pmain > p, .pmain > .h2 + p { font-size: 16.5px; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.facts div { padding: 14px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: -1px -1px 0 0; }
.facts dt { font-size: 13px; font-weight: 700; color: var(--cta); margin-bottom: 2px; }
.facts dd { margin: 0; font-weight: 600; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.steps b { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 17px; color: var(--green); }
.steps b span { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--cta); color: #fff; font-size: 14px; display: grid; place-items: center; }
.steps p { margin: 8px 0 0; font-size: 14.5px; color: var(--sub); }
.topics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.topics article { background: var(--p-green); border-radius: var(--r); padding: 18px 20px; }
.topics article:nth-child(4n+2), .topics article:nth-child(4n+3) { background: var(--p-orange); }
.topics h3 { margin: 0 0 6px; font-size: 18px; color: var(--green); }
.topics p { margin: 0; font-size: 14.5px; color: var(--sub); }
.pmain .faq { margin-top: 34px; }
.pmain .faq h2 { font-size: 26px; }
/* 이야기 목록·글, 표 */
.story-list { display: grid; gap: 14px; }
.story-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; transition: border-color .15s, transform .15s; }
.story-card.has-art { display: grid; grid-template-columns: 120px 1fr; column-gap: 20px; align-items: start; }
.story-card.has-art > :not(.story-img) { grid-column: 2; }
.story-card .tag { justify-self: start; }
.story-img { grid-row: 1 / span 4; width: 120px; height: 120px; object-fit: cover; border-radius: 16px; }
.story-card:hover { border-color: var(--cta); transform: translateY(-2px); }
.story-card h3 { margin: 6px 0 6px; font-size: 19px; line-height: 1.45; color: var(--green); }
.story-card p { margin: 0 0 8px; color: var(--sub); font-size: 15px; }
.story-card small { color: var(--sub); }
.tag { display: inline-block; background: var(--p-green); color: var(--green); border-radius: 999px; padding: 2px 12px; font-size: 13px; font-weight: 700; }
.story-meta { color: var(--sub); margin: 0; }
.table-wrap { overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r); overflow: hidden; font-size: 15px; }
.tbl th, .tbl td { border-bottom: 1px solid var(--line); padding: 12px 16px; text-align: left; vertical-align: top; }
.tbl th { background: var(--p-green); color: var(--green); white-space: nowrap; font-weight: 700; }
.tbl tbody th { width: 130px; }
.info { display: grid; grid-template-columns: 90px 1fr; gap: 8px 12px; background: #fff; border-radius: var(--r); padding: 18px 22px; margin: 0; }
.info dt { font-weight: 700; color: var(--green); } .info dd { margin: 0; }
.scene { margin: 0; }
.scene img { display: block; width: 100%; height: auto; border-radius: var(--r); background: var(--sage); }
.scene figcaption { margin-top: 8px; font-size: 14px; color: var(--sub); text-align: center; }
.plan { background: #fff; border: 3px dashed var(--lime); border-radius: var(--r); padding: 20px 24px; }
.plan b { display: block; font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--green); margin-bottom: 6px; }
.plan ul { margin: 0; padding-left: 20px; } .plan li { margin: 4px 0; }
.cta-inline { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; background: var(--p-orange); border-radius: var(--r); padding: 20px 24px; }
.cta-inline p { margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checks li { background: #fff; border-radius: 14px; padding: 10px 16px; }
.checks a { color: var(--green); font-weight: 700; }
.empty { background: #fff; border-radius: var(--r); padding: 40px; text-align: center; color: var(--sub); }

/* ── 문의 ── */
.contact { display: grid; grid-template-columns: 300px 1fr; gap: 20px; }
.c-info { background: var(--green); color: #fff; border-radius: var(--r); padding: 26px; align-self: start; }
.c-info h2 { margin: 0 0 4px; font-size: 24px; }
.c-info dl { display: grid; grid-template-columns: 64px 1fr; gap: 10px; margin: 18px 0 0; }
.c-info dt { color: #cfe6bd; } .c-info dd { margin: 0; } .c-info a { text-decoration: underline; }
.form { background: #fff; border-radius: var(--r); padding: 26px; display: grid; gap: 16px; box-shadow: 0 3px 0 var(--line); }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14.5px; }
.form label i { color: var(--cta); font-style: normal; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green-2); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form fieldset { border: 0; padding: 0; margin: 0; } .form legend { font-weight: 700; font-size: 14.5px; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex !important; } .chip input { position: absolute; opacity: 0; }
.chip span { border: 2px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; cursor: pointer; }
.chip input:checked + span { background: var(--green); border-color: var(--green); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--lime); }
.hp { position: absolute; left: -9999px; }
.consent { background: var(--p-yellow); border-radius: 16px; padding: 14px 16px; }
.consent label { display: flex !important; align-items: center; gap: 8px; } .consent p { margin: 6px 0 0; font-size: 13px; color: var(--sub); }
.form-msg { margin: 0; color: var(--cta-d); font-weight: 700; min-height: 1em; }

/* ── 바닥 ── */
.ft { background: #173b27; color: #cfe0c0; padding: 44px 0 110px; margin-top: 60px; border-radius: 36px 36px 0 0; font-size: 14px; }
.ft-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.ft-top img { height: 48px; width: auto; }
.ft-top nav { display: flex; gap: 18px; flex-wrap: wrap; }
.ft-top nav a:hover { color: #fff; }
.ft-info { line-height: 1.9; margin: 0 0 12px; }
.ft .tbd { background: #4a4230; color: #ffe39a; }
.ft-copy { color: #93a887; margin: 0; }
.vt { margin: 14px 0 0; }
.vt a { display: none; border: 2px solid #4d6a45; border-radius: 999px; padding: 6px 16px; color: #dcefcc; font-size: 14px; }
.is-pc .vt .vt-m { display: inline-block; }
@media (max-width: 1080px) { html:not(.is-pc) .vt .vt-pc { display: inline-block; } }

/* ── 카카오·모바일 바 ── */
.kakao { position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 78px; height: 78px; border-radius: 26px; background: #fee500; color: #191919; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 5px 0 #d4be00; font-size: 11.5px; font-weight: 900; line-height: 1.2; text-align: center; }
.kakao svg { width: 26px; height: 26px; fill: #191919; margin-bottom: 2px; }
.mbar { display: none; }

@media (max-width: 1080px) {
  .nav, .hd-cta { display: none; }
  .burger { display: block; }
  .hd-in { height: 66px; }
  .logo img { height: 40px; }
  .area-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-in { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; margin: 0 auto; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .area-grid, .blocks, .row2, .topics { grid-template-columns: 1fr; }
  .story-card { padding: 16px 18px; }
  .story-card.has-art { grid-template-columns: 80px 1fr; column-gap: 14px; }
  .story-img { width: 80px; height: 80px; }
  .pmain .h2, .pmain .faq h2 { font-size: 22px; }
  .area { display: grid; grid-template-columns: 96px 1fr; column-gap: 14px; align-content: start; padding: 12px; }
  .area-img { grid-row: 1 / span 3; width: 96px; margin: 0; border-radius: 12px; }
  .area b { font-size: 19px; margin: 2px 0 2px; } .area span { margin: 0; font-size: 14px; } .area em { margin: 6px 0 0; font-size: 14px; }
  .story-band { grid-template-columns: 1fr; padding: 18px 18px 24px; gap: 16px; }
  .story-img { max-width: 260px; }
  .phero-in { padding: 22px; }
  .phero-art { width: 96px; height: 96px; border-width: 4px; align-self: flex-start; }
  .sec-hd h2, .cta-band h2 { font-size: 26px; }
  .cta-band { margin-inline: 12px; }
  .kakao { display: none; }
  .mbar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 2px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mbar a { text-align: center; padding: 14px 4px; font-weight: 900; font-size: 15px; }
  .mbar a:nth-child(2) { background: #fee500; }
  .mbar a.on { background: var(--cta); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { *, *::before { animation: none !important; transition: none !important; } }

/* ════ 인터랙티브 (2026-10-03) ════ */
/* 1) 첫 화면 곤충: 나비 2마리가 그림 위를 날고, 무당벌레가 기어감. 마우스를 대면 놀라서 휙 */
.bugs { position: absolute; inset: 0; pointer-events: none; }
.bug { position: absolute; display: block; pointer-events: auto; cursor: pointer; transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .4s; }
.bug svg { display: block; width: 100%; height: auto; overflow: visible; }
.bug .wing { transform-box: fill-box; }
.bug .wing.l { transform-origin: right center; animation: flapL .32s ease-in-out infinite alternate; }
.bug .wing.r { transform-origin: left center; animation: flapR .32s ease-in-out infinite alternate; }
@keyframes flapL { to { transform: scaleX(.35); } } @keyframes flapR { to { transform: scaleX(.35); } }
.b1 { width: 76px; left: 8%; top: 14%; animation: fly1 14s ease-in-out infinite; }
.b2 { width: 58px; left: 70%; top: 58%; animation: fly2 17s ease-in-out infinite; }
.b2 .wing { animation-duration: .26s; }
.b3 { width: 36px; left: 46%; top: 80%; animation: crawl 20s linear infinite; }
@keyframes fly1 { 0%,100% { translate: 0 0; rotate: -8deg; } 25% { translate: 120px -30px; rotate: 10deg; } 50% { translate: 220px 40px; rotate: -6deg; } 75% { translate: 90px 70px; rotate: 6deg; } }
@keyframes fly2 { 0%,100% { translate: 0 0; rotate: 6deg; } 30% { translate: -140px -60px; rotate: -10deg; } 60% { translate: -60px -140px; rotate: 8deg; } 80% { translate: 40px -50px; rotate: -4deg; } }
@keyframes crawl { 0% { translate: 0 0; rotate: 90deg; } 45% { translate: 160px -10px; rotate: 90deg; } 50% { translate: 160px -10px; rotate: 270deg; } 95% { translate: 0 0; rotate: 270deg; } 100% { translate: 0 0; rotate: 450deg; } }
.bug.flee { transform: translate(var(--fx, 160px), var(--fy, -160px)) scale(.6); opacity: 0; }
/* 2) 스크롤하면 떠오름 */
.rv { opacity: 0; translate: 0 26px; transition: opacity .7s cubic-bezier(.2,.8,.2,1), translate .7s cubic-bezier(.34,1.4,.64,1); }
.rv.in { opacity: 1; translate: 0 0; }
/* 3) 숫자로 보는 모두의곤충 */
.mstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.mstat { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 20px; transition: transform .15s, box-shadow .15s; }
.mstat:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(31,77,51,.10); }
.mstat b { display: block; font-family: var(--display); font-weight: 700; color: var(--green); font-size: 44px; line-height: 1.1; }
.mstat b .count { font-style: normal; } .mstat b small { font-size: 18px; color: var(--sub); margin: 0 2px; }
.mstat span { display: block; margin-top: 8px; color: var(--sub); font-size: 14.5px; }
.mstat-go { margin: 12px 0 0; color: var(--cta); font-weight: 700; font-size: 15px; }
/* 4) 카드 그림이 꼼지락 */
.area:hover .area-img, .area:focus-visible .area-img, .block.has-art:hover .block-img, .story-card.has-art:hover .story-img { animation: wiggle .6s ease-in-out; }
@keyframes wiggle { 0%,100% { transform: rotate(0) scale(1); } 20% { transform: rotate(-3deg) scale(1.03); } 45% { transform: rotate(3deg) scale(1.04); } 70% { transform: rotate(-2deg) scale(1.02); } }

/* ── 한살이 바퀴 (메인) ── */
.wheel-sec { text-align: center; background: var(--p-green); border-radius: 30px; padding: 44px 20px 36px; }
.wheel-sec > h2 { color: var(--green); font-size: clamp(26px, 4vw, 34px); margin: 0 0 6px; }
.wheel-sec > p.sub { color: var(--sub); margin: 0 0 22px; }
.wheel { position: relative; width: min(88vw, 600px); aspect-ratio: 1; margin: 0 auto; }
.wheel .ring { position: absolute; inset: 9%; border: 3px dashed #c9dfae; border-radius: 50%; }
.wheel .node { position: absolute; width: 21%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--bg); border: 4px solid #fff; overflow: hidden; cursor: pointer; padding: 0; transition: border-color .3s, transform .4s cubic-bezier(.2,.9,.3,1.3), box-shadow .3s; }
.wheel .node img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wheel .node.on { border-color: var(--cta); transform: translate(-50%, -50%) scale(1.14); box-shadow: 0 10px 26px rgba(232,116,44,.35); z-index: 2; }
.wheel .node span { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; white-space: nowrap; }
.wheel .verb { position: absolute; transform: translate(-50%, -50%); background: #fff; color: var(--cta); border: 2px solid #f6d3b9; font-family: var(--display); font-weight: 700; font-size: clamp(12px, 1.8vw, 16px); padding: 4px 12px 2px; border-radius: 99px; transition: background .3s, color .3s, transform .3s; white-space: nowrap; }
.wheel .verb.on { background: var(--cta); color: #fff; border-color: var(--cta); transform: translate(-50%, -50%) scale(1.25); }
.wheel .center { position: absolute; left: 50%; top: 50%; width: 40%; transform: translate(-50%, -50%); }
.wheel .center .pic { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--bg); box-shadow: 0 0 0 6px #fff; }
.wheel .center .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s; }
.wheel .center .pic img.on { opacity: 1; }
.wheel .ctag { position: absolute; left: 50%; bottom: -6%; transform: translateX(-50%); background: var(--green); color: #fff; font-family: var(--display); font-weight: 700; font-size: clamp(14px, 2.2vw, 19px); border-radius: 999px; padding: 6px 18px 4px; white-space: nowrap; box-shadow: 0 6px 16px rgba(31,77,51,.25); transition: opacity .25s; z-index: 1; }
.wheel-info { max-width: 520px; margin: 26px auto 0; min-height: 120px; }
.wheel-info h3 { color: var(--green); font-size: 26px; margin: 0 0 6px; }
.wheel-info p { margin: 0; font-size: 16.5px; }
.wheel-info .swap { transition: opacity .3s; } .wheel-info .swap.out { opacity: 0; }
.wheel-ctrl { display: inline-flex; gap: 8px; margin-top: 16px; }
.wheel-ctrl button { font: inherit; font-weight: 700; border: 2px solid var(--green); background: #fff; color: var(--green); border-radius: 99px; padding: 6px 16px; cursor: pointer; }
.wheel-ctrl button:hover { background: var(--green); color: #fff; }
.w-go { margin: 22px 0 0; }

/* ── 한살이 스크롤 장면 (곤충 생태 페이지). 머리 메뉴(78px) 아래에 붙음 ── */
.lc { position: relative; margin: 10px 0 30px; }
.lc-stage { position: sticky; top: 78px; height: calc(100vh - 78px); display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 30px; padding: 10px 0 110px; }
.lc-pics { position: relative; aspect-ratio: 1; width: min(100%, 60vh); justify-self: center; }
.lc-pics img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; transform: scale(.96); transition: opacity .5s ease, transform .6s ease; }
.lc-pics img.on { opacity: 1; transform: none; }
.lc-tag { position: absolute; left: 50%; bottom: 2%; transform: translateX(-50%); z-index: 1; background: var(--green); color: #fff; font-family: var(--display); font-weight: 700; font-size: 18px; border-radius: 999px; padding: 7px 20px 5px; white-space: nowrap; transition: opacity .3s; }
.lc-word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.85); opacity: 0; pointer-events: none; text-align: center; transition: opacity .35s, transform .45s cubic-bezier(.2,.9,.3,1.3); z-index: 2; }
.lc-word.on { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.lc-word b { display: block; font-family: var(--display); font-weight: 700; font-size: clamp(44px, 7vw, 84px); line-height: 1; color: #fff; background: var(--cta); border-radius: 24px; padding: 14px 28px 10px; box-shadow: 0 16px 34px rgba(232,116,44,.35); }
.lc-word span { display: inline-block; margin-top: 10px; background: #fff; border-radius: 999px; padding: 5px 14px; font-weight: 700; color: var(--green); box-shadow: 0 6px 18px rgba(31,45,34,.12); }
.lc-text .count { font-family: var(--display); font-weight: 700; color: var(--cta); font-size: 14px; }
.lc-text .lc-name { color: var(--green); font-size: clamp(28px, 4vw, 42px); margin: 6px 0 10px; }
.lc-text p { font-size: 17px; margin: 0; }
.lc-text .swap { transition: opacity .35s, transform .35s; } .lc-text .swap.out { opacity: 0; transform: translateY(10px); }
.lc-bar { position: absolute; left: 10px; right: 10px; bottom: 50px; }
.lc-track { position: relative; height: 6px; background: var(--line); border-radius: 99px; }
.lc-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--cta); border-radius: 99px; }
.lc-dots { list-style: none; margin: 0; padding: 0; position: absolute; inset: -9px 0 auto; display: flex; justify-content: space-between; }
.lc-dots li { position: relative; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--line); transition: border-color .3s, background .3s; }
.lc-dots li.done { border-color: var(--cta); background: var(--cta); }
.lc-dots li em { position: absolute; top: 28px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-size: 12.5px; font-weight: 700; color: var(--sub); }
.lc-dots li.now em { color: var(--green); }
.lc-dots li i { position: absolute; bottom: 28px; left: calc(50% + 22px); white-space: nowrap; font-style: normal; font-size: 12px; color: var(--cta); font-weight: 700; }
.lc-dots li:last-child i { display: none; }
.lc-static { display: none; }
@media (max-width: 1080px) { .lc-stage { top: 66px; height: calc(100vh - 66px); } .mstats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .lc-stage { grid-template-columns: 1fr; gap: 6px; align-content: center; padding-bottom: 96px; text-align: center; }
  .lc-pics { width: min(100%, 40vh); } .lc-text p { font-size: 15.5px; }
  .lc-dots li em { font-size: 10px; } .lc-dots li i { display: none; } .lc-dots li { width: 18px; height: 18px; } .lc-dots { inset: -6px 0 auto; }
  .wheel .node span { font-size: 9px; padding: 1px 5px; } .wheel .verb { padding: 2px 7px 1px; }
  .mstat b { font-size: 34px; } .b1 { width: 52px; } .b2 { width: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .bug, .bug .wing { animation: none !important; } .rv { opacity: 1; translate: 0 0; transition: none; }
  .area:hover .area-img, .block.has-art:hover .block-img, .story-card.has-art:hover .story-img { animation: none; }
  .lc { display: none; } .lc-static { display: block; }
}
.lc-static { background: #fff; border-radius: var(--r); padding: 18px 22px 18px 40px; } .lc-static li { margin: 6px 0; } .lc-static i { color: var(--cta); font-style: normal; font-weight: 700; }

#lifecycle { scroll-margin-top: 96px; }

/* 실제 사진 */
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; }
.photos figure { margin: 0; }
.photos img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); background: var(--sage); }
.photos figcaption { margin-top: 6px; font-size: 13.5px; color: var(--sub); text-align: center; }
@media (max-width: 720px) { .photos { grid-template-columns: 1fr; } }

/* 교육기관 맞춤형 핵심 프로그램 (2026-10-19) */
.core-sec .sec-lead { margin: -6px 0 18px; color: var(--sub); }
.core-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.core { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 2px solid var(--line, #e5dcc4); border-radius: 22px; padding: 22px 22px 18px; color: var(--ink, #1f2d22); transition: transform .15s, box-shadow .15s, border-color .15s; }
.core:hover, .core:focus-visible { transform: translateY(-4px); border-color: var(--green); box-shadow: 0 12px 26px rgba(31,77,51,.14); }
.core-tag { align-self: flex-start; font-size: 12.5px; font-weight: 800; color: var(--green); background: var(--sage); border-radius: 999px; padding: 4px 11px; }
.core b { font-size: 21px; line-height: 1.35; }
.core em { font-style: normal; font-weight: 700; color: var(--cta-d); font-size: 14.5px; }
.core p { margin: 2px 0 6px; color: var(--sub); font-size: 15px; line-height: 1.65; }
.core dl { margin: 0; border-top: 1px dashed var(--line, #e5dcc4); padding-top: 10px; display: grid; gap: 6px; }
.core dl div { display: flex; gap: 10px; font-size: 14px; }
.core dt { flex: none; width: 70px; color: var(--sub); }
.core dd { margin: 0; font-weight: 700; }
.core-go { margin-top: auto; padding-top: 10px; font-weight: 800; color: var(--green); }
@media (max-width: 900px) { .core-grid { grid-template-columns: 1fr; } }

/* 두 축: 전시 / 교육 (2026-10-19) */
.core-sec h2 .ax-ex { color: var(--cta); } .core-sec h2 .ax-ed { color: var(--green-2); }
.axes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.axis { border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.ax-exhibit { background: #fdebd9; border: 2px solid #f4c7a1; }
.ax-edu { background: #e3f0d6; border: 2px solid #c3dca8; }
.axis-hd { display: flex; align-items: center; gap: 14px; }
.axis-no { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; color: #fff; font-family: "GmarketSans", "SUIT", sans-serif; font-weight: 900; font-size: 19px; }
.ax-exhibit .axis-no { background: var(--cta); } .ax-edu .axis-no { background: var(--green); }
.axis-hd b { display: block; font-size: 21px; line-height: 1.3; }
.axis-hd small { color: var(--sub); font-size: 14.5px; }
.axis-cards { display: grid; gap: 14px; }
.axis .core { border-color: transparent; }
.ax-exhibit .core-tag { background: #ffe1c7; color: var(--cta-d); }
.ax-exhibit .core:hover { border-color: var(--cta); }
.axis-all { align-self: flex-end; font-weight: 800; color: var(--green); }
.ax-exhibit .axis-all { color: var(--cta-d); }
@media (max-width: 900px) { .axes { grid-template-columns: 1fr; } }

/* 첫 화면: 전시 ↔ 융복합 그림 바뀜 (2026-10-19) */
.hero-swap { position: relative; aspect-ratio: 4 / 3; max-width: 600px; margin: 0 auto; border-radius: 36px; overflow: hidden; box-shadow: 0 18px 40px rgba(31,77,51,.18); }
.hero-swap .hs { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: none; opacity: 0; transition: opacity .6s ease; }
.hero-swap .hs.on { opacity: 1; }
.hero-swap .hs { border-radius: 36px; }
.hero h1 .rot { display: inline-block; transition: opacity .35s, transform .35s; }
.hero h1 .rot.out { opacity: 0; transform: translateY(-14px); }
.hero h1 .rot.pre { opacity: 0; transform: translateY(14px); transition: none; }
@media (prefers-reduced-motion: reduce) { .hero-swap .hs { transition: none; } }

/* 찾아간 현장 기록 (2026-10-19) */
.cases-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.cases-hd .sec-lead { margin: 4px 0 0; color: var(--sub); }
.case-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.case-tab { font: inherit; font-weight: 800; font-size: 14.5px; border: 2px solid var(--line); background: #fff; color: var(--ink); border-radius: 999px; padding: 7px 15px; cursor: pointer; }
.case-tab.on { background: var(--green); border-color: var(--green); color: #fff; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.case { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; border: 2px solid var(--line); color: var(--ink); transition: transform .15s, box-shadow .15s; }
.case[hidden] { display: none; }
.case:hover, .case:focus-visible { transform: translateY(-4px); box-shadow: 0 12px 26px rgba(31,77,51,.14); }
.case-img { position: relative; display: block; }
.case-img img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.case-img em { position: absolute; top: 12px; left: 12px; font-style: normal; font-size: 12.5px; font-weight: 800; color: #fff; background: var(--green); border-radius: 8px; padding: 4px 9px; }
.case small { padding: 14px 18px 0; color: var(--green-2); font-weight: 700; font-size: 13.5px; }
.case b { padding: 4px 18px 0; font-size: 18.5px; line-height: 1.4; }
.case p { padding: 6px 18px 0; margin: 0; color: var(--sub); font-size: 14.5px; line-height: 1.6; }
.case-k { margin: auto 18px 18px; padding: 10px 14px; margin-top: 14px; display: flex; justify-content: space-between; gap: 10px; background: var(--p-green, #eef6e6); border-radius: 12px; font-size: 14px; }
.case-k i { font-style: normal; color: var(--sub); }
.case-k strong { color: var(--green); }
@media (max-width: 960px) { .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .case-grid { grid-template-columns: 1fr; } }

/* 민간자격 안내 상자 (2026-10-19) */
.legal { margin: 28px 0 8px; padding: 18px 20px; background: #fff; border: 2px dashed var(--line); border-radius: var(--r); font-size: 14.5px; color: var(--sub); }
.legal b { color: var(--ink); }
.legal ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.7; }

/* 홈 버튼 (2026-10-19) */
.nav-home > .nav-a { display: flex; align-items: center; padding-left: 10px; padding-right: 10px; color: var(--sub); }
.nav-home > .nav-a svg { display: block; }
.nav-home > .nav-a:hover { color: var(--green); }
.nav-home.is-on > .nav-a { color: #fff; }

/* 자료실 한살이 목록: 스크롤 장면 없이 항상 보이게 (2026-10-19) */
.lc-static.lc-list { display: block; }

/* 메인 자료실 안내 (2026-10-19) */
.res-band { background: var(--p-green, #eef6e6); }
.res-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.res-pics img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22px; background: #fff; }
.res-links { display: flex; flex-wrap: wrap; gap: 10px; }
.res-links .btn-line { color: var(--green); }

/* 대형 행사 곤충관 위탁 운영 (2026-10-19) */
.big-card { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: center; background: #fff; border-radius: 26px; padding: 20px; border: 2px solid var(--line, #e5dcc4); }
.big-card img { display: block; width: 100%; height: auto; border-radius: 18px; }
.big-tag { display: inline-block; font-size: 13px; font-weight: 800; color: var(--cta-d, #b5530f); background: #fdebd9; border-radius: 999px; padding: 4px 12px; margin: 0 0 10px; }
.big-card h2 { font-size: 24px; margin: 0 0 10px; line-height: 1.35; }
.big-card p { color: var(--sub); font-size: 15.5px; line-height: 1.7; margin: 0 0 12px; }
.big-links { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
@media (max-width: 760px) { .big-card { grid-template-columns: 1fr; } }

/* 마우스 따라다니는 곤충 아이콘 (2026-10-19) */
.cursor-bug { position: fixed; left: 0; top: 0; width: 44px; height: 44px; pointer-events: none; z-index: 9999; opacity: 0; transition: opacity .25s; will-change: transform; }
.cursor-bug.on { opacity: .9; }
.cursor-bug svg { display: block; }
.cursor-bug.flap svg { animation: cbWing .5s ease-in-out infinite alternate; }
@keyframes cbWing { from { transform: scaleX(1); } to { transform: scaleX(.85); } }

/* 교육·전시 카드 사진 (2026-10-19) */
.core-img { display: block; width: calc(100% + 44px); max-width: none; margin: -22px -22px 8px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px 22px 0 0; }
.core { padding-top: 0; }
.core-img + .core-tag { margin-top: 14px; }

.cursor-dust { position: fixed; left: 0; top: 0; pointer-events: none; z-index: 9998; }

/* 진행 절차 · 다시 부르는 기관 (2026-10-19) */
.steps6 { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; counter-reset: s6; }
.steps6 li { background: #fff; border-radius: 20px; padding: 18px 16px; border: 2px solid var(--line, #e5dcc4); }
.s6-no { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--green, #1f4d33); color: #fff; font-weight: 900; font-size: 14px; margin-bottom: 10px; }
.steps6 b { display: block; font-size: 16px; margin-bottom: 6px; }
.steps6 p { margin: 0; color: var(--sub); font-size: 14px; line-height: 1.6; }
.again-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.again-card { background: #fff; border-radius: 22px; padding: 22px; border: 2px solid var(--line, #e5dcc4); display: flex; flex-direction: column; gap: 6px; }
.again-n { align-self: flex-start; font-size: 13px; font-weight: 800; color: var(--cta-d, #b5530f); background: #fdebd9; border-radius: 999px; padding: 4px 12px; }
.again-card b { font-size: 19px; }
.again-card em { font-style: normal; color: var(--sub); font-size: 14.5px; }
.again-card small { color: var(--green-2, #2e6b47); font-weight: 700; font-size: 13.5px; }
@media (max-width: 960px) { .steps6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .again-grid { grid-template-columns: 1fr; } }

/* 교육·전시 카드: 가로형 (이미지 왼쪽, 글 오른쪽) (2026-10-19) */
.axis .core { display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 0 18px; padding: 14px; align-items: start; }
.axis .core > *:not(.core-img) { grid-column: 2; min-width: 0; }
.axis .core .core-img { grid-column: 1; grid-row: 1 / span 12; display: block; width: 100%; height: 100%; min-height: 200px; max-width: none; margin: 0; aspect-ratio: auto; object-fit: cover; border-radius: 16px; }
.axis .core .core-tag { margin-top: 2px; }
.axis .core b { font-size: 18px; }
.axis .core p { font-size: 14px; }
.axis .core dl { font-size: 13px; }
.axis .core-go { font-size: 14px; }
@media (max-width: 640px) {
  .axis .core { grid-template-columns: 1fr; padding: 0 0 14px; }
  .axis .core > *:not(.core-img) { grid-column: 1; padding: 0 16px; }
  .axis .core .core-img { grid-column: 1; grid-row: auto; min-height: 0; aspect-ratio: 16 / 9; border-radius: 0; }
}
