/* =========================================================
   Spoken Studio — Modern Japanese corporate style
   Primary: #00A2E9, Hover: #E7347A, Text: #3B3535, Soft: #F7F8FA
   ========================================================= */

:root {
  --bg: #ffffff;
  --bg-soft: #F7F8FA;
  --bg-dark: #3B3535;
  --ink: #3B3535;
  --ink-soft: #6e6868;
  --ink-mute: #BEBDBE;
  --line: #DDDCDC;
  --line-soft: #E0E0E2;
  --primary: #00A2E9;
  --primary-hover: #E7347A;
  --primary-soft: rgba(0,162,233,.08);
  --en: 'Montserrat', 'Noto Sans JP', system-ui, sans-serif;
  --display: 'Montserrat', 'Noto Sans JP', system-ui, sans-serif;
  --readex: 'Readex Pro', 'Montserrat', system-ui, sans-serif;
  --jp: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', sans-serif;
  --max: 1200px;
  --pad: clamp(20px, 5vw, 60px);
  --radius-card: 25px;
  --radius-pill: 30px;
  --shadow-hover: 0 0 25px rgba(116,135,185,.26);
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--jp);
  font-weight: 500;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* =========================================================
   Reveal-on-scroll base
   ========================================================= */
.reveal-pending {
  opacity: 0;
  transform: translate3d(0, 60px, 0);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  will-change: opacity, transform;
}
.reveal-pending.is-visible,
.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Service rows alternate slide-in direction */
.service-row.reveal-pending { transform: translate3d(-60px, 30px, 0); }
.service-row:nth-of-type(even).reveal-pending { transform: translate3d(60px, 30px, 0); }
.service-row.is-visible { transform: translate3d(0, 0, 0); }
@media (prefers-reduced-motion: reduce) {
  .reveal-pending,
  [class*="reveal"],
  .hero-title-ja,
  .hero-title-en,
  .hero-lead,
  .hero-deco,
  .hero-scroll {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }
button { font: inherit; }
.pc-only { display: inline; }
@media (max-width: 700px) { .pc-only { display: none; } }

/* =========================================================
   Header — fixed, white, simple
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px var(--pad);
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-right: auto;
}
.logo--image {
  flex-direction: row;
  align-items: center;
}
.logo--image img {
  display: block;
  height: 64px;
  width: auto;
  object-fit: contain;
}
@media (max-width: 700px) {
  .logo--image img { height: 48px; }
}
.logo-text {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ink);
}
.logo-sub {
  font-family: var(--jp);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--ink-mute);
  margin-top: 4px;
}
.nav-list {
  display: flex;
  gap: 30px;
}
.nav-list a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--en);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 0;
  color: var(--ink);
  transition: color .25s var(--ease);
}
.nav-list a span {
  font-family: var(--jp);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ink-mute);
  margin-top: 4px;
  text-transform: none;
}
.nav-list a:hover { color: var(--ink-mute); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px 0 18px;
  border: 2px solid var(--primary);
  border-radius: var(--radius-pill);
  font-family: var(--en);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--primary);
  background: #fff;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.header-tel svg { color: var(--primary); transition: color .25s var(--ease); }
.header-tel:hover { background: var(--primary); color: #fff; }
.header-tel:hover svg { color: #fff; }

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 32px;
  font-family: var(--en);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-pill);
  transition: background .25s var(--ease);
}
.header-contact:hover { background: var(--primary-hover); }

.nav-toggle {
  display: none;
  width: 56px; height: 56px;
  background: var(--primary);
  border: none;
  border-radius: 0;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* =========================================================
   Hero — bright, blue accents
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(160px, 22vh, 240px) var(--pad) clamp(120px, 18vh, 200px);
  background: var(--bg);
  overflow: hidden;
}
/* Hero decorations — placed by golden-ratio composition */
.hero-deco {
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: scale(.6);
  transition: opacity 1.4s var(--ease), transform 1.6s var(--ease);
  line-height: 0;
  z-index: 1;
}
.hero-deco svg {
  display: block;
  width: 100%;
  height: 100%;
  will-change: transform;
}
.hero-deco.is-in { opacity: 1; transform: scale(1); }

/* Sizes follow ~×1.5 progression (golden-ratio-ish): 140 → 220 → 320 → 420 */
/* Positions reference golden cuts (38.2% / 61.8%) for an asymmetric arrangement */
.hero-deco--lt { top: 14%;      left: 7%;      width: 140px; height: 140px; }
.hero-deco--rt { top: 21%;      right: 18%;    width: 220px; height: 220px; }
.hero-deco--rb { bottom: 14%;   right: -6%;    width: 320px; height: 320px; }
.hero-deco--lb { bottom: -12%;  left: -10%;    width: 420px; height: 420px; }
.hero-deco--center {
  top: 50%; left: 50%;
  width: min(76vw, 760px);
  height: min(48vw, 480px);
  transform: translate(-50%, -50%) scale(.92);
  z-index: 0;
  opacity: 0;
}
.hero-deco--center.is-in { transform: translate(-50%, -50%) scale(1); opacity: 1; }

/* Floating orbits — 4 distinct paths, smooth ease */
.hero-deco--lt svg     { animation: floatA 22s ease-in-out infinite; animation-delay: -2s; }
.hero-deco--rt svg     { animation: floatB 26s ease-in-out infinite; animation-delay: -7s; }
.hero-deco--rb svg     { animation: floatC 30s ease-in-out infinite; animation-delay: -4s; }
.hero-deco--lb svg     { animation: floatD 34s ease-in-out infinite; animation-delay: -11s; }
.hero-deco--center svg { animation: floatA 40s ease-in-out infinite; animation-delay: -16s; }

@keyframes floatA {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(14px, -22px) rotate(3deg); }
  50%      { transform: translate(-10px, -34px) rotate(-2deg); }
  75%      { transform: translate(-22px, -14px) rotate(2deg); }
}
@keyframes floatB {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33%      { transform: translate(-26px, 16px) rotate(-4deg); }
  66%      { transform: translate(20px, -12px) rotate(3deg); }
}
@keyframes floatC {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20%      { transform: translate(-18px, -22px) rotate(2deg); }
  40%      { transform: translate(24px, -10px) rotate(-3deg); }
  60%      { transform: translate(10px, 18px) rotate(4deg); }
  80%      { transform: translate(-14px, 12px) rotate(-1deg); }
}
@keyframes floatD {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  50%      { transform: translate(-22px, -28px) rotate(-3deg) scale(1.03); }
}

.hero-inner { z-index: 2; }

