/* =========================================================
   S&K Consultant — corporate site
   brand: charcoal #232227 / gold #C59461 / paper #FFFFFF
   ========================================================= */
:root {
  --ink: #232227;
  --ink-soft: #3a3940;
  --paper: #ffffff;
  --gold: #c59461;
  --gold-deep: #8f6636;
  --gold-soft: #f3eadc;
  --mut: #5f5e67;
  --mut-dark: #b9b8be;
  --card: #f5f4f6;
  --line: #e3e2e7;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --en: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-padding-top: 90px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* skip link (keyboard / screen reader) */
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 300;
  background: var(--gold); color: var(--ink);
  padding: 12px 22px; border-radius: 0 0 8px 8px;
  font-size: 13px; font-weight: 700; transition: top 0.18s ease;
}
.skip-link:focus { top: 0; }

/* global focus ring */
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible,
.cta-band :focus-visible, .site-footer :focus-visible, .dark-band :focus-visible,
.photo-card:focus-visible { outline-color: #f0c489; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
  font-size: 15.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(35, 34, 39, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-header .inner {
  max-width: 1160px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand img { height: 40px; width: auto; }
.gnav { display: flex; align-items: center; gap: 4px; }
.gnav > li { position: relative; }
.gnav > li > a {
  display: block; padding: 20px 14px; color: #f0eff2;
  font-size: 13.5px; font-weight: 500;
}
.gnav > li > a:hover { color: var(--gold); }
.gnav .has-sub > a::after {
  content: ""; display: inline-block; margin-left: 6px;
  width: 5px; height: 5px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px);
}
.subnav {
  position: absolute; top: 100%; left: 0; min-width: 250px;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(35, 34, 39, 0.12);
  border-radius: 8px; padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: 0.18s ease;
}
.gnav li:hover .subnav, .gnav li:focus-within .subnav {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.subnav a {
  display: block; padding: 9px 14px; border-radius: 6px;
  color: var(--ink); font-size: 13.5px;
}
.subnav a:hover { background: var(--gold-soft); color: var(--gold-deep); }
.subnav a small { color: var(--mut); font-size: 11px; margin-left: 6px; }
.nav-cta {
  margin-left: 12px;
  background: var(--gold); color: var(--ink) !important;
  padding: 10px 22px !important; border-radius: 999px;
  font-weight: 700 !important; font-size: 13px !important;
  transition: 0.15s;
}
.nav-cta:hover { background: #d5a877; color: var(--ink) !important; }

/* mobile nav */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative;
}
.nav-toggle span {
  position: absolute; left: 10px; width: 24px; height: 2px;
  background: #f0eff2; transition: 0.2s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .gnav {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column;
    align-items: stretch; gap: 0; background: var(--ink);
    padding: 8px 16px 24px; display: none;
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .gnav.open { display: flex; }
  .gnav > li > a { padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .subnav {
    position: static; opacity: 1; visibility: visible; transform: none;
    background: transparent; border: 0; box-shadow: none; padding: 0 0 0 16px;
  }
  .subnav a { color: var(--mut-dark); padding: 10px 8px; }
  .subnav a small { color: var(--mut); }
  .nav-cta { margin: 16px 8px 0; text-align: center; }
}

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: var(--mut-dark); margin-top: 96px; }
.site-footer .inner {
  max-width: 1160px; margin: 0 auto; padding: 56px 20px 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-grid h4 {
  color: #f0eff2; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.08em; margin-bottom: 14px;
}
.footer-grid li { margin: 7px 0; }
.footer-grid a { font-size: 12.5px; color: var(--mut-dark); }
.footer-grid a:hover { color: var(--gold); }
.footer-brand img { height: 44px; margin-bottom: 14px; }
.footer-brand p { font-size: 12px; line-height: 1.8; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  padding-top: 20px; font-size: 11.5px;
}
.footer-bottom a { color: var(--mut-dark); margin-right: 18px; }
.footer-bottom a:hover { color: var(--gold); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- common parts ---------- */
.eyebrow {
  display: block; font-size: 12px; font-weight: 700; font-family: var(--en);
  letter-spacing: 0.26em; color: var(--gold-deep); margin-bottom: 14px;
}
.section { padding: 104px 0 0; }
.section-head { margin-bottom: 48px; position: relative; }
.section-head h2 {
  font-family: var(--serif); font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 600; line-height: 1.4; position: relative;
}
.section-head .lede { margin-top: 16px; color: var(--mut); font-size: 14.5px; max-width: 640px; position: relative; }
.ghost {
  position: absolute; right: -8px; top: -54px; z-index: 0;
  font-family: var(--en); font-weight: 800; line-height: 1;
  font-size: clamp(72px, 12vw, 150px); letter-spacing: 0.02em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(35, 34, 39, 0.10);
  user-select: none; pointer-events: none; white-space: nowrap;
}
.on-dark .ghost { -webkit-text-stroke-color: rgba(255, 255, 255, 0.12); }
@media (max-width: 700px) { .ghost { display: none; } }

.btn {
  display: inline-block; padding: 14px 36px; border-radius: 999px;
  font-weight: 700; font-size: 14px; text-align: center;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover {
  background: #d5a877; transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(197, 148, 97, 0.35);
}
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn-ghost-dark { border: 1.5px solid rgba(255,255,255,0.35); color: #f0eff2; }
.btn-ghost-dark:hover { border-color: var(--gold); color: var(--gold); }

.pill {
  display: inline-block; padding: 3px 14px; border-radius: 999px;
  background: var(--gold-soft); border: 1px solid var(--gold);
  color: var(--gold-deep); font-size: 11.5px; font-weight: 700;
}
.pill.soon { background: #ececef; border-color: var(--mut); color: var(--mut); }
.pill.dark { background: var(--ink-soft); border-color: var(--gold); color: var(--gold); }

/* ---------- hero (top / full screen) ---------- */
.hero {
  background: var(--ink); color: #f7f6f8;
  position: relative; overflow: hidden;
  min-height: calc(100svh - 64px);
  display: flex; flex-direction: column; justify-content: center;
  padding: 100px 0 150px;
}
.hero-bg {
  position: absolute; inset: -4%;
  background: url(/assets/img/ph-hero.webp) center / cover no-repeat;
  will-change: transform;
}
@media (max-width: 900px) {
  .hero-bg { background-image: url(/assets/img/ph-hero-sm.webp); }
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transition: opacity 1.1s ease;
}
.hero-video.is-ready { opacity: 1; }
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(35, 34, 39, 0.55) 0%, rgba(35, 34, 39, 0.15) 35%, rgba(35, 34, 39, 0.72) 100%),
    linear-gradient(95deg, rgba(35, 34, 39, 0.82) 8%, rgba(35, 34, 39, 0.28) 58%, rgba(35, 34, 39, 0.05) 100%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero .eyebrow { color: var(--gold); font-family: var(--en); letter-spacing: 0.3em; }
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(38px, 6.2vw, 76px); line-height: 1.32;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: block; }
.hero .lede {
  margin-top: 28px; color: #e6e4ea; font-size: clamp(14px, 1.3vw, 16.5px);
  max-width: 640px; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}
.hero .actions { margin-top: 42px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn { padding: 16px 44px; font-size: 14.5px; }

/* scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 92px; transform: translateX(-50%);
  z-index: 2; color: rgba(255, 255, 255, 0.75);
  font-family: var(--en); font-size: 10px; letter-spacing: 0.3em; font-weight: 700;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.scroll-cue::after {
  content: ""; width: 1px; height: 52px;
  background: linear-gradient(180deg, var(--gold), transparent);
}

/* product marquee (hero bottom) */
.hero-marquee {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(35, 34, 39, 0.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  overflow: hidden; padding: 16px 0;
}
.marquee-track {
  display: flex; gap: 64px; width: max-content;
  font-family: var(--en); font-weight: 700; font-size: 13px;
  letter-spacing: 0.24em; color: rgba(255, 255, 255, 0.82); white-space: nowrap;
}
.marquee-track .dot { color: var(--gold); }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  background: var(--ink);
  color: #f7f6f8; padding: 104px 0 96px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-position: center; background-size: cover; background-repeat: no-repeat;
}
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(35, 34, 39, 0.93) 22%, rgba(35, 34, 39, 0.55) 65%, rgba(35, 34, 39, 0.35) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.ph-city::before { background-image: url(/assets/img/ph-city.webp); }
.ph-hero::before { background-image: url(/assets/img/ph-hero.webp); }
.ph-consulting::before { background-image: url(/assets/img/ph-consulting.webp); }
.ph-subsidy::before { background-image: url(/assets/img/ph-subsidy.webp); }
.ph-ads::before { background-image: url(/assets/img/ph-ads.webp); }
.ph-dev::before { background-image: url(/assets/img/ph-dev.webp); }
.ph-salon::before { background-image: url(/assets/img/ph-salon.webp); }
@media (max-width: 900px) {
  .ph-city::before { background-image: url(/assets/img/ph-city-sm.webp); }
  .ph-hero::before { background-image: url(/assets/img/ph-hero-sm.webp); }
  .ph-consulting::before { background-image: url(/assets/img/ph-consulting-sm.webp); }
  .ph-subsidy::before { background-image: url(/assets/img/ph-subsidy-sm.webp); }
  .ph-ads::before { background-image: url(/assets/img/ph-ads-sm.webp); }
  .ph-dev::before { background-image: url(/assets/img/ph-dev-sm.webp); }
  .ph-salon::before { background-image: url(/assets/img/ph-salon-sm.webp); }
}
@media (prefers-reduced-motion: no-preference) {
  .page-hero::before {
    inset: -5%;
    animation: bgDrift 32s ease-in-out infinite alternate;
  }
}
.page-hero .eyebrow { color: var(--gold); margin-bottom: 10px; font-family: var(--en); letter-spacing: 0.28em; }
.page-hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(30px, 4.4vw, 50px); line-height: 1.4;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}
.page-hero .lede { margin-top: 16px; color: #e2e0e6; font-size: 14.5px; max-width: 640px; text-shadow: 0 1px 10px rgba(0,0,0,.4); }
.breadcrumb { padding-top: 14px; font-size: 11.5px; color: var(--mut); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--line); }
.breadcrumb a:hover { color: var(--gold-deep); }

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 20px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 900px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .grid.cols-5 { grid-template-columns: 1fr; }
}

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 28px;
}
.card.dark { background: var(--ink); border-color: var(--ink); color: #f0eff2; }
.card.dark .mut { color: var(--mut-dark); }
.card h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.card .desc { font-size: 13px; color: var(--mut); line-height: 1.85; }
.card.dark .desc { color: var(--mut-dark); }
.card .num {
  font-family: var(--serif); font-size: 22px; font-weight: 700;
  color: var(--gold); display: block; margin-bottom: 8px;
}
.card-link { transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease; display: block; }
.card-link:hover {
  transform: translateY(-4px); border-color: var(--gold);
  box-shadow: 0 16px 36px rgba(35, 34, 39, 0.12);
}

/* ---------- photo cards (business grid) ---------- */
.photo-card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 340px; border-radius: 14px; overflow: hidden;
  color: #f7f6f8; padding: 30px;
}
.photo-card.tall { min-height: 440px; }
.photo-card .pc-bg {
  position: absolute; inset: 0; z-index: 0 !important;
  background-size: cover; background-position: center;
  transition: transform 0.8s cubic-bezier(0.22, 0.65, 0.3, 1);
}
.photo-card::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(35, 34, 39, 0.55) 0%, rgba(35, 34, 39, 0) 26%),
    linear-gradient(185deg, rgba(35, 34, 39, 0.05) 26%, rgba(35, 34, 39, 0.78) 62%, rgba(35, 34, 39, 0.96) 100%);
}
.photo-card:hover .pc-bg { transform: scale(1.06); }
.photo-card > * { position: relative; z-index: 2; }
.photo-card .num {
  position: absolute; top: 22px; left: 26px;
  font-family: var(--en); font-weight: 800; font-size: 15px;
  letter-spacing: 0.18em; color: var(--gold);
}
.photo-card .num::after {
  content: ""; display: block; width: 26px; height: 2px;
  background: var(--gold); margin-top: 8px;
}
.photo-card h3 {
  font-family: var(--serif); font-size: clamp(19px, 2vw, 24px);
  font-weight: 600; margin-bottom: 8px; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}
.photo-card .desc { font-size: 12.5px; color: #dcdae0; line-height: 1.8; }
.photo-card .pills { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.photo-card .pill { background: rgba(35, 34, 39, 0.55); border-color: rgba(197, 148, 97, 0.8); color: var(--gold); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.photo-card .arrow {
  position: absolute; right: 24px; bottom: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: grid; place-items: center; font-family: var(--en); font-weight: 700;
  transition: 0.25s ease; color: #fff; font-size: 15px;
}
.photo-card:hover .arrow { background: var(--gold); border-color: var(--gold); color: var(--ink); transform: translateX(4px); }

/* ---------- split rows (hub pages) ---------- */
.split {
  display: grid; grid-template-columns: 1.05fr 1fr;
  border-radius: 16px; overflow: hidden; margin-bottom: 26px;
  background: var(--card); border: 1px solid var(--line); min-height: 400px;
}
.split .s-media { position: relative; overflow: hidden; min-height: 260px; }
.split .s-media .pc-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.9s cubic-bezier(0.22, 0.65, 0.3, 1);
}
.split .s-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(35, 34, 39, 0.18), rgba(35, 34, 39, 0));
}
.split:hover .s-media .pc-bg { transform: scale(1.06); }
.split .s-body { padding: 48px 52px; display: flex; flex-direction: column; justify-content: center; }
.split.flip .s-media { order: 2; }
.split .s-num {
  font-family: var(--en); font-weight: 800; font-size: 15px;
  letter-spacing: 0.18em; color: var(--gold-deep); margin-bottom: 14px;
}
.split .s-num::after { content: ""; display: block; width: 28px; height: 2px; background: var(--gold); margin-top: 8px; }
.split h3 { font-family: var(--serif); font-size: clamp(20px, 2.2vw, 26px); font-weight: 600; margin-bottom: 12px; }
.split .desc { font-size: 13.5px; color: var(--mut); line-height: 1.95; margin-bottom: 16px; }
.split .pills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 22px; }
.split .s-link { font-size: 13px; font-weight: 700; color: var(--gold-deep); }
.split .s-link::after { content: "→"; margin-left: 8px; transition: margin-left 0.25s ease; }
.split:hover .s-link::after { margin-left: 14px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split.flip .s-media { order: 0; }
  .split .s-body { padding: 32px 26px; }
}

/* ---------- dark band (why section) ---------- */
.dark-band {
  background: var(--ink); color: #f7f6f8;
  margin-top: 112px; padding: 104px 0; position: relative; overflow: hidden;
}
.dark-band::before {
  content: ""; position: absolute; inset: 0;
  background: url(/assets/img/bg-hero.webp) center / cover no-repeat;
  opacity: 0.9;
}
.dark-band.photo::before {
  background-image: url(/assets/img/ph-hero.webp);
  opacity: 0.34;
}
@media (max-width: 900px) { .dark-band.photo::before { background-image: url(/assets/img/ph-hero-sm.webp); } }
.dark-band .container { position: relative; z-index: 2; }
.dark-band .section-head h2 { color: #f7f6f8; }
.dark-band .section-head .lede { color: var(--mut-dark); }
.why-item { border-top: 1px solid rgba(255, 255, 255, 0.16); padding: 30px 8px 6px; }
.why-item .num {
  font-family: var(--en); font-weight: 800; font-size: 40px;
  color: var(--gold); display: block; margin-bottom: 14px; line-height: 1;
}
.why-item h3 { font-family: var(--serif); font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.why-item p { font-size: 13px; color: #cfcdd5; line-height: 1.95; }

.check-list li, .dash-list li { position: relative; padding-left: 20px; margin: 9px 0; font-size: 13.5px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 11px;
  width: 8px; height: 8px; background: var(--gold);
}
.dash-list li::before { content: "—"; position: absolute; left: 0; color: var(--gold-deep); }

/* ---------- definition table ---------- */
.def-table { width: 100%; border-collapse: collapse; }
.def-table th, .def-table td {
  text-align: left; padding: 18px 12px; border-bottom: 1px solid var(--line);
  font-size: 14px; vertical-align: top;
}
.def-table th { width: 160px; color: var(--gold-deep); font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) {
  .def-table th, .def-table td { display: block; width: auto; padding: 6px 0; }
  .def-table th { border-bottom: 0; padding-top: 18px; }
}

/* ---------- product hero block ---------- */
.product-hero {
  background: var(--ink) url(/assets/img/bg-band.webp) center / cover no-repeat;
  color: #f7f6f8; border-radius: 14px;
  padding: 40px; display: flex; flex-direction: column; gap: 12px;
}
.product-hero .cat { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; }
.product-hero h2, .product-hero h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; }
.product-hero .url { color: var(--gold); font-size: 13px; font-weight: 700; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--ink); color: #f7f6f8;
  margin-top: 112px; padding: 120px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: url(/assets/img/ph-city.webp) center / cover no-repeat;
  opacity: 0.42;
}
@media (max-width: 900px) { .cta-band::before { background-image: url(/assets/img/ph-city-sm.webp); } }
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(35, 34, 39, 0.32) 0%, rgba(35, 34, 39, 0.88) 100%);
}
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 {
  font-family: var(--serif); font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 600; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}
.cta-band p { color: #dcdae0; margin: 18px 0 36px; font-size: 14.5px; }
.cta-band .btn { padding: 16px 48px; }

/* ---------- news ---------- */
.news-list li { border-bottom: 1px solid var(--line); position: relative; }
.news-list li:first-child { border-top: 1px solid var(--line); }
.news-list a, .news-list .row {
  display: flex; gap: 28px; padding: 26px 44px 26px 10px; align-items: baseline;
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.news-list a:hover { background: var(--gold-soft); padding-left: 20px; }
.news-list .row::after, .news-list a::after {
  content: "→"; position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--en); font-weight: 700; color: var(--gold);
  opacity: 0; transition: opacity 0.25s ease, right 0.25s ease;
}
.news-list a:hover::after, .news-list .row:hover::after { opacity: 1; right: 8px; }
.news-list time {
  color: var(--gold-deep); font-size: 13px; white-space: nowrap; font-weight: 700;
  font-family: var(--en); font-variant-numeric: tabular-nums; letter-spacing: 0.06em;
}
.news-list .cat-tag {
  font-size: 10.5px; font-weight: 700; color: var(--gold-deep);
  border: 1px solid var(--gold); border-radius: 999px; padding: 1px 10px; white-space: nowrap;
}
.news-list p { font-size: 14.5px; font-weight: 500; }
@media (max-width: 560px) {
  .news-list a, .news-list .row { flex-wrap: wrap; gap: 8px 14px; }
}

/* ---------- forms ---------- */
.form-wrap { max-width: 720px; margin: 0 auto; }
.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 8px; }
.req { color: #b0452e; font-size: 11px; margin-left: 6px; font-weight: 700; }
.form-row input[type="text"], .form-row input[type="email"], .form-row input[type="tel"],
.form-row select, .form-row textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line);
  border-radius: 8px; font-family: var(--sans); font-size: 16px;
  background: #fff; color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--gold);
}
.form-row textarea { min-height: 170px; resize: vertical; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; }
.consent input { margin-top: 5px; }
.consent a { color: var(--gold-deep); text-decoration: underline; }
.form-note { font-size: 12px; color: var(--mut); margin-top: 6px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- prose (legal pages / news detail) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-family: var(--serif); font-size: 20px; margin: 40px 0 14px; }
.prose h3 { font-size: 16px; margin: 28px 0 10px; }
.prose p, .prose li { font-size: 14px; color: var(--ink-soft); margin-bottom: 12px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose ul { list-style: disc; padding-left: 22px; }

/* ---------- motion ---------- */
.gnav > li > a:not(.nav-cta) { position: relative; }
.gnav > li > a:not(.nav-cta)::before {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 15px;
  height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.gnav > li > a:not(.nav-cta):hover::before,
.gnav > li > a:not(.nav-cta):focus-visible::before { transform: scaleX(1); }
.site-header { transition: box-shadow 0.25s ease; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28); }

@media (prefers-reduced-motion: no-preference) {
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
  }
  @keyframes bgDrift {
    from { transform: scale(1) translate(0, 0); }
    to { transform: scale(1.1) translate(-1.2%, -1%); }
  }
  @keyframes lineUp {
    from { transform: translateY(110%); }
    to { transform: translateY(0); }
  }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .hero-bg { animation: bgDrift 30s ease-in-out infinite alternate; }
  .hero h1 .line > span {
    transform: translateY(110%);
    animation: lineUp 1s cubic-bezier(0.22, 0.65, 0.3, 1) forwards;
  }
  .hero h1 .line:nth-child(2) > span { animation-delay: 0.14s; }
  .hero .eyebrow, .hero .lede, .hero .actions, .scroll-cue, .hero-marquee {
    opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.22, 0.65, 0.3, 1) forwards;
  }
  .hero .eyebrow { animation-delay: 0.05s; }
  .hero .lede { animation-delay: 0.34s; }
  .hero .actions { animation-delay: 0.5s; }
  .scroll-cue { animation-delay: 0.8s; }
  .hero-marquee { animation-delay: 0.7s; }
  .marquee-track { animation: marquee 30s linear infinite; }
  .page-hero .eyebrow, .page-hero h1, .page-hero .lede {
    opacity: 0; animation: fadeUp 0.7s cubic-bezier(0.22, 0.65, 0.3, 1) forwards;
  }
  .page-hero h1 { animation-delay: 0.1s; }
  .page-hero .lede { animation-delay: 0.2s; }

  .reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity 0.75s cubic-bezier(0.22, 0.65, 0.3, 1),
      transform 0.75s cubic-bezier(0.22, 0.65, 0.3, 1);
    transition-delay: var(--rd, 0s);
  }
  .reveal.in-view { opacity: 1; transform: none; }
}

