/* ================================================================
   BLUE PRINT — style.css
   統合スタイルシート（blueprint + company / contact / case / service）
   ================================================================ */

/* ===== 1. CSS変数・リセット・ベーススタイル ===== */

:root {
  /* === Vivid (default): 明るくしっかり濃い発色 === */
  --pink: #f23d77;
  --pink-2: #fb9cbe;
  --blue: #109fd8;
  --blue-2: #7fd0ef;
  --yellow: #fbb000;
  --yellow-2: #ffce3d;
  --mint: #12a866;
  --mint-2: #74cf9f;
  --coral: #f5481f;
  --coral-2: #fa8a64;
  --lilac: #9173e0;
  --lilac-2: #c3a9f2;
  --paper: #fef6e8;
  --section-bg: #fef4df;
  --ink: #1e1f29;
  --ink-soft: #45464f;
  --line: #1e1f29;
}

/* ===== Tweakable moods ===== */
body[data-mood="punchy"] {
  --pink: #ff2e6e;
  --pink-2: #ff8fb4;
  --blue: #00a7e6;
  --blue-2: #6fd2f5;
  --yellow: #ffbb00;
  --yellow-2: #ffd633;
  --mint: #00b06a;
  --mint-2: #5fd199;
  --coral: #ff4318;
  --coral-2: #ff8259;
  --lilac: #8c63ff;
  --lilac-2: #bda1ff;
  --paper: #fff7ea;
  --section-bg: #fff4dc;
  --ink: #1b1c26;
  --ink-soft: #43444e;
}
body[data-mood="bright"] {
  --pink: #fa5d8c;
  --pink-2: #ffb3cc;
  --blue: #36bbe8;
  --blue-2: #a0e1f6;
  --yellow: #ffc41f;
  --yellow-2: #ffe070;
  --mint: #2bc483;
  --mint-2: #8fe0b6;
  --coral: #ff6a40;
  --coral-2: #ffa885;
  --paper: #fffdf8;
  --section-bg: #fffaf0;
  --ink: #1e1f29;
  --ink-soft: #45464f;
}
body[data-mood="deep"] {
  --pink: #e51e5c;
  --pink-2: #f07ba0;
  --blue: #0a8bc4;
  --blue-2: #62bbe2;
  --yellow: #f0a000;
  --yellow-2: #f8c724;
  --mint: #079256;
  --mint-2: #66bd8e;
  --coral: #e23a12;
  --coral-2: #ee7c54;
  --paper: #fbefd5;
  --section-bg: #f9ecce;
  --ink: #1a1b24;
  --ink-soft: #3f4049;
}
body[data-mood="pastel"] {
  --pink: #e8709a;
  --pink-2: #f0a0b8;
  --blue: #4aaed0;
  --blue-2: #80c4e4;
  --yellow: #f0bc08;
  --yellow-2: #f6d440;
  --mint: #40a872;
  --mint-2: #78b898;
  --coral: #e05838;
  --coral-2: #ea8860;
  --paper: #f4ecd8;
  --section-bg: #f5eedd;
  --ink: #1f2024;
  --ink-soft: #3a3b40;
}

/* Voice: editorial */
body[data-voice="editorial"] .hero-title h1 {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
  letter-spacing: 0.04em;
}
body[data-voice="editorial"] .hero-sub {
  font-family: "Noto Serif JP", serif;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.06em;
}
body[data-voice="editorial"] .v-center h2,
body[data-voice="editorial"] .svc-card h3 {
  font-family: "Noto Serif JP", serif;
  letter-spacing: 0.1em;
}
body[data-voice="editorial"] .sec-title {
  font-family: "Noto Serif JP", serif;
  font-style: italic;
  letter-spacing: 0.12em;
}

/* Energy: quiet */
body[data-energy="quiet"] .blobs svg { opacity: 0.45; }
body[data-energy="quiet"] .swoosh { display: none; }
body[data-energy="quiet"] .illu.secondary { display: none; }
body[data-energy="quiet"] .v-bubble .dots { display: none; }
body[data-energy="quiet"] .hero { height: 760px; }

/* Energy: lively */
body[data-energy="lively"] .blobs svg { filter: saturate(1.25); }
body[data-energy="lively"] .hero-title h1 { transform: rotate(-1.5deg); }
body[data-energy="lively"] .illu {
  animation: bob 6s ease-in-out infinite;
}
body[data-energy="lively"] .illu:nth-child(odd) {
  animation-delay: -3s;
  animation-duration: 5s;
}
body[data-energy="lively"] .illu:nth-child(3n) { animation-duration: 7s; }
@keyframes bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(0.6deg); }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html,
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body { overflow-x: hidden; }
img,
svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }


/* ===== 2. 共通コンポーネント（全ページ共通） ===== */

/* ---------- Header / Nav ---------- */
/* ベース: index用（position: absolute） */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 32px;
  padding: 28px 48px;
  max-width: 1200px;
  margin: auto;
}
/* サブページ用: position: sticky に上書き */
body:not([data-page="home"]) .nav {
  position: sticky;
  top: 0;
  max-width: none;
  width: 100%;
  margin: 0;
  padding-left: max(48px, calc((100% - 1200px) / 2 + 48px));
  padding-right: max(48px, calc((100% - 1200px) / 2 + 48px));
  background: color-mix(in srgb, #fff 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 32, 36, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Baloo 2", "Noto Sans JP", sans-serif;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-size: 23px;
  line-height: 1;
  color: #4494d4;
}
.logo .mark { display: none; }
.logo .mark--hidden {
  position: relative;
  width: 10px;
  height: 24px;
  border-right: 2px solid var(--ink);
}
.logo .mark::before {
  content: "";
  position: absolute;
  right: -2px;
  bottom: 0;
  width: 10px;
  height: 2px;
  background: var(--ink);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  font-size: 14px;
  font-weight: 500;
  margin-left: auto;
}
.nav-links a:hover { opacity: 0.6; }
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 13px 28px 13px 22px;
  font-size: 13px;
  font-weight: 500;
  transition: transform 0.2s ease;
}
.cta:hover { transform: translateY(-1px); }
.cta svg { width: 14px; height: 14px; }

.nav-social {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  transition: transform 0.2s ease, opacity 0.16s ease;
}
.nav-social-link:hover { transform: translateY(-1px); opacity: 0.75; }
.nav-social-link img { width: 100%; height: 100%; object-fit: cover; }

/* カレントリンク（共通） */
.nav-links a.curr {
  font-weight: 700;
  position: relative;
}
.nav-links a.curr::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 3px;
  border-radius: 99px;
}

/* ---------- Section heading ---------- */
.sec-title {
  display: block;
  text-align: center;
  font-family: "Noto Sans JP";
  font-weight: 600;
  font-size: 28px;
  letter-spacing: 0.14em;
  margin: 0 0 48px;
  padding-bottom: 22px;
  position: relative;
}
.sec-title::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 2px;
  background: var(--ink-soft);
  border-radius: 99px;
}
.sec-head {
  display: flex;
  align-items: start;
  justify-content: center;
  gap: 26px;
  margin: 0 0 48px;
}
.sec-head .sec-title { margin: 0; }
.title-burst { width: 76px; height: 60px; flex: none; }
.title-burst.right { transform: scaleX(-1); }