@media (max-width: 1100px) {
  .hero-deco--lt { width: 120px; height: 120px; top: 12%; left: 4%; }
  .hero-deco--rt { width: 170px; height: 170px; top: 18%; right: 6%; }
  .hero-deco--rb { width: 240px; height: 240px; bottom: 8%; right: -10%; }
  .hero-deco--lb { width: 320px; height: 320px; bottom: -10%; left: -14%; }
}
@media (max-width: 700px) {
  .hero-deco--rt, .hero-deco--center { display: none; }
  .hero-deco--lt { width: 100px; height: 100px; top: 11%; left: 4%; }
  .hero-deco--rb { width: 200px; height: 200px; bottom: 4%; right: -16%; }
  .hero-deco--lb { width: 260px; height: 260px; bottom: -10%; left: -20%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-deco svg { animation: none !important; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1040px;
  text-align: center;
}
.hero-title {
  margin: 0 0 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.hero-title-en {
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  min-height: 1.25em;
}
.hero-title-en.is-in { opacity: 1; transform: translateY(0); }
.hero-title-ja {
  font-family: var(--jp);
  font-weight: 500;
  font-size: clamp(14px, 1.3vw, 18px);
  letter-spacing: .35em;
  color: var(--ink-soft);
  margin-top: 8px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  min-height: 1.6em;
}
.hero-title-ja.is-in { opacity: 1; transform: translateY(0); }
.hero-title-ja::before {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: var(--primary);
  margin: 0 auto 22px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .9s var(--ease);
  transition-delay: .1s;
}
.hero-title-ja.is-in::before { transform: scaleX(1); }
/* Typing cursor (JP) */
.hero-title-ja.is-typing::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: .9em;
  margin-left: 4px;
  vertical-align: -0.1em;
  background: var(--primary);
  animation: ssCursor .7s linear infinite;
}
@keyframes ssCursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Word-by-word mask reveal for hero EN */
.hero-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1.2;
  padding-bottom: 0.08em;
}
.hero-word__inner {
  display: inline-block;
  transform: translateY(108%);
  opacity: 0;
  transition: transform .9s cubic-bezier(.22,1,.36,1), opacity .9s var(--ease);
  will-change: transform, opacity;
}
.hero-word.is-in .hero-word__inner {
  transform: translateY(0);
  opacity: 1;
}
.hero-lead {
  font-family: var(--jp);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 0 auto;
  max-width: 620px;
  line-height: 2.15;
  letter-spacing: .08em;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.hero-lead.is-in { opacity: 1; transform: translateY(0); }
.hero-scroll {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .35em;
  color: var(--primary);
  writing-mode: vertical-rl;
  padding-bottom: 60px;
  opacity: 0;
  transition: opacity 1s var(--ease);
  transition-delay: .2s;
}
.hero-scroll.is-in { opacity: 1; }
.hero-scroll::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 1px; height: 50px;
  background: var(--primary);
  transform: translateX(-50%);
  animation: scrollLine 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%, 100% { transform: translateX(-50%) scaleY(0); transform-origin: top; }
  50% { transform: translateX(-50%) scaleY(1); transform-origin: top; }
  50.01% { transform-origin: bottom; }
}

/* =========================================================
   Section Head — bilingual EN over JA with primary-color underline
   ========================================================= */
.section-head {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto 70px;
  padding: 0 var(--pad);
  text-align: center;
}
.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 0 30px;
  position: relative;
  padding-bottom: 22px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 50px;
  height: 3px;
  background: var(--primary);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform .9s var(--ease) .15s;
}
.section-title.is-visible::after { transform: translateX(-50%) scaleX(1); }
.section-title--left::after {
  left: 0;
  transform: scaleX(0);
  transform-origin: left center;
}
.section-title--left.is-visible::after { transform: scaleX(1); }
.section-title .en {
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 56px);
  letter-spacing: .02em;
  text-transform: none;
  color: var(--ink);
  line-height: 1.1;
}
.section-title .ja {
  font-family: var(--jp);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .25em;
  color: var(--primary);
}
.section-title--left {
  align-items: flex-start;
  text-align: left;
  margin-bottom: 36px;
}
.section-title--inverse .en { color: #fff; }
.section-title--inverse .ja { color: rgba(255,255,255,.85); }
.section-title--inverse::after { background: #fff; }

.section-desc {
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 2.1;
  letter-spacing: .04em;
}

/* =========================================================
   Services — alternating horizontal rows
   ========================================================= */
.services {
  position: relative;
  padding: 130px 0;
  background: var(--bg);
  overflow: hidden;
}
/* Soft amoeba/blob decorations — multiple instances injected by JS */
.amoeba-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.amoeba {
  position: absolute;
  filter: blur(18px);
  pointer-events: none;
  will-change: transform, border-radius;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out;
}
.amoeba--blue { background: radial-gradient(circle at 50% 50%, rgba(0,162,233,.20), rgba(0,162,233,.05) 55%, transparent 75%); }
.amoeba--pink { background: radial-gradient(circle at 50% 50%, rgba(231,52,122,.16), rgba(231,52,122,.04) 55%, transparent 75%); }
.amoeba--cyan { background: radial-gradient(circle at 50% 50%, rgba(80,200,235,.18), rgba(80,200,235,.04) 55%, transparent 75%); }

@keyframes amoebaA {
  0%   { border-radius: 62% 38% 56% 44% / 48% 60% 40% 52%; transform: translate(0, 0) rotate(0deg); }
  33%  { border-radius: 48% 52% 40% 60% / 60% 44% 56% 40%; transform: translate(40px, -30px) rotate(40deg); }
  66%  { border-radius: 56% 44% 64% 36% / 40% 56% 44% 60%; transform: translate(-20px, 50px) rotate(-30deg); }
  100% { border-radius: 38% 62% 50% 50% / 56% 40% 60% 44%; transform: translate(30px, 20px) rotate(60deg); }
}
@keyframes amoebaB {
  0%   { border-radius: 44% 56% 38% 62% / 60% 44% 56% 40%; transform: translate(0, 0) rotate(0deg); }
  33%  { border-radius: 60% 40% 56% 44% / 44% 56% 60% 40%; transform: translate(-40px, 40px) rotate(-50deg); }
  66%  { border-radius: 36% 64% 44% 56% / 56% 40% 44% 60%; transform: translate(20px, -30px) rotate(40deg); }
  100% { border-radius: 56% 44% 60% 40% / 40% 56% 50% 50%; transform: translate(-20px, -10px) rotate(-20deg); }
}
@keyframes amoebaC {
  0%   { border-radius: 50% 50% 60% 40% / 50% 60% 40% 50%; transform: translate(0, 0) rotate(0deg) scale(1); }
  50%  { border-radius: 40% 60% 50% 50% / 60% 40% 50% 50%; transform: translate(15px, -25px) rotate(35deg) scale(1.05); }
  100% { border-radius: 60% 40% 40% 60% / 40% 60% 60% 40%; transform: translate(-25px, 15px) rotate(-25deg) scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  .amoeba { animation: none !important; }
}

.service-list {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  flex-direction: column;
  gap: 90px;
}
.service-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 60px;
  width: calc(100% - 80px);
  color: inherit;
  text-decoration: none;
  padding: 44px 56px;
  background: #ebeef3;
  border-radius: 28px;
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.service-row:hover {
  background: #e2e6ec;
  box-shadow: 0 14px 40px -18px rgba(116,135,185,.28);
}
.service-row:nth-of-type(odd)  { align-self: flex-start; }
.service-row:nth-of-type(even) { align-self: flex-end; flex-direction: row-reverse; }

/* Decorative big watermark number ("01" "02" ...) behind the row */
.service-row::before {
  content: attr(data-num);
  position: absolute;
  top: -68px;
  font-family: var(--readex);
  font-style: normal;
  font-weight: 500;
  font-size: 360px;
  line-height: .85;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(0, 162, 233, .22);
  letter-spacing: -.02em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: -webkit-text-stroke-color .4s var(--ease), transform .6s var(--ease);
}
.service-row:nth-of-type(odd)::before  { right: -64px; }
.service-row:nth-of-type(even)::before { left: -64px; }
.service-row:hover::before {
  -webkit-text-stroke-color: rgba(0, 162, 233, .32);
}

/* Lift content above the watermark */
.service-info-box,
.service-image-box {
  position: relative;
  z-index: 1;
}

/* Subtle rotation on hover for organic feel */
.service-image-box {
  transition: transform .55s var(--ease);
}
.service-row:nth-of-type(odd):hover  .service-image-box { transform: rotate(-.5deg); }
.service-row:nth-of-type(even):hover .service-image-box { transform: rotate(.5deg); }

.service-info-box {
  width: 340px;
  flex: 0 0 340px;
}
.service-image-box {
  flex: 1 1 0;
  min-width: 0;
  height: 320px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #fff;
}

.service-num {
  position: relative;
  margin: 0 0 28px;
  padding-bottom: 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  line-height: 1.2;
}
.service-num::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 50px; height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .8s var(--ease) .15s;
}
.service-row.is-visible .service-num::after { transform: scaleX(1); }
.service-num strong {
  display: block;
  font-family: var(--readex);
  font-style: normal;
  font-weight: 500;
  font-size: 41px;
  letter-spacing: 0;
  line-height: 1;
  color: var(--ink);
  text-transform: none;
}

.service-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-soft);
}
.service-thumb::before,
.service-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
}
.service-thumb--image::before,
.service-thumb--image::after { content: none; }
.work-thumb--image::before { content: none; }

