﻿/* ============================================================
   TeamLog トップページ styles
   Design reference: moneyforward.com
   (clean / flat / white base / warm accent / airy / card-based)
   ============================================================ */

:root {
  --brand:        #17824a;
  --brand-dark:   #0f6136;
  --brand-bright: #37aa69;
  --brand-tint:   #eaf7ef;
  --link:         #0068b7;
  --link-dark:    #004c8a;
  --link-tint:    #eaf5fb;
  --warm:         #c94034;
  --warm-dark:    #972f27;

  --ink:          #151b24;
  --ink-soft:     #536170;
  --ink-mute:     #8995a3;
  --line:         #dfe5eb;
  --line-soft:    #edf1f5;
  --bg:           #ffffff;
  --bg-soft:      #f5f7f9;

  /* 用途別の控えめなアクセント */
  --c-blue:   #d75b45;
  --c-green:  #bc762d;
  --c-purple: #ae4b55;
  --c-orange: #d78b22;

  --radius:    18px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(29,37,48,.06);
  --shadow:    0 10px 30px rgba(29,37,48,.08);
  --shadow-blue: 0 8px 22px rgba(15,97,54,.22);

  --maxw: 1200px;
  --maxw-page: 1000px;
  --maxw-narrow: 760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* キーボード操作時のみ、現在地を明確に表示する */
:where(a, button, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--brand-bright);
  outline-offset: 3px;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.85;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.45; margin: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 32px;
}
.container.narrow { max-width: var(--maxw-narrow); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-weight: 700;
  font-size: 15px;
  min-height: 44px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, color .14s ease;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: #fff; color: var(--brand); box-shadow: 0 10px 22px rgba(0,0,0,.12); }
.btn-primary:hover { background: var(--brand); color: #fff; }
.hero-cta .btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-blue);
}
.hero-cta .btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}
.btn-dark { background: var(--ink); color: #fff; box-shadow: none; }
.btn-dark:hover { background: #0d141d; color: #fff; }
.btn-white { background: #fff; color: var(--brand); border-color: #fff; box-shadow: none; }
.btn-white:hover { background: #f1f7fb; color: var(--brand); }
.btn-lg { min-height: 46px; padding: 11px 34px; font-size: 15px; }
.btn-block { width: 100%; }
/* 右上へ抜ける矢印を持つ外部リンク型のCTAアイコン */
.page-home .btn-primary::after,
.page-home .btn-dark::after,
.page-home .btn-white::after,
.btn-external::after {
  content: "";
  display: inline-block;
  width: .82em;
  height: .82em;
  background: url("../icons/external-link-outline.svg") center / 145% no-repeat;
  filter: invert(38%) sepia(53%) saturate(808%) hue-rotate(99deg) brightness(89%) contrast(94%) drop-shadow(0 0 .3px #17824a);
  transition: transform .14s ease;
}
.page-home .btn-primary,
.page-home .btn-dark,
.page-home .btn-white,
.btn-external { gap: .7em; }
.page-home .hero-cta .btn-primary::after,
.page-home .service-btn::after,
.page-home .btn-primary:hover::after,
.page-home .btn-dark::after,
.btn-external.btn-external--inverse::after,
.btn-external.btn-primary:hover::after,
.btn-external.btn-dark::after { filter: brightness(0) invert(1) drop-shadow(0 0 .3px #fff); }
.page-home .btn-primary:hover::after,
.page-home .btn-dark:hover::after,
.page-home .btn-white:hover::after,
.btn-external:hover::after { transform: none; }
.page-home .purpose-actions .btn-primary::after {
  filter: invert(38%) sepia(53%) saturate(808%) hue-rotate(99deg) brightness(89%) contrast(94%) drop-shadow(0 0 .5px #17824a);
}
.page-home .purpose-actions .btn-primary:hover::after {
  filter: brightness(0) invert(1) drop-shadow(0 0 .5px #fff);
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223,229,235,.8);
}
.header-tagline {
  color: var(--ink);
}
.header-tagline p {
  margin: 0;
  padding: 2px 0 6px;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: .02em;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 78px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 900; }
.logo:hover { text-decoration: none; }
.logo-mark {
  display: inline-block;
  width: 42px; height: 42px;
  border-radius: 8px;
  background: url("../logo-mark-transparent.webp") center / cover no-repeat;
}
.logo-text { font-size: 24px; letter-spacing: 0; }
.header-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 34px;
  min-width: 0;
}
.header-nav > .header-link[data-analytics="material_click"] + .header-contact,
.header-nav > .header-documents + .header-contact { margin-left: -16px; }
.header-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
}
.header-toggle span { display: block; height: 2px; margin: 4px 0; background: var(--ink); border-radius: 999px; }
.header-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.header-menu-button,
.header-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px 0;
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
  white-space: nowrap;
}
.header-menu-button::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.header-menu-button:hover,
.header-link:hover,
.header-menu:focus-within .header-menu-button,
.header-menu:hover .header-menu-button {
  color: var(--link);
  text-decoration: none;
}
.header-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 60;
  display: grid;
  gap: 2px;
  min-width: 230px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 14px 34px rgba(18,34,51,.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .14s ease, transform .14s ease;
}
.header-dropdown::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.header-menu:hover .header-dropdown,
.header-menu:focus-within .header-dropdown,
.header-menu.is-open .header-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.header-dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  white-space: nowrap;
}
.header-dropdown a:hover,
.header-dropdown a:focus {
  background: var(--link-tint);
  color: var(--link);
  text-decoration: none;
}
.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  min-height: 46px;
  border-radius: 999px;
  border: 1.5px solid rgba(23,130,74,.28);
  background: #fff;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
}
.header-contact:hover { color: var(--brand); background: var(--brand-tint); text-decoration: none; }
.header-documents {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1.5px solid var(--ink-soft);
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}
.header-documents:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.site-header-caption-service .header-nav { gap: 34px; }
.site-header-caption-service .header-contact,
.site-header-caption-service .header-documents { flex: 0 0 136px; width: 136px; height: 46px; min-width: 0; padding: 0; box-sizing: border-box; }
.site-header-caption-service .header-documents { border-radius: 999px; }
.site-header-caption-service .header-documents + .header-contact { margin-left: -16px; }
.site-header-caption-service .header-documents--text { flex: 0 0 auto; width: auto; height: auto; min-height: 0; padding: 0; border: 0; border-radius: 0; color: var(--ink); font-weight: 700; }
.site-header-caption-service .header-documents--text:hover { background: transparent; color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  background: #fff;
  padding: 0 0 36px;
}
.hero .container {
  max-width: none;
  padding-inline: 0;
}
.hero-panel {
  position: relative;
  display: block;
  min-height: 560px;
  padding-block: clamp(48px, 5.5vw, 72px);
  padding-inline: max(32px, calc((100vw - var(--maxw)) / 2 + 32px));
  border-radius: 0;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}
.hero-visuals,
.hero-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-visual {
  opacity: 0;
  transition: opacity 1.2s ease;
  background-position: 0 0, center right;
  background-size: 100% 100%, cover;
  background-repeat: no-repeat;
}
.hero-visual-first {
  opacity: 1;
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 34%, rgba(255,255,255,.36) 62%, rgba(255,255,255,0) 100%),
    url("../teamlog-hero-final-draft.webp");
}
.hero-visual-second {
  background-position: right 48px center, center;
  background-size: min(52vw, 900px) auto, cover;
  background-image:
    url("../teamlog-hero-2-device.webp"),
    url("../teamlog-hero-2-bg-a.webp");
}
.hero-os-support {
  position: absolute;
  right: 48px;
  bottom: 24px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid rgba(36, 31, 29, .12);
  border-radius: 10px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 20px rgba(36, 31, 29, .12);
  color: var(--ink);
}
.hero-os-list { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; list-style: none; }
.hero-os-list li { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.hero-os-list svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
.hero-os-list li:nth-child(2) svg { fill: currentColor; stroke: none; }
.hero-os-list li:nth-child(3) svg { stroke-width: 1.45; }
.hero-os-note { position: absolute; right: 0; top: calc(100% + 5px); color: var(--ink-soft); font-size: 10px; line-height: 1.4; white-space: nowrap; }
.hero-panel.is-showing-second .hero-visual-first { opacity: 0; }
.hero-panel.is-showing-second .hero-visual-second { opacity: 1; }
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.03), rgba(0,0,0,0) 44%);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual { transition: none; }
}
.hero-copy,
.proof-media {
  position: relative;
  z-index: 1;
}
.hero-copy { max-width: 100%; }
.hero-kicker {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: clamp(13px, 1.25vw, 15px);
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.6;
}
.hero-title {
  font-size: clamp(30px, calc(4vw - 3px), 47px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: .02em;
  color: var(--ink);
  text-shadow:
    0 0 12px rgba(255, 255, 255, 1),
    0 0 28px rgba(255, 255, 255, .94),
    0 0 52px rgba(255, 255, 255, .78);
  max-width: none;
}
.hero-title span {
  display: block;
  white-space: nowrap;
}
.hero-sub {
  margin: 34px 0 48px;
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-soft);
  max-width: 26em;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 1),
    0 0 24px rgba(255, 255, 255, .9),
    0 0 38px rgba(255, 255, 255, .7);
}
.hero-cta .btn { font-size: 16px; }
.hero-cta { display: flex; gap: 34px; flex-wrap: wrap; align-items: center; }
.hero-text-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-shadow:
    0 0 10px rgba(255, 255, 255, 1),
    0 0 22px rgba(255, 255, 255, .88);
}
.hero-text-link:hover { color: var(--link); }

