/* ============================================================
   noki studio — dark cinematic system (per DESIGN.md / SONY)
   Headings: Zen Old Mincho (明朝)  ·  Body/UI: Noto Sans JP + Inter
   ============================================================ */

:root {
  --bg: #111111;
  --bg-2: #161616;
  --surface: #181818;
  --surface-2: #1c1c1c;
  --ink: #ffffff;
  --muted: #c8c8c8;
  --faint: #8c8c8c;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.26);

  /* accent — overridden by Tweaks (blue / gold / white) */
  --accent: #2d75c7;
  --accent-strong: #3865e0;
  --accent-ink: #ffffff;
  --label: #6fa0e0;

  --serif: "Zen Old Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Inter", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1080px;
  --pad: 32px;
  --sec-y: 104px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); /* expo-out — 印象的に伸びて減速 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- layout helpers ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding-top: var(--sec-y); padding-bottom: var(--sec-y); position: relative; }
.section--tight { padding-top: 80px; padding-bottom: 80px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.5; letter-spacing: 0.04em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--label);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--ja { color: var(--faint); letter-spacing: 0.16em; text-transform: none; }

.h2 { font-size: 32px; line-height: 1.55; letter-spacing: 0.05em; text-wrap: pretty; }
.lead { color: var(--muted); font-size: 14px; line-height: 2.0; max-width: 62ch; text-wrap: balance; }
.lead--nowrap { max-width: none; white-space: nowrap; }
.lead--two { max-width: 44em; }
.lead--split .ls { display: block; }
@media (max-width: 760px) {
  .lead--nowrap { white-space: normal; max-width: 62ch; }
  .lead--two { max-width: 62ch; }
}
.sec-head { margin-bottom: 56px; }
.sec-head .eyebrow { margin-bottom: 22px; }
.sec-head .lead { margin-top: 22px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 15px 32px;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: rgba(255,255,255,0.04); }
.btn--sm { padding: 12px 22px; font-size: 12px; }
.btn .arr { transition: transform 0.4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- placeholder image ---------- */
.ph {
  position: relative;
  background-color: #0d0d0d;
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.035) 0px,
      rgba(255,255,255,0.035) 1px,
      transparent 1px,
      transparent 11px);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--faint);
}
.ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 70% 20%, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}
.ph__label {
  font-family: "Inter", monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.16);
  padding: 7px 13px;
  border-radius: 2px;
  background: rgba(0,0,0,0.35);
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ---------- scroll reveal ----------
   Base state is the VISIBLE end-state. Hidden + transition only apply once JS
   arms `html.anim` (added via requestAnimationFrame, so it never arms when the
   timeline is frozen, printing, or reduced-motion). Content is never trapped at
   opacity:0 if animations don't run. */
.reveal { opacity: 1; transform: none; }
html.anim .reveal { transition: opacity 1s var(--ease), transform 1s var(--ease); }
html.anim .reveal:not(.in) { opacity: 0; transform: translateY(26px); }
html.anim .reveal.d1 { transition-delay: 0.08s; }
html.anim .reveal.d2 { transition-delay: 0.16s; }
html.anim .reveal.d3 { transition-delay: 0.24s; }
html.anim .reveal.d4 { transition-delay: 0.32s; }

/* ============================================================ LOADER */
#nav-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 90vh; pointer-events: none; z-index: -1; }
.intro {
  position: fixed; inset: 0; z-index: 2000;
  overflow: hidden; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: #0a0a0a;
  opacity: 1;
  transition: opacity 1.1s var(--ease);
}
.intro--out { opacity: 0; }

/* ---- 建築写真モンタージュ（クロスフェード＋スローズーム）---- */
.intro__stage { position: absolute; inset: 0; }
.intro__shot {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  will-change: opacity, transform;
}
.intro__shot--solo {
  opacity: 0; transform: scale(1.05);
  animation: introSolo 5.7s var(--ease) forwards;
}
@keyframes introSolo {
  0% { opacity: 0; transform: scale(1.05); }
  12% { opacity: 1; }
  100% { opacity: 1; transform: scale(1.16); }
}
.intro__veil {
  position: absolute; inset: 0;
  background: radial-gradient(130% 100% at 50% 46%, rgba(8,8,8,0.60) 0%, rgba(8,8,8,0.90) 100%);
}
.intro__grain {
  position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 260px 70px rgba(0,0,0,0.6);
}

/* ---- 中央構成：細い縦線 → 見出し（行マスク）→ ロゴ ---- */
.intro__center {
  position: relative; z-index: 3;
  width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 32px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  /* 明るいLDK写真の上でも見出しが映えるよう中央やや上に配置 */
  transform: translateY(-3vh);
}
.intro__rule {
  width: 1px; height: 0; margin-bottom: 40px;
  background: linear-gradient(var(--accent), rgba(255,255,255,0.0));
  animation: introRule 0.9s var(--ease) 0.25s forwards;
}
@keyframes introRule { to { height: 66px; } }
.intro__head {
  font-family: var(--serif); font-weight: 500; color: #fff; margin: 0;
  font-size: clamp(21px, 3.3vw, 40px); line-height: 1.95; letter-spacing: 0.12em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.55);
}
.intro__line { display: block; overflow: hidden; }
.intro__line-in {
  display: inline-block;
  transform: translateY(118%); opacity: 0;
  animation: introLineIn 1.05s var(--ease) both;
}
@keyframes introLineIn { to { transform: translateY(0); opacity: 1; } }
.intro__mark {
  margin-top: 48px;
  opacity: 0; transform: translateY(16px);
  animation: introMarkIn 1.2s var(--ease) 2.55s forwards;
}
@keyframes introMarkIn { to { opacity: 1; transform: translateY(0); } }
.intro__logo { width: 224px; max-width: 56vw; height: auto; display: block; filter: invert(1); }

.intro__bar {
  position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; z-index: 4;
  background: rgba(255,255,255,0.1);
}
.intro__bar span {
  display: block; height: 100%; width: 0;
  background: var(--accent);
  animation: introBar 4.6s linear forwards;
}
@keyframes introBar { to { width: 100%; } }
.intro__skip {
  position: absolute; right: 28px; bottom: 22px; z-index: 4;
  font-family: "Inter"; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  opacity: 0; animation: introFadeIn 0.8s var(--ease) 1.4s forwards;
}
@keyframes introFadeIn { to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .intro__shot { animation: none; }
  .intro__shot--solo { opacity: 1; transform: none; }
  .intro__rule { animation: none; height: 66px; }
  .intro__line-in { animation: none; transform: none; opacity: 1; }
  .intro__mark { animation: none; opacity: 1; transform: none; }
  .intro__bar span { animation: none; }
}
@media (max-width: 640px) {
  .intro__center { padding: 0 24px; transform: translateY(-2vh); }
  .intro__logo { width: 178px; }
  .intro__head { line-height: 1.8; }
}

