/* ============================================================
   GOHACHI Design — Corporate Site
   Plan B「建築の余白」
   Palette: greige / charcoal / bronze
============================================================ */
:root {
  --bg:       #EAE7E0;
  --bg2:      #E3E0D8;
  --paper:    #F5F3EE;
  --ink:      #211F1C;
  --ink2:     #56524B;
  --ink3:     #8C877D;
  --hair:     rgba(33,31,28,.14);
  --hair-2:   rgba(33,31,28,.08);
  --dark:     #191815;
  --dark2:    #221F1B;
  --on-dark:  #ECE8E0;
  --on-dark-soft: #A39E94;
  --bronze:   #9A7D4A;
  --bronze-2: #B89A64;
  --bronze-deep: #7C6238;

  --serif: 'Shippori Mincho','Hiragino Mincho ProN',serif;
  --latin: 'Cormorant Garamond',Georgia,serif;
  --sans:  'Zen Kaku Gothic New','Hiragino Kaku Gothic ProN',sans-serif;

  --maxw:   1280px;
  --gutter: clamp(24px,5.5vw,96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 700; }

/* ── shared type ── */
.eyebrow {
  font-family: var(--latin);
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .44em;
  text-transform: uppercase;
  color: var(--bronze);
  display: inline-flex;
  align-items: center;
  gap: .9em;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 1px;
  background: var(--bronze);
  opacity: .7;
  flex-shrink: 0;
}
.eyebrow.center { justify-content: center; }

.jp-title {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.05rem,1.8vw,1.47rem);
  line-height: 1.5;
  letter-spacing: .04em;
  margin: .5em 0 0;
}

.lead {
  color: var(--ink2);
  font-size: 1rem;
  line-height: 1.95;
  max-width: 42em;
  margin: 1.4em 0 0;
  text-wrap: pretty;
}