/* Proof media */
.proof-media {
  position: absolute;
  right: clamp(28px, 4.8vw, 54px);
  bottom: clamp(24px, 4vw, 42px);
  width: min(34vw, 392px);
  margin: 0;
}
.proof-placeholder {
  position: relative;
  min-height: 220px;
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  box-shadow: 0 24px 52px rgba(0,35,70,.22);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.75);
}
.proof-placeholder::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(23,130,74,.06), rgba(255,255,255,0));
  pointer-events: none;
}
.proof-badge {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  margin-bottom: 16px;
  color: var(--brand);
  background: #fff;
}
.demo-lines {
  display: grid;
  gap: 8px;
}
.demo-lines span {
  display: block;
  padding: 9px 11px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: #fff;
  font-size: 12.5px;
  line-height: 1.65;
  box-shadow: 0 1px 1px rgba(0,0,0,.02);
}
.demo-lines b {
  display: inline-block;
  margin-right: 8px;
  color: var(--brand);
}
.proof-media figcaption { margin-top: 10px; font-size: 12px; color: rgba(255,255,255,.78); line-height: 1.65; }

/* ============================================================
   Generic section
   ============================================================ */
.section { padding: clamp(50px, 7vw, 92px) 0; }
.section-head { margin-bottom: 34px; }
.section-head.center { text-align: center; }
.section-head.center .section-desc { margin-inline: auto; }
.section-title { font-size: clamp(24px, 3vw, 34px); font-weight: 900; letter-spacing: 0; }
.section-desc { margin: 20px 0 0; font-size: 18px; color: var(--ink-soft); max-width: 920px; }
.section-note { margin: 14px 0 0; font-size: 15.5px; color: var(--ink-mute); max-width: 920px; }
.section-eyebrow { font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: .1em; margin-bottom: 14px; }

.lead { font-size: clamp(18px, 2vw, 22px); font-weight: 500; line-height: 1.95; color: var(--ink); margin: 0; }

/* ============================================================
   Reasons
   ============================================================ */
