/* ===== Brand Repair Academy ===== */
:root {
  --ink: #2a1d16;          /* 焦げ茶（革） */
  --ink-2: #4a372b;
  --cream: #f6efe4;
  --paper: #fbf8f2;
  --gold: #b8914f;
  --gold-2: #9a7638;
  --gold-soft: #e6d3ab;
  --text: #2f2621;
  --muted: #7a6a5d;
  --line: #e3d7c4;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --en: "Cormorant Garamond", serif;
  --radius: 6px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--text); background: var(--paper); line-height: 1.9; letter-spacing: .03em; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.45; margin: 0; letter-spacing: .06em; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 40px); }
.sp { display: none; }
@media (max-width: 767px) { .pc { display: none; } .sp { display: inline; } }

/* ----- Buttons ----- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.8em; border-radius: 999px; font-weight: 700; text-decoration: none; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s; font-family: var(--sans); letter-spacing: .08em; }
.btn-gold { background: var(--gold); color: #fff; box-shadow: 0 6px 18px rgba(154,118,56,.35); }
.btn-gold:hover { background: var(--gold-2); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: .55em 1.3em; font-size: .85rem; }
.btn-lg { padding: 1.1em 2.4em; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ----- Header ----- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; color: #fff; }
.site-header.scrolled { background: rgba(42,29,22,.94); backdrop-filter: blur(8px); box-shadow: 0 2px 20px rgba(0,0,0,.15); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; color: var(--gold-soft); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-en { font-family: var(--en); font-weight: 600; letter-spacing: .18em; font-size: 1.02rem; }
.brand-ja { font-size: .66rem; opacity: .8; letter-spacing: .06em; }
.gnav { display: flex; align-items: center; gap: 26px; font-size: .86rem; }
.gnav a:not(.btn) { text-decoration: none; position: relative; padding: 4px 0; }
.gnav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: var(--gold-soft); transition: width .25s; }
.gnav a:not(.btn):hover::after { width: 100%; }
.menu-btn { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: transform .3s, top .3s; }
.menu-btn span:first-child { top: 18px; } .menu-btn span:last-child { top: 26px; }
.menu-open .menu-btn span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .menu-btn span:last-child { top: 22px; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .menu-btn { display: block; }
  .gnav { position: fixed; inset: 72px 0 auto; flex-direction: column; gap: 0; background: rgba(42,29,22,.98); padding: 10px 24px 28px; transform: translateY(-120%); transition: transform .35s; z-index: -1; }
  .gnav a:not(.btn) { width: 100%; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .95rem; }
  .gnav .btn { margin-top: 18px; width: 100%; }
  .menu-open .gnav { transform: none; }
  .menu-open .site-header { background: rgba(42,29,22,.98); }
}

/* ----- Hero ----- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--ink); padding: 110px 0 80px; }
.hero-bg { position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(184,145,79,.28), transparent 55%),
    radial-gradient(ellipse at 10% 90%, rgba(120,70,40,.45), transparent 50%),
    repeating-radial-gradient(circle at 30% 30%, rgba(255,255,255,.018) 0 2px, transparent 2px 5px),
    #241812; }
.hero-bg::after { content: ""; position: absolute; inset: 22px; border: 1px solid rgba(230,211,171,.18); pointer-events: none; }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.eyebrow { font-family: var(--en); font-style: italic; color: var(--gold); font-size: 1.15rem; letter-spacing: .12em; margin: 0 0 10px; }
.hero .eyebrow { color: var(--gold-soft); }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--gold-soft); border-bottom: 1px solid var(--gold); }
.lead { margin: 26px 0; font-size: 1rem; color: rgba(255,255,255,.85); }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 34px; list-style: none; }
.hero-points li { border: 1px solid rgba(230,211,171,.5); color: var(--gold-soft); padding: .3em 1em; border-radius: 999px; font-size: .82rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-visual { position: relative; height: 440px; }
.wallet { position: absolute; width: 62%; aspect-ratio: 1.9; border-radius: 10px; box-shadow: 0 30px 50px rgba(0,0,0,.5); }
.wallet::before { content: ""; position: absolute; inset: 9px; border: 1.5px dashed rgba(255,255,255,.3); border-radius: 6px; }
.wallet::after { content: ""; position: absolute; right: 12%; top: 38%; width: 14%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #f4e3b5, #a58440 70%); box-shadow: 0 2px 4px rgba(0,0,0,.4); }
.wallet-before { left: 0; top: 14%; transform: rotate(-9deg);
  background: radial-gradient(circle at 10% 15%, rgba(255,255,255,.25), transparent 25%), radial-gradient(circle at 90% 90%, rgba(230,220,200,.35), transparent 28%), radial-gradient(circle at 60% 40%, rgba(0,0,0,.25), transparent 40%), #7c3a35; filter: saturate(.55); }
.wallet-after { right: 0; bottom: 10%; transform: rotate(6deg);
  background: linear-gradient(135deg, rgba(255,255,255,.22), transparent 40%), repeating-linear-gradient(45deg, rgba(0,0,0,.04) 0 2px, transparent 2px 4px), #a8262b; }
.tag { position: absolute; left: 14px; bottom: -14px; z-index: 2; font-family: var(--en); font-weight: 600; letter-spacing: .2em; font-size: .78rem; background: var(--paper); color: var(--ink); padding: .2em .9em; border-radius: 3px; }
.wallet-after .tag { background: var(--gold); color: #fff; }
.hero-seal { position: absolute; left: 42%; top: 44%; width: 120px; height: 120px; border-radius: 50%; border: 1px solid var(--gold-soft); background: rgba(36,24,18,.85); display: grid; place-content: center; text-align: center; line-height: 1.4; font-size: .66rem; color: var(--gold-soft); z-index: 3; }
.hero-seal strong { font-family: var(--en); font-size: 1.35rem; letter-spacing: .16em; color: #fff; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-family: var(--en); letter-spacing: .3em; font-size: .72rem; color: rgba(255,255,255,.6); text-decoration: none; padding-bottom: 44px; }
.scroll-cue::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1px; height: 36px; background: var(--gold-soft); animation: cue 2s infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 260px; order: -1; }
  .hero-seal { width: 96px; height: 96px; left: 40%; top: 36%; }
  .scroll-cue { display: none; }
}

/* ----- TOC ----- */
.toc { margin-top: -1px; padding: 34px 0 0; }
.toc-title { font-family: var(--en); letter-spacing: .3em; color: var(--gold-2); text-align: center; margin: 0 0 12px; font-weight: 600; }
.toc ol { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 0; margin: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; font-size: .82rem; background: #fff; transition: border-color .2s, color .2s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--en); color: var(--gold); font-weight: 600; }
.toc a:hover { border-color: var(--gold); color: var(--gold-2); }
@media (max-width: 860px) { .toc ol { grid-template-columns: repeat(2, 1fr); } }

/* ----- Sections ----- */
.section { padding: 110px 0; position: relative; }
.section-dark { background: var(--ink); color: #f3ebe0; }
.section-cream { background: var(--cream); }
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.sec-head h2::after { content: ""; display: block; width: 46px; height: 1px; background: var(--gold); margin: 18px auto 0; }
.sec-lead { color: var(--muted); margin: 20px 0 0; }
.section-dark .sec-lead { color: rgba(243,235,224,.75); }
@media (max-width: 767px) { .section { padding: 76px 0; } .sec-head { margin-bottom: 40px; } }

/* worry */
.worry-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 28px; padding: 0; margin: 0 auto; max-width: 900px; list-style: none; }
.worry-list li { position: relative; padding: 16px 18px 16px 52px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.worry-list li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 1px solid var(--gold); border-radius: 3px; }
.worry-list li::after { content: ""; position: absolute; left: 23px; top: 50%; width: 8px; height: 13px; margin-top: -10px; border: solid var(--gold-2); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.worry-note { text-align: center; margin: 44px 0 0; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; }
@media (max-width: 767px) { .worry-list { grid-template-columns: 1fr; } }

/* about */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: s; }
.step-card { position: relative; padding: 38px 30px 32px; border: 1px solid rgba(230,211,171,.25); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.step-no { font-family: var(--en); font-size: 3rem; color: var(--gold); line-height: 1; display: block; margin-bottom: 14px; }
.step-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: #fff; }
.step-card p { margin: 0; font-size: .92rem; color: rgba(243,235,224,.8); }
.about-note { text-align: center; margin: 44px 0 0; color: var(--gold-soft); font-size: .95rem; }
@media (max-width: 860px) { .steps3 { grid-template-columns: 1fr; } }

/* works */
.works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.work { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 10px 30px rgba(60,40,20,.08); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.ba-img { position: relative; aspect-ratio: 1; background: radial-gradient(circle at 50% 45%, #fff, var(--cream) 75%); }
.ba-img::before { content: ""; position: absolute; inset: 24% 13%; border-radius: 7px; background: linear-gradient(135deg, rgba(255,255,255,.22), transparent 45%), var(--lc); box-shadow: 0 12px 20px rgba(60,30,10,.28), inset 0 0 0 1px rgba(255,255,255,.12); }
.ba-img::after { content: attr(data-label); position: absolute; left: 8px; top: 8px; font-family: var(--en); font-weight: 600; font-size: .7rem; letter-spacing: .16em; background: var(--ink); color: #fff; padding: 0 .6em; border-radius: 2px; }
.ba-img:nth-child(2)::after { background: var(--gold); }
.leather-red { --lc: #a8262b; } .leather-black { --lc: #1c1a19; } .leather-brown { --lc: #7a4b2c; } .leather-navy { --lc: #1f2f52; }
.ba-img.worn::before { background: radial-gradient(circle at 0 0, rgba(255,255,255,.6), transparent 20%), radial-gradient(circle at 100% 100%, rgba(255,255,255,.5), transparent 22%), radial-gradient(circle at 100% 0, rgba(255,255,255,.35), transparent 16%), radial-gradient(circle at 60% 50%, rgba(0,0,0,.22), transparent 45%), var(--lc); filter: saturate(.45) brightness(1.1) contrast(.85); }
.work figcaption { padding: 18px 20px 22px; font-size: .86rem; color: var(--muted); }
.work figcaption strong { display: block; font-family: var(--serif); color: var(--text); font-size: 1rem; margin-bottom: 4px; }
.works-note { text-align: center; color: var(--muted); font-size: .78rem; margin: 26px 0 0; }
@media (max-width: 860px) { .works-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

/* skills */
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.skill { background: #fff; padding: 28px 22px; border-radius: var(--radius); border-top: 2px solid var(--gold); transition: transform .25s, box-shadow .25s; }
.skill:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(60,40,20,.1); }
.skill-no { font-family: var(--en); color: var(--gold); font-size: 1.1rem; font-weight: 600; }
.skill h3 { font-size: 1.08rem; margin: 6px 0 10px; }
.skill p { margin: 0; font-size: .86rem; color: var(--muted); line-height: 1.8; }
@media (max-width: 960px) { .skills-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .skills-grid { grid-template-columns: 1fr; } }

/* merit */
.merit-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.merit-box { padding: 36px 34px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.merit-box h3 { font-size: 1.25rem; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.merit-box.good h3 { color: var(--gold-2); }
.merit-box.hard { background: #f3eee8; }
.merit-box ul { margin: 0; padding: 0; list-style: none; }
.merit-box li { position: relative; padding: 8px 0 8px 26px; font-size: .93rem; }
.merit-box.good li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--gold); }
.merit-box.hard li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 2px; background: var(--muted); }
@media (max-width: 860px) { .merit-cols { grid-template-columns: 1fr; } .merit-box { padding: 28px 22px; } }

/* tools */
.tools-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.tools-copy h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 22px; color: #fff; }
.tools-copy p { color: rgba(243,235,224,.82); font-size: .94rem; }
.tools-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0; margin: 0; list-style: none; }
.tools-list li { border: 1px solid rgba(230,211,171,.28); border-radius: var(--radius); padding: 18px 16px; font-size: .9rem; }
.tools-list span { display: block; font-family: var(--en); color: var(--gold); font-weight: 600; }
@media (max-width: 860px) { .tools-inner { grid-template-columns: 1fr; gap: 34px; } }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 40px 30px 32px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.plan-feature { border: 2px solid var(--gold); box-shadow: 0 18px 40px rgba(154,118,56,.18); transform: translateY(-10px); }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--gold); color: #fff; font-size: .78rem; font-weight: 700; padding: .25em 1.2em; border-radius: 999px; }
.plan-name { font-family: var(--en); letter-spacing: .22em; color: var(--gold-2); font-weight: 600; margin: 0; }
.plan h3 { font-size: 1.3rem; margin: 4px 0 12px; }
.plan-desc { font-size: .88rem; color: var(--muted); margin: 0 0 18px; }
.plan ul { margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; flex: 1; }
.plan li { position: relative; padding: 5px 0 5px 22px; font-size: .9rem; }
.plan li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 6px; height: 10px; border: solid var(--gold); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan-price { margin: 0; text-align: center; background: var(--cream); padding: 12px; border-radius: var(--radius); font-weight: 700; font-size: .9rem; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .plan-feature { transform: none; } }

/* flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding: 0; margin: 0; list-style: none; }
.flow li { position: relative; background: #fff; padding: 30px 22px; border-radius: var(--radius); }
.flow li:not(:last-child)::after { content: ""; position: absolute; right: -16px; top: 50%; width: 10px; height: 10px; border: solid var(--gold); border-width: 2px 2px 0 0; transform: translateY(-50%) rotate(45deg); }
.flow-no { font-family: var(--en); font-weight: 600; letter-spacing: .18em; color: var(--gold-2); font-size: .9rem; }
.flow h3 { font-size: 1.05rem; margin: 6px 0 10px; }
.flow p { margin: 0; font-size: .86rem; color: var(--muted); }
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .flow li:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -17px; transform: translateX(-50%) rotate(135deg); }
}

/* faq */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 22px 44px 22px 44px; font-weight: 700; font-family: var(--serif); font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 6px; top: 18px; font-family: var(--en); font-size: 1.5rem; color: var(--gold); }
.faq summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 10px; height: 10px; border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 20px 24px 44px; color: var(--muted); font-size: .93rem; }

/* contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); color: #fff; margin-bottom: 22px; }
.contact-copy p { color: rgba(243,235,224,.82); }
.contact-info { margin: 34px 0 0; display: grid; gap: 16px; }
.contact-info div { display: flex; gap: 20px; padding-top: 16px; border-top: 1px solid rgba(230,211,171,.2); }
.contact-info dt { width: 4.5em; color: var(--gold-soft); font-size: .85rem; padding-top: 4px; }
.contact-info dd { margin: 0; }
.contact-info dd a { font-family: var(--en); font-size: 1.45rem; text-decoration: none; letter-spacing: .06em; }
.contact-info small { display: block; font-size: .78rem; color: rgba(243,235,224,.6); }
.form { background: var(--paper); color: var(--text); padding: 40px 36px; border-radius: var(--radius); }
.field { margin-bottom: 20px; }
.field label, .field .label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 8px; }
.req { font-size: .68rem; background: var(--gold); color: #fff; padding: .1em .6em; border-radius: 3px; margin-left: 6px; vertical-align: 2px; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea { width: 100%; padding: 13px 14px; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,145,79,.2); }
.field .invalid { border-color: #b4423a; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.radios label { font-weight: 400; display: flex; align-items: center; gap: 6px; margin: 0; }
input[type=radio], input[type=checkbox] { accent-color: var(--gold-2); width: 18px; height: 18px; }
.agree { display: flex; align-items: center; gap: 8px; font-size: .88rem; margin: 6px 0 22px; }
.form-msg { margin: 14px 0 0; text-align: center; font-size: .9rem; min-height: 1.5em; }
.form-msg.ok { color: #2f7a4b; font-weight: 700; } .form-msg.ng { color: #b4423a; }
@media (max-width: 860px) { .contact-inner { grid-template-columns: 1fr; gap: 36px; } .form { padding: 30px 20px; } }

/* footer */
.site-footer { background: #1a120d; color: rgba(243,235,224,.75); padding: 64px 0 90px; font-size: .86rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 34px; border-bottom: 1px solid rgba(230,211,171,.15); }
.footer-brand .brand-en { color: var(--gold-soft); margin: 0; }
.footer-company { font-family: var(--serif); color: #fff; font-size: 1.15rem; margin: 4px 0 12px; }
.footer-brand address { font-style: normal; line-height: 1.9; }
.footer-nav { display: grid; grid-template-columns: repeat(2, auto); gap: 8px 36px; align-content: start; }
.footer-nav a { text-decoration: none; } .footer-nav a:hover { color: var(--gold-soft); }
.legal { padding-top: 24px; display: grid; gap: 8px; }
.legal summary { cursor: pointer; color: rgba(243,235,224,.85); }
.legal p, .legal dl { font-size: .8rem; margin: 10px 0 14px; }
.legal dl div { display: flex; gap: 16px; padding: 4px 0; border-bottom: 1px dashed rgba(230,211,171,.12); }
.legal dt { width: 9em; flex: none; color: var(--gold-soft); } .legal dd { margin: 0; }
.copy { text-align: center; margin: 34px 0 0; font-size: .75rem; letter-spacing: .1em; }

/* floating cta */
.float-cta { position: fixed; right: 18px; bottom: 18px; z-index: 40; background: var(--gold); color: #fff; text-decoration: none; font-weight: 700; padding: .9em 1.5em; border-radius: 999px; box-shadow: 0 8px 22px rgba(0,0,0,.25); font-size: .9rem; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s; }
.float-cta.show { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 767px) { .float-cta { left: 16px; right: 16px; text-align: center; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ----- v3 追加 ----- */
.ba-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.ba-img:has(img)::before { display: none; }
.ba-img::after { z-index: 2; }
.toc ol { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 960px) { .toc ol { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .toc ol { grid-template-columns: repeat(2, 1fr); } }
.plan-price { font-family: var(--serif); font-size: 1rem; }
.plan-price .yen { font-family: var(--en); font-size: 2rem; font-weight: 600; letter-spacing: .02em; margin-right: 2px; }
.plan-price small { font-family: var(--sans); font-size: .72rem; color: var(--muted); margin-left: 4px; }
.plans-note { text-align: center; color: var(--muted); font-size: .82rem; margin: 30px 0 0; }
.flow li { border: 1px solid var(--line); }
.teacher { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: center; }
.teacher-photo { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: repeating-linear-gradient(45deg, #efe5d4 0 10px, #f4ecdf 10px 20px); outline: 1px solid var(--gold); outline-offset: 10px; }
.teacher-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.teacher-photo-empty { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: var(--muted); font-size: .9rem; }
.teacher-photo-empty small { font-size: .72rem; }
.teacher-copy h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 20px; }
.teacher-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; margin: 0 0 16px; }
.teacher-name small { font-family: var(--sans); font-size: .78rem; color: var(--gold-2); margin-left: 12px; font-weight: 500; }
.teacher-copy p { font-size: .95rem; }
.teacher-facts { list-style: none; padding: 18px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); font-size: .88rem; }
.teacher-facts li { display: flex; gap: 14px; padding: 4px 0; }
.teacher-facts span { flex: none; width: 3.5em; color: var(--gold-2); font-weight: 700; }
@media (max-width: 860px) { .teacher { grid-template-columns: 1fr; gap: 40px; } .teacher-photo { max-width: 320px; margin-inline: auto; width: 100%; } }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { background: #05a647; transform: translateY(-2px); }
.contact-copy .btn-line { margin-top: 28px; }
.btn[hidden] { display: none; }
.gnav { gap: 20px; font-size: .84rem; white-space: nowrap; }
@media (max-width: 1140px) and (min-width: 961px) { .gnav { gap: 14px; font-size: .8rem; } .brand-ja { display: none; } }
.line-id { margin: 10px 0 0; font-size: .82rem; color: rgba(243,235,224,.7); }
.line-id[hidden] { display: none; }
.footer-academy { font-family: var(--serif); color: #fff; font-size: 1.4rem; font-weight: 700; margin: 2px 0 0; }
.footer-company { font-size: .9rem !important; color: rgba(243,235,224,.8) !important; }

/* ----- v7 施工例（実写真） ----- */
.works-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
.ba-img { cursor: zoom-in; }
.ba-img:has(img)::after { display: none; }
.ba-img img { transition: transform .4s; }
.ba-img:hover img { transform: scale(1.03); }
.ba { overflow: hidden; }
.work figcaption { line-height: 1.8; }
.work-tag { display: inline-block; font-size: .74rem; color: var(--gold-2); border: 1px solid var(--gold); border-radius: 999px; padding: .05em .9em; margin-bottom: 8px; }
@media (max-width: 860px) { .works-grid { grid-template-columns: 1fr; max-width: 560px; } }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 900px); }
.lightbox::backdrop { background: rgba(20,14,10,.85); }
.lightbox img { display: block; width: 100%; height: auto; max-height: 88vh; object-fit: contain; border-radius: 6px; }
.lightbox-close { position: absolute; top: 8px; right: 8px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.4rem; cursor: pointer; }

/* ----- v8 ロゴ・講師写真 ----- */
.brand-mark { width: auto; height: 46px; display: flex; align-items: center; }
.brand-mark img { height: 46px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.35)); }
.hero { isolation: isolate; }
.hero-watermark { position: absolute; right: -4%; top: 50%; height: 120%; width: auto; transform: translateY(-50%) rotate(8deg); opacity: .07; pointer-events: none; z-index: 0; }
.hero-inner { z-index: 1; }
.hero-seal { gap: 2px; }
.hero-seal img { height: 34px; width: auto; margin: 0 auto 2px; }
.hero-seal strong { font-size: 1.05rem; line-height: 1.1; }
.hero-seal span { font-family: var(--en); letter-spacing: .22em; font-size: .6rem; }

.teacher-photo { aspect-ratio: auto; background: none; outline: 0; overflow: visible; border-radius: 0; }
.teacher-photo::before { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); border-radius: 50% 50% 8px 8px / 38% 38% 8px 8px; z-index: 0; }
.teacher-frame { position: relative; z-index: 1; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 50% 50% 8px 8px / 38% 38% 8px 8px; box-shadow: 0 24px 50px rgba(60,40,20,.2); background: #eee; }
.teacher-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.teacher-badge { position: absolute; z-index: 2; left: -26px; bottom: 40px; width: 96px; height: 96px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); border: 2px solid var(--gold-soft); }
.teacher-badge img { height: 66px; width: auto; }
.teacher-sign { position: absolute; z-index: 2; right: -10px; bottom: -44px; margin: 0; font-family: var(--en); font-style: italic; font-size: 1.9rem; color: var(--gold-2); transform: rotate(-6deg); }
@media (max-width: 860px) { .teacher-photo { max-width: 300px; } .teacher-badge { left: -12px; width: 80px; height: 80px; } .teacher-badge img { height: 54px; } .teacher-sign { right: 0; font-size: 1.5rem; } }

.contact { overflow: hidden; isolation: isolate; }
.contact-watermark { position: absolute; left: -60px; bottom: -80px; height: 90%; width: auto; opacity: .06; transform: rotate(-10deg); pointer-events: none; z-index: -1; }

.footer-brand { display: flex; gap: 22px; align-items: flex-start; }
.footer-logo { height: 110px; width: auto; flex: none; }
@media (max-width: 600px) { .footer-logo { height: 80px; } }
.teacher-frame { aspect-ratio: 1 / 1; border-radius: 50% 50% 8px 8px / 44% 44% 8px 8px; }
.teacher-photo::before { border-radius: 50% 50% 8px 8px / 44% 44% 8px 8px; }
.teacher-frame img { object-position: 50% 50%; }
.teacher-badge { left: auto; right: -30px; top: 18%; bottom: auto; }
@media (max-width: 860px) { .teacher-badge { right: -14px; left: auto; } }
/* v10 ロゴバッジは写真の左下の角に重ねる */
.teacher-badge { top: auto; right: auto; left: -28px; bottom: -28px; }
@media (max-width: 860px) { .teacher-badge { left: -14px; right: auto; bottom: -20px; } }
.teacher-badge img { position: static; inset: auto; width: auto; height: 62px; object-fit: contain; z-index: auto; }
@media (max-width: 860px) { .teacher-badge img { height: 52px; } }