/* Service variant placeholders — local CSS gradients (replace via WP featured image when ready) */
.service-thumb--video,
.service-thumb--design,
.service-thumb--stream,
.service-thumb--music,
.service-thumb--photo,
.service-thumb--web,
.service-thumb--narration,
.service-thumb--drone {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.service-thumb--video::before, .service-thumb--video::after,
.service-thumb--design::before, .service-thumb--design::after,
.service-thumb--stream::before, .service-thumb--stream::after,
.service-thumb--music::before, .service-thumb--music::after,
.service-thumb--photo::before, .service-thumb--photo::after,
.service-thumb--web::before, .service-thumb--web::after,
.service-thumb--narration::before, .service-thumb--narration::after,
.service-thumb--drone::before, .service-thumb--drone::after { content: ''; position: absolute; inset: 0; }

.service-thumb--video    { background: linear-gradient(135deg, #1f2c3a 0%, #00A2E9 100%); }
.service-thumb--video::after { background: radial-gradient(circle at 30% 70%, rgba(255,255,255,.18), transparent 45%), repeating-linear-gradient(0deg, transparent 0 5px, rgba(255,255,255,.06) 5px 6px); }
.service-thumb--design   { background: linear-gradient(135deg, #f3efe7 0%, #d4cfbf 100%); }
.service-thumb--design::after { background: radial-gradient(circle at 30% 40%, var(--primary) 0 50px, transparent 51px), radial-gradient(circle at 70% 65%, var(--primary-hover) 0 38px, transparent 39px); opacity: .85; }
.service-thumb--stream   { background: linear-gradient(135deg, #2a2018 0%, #00A2E9 100%); }
.service-thumb--stream::after { background: radial-gradient(circle at 25% 50%, var(--primary-hover) 0 6px, transparent 7px), repeating-linear-gradient(0deg, transparent 0 4px, rgba(255,255,255,.10) 4px 5px); mask-image: linear-gradient(to right, #000, transparent 80%); -webkit-mask-image: linear-gradient(to right, #000, transparent 80%); }
.service-thumb--music    { background: linear-gradient(135deg, #00A2E9 0%, #0061a3 100%); }
.service-thumb--music::after { background: repeating-linear-gradient(90deg, transparent 0 5px, rgba(255,255,255,.55) 5px 6px, transparent 6px 12px, rgba(255,255,255,.3) 12px 13px, transparent 13px 24px, rgba(255,255,255,.7) 24px 25px, transparent 25px 30px); mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 20%, #000 80%, transparent); }
.service-thumb--photo    { background: linear-gradient(135deg, #d8e1ee 0%, #6c89b3 100%); }
.service-thumb--photo::after { background: linear-gradient(135deg, transparent 35%, rgba(255,255,255,.4) 50%, transparent 65%), radial-gradient(circle at 70% 30%, rgba(255,255,255,.5), transparent 40%); }
.service-thumb--web      { background: linear-gradient(135deg, #F7F8FA 0%, #d6dde5 100%); }
.service-thumb--web::after { background: linear-gradient(rgba(0,162,233,.18) 1px, transparent 1px), linear-gradient(90deg, rgba(0,162,233,.18) 1px, transparent 1px); background-size: 24px 24px; }
.service-thumb--narration{ background: linear-gradient(135deg, #1f2c3a 0%, #2a3850 100%); }
.service-thumb--narration::after { background: radial-gradient(circle at 50% 50%, transparent 38px, rgba(0,162,233,.55) 39px 40px, transparent 41px), radial-gradient(circle at 50% 50%, transparent 50px, rgba(0,162,233,.3) 51px 52px, transparent 53px), radial-gradient(circle at 50% 50%, var(--primary) 0 12px, transparent 13px); }
.service-thumb--drone    { background: linear-gradient(180deg, #6aa9d8 0%, #b9d2e6 60%, #e8eef4 100%); }
.service-thumb--drone::after { background: radial-gradient(ellipse at 22% 75%, rgba(255,255,255,.55), transparent 35%), radial-gradient(ellipse at 78% 82%, rgba(255,255,255,.4), transparent 30%), radial-gradient(circle at 50% 45%, transparent 22px, rgba(59,53,53,.85) 23px 26px, transparent 27px); }

.service-name {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 18px;
}
.service-name .ja {
  font-family: var(--jp);
  font-weight: 700;
  font-size: clamp(24px, 2.4vw, 31px);
  letter-spacing: .08em;
  line-height: 1.4;
  color: var(--ink);
}
.service-name .en {
  font-family: var(--display);
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.service-desc {
  font-size: 14px;
  font-weight: 500;
  line-height: 2;
  color: var(--ink-soft);
  margin: 0 0 28px;
  letter-spacing: .08em;
}
.service-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 42px;
  padding: 0 28px;
  font-family: var(--en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius-pill);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.service-row:hover .service-btn { background: var(--primary-hover); }

/* =========================================================
   About
   ========================================================= */
.about {
  padding: 130px var(--pad);
  background: var(--bg-soft);
  position: relative;
}
.about-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.about-lead {
  font-family: var(--jp);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: .08em;
  margin: 0 0 28px;
  color: var(--ink);
  line-height: 1.6;
}
.about-text p {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 2.1;
  margin: 0 0 20px;
  letter-spacing: .04em;
}
.about-points {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-points li {
  position: relative;
  padding: 32px 32px 32px 110px;
  background: #fff;
  border-radius: var(--radius-card);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.about-points li:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}
.point-no {
  position: absolute;
  top: 28px; left: 28px;
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--en);
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  letter-spacing: .04em;
}
.about-points h4 {
  font-family: var(--jp);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .06em;
  margin: 0 0 8px;
  color: var(--ink);
}
.about-points p {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.9;
  margin: 0;
}

/* =========================================================
   Works
   ========================================================= */
.works {
  padding: 130px 0;
  background: var(--bg);
}
.works-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.work-item {
  position: relative;
  display: block;
  overflow: hidden;
  background: #fff;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.work-item:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.work-thumb {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
}
.work-thumb::before { content: ''; position: absolute; inset: 0; }
.work-thumb--1 { background: linear-gradient(135deg, #1f2c3a 0%, #00A2E9 100%); }
.work-thumb--1::before { background: radial-gradient(circle at 25% 70%, rgba(255,255,255,.18), transparent 40%); }
.work-thumb--2 { background: linear-gradient(135deg, #F7F8FA 0%, #00A2E9 100%); }
.work-thumb--2::before {
  background:
    radial-gradient(circle at 30% 40%, var(--ink) 0 36px, transparent 37px),
    radial-gradient(circle at 70% 70%, var(--primary-hover) 0 26px, transparent 27px);
}
.work-thumb--3 { background: linear-gradient(135deg, #1a1a1a 0%, #00A2E9 100%); }
.work-thumb--3::before {
  background: repeating-linear-gradient(0deg, transparent 0 5px, rgba(231,52,122,.4) 5px 6px);
  mask-image: linear-gradient(to bottom, transparent, #000 50%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 50%, transparent);
}
.work-thumb--4 { background: linear-gradient(135deg, #00A2E9 0%, #1a1a1a 100%); }
.work-thumb--4::before {
  background: repeating-linear-gradient(90deg, transparent 0 9px, rgba(255,255,255,.45) 9px 10px, transparent 10px 22px);
}
.work-meta {
  padding: 22px 26px 26px;
}
.work-meta span {
  display: inline-block;
  font-family: var(--en);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  color: #fff;
  background: var(--primary);
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.work-meta h4 {
  font-family: var(--jp);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0;
  color: var(--ink);
}

/* =========================================================
   Contact — gradient blue background
   ========================================================= */
.contact {
  padding: 110px var(--pad);
  background:
    linear-gradient(135deg, rgba(0,162,233,.92) 0%, rgba(0,140,200,.96) 100%),
    radial-gradient(circle at 80% 20%, rgba(231,52,122,.4), transparent 50%);
  background-color: var(--primary);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border: 2px solid rgba(255,255,255,.12);
  border-radius: 50%;
  pointer-events: none;
}
.contact::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -150px;
  width: 500px; height: 500px;
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}
.contact-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.contact-inner .section-title {
  align-items: center;
  margin-bottom: 32px;
}
.contact-lead {
  color: rgba(255,255,255,.92);
  font-size: 15px;
  font-weight: 500;
  line-height: 2.1;
  margin: 0 0 50px;
  letter-spacing: .06em;
}
.contact-actions {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 32px 48px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-card);
  min-width: 320px;
  transition: all .3s var(--ease);
}
.contact-btn:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px -10px rgba(0,0,0,.4);
}
.contact-btn-label {
  font-family: var(--en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3em;
  color: var(--primary);
}
.contact-btn:hover .contact-btn-label { color: #fff; }
.contact-btn-value {
  font-family: var(--en);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .04em;
}
.contact-btn-note {
  font-family: var(--jp);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--ink-soft);
}
.contact-btn:hover .contact-btn-note { color: rgba(255,255,255,.8); }

/* =========================================================
   Company info
   ========================================================= */
.company {
  padding: 130px var(--pad);
  background: var(--bg);
}
.company-inner {
  max-width: 960px;
  margin: 0 auto;
}
.company-info {
  border-top: 1px solid var(--line);
  margin: 0;
}
.company-info > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.company-info dt {
  font-family: var(--en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
}
.company-info dd {
  margin: 0;
  font-family: var(--jp);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
  line-height: 1.9;
}
.company-info a:hover { color: var(--primary); }

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: linear-gradient(135deg, var(--primary) 0%, #008cc8 100%);
  color: rgba(255,255,255,.85);
  padding: 60px var(--pad) 24px;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  flex-wrap: wrap;
}
.footer-logo {
  display: block;
  height: 90px;
  width: auto;
  margin-bottom: 10px;
  /* white version of the SVG logo for the blue footer */
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  letter-spacing: .04em;
  color: rgba(255,255,255,.9);
}
.footer-nav ul {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: var(--en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #fff;
  transition: opacity .25s var(--ease);
}
.footer-nav a:hover { opacity: .7; }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 22px;
  text-align: center;
  font-family: var(--en);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .2em;
  color: rgba(255,255,255,.6);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .service-info-box { width: 280px; flex-basis: 280px; }
  .service-image-box { height: 260px; }
  .service-list { gap: 60px; }
  .service-row { padding: 36px 40px; width: calc(100% - 60px); gap: 40px; }
  .service-row::before { font-size: 300px; top: -56px; }
  .service-row:nth-of-type(odd)::before  { right: -56px; }
  .service-row:nth-of-type(even)::before { left: -56px; }
  .service-num strong { font-size: 36px; }
}
@media (max-width: 1100px) {
  .nav, .header-actions { display: none; }
  .nav.is-open {
    display: flex;
    position: fixed;
    inset: 64px 0 0;
    background: var(--primary);
    flex-direction: column;
    padding: 60px 30px;
    overflow-y: auto;
  }
  .nav.is-open .nav-list {
    flex-direction: column;
    gap: 28px;
    width: 100%;
    align-items: flex-start;
  }
  .nav.is-open .nav-list a {
    align-items: flex-start;
    color: #fff;
    font-size: 18px;
  }
  .nav.is-open .nav-list a:hover { color: rgba(255,255,255,.7); }
  .nav.is-open .nav-list a span {
    display: block;
    margin-top: 4px;
    font-size: 11px;
    color: rgba(255,255,255,.7);
  }
  .nav-toggle { display: flex; }
  .header-inner { padding-right: 0; }
  .nav-toggle { margin-left: auto; }
  .about-inner { grid-template-columns: 1fr; gap: 50px; }
  .company-info > div { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
  .services, .about, .works, .contact, .company { padding-top: 90px; padding-bottom: 90px; }
  .section-head { margin-bottom: 50px; }
}
@media (max-width: 900px) {
  .hero { padding-top: clamp(120px, 18vh, 180px); padding-bottom: clamp(80px, 12vh, 140px); }
  .hero-title { gap: 14px; }
  .hero-lead { letter-spacing: .04em; line-height: 2.05; }
  .service-row,
  .service-row:nth-of-type(even) {
    flex-direction: column;
    gap: 24px;
    padding: 32px 28px;
    width: 100%;
    align-self: stretch;
  }
  .service-info-box { width: 100%; flex-basis: auto; order: 2; }
  .service-image-box { width: 100%; height: 220px; order: 1; }
  .service-list { gap: 40px; }
  .service-row::before { font-size: 160px; top: -28px; }
  .service-row:nth-of-type(odd)::before  { right: 14px; }
  .service-row:nth-of-type(even)::before { left: 14px; }
  .services::before { width: 380px; height: 380px; left: -180px; }
  .services::after  { width: 380px; height: 380px; right: -180px; }
}
@media (max-width: 640px) {
  .works-grid { grid-template-columns: 1fr; }
  .contact-btn { min-width: 100%; padding: 28px; }
  .contact-actions { flex-direction: column; }
  .footer-inner { flex-direction: column; }
  .about-points li { padding: 28px 24px 28px 24px; }
  .point-no { position: static; margin-bottom: 16px; }
  .service-num strong { font-size: 34px; }
  .service-name .ja { font-size: 24px; }
}

/* =========================================================
   Service detail page (single-ss_service.php)
   ========================================================= */
.service-detail { padding-top: 100px; }

.service-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px var(--pad) 60px;
  display: flex;
  justify-content: center;
  text-align: center;
}
.service-hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
}
.service-num--detail {
  display: inline-block;
  margin: 0;
  padding-bottom: 24px;
  position: relative;
}
.service-num--detail::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary);
}
.service-detail-title {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  line-height: 1.2;
}
.service-detail-title .ja {
  font-family: var(--jp);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: .04em;
  color: var(--ink);
}
.service-detail-title .en {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--primary);
  letter-spacing: .04em;
}
.service-detail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  height: 50px;
  padding: 0 32px;
  background: var(--primary);
  color: #fff;
  font-family: var(--jp);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .14em;
  border-radius: var(--radius-pill);
  transition: background .25s var(--ease);
}
.service-detail-cta:hover { background: var(--primary-hover); }

/* Other services grid on detail page */
.service-other {
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px var(--pad) 100px;
}
.service-other-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.service-other-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .35s var(--ease);
}
.service-other-card:hover { transform: translateY(-4px); }
.service-other-thumb {
  aspect-ratio: 4/3;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg-soft);
}
.service-other-thumb .service-thumb {
  width: 100%; height: 100%;
}
.service-other-num {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: .15em;
  text-transform: uppercase;
}
.service-other-meta h4 {
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.service-other-meta .ja {
  font-family: var(--jp);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--ink);
}
.service-other-meta .en {
  font-family: var(--display);
  font-weight: 600;
  font-size: 12px;
  color: var(--primary);
  letter-spacing: .04em;
}
.service-back {
  margin: 60px 0 0;
  text-align: center;
}
.service-back a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .15em;
  color: var(--ink);
  text-transform: uppercase;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: color .25s var(--ease), border-color .25s var(--ease);
}
.service-back a:hover { color: var(--primary); border-color: var(--primary); }

@media (max-width: 1000px) {
  .service-hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px var(--pad);
  }
  .service-hero-image { height: 280px; }
  .service-body-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-body-side {
    position: static;
    top: auto;
  }
  .service-other-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .service-other-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Service detail — additional sections (breadcrumb / features / flow / FAQ / CTA)
   ========================================================= */

/* Hero lead */
.service-detail-lead {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 2;
  color: var(--ink-soft);
  letter-spacing: .04em;
  max-width: 480px;
}

/* Breadcrumb */
.breadcrumb {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px var(--pad);
  border-bottom: 1px solid var(--line);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
  color: var(--ink-soft);
}
.breadcrumb li:not(:last-child)::after {
  content: '›';
  margin-left: 8px;
  color: var(--ink-mute);
}
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb [aria-current="page"] { color: var(--ink); }

/* Features */
.service-features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px var(--pad);
}
.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.service-feature {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.service-feature:last-child { border-bottom: none; padding-bottom: 0; }
.service-feature-num { padding-top: 6px; }
.service-feature-no {
  display: inline-block;
  font-family: var(--readex);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -.02em;
  position: relative;
  padding-bottom: 14px;
}
.service-feature-no::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 50px; height: 3px;
  background: var(--primary);
}
.service-feature-body h3 {
  margin: 0 0 14px;
  font-family: var(--jp);
  font-weight: 700;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: .04em;
  line-height: 1.5;
}
.service-feature-body p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--ink-soft);
  letter-spacing: .04em;
}

/* Flow */
.service-flow {
  background: var(--bg-soft);
  padding: 100px var(--pad);
}
.service-flow .section-head { padding: 0; }
.service-flow-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  counter-reset: flow;
  gap: 0;
}
.service-flow-item {
  position: relative;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px 36px 28px 110px;
  margin-bottom: 16px;
}
.service-flow-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 60px;
  bottom: -16px;
  width: 2px;
  height: 16px;
  background: var(--primary);
  z-index: 1;
}
.service-flow-step {
  position: absolute;
  left: 28px; top: 28px;
  width: 56px; height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  flex-direction: column;
  line-height: 1;
}
.service-flow-step::after {
  content: attr(data-num);
}
.service-flow-title {
  margin: 0 0 6px;
  font-family: var(--jp);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--ink);
}
.service-flow-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
  color: var(--ink-soft);
}

/* FAQ */
.service-faq {
  max-width: 880px;
  margin: 0 auto;
  padding: 100px var(--pad);
}
.service-faq-list {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.service-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.service-faq-item dt,
.service-faq-item dd { margin: 0; }
.service-faq-item dt {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 32px;
  font-family: var(--jp);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.service-faq-item dd {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 32px;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-soft);
  background: var(--bg-soft);
}
.service-faq-mark {
  flex: 0 0 auto;
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--readex);
  font-weight: 600;
  font-size: 14px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
}
.service-faq-mark--a { background: var(--primary-hover); }

/* CTA section */
.service-cta {
  background: var(--ink);
  color: #fff;
  padding: 100px var(--pad);
  text-align: center;
}
.service-cta-inner { max-width: 820px; margin: 0 auto; }
.service-cta-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
}
.service-cta-title .en {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 4.5vw, 56px);
  text-transform: none;
}
.service-cta-title .ja {
  font-family: var(--jp);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: .25em;
  color: rgba(255,255,255,.75);
}
.service-cta-lead {
  margin: 0 0 40px;
  color: rgba(255,255,255,.85);
  line-height: 2;
  font-size: 15px;
}

/* Responsive */
@media (max-width: 800px) {
  .service-feature {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-bottom: 36px;
  }
  .service-feature-no { font-size: 44px; }
  .service-flow-item { padding: 24px 24px 24px 96px; }
  .service-flow-step { left: 18px; top: 22px; width: 48px; height: 48px; font-size: 10px; }
  .service-faq-item dt,
  .service-faq-item dd { padding: 18px 22px; gap: 14px; }
}

/* =========================================================
   Service detail v2 — refined with icons and accordion
   ========================================================= */

/* Hero decorations (small dotted circles in image area) */
.service-hero-image { position: relative; }
.service-hero-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(0,162,233,.55) 1.5px, transparent 2px) 0 0/14px 14px;
}
.service-hero-deco--1 {
  width: 140px; height: 140px;
  top: -32px; right: -32px;
  opacity: .8;
}
.service-hero-deco--2 {
  width: 100px; height: 100px;
  bottom: -28px; left: -28px;
  background: radial-gradient(circle, rgba(231,52,122,.55) 1.5px, transparent 2px) 0 0/14px 14px;
  opacity: .7;
}

/* Feature icon */
.service-feature-num {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-top: 0;
}
.service-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  color: var(--primary);
  flex: 0 0 auto;
}
.service-feature-icon svg { width: 28px; height: 28px; }
.service-feature-no {
  font-family: var(--readex);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.02em;
  position: relative;
  padding-bottom: 14px;
  margin-top: 8px;
}
.service-feature-no::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 50px; height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .8s var(--ease);
  transition-delay: .2s;
}
.service-feature.is-visible .service-feature-no::after { transform: scaleX(1); }

/* Flow — overhauled with icons and connected line */
.service-flow {
  position: relative;
  background: var(--bg-soft);
  padding: 100px var(--pad);
  overflow: hidden;
}
.service-flow::before,
.service-flow::after {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,162,233,.10), transparent 70%);
  pointer-events: none;
}
.service-flow::before { top: 10%; left: -120px; }
.service-flow::after  { bottom: 10%; right: -120px; }

.service-flow-list {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 40px;
  list-style: none;
}
.service-flow-list::before {
  content: '';
  position: absolute;
  left: 39px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: repeating-linear-gradient(0deg, var(--primary) 0 4px, transparent 4px 8px);
  opacity: .5;
}
.service-flow-item {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: flex-start;
  padding: 14px 0;
  margin-left: -40px;
  list-style: none;
}
.service-flow-marker {
  position: relative;
  width: 80px; height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px solid var(--primary);
  border-radius: 50%;
  z-index: 2;
  transition: transform .5s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.service-flow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: color .3s var(--ease);
}
.service-flow-icon svg { width: 32px; height: 32px; }
.service-flow-item.is-visible .service-flow-marker {
  transform: scale(1.05);
  background: var(--primary);
}
.service-flow-item.is-visible .service-flow-icon { color: #fff; }
.service-flow-content {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 22px 28px;
  box-shadow: 0 4px 14px -8px rgba(0,0,0,.08);
}
.service-flow-step {
  display: inline-block;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .25em;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.service-flow-title {
  margin: 0 0 8px;
  font-family: var(--jp);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--ink);
}
.service-flow-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  color: var(--ink-soft);
}

/* FAQ accordion */
.service-faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: box-shadow .3s var(--ease);
}
.service-faq-item[open] {
  border-color: var(--primary);
  box-shadow: 0 8px 24px -16px rgba(0,162,233,.3);
}
.service-faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 28px;
  font-family: var(--jp);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  color: var(--ink);
  user-select: none;
}
.service-faq-item summary::-webkit-details-marker { display: none; }
.service-faq-item summary:hover { color: var(--primary); }
.service-faq-q { flex: 1 1 auto; }

.service-faq-toggle {
  flex: 0 0 auto;
  width: 24px; height: 24px;
  position: relative;
  transition: transform .3s var(--ease);
}
.service-faq-toggle::before,
.service-faq-toggle::after {
  content: '';
  position: absolute;
  background: var(--primary);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.service-faq-toggle::before {
  left: 4px; right: 4px;
  top: 50%; height: 2px;
  transform: translateY(-50%);
}
.service-faq-toggle::after {
  top: 4px; bottom: 4px;
  left: 50%; width: 2px;
  transform: translateX(-50%);
}
.service-faq-item[open] .service-faq-toggle::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.service-faq-item[open] .service-faq-toggle { transform: rotate(180deg); }

.service-faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 28px 26px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  animation: faqOpen .35s var(--ease);
}
.service-faq-answer p {
  margin: 0;
  font-size: 14.5px;
  line-height: 2;
  color: var(--ink-soft);
}
@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* CTA refined */
.service-cta {
  position: relative;
  overflow: hidden;
}
.service-cta::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  border: 2px solid rgba(255,255,255,.08);
  border-radius: 50%;
  pointer-events: none;
}
.service-cta::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 420px; height: 420px;
  border: 2px solid rgba(255,255,255,.06);
  border-radius: 50%;
  pointer-events: none;
}
.service-cta-inner { position: relative; z-index: 1; }

/* Responsive tweaks for v2 */
@media (max-width: 800px) {
  .service-hero-deco--1, .service-hero-deco--2 { display: none; }
  .service-feature-num { padding-top: 0; }
  .service-feature-icon { width: 48px; height: 48px; }
  .service-feature-icon svg { width: 24px; height: 24px; }
  .service-feature-no { font-size: 44px; }
  .service-flow-item { grid-template-columns: 64px 1fr; gap: 16px; margin-left: -32px; }
  .service-flow-list { padding-left: 32px; }
  .service-flow-list::before { left: 31px; }
  .service-flow-marker { width: 64px; height: 64px; }
  .service-flow-icon svg { width: 26px; height: 26px; }
  .service-flow-content { padding: 18px 22px; }
  .service-faq-item summary { padding: 18px 22px; gap: 14px; font-size: 15px; }
  .service-faq-answer { padding: 18px 22px 22px; gap: 14px; }
}

/* =========================================================
   Delivery Flow — 3-column grid with illustrations
   ========================================================= */
.delivery-flow {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 60px 34px;
  list-style: none;
  position: relative;
}
.delivery-flow-item {
  position: relative;
  list-style: none;
  grid-column: span 2;
}
/* Center items 4 and 5 in the second row */
.delivery-flow-item:nth-child(4) { grid-column: 2 / span 2; }
.delivery-flow-item:nth-child(5) { grid-column: 4 / span 2; }
/* Right arrow between cards (desktop) */
.delivery-flow-item:not(:nth-child(3n))::after {
  content: '';
  position: absolute;
  top: 110px;
  right: -28px;
  width: 22px; height: 22px;
  border-top: 3px solid var(--primary);
  border-right: 3px solid var(--primary);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
}
.delivery-flow-item:last-child::after { display: none; }

.delivery-flow-card {
  background: var(--bg-soft);
  border-radius: 25px;
  padding: 32px 30px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.delivery-flow-item:hover .delivery-flow-card {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px -16px rgba(0,162,233,.25);
}
.delivery-flow-image {
  height: 168px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.delivery-flow-image img {
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform .5s var(--ease);
}
.delivery-flow-item:hover .delivery-flow-image img { transform: scale(1.05); }

.delivery-flow-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.delivery-flow-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
}
.delivery-flow-num {
  font-family: var(--readex);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -.02em;
  flex: 0 0 auto;
}
.delivery-flow-title {
  margin: 0;
  font-family: var(--jp);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: .08em;
  line-height: 1.5;
  color: var(--ink);
}
.delivery-flow-title span {
  display: block;
  font-family: var(--readex);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #d6d6d6;
  margin-top: 2px;
}
.delivery-flow-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.95;
  letter-spacing: .04em;
  color: var(--ink-soft);
  min-height: 5.5em;
}

/* Tablet: 2 columns */
@media (max-width: 980px) {
  .delivery-flow { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .delivery-flow-item,
  .delivery-flow-item:nth-child(4),
  .delivery-flow-item:nth-child(5) { grid-column: span 1; }
  .delivery-flow-item:not(:nth-child(3n))::after { display: none; }
  .delivery-flow-item:nth-child(odd):not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    top: 110px;
    right: -14px;
    width: 18px; height: 18px;
    border-top: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
    transform: translateY(-50%) rotate(45deg);
  }
  .delivery-flow-item:last-child::after { display: none; }
}

/* Mobile: 1 column with down arrows */
@media (max-width: 640px) {
  .delivery-flow { grid-template-columns: 1fr; gap: 36px; }
  .delivery-flow-item,
  .delivery-flow-item:nth-child(4),
  .delivery-flow-item:nth-child(5) { grid-column: span 1; }
  .delivery-flow-item::after,
  .delivery-flow-item:not(:nth-child(2n))::after,
  .delivery-flow-item:not(:nth-child(3n))::after {
    content: '';
    display: block;
    position: absolute;
    top: auto;
    right: auto;
    bottom: -24px;
    left: 50%;
    width: 18px; height: 18px;
    border-top: 3px solid var(--primary);
    border-right: 3px solid var(--primary);
    border-left: none;
    border-bottom: none;
    transform: translateX(-50%) rotate(135deg);
  }
  .delivery-flow-item:last-child::after { display: none; }
  .delivery-flow-card { padding: 26px 24px; }
  .delivery-flow-image { height: 140px; }
  .delivery-flow-num { font-size: 36px; }
  .delivery-flow-desc { min-height: 0; }
}

/* Reveal-on-scroll stagger for flow items (override default) */
.delivery-flow-item.reveal-pending {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(.96);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.delivery-flow-item.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Hide old service-flow styles by leaving them but never used */

/* =========================================================
   Service detail v3 — additional sections
   ========================================================= */

/* Intro / detailed lead */
.service-intro {
  max-width: 880px;
  margin: 0 auto;
  padding: 80px var(--pad) 30px;
}
.service-intro-inner {
  font-size: 16px;
  line-height: 2.1;
  letter-spacing: .04em;
  color: var(--ink);
}
.service-intro-inner p {
  margin: 0 0 20px;
}
.service-intro-inner p:last-child { margin-bottom: 0; }

/* Categories list (取扱分野) */
.service-categories {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px var(--pad) 100px;
}
.service-categories-inner {
  background: var(--bg-soft);
  border-radius: 25px;
  padding: 50px 60px;
}
.service-categories-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 40px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-categories-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--jp);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
}
.cat-mark {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary);
  position: relative;
}
.cat-mark::after {
  content: '';
  position: absolute;
  left: 5px; top: 9px;
  width: 6px; height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translate(0, -1px);
}

@media (max-width: 700px) {
  .service-intro { padding: 50px var(--pad) 20px; }
  .service-categories { padding: 50px var(--pad) 60px; }
  .service-categories-inner { padding: 32px 28px; }
  .service-categories-list { grid-template-columns: 1fr; gap: 0; }
}

/* =========================================================
   Service detail v4 — Achievements + Plus (supplementary)
   ========================================================= */

/* Achievements (実績) */
.service-achievements {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px var(--pad) 100px;
}
.achievements-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.achievement-item { list-style: none; }
.achievement-cat {
  position: relative;
  margin: 0 0 12px;
  padding-left: 20px;
  font-family: var(--jp);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.achievement-cat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 14px;
  height: 2px;
  background: var(--primary);
}
.achievement-cat-en {
  font-family: var(--readex);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
}
.achievement-card {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 20px 22px;
}
.achievement-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.achievement-card th,
.achievement-card td {
  padding: 10px 4px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
  vertical-align: top;
  letter-spacing: .04em;
  line-height: 1.65;
}
.achievement-card tr:last-child th,
.achievement-card tr:last-child td { border-bottom: none; }
.achievement-card th {
  width: 70px;
  font-weight: 700;
  color: var(--ink-soft);
  white-space: nowrap;
  font-size: 11.5px;
}
.achievement-card td {
  font-weight: 500;
  color: var(--ink);
  word-break: break-word;
}
.achievement-tag {
  display: inline-block;
  font-family: var(--readex);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #fff;
  background: var(--primary);
  padding: 3px 11px;
  border-radius: 20px;
}

@media (max-width: 980px) {
  .achievements-list { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 700px) {
  .achievements-list { grid-template-columns: 1fr; }
  .achievement-card { padding: 18px 20px; }
  .achievement-card th { width: 64px; font-size: 11px; }
  .achievement-card td { font-size: 12.5px; }
}

/* Plus / supplementary service section (補足サービス) */
.service-plus {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px var(--pad) 100px;
}
.service-plus-card {
  background: linear-gradient(135deg, #f0f9ff 0%, var(--bg-soft) 100%);
  border-radius: 25px;
  padding: 60px 60px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.service-plus-card::before,
.service-plus-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.service-plus-card::before {
  width: 220px; height: 220px;
  top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(0,162,233,.15), transparent 70%);
}
.service-plus-card::after {
  width: 280px; height: 280px;
  bottom: -120px; left: -100px;
  background: radial-gradient(circle, rgba(231,52,122,.10), transparent 70%);
}
.service-plus-sub {
  position: relative;
  z-index: 1;
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 20px;
  background: #fff;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-family: var(--jp);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  border-radius: 999px;
}
.service-plus-title {
  position: relative;
  z-index: 1;
  margin: 0 0 32px;
  font-family: var(--jp);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: .06em;
  line-height: 1.5;
  color: var(--ink);
}
.service-plus-title span {
  display: inline-block;
  background: linear-gradient(transparent 65%, rgba(0,162,233,.25) 65% 92%, transparent 92%);
  padding: 0 4px;
  color: var(--primary);
  margin-right: 4px;
}
.service-plus-flex {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
  margin-bottom: 36px;
  text-align: left;
}
.service-plus-text {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  color: var(--ink);
  letter-spacing: .04em;
}
.service-plus-image {
  width: 100%;
  height: 220px;
  border-radius: 25px;
  overflow: hidden;
  background: var(--bg-soft);
}
.service-plus-image .service-thumb {
  width: 100%; height: 100%;
}
.service-plus-cta {
  position: relative;
  z-index: 1;
  margin: 0;
}
.service-plus-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 44px;
  padding: 0 28px;
  background: var(--primary);
  color: #fff;
  font-family: var(--jp);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .12em;
  border-radius: var(--radius-pill);
  transition: background .25s var(--ease);
}
.service-plus-cta a:hover { background: var(--primary-hover); }

@media (max-width: 800px) {
  .service-plus-card { padding: 40px 28px 32px; }
  .service-plus-flex { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .service-plus-image { height: 180px; }
  .service-plus-text { text-align: left; }
}

/* =========================================================
   Service detail v5 — Breakdown (01, 02, 03 numbered sub-services)
   ========================================================= */
.service-breakdown {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px var(--pad) 60px;
}

/* Anchor navigation at top */
.breakdown-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 0 auto 80px;
}
.breakdown-nav a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 22px 28px;
  background: var(--bg-soft);
  border-radius: 18px;
  border: 1px solid transparent;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  position: relative;
}
.breakdown-nav a:hover {
  background: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}
.breakdown-nav a::after {
  content: '↓';
  position: absolute;
  right: 24px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--readex);
  font-size: 18px;
  color: var(--primary);
}
.breakdown-nav-num {
  font-family: var(--readex);
  font-weight: 500;
  font-size: 24px;
  color: var(--primary);
  letter-spacing: 0;
  line-height: 1;
}
.breakdown-nav-label {
  font-family: var(--jp);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--ink);
}