/* ---------- Footer ---------- */
footer {
  background: #fff;
  padding: 30px 24px 50px;
  border-top: 1px solid rgba(31, 32, 36, 0.06);
}
.foot {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
  padding: 30px 0;
  border-top: 1px solid rgba(31, 32, 36, 0.08);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.foot .logo { margin-bottom: 18px; }
.foot .addr {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 22px;
  color: var(--ink-soft);
  line-height: 1.8;
  font-size: 11.5px;
}
.foot h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}
.foot ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--ink-soft);
  font-size: 11.5px;
}
.foot ul li::before {
  content: "・";
  margin-right: 2px;
  color: rgba(31, 32, 36, 0.5);
}
.foot a:hover { opacity: 0.6; }
.foot-social {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.foot-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  transition: transform 0.2s ease, opacity 0.16s ease;
}
.foot-social-link:hover { transform: translateY(-1px); opacity: 0.75; }
.foot-social-link img { width: 100%; height: 100%; object-fit: cover; }
.foot-col h4 {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.copyright {
  text-align: center;
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: 0.08em;
  padding-top: 16px;
}
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(31, 32, 36, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  box-shadow: 0 4px 12px rgba(31, 32, 36, 0.06);
  z-index: 50;
  cursor: pointer;
}
.to-top svg { width: 14px; height: 14px; }

/* ---------- Section wave dividers ---------- */
.section-divider {
  display: block;
  line-height: 0;
  overflow: hidden;
  height: 72px;
  margin: -1px 0;
}
.section-divider svg {
  display: block;
  width: 100%;
  height: 72px;
}
.section-divider--hero {
  background: transparent !important;
  margin-top: -72px;
  position: relative;
  z-index: 10;
}

/* ---------- Scroll fade ---------- */
@keyframes scroll-enter {
  from { opacity: 0; transform: translateY(32px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.scroll-fade { opacity: 0; }
.scroll-fade.in-view {
  animation: scroll-enter 0.48s cubic-bezier(0.34, 1.4, 0.64, 1) var(--stagger, 0ms) both;
}

/* ---------- Tiny ornaments / sprinkles ---------- */
.dot-cluster {
  position: absolute;
  display: grid;
  grid-template-columns: repeat(4, 4px);
  gap: 5px;
  opacity: 0.4;
}
.dot-cluster i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
}
.spr {
  position: absolute;
  pointer-events: none;
  z-index: 2;
  display: block;
}
.spr.dot   { width: 11px; height: 11px; border-radius: 50%; background: currentColor; }
.spr.dot.sm{ width: 7px;  height: 7px; }
.spr.ring  { width: 15px; height: 15px; border-radius: 50%; border: 3px solid currentColor; }
.spr.tri   { width: 0; height: 0; border-left: 8px solid transparent; border-right: 8px solid transparent; border-bottom: 14px solid currentColor; }
.spr.bar   { width: 24px; height: 7px; border-radius: 99px; background: currentColor; }
.spr.star  { width: 22px; height: 22px; background: currentColor;
  clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%); }
.spr.squig { color: currentColor; }
.spr.squig svg { display: block; width: 100%; height: 100%; overflow: visible; }
.c-pink   { color: var(--pink); }
.c-blue   { color: var(--blue); }
.c-yellow { color: var(--yellow); }
.c-mint   { color: var(--mint); }
.c-coral  { color: var(--coral); }
.c-lilac  { color: var(--lilac); }
.highlight-quote {
  display: inline-block;
  font-weight: 800;
  color: var(--blue);
  font-size: 1.08em;
  letter-spacing: 0.03em;
  line-height: 1.7;
  margin: 4px 0;
}
.spr.extra { display: none; }
body[data-decor="festive"] .spr.extra { display: block; }
body[data-decor="subtle"] .spr.optional { display: none; }
body[data-decor="subtle"] .title-burst { opacity: 0.45; transform: scale(0.8); }
body[data-decor="subtle"] .title-burst.right { transform: scaleX(-1) scale(0.8); }

/* ---------- Hamburger / Mobile drawer ---------- */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: 8px;
  flex-shrink: 0;
  z-index: 60;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 99px;
  transition: transform 0.28s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav-drawer {
  visibility: hidden;
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(31, 32, 36, 0);
  transition: background 0.3s ease, visibility 0s 0.3s;
}
.nav-drawer.open {
  visibility: visible;
  background: rgba(31, 32, 36, 0.45);
  transition: background 0.3s ease, visibility 0s;
}
.nav-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(300px, 82vw);
  height: 100%;
  background: var(--paper);
  padding: 72px 28px 48px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -6px 0 30px rgba(31, 32, 36, 0.14);
  overflow-y: auto;
}
.nav-drawer.open .nav-drawer-panel { transform: translateX(0); }
.nav-drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  transition: opacity 0.16s ease;
}
.nav-drawer-close:hover { opacity: 0.6; }
.nav-drawer-close svg { width: 22px; height: 22px; }
.nav-drawer-logo {
  font-family: "Baloo 2", "Noto Sans JP", sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #4494d4;
  letter-spacing: 0.02em;
  margin-bottom: 32px;
}
.nav-drawer-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(31, 32, 36, 0.08);
}
.nav-drawer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 4px;
  border-bottom: 1px solid rgba(31, 32, 36, 0.08);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.16s ease;
}
.nav-drawer-links a:hover { color: var(--pink); }
.nav-drawer-links a svg { width: 18px; height: 18px; flex-shrink: 0; opacity: 0.35; }
.nav-drawer-cta {
  display: block;
  margin-top: 28px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 15px 24px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: opacity 0.16s ease;
}
.nav-drawer-cta:hover { opacity: 0.75; }
.nav-drawer-social {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

/* ---------- サブページ共通ヒーロー ---------- */
.svc-hero {
  position: relative;
  overflow: hidden;
  padding: 70px 24px 76px;
  background: var(--section-bg);
  text-align: left;
}
.svc-hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}
.svc-hero .eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 15px;
  font-weight: 500;
}
.svc-hero h1 {
  margin: 10px 0 0;
  font-weight: 900;
  font-size: 64px;
  letter-spacing: 0.06em;
  line-height: 1.05;
}
.svc-hero .lead {
  margin: 18px 0 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.9;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.svc-hero .crumb {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: color-mix(in srgb, var(--ink) 6%, transparent);
  border: 1px solid rgba(31, 32, 36, 0.14);
  border-radius: 99px;
  padding: 7px 16px;
}
.svc-hero .crumb a { color: inherit; text-decoration: none; }

/* ---------- サブページ共通 CTA バンド ---------- */
.svc-cta {
  position: relative;
  overflow: hidden;
  padding: 14px 24px 90px;
}
.svc-cta-band {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: var(--blue-2);
  border: 2px solid var(--ink);
  border-radius: 30px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 46px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.svc-cta-band .ct-title {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.4;
}
.svc-cta-band .ct-sub {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 8px;
}
.svc-cta-band .ct-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

/* ---------- 共通ボタン（company / case / service 用） ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 99px;
  padding: 15px 28px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 4px 4px 0 var(--ink);
}
.btn.fill { background: var(--pink); color: #fff; }
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}


/* ===== 3. INDEX ページ専用 ===== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  width: 100%;
  height: 920px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
}
.hero-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) rotate(-7deg);
  top: 270px;
  text-align: center;
  z-index: 5;
  width: 620px;
}
.hero-title h1 {
  font-family: "Noto Sans JP";
  font-weight: 900;
  font-size: 88px;
  line-height: 1.16;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.hero-title h1 .accent-pink { color: var(--pink); }
.hero-title h1 .accent-blue { color: var(--blue); }
.hero-title h1 .nudge {
  display: inline-block;
  transform: translateY(-4px);
}
.hero-sub {
  margin-top: 14px;
  margin-left: 120px;
  display: block;
  overflow: visible;
  transform: rotate(-3deg);
}
.hero-sub text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 1px;
  fill: currentColor;
  text-anchor: middle;
}
.go-mark {
  position: absolute;
  z-index: 5;
  font-family: "Noto Sans JP";
  font-weight: 700;
  font-size: 30px;
  color: var(--ink);
  transform: rotate(-4deg);
}
.go-mark .arrow {
  display: inline-block;
  margin-left: 4px;
  transform: translateY(-2px);
}

/* blob layer */
.blobs {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  max-width: 1920px;
  margin: auto;
}
.blobs svg,
.blobs img {
  position: absolute;
  mix-blend-mode: multiply;
}
.blob-yellow {
  --w: 34vw; --h: 61vw;
  --left: -3vw; --top: 3vw;
  width: var(--w); height: var(--h);
  left: var(--left); top: var(--top);
}
.blob-teal {
  --w: 64vw; --h: 36vw;
  --left: 6vw; --top: -8vw;
  width: var(--w); height: var(--h);
  left: var(--left); top: var(--top);
}
.blob-mint {
  --w: 47vw; --h: 44vw;
  --right: 1vw; --top: -6vw;
  width: var(--w); height: var(--h);
  right: var(--right); top: var(--top);
}
.blob-salmon {
  --w: 41vw; --h: 36vw;
  --right: -2vw; --top: 30vw;
  width: var(--w); height: var(--h);
  right: var(--right); top: var(--top);
}
.blob-pink {
  --w: 58vw; --h: 36vw;
  --bottom: -6vw;
  width: var(--w); height: var(--h);
  left: 50%; transform: translateX(-50%); bottom: var(--bottom);
}

/* illustration placeholders */
.illu {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px dashed rgba(31, 32, 36, 0.35);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(2px);
  border-radius: 8px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(31, 32, 36, 0.6);
  text-align: center;
  line-height: 1.4;
  padding: 6px 8px;
}
.illu.round { border-radius: 50%; }
.illu-img {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.illu-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 10px rgba(31, 32, 36, 0.08));
}
.illu-img.stack { display: grid; gap: 4%; }
.em-icon {
  width: 62%;
  height: 62%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(31, 32, 36, 0.08));
}
.em-swatch { width: 100%; height: 100%; object-fit: contain; }
.em-svc { width: 95%; height: 95%; object-fit: contain; }