.section-reasons-intro { background: #fff; border-bottom: 1px solid #f8eee8; }
.section-reasons-intro .section-head { margin-bottom: 24px; text-align: center; }
.section-reasons-intro .section-desc,
.section-reasons-intro .section-note {
  margin-left: auto;
  margin-right: auto;
}
.section-reasons-intro .section-desc { margin-top: 12px; }
.reason-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .95fr);
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  max-width: var(--maxw);
  margin-inline: auto;
}
.reason-intro-copy {
  text-align: left;
}
.reason-intro-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.95;
}
.reason-intro-copy p + p { margin-top: 16px; }
.reason-intro-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  background: #fff url("../teamlog-recognition-screen.png") center / contain no-repeat;
  box-shadow: var(--shadow-sm);
}
.home-reasons-intro .reason-intro-image {
  width: 92%;
  justify-self: end;
}
.home-reasons-intro-video {
  overflow: hidden;
  background: #fff;
}
.home-reasons-intro-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.reason-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.reason-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 34px 32px 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s ease, transform .15s ease;
}
.reason-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.reason-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.reason-icon {
  font-size: 12px;
  font-weight: 900;
  color: var(--brand);
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: var(--brand-tint);
  border-radius: 50%;
  flex: 0 0 auto;
  margin-bottom: 0;
}
.reason-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 18px;
  border-radius: 10px;
  background-color: var(--bg-soft);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72);
}
.reason-image-mix     { background-image: url("../strength-mix.webp"); }
.reason-image-speaker { background-image: url("../strength-speaker.webp"); }
.reason-image-share   { background-image: url("../strength-device.webp"); }
.reason-card h3 { font-size: 19px; font-weight: 900; margin: 0; }
.reason-card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; line-height: 1.85; }

/* Spec block (5th point, visually separated) */
.spec-block {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  margin-top: 34px;
}
.spec-title { font-size: 18px; font-weight: 900; margin-bottom: 22px; color: var(--ink); }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.spec-label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 900; color: var(--brand-dark); }
.spec-item p { margin: 10px 0 0; font-size: 14.5px; color: var(--ink-soft); line-height: 1.8; }
.spec-num { font-size: 32px; font-weight: 900; color: var(--brand); line-height: 1; }
.spec-word { font-size: 25px; }
.spec-unit { font-size: 16px; font-weight: 700; margin-left: 4px; }

/* ============================================================
   Purpose (Money Forward 風のクリーンなカード)
   ============================================================ */
