/* 좋은터 사회적협동조합 — goodland1004.or.kr
   색은 좋은나무 CI(초록 #568c35 · 갈색 #5c3a1e · 청록 #8acbcb)에서 가져왔습니다. */
:root {
  --green: #568c35;
  --green-d: #426e27;
  --green-dd: #2f4f1b;
  --green-l: #eef4e6;
  --brown: #5c3a1e;
  --brown-d: #3e2714;
  --brown-l: #f4eee6;
  --teal: #8acbcb;
  --teal-d: #3d8686;
  --teal-l: #e9f5f5;
  --ink: #2b2219;
  --ink-2: #4b4036;
  --muted: #7b7064;
  --line: #e6dfd4;
  --line-2: #d6ccbd;
  --paper: #faf7f1;
  --r: 6px;
  --wrap: 1200px;
  --hh: 86px;
  --f-head: "NanumSquareRound", "Pretendard Variable", Pretendard, "Malgun Gothic", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  color: var(--ink); background: #fff; line-height: 1.7; font-size: 16px;
  word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased;
}
body.menu-lock { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--green-d); text-underline-offset: 3px; }
a:hover { color: var(--green-dd); }
h1, h2, h3, h4 { margin: 0; line-height: 1.35; letter-spacing: -0.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1em; height: 1em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 4px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; line-height: 1.3;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-d); color: #fff; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--green); color: var(--green-d); }
.btn-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-white:hover { background: #fff; color: var(--ink); }
.btn-brown { background: var(--brown); color: #fff; }
.btn-brown:hover { background: var(--brown-d); color: #fff; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: .93rem; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.more svg { width: 16px; height: 16px; }
.more:hover { color: var(--green-d); }
.arrow-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--green-d); text-decoration: none; }
.arrow-link svg { width: 18px; height: 18px; transition: transform .2s; }
.arrow-link:hover svg { transform: translateX(3px); }

/* ---------- top bar ---------- */
.topbar { background: var(--brown-d); color: rgba(255,246,232,.7); font-size: .8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 34px; }
.topbar-links { display: flex; gap: 20px; }
.topbar a { color: rgba(255,246,232,.9); text-decoration: none; font-weight: 600; letter-spacing: .02em; }
.topbar a:hover { color: #fff; }

/* ---------- header / gnb ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--hh); gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { width: 46px; height: 46px; }
.brand-text { font-family: var(--f-head); font-weight: 800; font-size: 1.22rem; color: var(--brown); letter-spacing: -0.02em; white-space: nowrap; }
.brand-text b { color: var(--green); font-weight: 800; }
.brand:hover .brand-text { color: var(--brown-d); }

.gnb { height: 100%; }
.gnb-list { display: flex; height: 100%; }
.gnb-item { position: relative; width: 176px; text-align: center; }
.gnb-link {
  display: flex; align-items: center; justify-content: center; height: var(--hh);
  font-weight: 700; font-size: 1.07rem; color: var(--ink); text-decoration: none; position: relative;
}
.gnb-link::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 3px; background: var(--green); transform: scaleX(0); transition: transform .2s; }
.gnb-item:hover .gnb-link, .gnb-item.active .gnb-link, .gnb-item:focus-within .gnb-link { color: var(--green-d); }
.gnb-item:hover .gnb-link::after, .gnb-item.active .gnb-link::after { transform: scaleX(1); }
.gnb-sub { display: none; position: absolute; top: var(--hh); left: 0; right: 0; padding: 16px 8px 20px; z-index: 2; }
.gnb-item + .gnb-item .gnb-sub { border-left: 1px solid var(--line); }
.site-header.gnb-open .gnb-sub { display: block; }
.gnb-sub a { display: block; padding: 7px 4px; color: var(--ink-2); text-decoration: none; font-size: .93rem; white-space: nowrap; }
.gnb-sub a:hover, .gnb-sub a[aria-current="page"] { color: var(--green-d); font-weight: 700; text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; }
.gnb-panel { display: none; position: absolute; left: 0; right: 0; top: 100%; height: 164px; background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 10px 18px rgba(62,39,20,.06); z-index: 1; }
.site-header.gnb-open .gnb-panel { display: block; }

.header-actions { display: flex; align-items: center; gap: 6px; flex: none; }
.btn-donate { display: inline-flex; align-items: center; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; padding: 10px 18px; border-radius: 4px; font-size: .95rem; }
.btn-donate:hover { background: var(--green-d); color: #fff; }
.menu-btn { display: none; border: 0; background: transparent; padding: 8px; margin-right: -8px; cursor: pointer; color: var(--ink); }
.menu-btn svg { width: 28px; height: 28px; }

@media (max-width: 1240px) { .gnb-item { width: 148px; } .gnb-sub a { font-size: .88rem; } }
@media (max-width: 1080px) {
  :root { --hh: 66px; }
  .gnb, .gnb-panel { display: none !important; }
  .menu-btn { display: block; }
  .brand img { width: 38px; height: 38px; }
  .brand-text { font-size: 1.06rem; }
}
@media (max-width: 480px) {
  .btn-donate { padding: 8px 12px; font-size: .86rem; }
  .brand-text { font-size: .98rem; }
  .topbar-inner > p:first-child { display: none; }
  .topbar-inner { justify-content: flex-end; }
}

/* ---------- mobile menu ---------- */
.mnav { position: fixed; inset: 0; z-index: 150; background: rgba(43,34,25,.5); }
.mnav[hidden] { display: none; }
.mnav-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: #fff; overflow-y: auto; display: flex; flex-direction: column; }
.mnav-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.mnav-head .brand-text { font-size: 1rem; }
.mnav-close { border: 0; background: transparent; padding: 6px; cursor: pointer; color: var(--ink); }
.mnav-close svg { width: 24px; height: 24px; }
.mnav-body { padding: 4px 18px; flex: 1; }
.mnav-group { padding: 14px 0; border-bottom: 1px solid var(--line); }
.mnav-title { font-family: var(--f-head); font-weight: 800; color: var(--brown); margin-bottom: 4px; }
.mnav-group a { display: block; padding: 8px 2px; color: var(--ink-2); text-decoration: none; }
.mnav-group a[aria-current="page"] { color: var(--green-d); font-weight: 700; }
.mnav-foot { display: grid; gap: 8px; padding: 16px 18px 24px; }

/* ---------- home: photo hero ---------- */
.hero { position: relative; height: 560px; background: var(--brown-d); color: #fff; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.is-active > img { animation: kenburns 7s ease-out both; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,24,12,.78) 0%, rgba(36,24,12,.55) 42%, rgba(36,24,12,.08) 78%); }
.slide-inner { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 40px; }
.slide-label { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: .95rem; color: #d7ecb9; }
.slide-label::before { content: ""; width: 28px; height: 2px; background: var(--teal); }
.slide-title { font-family: var(--f-head); font-weight: 800; font-size: clamp(2rem, 4.4vw, 3.3rem); line-height: 1.28; margin: 16px 0 16px; letter-spacing: -0.03em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.slide-desc { font-size: 1.1rem; color: rgba(255,255,255,.9); max-width: 30em; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.slide.is-active .slide-inner > * { animation: rise .8s both; }
.slide.is-active .slide-inner > *:nth-child(2) { animation-delay: .08s; }
.slide.is-active .slide-inner > *:nth-child(3) { animation-delay: .16s; }
.slide.is-active .slide-inner > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.photo-note { position: absolute; right: 20px; bottom: 14px; z-index: 2; font-size: .75rem; color: rgba(255,255,255,.7); }

.hero-controls { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 3; }
.hero-controls .wrap { display: flex; align-items: center; gap: 12px; }
.hero-count { font-weight: 700; font-size: .9rem; color: rgba(255,255,255,.7); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-count b { color: #fff; }
.hero-bar { width: 140px; height: 2px; background: rgba(255,255,255,.3); overflow: hidden; }
.hero-bar span { display: block; height: 100%; width: 0; background: #fff; }
.hero.playing .hero-bar span { animation: bar 6s linear forwards; }
@keyframes bar { from { width: 0; } to { width: 100%; } }
.hc-btn { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; border-radius: 2px; }
.hc-btn:hover { background: #fff; color: var(--ink); }
.hc-btn svg { width: 16px; height: 16px; }
@media (max-width: 760px) {
  .hero { height: 480px; }
  .slide::after { background: linear-gradient(0deg, rgba(36,24,12,.85) 0%, rgba(36,24,12,.55) 55%, rgba(36,24,12,.2) 100%); }
  .slide-inner { justify-content: flex-end; padding-bottom: 90px; }
  .slide-desc { font-size: 1rem; }
  .hero-controls { bottom: 26px; }
  .hero-bar { width: 64px; }
}

/* ---------- home: quick menu ---------- */
.quick { border-bottom: 1px solid var(--line); background: #fff; }
.quick-list { display: grid; grid-template-columns: repeat(6, 1fr); }
.quick-list li + li { border-left: 1px solid var(--line); }
.quick-list a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 8px 26px; text-decoration: none; color: var(--ink); font-weight: 700; transition: background .2s, color .2s; }
.quick-list svg { width: 38px; height: 38px; color: var(--green); transition: transform .2s; }
.quick-list a:hover { background: var(--paper); color: var(--brown); }
.quick-list a:hover svg { transform: translateY(-3px); color: var(--brown); }
@media (max-width: 860px) {
  .quick-list { grid-template-columns: repeat(3, 1fr); }
  .quick-list li { border-bottom: 1px solid var(--line); }
  .quick-list li + li { border-left: 0; }
  .quick-list li:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
  .quick-list li:nth-last-child(-n+3) { border-bottom: 0; }
  .quick-list a { padding: 20px 4px 18px; font-size: .92rem; gap: 8px; }
  .quick-list svg { width: 30px; height: 30px; }
}

/* ---------- home: sections ---------- */
.home-sec { padding: 92px 0; }
.home-sec.paper { background: var(--paper); border-block: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 32px; }
.sec-label { font-weight: 700; color: var(--green-d); font-size: .95rem; }
.sec-title { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.6rem, 2.8vw, 2.1rem); color: var(--brown-d); margin-top: 6px; }
.sec-desc { color: var(--muted); margin-top: 12px; }
@media (max-width: 860px) { .home-sec { padding: 68px 0; } }

.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.intro-photo { position: relative; }
.intro-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.intro-photo figcaption { margin-top: 10px; font-size: .85rem; color: var(--muted); }
.intro-text .sec-desc { font-size: 1.05rem; color: var(--ink-2); }
.points { margin-top: 26px; border-top: 1px solid var(--line); }
.points li { display: grid; grid-template-columns: 48px 1fr; gap: 6px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.points .no { font-family: var(--f-head); font-weight: 800; color: var(--teal-d); font-size: 1.05rem; }
.points strong { display: block; color: var(--brown-d); font-size: 1.05rem; }
.points p { color: var(--muted); font-size: .95rem; }
.intro-text .arrow-link { margin-top: 24px; }
@media (max-width: 900px) { .intro { grid-template-columns: 1fr; gap: 32px; } }

.activity { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.activity figure { margin: 0; }
.activity img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.activity figcaption { padding-top: 14px; }
.activity strong { display: block; font-size: 1.05rem; color: var(--brown-d); }
.activity span { display: block; color: var(--muted); font-size: .92rem; margin-top: 2px; }
@media (max-width: 960px) { .activity { grid-template-columns: repeat(2, 1fr); } }

.center-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.center-box { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.center-box .head { height: 150px; display: grid; place-items: center; padding: 20px; border-bottom: 1px solid var(--line); }
.center-box .head.c1 { background: #fff; }
.center-box .head.c1 img { max-height: 54px; width: auto; }
.center-box .head.c2 { background: var(--teal-l); }
.center-box .head.c2 .name { font-family: var(--f-head); font-weight: 800; font-size: 1.6rem; color: var(--teal-d); }
.center-box .body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.center-box h3 { font-family: var(--f-head); font-weight: 800; font-size: 1.3rem; color: var(--brown-d); }
.center-box p { color: var(--muted); margin-top: 6px; }
.center-box dl { margin: 16px 0 20px; display: grid; grid-template-columns: 72px 1fr; gap: 6px 10px; font-size: .95rem; }
.center-box dt { color: var(--muted); }
.center-box dd { margin: 0; color: var(--ink-2); }
.center-box .arrow-link { margin-top: auto; }
@media (max-width: 860px) { .center-row { grid-template-columns: 1fr; } }

.news { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.board-mini { border-top: 2px solid var(--brown-d); }
.board-mini li { border-bottom: 1px solid var(--line); }
.board-mini a { display: flex; align-items: center; gap: 12px; padding: 16px 2px; text-decoration: none; color: var(--ink); }
.board-mini a:hover .bm-title { color: var(--green-d); text-decoration: underline; }
.bm-title { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.bm-year { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; }
.give { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.give img { width: 100%; height: 170px; object-fit: cover; }
.give .body { padding: 22px 24px 24px; }
.give h3 { font-family: var(--f-head); font-weight: 800; color: var(--brown-d); font-size: 1.2rem; }
.give .bank { margin-top: 12px; color: var(--muted); font-size: .92rem; }
.give .num { font-size: 1.5rem; font-weight: 800; color: var(--brown); letter-spacing: .01em; font-variant-numeric: tabular-nums; }
.give .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.give .btn { padding: 10px 16px; font-size: .93rem; }
.give .tel { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .95rem; }
.give .tel svg { width: 18px; height: 18px; color: var(--green); }
@media (max-width: 900px) { .news { grid-template-columns: 1fr; } }

/* org badges */
.org { flex: none; display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 8px; border-radius: 3px; white-space: nowrap; border: 1px solid; }
.org.jt { color: var(--brown); border-color: #d9c6b2; background: var(--brown-l); }
.org.jn { color: var(--green-d); border-color: #c9ddb6; background: var(--green-l); }
.org.ht { color: var(--teal-d); border-color: #b9dfdf; background: var(--teal-l); }

/* ---------- sub pages ---------- */
.subvisual { position: relative; overflow: hidden; color: #fff; background: var(--brown-d); }
.subvisual .sv-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.subvisual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,24,12,.8), rgba(36,24,12,.45)); }
.subvisual .wrap { position: relative; z-index: 1; padding: 64px 0 60px; }
.sv-kicker { font-size: .85rem; font-weight: 700; color: #d7ecb9; letter-spacing: .12em; }
.sv-title { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin-top: 6px; }
.sv-desc { margin-top: 8px; color: rgba(255,255,255,.88); }

.locbar { border-bottom: 1px solid var(--line); background: #fff; }
.locbar ol { display: flex; align-items: center; flex-wrap: wrap; height: 50px; font-size: .88rem; color: var(--muted); }
.locbar li { display: flex; align-items: center; }
.locbar li + li::before { content: ""; width: 6px; height: 6px; border-right: 1.5px solid #b3a796; border-top: 1.5px solid #b3a796; transform: rotate(45deg); margin: 0 14px 0 10px; }
.locbar a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; }
.locbar a:hover { color: var(--green-d); }
.locbar svg { width: 16px; height: 16px; }
.locbar [aria-current] { color: var(--ink); font-weight: 700; }

.lnb { border-bottom: 1px solid var(--line); background: #fff; }
.lnb ul { display: flex; justify-content: center; flex-wrap: wrap; }
.lnb a { display: block; padding: 16px 22px 14px; color: var(--ink-2); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.lnb a:hover { color: var(--green-d); }
.lnb a.on { color: var(--green-d); border-bottom-color: var(--green); font-weight: 800; }
@media (max-width: 600px) { .lnb ul { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; } .lnb a { white-space: nowrap; padding: 14px 14px 12px; font-size: .93rem; } }

.page { padding: 56px 0 110px; }
.page-title { text-align: center; font-family: var(--f-head); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--brown-d); margin-bottom: 48px; }

.block { margin-top: 64px; }
.block:first-of-type { margin-top: 0; }
.block-title { font-family: var(--f-head); font-weight: 800; font-size: 1.35rem; color: var(--brown-d); margin-bottom: 20px; padding-left: 12px; border-left: 4px solid var(--green); line-height: 1.2; }
.lead { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.lead img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.lead .big { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.8rem); line-height: 1.45; color: var(--brown-d); }
.lead .big em { font-style: normal; color: var(--green); }
.lead .txt { margin-top: 18px; color: var(--ink-2); font-size: 1.03rem; }
.lead .txt p + p { margin-top: 12px; }
.lead.solo { grid-template-columns: 1fr; max-width: 760px; }
@media (max-width: 860px) { .lead { grid-template-columns: 1fr; gap: 24px; } }

.cards { display: grid; grid-template-columns: repeat(var(--cols, 3), 1fr); gap: 28px 24px; }
.card { border-top: 2px solid var(--brown-d); padding: 22px 2px 0; }
.card > svg { width: 32px; height: 32px; color: var(--green); margin-bottom: 12px; }
.card h3, .card h4 { font-size: 1.1rem; font-weight: 800; color: var(--brown-d); }
.card p { color: var(--muted); margin-top: 6px; font-size: .96rem; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

.photo-cards { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 18px; }
.photo-cards figure { margin: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; }
.photo-cards img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-cards figcaption { padding: 16px 18px 18px; }
.photo-cards strong { display: block; color: var(--brown-d); font-size: 1.05rem; }
.photo-cards span { display: block; color: var(--muted); font-size: .93rem; margin-top: 2px; }
@media (max-width: 900px) { .photo-cards { grid-template-columns: 1fr 1fr; } }

/* org chart */
.org-chart { display: flex; flex-direction: column; align-items: center; padding: 40px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); }
.oc-node { padding: 13px 26px; border-radius: 4px; font-weight: 700; background: #fff; border: 1px solid var(--line-2); text-align: center; min-width: 180px; color: var(--ink); }
.oc-node.top { background: var(--brown); color: #fff; border-color: var(--brown); }
.oc-node.mid { background: var(--green-l); color: var(--green-dd); border-color: #c9ddb6; }
.oc-line, .oc-stem { width: 2px; height: 26px; background: var(--line-2); }
.oc-row { position: relative; }
.oc-side { position: absolute; left: calc(100% + 28px); top: 50%; transform: translateY(-50%); white-space: nowrap; font-weight: 600; color: var(--muted); padding: 10px 18px; border: 1px dashed var(--line-2); border-radius: 4px; background: #fff; }
.oc-side::before { content: ""; position: absolute; right: 100%; top: 50%; width: 28px; border-top: 2px dashed var(--line-2); }
.oc-branch { position: relative; display: grid; grid-template-columns: 1fr 1fr; width: min(560px, 100%); padding-top: 26px; }
.oc-branch::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 2px; background: var(--line-2); }
.oc-branch > div { position: relative; display: flex; justify-content: center; padding: 0 8px; }
.oc-branch > div::before { content: ""; position: absolute; top: -26px; left: 50%; width: 2px; height: 26px; background: var(--line-2); transform: translateX(-1px); }
.oc-branch a { text-decoration: none; }
.oc-branch a:hover { border-color: var(--green); color: var(--green-d); }
@media (max-width: 600px) {
  .oc-side { position: static; transform: none; margin-top: 8px; display: inline-block; }
  .oc-side::before { display: none; }
  .oc-row { display: flex; flex-direction: column; align-items: center; }
  .oc-branch { grid-template-columns: 1fr; gap: 10px; }
  .oc-branch::before, .oc-branch > div::before { display: none; }
  .oc-node { min-width: 0; }
}

/* history */
.history { border-top: 2px solid var(--brown-d); }
.history li { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.history .h-date { font-family: var(--f-head); font-weight: 800; color: var(--green-d); font-variant-numeric: tabular-nums; }
@media (max-width: 560px) { .history li { grid-template-columns: 1fr; gap: 2px; } }

/* info table */
.info-table { width: 100%; border-collapse: collapse; border-top: 2px solid var(--brown-d); }
.info-table th, .info-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 160px; background: var(--paper); font-weight: 700; color: var(--brown-d); }
.info-table td { color: var(--ink-2); }
@media (max-width: 600px) { .info-table th { width: 96px; padding: 13px 12px; } .info-table td { padding: 13px 12px; } }

/* greeting */
.greeting { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.greeting-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 34px 28px; position: sticky; top: 110px; text-align: center; }
.greeting-card img { width: 120px; height: 120px; margin: 0 auto 20px; }
.greeting-card .quote { font-family: var(--f-head); font-weight: 800; font-size: 1.15rem; line-height: 1.6; color: var(--brown-d); }
.greeting-card .sign { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.greeting-card .sign strong { display: block; font-size: 1.12rem; margin-top: 2px; letter-spacing: .3em; color: var(--ink); }
.greeting-body .hello { font-family: var(--f-head); font-weight: 800; font-size: 1.55rem; line-height: 1.5; color: var(--brown-d); margin-bottom: 26px; }
.greeting-body .hello em { font-style: normal; color: var(--green); }
.greeting-body p { font-size: 1.07rem; color: var(--ink-2); }
.greeting-body p + p { margin-top: 18px; }
.greeting-body .signature { margin-top: 36px; text-align: right; font-weight: 700; color: var(--ink); }
.greeting-body .signature strong { font-size: 1.2rem; margin-left: 8px; letter-spacing: .2em; }
@media (max-width: 900px) { .greeting { grid-template-columns: 1fr; gap: 28px; } .greeting-card { position: static; } }

/* location */
.location { display: grid; grid-template-columns: .9fr 1.1fr; gap: 24px; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); min-height: 420px; background: var(--paper); }
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.map-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.map-links a { font-size: .86rem; font-weight: 700; text-decoration: none; padding: 5px 12px; border-radius: 3px; border: 1px solid var(--line-2); color: var(--ink-2); }
.map-links a:hover { border-color: var(--green); color: var(--green-d); }
.loc-list { border-top: 2px solid var(--brown-d); }
.loc-list li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.loc-list svg { width: 26px; height: 26px; color: var(--green); margin-top: 2px; }
.loc-list h3 { font-size: .98rem; font-weight: 800; color: var(--brown-d); }
.loc-list p { color: var(--ink-2); margin-top: 2px; }
@media (max-width: 900px) { .location { grid-template-columns: 1fr; } .map, .map iframe { min-height: 320px; } }

/* center detail */
.center-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.center-top .visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.center-top .visual.plain { aspect-ratio: 4 / 3; border-radius: var(--r); background: var(--teal-l); border: 1px solid #cde8e8; display: grid; place-items: center; text-align: center; }
.center-top .visual.plain svg { width: 64px; height: 64px; color: var(--teal-d); margin: 0 auto 14px; }
.center-top .visual.plain strong { font-family: var(--f-head); font-weight: 800; font-size: 1.5rem; color: var(--teal-d); display: block; }
.center-top .ci { max-width: 360px; margin-bottom: 18px; }
.center-top h3 { font-family: var(--f-head); font-weight: 800; font-size: 1.6rem; color: var(--brown-d); }
.center-top .desc { color: var(--ink-2); margin-top: 12px; font-size: 1.03rem; }
@media (max-width: 860px) { .center-top { grid-template-columns: 1fr; gap: 24px; } }

.doc-list { border-top: 2px solid var(--brown-d); }
.doc-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 15px 2px; border-bottom: 1px solid var(--line); }
.doc-list .dl-title { font-weight: 700; flex: 1 1 220px; color: var(--ink); }
.files { display: flex; flex-wrap: wrap; gap: 6px; }
.files a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: .86rem; font-weight: 600; color: var(--ink-2); background: #fff; border: 1px solid var(--line-2); padding: 5px 10px; border-radius: 3px; }
.files a:hover { border-color: var(--green); color: var(--green-d); }
.files a svg { width: 15px; height: 15px; color: var(--brown); }
.files a small { font-size: .68rem; font-weight: 700; color: var(--muted); letter-spacing: .03em; margin-left: 2px; }

/* board post detail */
.b-link { color: var(--ink); text-decoration: none; }
.b-link:hover { color: var(--green-d); text-decoration: underline; }
.b-tag { display: inline-block; vertical-align: 2px; margin-left: 4px; font-size: .72rem; font-weight: 700; color: var(--teal-d); border: 1px solid #b9dfdf; background: var(--teal-l); padding: 1px 6px; border-radius: 3px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-bottom: 16px; margin-bottom: 28px; border-bottom: 2px solid var(--brown-d); color: var(--muted); font-size: .95rem; }
.doc-body { color: var(--ink-2); font-size: 1.02rem; line-height: 1.85; overflow-x: auto; }
.doc-body p { margin: 0 0 6px; }
.doc-body table { border-collapse: collapse; width: 100%; min-width: 640px; margin: 16px 0; font-size: .92rem; line-height: 1.6; }
.doc-body td, .doc-body th { border: 1px solid var(--line-2); padding: 8px 10px; vertical-align: top; }
.doc-body td p { margin: 0; }
.post-back { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); }

/* photo banner (page bottom) */
.banner { position: relative; margin-top: 80px; min-height: 250px; display: flex; align-items: center; overflow: hidden; border-radius: 4px; color: #fff; background: var(--brown-d); }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36,24,12,.84) 0%, rgba(36,24,12,.6) 50%, rgba(36,24,12,.2) 100%); }
.banner-body { position: relative; z-index: 1; padding: 44px 48px; max-width: 660px; }
.banner-label { font-size: .88rem; font-weight: 700; color: #d7ecb9; }
.banner h3 { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-top: 6px; line-height: 1.4; }
.banner p.txt { color: rgba(255,255,255,.88); margin-top: 8px; }
.banner .row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
@media (max-width: 600px) { .banner-body { padding: 32px 24px; } .banner::after { background: rgba(36,24,12,.68); } }

.photo-figure { margin: 0 0 24px; }
.photo-figure img { width: 100%; border-radius: 4px; }
.photo-figure figcaption { margin-top: 8px; font-size: .88rem; color: var(--muted); }

/* disclosure board */
.board-intro { text-align: center; color: var(--muted); max-width: 40em; margin: -26px auto 36px; }
.board-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.board-count { color: var(--muted); }
.board-count b { color: var(--green-d); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); padding: 8px 16px; border-radius: 3px; font: inherit; font-size: .92rem; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--green); color: var(--green-d); }
.chip[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: #fff; }
.board { width: 100%; border-collapse: collapse; border-top: 2px solid var(--brown-d); }
.board th { background: var(--paper); font-weight: 700; color: var(--brown-d); padding: 14px 12px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.board td { padding: 18px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.board .c-no, .board .c-org, .board .c-year { text-align: center; white-space: nowrap; }
.board .c-no { width: 72px; color: var(--muted); }
.board .c-org { width: 150px; }
.board .c-year { width: 90px; color: var(--muted); font-variant-numeric: tabular-nums; }
.board .b-title { font-weight: 700; font-size: 1.02rem; }
.board .files { margin-top: 10px; }
.board tr[hidden] { display: none; }
.board tr.flash td { animation: flash 2.4s ease-out; }
@keyframes flash { 0%, 30% { background: var(--green-l); } 100% { background: transparent; } }
.board-note { margin-top: 18px; color: var(--muted); font-size: .92rem; }
.board-note li + li { margin-top: 2px; }
@media (max-width: 760px) {
  .board thead { display: none; }
  .board, .board tbody, .board td { display: block; width: 100%; }
  .board tr { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; border-bottom: 1px solid var(--line); padding: 16px 2px; }
  .board tr[hidden] { display: none; }
  .board td { border: 0; padding: 0; text-align: left !important; }
  .board .c-no { display: none; }
  .board .c-org, .board .c-year { width: auto; }
  .board .c-org { order: 1; }
  .board .c-year { order: 2; font-size: .88rem; }
  .board td:not(.c-no):not(.c-org):not(.c-year) { order: 3; flex-basis: 100%; }
}

/* support */
.support-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: start; }
.account-card { border: 1px solid var(--line); border-top: 3px solid var(--brown); border-radius: 4px; overflow: hidden; position: sticky; top: 110px; background: #fff; }
.account-card img { width: 100%; height: 180px; object-fit: cover; }
.account-card .body { padding: 24px 26px 26px; }
.account-card .label { font-size: .88rem; color: var(--muted); font-weight: 700; }
.account-card .bank { margin-top: 8px; font-weight: 700; color: var(--ink-2); }
.account-card .num { font-size: 1.75rem; font-weight: 800; color: var(--brown); font-variant-numeric: tabular-nums; }
.account-card .holder { color: var(--muted); }
.account-card .btn { margin-top: 16px; width: 100%; }
.account-card ul { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.account-card li { display: flex; gap: 10px; align-items: center; color: var(--ink-2); font-size: .95rem; }
.account-card li + li { margin-top: 8px; }
.account-card li svg { width: 18px; height: 18px; color: var(--green); flex: none; }
.steps { border-top: 2px solid var(--brown-d); counter-reset: step; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.steps li::before { counter-increment: step; content: "0" counter(step); font-family: var(--f-head); font-weight: 800; color: var(--teal-d); font-size: 1.1rem; }
.steps h3 { font-size: 1.05rem; font-weight: 800; color: var(--brown-d); }
.steps p { color: var(--muted); margin-top: 2px; }
.benefit ul { border-top: 2px solid var(--brown-d); }
.benefit li { position: relative; padding: 14px 4px 14px 30px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.benefit li::before { content: ""; position: absolute; left: 6px; top: 20px; width: 11px; height: 6px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
@media (max-width: 900px) { .support-grid { grid-template-columns: 1fr; } .account-card { position: static; } }

/* english */
.en-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: start; }
.en-grid p { color: var(--ink-2); font-size: 1.04rem; }
.en-grid p + p { margin-top: 14px; }
@media (max-width: 860px) { .en-grid { grid-template-columns: 1fr; } }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.notfound img { margin: 0 auto 20px; }
.notfound h1 { font-family: var(--f-head); font-weight: 800; font-size: 1.7rem; color: var(--brown-d); }
.notfound p { color: var(--muted); margin-top: 10px; }
.notfound .row { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 26px; }

/* ---------- footer ---------- */
.site-footer { background: var(--brown-d); color: rgba(255,246,232,.68); padding: 46px 0 40px; font-size: .9rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(255,246,232,.14); }
.brand-footer img { background: #fff; border-radius: 50%; padding: 4px; }
.brand-footer .brand-text { color: rgba(255,246,232,.92); }
.brand-footer .brand-text b { color: #a9d37e; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-nav a { color: rgba(255,246,232,.88); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: #fff; text-decoration: underline; }
.footer-info { margin-top: 22px; display: grid; gap: 6px; }
.footer-info span { margin-right: 18px; display: inline-block; }
.copyright { margin-top: 20px; color: rgba(255,246,232,.45); font-size: .84rem; }

/* toast */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 4px; font-weight: 600; transition: opacity .2s, transform .2s; pointer-events: none; z-index: 180; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print { .topbar, .site-header, .mnav, .hero-controls, .map, .chips { display: none !important; } }