/* ============================================================ NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 72px;
  display: flex; align-items: center;
  transform: translateY(-100%);
  transition: transform 0.5s var(--ease), background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease), height 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  transform: translateY(0);
  background: rgba(17,17,17,0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom-color: var(--line);
  height: 64px;
}
.nav__inner { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.nav__logo { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: 0.06em; display: flex; align-items: center; margin-right: auto; }
.nav__logo span { color: var(--accent); }
.nav__logo-img { height: 27px; width: auto; display: block; filter: invert(1); transition: height 0.4s var(--ease); }
.nav--scrolled .nav__logo-img { height: 24px; }
.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__item { display: flex; flex-direction: column; align-items: center; gap: 1px; position: relative; padding: 6px 0; }
.nav__item .en { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; }
.nav__item .ja { font-size: 9.5px; color: var(--faint); letter-spacing: 0.14em; }
.nav__item::after { content:""; position:absolute; bottom: 0; left: 50%; width: 0; height: 1px; background: var(--accent); transition: width 0.35s var(--ease), left 0.35s var(--ease); }
.nav__item:hover::after { width: 100%; left: 0; }
.nav__cta { margin-left: 34px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; cursor: pointer; z-index: 130; position: relative; }
.nav__burger span { width: 22px; height: 1.5px; background: var(--ink); display: block; transition: transform 0.35s var(--ease), opacity 0.25s var(--ease); transform-origin: center; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* mobile drawer */
.nav__drawer { position: fixed; top: 0; right: 0; width: min(82vw, 360px); height: 100vh; height: 100dvh; background: var(--bg-2); border-left: 1px solid var(--line); z-index: 120; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 88px 40px 48px; transform: translateX(100%); transition: transform 0.5s var(--ease); visibility: hidden; }
.nav__drawer.is-open { transform: translateX(0); visibility: visible; }
.nav__drawer-menu { display: flex; flex-direction: column; gap: 4px; }
.nav__drawer-item { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(16px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.nav__drawer.is-open .nav__drawer-item { opacity: 1; transform: none; }
.nav__drawer-item .en { font-size: 15px; font-weight: 600; letter-spacing: 0.18em; }
.nav__drawer-item .ja { font-size: 11px; color: var(--faint); letter-spacing: 0.14em; }
.nav__drawer-cta { margin-top: 32px; justify-content: center; }
.nav__scrim { position: fixed; inset: 0; background: rgba(8,8,8,0.6); backdrop-filter: blur(3px); z-index: 110; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease); }
.nav__drawer, .nav__scrim { display: none; }
.nav__scrim.is-open { opacity: 1; visibility: visible; }

/* ============================================================ HERO */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; width: 100%; overflow: hidden; display: flex; align-items: flex-end; }
.hero__media { position: absolute; inset: 0; }
.hero__media .ph { width: 100%; height: 100%; border: none; border-radius: 0; }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero__slide.is-active { opacity: 1; }
.hero__img-zoom { animation: kenburns 22s ease-out infinite alternate; transform-origin: 60% 40%; height: 100%; width: 100%; background-size: cover; background-position: center; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.16); } }
.hero__dim { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(13,13,13,0.94) 0%, rgba(13,13,13,0.7) 36%, rgba(13,13,13,0.28) 66%, rgba(13,13,13,0.1) 100%),
  linear-gradient(0deg, rgba(13,13,13,0.9) 0%, rgba(13,13,13,0.0) 46%); }
.hero__content { position: relative; z-index: 2; width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 40px 84px; }
.hero__logo { display: block; height: 150px; width: auto; margin-bottom: 34px; filter: invert(1); }
.hero__logo--wide { display: none; }
.hero__eyebrow { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(28px, 3.4vw, 48px); font-weight: 500; line-height: 1.5; letter-spacing: 0.06em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.hero__sub { margin-top: 26px; color: var(--muted); font-size: 15px; letter-spacing: 0.05em; max-width: 46ch; line-height: 2.0; white-space: nowrap; }
.hero__sub-br { display: none; }
.hero__cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll { position: absolute; right: 40px; bottom: 40px; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--faint); }
.hero__scroll .lbl { font-size: 9px; letter-spacing: 0.3em; writing-mode: vertical-rl; }
.hero__scroll .ln { width: 1px; height: 54px; background: linear-gradient(var(--accent), transparent); }

/* ============================================================ WHY PHOTO (data) */
/* scrolling photo band background */
#why, #why-noki { overflow: hidden; }
#why .wrap, #why-noki .wrap { position: relative; z-index: 2; }
.why-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; filter: blur(7px); transform: scale(1.06); }
.why-bg::after { content: ""; position: absolute; inset: 0; background: rgba(17,17,17,0.62); z-index: 1; }
#why .eyebrow, #why .h2, #why .lead,
#why-noki .eyebrow, #why-noki .h2, #why-noki .lead,
#why-noki .strength__txt, #why-noki .strength__no { text-shadow: 0 2px 18px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.7); }
.why-bg__track { display: flex; height: 100%; width: max-content; animation: why-band 90s linear infinite; will-change: transform; }
.why-bg--rev .why-bg__track { animation-direction: reverse; }
.why-bg__img { height: 100%; width: auto; object-fit: cover; display: block; }
@keyframes why-band { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .why-bg__track { animation: none; } }