/* ---------- FAQ (details/summary) ---------- */
.faq-list { display: grid; gap: 14px; }
.faq-item { padding: 0; overflow: hidden; transition: border-color 0.22s ease; }
.faq-item[open] { border-color: var(--gold); }
.faq-item > summary {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 22px 26px; cursor: pointer;
  font-size: 14.5px; font-weight: 700; line-height: 1.85;
  list-style: none; transition: color 0.18s ease;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { content: ""; }
.faq-item > summary:hover { color: var(--gold-deep); }
.faq-item > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -3px; }
.faq-item > summary::before {
  content: "Q"; flex: 0 0 auto;
  font-family: var(--en); font-weight: 800; font-size: 15px;
  color: var(--gold-deep); line-height: 1.85;
}
.faq-item > summary::after {
  content: "+"; margin-left: auto; flex: 0 0 auto;
  font-family: var(--en); font-weight: 700; font-size: 24px; line-height: 1.15;
  color: var(--gold); transition: transform 0.25s ease;
}
.faq-item[open] > summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 26px 24px 54px; }
.faq-a p { font-size: 13.5px; color: var(--mut); line-height: 1.95; }
.faq-a p + p { margin-top: 10px; }
.faq-a a { color: var(--gold-deep); font-weight: 700; }
.faq-a a:hover { text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) {
  .faq-item[open] .faq-a { animation: fadeUp 0.35s cubic-bezier(0.22, 0.65, 0.3, 1); }
}
@media (max-width: 560px) {
  .faq-item > summary { padding: 18px 18px; gap: 10px; font-size: 14px; }
  .faq-a { padding: 0 18px 20px 18px; }
}