.section { padding: 80px var(--gutter); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.sec-head { margin-bottom: clamp(48px,6vw,72px); }
.sec-head.center { text-align: center; }
.sec-head.center .eyebrow { justify-content: center; }

/* ── reveal on scroll ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1),
              transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .85em;
  cursor: pointer;
  font-size: .86rem;
  letter-spacing: .16em;
  padding: 15px 34px;
  border-radius: 1px;
  transition: all .4s ease;
  font-family: var(--sans);
  border: none;
}
.btn .ar { font-family: var(--latin); }
.btn-solid {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.72);
}
.btn-solid:hover { border-color: #fff; background: rgba(255,255,255,.09); }
.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.52);
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.09); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hair);
}
.btn-ghost:hover { border-color: var(--bronze); color: var(--bronze); }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background .5s ease, padding .5s ease,
              box-shadow .5s ease, border-color .5s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(234,231,224,.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px var(--gutter);
  border-bottom: 1px solid var(--hair);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand img {
  height: 34px; width: auto;
  filter: brightness(0) invert(1);
  transition: filter .5s ease;
}
.brand .wm {
  display: flex; flex-direction: column;
  line-height: 1.05; color: #fff;
  transition: color .5s ease;
}
.brand .wm .n {
  font-family: var(--latin);
  font-size: 1.18rem;
  letter-spacing: .34em;
  font-weight: 500;
}
.brand .wm .s {
  font-family: var(--latin);
  font-size: .6rem;
  letter-spacing: .5em;
  opacity: .8;
  padding-left: .18em;
}
.site-header.scrolled .brand img { filter: none; }
.site-header.scrolled .brand .wm { color: var(--ink); }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px,2.2vw,40px);
}
.nav a.lnk {
  font-size: .8rem;
  letter-spacing: .16em;
  color: rgba(255,255,255,.86);
  position: relative;
  padding: 4px 0;
  transition: color .5s ease;
}
.site-header.scrolled .nav a.lnk { color: var(--ink2); }
.nav a.lnk::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--bronze);
  transition: width .35s ease;
}
.nav a.lnk:hover::after { width: 100%; }
.nav a.lnk:hover { color: var(--bronze); }
.nav .cta {
  font-size: .78rem;
  letter-spacing: .18em;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 1px;
  padding: 10px 22px;
  transition: all .4s ease;
}
.nav .cta:hover { background: var(--bronze); border-color: var(--bronze); color: #fff; }
.site-header.scrolled .nav .cta { color: var(--ink); border-color: var(--bronze); }
.site-header.scrolled .nav .cta:hover { background: var(--bronze); color: #fff; }

/* ── hamburger (mobile) ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 1px;
  cursor: pointer;
  padding: 0 10px;
  color: #fff;
  transition: border-color .4s ease, color .4s ease;
}
.hamburger span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform .38s cubic-bezier(.76,0,.24,1),
              opacity .25s ease,
              width .3s ease;
  width: 100%;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.site-header.scrolled .hamburger {
  color: var(--ink);
  border-color: var(--hair);
}

/* ── mobile nav overlay ── */
.nav-overlay {
  position: fixed; inset: 0;
  background: rgba(25,24,21,.6);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s ease;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

.nav-mobile {
  position: fixed;
  top: 0; right: 0;
  width: min(320px,82vw);
  height: 100vh;
  background: var(--dark);
  z-index: 101;
  transform: translateX(100%);
  transition: transform .46s cubic-bezier(.76,0,.24,1);
  padding: 80px 40px 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
}
.nav-mobile.open { transform: none; }
.nav-mobile-close {
  position: absolute;
  top: 22px; right: 22px;
  width: 40px; height: 40px;
  background: transparent;
  border: 1px solid rgba(236,232,224,.2);
  border-radius: 1px;
  color: var(--on-dark);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color .3s ease, color .3s ease;
}
.nav-mobile-close:hover { border-color: var(--bronze-2); color: var(--bronze-2); }
.nav-mobile a {
  font-size: .86rem;
  letter-spacing: .2em;
  color: var(--on-dark-soft);
  padding: 17px 0;
  border-bottom: 1px solid rgba(236,232,224,.1);
  transition: color .3s ease;
}
.nav-mobile a:first-of-type { border-top: 1px solid rgba(236,232,224,.1); }
.nav-mobile a:hover { color: #fff; }
.nav-mobile .cta-mobile {
  margin-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: .8em;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.72);
  padding: 14px 28px;
  font-size: .82rem;
  letter-spacing: .18em;
  border-radius: 1px;
  transition: border-color .4s ease, background .4s ease;
}
.nav-mobile .cta-mobile:hover { border-color: #fff; background: rgba(255,255,255,.09); }

/* ============================================================
   01  HERO / ファーストビュー
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero .bg { position: absolute; inset: 0; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.hero .bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15,14,12,.46) 0%,
    rgba(15,14,12,.1)  38%,
    rgba(15,14,12,.18) 62%,
    rgba(12,11,9,.84)  100%
  );
}
.hero .inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(68px,12vh,132px);
}
.hero .kicker {
  font-family: var(--latin);
  color: var(--bronze-2);
  letter-spacing: .42em;
  text-transform: uppercase;
  font-size: .92rem;
  font-weight: 500;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 1em;
}
.hero .kicker::before {
  content: "";
  width: 46px; height: 1px;
  background: var(--bronze-2);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  color: #fff;
  font-size: clamp(1.47rem,3.5vw,2.8rem);
  line-height: 1.44;
  letter-spacing: .04em;
  margin: 0;
  text-shadow: 0 2px 40px rgba(0,0,0,.4);
}
.hero .sub {
  color: rgba(255,255,255,.84);
  font-size: clamp(.98rem,1.4vw,1.12rem);
  line-height: 2;
  margin: 28px 0 0;
  max-width: 34em;
}
.hero .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 44px;
}
.scrollcue {
  position: absolute; z-index: 3;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  font-family: var(--latin);
  letter-spacing: .32em;
  font-size: .68rem;
  color: rgba(255,255,255,.65);
}
.scrollcue .ln {
  width: 1px; height: 48px;
  background: linear-gradient(rgba(255,255,255,.65),transparent);
  animation: cue 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes cue {
  0%,100% { transform: scaleY(.35); opacity: .35; }
  50%      { transform: scaleY(1);   opacity: 1;   }
}

/* ============================================================
   02  選ばれる理由 / REASON
============================================================ */
.reasons { background: var(--bg); }
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--hair);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.reason {
  background: var(--bg);
  padding: clamp(32px,3vw,48px) clamp(22px,2.2vw,36px);
  display: flex; flex-direction: column;
  gap: 20px;
  min-height: 320px;
  transition: background .45s ease;
}
.reason:hover { background: var(--paper); }
.reason .top {
  display: flex; align-items: baseline;
  justify-content: space-between;
}
.reason .no {
  font-family: var(--latin);
  font-size: 1.5rem;
  color: var(--bronze);
  letter-spacing: .05em;
}
.reason .ic { height: 60px; display: flex; align-items: flex-end; }
.reason .ic img { height: 100%; width: auto; opacity: .9; }
.reason .grow { display: none; }
.reason h3 {
  margin-top: clamp(28px,3vw,44px);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.52;
  margin: 0;
  letter-spacing: .03em;
}
.reason p { margin: 0; color: var(--ink2); font-size: .9rem; line-height: 1.9; }
.reason .grow { flex: 1; }

/* ============================================================
   CONCEPT BAND
============================================================ */
.concept { position: relative; overflow: hidden; background: var(--dark); }
.concept .layout {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: clamp(440px,60vh,640px);
}
.concept .media { position: relative; }
.concept .media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.concept .copy {
  display: flex; flex-direction: column;
  justify-content: center;
  padding: clamp(52px,7vw,100px);
  color: var(--on-dark);
}
.concept .copy .eyebrow { color: var(--bronze-2); }
.concept .copy .eyebrow::before { background: var(--bronze-2); }
.concept .copy h2 {
  font-family: var(--serif);
  font-weight: 700;
  color: #fff;
  font-size: clamp(0.98rem,1.68vw,1.4rem);
  line-height: 1.65;
  letter-spacing: .04em;
  margin: .6em 0 0;
}
.concept .copy h2 .em { color: var(--bronze-2); }
.concept .copy p {
  color: var(--on-dark-soft);
  margin-top: 1.6em;
  max-width: 30em;
  line-height: 2;
}

/* ============================================================
   03  サービス / SERVICE
============================================================ */
.services { background: var(--paper); }
.svc-list { display: flex; flex-direction: column; }
.svc {
  display: grid;
  grid-template-columns: 88px minmax(0,1fr) auto 68px;
  align-items: center;
  gap: clamp(20px,3.8vw,58px);
  padding: clamp(36px,4.2vw,54px) 0;
  border-top: 1px solid var(--hair);
  transition: padding-left .45s ease;
}
.svc:last-child { border-bottom: 1px solid var(--hair); }
.svc:hover { padding-left: 14px; }
.svc .no {
  font-family: var(--latin);
  font-size: 1.55rem;
  color: var(--bronze);
  align-self: flex-start;
  padding-top: .1em;
}
.svc .body h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.35rem,2.2vw,1.88rem);
  margin: 0;
  letter-spacing: .04em;
  line-height: 1.38;
}
.svc .body .en {
  font-family: var(--latin);
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--ink3);
  font-size: .76rem;
  margin-top: .5em;
  display: block;
}
.svc .body p {
  margin: .9em 0 0;
  color: var(--ink2);
  font-size: .94rem;
  max-width: 46em;
  line-height: 1.95;
}
.svc .ic {
  height: 56px; display: flex;
  align-items: center; justify-content: center;
  opacity: .84;
}
.svc .ic img { max-height: 56px; width: auto; }
.svc .go {
  justify-self: end;
  width: 46px; height: 46px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--latin);
  color: var(--ink2);
  transition: all .4s ease;
}
.svc:hover .go { background: var(--bronze); border-color: var(--bronze); color: #fff; }

/* ── service detail cards (service.html) ── */
.svc-detail-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: clamp(20px,2.4vw,36px);
  margin-top: clamp(40px,5vw,64px);
}
.svc-card {
  background: var(--bg);
  padding: clamp(36px,4vw,52px) clamp(28px,3vw,40px);
  display: flex; flex-direction: column;
  gap: 24px;
}
.svc-card .card-no {
  font-family: var(--latin);
  font-size: 2.4rem;
  color: var(--bronze);
  line-height: 1;
  letter-spacing: .04em;
}
.svc-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.38rem;
  line-height: 1.45;
  letter-spacing: .04em;
  margin: 0;
}
.svc-card .en-label {
  font-family: var(--latin);
  font-size: .72rem;
  letter-spacing: .36em;
  text-transform: uppercase;
  color: var(--ink3);
  display: block;
}
.svc-card p { color: var(--ink2); font-size: .92rem; line-height: 1.95; margin: 0; }
.svc-card ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink2);
  font-size: .88rem;
  line-height: 2;
}
.svc-card .price-tag {
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  font-family: var(--latin);
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: .02em;
}
.svc-card .price-tag small {
  font-family: var(--sans);
  font-size: .72rem;
  color: var(--ink3);
  display: block;
  letter-spacing: .06em;
  margin-top: .3em;
}

