/* IZUMI LEGAL — Zen Modern */
@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&family=Zen+Old+Mincho:wght@500;600;700&family=Cormorant+Garamond:wght@500;600&display=swap');

:root {
  --sumi: #1b1d1a;
  --forest: #14281a;
  --forest-2: #1d3824;
  --washi: #f5f3ee;
  --paper: #fbfaf7;
  --line: #e2ded4;
  --gold: #b8954a;
  --gold-soft: #d8bf85;
  --muted: #6f726b;
  --serif: "Zen Old Mincho", serif;
  --sans: "Zen Kaku Gothic New", sans-serif;
  --latin: "Cormorant Garamond", serif;
  --max: 1160px;
  --header: 76px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); -webkit-text-size-adjust: 100%; }
body { background: var(--washi); color: var(--sumi); font-family: var(--sans); font-size: 15px; line-height: 1.95; letter-spacing: .04em; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@media (min-width: 768px) { body { font-size: 16px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .3s var(--ease), opacity .3s var(--ease); }
h1,h2,h3 { font-family: var(--serif); font-weight: 600; line-height: 1.45; letter-spacing: .06em; }
.container { width: min(90%, var(--max)); margin-inline: auto; }
.sp-only { display: inline; } @media (min-width: 768px) { .sp-only { display: none; } }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; height: var(--header); z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 5%; color: var(--washi); transition: background .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
.header.is-scrolled, .header.is-open { background: rgba(251,250,247,.96); backdrop-filter: blur(10px); color: var(--forest); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--latin); font-size: 1.35rem; font-weight: 600; letter-spacing: .14em; }
.brand__mark { width: 34px; height: 34px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold); font-size: 1rem; }
.brand small { display: block; font-family: var(--serif); font-size: .62rem; letter-spacing: .2em; opacity: .75; line-height: 1; margin-top: 2px; }

.nav { display: none; }
.nav a { font-size: .88rem; position: relative; padding: 4px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold); transition: width .3s var(--ease); }
.nav a:hover::after { width: 100%; }
.nav .nav__cta { border: 1px solid currentColor; padding: 8px 22px; }
.nav .nav__cta::after { display: none; }
.nav .nav__cta:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
@media (min-width: 1024px) { .nav { display: flex; align-items: center; gap: 36px; } }

.menu-btn { width: 44px; height: 44px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 10px; width: 24px; height: 1px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.menu-btn span:nth-child(1) { top: 18px; } .menu-btn span:nth-child(2) { top: 26px; }
.is-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.is-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
@media (min-width: 1024px) { .menu-btn { display: none; } }

.drawer { position: fixed; inset: var(--header) 0 0; background: var(--paper); z-index: 99; padding: 40px 8%; display: flex; flex-direction: column; gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .35s var(--ease); }
.drawer.is-open { opacity: 1; visibility: visible; transform: none; }
.drawer a { font-family: var(--serif); font-size: 1.1rem; color: var(--forest); padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; }
.drawer a span { font-family: var(--latin); color: var(--gold); font-size: .95rem; letter-spacing: .12em; }
.drawer .btn { margin-top: 32px; justify-content: center; border-bottom: 0; }
@media (min-width: 1024px) { .drawer { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; background: var(--forest); color: var(--washi); overflow: hidden; padding: calc(var(--header) + 40px) 0 100px; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 78% 20%, rgba(184,149,74,.16), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(255,255,255,.05), transparent 50%); }
.hero::after { content: ""; position: absolute; right: -12vw; top: 50%; width: 62vw; max-width: 760px; aspect-ratio: 1; transform: translateY(-50%); border: 1px solid rgba(216,191,133,.18); border-radius: 50%; }
.hero__inner { position: relative; z-index: 1; display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1fr auto; } }
.eyebrow { font-family: var(--latin); font-size: 1rem; letter-spacing: .3em; color: var(--gold-soft); text-transform: uppercase; display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; }
.hero h1 { font-size: clamp(2.6rem, 7.5vw, 5.2rem); font-weight: 500; line-height: 1.3; letter-spacing: .1em; margin-bottom: 32px; }
.hero__lead { font-size: clamp(.95rem, 1.6vw, 1.05rem); opacity: .85; line-height: 2.2; }
.hero__vertical { display: none; font-family: var(--serif); font-size: 1.5rem; letter-spacing: .3em; writing-mode: vertical-rl; height: 340px; padding-left: 40px; border-left: 1px solid rgba(255,255,255,.18); opacity: .9; }
@media (min-width: 900px) { .hero__vertical { display: block; } }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); font-family: var(--latin); font-size: .75rem; letter-spacing: .3em; display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: .6; z-index: 1; }
.hero__scroll::after { content: ""; width: 1px; height: 52px; background: currentColor; animation: scroll 2.2s var(--ease) infinite; }
@keyframes scroll { 0%{transform:scaleY(0);transform-origin:top} 50%{transform:scaleY(1);transform-origin:top} 51%{transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

.hero--sub { min-height: 62svh; padding-bottom: 72px; }
.hero--sub h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); margin-bottom: 0; }
.breadcrumb { position: relative; z-index: 1; font-size: .78rem; opacity: .7; margin-top: 28px; }
.breadcrumb a:hover { color: var(--gold-soft); }

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 12vw, 140px) 0; }
.section--paper { background: var(--paper); }
.section--line { border-top: 1px solid var(--line); }
.head { text-align: center; margin-bottom: clamp(48px, 7vw, 72px); }
.head__en { font-family: var(--latin); font-size: 1rem; letter-spacing: .3em; color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 8px; }
.head h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: var(--forest); }
.head p { color: var(--muted); margin-top: 16px; }