/* ---------- misc ---------- */
.mut { color: var(--mut); }
.small { font-size: 12.5px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; } .mt-56 { margin-top: 56px; }
.tc { text-align: center; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 56px 0; }


/* ---------- motion toggle (pause animations) ---------- */
.motion-toggle {
  position: fixed; right: 16px; bottom: 16px; z-index: 200;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(35, 34, 39, 0.86); color: #f0eff2;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 999px;
  padding: 9px 16px; font-size: 11.5px; font-weight: 700; font-family: var(--sans);
  cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease;
}
.motion-toggle:hover { border-color: var(--gold); }
.motion-toggle .icon { font-size: 10px; color: var(--gold); }
@media (max-width: 560px) { .motion-toggle { right: 10px; bottom: 10px; padding: 8px 13px; font-size: 11px; } }

/* paused state: freeze decorative motion */
body.motion-paused .hero-bg,
body.motion-paused .marquee-track,
body.motion-paused .page-hero::before { animation-play-state: paused !important; }

/* ---------- form states ---------- */
.form-row.has-error input, .form-row.has-error select, .form-row.has-error textarea {
  border-color: #b0452e; background: #fdf7f5;
}
.field-error {
  display: none; color: #a13d28; font-size: 12.5px; font-weight: 700; margin-top: 6px;
}
.form-row.has-error .field-error { display: block; }
button[type="submit"][disabled], .btn[aria-disabled="true"] {
  opacity: 0.62; cursor: progress; transform: none !important; box-shadow: none !important;
}
.form-status {
  margin-top: 14px; font-size: 13px; font-weight: 700; color: #a13d28; text-align: center;
}
.form-status:empty { display: none; }