.data-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.data-cell { background: var(--bg); padding: 38px 28px 32px; display: flex; flex-direction: column; }
.data-cell__num { font-family: var(--serif); font-size: 52px; font-weight: 600; line-height: 1; letter-spacing: 0; color: var(--ink); }
.data-cell__rule { width: 34px; height: 2px; background: var(--accent); margin: 20px 0; }
.data-cell__desc { font-size: 13.5px; color: var(--ink); line-height: 1.85; font-weight: 500; white-space: pre-line; }
.data-cell__note { font-size: 12px; color: var(--muted); line-height: 1.8; margin-top: 12px; flex: 1; white-space: pre-line; }
.data-cell__src { font-size: 10px; color: var(--faint); letter-spacing: 0.06em; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.why-cta { margin-top: 48px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================ SERVICE */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; transition: border-color 0.4s var(--ease), transform 0.4s var(--ease); }
.svc-card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.svc-card__media { aspect-ratio: 4 / 3; background: #0e0e0e; border-bottom: 1px solid var(--line); }
.svc-card__media .ph { width: 100%; height: 100%; border: none; border-radius: 0; border-bottom: 1px solid var(--line); }
.svc-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svc-card__body { padding: 26px 26px 30px; }
.svc-card__no { font-family: "Inter"; font-size: 11px; letter-spacing: 0.2em; color: var(--label); font-weight: 600; }
.svc-card__title { font-size: 22px; margin: 14px 0 14px; letter-spacing: 0.06em; }
.svc-card__desc { font-size: 13px; color: var(--muted); line-height: 1.95; width: 100%; max-width: none; text-wrap: pretty; }
.svc-tags { display: flex; justify-content: center; gap: 0; margin-top: 44px; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.svc-tags span { flex: 1; text-align: center; padding: 22px; font-family: var(--serif); font-size: 19px; letter-spacing: 0.3em; border-right: 1px solid var(--line); }
.svc-tags span:last-child { border-right: none; }

/* ============================================================ WHY noki (vs) */
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: 0; align-items: stretch; margin-bottom: 64px; border: 1px solid var(--line); border-radius: 2px; overflow: hidden; }
.vs__col { padding: 40px 36px; }
.vs__col--gen { background: var(--bg-2); color: var(--faint); }
.vs__col--noki { background: var(--surface-2); position: relative; }
.vs__col--noki::before { content:""; position:absolute; top:0; left:0; right:0; height: 2px; background: var(--accent); }
.vs__tag { font-family: "Inter"; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 16px; display: block; }
.vs__col--gen .vs__tag { color: var(--faint); }
.vs__col--noki .vs__tag { color: var(--label); }
.vs__tag--logo { line-height: 0; margin-bottom: 18px; }
.vs__tag--logo img { height: 24px; width: auto; display: block; filter: invert(1); }
.vs__col h3 { font-size: 19px; line-height: 1.7; margin-bottom: 14px; letter-spacing: 0.05em; }
.vs__col--gen h3 { color: var(--muted); font-weight: 400; }
.vs__col p { font-size: 13px; line-height: 1.95; }
.vs__col--gen p { color: var(--faint); }
.vs__col--noki p { color: var(--muted); }
.vs__mid { display: flex; align-items: center; justify-content: center; padding: 0 26px; background: var(--bg); font-family: var(--serif); font-size: 22px; color: var(--faint); }
.strengths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.strength { padding-top: 22px; border-top: 2px solid var(--accent); }
.strength__no { font-family: "Inter"; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--label); }
.strength__txt { font-family: var(--serif); font-size: 18px; line-height: 1.7; margin-top: 14px; letter-spacing: 0.04em; }

/* ============================================================ ABOUT */
.about-grid { display: grid; grid-template-columns: 340px 1fr; gap: 0 64px; align-items: start; grid-template-areas: "photo name" "photo body"; grid-template-rows: auto 1fr; }
.about__aside { grid-area: photo; }
.about__name { grid-area: name; }
.about__body { grid-area: body; }
.about__photo { aspect-ratio: 3 / 4; margin-bottom: 28px; position: relative; overflow: hidden; border-radius: 2px; background: #0e0e0e; }
.about__photo .ph { width: 100%; height: 100%; }
.about__photo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.6s var(--ease); }
.about__photo-img--hover { opacity: 0; transition: opacity 0.55s var(--ease), transform 1.6s var(--ease); }
.about__photo:hover .about__photo-img--hover { opacity: 1; }
.about__photo:hover .about__photo-img { transform: scale(1.04); }
.about-dl { font-size: 12.5px; }
.about-dl div { display: grid; grid-template-columns: 84px 1fr; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.about-dl dt { color: var(--faint); letter-spacing: 0.08em; }
.about-dl dd { color: var(--muted); line-height: 1.7; }
.about-dl dd .ac { color: var(--accent); font-weight: 600; letter-spacing: 0.04em; }
.about__msg-head { font-size: 28px; line-height: 1.65; letter-spacing: 0.05em; margin-bottom: 36px; }
.about__name { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 38px; }
.about__name .role { font-size: 12px; color: var(--faint); letter-spacing: 0.1em; }
.about__name .nm { font-family: var(--serif); font-size: 32px; font-weight: 600; letter-spacing: 0.08em; margin-top: 8px; }
.about__name .en { font-family: "Inter"; font-size: 12px; letter-spacing: 0.28em; color: var(--faint); margin-top: 8px; }
.career { display: flex; flex-direction: column; gap: 28px; }
.career__item { padding-left: 24px; border-left: 2px solid var(--accent); }
.career__when { font-family: "Inter"; font-size: 11px; letter-spacing: 0.14em; color: var(--label); font-weight: 600; }
.career__title { font-family: var(--serif); font-size: 17px; margin: 8px 0 10px; letter-spacing: 0.04em; }
.career__desc { font-size: 12.5px; color: var(--muted); line-height: 1.9; }

/* ============================================================ FLOW */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.flow__step { position: relative; }
/* connector line between squares */
.flow__step:not(:last-child)::after {
  content: ""; position: absolute; top: 31px; left: 62px; right: -30px; height: 1px;
  background: var(--line-strong);
}
.flow__circle {
  position: relative; z-index: 2; width: 62px; height: 62px; border-radius: 2px;
  border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px; background: transparent; transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}
.flow__circle span { font-family: var(--serif); font-size: 24px; font-weight: 400; line-height: 1; color: var(--ink); transition: color 0.4s var(--ease); }
.flow__step:hover .flow__circle { border-color: var(--accent); background: rgba(255,255,255,0.02); }
.flow__step:hover .flow__circle span { color: var(--accent); }
.flow__en { font-family: "Inter"; font-size: 11px; letter-spacing: 0.2em; color: var(--label); font-weight: 600; text-transform: uppercase; }
.flow__ja { font-family: var(--serif); font-size: 19px; margin-top: 12px; margin-bottom: 12px; letter-spacing: 0.06em; }
.flow__desc { font-size: 12px; color: var(--muted); line-height: 1.85; }

/* ============================================================ WORKS */
.works-carousel { overflow: hidden; margin-top: 8px; }
.works-track { display: flex; gap: 14px; padding: 0 40px; will-change: transform; }
.work { position: relative; flex: 0 0 calc((100vw - 80px - 3 * 14px) / 4); max-width: 420px; overflow: hidden; border-radius: 2px; border: 1px solid var(--line); aspect-ratio: 4 / 3; padding: 0; margin: 0; background: none; display: block; }
.work .ph { width: 100%; height: 100%; border: none; border-radius: 0; transition: transform 1.2s var(--ease); }
.work__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.work:hover .ph, .work:hover .work__img { transform: scale(1.06); }
.work__overlay { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 16px; background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0) 55%); opacity: 0; transition: opacity 0.4s var(--ease); text-align: left; }
.work:hover .work__overlay, .work:focus-visible .work__overlay { opacity: 1; }
.work__plus { align-self: flex-end; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #fff; font-weight: 300; }
.work__cap { display: flex; flex-direction: column; gap: 3px; }
.work__cat { font-family: "Inter"; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.work__co { font-family: "Noto Sans JP", var(--serif); font-size: 15px; letter-spacing: 0.04em; color: #fff; }

.works-ctrl { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 32px; }
.works-ctrl__btn { display: flex; align-items: center; justify-content: center; width: 52px; height: 44px; border: 1px solid var(--line-strong); background: none; color: var(--muted); border-radius: 2px; cursor: pointer; transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease); padding: 0; }
.works-ctrl__btn:hover { border-color: var(--accent); color: var(--ink); background: rgba(255,255,255,0.03); }
.works-ctrl__btn--toggle { width: 60px; }
.works-ctrl__ico { display: block; font-size: 22px; line-height: 1; transform: translateY(-1px); }
.works-ctrl__btn--toggle .works-ctrl__ico { font-size: 12px; letter-spacing: 1px; transform: none; }
.works-more { text-align: center; margin-top: 40px; }

/* works archive grid（実績一覧ページ） */
.works-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
.works-grid__item { margin: 0; }
.works-grid__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.works-grid__thumb { display: block; overflow: hidden; border-radius: 2px; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--bg-2); }
.works-grid__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.works-grid__link:hover .works-grid__thumb img { transform: scale(1.06); }
.works-grid__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 2px 0; }
.works-grid__cat { font-family: "Inter"; font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.works-grid__co { font-size: 12.5px; color: var(--muted); letter-spacing: 0.04em; }
.works-grid__title { font-family: var(--serif); font-size: 17px; font-weight: 600; letter-spacing: 0.03em; line-height: 1.55; color: var(--ink); transition: color 0.3s var(--ease); }
.works-grid__link:hover .works-grid__title { color: var(--accent); }
@media (max-width: 860px) { .works-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 18px; } }
@media (max-width: 560px) { .works-grid { grid-template-columns: 1fr; gap: 22px; } }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8,8,8,0.92); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 48px; animation: lbFade 0.3s var(--ease) both; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__inner { display: grid; grid-template-columns: 1.5fr 1fr; max-width: 1120px; width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; animation: lbRise 0.4s var(--ease) both; }
@keyframes lbRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.lightbox__media { background: #0e0e0e; aspect-ratio: 4 / 3; }
.lightbox__media:has(.lightbox__img) { background: #efedea; }
.lightbox__media .ph { width: 100%; height: 100%; border: none; border-radius: 0; }
.lightbox__img { width: 100%; height: 100%; object-fit: contain; display: block; }
.lightbox__info { padding: 48px 44px; display: flex; flex-direction: column; }
.lightbox__cat { font-family: "Inter"; font-size: 11px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.lightbox__co { font-family: "Noto Sans JP", var(--serif); font-size: 14px; color: var(--muted); letter-spacing: 0.06em; margin-top: 18px; }
.lightbox__title { font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: 0.04em; margin-top: 6px; line-height: 1.4; }
.lightbox__desc { font-size: 13.5px; color: var(--muted); line-height: 2.0; margin-top: 22px; }
.lightbox__count { font-family: "Inter"; font-size: 11px; letter-spacing: 0.16em; color: var(--faint); margin-top: auto; padding-top: 32px; }
.lightbox__close { position: absolute; top: 28px; right: 32px; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.3); background: none; color: #fff; font-size: 22px; line-height: 1; border-radius: 50%; cursor: pointer; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); }
.lightbox__close:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); height: 48px; padding: 0 20px; border: 1px solid rgba(255,255,255,0.35); background: rgba(0,0,0,0.45); color: #fff; border-radius: 999px; cursor: pointer; transition: border-color 0.3s var(--ease), background 0.3s var(--ease); display: flex; align-items: center; gap: 10px; }
.lightbox__nav:hover { border-color: #fff; background: rgba(255,255,255,0.12); }
.lightbox__arrow { font-size: 22px; line-height: 1; }
.lightbox__navlabel { font-family: "Inter"; font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; }
.lightbox__nav--prev { left: 32px; }
.lightbox__nav--next { right: 32px; }

/* ============================================================ PRICE */
.price-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 48px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.price-tab { position: relative; background: none; border: none; cursor: pointer; padding: 4px 26px 20px; display: flex; flex-direction: column; align-items: center; gap: 7px; color: var(--faint); transition: color 0.35s var(--ease); margin-bottom: -1px; }
.price-tab__no { font-family: "Inter"; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; color: inherit; opacity: 0.7; }
.price-tab__label { font-family: var(--serif); font-size: 19px; letter-spacing: 0.06em; color: inherit; white-space: nowrap; }
.price-tab__en { font-family: "Inter"; font-size: 9.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: inherit; opacity: 0.6; }
.price-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transition: transform 0.4s var(--ease); }
.price-tab:hover { color: var(--muted); }
.price-tab.is-active { color: var(--ink); }
.price-tab.is-active::after { transform: scaleX(1); }
.price-panel { animation: panelFade 0.5s var(--ease) both; }
@keyframes panelFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* 料金詳細ページ：建築写真タブの料金セクションにぼかし背景 */
.subpage-section--photobg { position: relative; isolation: isolate; overflow: hidden; }
.photo-sec-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.photo-sec-bg::before {
  content: ""; position: absolute; inset: -40px;
  background: var(--sec-bg) var(--sec-pos, center 42%) / cover no-repeat;
  filter: blur(13px) saturate(0.95) brightness(0.74);
  transform: scale(1.06);
}
.photo-sec-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,8,0.5) 0%, rgba(8,8,8,0.34) 45%, rgba(8,8,8,0.62) 100%);
}
.subpage-section--photobg .pcard { box-shadow: 0 24px 60px -22px rgba(0,0,0,0.7); }
.subpage-section--photobg .price-cond { color: rgba(255,255,255,0.72); }
/* 詳細ページ：カードを同じ高さに揃え、価格ラインを下端で統一 */
.subpage-section--lead .lane { align-items: stretch; }