/* ── CTA banner ── */
.cta-band {
  background: var(--dark);
  padding: clamp(60px,8vw,100px) var(--gutter);
  text-align: center;
}
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 700;
  color: #fff;
  font-size: clamp(1.015rem,1.75vw,1.4rem);
  letter-spacing: .04em;
  line-height: 1.5;
  margin: 0 0 36px;
}
.cta-band p {
  color: var(--on-dark-soft);
  max-width: 38em;
  margin: 0 auto 44px;
  font-size: 1rem;
  line-height: 1.95;
}
.cta-band .actions {
  display: flex; flex-wrap: wrap;
  gap: 16px; justify-content: center;
}

/* ============================================================
   04  制作実績 / WORKS
============================================================ */
.works { background: var(--bg); }
.works .head-row {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: clamp(36px,5vw,60px);
  flex-wrap: wrap;
}
.filters {
  display: flex; gap: 9px; flex-wrap: wrap;
}
.filters button {
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .14em;
  color: var(--ink2);
  background: transparent;
  border: 1px solid var(--hair);
  border-radius: 1px;
  padding: 8px 17px;
  cursor: pointer;
  transition: all .32s ease;
}
.filters button:hover,
.filters button.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ── advanced filter groups ── */
.filter-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 28px 52px;
  margin-bottom: 52px;
}
.filter-group {
  display: flex; flex-direction: column; gap: 10px;
}
.filter-group > label {
  font-family: var(--latin);
  font-size: .68rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--bronze);
  display: block;
}
.filter-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ftag {
  font-size: .76rem;
  letter-spacing: .1em;
  color: var(--ink2);
  background: transparent;
  border: 1px solid var(--hair);
  border-radius: 1px;
  padding: 7px 15px;
  cursor: pointer;
  transition: all .3s ease;
  font-family: var(--sans);
}
.ftag:hover,
.ftag.on {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.work.hidden { display: none; }

.works-disclaimer {
  margin-top: 40px;
  text-align: center;
  font-size: .75rem;
  color: var(--ink3);
  letter-spacing: .06em;
  line-height: 1.7;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: clamp(8px,1vw,16px);
}
.work {
  position: relative; overflow: hidden;
  cursor: pointer; background: var(--dark);
  display: block;
}
.work.big,
.work.sm { grid-column: span 1; }
.work .ph,
.work.sm .ph { aspect-ratio: 1/1; overflow: hidden; }
.work .ph img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .6s ease;
  -webkit-user-drag: none;
  user-drag: none;
  -webkit-user-select: none;
  user-select: none;
  pointer-events: none;
  filter: saturate(.9);
}
.work:hover .ph img { transform: scale(1.055); }
.work .ph::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg,transparent 45%,rgba(12,11,9,.72) 100%);
  opacity: .88;
  transition: opacity .5s ease;
}
.work .meta {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  padding: clamp(16px,2vw,28px);
  color: #fff;
}
.work .meta .cat {
  font-family: var(--latin);
  letter-spacing: .28em;
  text-transform: uppercase;
  font-size: .68rem;
  color: var(--bronze-2);
  margin-bottom: .45em;
}
.work .meta .ttl {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1rem,1.5vw,1.35rem);
  letter-spacing: .03em;
}
.work .meta .tags {
  margin-top: .6em;
  display: flex; flex-wrap: wrap; gap: 6px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.work:hover .meta .tags { opacity: 1; transform: none; }
.work .meta .tag {
  font-size: .62rem;
  letter-spacing: .12em;
  background: rgba(154,125,74,.7);
  color: #fff;
  padding: 3px 9px;
  border-radius: 1px;
}
.works .more {
  margin-top: clamp(40px,5vw,58px);
  display: flex; justify-content: center;
}

/* ============================================================
   05  料金・サービス比較 / PRICING
============================================================ */
.pricing { background: var(--paper); }
.ptable {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}
.ptable th,
.ptable td {
  border-bottom: 1px solid var(--hair);
  padding: 19px 16px;
  text-align: center;
  vertical-align: middle;
}
.ptable thead th {
  padding-top: 0;
  border-bottom: 1px solid var(--ink);
  vertical-align: bottom;
}
.ptable .feat {
  text-align: left;
  color: var(--ink);
  font-size: .93rem;
  width: 34%;
}
.ptable .feat .fs {
  display: block;
  color: var(--ink3);
  font-size: .72rem;
  font-family: var(--latin);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: .18em;
}
.plan { position: relative; }
.plan .pn {
  font-family: var(--latin);
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink2);
  font-size: .78rem;
}
.plan .pj {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  margin-top: .32em;
  color: var(--ink);
}
.plan .pp {
  font-family: var(--latin);
  font-size: 1.72rem;
  color: var(--ink);
  margin-top: .45em;
  letter-spacing: .02em;
}
.plan .pp small {
  display: block;
  font-family: var(--sans);
  font-size: .68rem;
  color: var(--ink3);
  letter-spacing: .06em;
  margin-top: .28em;
}
.plan .pp.sm-price { font-size: 1.2rem; }
.plan.reco { background: var(--bg); }
.plan.reco .pn { color: var(--bronze); }
.tag-reco {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--bronze);
  color: #fff;
  font-size: .64rem;
  letter-spacing: .22em;
  padding: 4px 13px;
  font-family: var(--sans);
  white-space: nowrap;
}
.ptable td.reco { background: var(--bg); }
.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--bronze);
  display: inline-block;
}
.dash { color: var(--ink3); }
.price-category {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .06em;
  color: var(--ink);
}
.price-lead {
  font-family: var(--sans);
  font-weight: 400;
  font-size: .8rem;
  color: var(--ink3);
  letter-spacing: .04em;
  margin-left: .8em;
}
.price-note {
  margin-top: 22px;
  color: var(--ink3);
  font-size: .78rem;
  text-align: center;
  letter-spacing: .04em;
}