.split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 88px; } .split--rev > :first-child { order: 2; } }
.split__img { position: relative; }
.split__img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: saturate(.85); }
.split__img::after { content: ""; position: absolute; inset: 20px -20px -20px 20px; border: 1px solid var(--gold); z-index: -1; }
.split__text h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); color: var(--forest); margin-bottom: 32px; }
.split__text p + p { margin-top: 1.4em; }
.quote { font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--forest); line-height: 2.1; padding-left: 24px; border-left: 2px solid var(--gold); margin-bottom: 32px; }

/* ---------- Pillars ---------- */
.pillars { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { background: var(--paper); padding: 56px 40px 48px; display: flex; flex-direction: column; transition: background .4s var(--ease), color .4s var(--ease); }
.pillar__kanji { font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--gold); margin-bottom: 28px; }
.pillar__en { font-family: var(--latin); letter-spacing: .2em; font-size: .9rem; color: var(--muted); text-transform: uppercase; }
.pillar h3 { font-size: 1.45rem; color: var(--forest); margin: 4px 0 20px; }
.pillar p { color: var(--muted); flex: 1; margin-bottom: 32px; }
.pillar .more { font-size: .85rem; color: var(--forest); display: inline-flex; align-items: center; gap: 12px; }
.pillar .more::after { content: ""; width: 32px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.pillar:hover { background: var(--forest); }
.pillar:hover h3, .pillar:hover .more { color: var(--washi); }
.pillar:hover p, .pillar:hover .pillar__en { color: rgba(245,243,238,.7); }
.pillar:hover .more::after { width: 48px; }

/* ---------- Service list (sub pages) ---------- */
.menu-list { display: grid; gap: 24px; }
@media (min-width: 900px) { .menu-list { grid-template-columns: repeat(3, 1fr); } }
.menu-card { background: var(--washi); border-top: 2px solid var(--gold); padding: 40px 32px; }
.menu-card__no { font-family: var(--latin); font-size: 1.6rem; color: var(--gold); }
.menu-card h3 { font-size: 1.3rem; color: var(--forest); margin: 8px 0 20px; }
.menu-card ul { list-style: none; display: grid; gap: 10px; }
.menu-card li { position: relative; padding-left: 18px; font-size: .95rem; }
.menu-card li::before { content: ""; position: absolute; left: 0; top: .9em; width: 8px; height: 1px; background: var(--gold); }

.flow { display: grid; gap: 0; counter-reset: flow; max-width: 760px; margin-inline: auto; }
.flow li { list-style: none; display: grid; grid-template-columns: 64px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.flow li::before { counter-increment: flow; content: counter(flow, decimal-leading-zero); font-family: var(--latin); font-size: 1.8rem; color: var(--gold); line-height: 1.2; }
.flow h3 { font-size: 1.1rem; color: var(--forest); margin-bottom: 4px; }
.flow p { color: var(--muted); font-size: .93rem; }

.related { display: grid; gap: 16px; }
@media (min-width: 768px) { .related { grid-template-columns: 1fr 1fr; } }
.related a { display: flex; justify-content: space-between; align-items: center; padding: 28px 32px; background: var(--paper); border: 1px solid var(--line); font-family: var(--serif); font-size: 1.1rem; color: var(--forest); }
.related a span { font-family: var(--latin); color: var(--gold); letter-spacing: .15em; font-size: .9rem; }
.related a:hover { border-color: var(--gold); }

/* ---------- Profile ---------- */
.profile { background: var(--forest); color: var(--washi); }
.profile .head h2 { color: var(--washi); }
.profile__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .profile__grid { grid-template-columns: 5fr 7fr; gap: 88px; } }
.profile__img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; filter: grayscale(.4); }
.profile__name { font-size: clamp(2rem, 4vw, 2.6rem); letter-spacing: .2em; }
.profile__kana { font-family: var(--latin); letter-spacing: .25em; color: var(--gold-soft); font-size: .95rem; }
.profile__role { display: inline-block; margin: 20px 0 32px; padding: 6px 16px; border: 1px solid rgba(216,191,133,.5); color: var(--gold-soft); font-size: .85rem; }
.profile__text { opacity: .88; margin-bottom: 36px; }
.profile dl { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); font-size: .9rem; }
.profile dl div { display: grid; grid-template-columns: 88px 1fr; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.profile dt { color: var(--gold-soft); }
.profile dd { opacity: .85; }

/* ---------- Contact ---------- */
.contact { text-align: center; }
.contact__lead { margin-bottom: 40px; }
.contact__ways { display: grid; gap: 16px; max-width: 760px; margin: 0 auto 64px; }
@media (min-width: 768px) { .contact__ways { grid-template-columns: 1fr 1fr; } }
.way { background: var(--paper); border: 1px solid var(--line); padding: 32px; }
.way__label { font-size: .8rem; color: var(--muted); letter-spacing: .15em; }
.way__value { font-family: var(--latin); font-size: 1.9rem; color: var(--forest); letter-spacing: .08em; line-height: 1.4; display: block; }
.way__value--sm { font-family: var(--sans); font-size: 1rem; }
.way__note { font-size: .8rem; color: var(--muted); }

.form { max-width: 760px; margin-inline: auto; text-align: left; background: var(--paper); border: 1px solid var(--line); padding: clamp(32px, 6vw, 56px); }
.form__row { display: grid; gap: 8px; margin-bottom: 24px; }
.form label { font-size: .9rem; font-weight: 500; }
.req { font-size: .7rem; background: var(--gold); color: #fff; padding: 2px 8px; margin-left: 8px; vertical-align: 2px; }
.form input, .form select, .form textarea { width: 100%; font: inherit; font-size: 16px; padding: 14px 16px; border: 1px solid var(--line); background: #fff; border-radius: 0; color: var(--sumi); appearance: none; }
.form select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b8954a'/%3E%3C/svg%3E") no-repeat right 16px center; }
.form textarea { min-height: 180px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); }
.form__agree { font-size: .88rem; display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 32px; }
.form__agree input { width: 18px; height: 18px; margin-top: 6px; appearance: auto; accent-color: var(--forest); flex: none; }
.form__agree a { text-decoration: underline; color: var(--forest); }
.hp { position: absolute; left: -9999px; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-width: 260px; padding: 18px 40px; background: var(--forest); color: var(--washi); border: 1px solid var(--forest); font: inherit; font-size: .95rem; letter-spacing: .12em; cursor: pointer; transition: .35s var(--ease); }
.btn::after { content: ""; width: 24px; height: 1px; background: currentColor; transition: width .3s var(--ease); }
.btn:hover { background: var(--gold); border-color: var(--gold); }
.btn:hover::after { width: 36px; }
.btn--light { background: transparent; color: var(--washi); border-color: rgba(245,243,238,.6); }
.btn--full { width: 100%; }

.cta { background: var(--forest); color: var(--washi); text-align: center; padding: clamp(80px, 10vw, 120px) 0; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 50%; top: 50%; width: 520px; aspect-ratio: 1; transform: translate(-50%,-50%); border: 1px solid rgba(216,191,133,.15); border-radius: 50%; }
.cta h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 16px; position: relative; }
.cta p { opacity: .8; margin-bottom: 40px; position: relative; }
.cta .btn { position: relative; }

/* ---------- Footer ---------- */
.footer { background: #0e1d12; color: rgba(245,243,238,.75); padding: 72px 0 32px; font-size: .88rem; }
.footer__grid { display: grid; gap: 40px; margin-bottom: 56px; }
@media (min-width: 768px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .brand { color: var(--washi); margin-bottom: 20px; }
.footer__title { font-family: var(--latin); letter-spacing: .2em; color: var(--gold-soft); margin-bottom: 14px; font-size: .95rem; }
.footer nav { display: grid; gap: 8px; }
.footer a:hover { color: var(--gold-soft); }
.copyright { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; font-size: .75rem; letter-spacing: .1em; text-align: center; opacity: .6; }

/* ---------- Legal page ---------- */
.legal { max-width: 800px; margin-inline: auto; }
.legal h2 { font-size: 1.2rem; color: var(--forest); margin: 48px 0 12px; padding-left: 16px; border-left: 2px solid var(--gold); }
.legal p, .legal li { font-size: .95rem; }
.legal ul { padding-left: 1.4em; }
.notice { max-width: 640px; margin: 0 auto; text-align: center; }
.notice h2 { color: var(--forest); font-size: 1.8rem; margin-bottom: 24px; }
.notice p { margin-bottom: 40px; }

/* ---------- Motion ---------- */
.fade { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.fade.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: .12s; } .d2 { transition-delay: .24s; } .d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) { .fade { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .hero__scroll::after { animation: none; } }

/* ---------- Worries / Points / FAQ / Badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.badges span { font-size: .78rem; letter-spacing: .1em; padding: 6px 14px; border: 1px solid rgba(216,191,133,.55); color: var(--gold-soft); }
.worries { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
@media (min-width: 768px) { .worries { grid-template-columns: 1fr 1fr; } }
.worries li { list-style: none; background: var(--paper); border: 1px solid var(--line); padding: 18px 20px 18px 52px; position: relative; font-size: .95rem; line-height: 1.7; }
.worries li::before { content: ""; position: absolute; left: 20px; top: 22px; width: 16px; height: 9px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.worries__answer { text-align: center; font-family: var(--serif); font-size: clamp(1.1rem, 2.2vw, 1.35rem); color: var(--forest); margin-top: 48px; line-height: 2; }
.worries__answer em { font-style: normal; background: linear-gradient(transparent 62%, rgba(184,149,74,.28) 62%); }
.points { display: grid; gap: 40px; }
@media (min-width: 900px) { .points { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.point__no { font-family: var(--latin); font-size: 3rem; line-height: 1; color: var(--gold); display: block; margin-bottom: 16px; }
.point h3 { font-size: 1.2rem; color: var(--forest); margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.point p { color: var(--muted); font-size: .95rem; }
.faq { max-width: 820px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 40px 24px 44px; position: relative; font-family: var(--serif); color: var(--forest); font-size: 1.02rem; line-height: 1.7; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 4px; top: 20px; font-family: var(--latin); font-size: 1.5rem; color: var(--gold); }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 20px; font-size: 1.4rem; color: var(--gold); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 8px 28px 44px; color: var(--muted); font-size: .95rem; }

/* Philosophy venn overlay */
.split__img--venn { overflow: visible; }
.split__img--venn img { filter: none; }
.venn { position: absolute; inset: 0; width: 100%; height: 100%; }
.venn circle, .venn text { transition: opacity 1.4s var(--ease); }