/* ホームページ運用 — wide feature card + 3-col grid */
.ops-feature { position: relative; background: #000; border: 1px solid var(--accent); border-radius: 2px; padding: 36px 40px; margin-bottom: 16px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 44px; align-items: center; }
.ops-feature::before { content: ""; position: absolute; inset: 0; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--accent); pointer-events: none; }
.ops-feature__main { display: flex; flex-direction: column; align-items: flex-start; }
.ops-feature__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: nowrap; }
.ops-feature__top .pcard__badge { margin-bottom: 0; white-space: nowrap; }
.ops-feature__top .pcard__en { white-space: nowrap; }
.ops-feature__main .pcard__name { font-size: 24px; margin-top: 10px; margin-bottom: 8px; }
.ops-feature__main .pcard__sub { min-height: 0; margin-bottom: 0; max-width: none; line-height: 1.85; }
.ops-feature__main .pplan { margin-top: 18px; padding-top: 18px; }
.pplan--inline { flex-direction: row; flex-wrap: wrap; gap: 10px 26px; }
.pplan--inline li { padding-left: 18px; font-size: 12px; }
.pplan--inline li::before { top: 5px; }
.ops-feature__tiers { display: flex; flex-direction: column; padding-left: 48px; border-left: 1px solid var(--line); }
.ops-feature__tiers-head { margin-bottom: 14px; }
.pcard__badge--mini { font-size: 9.5px; padding: 5px 11px; margin-bottom: 0; }
.ops-feature__tiers .ptier--deal { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); }
.ops-feature__tiers .ptier--deal:first-of-type { padding-top: 16px; }
.ptier__name { font-size: 16px; color: var(--ink); letter-spacing: 0.04em; white-space: nowrap; }
.ptier__prices { display: flex; flex-direction: row; align-items: baseline; gap: 16px; }
.ptier__was { font-size: 13px; color: var(--faint); text-decoration: line-through; text-decoration-color: var(--accent); letter-spacing: 0.02em; white-space: nowrap; }
.ptier__was::after { content: "→"; margin-left: 16px; color: var(--faint); text-decoration: none; display: inline-block; font-size: 14px; }
.ops-feature__tiers .ptier__now { font-family: var(--sans); font-size: 27px; font-weight: 700; color: var(--accent); line-height: 1; white-space: nowrap; }
.ops-feature__tiers .ptier__now small { font-family: var(--sans); font-size: 12px; color: var(--faint); font-weight: 400; margin-left: 3px; }
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.ops-grid .pcard { flex: initial; width: auto; }
.ops-feature--bottom { margin-bottom: 0; }