/* Breakdown list */
.breakdown-list {
  display: flex;
  flex-direction: column;
  gap: 70px;
}
.breakdown-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 50px;
  align-items: flex-start;
  scroll-margin-top: 100px;
}
.breakdown-num-area {
  position: sticky;
  top: 100px;
}
.breakdown-big-num {
  display: block;
  font-family: var(--readex);
  font-weight: 500;
  font-size: 96px;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -.04em;
  position: relative;
  padding-bottom: 22px;
}
.breakdown-big-num::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s var(--ease);
  transition-delay: .15s;
}
.breakdown-item.is-visible .breakdown-big-num::after { transform: scaleX(1); }

.breakdown-body { padding-top: 8px; }
.breakdown-title {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 18px;
}
.breakdown-title .ja {
  font-family: var(--jp);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: .06em;
  color: var(--ink);
}
.breakdown-title .en {
  font-family: var(--readex);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
}
.breakdown-text {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
  color: var(--ink-soft);
}
.breakdown-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.breakdown-tags li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-soft);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.breakdown-tags li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex: 0 0 auto;
}
.breakdown-tags li:hover {
  background: var(--primary);
  color: #fff;
}
.breakdown-tags li:hover::before { background: #fff; }

@media (max-width: 800px) {
  .service-breakdown { padding: 50px var(--pad) 40px; }
  .breakdown-nav { gap: 10px; margin-bottom: 50px; }
  .breakdown-nav a { padding: 16px 22px; }
  .breakdown-nav a::after { right: 18px; font-size: 16px; }
  .breakdown-nav-num { font-size: 20px; }
  .breakdown-list { gap: 50px; }
  .breakdown-item { grid-template-columns: 1fr; gap: 18px; }
  .breakdown-num-area { position: static; }
  .breakdown-big-num { font-size: 72px; padding-bottom: 16px; }
}

/* =========================================================
   Service detail — full layout
   ========================================================= */

/* Lead article (intro with image + lead copy + description) */
.service-lead-article {
  max-width: 1166px;
  margin: 0 auto;
  padding: 40px var(--pad) 100px;
}
.lead-image {
  aspect-ratio: 1166 / 350;
  height: auto;
  border-radius: 25px;
  overflow: hidden;
  margin-bottom: 40px;
}
.lead-image .service-thumb {
  width: 100%;
  height: 100%;
}
.lead-copy {
  font-family: var(--jp);
  font-weight: 700;
  font-size: 31px;
  line-height: 1.55;
  letter-spacing: .08em;
  color: var(--ink);
  text-align: center;
  margin: 0 0 32px;
}
.lead-text {
  text-align: center;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .1em;
  color: var(--ink);
  margin: 0 auto;
  max-width: 800px;
}
@media (max-width: 768px) {
  .lead-copy { font-size: 26px; }
}
@media (max-width: 568px) {
  .lead-copy { font-size: 24px; }
}

/* Sub-service article (01, 02, 03 ...) */
.sub-service {
  background: #fff;
  padding: 100px 0;
}
.sub-service-inner {
  max-width: 1166px;
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ttl_num_box: large number + bilingual title */
/* ttl_num_box style — large faded watermark number behind the title */
.sub-title-num {
  position: relative;
  padding-top: 110px;
  padding-bottom: 20px;
  margin-bottom: 40px;
  display: block;
  isolation: isolate;
}
.sub-title-num::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 50px; height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .9s var(--ease) .15s;
  z-index: 2;
}
.sub-service.is-visible .sub-title-num::after { transform: scaleX(1); }
.sub-num {
  position: absolute;
  top: 0;
  left: 0;
  font-family: var(--readex);
  font-weight: 500;
  font-size: clamp(120px, 13vw, 170px);
  line-height: 1.3;
  color: #ebeef3;
  letter-spacing: -.02em;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}
.sub-ttl {
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.3;
}
.sub-ttl strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
}
.sub-ttl span {
  font-family: var(--jp);
  font-weight: 700;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: .06em;
  color: var(--ink);
}