/* Hero illustration positions */
.il-icon01 { left: 50px;    top: 200px;  width: 120px; height: 120px; }
.il-icon02 { right: 40px;   top: 195px;  width: 100px; height: 110px; }
.il-icon03 { left: 240px;   top: 120px;  width: 88px;  height: 155px; }
.il-icon04 { left: 28px;    top: 420px;  width: 95px;  height: 95px;  }
.il-icon05 { left: 490px;   top: 88px;   width: 130px; height: 115px; }
.il-icon06 { right: 245px;  top: 375px;  width: 100px; height: 110px; }
.il-icon07 { right: 245px;  top: 92px;   width: 155px; height: 130px; }
.il-icon08 { left: 188px;   top: 480px;  width: 100px; height: 118px; }
.il-icon09 { left: 68px;    top: 328px;  width: 100px; height: 138px; }
.il-icon10 { right: 18px;   top: 548px;  width: 100px; height: 118px; }
.il-icon11 { right: 72px;   top: 352px;  width: 110px; height: 100px; }
.il-icon12 { left: 348px;   top: 158px;  width: 92px;  height: 92px;  }
.il-icon13 { right: 138px;  top: 548px;  width: 138px; height: 118px; }
.il-main   { left: 32%;   top: 545px;  width: 440px; height: 230px; }
.il-icon14 { left: 28px;    top: 600px;  width: 92px;  height: 92px;  }
.il-icon15 { right: 40px;   top: 690px;  width: 108px; height: 130px; }
.il-icon16 { left: 298px;   top: 630px;  width: 92px;  height: 188px; }
.il-icon17 { left: 152px;   top: 658px;  width: 92px;  height: 86px;  }
.il-icon18 { right: 318px;  top: 658px;  width: 108px; height: 78px;  }

.swoosh {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

/***************************************************
 * Generated by SVG Artista on 5/23/2026, 4:25:51 PM
 * MIT license (https://opensource.org/licenses/MIT)
 * W. https://svgartista.net
 **************************************************/
svg .svg-elem-1 {
  stroke-dashoffset: 2031.308837890625px;
  stroke-dasharray: 2031.308837890625px;
  -webkit-transition: stroke-dashoffset 1s ease-in-out 0s;
          transition: stroke-dashoffset 1s ease-in-out 0s;
}
svg.active .svg-elem-1 {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s ease-in-out 0s !important;
}

@keyframes hero-enter {
  from { opacity: 0; transform: translateY(20px) scale(0.88); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%       { transform: translateY(-10px) rotate(0.4deg); }
}
.hero .illu-img {
  opacity: 0;
  animation-name: hero-enter, hero-float;
  animation-duration: 0.38s, calc(4.5s + var(--i, 0) * 0.18s);
  animation-timing-function: cubic-bezier(0.34, 1.56, 0.64, 1), ease-in-out;
  animation-fill-mode: forwards, none;
  animation-iteration-count: 1, infinite;
  animation-delay: calc(var(--i, 0) * 0.07s), calc(2.1s + var(--i, 0) * -0.18s);
}

/* ---------- Section: values ---------- */
.values {
  position: relative;
  padding: 72px 24px 88px;
  background: #fff;
  overflow: hidden;
}
.values-blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.values-blobs svg { position: absolute; }
.values-heading {
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 auto 48px;
}
.values-subtitle {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.values-heading h2 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin-bottom: 18px;
}
.values-heading h2::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--ink);
  margin: 16px auto 0;
  border-radius: 99px;
}
.values-cards {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.values-desc {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 44px auto 0;
  font-size: 16px;
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.values-desc-wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
}
.values-desc-wrap .spr { z-index: 1; }
@keyframes blob-breathe {
  0%   { transform: scale(1.00, 1.00) rotate( 0.0deg); }
  20%  { transform: scale(1.06, 0.95) rotate( 1.0deg); }
  45%  { transform: scale(0.96, 1.06) rotate(-0.8deg); }
  65%  { transform: scale(1.05, 0.96) rotate( 0.5deg); }
  80%  { transform: scale(0.97, 1.05) rotate(-0.6deg); }
  100% { transform: scale(1.00, 1.00) rotate( 0.0deg); }
}
.v-bubble {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 24px 32px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 28px;
  box-shadow: 0 3px 16px rgba(31, 32, 36, 0.07), 0 1px 4px rgba(31, 32, 36, 0.05);
}
.v-icon-wrap {
  position: relative;
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.v-icon-wrap::before { display: none; }
.v-bubble.pink .v-icon-wrap { background: var(--pink); }
.v-bubble.blue .v-icon-wrap { background: var(--blue); }
.v-bubble.mint .v-icon-wrap { background: var(--mint); }
.v-bubble .v-icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(31, 32, 36, 0.10));
}
.v-text { flex: 1; text-align: left; }
.v-text h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
  margin-bottom: 8px;
}
.v-text p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.9;
  letter-spacing: 0.03em;
}
.values-heading h2 .big3 {
  display: inline-block;
  color: var(--coral);
  font-size: 1.32em;
  line-height: 0.9;
  transform: translateY(0.06em);
  margin-right: 0.02em;
}
.values-heading { position: relative; }

/* ---------- Services (index) ---------- */
.services {
  padding: 60px 24px 90px;
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
}
.services-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.svc-card {
  background: #fff;
  border-radius: 14px;
  padding: 38px 36px 36px;
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 24px;
  align-items: center;
  box-shadow: 0 4px 16px rgba(31, 32, 36, 0.08), 0 1px 4px rgba(31, 32, 36, 0.06);
  position: relative;
  overflow: hidden;
}
.svc-card .lede {
  font-size: 12.5px;
  line-height: 1.7;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  font-weight: 500;
}
.svc-card.pink .lede { color: var(--pink); }
.svc-card.mint .lede { color: var(--mint); }
.svc-card h3 {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.svc-card .meta {
  font-size: 11.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 0.06em;
  background: #fff;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}
.more:hover { background: var(--ink); color: #fff; }
.more svg { width: 10px; height: 10px; }
.svc-illu {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.svc-illu.pink { background: linear-gradient(135deg, var(--pink), var(--pink-2) 95%); }
.svc-illu.mint { background: linear-gradient(135deg, var(--mint), var(--mint-2) 95%); }
.svc-illu .ph {
  width: 78%;
  height: 78%;
  border: 1.5px dashed rgba(31, 32, 36, 0.35);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  color: rgba(31, 32, 36, 0.55);
  background: rgba(255, 255, 255, 0.55);
  text-align: center;
  line-height: 1.5;
  padding: 8px;
}
.svc-extra { max-width: 1200px; margin: 36px auto 0; }
.svc-media {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(31, 32, 36, 0.09), 0 1px 3px rgba(31, 32, 36, 0.06);
  padding: 28px 30px 30px;
}
.svc-media-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 20px;
}
.svc-media-head .ix {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--pink);
  font-weight: 500;
}
.svc-media-head h3 {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.04em;
}
.media-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.media-tags span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--section-bg);
  border: 1.5px solid rgba(31, 32, 36, 0.16);
  border-radius: 99px;
  padding: 8px 16px;
  white-space: nowrap;
}
.media-tags span.more-tag {
  background: transparent;
  border-style: dashed;
  color: var(--ink-soft);
}
.svc-card .svc-desc {
  font-size: 13px;
  line-height: 1.9;
  color: var(--ink-soft);
  margin: 14px 0 18px;
  max-width: 30em;
}