.price-block { margin-bottom: 72px; }
.price-block__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.price-block__title { font-family: var(--serif); font-size: 22px; letter-spacing: 0.06em; display: flex; align-items: center; gap: 14px; white-space: nowrap; }
.price-block__title .no { font-family: "Inter"; font-size: 12px; color: var(--label); font-weight: 600; letter-spacing: 0.16em; }
.scroll-hint { font-size: 11px; color: var(--faint); letter-spacing: 0.14em; white-space: nowrap; }
.lane-wrap { position: relative; }
.lane { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 4px; align-items: flex-start; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
.lane--center { justify-content: safe center; }
.lane::-webkit-scrollbar { width: 0; height: 0; display: none; }
.lane.is-grab { cursor: grab; }
.lane.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; }
.lane.is-dragging > * { pointer-events: none; }
/* swipe pagination dots — replace the scrollbar as the visible control */
.lane-dots { display: flex; justify-content: center; align-items: center; gap: 9px; margin-top: 18px; }
.lane-dot { width: 7px; height: 7px; padding: 0; border: none; border-radius: 50%; background: var(--line-strong); cursor: pointer; transition: width 0.32s var(--ease), background 0.32s var(--ease), border-radius 0.32s var(--ease); -webkit-tap-highlight-color: transparent; }
.lane-dot:hover { background: var(--muted); }
.lane-dot.is-active { width: 24px; border-radius: 4px; background: var(--accent); }
.pcard { scroll-snap-align: start; flex: 0 0 280px; background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 28px 26px 30px; display: flex; flex-direction: column; }
.pcard--dark { background: #000; border-color: var(--accent); position: relative; }
.pcard--dark::before { content:""; position:absolute; inset:0; border-radius: 2px; box-shadow: inset 0 0 0 1px var(--accent); pointer-events:none; }
.pcard__badge { align-self: flex-start; background: var(--accent); color: var(--accent-ink); font-family:"Inter"; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; padding: 6px 12px; border-radius: 2px; margin-bottom: 18px; white-space: nowrap; }
.pcard__name { font-family: var(--serif); font-size: 18px; letter-spacing: 0.05em; margin-bottom: 6px; }
.pcard__sub { font-size: 11.5px; color: var(--faint); line-height: 1.7; margin-bottom: 22px; min-height: 32px; }
.prow { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 13px; }
.prow:last-of-type { border-bottom: 1px solid var(--line); }
.prow .label { color: var(--muted); white-space: nowrap; }
.prow .price { font-family: var(--sans); font-size: 17px; font-weight: 700; white-space: nowrap; }
.prow .price small { font-family: var(--sans); font-size: 10px; color: var(--faint); font-weight: 400; }
.pcard__foot { font-size: 11px; color: var(--faint); line-height: 1.8; margin-top: 18px; }

/* detailed photo-plan cards */
.pcard--plan { flex: 0 0 320px; }
.pcard--plan .pcard__sub { min-height: 0; margin-bottom: 0; }
.pcard__en { font-family: "Inter"; font-size: 10px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--label); }
.pcard--plan .pcard__name { font-size: 21px; margin-top: 10px; margin-bottom: 8px; }
.pplan { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 11px; }
.pplan li { position: relative; padding-left: 20px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.pplan li::before { content: ""; position: absolute; left: 0; top: 6px; width: 6px; height: 6px; background: var(--accent); transform: rotate(45deg); }
.pcard__pricing { margin-top: auto; padding-top: 22px; }
.pprice-normal { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 12px; color: var(--faint); letter-spacing: 0.06em; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.pprice-normal b { font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--muted); }
.pprice-special { padding-top: 16px; }
.pprice-special .pcard__badge { margin-bottom: 14px; }
.pprice-special__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.pprice-special__row span { font-size: 11.5px; color: var(--ink); letter-spacing: 0.04em; }
.pprice-special__row b { font-family: var(--sans); font-size: 27px; font-weight: 700; color: var(--accent); line-height: 1; white-space: nowrap; }
/* single-price footer (web plans) */
.pprice-single { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.pprice-single span { font-size: 11.5px; color: var(--faint); letter-spacing: 0.06em; }
.pprice-single b { font-family: var(--sans); font-size: 26px; font-weight: 700; color: var(--ink); white-space: nowrap; }
.pprice-single small { font-family: var(--sans); font-size: 11px; color: var(--faint); font-weight: 400; margin-left: 2px; }
/* tiered footer (full-omakase) */
.ptiers { display: flex; flex-direction: column; }
.ptier { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.ptier:first-child { border-top: none; padding-top: 4px; }
.ptier span { font-size: 12.5px; color: var(--muted); }
.ptier b { font-family: var(--sans); font-size: 18px; font-weight: 700; color: var(--accent); white-space: nowrap; }
.ptier small { font-family: var(--sans); font-size: 10px; color: var(--faint); font-weight: 400; margin-left: 1px; }
.price-cond { font-size: 11px; color: var(--faint); line-height: 1.8; margin-top: 18px; }
small.yen { font-family: var(--sans); font-size: 0.5em; font-weight: 500; color: inherit; opacity: 0.7; margin-left: 2px; letter-spacing: 0.02em; }
.ptier__was small.yen { font-size: 0.85em; }
.lane-more { margin-top: 20px; }
.lane-more--center { text-align: center; }
.price-note { font-size: 11.5px; color: var(--faint); line-height: 1.9; margin-top: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.cta-band { background: #000; border: 1px solid var(--line); border-radius: 2px; padding: 56px 40px; text-align: center; margin-top: 64px; position: relative; overflow: hidden; }
.cta-band h3, .cta-band .hero__cta { position: relative; z-index: 2; }
.cta-band h3 { font-size: 30px; letter-spacing: 0.06em; margin-bottom: 26px; text-shadow: 0 2px 18px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.7); }
.cta-band .hero__cta { justify-content: center; }

/* ============================================================ NEWS */
.news { list-style: none; max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.news__item { border-bottom: 1px solid var(--line); }
.news__link { display: grid; grid-template-columns: 110px 76px 1fr 24px; align-items: center; gap: 20px; padding: 24px 6px; transition: background 0.3s var(--ease), padding 0.3s var(--ease); }
.news__link:hover { background: rgba(255,255,255,0.03); padding-left: 16px; padding-right: 16px; }
.news__date { font-family: "Inter"; font-size: 12px; letter-spacing: 0.08em; color: var(--faint); }
.news__cat { justify-self: start; font-size: 10.5px; letter-spacing: 0.1em; font-weight: 600; padding: 4px 11px; border-radius: 2px; border: 1px solid var(--accent); color: var(--label); white-space: nowrap; }
.news__cat--work { border-color: var(--line-strong); color: var(--muted); }
.news__cat--media { border-color: var(--line-strong); color: var(--muted); }
.news__title { font-size: 13.5px; color: var(--ink); line-height: 1.7; transition: color 0.3s var(--ease); }
.news__link:hover .news__title { color: var(--label); }
.news__arr { font-family: var(--sans); font-size: 16px; color: var(--accent); justify-self: end; transition: transform 0.35s var(--ease); }
.news__link:hover .news__arr { transform: translateX(4px); }
.news-more { text-align: center; margin-top: 44px; }
.news__cat--blog { border-color: var(--line-strong); color: var(--muted); }

/* お知らせ一覧ページ：カテゴリ絞り込み */
.news--page { margin-top: 8px; }
/* 一覧ページの各項目はサムネイル付きレイアウト */
.news--page .news__link { grid-template-columns: 132px 110px 76px 1fr 24px; gap: 22px; padding: 18px 6px; }
.news__thumb { width: 132px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--bg-2); border: 1px solid var(--line); }
.news__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.news--page .news__link:hover .news__thumb img { transform: scale(1.06); }
@media (max-width: 768px) {
  .news--page .news__link { grid-template-columns: 96px 1fr; grid-template-areas: "thumb date" "thumb cat" "thumb title"; gap: 6px 16px; align-items: start; padding: 16px 6px; }
  .news--page .news__thumb { grid-area: thumb; width: 96px; align-self: center; }
  .news--page .news__date { grid-area: date; }
  .news--page .news__cat { grid-area: cat; }
  .news--page .news__title { grid-area: title; }
  .news--page .news__arr { display: none; }
}
.news-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto 40px; }
.news-filter__btn { display: inline-flex; align-items: center; gap: 9px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.12em; padding: 10px 20px; background: transparent; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); cursor: pointer; transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease); }
.news-filter__btn:hover { color: var(--ink); border-color: var(--line-strong); }
.news-filter__btn.is-active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.news-filter__count { font-family: "Inter"; font-size: 10px; line-height: 1; padding: 3px 6px; border-radius: 999px; background: rgba(255,255,255,0.08); color: var(--faint); transition: background 0.3s var(--ease), color 0.3s var(--ease); }
.news-filter__btn.is-active .news-filter__count { background: rgba(0,0,0,0.18); color: var(--accent-ink); }
.news-empty { text-align: center; color: var(--muted); font-size: 13px; padding: 48px 0; }

/* ページ送り */
.news-pager { display: flex; align-items: center; justify-content: center; gap: 18px; max-width: 900px; margin: 48px auto 0; }
.news-pager__nums { display: flex; gap: 8px; }
.news-pager__num { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; font-family: "Inter"; font-size: 13px; background: transparent; border: 1px solid var(--line); border-radius: 2px; color: var(--muted); cursor: pointer; transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease); }
.news-pager__num:hover { color: var(--ink); border-color: var(--line-strong); }
.news-pager__num.is-active { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.news-pager__nav { display: inline-flex; align-items: center; gap: 7px; font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; background: transparent; border: none; color: var(--muted); cursor: pointer; padding: 8px 4px; transition: color 0.3s var(--ease); }
.news-pager__nav .arr { color: var(--accent); transition: transform 0.3s var(--ease); }
.news-pager__nav:hover:not(:disabled) { color: var(--ink); }
.news-pager__nav:disabled { opacity: 0.32; cursor: default; }
@media (max-width: 560px) {
  .news-pager { gap: 8px; flex-wrap: wrap; }
  .news-pager__nav { font-size: 11px; }
}

/* ============================================================ CONTACT */
/* square-tiled blurred photo mosaic background */
#contact { overflow: hidden; }
#contact .wrap { position: relative; z-index: 2; }
.contact-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; filter: blur(8px); transform: scale(1.08); }
.contact-bg::after { content: ""; position: absolute; inset: 0; background: rgba(17,17,17,0.7); z-index: 1; }
.contact-bg__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 0; width: 100%; height: 100%; align-content: start; }
.contact-bg__tile { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
#contact .eyebrow, #contact .h2, #contact .lead { text-shadow: 0 2px 18px rgba(0,0,0,0.9), 0 1px 4px rgba(0,0,0,0.75); }
.cinfo-row dt, .cinfo-row dd { text-shadow: 0 1px 8px rgba(0,0,0,0.8); }

.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; }
.contact-panel { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 48px; }
.contact-cta { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.contact-cta__btn { font-size: 16px; padding: 20px 48px; }
.contact-cta__note { font-size: 12.5px; line-height: 1.85; color: var(--muted); text-shadow: 0 1px 8px rgba(0,0,0,0.8); max-width: 30em; }
dl.contact-info--grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 0; width: 100%; }
.contact-info--grid .cinfo-row { margin: 0; }
@media (max-width: 760px) {
  .contact-panel { gap: 36px; max-width: 460px; }
  dl.contact-info--grid { grid-template-columns: 1fr; }
}
.br-sp { display: none; }
@media (max-width: 600px) { .br-sp { display: inline; } }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-row .field { margin-bottom: 22px; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.12em; color: var(--faint); margin-bottom: 9px; }
.field label .req { color: var(--accent); margin-left: 6px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: 2px;
  color: var(--ink); font-family: var(--sans); font-size: 13.5px; padding: 13px 15px; transition: border-color 0.3s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 120px; line-height: 1.8; }
