/* =========================================================
   COCORO.DO DESIGN — style
   cream × mocha, Shippori Mincho × Cormorant
   ========================================================= */
:root {
  --bg: #fbf8f3;
  --bg-2: #f4ece2;
  --bg-3: #efe5d9;
  --paper: #fffdfa;
  --ink: #2a2422;
  --ink-2: #5d524c;
  --ink-3: #8f837b;
  --mocha: #7a5f52;
  --mocha-d: #5e473c;
  --gold: #b08d6e;
  --rose: #f3e7e1;
  --line: rgba(42, 36, 34, .12);
  --line-2: rgba(42, 36, 34, .2);
  --shadow: 0 30px 60px -30px rgba(74, 52, 40, .35), 0 12px 24px -16px rgba(74, 52, 40, .18);
  --shadow-s: 0 14px 30px -18px rgba(74, 52, 40, .35);
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --en: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Noto Sans JP", sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .04em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--rose); color: var(--ink); }

.wrap { width: min(100% - var(--gutter) * 2, var(--wrap)); margin-inline: auto; }
.sp-only { display: none; }
@media (max-width: 767px) { .sp-only { display: inline; } .pc-only { display: none; } }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .9em;
  font-family: var(--en); font-style: italic; font-size: 17px; letter-spacing: .06em;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow.is-star::before { content: "✦"; width: auto; height: auto; background: none; font-style: normal; font-size: 12px; }
.sec-head { margin-bottom: clamp(36px, 6vw, 64px); }
.sec-head .en-title {
  display: block; font-family: var(--en); font-weight: 400; font-size: clamp(44px, 7vw, 88px);
  line-height: 1; letter-spacing: .01em; color: var(--ink);
}
.sec-head .en-title em { font-style: italic; color: var(--gold); }
.sec-head h2 {
  margin: 14px 0 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(15px, 1.6vw, 18px); letter-spacing: .12em; color: var(--ink-2);
}
.sec-head.is-center { text-align: center; }
.sec-head.is-split { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.lead { font-family: var(--serif); font-size: clamp(17px, 2vw, 21px); line-height: 2; letter-spacing: .08em; color: var(--ink); }
.muted { color: var(--ink-2); }
.num { font-family: var(--en); font-weight: 400; letter-spacing: 0; line-height: 1; font-variant-numeric: lining-nums; }

/* ---------- buttons ---------- */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: var(--h); padding: 0 30px; border-radius: 999px;
  font-size: 14px; font-weight: 500; letter-spacing: .1em; white-space: nowrap;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
  overflow: hidden; isolation: isolate;
}
.btn .arrow { width: 22px; height: 1px; background: currentColor; position: relative; transition: width .4s var(--ease); }
.btn .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }
.btn:hover .arrow { width: 32px; }
.btn-primary { background: var(--mocha); color: #fff; }
.btn-primary:hover { background: var(--mocha-d); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--ink); background: rgba(255, 253, 250, .5); }
.btn-ghost:hover { border-color: var(--mocha); background: var(--paper); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; letter-spacing: .1em; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; transition: border-color .3s, gap .3s var(--ease); }
.text-link:hover { border-color: var(--mocha); gap: 18px; }
.text-link .arrow { width: 18px; height: 1px; background: currentColor; position: relative; }
.text-link .arrow::after { content: ""; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); }