.section-purpose {
  padding-top: 64px;
  padding-bottom: clamp(62px, 7vw, 96px);
  background: #fff;
}
.purpose-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: stretch; }
.purpose-card {
  display: flex;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.purpose-card:hover { color: var(--ink); text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.purpose-body { padding: 30px 26px 14px; flex: 0 0 auto; border-top: 0; }
.tint-blue { background: #fff0eb; border-color: #f2d1c7; }
.tint-green { background: #fff6e8; border-color: #f0debd; }
.tint-purple { background: #fbeef0; border-color: #ebcfd4; }
.tint-orange { background: #fff4df; border-color: #efd9ae; }
.tint-blue   .purpose-body { border-top-color: var(--c-blue); }
.tint-green  .purpose-body { border-top-color: var(--c-green); }
.tint-purple .purpose-body { border-top-color: var(--c-purple); }
.tint-orange .purpose-body { border-top-color: var(--c-orange); }

.purpose-name { font-size: 26px; font-weight: 900; margin-bottom: 14px; padding-left: 0; position: relative; line-height: 1.35; }
.purpose-name::before {
  content: "";
  display: block;
  position: static;
  width: 44px; height: 5px;
  border-radius: 999px;
  background: var(--c-blue);
  margin-bottom: 18px;
}
.tint-blue   .purpose-name::before { background: var(--c-blue); }
.tint-green  .purpose-name::before { background: var(--c-green); }
.tint-purple .purpose-name::before { background: var(--c-purple); }
.tint-orange .purpose-name::before { background: var(--c-orange); }

.purpose-lead { margin: 0; font-size: 16px; color: var(--ink); line-height: 1.85; }
.purpose-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0 0 22px;
  border-radius: 10px;
  background-color: var(--bg-soft);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7);
}
.purpose-image-accessibility { background-image: url("../purpose-hearing-support.webp"); }
.purpose-image-multilingual { background-image: url("../purpose-multilingual-v2.webp"); }
.purpose-image-captioning { background-image: url("../purpose-captioning-v2.webp"); }
.purpose-image-business { background-image: url("../purpose-business-v2.webp"); }
.purpose-case { margin: 0; font-size: 13px; color: var(--ink-soft); padding-top: 15px; border-top: 1px solid var(--line-soft); line-height: 1.7; }
.case-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 8px;
  margin-right: 8px;
  vertical-align: 1px;
}
.purpose-actions { padding: 0 26px 28px; display: flex; flex-direction: column; align-items: center; }
.purpose-example {
  margin: 0 0 22px;
  min-height: 3.2em;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}
.purpose-actions .btn {
  justify-content: center;
  width: auto;
  align-self: center;
  border-radius: 999px;
  min-height: 42px;
  padding: 9px 22px;
  background: #fff;
  color: var(--brand);
  border-color: rgba(23,130,74,.24);
  box-shadow: 0 8px 18px rgba(23,130,74,.12);
  font-size: 14.5px;
}
.purpose-actions .btn:hover { background: var(--brand); color: #fff; }
.purpose-card:hover .purpose-actions .btn,
.purpose-card:focus-visible .purpose-actions .btn {
  background: var(--brand);
  color: #fff;
}
.purpose-card:hover .purpose-actions .btn::after,
.purpose-card:focus-visible .purpose-actions .btn::after {
  filter: brightness(0) invert(1) drop-shadow(0 0 .5px #fff);
}
.purpose-more-wrap { display: flex; justify-content: flex-end; margin-top: 26px; }
.purpose-more-link { display: inline-flex; align-items: center; color: var(--link); font-size: 15px; font-weight: 700; }
.purpose-more-link::after { content: "→"; margin-left: .55em; }
.purpose-more-link:hover { color: var(--link-dark); text-decoration: none; }
.usage-type-nav { margin: 42px auto 0; text-align: center; }
.usage-type-nav h3 { margin: 0 0 14px; font-size: 21px; color: var(--ink); }
.usage-type-links { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }
.usage-type-links a { color: var(--link); font-size: 20px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.usage-type-links a:hover { color: var(--link-dark); }
.usage-type-links span { color: var(--ink-mute); }

.price-note { margin: 34px auto 0; max-width: 920px; text-align: center; font-size: 14.5px; color: var(--ink-mute); }
.strength-head { margin-top: 0; margin-bottom: 30px; }

/* ============================================================
   Service (字幕サービスの依頼)
   ============================================================ */
.section-service { background: #f6f8fa; }
.section-purpose .spec-block { margin-top: 34px; }
.service-box {
  display: grid;
  grid-template-columns: 1fr auto;
  column-gap: 28px;
  row-gap: 8px;
  align-items: end;
  background: linear-gradient(135deg, #fff4ee, #fff8e9);
  color: var(--ink);
  border: 0;
  border-radius: 12px;
  padding: clamp(36px, 5vw, 56px);
  text-align: left;
  box-shadow: 0 8px 20px rgba(35,70,95,.07);
}
.service-box-inline { margin-top: 48px; padding: clamp(24px, 4vw, 38px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: none; }
.service-btn { background: var(--brand); color: #fff; border-color: var(--brand); box-shadow: var(--shadow-blue); }
.service-btn:hover { background: var(--brand-dark); color: #fff; border-color: var(--brand-dark); }
.service-box .section-title { color: var(--ink); font-size: clamp(19px, 2.4vw, 25px); }
.service-box .section-title,
.service-body,
.service-note {
  grid-column: 1;
}
.service-body { margin: 8px 0 4px; color: var(--ink-soft); max-width: 58em; font-size: 16.5px; line-height: 1.6; }
.proof-link { color: inherit; text-decoration: underline; text-decoration-color: rgba(0, 104, 183, .35); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.proof-link:hover { color: var(--link); text-decoration-color: currentColor; }
.service-note { margin: 0; font-size: 15px; color: var(--ink-soft); }
.service-box .btn {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: end;
  white-space: nowrap;
}

/* ============================================================
   Cases
   ============================================================ */
.section-cases {
  background: #fff;
  border-top: 1px solid var(--line-soft);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(201,64,52,.24);
}
.case-image-link {
  display: block;
  overflow: hidden;
}
.case-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform .2s ease;
}
.case-card:hover .case-image { transform: scale(1.03); }
.case-body {
  padding: 20px 20px 22px;
}
.case-category {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--brand-tint);
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
}
.case-body h3 {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 8px;
}
.case-body p:not(.case-category) {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.75;
}
.case-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--link);
  font-size: 14.5px;
  font-weight: 900;
}
.case-link::after { content: "→"; }
.case-link:hover { text-decoration: none; color: var(--link-dark); }
.section-cases .case-more-wrap { display: flex; justify-content: flex-end; margin-top: clamp(38px, 4vw, 52px); }
.section-cases .case-more-link { display: inline-flex; align-items: center; color: var(--link); font-size: 14px; font-weight: 700; line-height: 1.5; }
.section-cases .case-more-link::after { content: "→"; margin-left: .55em; }
.section-cases .case-more-link:hover { color: var(--link-dark); text-decoration: none; }

/* ============================================================
   Videos
   ============================================================ */
.section-videos {
  background: #fff;
}
.section-videos .container { max-width: 1600px; }
.video-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.video-slider.is-scrollable .video-grid {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.video-slider.is-scrollable .video-grid::-webkit-scrollbar { display: none; }
.video-slider.is-scrollable .video-card { scroll-snap-align: start; }
.video-slider-controls { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.video-slider-control { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; color: var(--brand); font-size: 20px; line-height: 1; background: #fff; border: 1px solid var(--line); border-radius: 50%; cursor: pointer; }
.video-slider-control:hover:not(:disabled) { background: var(--brand-tint); border-color: rgba(0, 104, 183, .35); }
.video-slider-control:disabled { color: var(--ink-mute); cursor: default; opacity: .55; }
.video-card { margin: 0; }
.video-thumb {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease;
}
.video-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.video-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  display: grid;
  place-items: center;
  transition: background .15s ease, transform .15s ease;
}
.video-thumb:hover .video-play { background: var(--brand); }
.video-play::before {
  content: "";
  width: 0; height: 0;
  margin-left: 4px;
  border-style: solid;
  border-width: 11px 0 11px 18px;
  border-color: transparent transparent transparent #fff;
}
.video-caption {
  margin: 14px 0 0;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}
.video-desc {
  margin: 6px auto 0;
  max-width: 30em;
  text-align: center;
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-soft);
}

/* Lightbox */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.video-lightbox[hidden] { display: none; }
.video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 20, .82);
}
.video-lightbox-inner {
  position: relative;
  z-index: 1;
  width: min(1000px, 100%);
}
.focus-guard {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}
.video-lightbox-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.video-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-lightbox-close {
  position: absolute;
  top: -14px; right: -14px;
  z-index: 2;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: #fff;
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .35);
}
.video-lightbox-close:hover { background: var(--brand); color: #fff; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.section-faq {
  background: #fff;
  border-top: 1px solid var(--line-soft);
}
.section-faq .container { max-width: var(--maxw); }
.faq-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--link);
  font-size: 14.5px;
  font-weight: 900;
}
.faq-more::after { content: "→"; }
.faq-more:hover { color: var(--link-dark); text-decoration: none; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 54px 22px 24px;
  font-weight: 700;
  font-size: 16px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 24px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; font-weight: 400; color: var(--brand);
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-directory-page .faq-item summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  font-size: 0;
}
.faq-directory-page .faq-item[open] summary::after {
  content: "";
  transform: translateY(-30%) rotate(225deg);
}
.faq-answer { padding: 0 24px 24px; }
.faq-answer p { margin: 0; color: var(--ink-soft); font-size: 16px; }

/* ============================================================
   Final CTA
   ============================================================ */
.section-final-cta { background: #f6f8fa; border-top: 1px solid var(--line-soft); }
.final-cta-container { max-width: 980px; }
.final-cta-box { text-align: center; padding: clamp(38px, 5vw, 60px); border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.final-cta-box .section-title { margin: 0; font-size: clamp(19px, 2.4vw, 27px); }
.final-cta-box p { max-width: 46em; margin: 14px auto 0; color: var(--ink-soft); }
.final-cta-links { display: flex; justify-content: center; gap: 8px; max-width: 640px; margin: 28px auto 0; flex-wrap: wrap; }
.final-cta-link { display: flex; flex: 0 1 140px; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; color: var(--ink); font-size: 14px; font-weight: 800; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); transition: border-color .2s ease, background .2s ease, color .2s ease; white-space: nowrap; }
.final-cta-link:hover { color: var(--link); text-decoration: none; background: var(--link-tint); border-color: rgba(0, 104, 183, .35); }
.final-cta-consult { display: inline-block; margin-top: 20px; color: var(--link); font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.final-cta-consult:hover { color: var(--link-dark); }
.final-cta-actions { display: flex; justify-content: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.btn-outline { background: #fff; color: var(--brand); border-color: rgba(23,130,74,.28); }
.btn-outline:hover { background: var(--brand-tint); color: var(--brand); }

/* ============================================================
   Scenes
   ============================================================ */
.section-scenes {
  background: #f6f8fa;
  border-top: 1px solid var(--line-soft);
}
.scene-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.scene-tags a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 78px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease, background .14s ease, color .14s ease;
}
.scene-tags a:hover {
  text-decoration: none;
  transform: translateY(-2px);
  background: #fff;
  border-color: rgba(0,104,183,.34);
  color: var(--link);
  box-shadow: var(--shadow);
}
.scene-icon {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--link-tint);
  color: var(--link);
  flex: 0 0 auto;
  position: relative;
}
.scene-icon::before {
  content: "";
  width: 19px;
  height: 19px;
  display: block;
  background: currentColor;
  mask: var(--icon) center / contain no-repeat;
  -webkit-mask: var(--icon) center / contain no-repeat;
}
.scene-icon-talk { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 10a4 4 0 1 1 8 0v1a4 4 0 1 1-8 0v-1Zm3 8.9A8 8 0 0 1 4 11h2a6 6 0 0 0 12 0h2a8 8 0 0 1-7 7.9V22h-2v-3.1Z'/%3E%3C/svg%3E"); }
.scene-icon-board { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 4h18v12H3V4Zm2 2v8h14V6H5Zm3 12h8l2 3h-2.4l-.7-1H9.1l-.7 1H6l2-3Z'/%3E%3C/svg%3E"); }
.scene-icon-screen { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 5h18v12H3V5Zm2 2v8h14V7H5Zm5 12h4v2h-4v-2Z'/%3E%3C/svg%3E"); }
.scene-icon-school { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 3 10 5-10 5L2 8l10-5Zm-6 9 2 1v4c0 1.7 3 3 4 3s4-1.3 4-3v-4l2-1v5c0 2.8-4.2 5-6 5s-6-2.2-6-5v-5Z'/%3E%3C/svg%3E"); }
.scene-icon-library { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 4h5a3 3 0 0 1 3 3v13a3 3 0 0 0-3-3H4V4Zm11 0h5v13h-5a3 3 0 0 0-3 3V7a3 3 0 0 1 3-3ZM6 6v9h3c.4 0 .7.1 1 .2V7a1 1 0 0 0-1-1H6Zm9 0a1 1 0 0 0-1 1v8.2c.3-.1.6-.2 1-.2h3V6h-3Z'/%3E%3C/svg%3E"); }
.scene-icon-training { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16v14H4V5Zm2 2v10h12V7H6Zm2 2h8v2H8V9Zm0 4h5v2H8v-2Z'/%3E%3C/svg%3E"); }
.scene-icon-window { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16v14H4V5Zm2 2v10h12V7H6Zm2 3h8v2H8v-2Zm0 4h5v2H8v-2Z'/%3E%3C/svg%3E"); }
.scene-icon-desk { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16v5H4V5Zm1 7h14l1 7h-2l-.3-2H6.3L6 19H4l1-7Zm1.6 3h10.8l-.2-1H6.8l-.2 1Z'/%3E%3C/svg%3E"); }
.scene-icon-meeting { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 11a3 3 0 1 1 0-6 3 3 0 0 1 0 6Zm10 0a3 3 0 1 1 0-6 3 3 0 0 1 0 6ZM2 19c.4-3.5 2.4-6 5-6s4.6 2.5 5 6H2Zm10 0c.4-3.5 2.4-6 5-6s4.6 2.5 5 6H12Z'/%3E%3C/svg%3E"); }
.scene-icon-chat { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 5h16v10H8l-4 4V5Zm2 2v7.2L7.2 13H18V7H6Z'/%3E%3C/svg%3E"); }
.scene-icon-note { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 3h9l3 3v15H6V3Zm2 2v14h8V8h-3V5H8Zm2 6h4v2h-4v-2Zm0 4h4v2h-4v-2Z'/%3E%3C/svg%3E"); }
.scene-icon-heart { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 21S4 16.2 4 9.8A4.8 4.8 0 0 1 12 6a4.8 4.8 0 0 1 8 3.8C20 16.2 12 21 12 21Z'/%3E%3C/svg%3E"); }
.scene-icon-report { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 3h14v18H5V3Zm2 2v14h10V5H7Zm2 3h6v2H9V8Zm0 4h6v2H9v-2Zm0 4h4v2H9v-2Z'/%3E%3C/svg%3E"); }
.scene-icon-stage { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 6h16v10H4V6Zm2 2v6h12V8H6Zm-2 10h16v2H4v-2Z'/%3E%3C/svg%3E"); }
.scene-icon-globe { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2a10 10 0 1 1 0 20 10 10 0 0 1 0-20Zm0 2c-.8 1-1.5 2.4-1.8 4h3.6C13.5 6.4 12.8 5 12 4Zm-4 4c.2-1 .5-1.9.9-2.8A8 8 0 0 0 5.3 8H8Zm8 0h2.7a8 8 0 0 0-3.6-2.8c.4.9.7 1.8.9 2.8Zm-6.2 2a13 13 0 0 0 0 4h4.4a13 13 0 0 0 0-4H9.8ZM5 10a8.4 8.4 0 0 0 0 4h2.8a15 15 0 0 1 0-4H5Zm11.2 0a15 15 0 0 1 0 4H19a8.4 8.4 0 0 0 0-4h-2.8Zm-6 6c.3 1.6 1 3 1.8 4 .8-1 1.5-2.4 1.8-4h-3.6Zm-4.9 0a8 8 0 0 0 3.6 2.8A12 12 0 0 1 8 16H5.3Zm10.7 0c-.2 1-.5 1.9-.9 2.8a8 8 0 0 0 3.6-2.8H16Z'/%3E%3C/svg%3E"); }
.scene-icon-ear { --icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 3a7 7 0 0 1 7 7h-2a5 5 0 1 0-10 0H5a7 7 0 0 1 7-7Zm0 4a3 3 0 0 1 3 3c0 2-1.5 3-2.8 4-.8.6-1.2 1.1-1.2 2a3 3 0 0 0 5.5 1.7l1.7 1a5 5 0 0 1-9.2-2.7c0-1.9 1.1-2.9 2-3.6 1.2-.9 2-1.5 2-2.4a1 1 0 0 0-2 0H9a3 3 0 0 1 3-3Z'/%3E%3C/svg%3E"); }

/* ============================================================
   News
   ============================================================ */
.section-news {
  background: #fff;
  border-top: 1px solid var(--line-soft);
}
.news-layout {
  display: grid;
  grid-template-columns: minmax(180px, .28fr) 1fr;
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}
.news-head {
  margin-bottom: 0;
}
.news-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  color: var(--link);
  font-size: 14.5px;
  font-weight: 900;
}
.news-more::after { content: "→"; }
.news-more:hover { text-decoration: none; color: var(--link-dark); }
.news-list {
  border-top: 1px solid var(--line);
}
.news-item {
  display: grid;
  grid-template-columns: 110px 96px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.news-item time {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
}
.news-label {
  display: inline-flex;
  justify-content: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 900;
}
.news-item a {
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
}
.news-item a:hover {
  color: var(--link);
  text-decoration: none;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: #f6f8fa; color: var(--ink-soft); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr 2.6fr; gap: 48px; padding-top: 66px; padding-bottom: 50px; }
.logo-footer .logo-text { color: var(--ink); }
.footer-tagline { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-soft); line-height: 1.85; max-width: 22em; }
.footer-provider { margin: 10px 0 0; font-size: 13px; color: var(--ink-soft); line-height: 1.7; }
.footer-cols { display: grid; grid-template-columns: .9fr .9fr .9fr 1.35fr; gap: 28px; }
.footer-heading { font-size: 13px; font-weight: 900; color: var(--ink); letter-spacing: .04em; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--ink-soft); font-size: 14px; }
.footer-col a:hover { color: var(--link); }
.footer-bottom { border-top: 1px solid var(--line); padding: 22px 0; }
.copyright { margin: 0; font-size: 12.5px; color: var(--ink-mute); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-panel { min-height: 0; }
  .proof-media { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .reason-intro { grid-template-columns: 1fr; }
  .reason-grid { grid-template-columns: repeat(2, 1fr); }
  .purpose-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .video-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .video-slider.is-scrollable .video-grid { grid-auto-columns: calc((100% - 16px) / 2); max-width: none; }
  .video-lightbox-close { top: 8px; right: 8px; }
  .case-body { padding: 16px; }
  .case-body h3 { font-size: 16px; }
  .case-body p:not(.case-category) { font-size: 13.5px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .news-layout { grid-template-columns: 1fr; }
  .scene-tags { grid-template-columns: repeat(3, 1fr); }
  .header-inner {
    height: auto;
    min-height: 78px;
    padding-top: 12px;
    padding-bottom: 12px;
    align-items: flex-start;
  }
  .header-nav {
    flex-wrap: wrap;
    row-gap: 4px;
    column-gap: 18px;
  }
  .header-dropdown {
    left: auto;
    right: 0;
    transform: translate(0, 8px);
  }
  .header-menu:hover .header-dropdown,
  .header-menu:focus-within .header-dropdown {
    transform: translate(0, 0);
  }
}
@media (max-width: 680px) {
  body { font-size: 15.5px; }
  .home-reasons-intro .container { padding-inline: 20px; }
  .reason-grid { grid-template-columns: 1fr; }
  .purpose-grid { grid-template-columns: 1fr; }
  .case-grid { grid-template-columns: 1fr; }
  .video-slider.is-scrollable .video-grid { grid-auto-columns: 100%; }
  .news-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 0;
  }
  .news-label {
    justify-self: start;
  }
  .spec-grid { grid-template-columns: 1fr; gap: 24px; }
  .scene-tags { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .scene-tags a { min-height: 68px; padding: 14px; font-size: 14px; }
  .scene-icon { width: 34px; height: 34px; }
  .hero-panel { display: flex; flex-direction: column; padding: 0; }
  .hero-copy { order: 1; width: 100%; max-width: none; padding: 34px 20px 28px; background: #fff; }
  .hero-visuals { position: relative; inset: auto; order: 2; width: 100%; height: clamp(230px, 65vw, 330px); }
  .hero-visual-second {
    background-position: center right, center;
    background-size: min(108vw, 560px) auto, cover;
  }
  .hero-os-support { right: 16px; bottom: 16px; gap: 7px; padding: 7px 9px; }
  .hero-os-list { gap: 7px; }
  .hero-os-list li { gap: 3px; font-size: 10px; }
  .hero-os-list svg { width: 15px; height: 15px; }
  .hero-os-note { max-width: 210px; font-size: 9px; white-space: normal; text-align: right; }
  .hero-title { font-size: 30px; }
  .hero-title span {
    display: block;
    white-space: normal;
  }
  .hero-cta { display: flex; width: 100%; flex-direction: column; align-items: center; gap: 12px; }
  .hero-cta .btn-lg { width: 100%; }
  .hero-text-link { display: inline-flex; min-height: auto; }
  .header-inner { position: relative; display: flex; height: 64px; min-height: 64px; padding-top: 0; padding-bottom: 0; align-items: center; }
  .header-tagline p { padding: 2px 0 5px; font-size: 11px; letter-spacing: 0; }
  .header-toggle { display: block; margin-left: auto; }
  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 70;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: rgba(255,255,255,.99);
    border: 1px solid var(--line);
    border-top: 0;
    box-shadow: 0 14px 28px rgba(18,34,51,.12);
  }
  .header-nav.is-open { display: flex; }
  .header-menu { display: block; }
  .header-menu-button,
  .header-link,
  .header-contact,
  .header-documents {
    width: 100%;
    min-height: 0;
    padding: 13px 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    text-align: left;
  }
  .header-contact, .header-documents { justify-content: flex-start; }
  .site-header-caption-service .header-documents--text { width: auto; min-height: 0; padding: 9px 0; border: 0; border-radius: 0; }
  .site-header-purpose .header-nav-purpose {
    position: static;
    display: flex;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .site-header-purpose .header-nav-purpose .header-link,
  .site-header-purpose .header-nav-purpose .header-contact {
    width: auto;
    padding: 9px 0;
    border: 0;
    text-align: right;
  }
  .site-header-purpose .header-nav-purpose .header-contact { padding: 9px 12px; }
  .header-dropdown {
    position: static;
    display: none;
    min-width: 0;
    margin: 0;
    padding: 4px 0 8px 12px;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition: none;
  }
  .header-menu:focus-within .header-dropdown,
  .header-menu.is-open .header-dropdown { display: grid; }
  .logo-text { font-size: 20px; }
  .hero { padding-top: 0; }
  .hero-panel {
    min-height: 0;
    border-radius: 0;
  }
  .purpose-name { font-size: 23px; }
  .service-box { grid-template-columns: 1fr; }
  .service-box .section-title,
  .service-body,
  .service-note,
  .service-box .btn {
    grid-column: 1;
    grid-row: auto;
  }
  .service-box .btn { justify-self: start; }
  .service-box-inline .btn { justify-self: center; }
}
/* ヘッダーはモバイルメニューのまま、ヒーローだけは少し狭くなるまでPC配置を維持する */
@media (min-width: 601px) and (max-width: 680px) {
  .hero-panel {
    display: block;
    padding-block: clamp(48px, 5.5vw, 72px);
    padding-inline: max(32px, calc((100vw - var(--maxw)) / 2 + 32px));
  }
  .hero-copy {
    order: initial;
    width: auto;
    max-width: 100%;
    padding: 0;
    background: transparent;
  }
  .hero-visuals {
    position: absolute;
    inset: 0;
    order: initial;
    width: auto;
    height: auto;
  }
  .hero-visual-second {
    background-position: right center, center;
    background-size: min(52vw, 900px) auto, cover;
  }
  .hero-title { font-size: clamp(30px, calc(4vw - 3px), 47px); }
  .hero-title span { white-space: nowrap; }
  .hero-sub { max-width: 16em; }
  .hero-cta { width: auto; }
  .hero-cta .btn-lg { width: auto; }
  .hero-text-link { display: inline-flex; }
}
/* 中間幅ではコピーの左余白を急に最小値へ落とさず、なだらかに縮める */
@media (min-width: 681px) and (max-width: 1200px) {
  .hero-panel {
    padding-inline-start: clamp(32px, calc(7.7vw - 20px), 72px);
  }
  .hero-sub {
    max-width: clamp(16em, calc(34.6vw + 2.1em), 24em);
  }
}
@media (max-width: 420px) {
  .final-cta-link { flex-basis: calc(50% - 4px); }
  .footer-cols { grid-template-columns: 1fr; }
  .scene-tags { grid-template-columns: 1fr; }
}


/* Shared heading for regular (non-purpose) pages */
.legal-hero { background: linear-gradient(135deg, #eaf5fb 0%, #fff 72%); border-bottom: 1px solid var(--line-soft); padding: 56px 0 48px; }
.legal-hero .container.narrow { position: relative; max-width: var(--maxw-page); }
.breadcrumb { display: none; }
.review-banner { position: relative; z-index: 100; margin: 0; padding: 10px 20px; background: #243426; color: #fff; text-align: center; font-size: 14px; font-weight: 700; }
.breadcrumb a { color: var(--ink-soft); }
.legal-hero h1 { color: var(--ink); font-size: clamp(28px, 3vw, 36px); letter-spacing: -.02em; }
.legal-hero p { max-width: 720px; margin: 14px 0 0; color: var(--ink-soft); font-size: 16px; }
.language-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.legal-hero-tools { position: absolute; top: 4px; right: 32px; }
.legal-hero .language-switch { display: block; margin: 0; }
.legal-hero .language-switch a { display: inline; min-height: 0; padding: 0; border: 0; border-radius: 0; color: var(--ink-soft); font-size: 14px; font-weight: 400; }
.legal-hero .language-switch a:hover { color: var(--link); text-decoration: underline; }
.legal-hero .language-switch a[aria-current="page"] { display: none; }
.language-switch a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); font-size: 14px; font-weight: 700; }
.language-switch a[aria-current="page"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.language-switch a:hover { text-decoration: none; border-color: var(--link); color: var(--link); }
.language-switch a[aria-current="page"]:hover { color: #fff; }

/* Placeholder subpages */
.placeholder-page { min-height: 44vh; background: #fff; }
.placeholder-main { padding: clamp(54px, 8vw, 92px) 0; }
/* Draft subpages share the top page's content width. Legal content remains intentionally narrow. */
.placeholder-page .container.narrow,
.placeholder-page .legal-hero .container.narrow,
.placeholder-main .narrow { max-width: var(--maxw-page); }
.placeholder-main p { max-width: 920px; margin: 0; color: var(--ink-soft); }
.placeholder-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn-outline { color: var(--brand); background: #fff; border: 1px solid rgba(23,130,74,.35); }

/* Documents */
.documents-page, .material-page { background: #fff; }
.documents-main { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 116px); }
.documents-intro { max-width: 720px; margin: 0 auto 38px; text-align: center; }
.documents-intro h2 { margin: 0; font-size: clamp(20px, 2.4vw, 24px); font-weight: 700; line-height: 1.65; color: var(--ink); }
.documents-intro p { margin: 0; color: var(--ink-soft); }
.documents-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 0 auto; }
.document-card { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; color: var(--ink); text-decoration: none; border: 1px solid var(--document-line); border-radius: 14px; background: var(--document-tint); box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease; }
.document-card:hover { color: var(--ink); text-decoration: none; transform: translateY(-3px); box-shadow: var(--shadow); }
.document-card-body { padding: 38px 36px 34px; }
.document-card h3 { margin: 0 0 20px; font-size: 23px; line-height: 1.45; }
.document-card h3::after { content: ""; display: block; width: 100%; height: 1px; margin-top: 15px; background: var(--document-accent); opacity: .55; }
.document-card-body > p:last-child { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.8; }
.document-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: auto; padding: 24px 36px 28px; border-top: 1px solid var(--document-line); background: rgba(255,255,255,.58); }
.document-status { color: var(--ink-soft); font-size: 13px; font-weight: 700; }
.document-download { flex: 0 0 auto; min-height: 44px; padding: 10px 20px; background: var(--brand); color: #fff; box-shadow: var(--shadow-blue); font-size: 14px; }
.document-card:hover .document-download { background: var(--brand-dark); color: #fff; }
.material-back { color: var(--document-accent, var(--link)); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.document-card-blue, .material-page-blue { --document-tint: #fff0eb; --document-line: #f2d1c7; --document-accent: var(--c-blue); }
.document-card-green, .material-page-green { --document-tint: #fff6e8; --document-line: #f0debd; --document-accent: var(--c-green); }
.document-card-purple, .material-page-purple { --document-tint: #fbeef0; --document-line: #ebcfd4; --document-accent: var(--c-purple); }
.document-card-orange, .material-page-orange { --document-tint: #fff4df; --document-line: #efd9ae; --document-accent: var(--c-orange); }
.material-main { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 9vw, 116px); background: #fff; }
.material-detail-shell { max-width: 1100px; }
.material-detail-grid { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(290px, .82fr); gap: clamp(34px, 6vw, 76px); align-items: start; max-width: 1030px; margin: 0 auto; }
.material-content { min-width: 0; }
.material-visual-gallery { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(120px, .72fr); gap: 16px; }
.material-visual-gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.material-visual-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.material-visual-main { aspect-ratio: 1.48 / 1; }
.material-visual-stack { display: grid; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 16px; }
.material-visual-stack figure { min-height: 0; }
.material-lead { max-width: 38em; margin: 30px 0 0; color: var(--ink); font-size: 16px; font-weight: 400; line-height: 1.9; }
.material-outline { margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--line); }
.material-outline h2, .material-download-sidebar h2 { margin: 0; color: var(--ink); font-size: 19px; }
.material-outline ul { display: grid; gap: 13px; margin: 20px 0 0; padding: 0; list-style: none; }
.material-outline li { position: relative; padding-left: 1.25em; color: var(--ink-soft); line-height: 1.75; }
.material-outline li::before { content: "✓"; position: absolute; top: 0; left: 0; color: var(--document-accent); font-size: .9em; font-weight: 900; }
.material-download-sidebar { position: sticky; top: 104px; padding: clamp(28px, 4vw, 40px); border-radius: 4px; background: #f5f6f7; }
.material-download-sidebar .material-category { margin: 0 0 20px; color: var(--document-accent); }
.material-download-sidebar p:not(.material-category) { margin: 16px 0 28px; color: var(--ink-soft); line-height: 1.85; }
.material-download-disabled { min-width: 160px; color: var(--ink-mute); border-color: var(--line); background: #eef1f4; box-shadow: none; cursor: default; }
.material-download-disabled:hover { transform: none; color: var(--ink-mute); background: #eef1f4; }
.material-notice { max-width: 680px; margin: 0 auto; padding: clamp(32px, 6vw, 52px); text-align: center; border: 1px solid var(--document-line); border-radius: 14px; background: rgba(255,255,255,.82); box-shadow: var(--shadow-sm); }
.material-category { margin: 0 0 16px; color: var(--document-accent); font-size: 14px; font-weight: 700; }
.material-notice h2 { margin: 0 0 14px; color: var(--ink); font-size: clamp(25px, 3vw, 32px); }
.material-notice > p:not(.material-category) { margin: 0; color: var(--ink-soft); line-height: 1.85; }
.material-back { display: inline-block; margin-top: 30px; }
.btn-outline:hover { color: var(--brand-dark); background: var(--brand-tint); text-decoration: none; }
@media (max-width: 680px) {
  .legal-hero { padding: 48px 0 42px; }
  .legal-hero-tools { position: static; margin: 14px 0 0; }
  .placeholder-actions .btn { width: 100%; }
  .documents-grid { grid-template-columns: 1fr; gap: 18px; }
  .document-card-body { padding: 30px 28px 28px; }
  .document-card-footer { padding: 20px 28px 24px; }
  .document-card h3 { font-size: 21px; }
  .material-detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .material-download-sidebar { position: static; }
  .material-notice { padding: 32px 24px; }
}