/* ---------- Genres (index) ---------- */
.genres {
  padding: 60px 24px 100px;
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
}
.genres-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.g-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(31, 32, 36, 0.09), 0 1px 3px rgba(31, 32, 36, 0.06);
  transition: transform 0.2s ease;
}
.g-card:hover { transform: translateY(-3px); }
.g-card .swatch {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 8px 12px;
}
.g-card .swatch .em-swatch { flex: 1; min-height: 0; }
.g-card .pill {
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(31, 32, 36, 0.12);
}
.g-card.a .swatch { background: var(--pink); padding: 24px 20px 16px; }
.g-card.b .swatch { background: var(--yellow); }
.g-card.c .swatch { background: var(--blue); }
.g-card.d .swatch { background: #f2e7ce; }
.g-card.e .swatch { background: var(--mint-2); }
.g-card.f .swatch { background: var(--coral-2); }
.g-card.g .swatch { background: #e1def0; }
.g-card.h .swatch { background: var(--lilac-2); }
.genres-cta { display: flex; justify-content: center; margin-top: 34px; }
.genres-cta .more { padding: 14px 38px; font-size: 13px; }
/* slight playful tilt */
.g-card:nth-child(2) { transform: rotate(-2deg); }
.g-card:nth-child(4) { transform: rotate(1.6deg); }
.g-card:hover { transform: translateY(-3px) rotate(0deg); }

/* ---------- Instagram Feed (index) ---------- */
#instagram {
  display: none;
}
.insta-feed {
  padding: 60px 24px 100px;
  background: var(--section-bg);
  position: relative;
  overflow: hidden;
}
.insta-handle {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin: -18px 0 32px;
}
.insta-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.insta-card {
  display: block;
  aspect-ratio: 1/1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(31, 32, 36, 0.09), 0 1px 3px rgba(31, 32, 36, 0.06);
  transition: transform 0.2s ease;
}
.insta-card:hover { transform: translateY(-3px); }
.insta-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.insta-card--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px dashed rgba(31, 32, 36, 0.16);
}
.insta-card--placeholder .insta-ph-icon { width: 32%; height: 32%; object-fit: contain; opacity: 0.32; }
.insta-grid.is-placeholder .insta-card { cursor: default; }

/* ---------- CTA Banners (index) ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 72px 12%;
  text-decoration: none;
  color: inherit;
  min-height: 260px;
  transition: filter 0.25s ease;
}
.cta-banner.company { background: var(--blue-2); }
.cta-banner.contact { background: var(--pink); color: #fff; }
.cta-banner .banner-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  opacity: 0.5;
  margin-bottom: 16px;
}
.cta-banner .banner-title {
  font-family: "Noto Sans JP";
  font-size: 52px;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
}
.cta-banner .banner-sub {
  font-size: 14px;
  letter-spacing: 0.06em;
  opacity: 0.6;
  margin-top: 16px;
  line-height: 1.7;
}
.cta-banner .banner-arrow {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  border: none;
  box-shadow: 0 6px 18px rgba(31, 32, 36, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  position: relative;
  z-index: 2;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.cta-banner:hover .banner-arrow {
  transform: translateX(6px);
  box-shadow: 0 10px 24px rgba(31, 32, 36, 0.18);
}
.cta-banner .banner-title,
.cta-banner .banner-label,
.cta-banner .banner-sub { position: relative; z-index: 2; }
.cta-banner .banner-arrow svg { width: 24px; height: 24px; }
/* Mood-aware wave dividers */
.section-divider.div-to-services svg path { fill: var(--section-bg); }
.section-divider.div-to-company { background: var(--section-bg) !important; }
.section-divider.div-to-company svg path { fill: var(--blue-2); }
.section-divider.div-to-contact { background: var(--blue-2) !important; }
.section-divider.div-to-contact svg path { fill: var(--pink); }
.section-divider.div-to-footer { background: var(--pink) !important; }
/* CTA Banner sprinkle positions */
.cta-banner .cb-s1 { left: 7%;  top: 54px; }
.cta-banner .cb-s2 { left: 5%;  bottom: 48px; transform: rotate(-24deg); }
.cta-banner .cb-s3 { right: 18%; top: 64px; }
.cta-banner .cb-s4 { right: 14%; bottom: 70px; }
.cta-banner .cb-s5 { right: 20%; bottom: 56px; width: 36px; height: 20px; }
.cta-banner .cb-s6 { right: 24%; top: 80px; }


/* ===== 4. COMPANY ページ専用 ===== */

body[data-page="company"] .nav-links a.curr::after { background: var(--blue); }
body[data-page="company"] .svc-hero .eyebrow {
  letter-spacing: 0.34em;
  color: var(--blue);
}
body[data-page="company"] .svc-hero .crumb a:hover { color: var(--blue); }

.sec-block {
  position: relative;
  overflow: hidden;
  padding: 84px 24px;
}
.sec-block.alt { background: var(--section-bg); }
.sec-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.sec-kicker {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  text-align: center;
  margin-bottom: 4px;
}

/* Info table */
.br-sp { display: none; }

.kv-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
  font-size: 16px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 7px 7px 0 var(--ink);
}
.kv-table th,
.kv-table td {
  text-align: left;
  padding: 20px 26px;
  border-bottom: 1px solid rgba(31, 32, 36, 0.12);
  vertical-align: top;
  line-height: 1.7;
}
.kv-table tr:last-child th,
.kv-table tr:last-child td { border-bottom: none; }
.kv-table th {
  width: 220px;
  font-weight: 700;
  color: var(--ink);
  background: var(--blue-2);
  white-space: nowrap;
}
.kv-table td { color: var(--ink-soft); }

/* Message / 代表挨拶 */
.msg-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 44px;
}
.msg-photo { position: relative; }
.msg-photo .pic {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  background: var(--pink-2);
}
.msg-photo .pic img { width: 100%; height: 100%; object-fit: cover; }
.msg-photo .cap {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.msg-photo .cap b {
  display: block;
  font-size: 20px;
  color: var(--ink);
  margin-top: 4px;
  letter-spacing: 0.06em;
}
.msg-profile {
  list-style: none;
  margin: 18px 0;
  padding: 16px 18px;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 4px 4px 0 var(--ink);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.msg-profile li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
}
.msg-profile li span {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.msg-body .msg-aside {
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink);
  margin: 4px 0 18px;
}
.msg-body .msg-lead {
  font-size: 26px;
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
}
.msg-body .msg-lead .hl { color: var(--pink); }
.msg-body p {
  font-size: 15.5px;
  line-height: 2.1;
  color: var(--ink-soft);
  margin: 0 0 18px;
}
.msg-body .sign {
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-soft);
  text-align: right;
}
.msg-body .sign b {
  font-size: 19px;
  color: var(--ink);
  letter-spacing: 0.08em;
  margin-left: 10px;
}