/* service_flex: text fixed-width + image flexible */
.sub-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 60px;
}
.sub-text {
  width: 600px;
  flex: 0 0 600px;
}
.sub-lead {
  font-family: var(--jp);
  font-weight: 700;
  font-size: 31px;
  line-height: 1.55;
  letter-spacing: .06em;
  color: var(--ink);
  margin: 0 0 30px;
}
.sub-desc {
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .1em;
  color: var(--ink);
  margin: 0;
}
.sub-image {
  flex: 1 1 auto;
  width: calc(100% - 620px);
  min-width: 0;
  height: 274px;
  border-radius: 25px;
  overflow: hidden;
}
.sub-image .service-thumb {
  width: 100%;
  height: 100%;
}

/* handling_genre */
.handling-genre {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 25px;
  padding: 38px 40px;
  text-align: center;
  margin-bottom: 60px;
}
.sub-service:nth-of-type(even) .handling-genre {
  background: #fff;
}
.handling-genre h3 {
  font-family: var(--jp);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .12em;
  margin: 0 0 22px;
  color: var(--ink);
  position: relative;
  padding-left: 28px;
  display: inline-block;
}
.handling-genre h3::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 2px;
  background: var(--primary);
  transform: translateY(-50%);
}
.handling-genre-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.handling-genre-list li { list-style: none; }
.handling-genre-list li span {
  display: inline-block;
  padding: 6px 18px;
  background: #fff;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 999px;
  font-family: var(--jp);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.handling-genre-list li:hover span {
  background: var(--primary);
  color: #fff;
}

/* Achievements heading + list (within sub-service) */
.achievements-heading {
  text-align: center;
  margin: 0 0 40px;
  position: relative;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.achievements-heading::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary);
}
.achievements-heading strong {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1;
}
.achievements-heading::before {
  content: attr(data-after);
}
/* simple ja label */
.achievements-heading {
  font-family: var(--jp);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .25em;
  color: var(--ink-soft);
}

