/* SERVICE overview and its three local detail pages. HOME tokens stay shared. */
.service-detail-page { --service-rail-width: 48px; }
.service-detail-page > main { margin-right: var(--service-rail-width); }
.service-detail-page > .site-footer { width: calc(100% - var(--gutter) * 2 - var(--service-rail-width)); translate: calc(var(--service-rail-width) / -2) 0; }
.service-detail-page .inner-intro { padding-top: 28px; }
/* Keep the original row's space when its links move into the side rail. */
.service-switcher-slot { position: relative; height: 74px; margin-top: var(--fixed-header-height, 110px); }
.service-switcher { position: absolute; inset: 0 0 auto; z-index: 6; border-block: 1px solid var(--inner-rule); background: var(--ink); }
.service-switcher-inner { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: stretch; }
.service-switcher-overview { display: flex; align-items: center; gap: 14px; min-height: 72px; font-size: 11px; color: var(--muted); }
.service-switcher-overview:hover { color: var(--accent); }
.service-switcher-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-switcher-links > a { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; align-items: center; min-height: 72px; padding: 12px; border-left: 1px solid var(--inner-rule); border-bottom: 3px solid transparent; font-size: 14px; line-height: 1.6; text-align: center; }
.service-switcher-links > a[aria-current="page"] { background: #28231f; border-bottom-color: var(--accent); color: var(--accent); font-weight: 700; }
.service-switcher-links > a:hover { background: #28231f; color: var(--accent); }
.service-switcher :focus-visible { outline-offset: -5px; }
.service-switcher-rail-label { display: none; }
.service-switcher.is-docked { position: fixed; inset: calc((100% + var(--fixed-header-height, 110px)) / 2) 0 auto auto; width: var(--service-rail-width); transform: translateY(-50%); border: 1px solid var(--inner-rule); border-right: 0; border-radius: 8px 0 0 8px; overflow: hidden; }
.service-switcher.is-docked .service-switcher-inner { display: block; width: 100%; }
.service-switcher.is-docked .service-switcher-overview,
.service-switcher.is-docked .service-switcher-label { display: none; }
.service-switcher.is-docked .service-switcher-links { display: flex; flex-direction: column; max-height: calc(100svh - var(--fixed-header-height, 110px) - 24px); overflow-y: auto; }
.service-switcher.is-docked .service-switcher-links > a { flex: 0 0 auto; min-height: 94px; padding: 12px 6px; border: 0; border-left: 3px solid transparent; font-size: 12px; }
.service-switcher.is-docked .service-switcher-links > a + a { border-top: 1px solid var(--inner-rule); }
.service-switcher.is-docked .service-switcher-links > a[aria-current="page"] { border-left-color: var(--accent); }
.service-switcher.is-docked .service-switcher-rail-label { display: block; writing-mode: vertical-rl; letter-spacing: .12em; line-height: 1.4; }
.inner-service .service-index a { font-size: 13px; }
.inner-service .service-story-copy h3 { line-height: 1.5; }
.service-brand-panel { display: flex; flex-direction: column; justify-content: space-between; align-items: center; align-self: center; width: 100%; min-height: 360px; padding: 32px; border: 1px solid var(--inner-rule); background: #1d1d19; }
.service-brand-panel > p { align-self: flex-start; color: var(--muted); font-size: 10px; letter-spacing: .15em; }
.service-brand-panel img { width: min(75%, 330px); margin-block: 32px; }
.service-brand-panel > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; width: 100%; border-top: 1px solid var(--inner-rule); padding-top: 20px; font-size: 10px; letter-spacing: .08em; color: var(--muted); }
.service-consult-copy { max-width: 880px; font-size: 14px; line-height: 2.2; }
.inner-service-video-production .inner-heading,
.inner-service-live-streaming .inner-heading,
.inner-service-original-products .inner-heading { gap: 32px; }
.inner-service-video-production .inner-heading h1,
.inner-service-live-streaming .inner-heading h1,
.inner-service-original-products .inner-heading h1 { font-size: clamp(36px, 4.6vw, 68px); flex-shrink: 0; }
.service-detail-opening { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding-block: 50px 72px; border-top: 1px solid var(--inner-rule); align-items: center; }
.service-detail-message h2 { font-size: clamp(28px, 3vw, 44px); font-weight: 500; line-height: 1.65; letter-spacing: -.03em; }
.service-detail-message > p:not(.inner-kicker) { margin-top: 22px; font-size: 14px; color: var(--muted); line-height: 2.2; }
.service-detail-message > .text-link { margin-top: 26px; }
.service-detail-image img { aspect-ratio: 16 / 10; object-fit: contain; background: #252522; }
.service-detail-image figcaption { margin-top: 14px; color: var(--muted); font-size: 11px; line-height: 1.9; }
.service-capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.service-capabilities article { border-top: 1px solid var(--inner-rule); padding-top: 20px; }
.service-capabilities h3 { margin-block: 18px 12px; font-size: 20px; font-weight: 500; }
.service-capabilities p { color: var(--muted); font-size: 13px; line-height: 2.1; }
.service-case-section { border-top: 1px solid var(--inner-rule); }
.service-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.service-cases img { aspect-ratio: 16 / 9; object-fit: contain; background: #252522; }
.service-cases h3 { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; font-size: 17px; font-weight: 500; }
.service-cases h3 span { color: var(--accent); }
.service-cases a:hover h3 { color: var(--accent); }
.service-cases p { margin-top: 8px; color: var(--muted); font-size: 11px; }
.service-streaming-case { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.service-streaming-case h2 { font-weight: 500; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.5; }
.service-streaming-case p:not(.inner-kicker) { margin-top: 22px; color: var(--muted); font-size: 14px; line-height: 2.2; }
.service-streaming-case .text-link { margin-top: 26px; }
.service-preparation { border-top: 1px solid var(--inner-rule); }
.service-preparation .inner-facts > div { grid-template-columns: 180px minmax(0, 1fr); }
.service-related { display: grid; grid-template-columns: .8fr 1fr 1fr 1.4fr; border-block: 1px solid var(--inner-rule); margin-bottom: 72px; }
.service-related a { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 76px; padding: 16px 20px; font-size: 12px; }
.service-related a + a { border-left: 1px solid var(--inner-rule); }
.service-related a[aria-current], .service-related a:hover { color: var(--accent); }
.service-related a span { color: var(--accent); font-size: 20px; }
.original-jump-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; }
.original-jump-links a { display: inline-flex; gap: 20px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--inner-rule); font-size: 12px; }
.original-jump-links a span { color: var(--accent); }
.original-jump-links a:hover { color: var(--accent); }
.apparel-section { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--inner-rule); }
.apparel-section h2 { font-size: clamp(30px, 3.6vw, 52px); font-weight: 500; line-height: 1.6; }
.apparel-label { margin-top: 24px; font-size: 10px; letter-spacing: .15em; color: var(--accent); }
.service-body-copy { align-self: center; }
.service-body-copy h3 { font-size: 20px; font-weight: 500; line-height: 1.8; text-wrap: balance; }
.service-body-copy p { margin-top: 20px; color: var(--muted); font-size: 14px; line-height: 2.2; }
.service-body-copy .text-link { margin-top: 24px; }
.japan-support-list { margin-top: 42px; }
.japan-support-list article { display: grid; grid-template-columns: .65fr 1.35fr; gap: 40px; padding-block: 36px; border-top: 1px solid var(--inner-rule); }
.japan-support-list h3 { font-size: clamp(21px, 2vw, 28px); font-weight: 500; line-height: 1.7; text-wrap: balance; }
.japan-support-list .support-role { padding-top: 5px; color: var(--accent); font-size: 12px; font-weight: 500; }
.japan-support-list article > div > p { margin-top: 16px; max-width: 750px; color: var(--muted); font-size: 14px; line-height: 2.2; }
.japan-support-list ul { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 22px 0 0; padding-left: 1.2em; font-size: 12px; }
.japan-support-list li::marker { color: var(--accent); }
@media (max-width: 999px) {
  .service-switcher-inner { grid-template-columns: 120px minmax(0, 1fr); }
  .service-switcher-links > a { padding-inline: 8px; font-size: 12px; }
  .inner-service-video-production .inner-heading,
  .inner-service-live-streaming .inner-heading,
  .inner-service-original-products .inner-heading { display: block; }
  .inner-service-video-production .inner-heading > p,
  .inner-service-live-streaming .inner-heading > p,
  .inner-service-original-products .inner-heading > p { max-width: none; margin-top: 22px; }
  .service-brand-panel { min-height: 290px; padding: 24px; }
  .service-capabilities { gap: 24px; }
  .service-capabilities h3 { font-size: 18px; }
  .service-related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-related a:nth-child(3) { border-left: 0; }
  .service-related a:nth-child(n+3) { border-top: 1px solid var(--inner-rule); }
}
@media (max-width: 699px) {
  .service-detail-page { --service-rail-width: 44px; }
  .service-switcher-inner { display: block; width: 100%; }
  .service-switcher-overview { display: none; }
  .service-switcher-links > a { flex-direction: column; flex-wrap: nowrap; padding-inline: 4px; font-size: 11px; }
  .service-switcher-links > a:first-child { border-left: 0; }
  .service-switcher-label-part { display: block; }
  .inner-service-video-production .inner-heading h1,
  .inner-service-live-streaming .inner-heading h1,
  .inner-service-original-products .inner-heading h1 { font-size: clamp(30px, 7.7vw, 46px); }
  .service-detail-opening { grid-template-columns: 1fr; gap: 32px; padding-block: 32px 44px; }
  .service-detail-message h2 { font-size: 28px; }
  .service-detail-message > p:not(.inner-kicker), .service-consult-copy, .service-body-copy p, .japan-support-list article > div > p { font-size: 13px; }
  .service-brand-panel { min-height: 260px; }
  .service-brand-panel > div { font-size: 9px; gap: 10px; }
  .service-capabilities, .service-cases, .service-streaming-case, .apparel-section { grid-template-columns: 1fr; gap: 28px; }
  .service-capabilities h3 { margin-top: 12px; }
  .service-cases h3 { font-size: 16px; }
  .service-preparation .inner-facts > div { grid-template-columns: 1fr; }
  .service-related { grid-template-columns: 1fr; margin-bottom: 44px; }
  .service-related a { min-height: 60px; padding-inline: 0; }
  .service-related a + a { border-left: 0; border-top: 1px solid var(--inner-rule); }
  .service-body-copy h3 { font-size: 18px; }
  .japan-support-list { margin-top: 30px; }
  .japan-support-list article { grid-template-columns: 1fr; gap: 16px; padding-block: 28px; }
  .japan-support-list ul { display: block; line-height: 2.2; }
}
@media (max-height: 480px) {
  .service-switcher.is-docked .service-switcher-links > a { min-height: 72px; padding-block: 6px; font-size: 11px; }
}
@media print {
  .service-detail-page > main { margin-right: 0; }
  .service-detail-page > .site-footer { width: calc(100% - var(--gutter) * 2); translate: none; }
  .service-switcher-slot { display: none; }
  .service-detail-page .inner-intro { padding-top: 132px; }
}