/* Staff */
.staff-head { text-align: center; margin: 80px 0 0; }
.staff-head .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}
.staff-head .ttl {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin: 6px 0 0;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 580px;
  margin: 36px auto 0;
}
.msg-greeting {
  grid-template-columns: 1fr;
  max-width: 800px;
  margin: 44px auto 0;
}
.msg-greeting .msg-lead { text-align: center; }
.staff-card { display: flex; flex-direction: column; }
.staff-card .pic {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--blue-2);
}
.staff-card:nth-child(2) .pic { background: var(--pink-2); }
.staff-card:nth-child(3) .pic { background: var(--yellow-2); }
.staff-card:nth-child(4) .pic { background: var(--mint-2); }
.staff-card:nth-child(5) .pic { background: var(--coral-2); }
.staff-card .pic.noimage {
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--ink) 6%, #fff);
  color: color-mix(in srgb, var(--ink) 35%, transparent);
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-align: center;
  line-height: 1.5;
}
.staff-card .pic img { width: 100%; height: 100%; object-fit: cover; }
.staff-card .role {
  margin-top: 14px;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
  background: var(--blue);
  border-radius: 99px;
  padding: 4px 12px;
}
.staff-card:nth-child(2) .role { background: var(--pink); }
.staff-card:nth-child(3) .role { background: var(--yellow); color: var(--ink); }
.staff-card:nth-child(4) .role { background: var(--mint); }
.staff-card:nth-child(5) .role { background: var(--coral); }
.staff-card .name {
  margin: 10px 0 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.staff-card .name .en {
  display: block;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  margin-top: 2px;
}
.staff-card .bio {
  margin: 10px 0 0;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.staff-note {
  margin: 36px auto 0;
  max-width: 760px;
  background: var(--blue-2);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 26px 30px;
  display: flex;
  gap: 18px;
  align-items: center;
}
.staff-note-badge {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.staff-note-badge svg { width: 28px; height: 28px; }
.staff-note h4 {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.staff-note h4 .prov {
  font-size: 12px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-left: 2px;
}
.staff-note p { font-size: 14px; line-height: 1.85; color: var(--ink); }

/* Access */
.map-embed {
  margin-top: 40px;
  border: 3px solid var(--ink);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 8px 8px 0 var(--ink);
  line-height: 0;
}
.map-embed iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  filter: grayscale(0.1) contrast(1.02);
}
.access-cols { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
.access-cols .kv-table { margin-top: 0; }
.access-cols .kv-table th { width: 110px; }

/* Company CTA band — max-width same as default (1080px), no override needed */


/* ===== 5. CONTACT ページ専用 ===== */

body[data-page="contact"] .nav-links a.curr::after { background: var(--pink); }
body[data-page="contact"] .svc-hero-inner { max-width: 1000px; }
body[data-page="contact"] .svc-hero .eyebrow {
  letter-spacing: 0.3em;
  color: var(--pink);
}
body[data-page="contact"] .svc-hero .crumb a:hover { color: var(--pink); }

.contact-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 24px 40px;
}
.free-note {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--yellow-2);
  border: 2px solid var(--ink);
  border-radius: 18px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 22px 28px;
  margin-bottom: 40px;
}
.free-note .free-badge {
  flex: none;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 10px 20px;
}
.free-note p { font-size: 15.5px; font-weight: 700; line-height: 1.85; color: var(--ink); }
.free-note p b { color: var(--pink); }

.direct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-bottom: 56px;
}
.direct {
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 30px 28px;
  text-align: center;
  background: #fff;
  box-shadow: 6px 6px 0 var(--ink);
}
.direct.tel { background: var(--blue-2); }
.direct.mail { background: var(--yellow-2); }
.direct .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}
.direct .big {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 0.04em;
  margin-top: 8px;
  line-height: 1.2;
}
.direct .big.mail-addr {
  font-size: 22px;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  word-break: break-all;
}
.direct .sub { font-size: 12.5px; color: var(--ink-soft); margin-top: 8px; }
.direct.tel .big a { pointer-events: none; cursor: default; }

.form-head { text-align: center; margin-bottom: 8px; }
.form-head .lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
}
.form-head .lead { font-size: 14px; color: var(--ink-soft); margin-top: 12px; }
.form-head .lead .req-mark { color: var(--pink); font-weight: 700; }

.form {
  max-width: 720px;
  margin: 36px auto 0;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 40px 40px 44px;
}
.field {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(31, 32, 36, 0.1);
}
.field:first-child { padding-top: 0; }
.field .name {
  font-size: 15px;
  font-weight: 700;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.field .name .req {
  font-size: 11px;
  font-weight: 700;
  background: var(--pink);
  color: #fff;
  padding: 2px 8px;
  border-radius: 99px;
}
.field .name .opt {
  font-size: 11px;
  font-weight: 700;
  background: rgba(31, 32, 36, 0.1);
  color: var(--ink-soft);
  padding: 2px 8px;
  border-radius: 99px;
}
.field input,
.field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 2px solid rgba(31, 32, 36, 0.25);
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}
.field textarea { min-height: 140px; resize: vertical; line-height: 1.7; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--pink);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--pink) 18%, transparent);
}
.field .err {
  display: none;
  font-size: 12px;
  color: var(--coral);
  margin-top: 6px;
  font-weight: 700;
}
.field.invalid input,
.field.invalid textarea { border-color: var(--coral); }
.field.invalid .err { display: block; }

.consent {
  display: flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--ink-soft);
  padding: 24px 0 4px;
}
.consent .wpcf7-list-item {
  display: flex;
  align-items: center;
  margin: 0;
}
.consent .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 11px;
}
.consent input { width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--pink); }
.consent a { color: var(--pink); font-weight: 700; }

.submit { display: flex; justify-content: center; padding-top: 22px; }

/* contact専用 .btn（共通 .btn を上書き） */
body[data-page="contact"] .btn {
  gap: 10px;
  font-size: 16px;
  letter-spacing: 0.04em;
  padding: 16px 48px;
  background: var(--pink);
  color: #fff;
  box-shadow: 5px 5px 0 var(--ink);
}
body[data-page="contact"] .btn:hover {
  box-shadow: 7px 7px 0 var(--ink);
}
body[data-page="contact"] .btn svg { width: 18px; height: 18px; }