/* ============================================================
   TESTIMONIALS / お客様の声
============================================================ */
.testimonials { background: var(--paper); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  background: var(--hair);
  border: 1px solid var(--hair);
  margin-top: 56px;
}
.testi {
  background: var(--paper);
  padding: 44px 36px 40px;
  display: flex; flex-direction: column;
}
.testi .stars {
  color: var(--bronze);
  font-size: .82rem;
  letter-spacing: .18em;
  margin-bottom: 22px;
}
.testi .quote {
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.88;
  color: var(--ink);
  letter-spacing: .03em;
  flex: 1;
}
.testi .author {
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
  display: flex; flex-direction: column; gap: 5px;
}
.testi .author .name {
  font-family: var(--serif);
  font-size: .96rem;
  color: var(--ink);
  font-weight: 700;
}
.testi .author .attr {
  font-size: .76rem;
  color: var(--ink3);
  letter-spacing: .1em;
}

/* ============================================================
   06  お問い合わせ / CONTACT
============================================================ */
.contact { background: var(--dark); color: var(--on-dark); }
.contact .eyebrow { color: var(--bronze-2); }
.contact .eyebrow::before { background: var(--bronze-2); }
.contact .jp-title { color: #fff; }
.contact .lead { color: var(--on-dark-soft); }
.contact .grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: clamp(40px,6vw,88px);
  align-items: start;
  margin-top: clamp(42px,5vw,66px);
}
.form { display: flex; flex-direction: column; gap: 26px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.field { display: flex; flex-direction: column; gap: 11px; }
.field label {
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--on-dark);
  display: flex; align-items: center; gap: .7em;
}
.field .req {
  font-size: .6rem;
  letter-spacing: .12em;
  color: var(--bronze-2);
  border: 1px solid rgba(184,154,100,.5);
  padding: 2px 7px;
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(236,232,224,.28);
  color: #fff;
  font-family: var(--sans);
  font-size: .96rem;
  padding: 12px 2px;
  outline: none;
  transition: border-color .4s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { color: var(--on-dark-soft); }
.field select option { color: #111; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--bronze-2); }
.field input::placeholder,
.field textarea::placeholder { color: rgba(163,158,148,.6); }
.consent {
  display: flex; align-items: center;
  gap: 11px;
  color: var(--on-dark-soft);
  font-size: .8rem;
  letter-spacing: .04em;
  cursor: pointer;
}
.consent input { width: 16px; height: 16px; accent-color: var(--bronze); }
.form .submit { align-self: flex-start; margin-top: 6px; }

.contact-side {
  border: 1px solid rgba(236,232,224,.16);
  padding: clamp(28px,3vw,44px);
}
.contact-side .lbl {
  font-family: var(--latin);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bronze-2);
  font-size: .7rem;
  margin-bottom: 4px;
}
.ci {
  display: flex; align-items: flex-start;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(236,232,224,.14);
}
.ci:last-child { border-bottom: none; padding-bottom: 0; }
.ci .ico { width: 28px; flex: none; margin-top: 5px; }
.ci .ico img { width: 100%; filter: brightness(0) invert(1); opacity: .82; }
.ci .t .h {
  font-size: .72rem;
  letter-spacing: .18em;
  color: var(--on-dark-soft);
  text-transform: uppercase;
  font-family: var(--latin);
}
.ci .t .v {
  font-family: var(--serif);
  font-size: 1.18rem;
  color: #fff;
  margin-top: .2em;
  letter-spacing: .03em;
}
.ci .t .v small {
  font-family: var(--sans);
  font-size: .76rem;
  color: var(--on-dark-soft);
  display: block;
  letter-spacing: .04em;
  margin-top: .3em;
}

/* ── FAQ ── */
.faq-list {
  display: flex; flex-direction: column;
  gap: 2px;
  margin-top: 56px;
  background: var(--hair);
  border: 1px solid var(--hair);
}
.faq-item {
  background: var(--bg);
}
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 26px 32px;
  cursor: pointer;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .03em;
  list-style: none;
  transition: background .3s ease;
}
.faq-q:hover { background: var(--paper); }
.faq-q::marker { display: none; }
.faq-q .faq-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--latin);
  font-size: 1.1rem;
  color: var(--bronze);
  transition: transform .38s ease, background .3s ease, color .3s ease;
}
.faq-item.open .faq-q .faq-icon {
  transform: rotate(45deg);
  background: var(--bronze);
  color: #fff;
  border-color: var(--bronze);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .5s cubic-bezier(.4,0,.2,1);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 4px 32px 30px;
  color: var(--ink2);
  font-size: .94rem;
  line-height: 1.95;
}

