/* =========================================================
   Moena Miner Portfolio
   色・文字の基本設定はここ（:root）でまとめて変えられます
   ========================================================= */
:root {
  --bg: #eeeeec;
  --paper: #ffffff;
  --soft: #f6f6f4;
  --ink: #141414;
  --muted: #5c5c5a;
  --line: #141414;
  --accent: #ffe14a;
  --accent-ink: #141414;
  --radius-panel: 28px;
  --radius: 16px;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Noto Sans CJK JP", "Yu Gothic", sans-serif;
  --font-en: "Outfit", var(--font-ja);
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ja);
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.4; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

.icon { width: 1.1em; height: 1.1em; flex: none; }
.illust { width: 100%; height: auto; color: var(--ink); overflow: visible; }
.fill-accent { fill: var(--accent); }
.fill-paper { fill: var(--paper); }
.fill-ink { fill: var(--ink); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 56px; padding: 12px 28px;
  border: 2.5px solid var(--line); border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: .06em;
  box-shadow: 0 4px 0 var(--line);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s;
  cursor: pointer;
}
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--line); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-sm { min-height: 46px; padding: 8px 20px; font-size: 14px; }
.btn-block { width: 100%; }
@media (hover: hover) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--line); }
  .btn:active { transform: translateY(4px); box-shadow: 0 0 0 var(--line); }
}

/* ---------- 吹き出し ---------- */
.bubble {
  position: relative; display: inline-block;
  padding: 8px 20px; margin-bottom: 18px;
  background: var(--paper); border: 2.5px solid var(--line);
  font-family: var(--font-en); font-weight: 800; font-size: 18px; letter-spacing: .08em; line-height: 1.3;
}
.bubble::after {
  content: ""; position: absolute; left: 50%; bottom: -10px;
  width: 14px; height: 14px; background: var(--paper);
  border-right: 2.5px solid var(--line); border-bottom: 2.5px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px; min-height: 68px;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; background: var(--accent); border: 2.5px solid var(--line); border-radius: 50%; padding: 3px; }
.brand-mark .fill-paper { fill: var(--paper); }
.brand-name { font-family: var(--font-en); font-weight: 800; font-size: 19px; letter-spacing: .08em; text-transform: uppercase; }

