@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=MaruBuri:wght@400;500;600;700&display=swap');

:root {
  --bg: #f7f6f1;
  --surface: #ffffff;
  --ink: #24332e;
  --muted: #68756f;
  --line: #dce3de;
  --primary: #42695a;
  --primary-dark: #2f5044;
  --primary-soft: #e6eee9;
  --accent: #b86b4b;
  --accent-soft: #f3e5de;
  --warm: #e7dccb;
  --shadow: 0 18px 50px rgba(36, 51, 46, 0.1);
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(184, 107, 75, 0.45); outline-offset: 3px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 12px 16px; background: var(--ink); color: #fff; border-radius: 6px; }
.skip-link:focus { top: 16px; }
.eyebrow { margin: 0 0 14px; color: var(--accent); font-size: 14px; font-weight: 700; }
.display { font-family: 'MaruBuri', serif; font-weight: 600; line-height: 1.25; word-break: keep-all; }
.section-title { margin: 0; font-size: 42px; }
.section-copy { max-width: 680px; margin: 20px 0 0; color: var(--muted); font-size: 18px; word-break: keep-all; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 44px; }
.section-head .section-copy { margin: 0; max-width: 470px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.desktop-only { display: inline; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247, 246, 241, 0.96); border-bottom: 1px solid rgba(220, 227, 222, 0.9); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; }
.brand-mark { position: relative; width: 34px; height: 28px; flex: 0 0 auto; }
.brand-mark::before, .brand-mark::after { content: ''; position: absolute; top: 3px; width: 20px; height: 20px; border: 2px solid var(--primary); border-radius: 50%; }
.brand-mark::before { left: 0; }
.brand-mark::after { right: 0; border-color: var(--accent); }
.brand-name { display: flex; flex-direction: column; font-weight: 700; line-height: 1.25; }
.brand-name small { color: var(--muted); font-size: 11px; font-weight: 500; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); font-size: 15px; font-weight: 600; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--primary-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-button { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--line); background: var(--surface); color: var(--ink); border-radius: 8px; cursor: pointer; }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 20px; border: 1px solid transparent; border-radius: 8px; background: var(--primary); color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.button:hover { background: var(--primary-dark); transform: translateY(-1px); }
.button.secondary { border-color: var(--line); background: var(--surface); color: var(--ink); }
.button.secondary:hover { border-color: var(--primary); color: var(--primary); }
.button.accent { background: var(--accent); }
.button.accent:hover { background: #995539; }
.button i { width: 18px; height: 18px; }

.hero { padding: 58px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); align-items: center; gap: clamp(44px, 7vw, 92px); }
.hero h1 { max-width: 650px; margin: 0; font-size: 58px; }
.hero-lead { max-width: 600px; margin: 26px 0 0; color: var(--muted); font-size: 19px; word-break: keep-all; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin: 34px 0 0; padding: 24px 0 0; border-top: 1px solid var(--line); }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero-trust i { width: 17px; color: var(--primary); }
.hero-visual { position: relative; min-height: 590px; }
.hero-image { width: 100%; height: 550px; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.hero-note { position: absolute; left: -32px; bottom: 0; width: min(310px, 75%); padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); }
.hero-note strong { display: block; font-family: 'MaruBuri', serif; font-size: 21px; font-weight: 600; }
.hero-note span { display: block; margin-top: 7px; color: var(--muted); font-size: 14px; }

.intro-band { padding: 42px 0; background: var(--primary-dark); color: #fff; }
.intro-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: center; }
.intro-band h2 { margin: 0; font-family: 'MaruBuri', serif; font-size: 30px; font-weight: 600; line-height: 1.45; }
.intro-band p { margin: 0; color: rgba(255,255,255,.76); font-size: 17px; }