/* ---------- photo-card backgrounds (responsive) ---------- */
.pc-bg[data-img="ph-ads"] { background-image: url(/assets/img/ph-ads.webp); }
.pc-bg[data-img="ph-city"] { background-image: url(/assets/img/ph-city.webp); }
.pc-bg[data-img="ph-consulting"] { background-image: url(/assets/img/ph-consulting.webp); }
.pc-bg[data-img="ph-dev"] { background-image: url(/assets/img/ph-dev.webp); }
.pc-bg[data-img="ph-salon"] { background-image: url(/assets/img/ph-salon.webp); }
.pc-bg[data-img="ph-subsidy"] { background-image: url(/assets/img/ph-subsidy.webp); }
@media (max-width: 900px) {
  .pc-bg[data-img="ph-ads"] { background-image: url(/assets/img/ph-ads-sm.webp); }
  .pc-bg[data-img="ph-city"] { background-image: url(/assets/img/ph-city-sm.webp); }
  .pc-bg[data-img="ph-consulting"] { background-image: url(/assets/img/ph-consulting-sm.webp); }
  .pc-bg[data-img="ph-dev"] { background-image: url(/assets/img/ph-dev-sm.webp); }
  .pc-bg[data-img="ph-salon"] { background-image: url(/assets/img/ph-salon-sm.webp); }
  .pc-bg[data-img="ph-subsidy"] { background-image: url(/assets/img/ph-subsidy-sm.webp); }
}