.menu-btn {
  display: none; align-items: center; gap: 10px;
  min-height: 46px; padding: 8px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; border: 0; cursor: pointer;
  font-family: var(--font-en); font-weight: 800; letter-spacing: .1em; font-size: 14px;
}
.menu-lines { position: relative; width: 18px; height: 12px; display: block; }
.menu-lines span { position: absolute; left: 0; width: 100%; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-lines span:first-child { top: 1px; }
.menu-lines span:last-child { top: 8px; }
.menu-btn[aria-expanded="true"] .menu-lines span:first-child { top: 5px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines span:last-child { top: 5px; transform: rotate(-45deg); }

/* JSなし：メニューはヘッダー下にそのまま表示 */
.global-nav { width: 100%; }
.no-js .site-header { flex-wrap: wrap; }
.global-nav ul { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.global-nav a { text-decoration: none; }
.global-nav small { display: none; }
.global-nav .nav-cta { display: none; }

/* JSあり（スマホ・タブレット）：開閉メニュー */
@media (max-width: 1099px) {
  .js .menu-btn { display: inline-flex; }
  .js .global-nav {
    position: fixed; inset: 68px 0 auto 0; z-index: 49;
    background: var(--paper); border-bottom: 2.5px solid var(--line);
    border-radius: 0 0 24px 24px;
    padding: 8px 20px 24px;
    max-height: calc(100dvh - 68px); overflow-y: auto;
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility 0s linear .28s;
  }
  .js .global-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .28s var(--ease), transform .28s var(--ease); }
  .js .global-nav ul { display: block; }
  .js .global-nav li + li { border-top: 1.5px dashed #c9c9c6; }
  .js .global-nav a:not(.btn) {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    padding: 16px 4px; min-height: 56px;
    font-family: var(--font-en); font-weight: 800; font-size: 22px; letter-spacing: .06em;
  }
  .js .global-nav small { display: inline; font-family: var(--font-ja); font-weight: 500; font-size: 13px; color: var(--muted); }
  .js .global-nav .nav-cta { display: flex; width: 100%; margin-top: 12px; }
  .menu-backdrop { position: fixed; inset: 0; z-index: 40; background: rgb(20 20 20 / .25); opacity: 0; transition: opacity .28s; pointer-events: none; }
  .menu-backdrop.is-open { opacity: 1; pointer-events: auto; }
}

/* ---------- レイアウト ---------- */
.layout { padding: 4px 0 0; }
.panel {
  background: var(--paper);
  border-radius: var(--radius-panel) var(--radius-panel) 0 0;
  min-width: 0;
  overflow: clip;
}
.side { display: none; }

.section { padding: 72px 20px; border-top: 2px solid var(--soft); }
.sec-head { text-align: center; margin-bottom: 32px; }
.sec-head .bubble { margin-bottom: 18px; }
.sec-title { font-size: 26px; font-weight: 900; letter-spacing: .08em; }
.sub-title {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  margin: 48px 0 18px; padding-bottom: 10px;
  font-size: 20px; font-weight: 900; letter-spacing: .06em;
  border-bottom: 2.5px solid var(--line);
}
.sub-en { font-family: var(--font-en); font-weight: 600; font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.sub-illust { width: 46px; margin-left: auto; align-self: flex-end; }
.lead { text-align: center; color: var(--muted); font-size: 15px; }
.prose p + p { margin-top: 1em; }
.prose { font-size: 16px; }

/* ---------- ファーストビュー ---------- */
.hero { padding: 48px 20px 64px; text-align: center; }
.hero-eyebrow { font-family: var(--font-en); font-weight: 800; letter-spacing: .2em; font-size: 12px; color: var(--muted); margin-bottom: 14px; }
.hero-catch {
  font-size: clamp(21px, 6.2vw, 38px); font-weight: 900; line-height: 1.55; letter-spacing: .06em;
  word-break: auto-phrase;
}
.hero-catch span { display: inline-block; }
.hero-catch-en { margin-top: 10px; font-family: var(--font-en); font-weight: 600; font-size: 13px; color: var(--muted); letter-spacing: .03em; line-height: 1.6; }
.hero-visual { position: relative; width: min(78%, 320px); margin: 40px auto 34px; }
.hero-photo { border: 3px solid var(--line); border-radius: 36px; overflow: hidden; background: var(--soft); box-shadow: 8px 8px 0 var(--line); }
.hero-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.badge {
  position: absolute; right: -9%; top: -11%;
  width: 104px; height: 104px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--accent); border: 3px solid var(--line);
  transform: rotate(10deg); line-height: 1.15; font-weight: 900;
}
.badge span { font-size: 12px; font-family: var(--font-en); letter-spacing: .04em; }
.badge span:last-child { font-family: var(--font-ja); }
.badge strong { font-size: 21px; letter-spacing: 0; }
.deco { position: absolute; display: block; pointer-events: none; }
.deco-pencil { width: 92px; left: -18%; bottom: 8%; transform: rotate(-24deg); }
.deco-sparkle { width: 30px; left: -6%; top: 6%; }
.deco-squiggle { width: 78px; right: -8%; bottom: -8%; }
.hello {
  position: absolute; left: -10%; top: 28%;
  background: var(--paper); border: 2.5px solid var(--line); border-radius: 18px;
  padding: 4px 12px; font-family: var(--font-en); font-weight: 800; font-size: 15px;
}
.hello::after { content: ""; position: absolute; right: -9px; top: 50%; width: 12px; height: 12px; background: var(--paper); border-top: 2.5px solid var(--line); border-right: 2.5px solid var(--line); transform: translateY(-50%) rotate(45deg); }
.hero-name { display: grid; gap: 4px; margin-bottom: 28px; }
.hero-title-ja { justify-self: center; font-size: 13px; font-weight: 700; letter-spacing: .12em; background: var(--ink); color: #fff; padding: 2px 14px; border-radius: 999px; }
.hero-name-ja { font-size: 28px; font-weight: 900; letter-spacing: .14em; }
.hero-name-en { font-family: var(--font-en); font-weight: 600; font-size: 14px; color: var(--muted); letter-spacing: .08em; }
.hero-cta { display: grid; gap: 14px; max-width: 360px; margin: 0 auto; }

/* 登場アニメーション（CSSのみ） */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: rotate(10deg) scale(.6); } 70% { transform: rotate(10deg) scale(1.06); } 100% { opacity: 1; transform: rotate(10deg) scale(1); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-24deg); } 50% { transform: translateY(-6px) rotate(-20deg); } }
.hero-eyebrow, .hero-catch, .hero-catch-en, .hero-visual, .hero-name, .hero-cta { animation: rise .7s var(--ease) both; }
.hero-catch { animation-delay: .05s; }
.hero-catch-en { animation-delay: .12s; }
.hero-visual { animation-delay: .18s; }
.hero-name { animation-delay: .26s; }
.hero-cta { animation-delay: .32s; }
.badge { animation: pop .6s var(--ease) .55s both; }
.deco-pencil { animation: float 5s ease-in-out 1s infinite; }

/* スクロールで表示（JSが有効なときだけ隠しておく） */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- About ---------- */
.profile-card {
  display: flex; align-items: center; gap: 18px;
  padding: 18px; margin-bottom: 28px;
  border: 2.5px solid var(--line); border-radius: var(--radius); background: var(--soft);
}
.about-photo { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 2.5px solid var(--line); flex: none; }
.profile-name { font-size: 20px; font-weight: 900; letter-spacing: .1em; }
.profile-role { font-weight: 700; font-size: 14px; }
.profile-role span { font-family: var(--font-en); font-weight: 600; color: var(--muted); }
.profile-meta { font-size: 13px; color: var(--muted); line-height: 1.6; margin-top: 4px; }
.profile-meta span { font-family: var(--font-en); }
.en-toggle { margin-top: 20px; border: 2px solid var(--line); border-radius: var(--radius); }
.en-toggle summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 10px 18px; cursor: pointer; list-style: none;
  font-family: var(--font-en); font-weight: 800; letter-spacing: .06em;
}
.en-toggle summary::-webkit-details-marker { display: none; }
.en-toggle summary::after { content: "+"; font-size: 24px; line-height: 1; transition: transform .25s var(--ease); }
.en-toggle[open] summary::after { transform: rotate(45deg); }
.en-toggle .prose { padding: 0 18px 18px; font-size: 15px; color: #333; line-height: 1.8; }
.policy { margin: 40px 0 0; padding: 28px 22px; background: var(--ink); color: #fff; border-radius: var(--radius); text-align: center; }
.policy figcaption { font-size: 13px; font-weight: 700; letter-spacing: .14em; color: #cfcfcf; margin-bottom: 10px; }
.policy blockquote { margin: 0; }
.policy mark { background: linear-gradient(transparent 62%, rgb(255 225 74 / .55) 62%); color: #fff; font-size: 20px; font-weight: 900; line-height: 1.7; letter-spacing: .06em; }
.policy-en { margin-top: 10px; font-family: var(--font-en); font-size: 13px; color: #cfcfcf; line-height: 1.6; }
.services { display: grid; gap: 14px; }
.service { position: relative; padding: 22px 20px 20px; border: 2.5px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.service-no { display: inline-block; font-family: var(--font-en); font-weight: 800; font-size: 14px; background: var(--accent); border: 2px solid var(--line); border-radius: 999px; padding: 0 10px; margin-bottom: 8px; }
.service h4 { font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.service p { font-size: 15px; color: #333; line-height: 1.75; }
.tools { display: flex; flex-wrap: wrap; gap: 8px; }
.tool { font-family: var(--font-en); font-weight: 600; font-size: 14px; padding: 6px 14px; border-radius: 999px; background: var(--soft); border: 1.5px solid #d4d4d1; }

/* ---------- Works ---------- */
.jumps { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }
.jump {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 8px 6px 16px;
  border: 2px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 14px;
  transition: background-color .2s;
}
.jump span { display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-en); font-size: 13px; }
@media (hover: hover) { .jump:hover { background: var(--accent); } }
.works { display: grid; gap: 28px; }
.work { display: grid; gap: 14px; align-content: start; }
.work-thumb {
  position: relative; display: block; overflow: hidden;
  border-radius: 14px; border: 2px solid var(--line); background: var(--soft);
}
.work-thumb img { width: 100%; transition: transform .5s var(--ease); }
.zoom { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line); }
@media (hover: hover) { .work-thumb:hover img { transform: scale(1.03); } }
.work-label { display: inline-block; font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 999px; border: 1.5px solid var(--line); margin-bottom: 6px; }
.work-title { font-size: 17px; font-weight: 900; letter-spacing: .04em; }
.roles { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.role { font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 6px; background: var(--accent); }
.work-tools { margin-top: 8px; font-family: var(--font-en); font-weight: 600; font-size: 14px; color: #333; display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
.work-tools-label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-right: 1.5px solid #cfcfcc; padding-right: 10px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; min-height: 44px; font-weight: 700; font-size: 15px; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- Activities ---------- */
.bizs { display: grid; gap: 14px; }
.biz-link {
  position: relative; display: grid; height: 100%; text-decoration: none;
  border: 2px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--paper);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
a.biz-link:active { transform: translateY(2px); }
@media (hover: hover) { a.biz-link:hover { transform: translateY(-3px); box-shadow: 0 5px 0 var(--line); } }
.biz-link img { width: 100%; border-bottom: 2px solid var(--line); }
.biz-text { display: grid; gap: 2px; padding: 12px 16px 14px; }
.biz-title { font-weight: 900; font-size: 17px; }
.biz-sub { font-size: 13px; color: var(--muted); font-weight: 500; }
.biz-ext { position: absolute; right: 12px; bottom: 14px; }
.book { display: grid; grid-template-columns: minmax(0, 42%) 1fr; gap: 18px; align-items: start; padding: 20px; border: 2.5px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.book-cover { position: relative; }
.book-cover img { border-radius: 4px; box-shadow: 6px 6px 0 var(--line); }
.book-badge {
  display: inline-block; margin-bottom: 8px; padding: 2px 12px; border-radius: 999px;
  background: var(--accent); border: 2px solid var(--line); font-size: 13px; font-weight: 900;
}
.book-text h4 { font-size: 17px; font-weight: 900; margin-bottom: 8px; }
.book-text .prose { font-size: 15px; margin-bottom: 14px; }
.events { display: grid; gap: 20px; }
.event { display: grid; gap: 12px; padding-bottom: 20px; border-bottom: 1.5px dashed #c9c9c6; }
.event:last-child { border-bottom: 0; padding-bottom: 0; }
.event-thumb { display: block; border-radius: 12px; overflow: hidden; border: 2px solid var(--line); }
.event-date { font-family: var(--font-en); font-weight: 600; font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.event-date span { font-family: var(--font-ja); font-size: 12px; font-weight: 700; padding: 0 10px; border-radius: 999px; background: var(--soft); border: 1.5px solid #d4d4d1; }
.event h4 { font-size: 17px; font-weight: 900; margin-top: 4px; }
.event-note { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; padding: 1px 10px; border-radius: 6px; background: var(--accent); }

/* ---------- Contact ---------- */
.section-contact { background: var(--soft); }
.contact-intro { text-align: center; }
.contact-illust { width: min(220px, 64%); margin: 0 auto 18px; }
.contact-intro p { font-size: 15px; }
.contact-cta { margin: 28px auto 0; max-width: 420px; display: grid; gap: 10px; text-align: center; }
.contact-note { font-size: 13px; color: var(--muted); }
.form-status:empty { display: none; }
.form-status { font-size: 14px; font-weight: 700; padding: 10px 14px; border-radius: 10px; background: var(--accent); }

.footer { padding: 32px 20px 40px; text-align: center; border-top: 2px solid var(--line); background: var(--paper); }
.to-top { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; font-size: 14px; text-underline-offset: 4px; }
.footer small { font-family: var(--font-en); color: var(--muted); }

/* ---------- 拡大表示（ダイアログ） ---------- */
.work-dialog {
  width: min(92vw, 860px); max-height: 90dvh; padding: 0;
  border: 2.5px solid var(--line); border-radius: 20px; background: var(--paper); color: var(--ink);
  overflow: hidden;
}
.work-dialog[open] { display: flex; flex-direction: column; animation: dialogIn .3s var(--ease); }
.work-dialog::backdrop { background: rgb(20 20 20 / .55); animation: fadeIn .3s; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } }
.dialog-inner { overflow-y: auto; overscroll-behavior: contain; }
.dialog-img { width: 100%; max-height: 62dvh; object-fit: contain; background: var(--soft); border-bottom: 2px solid var(--line); }
.dialog-img-only { max-height: 84dvh; border-bottom: 0; }
.dialog-info { padding: 18px 20px 24px; }
.dialog-title { font-size: 19px; font-weight: 900; }
.dialog-close {
  position: absolute; right: 10px; top: 10px; width: 46px; height: 46px; border-radius: 50%;
  border: 2.5px solid var(--line); background: var(--paper); font-size: 26px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
}
body.is-locked { overflow: hidden; }

/* =========================================================
   タブレット以上
   ========================================================= */
@media (min-width: 480px) {
  .works:not(.works-web), .bizs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 18px; }
  .hero-cta { grid-template-columns: 1fr 1fr; max-width: 460px; }
  .hero-cta .btn { padding-inline: 16px; }
}
@media (min-width: 720px) {
  .layout { padding: 8px 24px 0; }
  .panel { max-width: 680px; margin: 0 auto; --radius-panel: 44px; }
  .section { padding: 96px 48px; }
  .hero { padding: 72px 48px 88px; }
  .services { grid-template-columns: 1fr; }
  .event { grid-template-columns: 220px 1fr; align-items: start; gap: 20px; }
  .work-dialog .dialog-info { padding: 22px 28px 28px; }
}

/* =========================================================
   PC：左右の補助エリアを表示（参考：中央のコンテンツが主役）
   ========================================================= */
@media (min-width: 1100px) {
  .site-header { padding: 14px 36px; }
  .global-nav { width: auto; display: flex; align-items: center; gap: 28px; }
  .global-nav ul { display: none; }
  .global-nav a:not(.btn) { font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; min-height: 44px; }
  .global-nav ul a { position: relative; }
  .global-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .global-nav ul a:hover::after { transform: scaleX(1); }
  .global-nav .nav-cta { display: inline-flex; min-height: 46px; padding: 8px 24px; font-size: 15px; box-shadow: none; }
  .global-nav .nav-cta:hover { box-shadow: 0 4px 0 #777; }

  .layout {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px) minmax(0, 1fr);
    gap: 40px; padding: 16px 32px 0; align-items: start;
  }
  .panel { max-width: none; margin: 0; --radius-panel: 48px; }
  .side {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    position: sticky; top: 140px; padding-top: 40px;
  }
  .side-nav { display: grid; gap: 2px; margin-top: 8px; }
  .side-nav a { display: grid; padding: 8px 16px; min-height: 44px; text-decoration: none; border-radius: 12px; transition: background-color .2s; }
  .side-nav a span { font-family: var(--font-en); font-weight: 800; font-size: 20px; letter-spacing: .06em; }
  .side-nav a small { font-size: 12px; color: var(--muted); }
  .side-nav a:hover { background: var(--paper); }
  .side-illust { width: 190px; margin: 8px 0 14px; }
  .side-text { font-weight: 700; font-size: 16px; line-height: 1.7; margin-bottom: 18px; }
  .side-right .btn { font-size: 15px; padding-inline: 22px; }
  .section { padding: 104px 56px; }
  .hero { padding: 80px 56px 96px; }
  .hero-visual { width: 300px; }
  .hero-catch { font-size: 34px; }
  .event { grid-template-columns: 200px 1fr; }
}

/* =========================================================
   動きを減らす設定
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