/* ============================================================
   PAGE HERO (下層ページ共通)
============================================================ */
.page-hero {
  padding: 148px var(--gutter) 76px;
  background: var(--dark);
}
.page-hero .eyebrow { color: var(--bronze-2); }
.page-hero .eyebrow::before { background: var(--bronze-2); }
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.33rem,2.59vw,2.24rem);
  color: #fff;
  margin: .42em 0 0;
  letter-spacing: .04em;
  line-height: 1.38;
}
.page-hero p {
  color: var(--on-dark-soft);
  max-width: 38em;
  margin: 1.25em 0 0;
  font-size: 1rem;
  line-height: 1.95;
}

/* ── company overview table ── */
.overview-section { background: var(--bg); }
.overview-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .94rem;
}
.overview-table tr { border-bottom: 1px solid var(--hair); }
.overview-table tr:first-child { border-top: 1px solid var(--hair); }
.overview-table th {
  font-family: var(--latin);
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--bronze);
  padding: 22px 0 22px 0;
  width: 200px;
  text-align: left;
  vertical-align: top;
}
.overview-table td {
  padding: 22px 0;
  color: var(--ink2);
  line-height: 1.8;
}

/* ── credentials ── */
.credentials { background: var(--paper); }
.cred-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 2px;
  background: var(--hair);
  border: 1px solid var(--hair);
  margin-top: 52px;
}
.cred-item {
  background: var(--paper);
  padding: 38px 36px;
  display: flex; align-items: flex-start; gap: 22px;
}
.cred-item .ic {
  width: 46px; flex-shrink: 0;
  padding-top: 4px;
}
.cred-item .ic img { width: 100%; opacity: .88; }
.cred-item h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 0 8px;
  letter-spacing: .03em;
}
.cred-item p { margin: 0; color: var(--ink2); font-size: .88rem; line-height: 1.9; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #121110;
  color: var(--on-dark);
  padding: clamp(64px,8vw,108px) var(--gutter) 38px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: clamp(28px,4vw,56px);
}
.foot-brand img {
  height: auto; width: 148px;
  filter: brightness(0) invert(1);
}
.foot-brand p {
  color: var(--on-dark-soft);
  font-size: .84rem;
  line-height: 1.95;
  margin: 22px 0 0;
  max-width: 24em;
}
.foot-col h4 {
  font-family: var(--latin);
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--bronze-2);
  font-size: .72rem;
  margin: 0 0 18px;
  font-weight: 500;
}
.foot-col a,
.foot-col p {
  display: block;
  color: var(--on-dark-soft);
  font-size: .84rem;
  line-height: 1.5;
  margin: 0 0 12px;
  transition: color .35s ease;
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  margin-top: clamp(48px,6vw,80px);
  padding-top: 26px;
  border-top: 1px solid rgba(236,232,224,.13);
  color: var(--ink3);
  font-size: .72rem;
  letter-spacing: .08em;
  font-family: var(--latin);
}
.foot-bottom a { color: var(--on-dark-soft); }
.foot-bottom a:hover { color: #fff; }

/* ============================================================
   PRICING — scroll-margin-top for anchor links
============================================================ */
#cg,
#web,
#design-support {
  scroll-margin-top: 80px;
}