/* Override the older outer Achievements section if used elsewhere — keep inner here */

/* Tablet — switch to single column */
@media (max-width: 1100px) {
  .sub-text { width: 100%; flex: 1 1 100%; }
  .sub-image { width: 100%; height: 250px; }
  .sub-flex { flex-direction: column; gap: 28px; }
}
@media (max-width: 800px) {
  .sub-service { padding: 70px 0; }
  .sub-title-num { padding-top: 90px; margin-bottom: 36px; }
  .sub-num { font-size: 130px; }
  .sub-lead { font-size: 26px; }
  .sub-flex { gap: 24px; margin-bottom: 40px; }
  .sub-image { height: auto; aspect-ratio: 16/9; }
  .handling-genre { padding: 30px 24px; margin-bottom: 50px; }
  .lead-image { aspect-ratio: 16/9; margin-bottom: 36px; }
}
@media (max-width: 568px) {
  .sub-lead { font-size: 24px; }
}

/* =========================================================
   Page-section nav — anchor buttons (01, 02) to each sub-service
   Anchor buttons to in-page sections
   ========================================================= */
.page-section-nav {
  max-width: 1000px;
  margin: 0 auto;
  padding: 16px var(--pad) 40px;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.page-section-nav li {
  list-style: none;
  flex: 1 1 calc(50% - 16px);
  min-width: 360px;
}
.page-section-nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  height: 100%;
  padding: 26px 60px 26px 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 100px;
  text-decoration: none;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.page-section-nav a:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.page-section-nav a::after {
  content: '';
  position: absolute;
  right: 22px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(135deg);
}
.page-section-nav .nav-num {
  font-family: var(--readex);
  font-weight: 500;
  font-size: 28px;
  line-height: 1;
  padding-right: 8px;
  flex: 0 0 auto;
}
.page-section-nav .nav-text {
  font-family: var(--jp);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.45;
  text-align: left;
  flex: 1 1 auto;
}
.page-section-nav .nav-text strong {
  display: block;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  line-height: 1.2;
  margin-bottom: 3px;
}

@media (max-width: 800px) {
  .page-section-nav { padding: 12px var(--pad) 24px; gap: 10px; }
  .page-section-nav li { flex: 1 1 100%; min-width: 0; }
  .page-section-nav a { padding: 12px 40px 12px 18px; }
  .page-section-nav .nav-num { font-size: 22px; }
  .page-section-nav .nav-text { font-size: 11px; }
  .page-section-nav .nav-text strong { font-size: 14px; }
}

/* =========================================================
   Contact form page
   ========================================================= */
.contact-page { padding-top: 100px; }

.contact-hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 80px var(--pad) 40px;
  text-align: center;
  display: flex;
  justify-content: center;
}
.contact-hero .service-num--detail {
  display: inline-block;
  margin: 0 0 24px;
  padding-bottom: 24px;
  position: relative;
}
.contact-hero .service-num--detail::after {
  left: 50%; transform: translateX(-50%);
}