.chip { display: inline-flex; align-items: center; height: 28px; padding: 0 14px; border-radius: 999px; background: var(--rose); color: var(--mocha-d); font-size: 12px; letter-spacing: .08em; white-space: nowrap; }
.chip.is-line { background: transparent; border: 1px solid var(--line-2); color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background-color .5s var(--ease), box-shadow .5s var(--ease), transform .5s var(--ease);
}
.site-header .bar { display: flex; align-items: center; justify-content: space-between; height: 84px; transition: height .5s var(--ease); }
.site-header.is-scrolled { background: rgba(251, 248, 243, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-scrolled .bar { height: 68px; }
.logo { display: flex; flex-direction: column; line-height: 1; gap: 6px; }
.logo .mark { font-family: var(--en); font-size: 24px; font-weight: 500; letter-spacing: .14em; }
.logo .mark i { font-style: normal; color: var(--gold); }
.logo .kana { font-size: 10px; letter-spacing: .3em; color: var(--ink-3); }
.gnav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); }
.gnav ul { display: flex; gap: clamp(20px, 3vw, 36px); list-style: none; margin: 0; padding: 0; }
.gnav a.nav-item { position: relative; display: flex; flex-direction: column; align-items: center; line-height: 1.2; }
.gnav a.nav-item .en { font-family: var(--en); font-size: 18px; letter-spacing: .06em; }
.gnav a.nav-item .ja { font-size: 10px; letter-spacing: .2em; color: var(--ink-3); }
.gnav a.nav-item::after { content: ""; position: absolute; left: 50%; bottom: -8px; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); transform: translateX(-50%) scale(0); transition: transform .3s var(--ease); }
.gnav a.nav-item:hover::after, .gnav a.nav-item[aria-current="page"]::after { transform: translateX(-50%) scale(1); }
.gnav .btn { --h: 46px; padding: 0 22px; font-size: 13px; }
.menu-btn { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; background: rgba(255,253,250,.6); }
.menu-btn span { position: absolute; left: 14px; right: 14px; height: 1px; background: var(--ink); transition: transform .4s var(--ease), opacity .3s; }
.menu-btn span:nth-child(1) { top: 19px; }
.menu-btn span:nth-child(2) { top: 28px; }
.menu-open .menu-btn span:nth-child(1) { transform: translateY(4.5px) rotate(20deg); }
.menu-open .menu-btn span:nth-child(2) { transform: translateY(-4.5px) rotate(-20deg); }
.drawer {
  position: fixed; inset: 0; z-index: 45; background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: center; padding: 100px var(--gutter) 40px;
  opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s;
}
.menu-open .drawer { opacity: 1; visibility: visible; }
.drawer ul { list-style: none; margin: 0 0 40px; padding: 0; }
.drawer li { border-bottom: 1px solid var(--line); }
.drawer li a { display: flex; align-items: baseline; justify-content: space-between; padding: 18px 4px; }
.drawer .en { font-family: var(--en); font-size: 36px; line-height: 1; }
.drawer .ja { font-size: 12px; color: var(--ink-3); letter-spacing: .2em; }
.drawer .btn { width: 100%; }
@media (max-width: 900px) {
  .gnav ul, .gnav .btn { display: none; }
  .menu-btn { display: block; }
  .site-header .bar { height: 68px; }
}