/* ============================================================
   ABOUT — 運営者プロフィール
   (uses existing .overview-table styles)
============================================================ */

/* ============================================================
   PROCESS — 制作の流れ
============================================================ */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  background: var(--hair);
  border: 1px solid var(--hair);
  margin-top: clamp(40px, 5vw, 64px);
}
.flow-step {
  background: var(--bg);
  padding: 32px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.flow-no {
  font-family: var(--latin);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--bronze);
  letter-spacing: .06em;
  line-height: 1;
}
.flow-step h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: .98rem;
  margin: 0;
  letter-spacing: .04em;
  color: var(--ink);
}
.flow-step p {
  margin: 0;
  font-size: .82rem;
  color: var(--ink2);
  line-height: 1.75;
}

/* ============================================================
   LIGHTBOX
============================================================ */
#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9500;
  background: rgba(12,11,9,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
#lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lb-inner {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-img {
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  opacity: 0;
  transform: scale(.96);
  transition: opacity .35s ease, transform .35s ease;
  -webkit-user-drag: none;
  user-select: none;
  pointer-events: none;
}
#lightbox.open .lb-img {
  opacity: 1;
  transform: scale(1);
}
.lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .3s ease, background .3s ease;
}
.lb-close:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ============================================================
   RESPONSIVE — 1000px