.contact-form-section {
  padding: 30px var(--pad) 100px;
}
.contact-form-inner {
  max-width: 820px;
  margin: 0 auto;
}

.contact-lead-text {
  text-align: center;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .08em;
  color: var(--ink);
  margin: 0 0 40px;
}

/* Direct contact (TEL / EMAIL) */
.contact-direct {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 0 0 60px;
}
.contact-direct-item {
  background: var(--bg-soft);
  border-radius: 18px;
  padding: 22px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background .25s var(--ease);
}
.contact-direct-item:hover { background: #ebeef3; }
.contact-direct-item .label {
  font-family: var(--readex);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25em;
  color: var(--primary);
}
.contact-direct-item .value {
  font-family: var(--readex);
  font-size: 22px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: .04em;
}
.contact-direct-item .note {
  font-size: 11px;
  color: var(--ink-soft);
  letter-spacing: .08em;
}

/* Errors */
.contact-errors {
  background: #fff4f5;
  border: 1px solid #f4c2c8;
  border-radius: 12px;
  padding: 18px 24px;
  margin: 0 0 28px;
  color: #c03e4c;
  font-size: 14px;
  line-height: 1.8;
}
.contact-errors strong { display: block; margin-bottom: 6px; }
.contact-errors ul { padding: 0; margin: 0; }
.contact-errors li {
  padding-left: 20px;
  position: relative;
  list-style: none;
}
.contact-errors li::before {
  content: '!';
  position: absolute;
  left: 0; top: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #c03e4c;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 6px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-row label {
  font-family: var(--jp);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-row .req {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 2px 8px;
  border-radius: 999px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: var(--jp);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--ink);
  background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,162,233,.12);
}
.contact-form textarea {
  resize: vertical;
  min-height: 160px;
  line-height: 1.8;
}
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%), linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 24px) center, calc(100% - 18px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
  cursor: pointer;
}