/* ---------- reveal ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="zoom"] { transform: scale(.96); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .split-line { display: block; overflow: hidden; }
.js .split-line > span { display: block; transform: translateY(105%); transition: transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js .is-in .split-line > span, .js .split-line.is-in > span { transform: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; padding: 140px 0 0; overflow: hidden; display: flex; flex-direction: column; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(125deg, #fdfbf7 0%, #f4ece2 42%, #fcf9f4 60%, #efe5d9 100%);
}
.hero .ring { position: absolute; z-index: -1; border-radius: 50%; border: 1px solid rgba(176, 141, 110, .28); pointer-events: none; }
.hero .ring.r1 { width: 720px; height: 720px; right: -220px; top: -260px; }
.hero .ring.r2 { width: 460px; height: 460px; left: -200px; bottom: -120px; }
.hero-grid { flex: 1; display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero h1 {
  margin: 0; font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 3.9vw, 56px); line-height: 1.45; letter-spacing: .06em;
}
.hero .en-sub { margin: 18px 0 0; font-family: var(--en); font-style: italic; font-size: clamp(22px, 2.6vw, 34px); color: var(--gold); letter-spacing: .02em; line-height: 1.2; }
.hero .desc { margin: 30px 0 40px; max-width: 30em; color: var(--ink-2); font-size: 15px; line-height: 2.1; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; aspect-ratio: 1 / .86; }
.hero-visual .float { position: absolute; will-change: transform; }
.hero-visual .v1 { left: 0; top: 6%; width: 82%; z-index: 2; }
.hero-visual .v2 { right: 0; top: 0; width: 56%; z-index: 1; opacity: .95; }
.hero-visual .v3 { right: 4%; bottom: 0; width: 21%; z-index: 3; }
.hero-visual .v4 { left: 10%; bottom: -2%; width: 46%; z-index: 1; }
.hero-visual .badge {
  position: absolute; z-index: 4; left: -4%; bottom: 14%;
  display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 14px; border-radius: 999px;
  background: rgba(255, 253, 250, .92); box-shadow: var(--shadow-s); font-size: 12px; letter-spacing: .08em; color: var(--ink-2);
}
.hero-visual .badge b { font-family: var(--en); font-weight: 500; font-size: 30px; color: var(--ink); letter-spacing: 0; line-height: 1; }
.hero-visual .badge .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--rose); display: grid; place-items: center; color: var(--gold); font-size: 13px; }
@media (max-width: 900px) {
  .hero { padding-top: 110px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin: 20px auto 0; width: 100%; max-width: 560px; }
}

/* marquee of clients */
.client-marquee { margin-top: clamp(40px, 6vw, 72px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: rgba(255, 253, 250, .45); }
.marquee-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee-track > * { flex: none; }
.client-marquee .item { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font-family: var(--serif); font-size: 15px; letter-spacing: .12em; color: var(--ink-2); white-space: nowrap; }
.client-marquee .item::after { content: "✦"; font-size: 9px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- device mockups ---------- */
.browser { border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); overflow: hidden; border: 1px solid rgba(255, 255, 255, .7); }
.browser .chrome { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #f6efe7; border-bottom: 1px solid var(--line); }
.browser .chrome i { width: 9px; height: 9px; border-radius: 50%; background: #e2d5c8; }
.browser .chrome .url { margin-left: 10px; flex: 1; max-width: 60%; height: 18px; border-radius: 9px; background: rgba(255, 253, 250, .9); font-size: 10px; line-height: 18px; padding: 0 10px; color: var(--ink-3); letter-spacing: .04em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser .screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.browser .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone { position: relative; border-radius: 30px; padding: 7px; background: #231d1a; box-shadow: var(--shadow); }
.phone::before { content: ""; position: absolute; top: 12px; left: 50%; width: 30%; height: 14px; border-radius: 10px; background: #231d1a; transform: translateX(-50%); z-index: 2; }
.phone .screen { border-radius: 24px; overflow: hidden; aspect-ratio: 390 / 844; background: var(--bg-3); }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
@media (max-width: 600px) {
  .phone { border-radius: 20px; padding: 4px; }
  .phone .screen { border-radius: 17px; }
  .phone::before { top: 8px; height: 9px; }
  .browser .chrome { height: 22px; }
  .browser .chrome i { width: 6px; height: 6px; }
  .browser .chrome .url { display: none; }
}

/* hover scroll preview */
.scroll-preview .screen img { height: auto; min-height: 100%; object-fit: initial; transition: transform 6s var(--ease); transform: translateY(0); }
.scroll-preview:hover .screen img, .scroll-preview:focus-within .screen img { transform: translateY(calc(-100% + var(--frame-h, 300px))); }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(88px, 12vw, 160px) 0; }
.section.is-sand { background: var(--bg-2); }
.section.is-paper { background: var(--paper); }
.section.is-dark { background: #2a2422; color: #f4ece2; }
.section.is-dark .sec-head .en-title { color: #f4ece2; }
.section.is-dark .sec-head h2, .section.is-dark .muted { color: rgba(244, 236, 226, .7); }

/* numbers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) clamp(12px, 2vw, 28px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat .value { display: flex; align-items: baseline; gap: 6px; }
.stat .num { font-size: clamp(48px, 6.4vw, 84px); color: var(--ink); }
.stat .unit { font-family: var(--serif); font-size: 15px; color: var(--ink-2); }
.stat p { margin: 14px 0 0; font-size: 13px; line-height: 1.8; color: var(--ink-2); }
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* intro */
.intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro-grid .lead { margin: 0 0 28px; }
.intro-grid p { margin: 0 0 1.4em; color: var(--ink-2); }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }

/* works (featured) */
.works-feature { display: grid; gap: clamp(72px, 10vw, 140px); }
.work-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.work-row:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
.work-row:nth-child(even) .work-visual { order: 2; }
.work-visual { position: relative; display: block; padding: 0 9% 8% 0; isolation: isolate; }
.work-visual::before { content: ""; position: absolute; inset: 10% 0 0 14%; border-radius: 18px; background: var(--bg-3); z-index: -1; transition: transform .8s var(--ease); }
.is-sand .work-visual::before { background: var(--bg-3); }
.work-visual:hover::before { transform: translate(10px, 10px); }
.work-visual .browser { --frame-h: 0px; }
.work-visual .phone { position: absolute; right: 0; bottom: 0; width: 23%; transition: transform .8s var(--ease); }
.work-visual:hover .phone { transform: translateY(-10px); }
.work-meta .index { font-family: var(--en); font-style: italic; font-size: 18px; color: var(--gold); }
.work-meta .cat { margin: 10px 0 0; font-size: 12px; letter-spacing: .2em; color: var(--ink-3); }
.work-meta h3 { margin: 10px 0 18px; font-family: var(--serif); font-weight: 500; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.55; letter-spacing: .06em; }
.work-meta .client { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; font-size: 14px; }
.work-meta .client small { display: block; font-size: 12px; color: var(--ink-3); letter-spacing: .06em; }
.work-meta .highlight { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; }
.work-meta .highlight .num { font-size: clamp(40px, 4.6vw, 56px); }
.work-meta .highlight .unit { font-family: var(--serif); font-size: 15px; color: var(--ink-2); }
.work-meta .highlight-note { margin: 0 0 22px; font-size: 12px; color: var(--ink-3); }
.work-meta .chips { margin-bottom: 28px; }
@media (max-width: 900px) {
  .work-row, .work-row:nth-child(even) { grid-template-columns: 1fr; }
  .work-row:nth-child(even) .work-visual { order: 0; }
}

/* voices / clients */
.people { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.person { text-align: center; }
.person .avatar { width: 100%; max-width: 128px; aspect-ratio: 1; margin: 0 auto 16px; border-radius: 50%; overflow: hidden; background: var(--bg-3); box-shadow: 0 0 0 6px var(--paper), var(--shadow-s); }
.person .avatar img { width: 100%; height: 100%; object-fit: cover; }
.person .name { font-family: var(--serif); font-weight: 600; font-size: 14px; line-height: 1.6; letter-spacing: .04em; }
.person .role { font-size: 11px; color: var(--ink-3); margin: 4px 0 10px; letter-spacing: .06em; }
.person .count { font-family: var(--en); font-size: 30px; line-height: 1; }
.person .count small { font-family: var(--serif); font-size: 12px; margin-left: 2px; color: var(--ink-2); }
.person .count.is-text { font-family: var(--serif); font-size: 14px; color: var(--mocha); font-weight: 600; }
.people-note { margin-top: 32px; font-size: 12px; color: var(--ink-3); text-align: center; }
.people-total { display: flex; align-items: baseline; gap: 10px; }
.people-total .num { font-size: clamp(56px, 7vw, 92px); color: var(--gold); }
.people-total span { font-family: var(--serif); font-size: 16px; }
.people-total small { display: block; font-size: 12px; color: var(--ink-3); }
@media (max-width: 1000px) { .people { grid-template-columns: repeat(4, 1fr); row-gap: 40px; } }
@media (max-width: 560px) { .people { grid-template-columns: repeat(2, 1fr); } }

/* services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service { position: relative; padding: clamp(28px, 4vw, 48px); border-radius: 20px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-s); }
.service .no { font-family: var(--en); font-style: italic; font-size: 20px; color: var(--gold); }
.service h3 { margin: 8px 0 4px; font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.2vw, 26px); letter-spacing: .06em; line-height: 1.5; }
.service .en { font-family: var(--en); font-size: 15px; color: var(--ink-3); letter-spacing: .04em; }
.service p { margin: 18px 0 22px; color: var(--ink-2); font-size: 14px; line-height: 2; }
.service ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.service li { font-size: 12px; padding: 4px 12px; border-radius: 999px; background: var(--bg-2); color: var(--ink-2); }
.service .deco { position: absolute; right: -20px; top: -20px; width: 140px; height: 140px; border-radius: 50%; border: 1px solid rgba(176, 141, 110, .25); }
.service-extra { margin-top: 20px; padding: 28px clamp(28px, 4vw, 48px); border-radius: 20px; background: var(--mocha); color: #fbf8f3; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.service-extra h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 20px; letter-spacing: .06em; }
.service-extra p { margin: 6px 0 0; font-size: 13px; color: rgba(251, 248, 243, .78); }
@media (max-width: 800px) { .services { grid-template-columns: 1fr; } }

/* graphic marquee */
.gallery-marquee { display: grid; gap: 18px; overflow: hidden; padding: 6px 0; }
.gallery-marquee .marquee-track { gap: 18px; animation-duration: 70s; }
.gallery-marquee .marquee-track.is-reverse { animation-direction: reverse; animation-duration: 80s; }
.gallery-marquee figure { margin: 0; height: clamp(150px, 18vw, 230px); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-s); background: var(--bg-3); }
.gallery-marquee img { height: 100%; width: auto; }
.gallery-marquee:hover .marquee-track { animation-play-state: paused; }

/* process */
.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.process li { list-style: none; padding: 28px 20px 0 0; position: relative; }
.process li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }
.process .step { font-family: var(--en); font-style: italic; color: var(--gold); font-size: 16px; }
.process h3 { margin: 6px 0 10px; font-family: var(--serif); font-weight: 500; font-size: 18px; letter-spacing: .06em; }
.process p { margin: 0; font-size: 13px; color: var(--ink-2); line-height: 1.9; }
.process-wrap { padding: 0; margin: 0; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; border-top: 0; border-left: 1px solid var(--line); margin-left: 4px; }
  .process li { padding: 0 0 32px 28px; }
  .process li::before { top: 8px; left: -5px; }
}

/* about teaser */
.about-teaser { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.arch { position: relative; border-radius: 999px 999px 24px 24px; overflow: hidden; aspect-ratio: 540 / 760; background: var(--bg-3); box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch-wrap { position: relative; padding: 0 0 24px 24px; }
.arch-wrap::before { content: ""; position: absolute; inset: 24px 24px 0 0; border-radius: 999px 999px 24px 24px; border: 1px solid rgba(176, 141, 110, .45); z-index: 0; }
.arch-wrap .arch { z-index: 1; }
.arch-wrap .caption { position: absolute; z-index: 2; right: -10px; bottom: 56px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 253, 250, .94); box-shadow: var(--shadow-s); font-family: var(--en); font-style: italic; font-size: 15px; color: var(--ink-2); }
.about-teaser h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3.4vw, 40px); letter-spacing: .1em; }
.about-teaser .en-name { font-family: var(--en); font-style: italic; color: var(--gold); font-size: 20px; margin: 4px 0 20px; }
.about-teaser p { color: var(--ink-2); margin: 0 0 1.4em; }
.about-teaser .chips { margin-bottom: 24px; }
@media (max-width: 800px) { .about-teaser { grid-template-columns: 1fr; } .arch-wrap { max-width: 380px; margin: 0 auto; } }

/* CTA */
.cta { position: relative; padding: clamp(96px, 13vw, 180px) 0; background: #2a2422; color: #f4ece2; overflow: hidden; text-align: center; }
.cta::before { content: ""; position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(176, 141, 110, .25); }
.cta::after { content: ""; position: absolute; width: 600px; height: 600px; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 50%; border: 1px solid rgba(176, 141, 110, .18); }
.cta .inner { position: relative; z-index: 1; }
.cta .eyebrow { color: #cfae8f; }
.cta .big { margin: 22px 0 10px; font-family: var(--en); font-weight: 400; font-size: clamp(44px, 8vw, 110px); line-height: 1.02; letter-spacing: .01em; }
.cta .big em { color: #cfae8f; }
.cta p { margin: 18px auto 40px; max-width: 34em; color: rgba(244, 236, 226, .78); font-size: 14px; }
.cta .actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cta .btn-ghost { color: #f4ece2; border-color: rgba(244, 236, 226, .35); background: transparent; }
.cta .btn-ghost:hover { border-color: #f4ece2; background: rgba(244, 236, 226, .06); }

/* footer */
.site-footer { background: #221d1b; color: rgba(244, 236, 226, .7); padding: 64px 0 36px; font-size: 13px; }
.site-footer .top { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(244, 236, 226, .12); }
.site-footer .logo .mark { color: #f4ece2; }
.site-footer .logo .kana { color: rgba(244, 236, 226, .5); }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.site-footer nav a { font-family: var(--en); font-size: 17px; color: #f4ece2; transition: color .3s; }
.site-footer nav a:hover { color: #cfae8f; }
.site-footer .bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; font-size: 12px; }
.site-footer .bottom a:hover { color: #f4ece2; }

/* ---------- sub pages ---------- */
.page-hero { position: relative; padding: clamp(150px, 18vw, 220px) 0 clamp(56px, 8vw, 96px); background: linear-gradient(125deg, #fdfbf7 0%, #f4ece2 50%, #efe5d9 100%); overflow: hidden; }
.page-hero::after { content: ""; position: absolute; width: 560px; height: 560px; right: -180px; top: -200px; border-radius: 50%; border: 1px solid rgba(176, 141, 110, .3); }
.page-hero .en-title { display: block; font-family: var(--en); font-size: clamp(56px, 10vw, 128px); line-height: .95; font-weight: 400; }
.page-hero .en-title em { color: var(--gold); }
.page-hero h1 { margin: 18px 0 0; font-family: var(--serif); font-weight: 500; font-size: clamp(15px, 1.6vw, 18px); letter-spacing: .14em; color: var(--ink-2); }
.page-hero .lead { margin: 28px 0 0; max-width: 36em; font-size: clamp(15px, 1.6vw, 17px); color: var(--ink-2); }
.breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 28px; font-size: 12px; color: var(--ink-3); letter-spacing: .08em; list-style: none; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .6; }
.breadcrumb a:hover { color: var(--ink); }

/* works list */
.filter { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter button { height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; letter-spacing: .08em; color: var(--ink-2); transition: all .3s var(--ease); }
.filter button:hover { border-color: var(--mocha); color: var(--ink); }
.filter button[aria-pressed="true"] { background: var(--mocha); border-color: var(--mocha); color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 3vw, 40px) clamp(20px, 2.4vw, 32px); }
.work-card { display: flex; flex-direction: column; }
.work-card[hidden] { display: none; }
.work-card .thumb { position: relative; display: block; padding: 18px 18px 0; border-radius: 16px; background: var(--bg-2); overflow: hidden; aspect-ratio: 4 / 3; transition: background-color .5s var(--ease); }
.work-card:hover .thumb { background: var(--bg-3); }
.work-card .thumb .browser { box-shadow: var(--shadow-s); }
.work-card .thumb .browser .screen { aspect-ratio: 16 / 11; }
.work-card .thumb .browser .screen img { transition: transform 1s var(--ease); }
.work-card:hover .thumb .browser .screen img { transform: scale(1.04); }
.work-card .thumb .phone { position: absolute; right: 14px; bottom: -40px; width: 24%; border-radius: 18px; padding: 4px; }
.work-card .thumb .phone .screen { border-radius: 14px; }
.work-card .thumb .phone::before { top: 7px; height: 8px; }
.work-card .body { padding: 18px 4px 0; }
.work-card .cat { font-size: 11px; letter-spacing: .2em; color: var(--ink-3); }
.work-card h3 { margin: 6px 0 10px; font-family: var(--serif); font-weight: 500; font-size: 18px; line-height: 1.6; letter-spacing: .05em; }
.work-card .role { font-size: 12px; color: var(--ink-2); margin-bottom: 12px; }
.work-card .chips .chip { height: 24px; font-size: 11px; padding: 0 10px; }
.work-card.is-text .thumb { display: flex; flex-direction: column; justify-content: center; padding: 28px; background: #2a2422; color: #f4ece2; }
.work-card.is-text .thumb .big { font-family: var(--en); font-size: clamp(30px, 3vw, 40px); line-height: 1.1; }
.work-card.is-text .thumb .big em { color: #cfae8f; }
.work-card.is-text .thumb p { margin: 12px 0 0; font-size: 12px; color: rgba(244, 236, 226, .7); }
@media (max-width: 1000px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .work-grid { grid-template-columns: 1fr; } }

.graphic-grid { columns: 4 220px; column-gap: 16px; }
.graphic-grid button { display: block; width: 100%; margin: 0 0 16px; break-inside: avoid; border-radius: 12px; overflow: hidden; background: var(--bg-3); box-shadow: var(--shadow-s); position: relative; }
.graphic-grid button img { width: 100%; transition: transform .8s var(--ease); }
.graphic-grid button:hover img { transform: scale(1.03); }
.graphic-grid button .label { position: absolute; left: 10px; bottom: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(255, 253, 250, .92); font-size: 11px; color: var(--ink-2); letter-spacing: .06em; opacity: 0; transform: translateY(6px); transition: all .4s var(--ease); }
.graphic-grid button:hover .label, .graphic-grid button:focus-visible .label { opacity: 1; transform: none; }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(34, 29, 27, .86); backdrop-filter: blur(6px); }
.lightbox img { max-width: 100%; max-height: 84vh; width: auto; margin: 0 auto; border-radius: 10px; }
.lightbox p { margin: 12px 0 0; text-align: center; color: #f4ece2; font-size: 13px; }
.lightbox .close { position: fixed; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; background: rgba(244, 236, 226, .12); color: #f4ece2; font-size: 22px; line-height: 1; }

/* case detail */
.case-hero { padding: clamp(130px, 15vw, 190px) 0 0; background: linear-gradient(180deg, #f4ece2 0%, #fbf8f3 100%); }
.case-hero .title-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(40px, 6vw, 72px); }
.case-hero .cat { font-size: 12px; letter-spacing: .2em; color: var(--ink-3); margin: 16px 0 0; }
.case-hero h1 { margin: 10px 0 0; font-family: var(--serif); font-weight: 500; font-size: clamp(25px, 3.1vw, 42px); line-height: 1.5; letter-spacing: .06em; }
.case-hero .client-name { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); }
.case-meta { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0; border-top: 1px solid var(--line); font-size: 13px; }
.case-meta dt, .case-meta dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--line); }
.case-meta dt { padding-right: 28px; color: var(--ink-3); letter-spacing: .12em; white-space: nowrap; }
.case-meta dd a { border-bottom: 1px solid var(--line-2); word-break: break-all; }
.case-meta dd a:hover { border-color: var(--mocha); }
.case-stage { position: relative; padding: 0 10% 7% 0; }
.case-stage::before { content: ""; position: absolute; inset: 12% 0 0 8%; border-radius: 24px; background: var(--bg-3); z-index: 0; }
.case-stage .browser { position: relative; z-index: 1; }
.case-stage .browser .chrome { height: 40px; }
.case-stage .browser .chrome i { width: 11px; height: 11px; }
.case-stage .browser .chrome .url { height: 22px; line-height: 22px; font-size: 11px; }
.case-stage .phone { position: absolute; right: 0; bottom: 0; width: 22%; z-index: 2; }
@media (max-width: 900px) { .case-hero .title-row { grid-template-columns: 1fr; } }

.case-body { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 6vw, 96px); }
.case-body h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: .08em; line-height: 1.6; }
.case-body .text p { margin: 0 0 1.4em; color: var(--ink-2); }
.case-points { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.case-points li { display: flex; gap: 14px; padding: 18px 22px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; }
.case-points li::before { content: "✦"; color: var(--gold); font-size: 11px; line-height: 2.4; }
.case-figures { display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; margin-top: 36px; }
.case-figures .value { display: flex; align-items: baseline; gap: 6px; }
.case-figures .num { font-size: clamp(44px, 5vw, 64px); }
.case-figures .unit { font-family: var(--serif); color: var(--ink-2); }
.case-figures p { margin: 8px 0 0; font-size: 12px; color: var(--ink-3); }
@media (max-width: 900px) { .case-body { grid-template-columns: 1fr; } }

.showcase { display: grid; grid-template-columns: 1fr 300px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.showcase .label { margin: 0 0 14px; font-family: var(--en); font-style: italic; font-size: 17px; color: var(--gold); }
.showcase .browser .screen { aspect-ratio: auto; height: min(78vh, 760px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.showcase .browser .screen img { height: auto; object-fit: initial; }
.showcase .phone .screen { aspect-ratio: auto; height: min(70vh, 620px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.showcase .phone .screen img { height: auto; object-fit: initial; }
.showcase .hint { margin: 12px 0 0; font-size: 12px; color: var(--ink-3); }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } .showcase .sp-col { max-width: 300px; margin: 0 auto; width: 100%; } }

.case-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.case-nav a { padding: 36px 0; display: flex; flex-direction: column; gap: 6px; transition: background-color .4s; }
.case-nav a:last-child { text-align: right; align-items: flex-end; border-left: 1px solid var(--line); padding-left: 24px; }
.case-nav a:first-child { padding-right: 24px; }
.case-nav small { font-family: var(--en); font-style: italic; color: var(--gold); font-size: 16px; }
.case-nav span { font-family: var(--serif); font-size: clamp(14px, 1.8vw, 18px); }
.case-nav a:hover span { color: var(--mocha); }

/* about page */
.profile-grid { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.profile-grid h2 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: .1em; }
.profile-grid .en-name { font-family: var(--en); font-style: italic; color: var(--gold); font-size: 22px; margin: 6px 0 22px; }
.profile-grid p { color: var(--ink-2); margin: 0 0 1.5em; }
.profile-grid .chips { margin-bottom: 28px; }
@media (max-width: 800px) { .profile-grid { grid-template-columns: 1fr; } .profile-grid .arch-wrap { max-width: 380px; margin: 0 auto; } }
.timeline { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line-2); }
.timeline li { position: relative; padding: 0 0 36px 32px; }
.timeline li::before { content: ""; position: absolute; left: -5px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); border: 1px solid var(--gold); }
.timeline li:last-child { padding-bottom: 0; }
.timeline .year { font-family: var(--en); font-size: 26px; line-height: 1.2; color: var(--gold); }
.timeline h3 { margin: 4px 0 6px; font-family: var(--serif); font-weight: 500; font-size: 18px; letter-spacing: .06em; }
.timeline p { margin: 0; font-size: 14px; color: var(--ink-2); }
.record-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.record { padding: 32px 28px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.record.is-accent { background: var(--mocha); color: #fbf8f3; border-color: var(--mocha); }
.record .value { display: flex; align-items: baseline; gap: 6px; }
.record .num { font-size: clamp(48px, 5vw, 64px); }
.record .unit { font-family: var(--serif); font-size: 15px; opacity: .8; }
.record p { margin: 12px 0 0; font-size: 13px; line-height: 1.8; opacity: .85; }
@media (max-width: 900px) { .record-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .record-grid { grid-template-columns: 1fr; } }
.authority { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.authority li { list-style: none; display: flex; gap: 18px; align-items: flex-start; padding: 26px 28px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.authority .icon { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--rose); display: grid; place-items: center; color: var(--mocha); }
.authority .icon svg { width: 20px; height: 20px; }
.authority h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: 17px; letter-spacing: .05em; }
.authority p { margin: 0; font-size: 13px; color: var(--ink-2); }
.authority-list { padding: 0; margin: 0; }
@media (max-width: 800px) { .authority { grid-template-columns: 1fr; } }
.activities { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.activities li { display: grid; grid-template-columns: 60px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.activities .n { font-family: var(--en); font-style: italic; color: var(--gold); font-size: 20px; }
.activities h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: 17px; letter-spacing: .05em; }
.activities p { margin: 0; font-size: 13px; color: var(--ink-2); }

/* contact */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.contact-aside h2 { margin: 0 0 16px; font-family: var(--serif); font-weight: 500; font-size: 22px; letter-spacing: .08em; }
.contact-aside p { color: var(--ink-2); font-size: 14px; }
.contact-aside ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-aside li { display: flex; gap: 12px; font-size: 14px; }
.contact-aside li::before { content: "✦"; color: var(--gold); font-size: 10px; line-height: 2.6; }
.form { padding: clamp(28px, 4vw, 48px); border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.field { margin-bottom: 26px; }
.field label, .field legend { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.field .req { font-size: 10px; padding: 2px 8px; border-radius: 999px; background: var(--mocha); color: #fff; letter-spacing: .1em; }
.field .opt { font-size: 10px; padding: 2px 8px; border-radius: 999px; background: var(--bg-2); color: var(--ink-3); letter-spacing: .1em; }
.field input[type="text"], .field input[type="email"], .field input[type="url"], .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg);
  font: inherit; font-size: 16px; color: var(--ink); letter-spacing: .04em; transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field textarea { min-height: 180px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--mocha); background: #fff; box-shadow: 0 0 0 4px rgba(122, 95, 82, .12); }
.field fieldset { border: 0; margin: 0; padding: 0; }
.radio-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-chips label { margin: 0; font-weight: 400; }
.radio-chips input { position: absolute; opacity: 0; pointer-events: none; }
.radio-chips span { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; cursor: pointer; transition: all .3s var(--ease); }
.radio-chips input:checked + span { background: var(--mocha); border-color: var(--mocha); color: #fff; }
.radio-chips input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.form .note { font-size: 12px; color: var(--ink-3); margin: 0 0 24px; }
.form .btn { width: 100%; --h: 62px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.thanks { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: 160px 0 100px; }
.thanks .en-title { font-family: var(--en); font-size: clamp(56px, 9vw, 110px); line-height: 1; }
.thanks .en-title em { color: var(--gold); }
.thanks p { color: var(--ink-2); margin: 24px auto 40px; max-width: 30em; }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal], .js .split-line > span { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none !important; }
  .client-marquee, .gallery-marquee { overflow-x: auto; }
}

/* additions */
.en-quote { font-family: var(--en); font-style: italic; font-weight: 400; color: var(--gold); font-size: 1.35em; letter-spacing: .01em; }
.case-hero .eyebrow { margin-top: 4px; }
.work-visual.is-static .screen img { object-fit: cover; height: 100%; }
.hero h1 .split-line > span { white-space: nowrap; }
@media (max-width: 767px) { .stat p br { display: none; } }

/* ---------- 公式LINE ---------- */
.btn-line { background: #06803f; color: #fff; }
.btn-line:hover { background: #056b35; transform: translateY(-2px); }
.line-card { padding: clamp(28px, 4vw, 52px); border-radius: 22px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-s); }
.line-card h2 { margin: 18px 0 14px; font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3vw, 34px); line-height: 1.6; letter-spacing: .06em; }
.line-card p { margin: 0; color: var(--ink-2); font-size: 14px; }
.line-card ol { list-style: none; margin: 28px 0; padding: 0; border-top: 1px solid var(--line); }
.line-card li { display: flex; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.line-card li b { font-family: var(--en); font-style: italic; font-weight: 400; font-size: 22px; color: var(--gold); }
.line-qr { display: flex; gap: 22px; align-items: center; margin-bottom: 28px; font-size: 12px; color: var(--ink-2); }
.line-qr img { flex: none; padding: 10px; background: #fff; border-radius: 12px; border: 1px solid var(--line); }
.line-card .btn { width: 100%; --h: 62px; }
.line-card .note { margin-top: 18px; font-size: 12px; color: var(--ink-3); }
.line-card .note a, .site-footer .bottom a { border-bottom: 1px solid currentColor; }
.legal { max-width: 760px; }
.legal h2 { margin: 2.4em 0 .6em; font-family: var(--serif); font-weight: 500; font-size: 19px; letter-spacing: .06em; }
.legal p { margin: 0; color: var(--ink-2); }
@media (max-width: 767px) { .line-qr { display: none; } }