============================================================ */
@media (max-width: 1000px) {
  .reasons-grid { grid-template-columns: repeat(3,1fr); }
  .concept .layout { grid-template-columns: 1fr; }
  .concept .media { min-height: 300px; }
  .works-grid { grid-template-columns: repeat(2,1fr); }
  .work.big,
  .work.sm { grid-column: span 1; }
  .work .ph,
  .work.sm .ph { aspect-ratio: 1/1; }
  .contact .grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 38px 28px; }
  .svc-detail-grid { grid-template-columns: 1fr; }
  .cred-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RESPONSIVE — 768px (mobile)
============================================================ */
@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }

  .reasons-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: repeat(2,1fr); }
  .work.big,
  .work.sm { grid-column: span 1; }
  .work .ph,
  .work.sm .ph { aspect-ratio: 1/1; }

  .svc {
    grid-template-columns: 52px 1fr;
    row-gap: 6px;
  }
  .svc .ic,
  .svc .go { display: none; }

  .frow { grid-template-columns: 1fr; }
  .contact .grid { grid-template-columns: 1fr; }

  .ptable { font-size: .78rem; }
  .ptable th,
  .ptable td { padding: 13px 7px; }
  .ptable .feat .fs { display: none; }

  .foot-grid { grid-template-columns: 1fr; }

  .filter-groups { flex-direction: column; gap: 22px; }

  .cred-grid { grid-template-columns: 1fr; }
  .overview-table th { width: 120px; font-size: .68rem; }

  .flow-steps {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .flow-step {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 16px;
  }
  .flow-step .flow-no {
    flex-shrink: 0;
    font-size: 1.4rem;
  }
}