.section { padding: 108px 0; }
.section.surface { background: var(--surface); }
.program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.program-card { min-height: 230px; padding: 30px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); display: flex; flex-direction: column; }
.program-card .icon-box { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 28px; background: var(--primary-soft); color: var(--primary); border-radius: 8px; }
.program-card .icon-box i { width: 22px; }
.program-card h3 { margin: 0; font-family: 'MaruBuri', serif; font-size: 25px; font-weight: 600; }
.program-card p { margin: 12px 0 24px; color: var(--muted); }
.text-link { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--primary); font-weight: 700; }
.text-link i { width: 16px; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(44px, 8vw, 100px); align-items: center; }
.story-image { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 8px; }
.story-copy h2 { margin: 0; font-size: 44px; }
.story-copy > p { color: var(--muted); font-size: 18px; }
.fact-list { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.fact-list li { display: grid; grid-template-columns: 128px 1fr; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.fact-list strong { color: var(--primary-dark); }
.fact-list span { color: var(--muted); }

.process-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: process; }
.process-item { counter-increment: process; position: relative; min-height: 220px; padding: 30px 24px; border-top: 3px solid var(--primary); background: var(--surface); }
.process-item::before { content: counter(process); display: block; margin-bottom: 28px; color: var(--accent); font-family: 'MaruBuri', serif; font-size: 28px; font-weight: 700; }
.process-item h3 { margin: 0 0 10px; font-size: 19px; }
.process-item p { margin: 0; color: var(--muted); font-size: 15px; }

.journal-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px; }
.journal-feature { min-height: 380px; padding: 42px; display: flex; flex-direction: column; justify-content: end; background: var(--primary-soft); border-radius: 8px; }
.journal-feature h3 { max-width: 570px; margin: 0; font-family: 'MaruBuri', serif; font-size: 34px; font-weight: 600; line-height: 1.4; }
.journal-feature p { max-width: 570px; color: var(--muted); }
.journal-side { padding: 36px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); display: flex; flex-direction: column; justify-content: space-between; }
.journal-side h3 { margin: 0; font-size: 25px; }