.field.invalid input, .field.invalid textarea { border-color: #dd0000; }
.field__err { color: #ff6b6b; font-size: 11px; margin-top: 6px; display: none; }
.field.invalid .field__err { display: block; }
.contact__submit { width: 100%; margin-top: 8px; }
.contact__sent { background: var(--surface); border: 1px solid var(--accent); border-radius: 2px; padding: 40px; text-align: center; }
.contact__sent .ttl { font-family: var(--serif); font-size: 22px; margin-bottom: 12px; }
.contact__sent p { font-size: 13px; color: var(--muted); }
.contact-info { display: flex; flex-direction: column; gap: 0; }
.cinfo-row { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.cinfo-row dt { font-family:"Inter"; font-size: 11px; letter-spacing: 0.14em; color: var(--label); font-weight: 600; }
.cinfo-row dd { color: var(--muted); }
.qr-row { display: flex; gap: 18px; margin-top: 30px; }
.qr { flex: 1; text-align: center; }
.qr .ph { aspect-ratio: 1; width: 100%; border-radius: 2px; }
.qr .cap { font-size: 11px; color: var(--faint); letter-spacing: 0.1em; margin-top: 10px; }

/* ============================================================ FOOTER */
.footer { background: #000; border-top: 1px solid var(--line); padding: 72px 0 40px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.footer__logo { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer__logo span { color: var(--accent); }
.footer__logo-img { width: 168px; height: auto; display: block; margin-bottom: 22px; filter: invert(1); }
.footer__tag { font-size: 12.5px; color: var(--faint); line-height: 1.9; max-width: none; white-space: nowrap; }
.footer__right { display: flex; flex-direction: column; align-items: flex-end; gap: 22px; }
.footer__nav { display: flex; gap: 30px; flex-wrap: wrap; }
.footer__nav-item { display: flex; flex-direction: column; align-items: center; gap: 1px; position: relative; padding: 6px 0; color: var(--muted); transition: color 0.3s; }
.footer__nav-item .en { font-family: "Inter"; font-size: 11px; font-weight: 600; letter-spacing: 0.18em; }
.footer__nav-item .ja { font-size: 9.5px; color: var(--faint); letter-spacing: 0.14em; transition: color 0.3s; }
.footer__nav-item::after { content: ""; position: absolute; bottom: 0; left: 50%; width: 0; height: 1px; background: var(--accent); transition: width 0.35s var(--ease), left 0.35s var(--ease); }
.footer__nav-item:hover { color: var(--accent); }
.footer__nav-item:hover .ja { color: var(--accent); }
.footer__nav-item:hover::after { width: 100%; left: 0; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.footer__copy { font-family: "Inter"; font-size: 11px; letter-spacing: 0.08em; color: var(--faint); }
.footer__legal { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__policy { font-size: 11px; letter-spacing: 0.08em; color: var(--muted); transition: color 0.3s; }
.footer__policy:hover { color: var(--accent); }
.footer__sns { display: flex; gap: 18px; align-items: center; }
.footer__sns-ico { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; color: var(--muted); transition: color 0.3s, border-color 0.3s; }
.footer__sns-ico svg { width: 24px; height: 24px; }
.footer__sns-ico:hover { color: var(--accent); border-color: var(--accent); }

/* ============================================================ RESPONSIVE */
@media (max-width: 1024px) {
  :root { --sec-y: 84px; }
  .hero h1 { font-size: 46px; }
  .data-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .strengths { grid-template-columns: 1fr; gap: 24px; }
  /* FLOW → vertical timeline */
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__step { display: grid; grid-template-columns: 62px 1fr; column-gap: 24px; padding-bottom: 40px; align-items: start; }
  .flow__step:last-child { padding-bottom: 0; }
  .flow__circle { grid-column: 1; grid-row: 1 / 4; margin-bottom: 0; }
  .flow__en, .flow__ja, .flow__desc { grid-column: 2; }
  .flow__en { padding-top: 6px; }
  .flow__step:not(:last-child)::after { top: 62px; bottom: 4px; left: 31px; right: auto; width: 1px; height: auto; }
  .works-track { padding: 0 24px; }
  .work { flex: 0 0 62vw; max-width: 440px; }
  .lightbox__inner { grid-template-columns: 1fr; max-width: 560px; }
  .lightbox__info { padding: 32px 30px; }
}
@media (max-width: 768px) {
  body { font-size: 13.5px; }
  .nav__menu { display: none; }
  .nav__burger { display: flex; }
  .nav__drawer, .nav__scrim { display: flex; }
  .nav__cta { display: none; }
  .nav__inner { padding: 0 24px; }
  .hero { height: 100vh; height: 100svh; }
  .hero__content { padding: 0 24px 44px; display: flex; flex-direction: column; align-items: flex-start; min-height: 82svh; }
  /* 縦書き見出し：画面高に連動させ、どの端末でも見切れず収める（svhベース） */
  .hero h1 { writing-mode: vertical-rl; text-orientation: upright; align-self: flex-start; flex: 0 1 auto; min-height: 0; max-height: 62svh; margin: 0 0 24px; line-height: 1.8; letter-spacing: 0.14em; font-size: clamp(18px, 3.4svh, 29px) !important; text-shadow: 0 2px 30px rgba(0,0,0,0.55); }
  .hero__sub { white-space: normal; font-size: 13.5px; }
  .hero__sub-br { display: inline; }
  /* CTA は折り返さず、2ボタンを均等幅で横並びに（収まり優先） */
  .hero .hero__cta { flex-wrap: nowrap; gap: 10px; width: 100%; margin-top: 32px; }
  .hero .hero__cta .btn { flex: 1 1 0; min-width: 0; padding-left: 14px; padding-right: 14px; }
  .hero__logo--stack { display: none; }
  .hero__logo--wide { display: block; height: auto; width: 200px; margin-bottom: 28px; }
  .hero__scroll { display: none; }
  .h2, .about__msg-head { font-size: 24px; }
  .vs { grid-template-columns: 1fr; }
  .vs__mid { padding: 18px; }
  .vs__mid::after { content: ""; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; grid-template-areas: "name" "photo" "body"; grid-template-rows: auto auto auto; }
  .about__name { margin-bottom: 0; }
  .about__photo { max-width: 320px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-grid { grid-template-columns: 1fr; gap: 18px; }
  .svc-card { display: block; }
  .svc-card__media { aspect-ratio: 16 / 9; }
  .svc-card__media .ph { border-right: none; border-bottom: 1px solid var(--line); }
  .svc-card__body { padding: 26px 26px 30px; }
  .svc-tags { flex-direction: column; }
  .svc-tags span { border-right: none; border-bottom: 1px solid var(--line); }
  .svc-tags span:last-child { border-bottom: none; }
  .news__link { grid-template-columns: auto 1fr; grid-template-areas: "date cat" "title title"; gap: 8px 14px; }
  .news__date { grid-area: date; }
  .news__cat { grid-area: cat; }
  .news__title { grid-area: title; }
  .news__arr { display: none; }
  .price-tabs { flex-wrap: nowrap; justify-content: center; gap: 0; overflow-x: visible; }
  .price-tab { flex: 1 1 0; min-width: 0; padding: 4px 6px 14px; }
  .price-tab__label { font-size: 14px; white-space: normal; line-height: 1.32; text-wrap: balance; }
  .price-tab__en { display: none; }
  .ops-feature { grid-template-columns: 1fr; gap: 28px; padding: 28px 24px; }
  .ops-feature__tiers { padding-left: 0; padding-top: 22px; border-left: none; border-top: 1px solid var(--line); }
  .ops-grid { grid-template-columns: 1fr; }
  /* swipeable card lanes — peek the next card, snap each to the page margin */
  .lane { gap: 14px; scroll-padding-left: var(--pad); padding-left: var(--pad); padding-right: var(--pad); margin-left: calc(-1 * var(--pad)); margin-right: calc(-1 * var(--pad)); }
  .lane--center { justify-content: flex-start; }
  .lane > .pcard { scroll-snap-align: start; flex: 0 0 80vw; max-width: 330px; }
}
@media (max-width: 480px) {
  :root { --pad: 20px; }
  .data-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card__media { aspect-ratio: 4 / 3; }
  .svc-card__body { padding: 22px 22px 26px; }
  .flow { grid-template-columns: 1fr; }
  .lightbox { padding: 20px; align-items: flex-start; overflow-y: auto; }
  .lightbox__nav { position: fixed; top: auto; bottom: 22px; transform: none; height: 44px; padding: 0 16px; background: rgba(0,0,0,0.78); z-index: 210; }
  .lightbox__nav--prev { left: 20px; }
  .lightbox__nav--next { right: 20px; }
  .lightbox__inner { margin: auto auto; margin-bottom: 78px; }
  .works-track { padding: 0 18px; gap: 12px; flex-flow: row nowrap; align-content: normal; height: auto; }
  .work { flex: 0 0 80vw; max-width: 380px; aspect-ratio: 4 / 3; width: auto; height: auto; }
  .hero h1 { font-size: clamp(17px, 3.2svh, 26px) !important; letter-spacing: 0.12em; }
  .pcard { flex: 0 0 250px; }
}

/* ============================================================ SUB-PAGE (price detail) */
.subpage { padding-top: 0; }
.subpage-hero { padding: 108px 0 44px; border-bottom: 1px solid var(--line); background: var(--bg-2); }
.subpage-back { display: inline-block; font-family: "Inter"; font-size: 12px; letter-spacing: 0.1em; color: var(--muted); transition: color 0.3s; }
.subpage-back:hover { color: var(--accent); }
.subpage-section { padding-top: 72px; padding-bottom: 72px; }
.subpage-section--alt { background: var(--bg-2); }
.subpage-hero .h2 { font-size: 40px; margin-top: 6px; }

.incl-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 8px; }
.incl-card { background: var(--bg); padding: 34px 32px; }
.incl-card__no { font-family: "Inter"; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; color: var(--label); }
.incl-card__title { font-family: var(--serif); font-size: 19px; letter-spacing: 0.04em; margin: 14px 0 12px; }
.incl-card__desc { font-size: 13px; color: var(--muted); line-height: 1.85; }

.dflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 8px; }
.dflow__step { padding-top: 22px; border-top: 2px solid var(--accent); }
.dflow__no { font-family: "Inter"; font-size: 13px; font-weight: 600; letter-spacing: 0.16em; color: var(--label); }
.dflow__title { font-family: var(--serif); font-size: 18px; letter-spacing: 0.04em; margin: 12px 0 12px; }
.dflow__desc { font-size: 12.5px; color: var(--muted); line-height: 1.8; }

.subpage-cta { text-align: center; background: #000; border: 1px solid var(--line); border-radius: 2px; padding: 64px 40px; position: relative; overflow: hidden; }
.subpage-cta > .h2, .subpage-cta > .lead, .subpage-cta > .hero__cta { position: relative; z-index: 2; }
.subpage-cta > .h2 { text-shadow: 0 2px 18px rgba(0,0,0,0.85), 0 1px 4px rgba(0,0,0,0.7); }
.subpage-cta > .lead { text-shadow: 0 2px 14px rgba(0,0,0,0.8); }

/* per-tab section headers on the detail page */
.dsec-head { margin-bottom: 48px; text-align: center; }
.dsec-head__title { font-family: var(--serif); font-size: 34px; font-weight: 500; letter-spacing: 0.04em; }
.dsec-head__lead { font-size: 14px; color: var(--muted); line-height: 1.9; margin: 14px auto 0; max-width: 60ch; }
.dsec-head__lead--wide { max-width: none; width: 100%; text-wrap: balance; }
.lead-br { display: inline; }
@media (max-width: 600px) {
  .lead-br { display: none; }
}
.dsec-head--center { text-align: center; margin-bottom: 40px; }
.subpage-section--lead { padding-top: 48px; }

/* ページが開いた時の、ふわっと柔らかい登場アニメーション */
.subpage { animation: subpageEnter 1.05s cubic-bezier(0.22, 0.61, 0.36, 1) both; }
.subpage > .subpage-hero { animation: subpageHeroEnter 1.15s cubic-bezier(0.22, 0.61, 0.36, 1) 0.08s both; }
@keyframes subpageEnter {
  from { opacity: 0; transform: translateY(16px) scale(0.992); filter: blur(7px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes subpageHeroEnter {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .subpage, .subpage > .subpage-hero { animation: none; }
}

/* detail-page tab bar — more even vertical rhythm */
.subpage .price-tabs { margin-top: 4px; margin-bottom: 0; }
.subpage .price-tab { padding: 18px 26px 22px; gap: 9px; }
@media (max-width: 768px) {
  .subpage .price-tab { padding: 16px 6px 18px; }
}

@media (max-width: 760px) {
  .subpage-hero .h2 { font-size: 30px; }
  .dflow { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .incl-grid { grid-template-columns: 1fr; }
  .dflow { grid-template-columns: 1fr; }
}

/* ── WordPress テーマ化に伴う調整 ──
   元デザインは React で条件マウントしていた要素を、サーバー出力では
   [hidden] 属性で制御する。display を持つ要素は [hidden] が効くよう明示する。 */
.lightbox[hidden] { display: none !important; }

/* ── お知らせ／固定ページ本文：デザインシステム準拠の記事タイポグラフィ ──
   管理画面で書いた本文（見出し・段落・リスト・画像・引用 等）を、
   サイトのトーン（明朝見出し・本文Noto Sans・アクセント）に揃えて表示する。 */
.article-meta { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.article-meta .news__date { color: var(--faint); font-family: var(--sans); font-size: 13px; letter-spacing: 0.04em; }

.news-article { color: var(--muted); font-size: 15px; line-height: 2.05; letter-spacing: 0.02em; }
.news-article > *:first-child { margin-top: 0; }
.news-article p { margin: 0 0 1.6em; }
.news-article h2 { font-size: 24px; color: var(--ink); line-height: 1.6; letter-spacing: 0.04em; margin: 2.4em 0 0.9em; padding-bottom: 0.5em; border-bottom: 1px solid var(--line); }
.news-article h3 { font-size: 19px; color: var(--ink); line-height: 1.6; margin: 2em 0 0.7em; padding-left: 14px; border-left: 2px solid var(--accent); }
.news-article h4 { font-size: 16px; color: var(--ink); margin: 1.8em 0 0.6em; }
.news-article a { color: var(--label); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); transition: color 0.2s var(--ease); }
.news-article a:hover { color: var(--accent); }
.news-article strong, .news-article b { color: var(--ink); font-weight: 700; }
.news-article em { color: var(--ink); }
.news-article ul, .news-article ol { margin: 0 0 1.6em; padding-left: 1.4em; }
.news-article li { margin: 0.5em 0; }
.news-article ul li::marker { color: var(--accent); }
.news-article img { max-width: 100%; height: auto; border-radius: 4px; display: block; margin: 1.2em 0; }
.news-article figure { margin: 1.8em 0; }
.news-article figcaption { font-size: 12px; color: var(--faint); margin-top: 8px; text-align: center; }
.news-article blockquote { margin: 1.8em 0; padding: 6px 0 6px 22px; border-left: 2px solid var(--accent); color: var(--ink); font-family: var(--serif); line-height: 1.9; }
.news-article hr { border: 0; border-top: 1px solid var(--line); margin: 2.6em 0; }
.news-article table { width: 100%; border-collapse: collapse; margin: 1.8em 0; font-size: 14px; }
.news-article th, .news-article td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.news-article th { background: var(--surface-2); color: var(--ink); font-weight: 500; }
.news-article code { background: var(--surface-2); padding: 2px 6px; border-radius: 3px; font-size: 0.9em; }
.news-article .wp-caption, .news-article figure.wp-block-image { max-width: 100%; }
.news-article .aligncenter { margin-left: auto; margin-right: auto; }

/* ── お問い合わせページ ──
   ハンドオフの noki.css に含まれていなかったため、デザインに合わせて補完。
   blurred 写真バンド（why-bg--rev）の上に、半透明カードでフォームを中央配置。 */
.cform-page { position: relative; min-height: 100vh; padding: 150px 20px 110px; overflow: hidden; display: flex; align-items: flex-start; }
.cform-shell { position: relative; z-index: 2; width: 100%; max-width: 600px; margin: 0 auto; background: rgba(20,20,20,0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 4px; padding: clamp(28px, 5vw, 52px); }
.cform-back { display: inline-block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 28px; transition: color 0.25s var(--ease); }
.cform-back:hover { color: var(--accent); }
.cform { margin-top: 6px; }
.field label .opt { color: var(--faint); margin-left: 8px; font-size: 10px; letter-spacing: 0.08em; }
.field label .lbl-note { color: var(--faint); margin-left: 6px; font-size: 10px; letter-spacing: 0.04em; }
@media (max-width: 480px) { .cform-page { padding: 116px 16px 80px; } }

/* Contact Form 7 をデザインに馴染ませる（独自マークアップの吸収） */
.cform-shell .wpcf7 { margin: 0; }
.cform-shell form.wpcf7-form { display: block; }
.cform-shell .wpcf7-form-control-wrap { display: block; width: 100%; }
.cform-shell .wpcf7 p { margin: 0; }
.cform-shell .wpcf7-form-control.wpcf7-submit { width: 100%; margin-top: 8px; }
.cform-shell .field input.wpcf7-not-valid,
.cform-shell .field textarea.wpcf7-not-valid,
.cform-shell .field select.wpcf7-not-valid { border-color: #dd0000; }
.cform-shell .wpcf7-not-valid-tip { color: #ff6b6b; font-size: 11px; margin-top: 6px; display: block; }
.cform-shell .wpcf7-response-output { margin: 18px 0 0 !important; padding: 14px 16px !important; border-radius: 2px; font-size: 12.5px; color: var(--muted); border-color: var(--line) !important; }
.cform-shell .wpcf7-spinner { margin: 12px auto 0; display: block; }

/* CF7 未設定時のお知らせ（管理者向け） */
.cform-setup-note { margin-bottom: 24px; padding: 12px 16px; border: 1px solid var(--accent); border-radius: 2px; background: rgba(45,117,199,0.08); color: var(--muted); font-size: 12px; line-height: 1.7; }