.form-agree label {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
}
.form-agree input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--primary);
  flex: 0 0 auto;
  cursor: pointer;
}

.form-submit {
  text-align: center;
  margin-top: 16px;
}
.form-submit button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 280px;
  height: 56px;
  padding: 0 48px;
  background: var(--primary);
  color: #fff;
  font-family: var(--jp);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .14em;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.form-submit button:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
}
.form-submit button i {
  display: inline-block;
  width: 14px; height: 1.5px;
  background: currentColor;
  position: relative;
}
.form-submit button i::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

/* Success state */
.contact-success {
  text-align: center;
  padding: 80px 40px;
  background: var(--bg-soft);
  border-radius: 25px;
}
.contact-success-mark {
  display: inline-flex;
  width: 80px; height: 80px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--primary);
  margin-bottom: 24px;
}
.contact-success-mark svg {
  width: 44px; height: 44px;
}
.contact-success h2 {
  font-family: var(--jp);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: .06em;
  margin: 0 0 20px;
  color: var(--ink);
}
.contact-success p {
  font-size: 15px;
  line-height: 2;
  letter-spacing: .04em;
  color: var(--ink);
  margin: 0 0 16px;
}
.contact-success-note {
  font-size: 13px !important;
  color: var(--ink-soft) !important;
}
.contact-detail-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  min-width: 220px;
  height: 50px;
  padding: 0 32px;
  background: var(--primary);
  color: #fff;
  font-family: var(--jp);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  border-radius: 999px;
  transition: background .25s var(--ease);
}
.contact-detail-cta:hover { background: var(--primary-hover); }

/* Responsive */
@media (max-width: 680px) {
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-direct { grid-template-columns: 1fr; gap: 12px; }
  .contact-direct-item .value { font-size: 18px; }
  .contact-success { padding: 56px 24px; }
  .form-submit button { min-width: 100%; }
}