.thanks {
  display: none;
  max-width: 720px;
  margin: 36px auto 0;
  text-align: center;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 24px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 56px 40px;
}
.thanks.show { display: block; }
.thanks .check {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: var(--mint);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thanks .check svg { width: 36px; height: 36px; stroke: #fff; stroke-width: 3; fill: none; }
.thanks h3 { font-size: 26px; font-weight: 900; margin: 0 0 12px; letter-spacing: 0.04em; }
.thanks p { font-size: 15px; color: var(--ink-soft); line-height: 1.9; margin: 0; }


/* ===== 6. CASE ページ専用 ===== */

body[data-page="case"] .nav-links a.curr::after { background: var(--yellow); }
body[data-page="case"] .svc-hero-inner { max-width: 1120px; }
body[data-page="case"] .svc-hero .eyebrow {
  letter-spacing: 0.3em;
  color: var(--coral);
}
body[data-page="case"] .svc-hero .crumb a:hover { color: var(--coral); }
body[data-page="case"] .svc-cta-band { max-width: 1120px; }

.case-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 64px 24px 40px;
}
.filter-lbl {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.filters { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.chip {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 9px 20px;
  color: var(--ink);
  background: #fff;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease, color 0.14s ease;
  box-shadow: 3px 3px 0 var(--ink);
}
.chip:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.chip.on { background: var(--coral); color: #fff; }

.result-meta {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 26px 0 18px;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0.04em;
}
.result-meta b { color: var(--ink); }

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.case-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.case-card .thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  background: var(--fill, #fff);
}
.case-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.case-card:hover .thumb img { transform: scale(1.05); }
.case-card .thumb .cat {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  background: var(--ink);
  border-radius: 99px;
  padding: 5px 13px;
  display: none;
}
.case-card .meta {
  display: flex;
  justify-content: space-between;
  font-family: "JetBrains Mono", monospace;
  font-size: 11.5px;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
  margin: 16px 0 6px;
}
.case-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.55;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}
.case-card .tagrow { display: flex; gap: 7px; flex-wrap: wrap; margin-top: auto; }
.case-card .tagrow .t {
  font-size: 11.5px;
  font-weight: 600;
  border: 1.5px solid rgba(31, 32, 36, 0.2);
  border-radius: 99px;
  padding: 3px 11px;
  color: var(--ink-soft);
}
.case-card.is-hidden { display: none; }

.no-result { display: none; text-align: center; padding: 60px 0; font-size: 15px; color: var(--ink-soft); }
.no-result.show { display: block; }

.pager { display: flex; justify-content: center; gap: 10px; padding: 44px 0 0; }
.pager button,
.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  border: 2px solid var(--ink);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform 0.14s ease, box-shadow 0.14s ease;
}
.pager button:hover,
.pager a:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.pager button.on,
.pager a.on,
.pager span.on { background: var(--coral); color: #fff; }
.pager button.ghost,
.pager a.ghost,
.pager span.ghost { border-style: dashed; box-shadow: none; cursor: default; }
.pager button.ghost:hover,
.pager a.ghost:hover { transform: none; }


/* ===== 7. SERVICE ページ専用 ===== */

body[data-page="service"] .nav-links a.curr::after { background: var(--pink); }
/* svc-hero-inner max-width: 1080px = shared default、上書き不要 */
body[data-page="service"] .svc-hero .eyebrow {
  letter-spacing: 0.34em;
  color: var(--pink);
}
body[data-page="service"] .svc-hero .lead {
  margin: 20px 0 0;
  line-height: 1.95;
}
body[data-page="service"] .svc-hero .crumb {
  opacity: 0.75;
  margin-top: 30px;
}
body[data-page="service"] .svc-hero .crumb a:hover { color: var(--pink); }
/* svc-cta-band max-width: 1080px = shared default、上書き不要 */

/* Anchor / index bar */
.anchor-bar {
  max-width: 1080px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 3;
}
.anchor-bar-label {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  opacity: 0.8;
}
.anchor-bar-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.anchor-bar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  background: #fff;
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 99px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.anchor-bar a:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}

/* Service detail section */
.svc-detail {
  position: relative;
  overflow: hidden;
  padding: 92px 24px 96px;
}
.svc-detail.alt { background: var(--section-bg); }
.svc-inner { max-width: 1080px; margin: 0 auto; }
.svc-kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.svc-kicker .big {
  font-size: 34px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 0;
}
.svc-detail.alt .svc-kicker .big { color: var(--mint); }

.svc-cols {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  margin-top: 44px;
}
.svc-cols.rev .svc-copy { order: 2; }
.svc-cols.rev .kv-panel { order: 1; }
.svc-copy .copy-lead {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
}
.svc-copy .copy-body {
  font-size: 15px;
  line-height: 2.05;
  color: var(--ink-soft);
  margin: 0 0 24px;
}
.feat { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.feat li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
}
.feat li .ck {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--pink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}
.svc-detail.alt .feat li .ck { background: var(--mint); }
.feat li .ck svg { width: 14px; height: 14px; stroke: #fff; stroke-width: 3; fill: none; }

.kv-panel {
  position: relative;
  border-radius: 30px;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  background: var(--pink-2);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.svc-detail.alt .kv-panel {
  background: var(--mint-2);
  border: 3px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}
.kv-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(150deg, color-mix(in srgb, var(--pink) 32%, transparent), transparent 55%);
}
.svc-detail.alt .kv-panel::before {
  background: linear-gradient(150deg, color-mix(in srgb, var(--mint) 32%, transparent), transparent 55%);
}
.kv-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.svc-rule { height: 0; margin: 0 0 56px; }

.block-lbl {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 26px;
}
.block-lbl .jp {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.06em;
}
.block-lbl .dash { flex: 1; height: 2px; background: var(--ink); opacity: 0.14; }

.roster {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 22px;
  box-shadow: 6px 6px 0 var(--ink);
  padding: 26px 30px 22px;
  margin-bottom: 44px;
}
.roster-lead { font-size: 13px; color: var(--ink-soft); margin: 0 0 18px; letter-spacing: 0.04em; }
.roster-body { position: relative; max-height: 96px; overflow: hidden; transition: max-height 0.4s ease; }
.roster-fade {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 56px;
  background: linear-gradient(to bottom, transparent, #fff);
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.roster.is-open .roster-body { max-height: 3000px; }
.roster.is-open .roster-fade { opacity: 0; }
.roster-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  background: none;
  border: 1.5px solid rgba(31, 32, 36, 0.22);
  border-radius: 99px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.roster-toggle:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.roster-toggle-open,
.roster-toggle-close { display: inline-flex; align-items: center; gap: 5px; }
.roster-toggle-close { display: none; }
.roster.is-open .roster-toggle-open { display: none; }
.roster.is-open .roster-toggle-close { display: inline-flex; }
.roster-chevron { width: 15px; height: 15px; flex-shrink: 0; }
.roster-names { display: flex; flex-wrap: wrap; gap: 9px; }
.roster-names span {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid rgba(31, 32, 36, 0.16);
  border-radius: 99px;
  padding: 7px 15px;
  white-space: nowrap;
  transition: background 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}
.roster-names span:hover {
  background: var(--pink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.ex-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ex-card { display: flex; flex-direction: column; gap: 12px; }
.ex-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
}
.ex-card:nth-child(1) .ex-thumb { background: var(--blue-2); }
.ex-card:nth-child(2) .ex-thumb { background: var(--yellow-2); }
.ex-card:nth-child(3) .ex-thumb { background: var(--pink-2); }
.ex-card:nth-child(4) .ex-thumb { background: var(--mint-2); }
.ex-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-thumb .ix {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(31, 32, 36, 0.55);
  font-weight: 500;
}
.ex-tag {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--ink);
  color: #fff;
  border-radius: 99px;
  padding: 4px 13px;
}
.ex-card h4 { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.55; }

.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.flow-step {
  position: relative;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 20px;
  padding: 24px 16px 22px;
  text-align: center;
  box-shadow: 5px 5px 0 var(--ink);
}
.svc-detail.alt .flow-step { background: #fff; }
.flow-step .badge {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--pink);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.flow-step:nth-child(2) .badge { background: var(--blue); }
.flow-step:nth-child(3) .badge { background: var(--yellow); color: #fff; }
.flow-step:nth-child(4) .badge { background: var(--coral); }
.flow-step:nth-child(5) .badge { background: var(--lilac); }
.flow-step .badge .s {
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  opacity: 0.85;
}
.flow-step .badge .n {
  font-family: "JetBrains Mono", monospace;
  font-size: 22px;
  font-weight: 700;
}
.flow-step .t { font-size: 15px; font-weight: 700; margin-bottom: 6px; letter-spacing: 0.02em; }
.flow-step .d { font-size: 12.5px; color: var(--ink-soft); line-height: 1.6; }
.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  left: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 3px;
  border-radius: 99px;
  background: var(--ink);
  opacity: 0.3;
}


/* ===== 8. THANKS ページ専用 ===== */

.thanks-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  text-align: center;
}
.thanks-card {
  position: relative;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 28px;
  box-shadow: 8px 8px 0 var(--ink);
  padding: 56px 44px 48px;
}
.thanks-check {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--mint);
  border: 2px solid var(--ink);
  border-radius: 50%;
  color: #fff;
}
.thanks-check svg {
  width: 30px;
  height: 30px;
  stroke-width: 3;
}
.thanks-card h2 {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin-bottom: 20px;
}
.thanks-card p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink);
}
.thanks-card p b { color: var(--pink); }
.thanks-card .thanks-note {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.thanks-card .btn {
  margin-top: 36px;
}

/* ===== 9. レスポンシブ ===== */

/* ---- 共通: Tablet 768px–1079px ---- */
@media (max-width: 1079px) {
  .nav { padding: 20px 28px; }
  body:not([data-page="home"]) .nav {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .nav-links { gap: 20px; font-size: 13px; }
  .cta { padding: 11px 18px; font-size: 12px; }
  .foot { grid-template-columns: 280px 1fr 1fr 1fr; }
}

/* ---- 共通: Mobile ≤767px ---- */
@media (max-width: 767px) {
  /* index / home nav */
  .nav {
    position: fixed;
    padding: 14px 20px;
    background: rgba(251, 248, 241, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  /* subpage nav */
  body:not([data-page="home"]) .nav {
    position: fixed;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    max-width: 100%;
  }
  .nav-links { display: none; }
  .nav-social { display: none; }
  .cta { padding: 10px 16px; font-size: 12px; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav > a.cta { display: none; }

  /* section divider */
  .section-divider { height: 44px; }
  .section-divider svg { height: 44px; }

  /* sec-title */
  .sec-title { font-size: 18px; margin-bottom: 36px; padding-bottom: 18px; }
  .sec-title::before { width: 40px; }
  .sec-title::after { width: 24px; }

  /* footer */
  footer { padding: 24px 16px 40px; }
  .foot { grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 0; }

  /* svc-hero (all subpages) */
  .svc-hero { padding: 110px 20px 60px; }
  .svc-hero h1 { font-size: 42px; }
  .svc-hero .lead { font-size: 15px; }

  /* sec-head / title-burst */
  .sec-head { gap: 14px; }

  /* contact: allow tap-to-call on SP only */
  .direct.tel .big a { pointer-events: auto; cursor: pointer; }
}

/* ---- 共通: Small mobile ≤480px ---- */
@media (max-width: 480px) {
  .foot { grid-template-columns: 1fr; }
}

/* ---- HOME ページ: Tablet ---- */
@media (max-width: 1079px) {
  .hero { height: 720px; }
  .values-cards { grid-template-columns: 1fr; gap: 18px; }
  .values-heading { margin-bottom: 36px; }
  .services-wrap { grid-template-columns: 1fr; max-width: 600px; }
  .genres-grid { grid-template-columns: repeat(4, 1fr); }
  .insta-grid { grid-template-columns: repeat(4, 1fr); }
  .il-icon01 { left: 5.3vw;   right: auto;   top: 8.7vw;   bottom: auto; width: 13.9vw; height: 13.9vw; }
  .il-icon02 { right: 4.3vw;  left: auto;    top: 18.7vw;  bottom: auto; width: 11.2vw; height: 12.3vw; }
  .il-icon03 { left: 24vw;    right: auto;   top: 12.3vw;  bottom: auto; width: 9.3vw;  height: 16.8vw; }
  .il-icon04 { left: 2.7vw;   right: auto;   top: 49vw;    bottom: auto; width: 10.1vw; height: 10.1vw; }
  .il-icon05 { left: 39.7vw;  right: auto;   top: 9.3vw;   bottom: auto; width: 14.9vw; height: 13.1vw; }
  .il-icon06 { right: 20.3vw; left: auto;    top: 45.5vw;  bottom: auto; width: 11.2vw; height: 12.3vw; }
  .il-icon07 { right: 20.3vw; left: auto;    top: 9.3vw;   bottom: auto; width: 17.6vw; height: 14.9vw; }
  .il-icon08 { left: 16.5vw;  right: auto;   top: 71.9vw;  bottom: auto; width: 11.2vw; height: 13.1vw; }
  .il-icon09 { left: 7.5vw;   right: auto;   top: 30.9vw;  bottom: auto; width: 11.2vw; height: 14.9vw; }
  .il-icon10 { right: 1.1vw;  left: auto;    top: 52.3vw;  bottom: auto; width: 11.2vw; height: 13.1vw; }
  .il-icon11 { right: 6.1vw;  left: auto;    top: 33.6vw;  bottom: auto; width: 12.3vw; height: 11.2vw; }
  .il-icon12 { left: 28vw;    right: auto;   top: 16.8vw;  bottom: auto; width: 10.1vw; height: 10.1vw; }
  .il-icon13 { right: 13.3vw; left: auto;    top: 73.3vw;  bottom: auto; width: 14.9vw; height: 13.1vw; }
  .il-main   { left: 33vw;    right: auto;   top: 68%;     bottom: auto; width: 33.1vw; height: 21.3vw; }
  .il-icon14 { left: 2.7vw;   right: auto;   top: 77.9vw;  bottom: auto; width: 10.1vw; height: 10.1vw; }
  .il-icon15 { right: 4.5vw;  left: auto;    top: 87.2vw;  bottom: auto; width: 12vw;   height: 14.9vw; }
  .il-icon16 { left: 28.8vw;  right: auto;   top: 89.7vw;  bottom: auto; width: 10.1vw; height: 20.5vw; }
  .il-icon17 { left: 14.9vw;  right: auto;   top: 93.5vw;  bottom: auto; width: 10.1vw; height: 9.3vw;  }
  .il-icon18 { right: 30.7vw; left: auto;    top: 130%;    bottom: auto; width: 12vw;   height: 8.3vw;  }
  .hero-title {
    position: relative;
    left: auto; top: auto;
    transform: none;
    width: 100%;
    padding-top: 25vw;
    text-align: center;
    z-index: 5;
  }
  .hero-sub {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 18px;
    transform: none;
    display: block;
  }

}
@media (max-width: 980px) {
  .values-desc-wrap .spr { display: none; }
}

/* ---- HOME ページ: Mobile ---- */
@media (max-width: 767px) {
  .blob-yellow { --w: 55vw; --h: 90vw; --left: -18vw; --top: 15vw; }
  .blob-teal   { --w: 95vw; --h: 55vw; --left: -10vw; --top: -7vw; }
  .blob-mint   { --w: 75vw; --h: 65vw; --right: -20vw; --top: -3vw; }
  .blob-salmon { --w: 60vw; --h: 55vw; --right: -15vw; --top: 52vw; }
  .blob-pink   { --w: 90vw; --h: 55vw; bottom: auto; top: 60vw; }

  .hero { height: auto; min-height: 130vw; padding-bottom: 53vw; margin-top: 56px; }
  .hero-inner { height: auto; transform: none; }
  .illu-img { display: block; }
  .il-icon01 { left: 5.3vw;   right: auto;   top: 8.7vw;   bottom: auto; width: 13.9vw; height: 13.9vw; }
  .il-icon02 { right: 4.3vw;  left: auto;    top: 18.7vw;  bottom: auto; width: 11.2vw; height: 12.3vw; }
  .il-icon03 { left: 24vw;    right: auto;   top: 12.3vw;  bottom: auto; width: 9.3vw;  height: 16.8vw; }
  .il-icon04 { left: 2.7vw;   right: auto;   top: 49vw;    bottom: auto; width: 10.1vw; height: 10.1vw; }
  .il-icon05 { left: 39.7vw;  right: auto;   top: 9.3vw;   bottom: auto; width: 14.9vw; height: 13.1vw; }
  .il-icon06 { right: 20.3vw; left: auto;    top: 45.5vw;  bottom: auto; width: 11.2vw; height: 12.3vw; }
  .il-icon07 { right: 20.3vw; left: auto;    top: 9.3vw;   bottom: auto; width: 17.6vw; height: 14.9vw; }
  .il-icon08 { left: 16.5vw;  right: auto;   top: 71.9vw;  bottom: auto; width: 11.2vw; height: 13.1vw; }
  .il-icon09 { left: 7.5vw;   right: auto;   top: 30.9vw;  bottom: auto; width: 11.2vw; height: 14.9vw; }
  .il-icon10 { right: 1.1vw;  left: auto;    top: 52.3vw;  bottom: auto; width: 11.2vw; height: 13.1vw; }
  .il-icon11 { right: 6.1vw;  left: auto;    top: 33.6vw;  bottom: auto; width: 12.3vw; height: 11.2vw; }
  .il-icon12 { left: 28vw;    right: auto;   top: 16.8vw;  bottom: auto; width: 10.1vw; height: 10.1vw; }
  .il-icon13 { right: 13.3vw; left: auto;    top: 73.3vw;  bottom: auto; width: 14.9vw; height: 13.1vw; }
  .il-main   { left: 30vw;    right: auto;   top: 95%;     bottom: auto; width: 41.1vw; height: 21.3vw; }
  .il-icon14 { left: 2.7vw;   right: auto;   top: 77.9vw;  bottom: auto; width: 10.1vw; height: 10.1vw; }
  .il-icon15 { right: 4.5vw;  left: auto;    top: 87.2vw;  bottom: auto; width: 12vw;   height: 14.9vw; }
  .il-icon16 { left: 28.8vw;  right: auto;   top: 89.7vw;  bottom: auto; width: 10.1vw; height: 20.5vw; }
  .il-icon17 { left: 14.9vw;  right: auto;   top: 93.5vw;  bottom: auto; width: 10.1vw; height: 9.3vw;  }
  .il-icon18 { right: 30.7vw; left: auto;    top: 130%;    bottom: auto; width: 12vw;   height: 8.3vw;  }
  .go-mark { display: none; }
  .swoosh  { display: none; }
  .hero-title {
    position: relative;
    left: auto; top: auto;
    transform: none;
    width: 100%;
    padding-top: 27vw;
    text-align: center;
    z-index: 5;
  }
  .hero-title h1 { font-size: 12vw; }
  .hero-sub {
    width: 100%;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 18px;
    transform: none;
    display: block;
  }

  /* Values */
  .values { padding: 48px 16px 56px; }
  .title-burst { width: 44px; height: 35px; }
  .values-heading { margin-bottom: 28px; }
  .values-heading h2 { font-size: 32px; letter-spacing: 0.04em; }
  .values-subtitle { font-size: 22px; }
  .values-cards { grid-template-columns: 1fr; gap: 14px; max-width: 100%; }
  .v-bubble { padding: 18px 20px; gap: 18px; }
  .v-icon-wrap { width: 72px; height: 72px; }
  .v-bubble .v-icon { width: 46px; height: 46px; }
  .v-text h3 { font-size: 16px; }
  .v-text p { font-size: 12px; }
  .values-desc { font-size: 13px; margin-top: 32px; text-align: left; }

  /* Services */
  .services { padding: 48px 16px 60px; }
  .services-wrap { grid-template-columns: 1fr; gap: 20px; }
  .svc-extra { gap: 16px; }
  .svc-card { grid-template-columns: 1fr; padding: 28px 24px; gap: 20px; }
  .svc-card h3 { font-size: 24px; }
  .more-wrap { text-align: center; }
  .svc-illu { width: 200px; margin: 0 auto; }

  /* Genres */
  .genres { padding: 48px 16px 60px; }
  .genres-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .g-card .swatch { gap: 8px; padding: 10px 6px; }
  .g-card .pill { font-size: 11px; padding: 5px 10px; }

  /* Instagram */
  .insta-feed { padding: 48px 16px 60px; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  /* CTA Banners */
  .cta-banner { padding: 48px 24px; min-height: 180px; }
  .cta-banner .banner-title { font-size: 32px; }
  .cta-banner .banner-sub { font-size: 12px; margin-top: 10px; }
  .cta-banner .banner-arrow { width: 52px; height: 52px; }
  .cta-banner .banner-arrow svg { width: 18px; height: 18px; }
  .cta-banner .cb-s1 { left: 5%;  top: 15px; }
  .cta-banner .cb-s2 { left: 5%;  bottom: 24px; }
  .cta-banner .cb-s3 { right: 5%;  top: 44px; }
  .cta-banner .cb-s4 { right: 3%;  bottom: 36px; }
  .cta-banner .cb-s5 { right: 21%; bottom: 24px; }
  .cta-banner .cb-s6 { right: 10%; top: 60px; }
}

@media (max-width: 480px) {
  .genres-grid { grid-template-columns: repeat(3, 1fr); }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
  .v-text h3 { font-size: 14px; }
  .v-text p { font-size: 11px; }
}

/* ---- COMPANY ページ: レスポンシブ ---- */
@media (max-width: 880px) {
  .svc-hero h1 { font-size: 48px; }
  .access-cols { grid-template-columns: 1fr; }
  .access-cols .kv-table th { width: 130px; }
  .svc-cta-band { padding: 32px 26px; }
  .svc-cta-band .ct-title { font-size: 21px; }
  .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 767px) {
  .svc-cta { padding: 0 16px 60px; }
  .svc-cta-band { padding: 28px 20px; }
  .svc-cta-band .ct-title { font-size: 20px; }
  .msg-body .msg-lead { font-size: 21px; }
  .map-embed iframe { height: 280px; }
  .staff-head { margin: 56px 0 0; }
  .title-burst { width: 50px; height: 40px; }
}
@media (max-width: 560px) {
  .staff-grid { grid-template-columns: 1fr 1fr; max-width: 420px; }
  .staff-note { flex-direction: column; text-align: center; }
  .msg-grid { grid-template-columns: 1fr; gap: 24px; }
  .msg-photo { max-width: 260px; margin: 0 auto; }
  .br-sp { display: inline; }
  .kv-table,
  .kv-table tbody,
  .kv-table tr,
  .kv-table th,
  .kv-table td { display: block; }
  .kv-table th { width: 100%; }
  .access-cols .kv-table th { width: 100%; box-sizing: border-box; border-bottom: none; padding-bottom: 6px; }
  .kv-table td { padding-top: 4px; }
}
@media (max-width: 400px) {
  .svc-hero h1 { font-size: 34px; }
  .staff-grid { grid-template-columns: 1fr; max-width: 280px; }
}

/* ---- CONTACT ページ: レスポンシブ ---- */
@media (max-width: 560px) {
  .free-note { flex-direction: column; align-items: flex-start; gap: 12px; }
  .free-note p { font-size: 14px; }
}
@media (max-width: 767px) {
  .contact-wrap { padding: 40px 16px 30px; }
  .direct-grid { grid-template-columns: 1fr; }
  .direct { padding: 24px 20px; }
  .direct .big { font-size: 24px; }
  .form { padding: 28px 18px 32px; }
  .field { grid-template-columns: 1fr; gap: 8px; }
  .field .name { padding-top: 0; }
  .title-burst { width: 50px; height: 40px; }
}
@media (max-width: 400px) {
  .svc-hero h1 { font-size: 34px; }
  .direct .big.mail-addr { font-size: 16px; }
  body[data-page="contact"] .btn { padding: 14px 32px; font-size: 15px; }
}

/* ---- THANKS ページ: レスポンシブ ---- */
@media (max-width: 560px) {
  .thanks-page { padding: 48px 16px 64px; }
  .thanks-card { padding: 40px 24px 36px; border-radius: 22px; }
  .thanks-card h2 { font-size: 21px; }
}

/* ---- CASE ページ: レスポンシブ ---- */
@media (max-width: 880px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  body[data-page="case"] .svc-cta-band { padding: 32px 26px; }
  body[data-page="case"] .svc-cta-band .ct-title { font-size: 21px; }
}
@media (max-width: 767px) {
  .case-wrap { padding: 40px 16px 30px; }
  .svc-cta { padding: 40px 16px 60px; }
  body[data-page="case"] .svc-cta-band { padding: 28px 20px; }
  .title-burst { width: 50px; height: 40px; }
  .pager { gap: 7px; }
  .pager button,
  .pager a,
  .pager span { min-width: 38px; height: 38px; font-size: 13px; }
}
@media (max-width: 540px) {
  .case-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .svc-hero h1 { font-size: 36px; }
  .filters { gap: 8px; }
  .chip { font-size: 13px; padding: 7px 14px; }
}

/* ---- SERVICE ページ: レスポンシブ ---- */
@media (max-width: 1079px) {
  .svc-hero h1 { font-size: 54px; }
  .flow { grid-template-columns: repeat(5, 1fr); gap: 10px; }
}
@media (max-width: 880px) {
  .svc-cols,
  .svc-cols.rev .svc-copy,
  .svc-cols.rev .kv-panel {
    grid-template-columns: 1fr;
    order: 0;
  }
  .svc-cols { gap: 30px; }
  .kv-panel { min-height: 280px; }
  .ex-grid { grid-template-columns: repeat(2, 1fr); }
  .flow { grid-template-columns: repeat(2, 1fr); }
  .flow-step + .flow-step::before { display: none; }
}
@media (max-width: 767px) {
  .svc-hero { padding: 110px 20px 72px; }
  .svc-detail { padding: 64px 20px; }
  .anchor-bar { margin-top: 28px; }
  .anchor-bar a { padding: 10px 18px; font-size: 13px; }
  .svc-cta-band { padding: 32px 22px; }
  .svc-cta-band .ct-title { font-size: 21px; }
  .block-lbl { margin-top: 44px; }
  .title-burst { width: 30px; height: 30px; }
}
@media (max-width: 480px) {
  .svc-hero h1 { font-size: 36px; }
  .anchor-bar-btns { flex-direction: column; align-items: stretch; }
  .anchor-bar a { text-align: center; }
  .flow { grid-template-columns: 1fr; }
  .flow-step + .flow-step::before { display: none; }
}
@media (max-width: 460px) {
  .ex-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .flow { grid-template-columns: 1fr; }
}

/* ================================================================
   PRIVACY PAGE
   ================================================================ */

/* ---------- Page hero ---------- */
.privacy-hero {
  background: var(--section-bg);
  padding: 64px 24px 56px;
  text-align: center;
}
.privacy-hero .eyebrow {
  font-family: "JetBrains Mono", monospace;
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 14px;
}
.privacy-hero h1 {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin: 0;
}
.privacy-hero .updated {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 16px;
  letter-spacing: 0.06em;
}

/* ---------- Content ---------- */
.privacy-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.privacy-intro {
  font-size: 15px;
  line-height: 2.0;
  color: var(--ink-soft);
  margin-bottom: 52px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(31, 32, 36, 0.1);
}
.privacy-section {
  margin-bottom: 44px;
}
.privacy-section h2 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.privacy-section h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
}
.privacy-section p,
.privacy-section ul {
  font-size: 14px;
  line-height: 2.0;
  color: var(--ink-soft);
  margin: 0;
}
.privacy-section ul {
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.privacy-contact-box {
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 5px 5px 0 var(--ink);
  padding: 28px 32px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 2.0;
  color: var(--ink-soft);
}
.privacy-contact-box a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 767px) {
  .privacy-hero { padding: 48px 20px 40px; }
  .privacy-hero h1 { font-size: 28px; }
  .privacy-body { padding: 40px 20px 72px; }
  .privacy-contact-box { padding: 20px; }
}

/* ---- 全ページ: Reduced Motion ---- */
@media (min-width: 1921px) {
  .blob-yellow  { width: 653px;  height: 1171px; left: -58px;  top: 58px;   right: auto; bottom: auto; }
  .blob-teal    { width: 1229px; height: 691px;  left: 115px;  top: -154px; right: auto; bottom: auto; }
  .blob-mint    { width: 902px;  height: 845px;  right: 19px;  top: -115px; left: auto;  bottom: auto; }
  .blob-salmon  { width: 787px;  height: 691px;  right: -38px; top: 576px;  left: auto;  bottom: auto; }
  .blob-pink    { width: 1114px; height: 691px;  bottom: -115px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .scroll-fade { opacity: 1 !important; transform: none !important; }
}