.cta-band { padding: 84px 0; background: var(--warm); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.cta-band h2 { max-width: 660px; margin: 0; font-size: 40px; }
.cta-band p { margin: 14px 0 0; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

.page-hero { padding: 78px 0 70px; border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: 1fr .7fr; gap: 60px; align-items: end; }
.page-hero h1 { margin: 0; font-size: 52px; }
.page-hero p { margin: 0; color: var(--muted); font-size: 18px; }
.subnav { position: sticky; top: 76px; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.subnav-inner { min-height: 58px; display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { flex: 0 0 auto; min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; color: var(--muted); font-size: 14px; font-weight: 700; border-radius: 8px; }
.subnav a:hover { background: var(--primary-soft); color: var(--primary-dark); }

.detail-section { padding: 94px 0; scroll-margin-top: 146px; }
.detail-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; }
.detail-title { position: sticky; top: 166px; align-self: start; }
.detail-title h2 { margin: 0; font-size: 34px; }
.detail-title p { color: var(--muted); }
.detail-content { display: grid; gap: 16px; }
.detail-card { padding: 28px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.detail-card h3 { margin: 0 0 10px; font-size: 21px; }
.detail-card p { margin: 0; color: var(--muted); }
.detail-card ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); }
.notice { padding: 22px 24px; background: var(--accent-soft); border-left: 4px solid var(--accent); }
.notice strong { display: block; margin-bottom: 4px; }

.about-lead { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.about-lead img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.about-lead h2 { margin: 0; font-size: 42px; }
.about-lead p { color: var(--muted); font-size: 18px; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 46px; }
.principle { padding: 28px; border-top: 3px solid var(--accent); background: var(--surface); }
.principle h3 { margin: 0 0 8px; }
.principle p { margin: 0; color: var(--muted); }
.profile-placeholder { min-height: 310px; padding: 44px; display: grid; place-items: center; text-align: center; border: 1px dashed #9cafa5; background: var(--primary-soft); border-radius: 8px; }
.profile-placeholder i { width: 44px; height: 44px; color: var(--primary); }

.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 22px; }
.contact-panel { padding: 38px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.contact-panel h2 { margin: 0 0 22px; font-size: 30px; }
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list i { width: 20px; color: var(--primary); }
.contact-list strong { display: block; }
.contact-list span { color: var(--muted); }
.contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 28px; }
.map-placeholder { min-height: 100%; padding: 42px; display: flex; flex-direction: column; justify-content: end; background: var(--primary-dark); color: #fff; border-radius: 8px; }
.map-placeholder h2 { margin: 0; font-size: 34px; }
.map-placeholder p { color: rgba(255,255,255,.72); }
.map-placeholder .button { align-self: flex-start; background: var(--surface); color: var(--ink); }
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-weight: 700; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--accent); font-size: 24px; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0; padding: 0 0 24px; color: var(--muted); }

.site-footer { padding: 54px 0 34px; background: #1d2a26; color: rgba(255,255,255,.78); }
.footer-grid { display: grid; grid-template-columns: 1.1fr .7fr .8fr; gap: 60px; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name small { color: rgba(255,255,255,.55); }
.site-footer .brand-mark::before { border-color: #dce8e1; }
.site-footer h2 { margin: 0 0 16px; color: #fff; font-size: 15px; }
.site-footer p { margin: 16px 0 0; font-size: 14px; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { min-height: 34px; display: flex; align-items: center; font-size: 14px; }
.footer-links a:hover { color: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 20px; font-size: 13px; }
.mobile-booking { display: none; }

@media (max-width: 980px) {
  .nav { position: fixed; inset: 76px 0 auto; display: none; padding: 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 4px; }
  .nav.is-open { display: flex; }
  .nav a { min-height: 50px; padding: 0 16px; border-radius: 8px; }
  .nav a:hover { background: var(--primary-soft); }
  .menu-button { display: inline-flex; }
  .header-actions > .button { display: none; }
  .hero-grid, .story-grid, .about-lead { grid-template-columns: 1fr; }
  .hero { padding-top: 42px; }
  .hero h1 { font-size: 50px; }
  .hero-visual { min-height: 500px; }
  .hero-image { height: 470px; }
  .hero-note { left: 24px; }
  .intro-grid { grid-template-columns: 1fr; gap: 18px; }
  .section { padding: 88px 0; }
  .process-list { grid-template-columns: repeat(2, 1fr); }
  .page-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .detail-title { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-placeholder { min-height: 420px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  body { font-size: 15px; padding-bottom: 68px; }
  .desktop-only { display: none; }
  .header-inner { min-height: 68px; }
  .brand-name { font-size: 14px; }
  .brand-name small { font-size: 10px; }
  .nav { top: 68px; }
  .hero { padding: 34px 0 54px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 39px; }
  .hero-lead { font-size: 17px; }
  .hero-actions .button { flex: 1 1 145px; }
  .hero-trust { gap: 11px 18px; }
  .hero-visual { min-height: 400px; }
  .hero-image { height: 365px; }
  .hero-note { left: 16px; right: 16px; bottom: -8px; width: auto; }
  .intro-band { padding: 34px 0; }
  .intro-band h2 { font-size: 25px; }
  .section { padding: 72px 0; }
  .section-head { align-items: start; flex-direction: column; gap: 18px; margin-bottom: 30px; }
  .section-title { font-size: 34px; }
  .section-copy { font-size: 16px; }
  .program-grid, .process-list, .journal-grid, .principles { grid-template-columns: 1fr; }
  .program-card { min-height: 210px; padding: 24px; }
  .story-copy h2, .about-lead h2 { font-size: 34px; }
  .fact-list li { grid-template-columns: 1fr; gap: 5px; }
  .journal-feature { min-height: 330px; padding: 28px; }
  .journal-feature h3 { font-size: 28px; }
  .cta-band { padding: 64px 0; }
  .cta-inner { align-items: start; flex-direction: column; }
  .cta-band h2 { font-size: 32px; }
  .cta-actions { width: 100%; justify-content: stretch; }
  .cta-actions .button { flex: 1; }
  .page-hero { padding: 54px 0 50px; }
  .page-hero h1 { font-size: 39px; }
  .subnav { top: 68px; }
  .detail-section { padding: 66px 0; scroll-margin-top: 132px; }
  .detail-title h2 { font-size: 30px; }
  .profile-placeholder { min-height: 260px; padding: 28px; }
  .contact-panel { padding: 28px 22px; }
  .contact-actions { grid-template-columns: 1fr; }
  .map-placeholder { min-height: 380px; padding: 28px; }
  .footer-grid { grid-template-columns: 1fr; gap: 38px; }
  .footer-bottom { flex-direction: column; }
  .mobile-booking { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; min-height: 68px; display: grid; grid-template-columns: 1fr 1fr; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); gap: 8px; }
  .mobile-booking .button { min-height: 50px; padding: 0 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
