/* SmartPlate hub — v10 (テック調 · 余白 · 画像見切れ防止) */

:root {
  --bg: #f4f6f9;
  --surface: #ffffff;
  --text: #0f172a;
  --text-mid: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --primary: #1e3a8a;
  --primary-dark: #1a2744;
  --liquid-blue: #2563a8;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --accent-soft: #eff6ff;
  --visit: #ea580c;
  --grant: #0d9488;
  --tint: #f1f5f9;
  --shadow: 0 4px 20px rgb(15 23 42 / 6%);
  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic UI", "Meiryo", sans-serif;
  --header-h: 64px;
  --wrap: min(1080px, calc(100% - 2rem));
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 400;
  padding: 0.5rem 1rem;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius);
  text-decoration: none;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

main [id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Header — Liquid型 白背景 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgb(15 23 42 / 4%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}

.brand-logo {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 1px;
}

.nav-toggle-bars {
  position: relative;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-toggle-bars::before {
  top: -6px;
}

.nav-toggle-bars::after {
  top: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a:not(.btn) {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
}

.site-nav a:not(.btn):hover {
  color: var(--liquid-blue);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.btn-lg {
  padding: 0.85rem 1.5rem;
  font-size: 0.9375rem;
}

.btn-sm {
  padding: 0.45rem 0.85rem;
}

.btn-primary {
  color: #fff;
  background: var(--liquid-blue);
}

.btn-primary:hover {
  background: #004a96;
}

.btn-ghost {
  color: var(--text-mid);
  background: transparent;
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  color: var(--liquid-blue);
  border-color: var(--liquid-blue);
}

.btn-accent {
  color: var(--primary-dark);
  background: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: #fff;
}

.btn-outline-light {
  color: #fff;
  background: transparent;
  border-color: rgb(255 255 255 / 35%);
}

.btn-outline-light:hover {
  background: rgb(255 255 255 / 8%);
}

/* Hero */
.hero {
  position: relative;
  min-height: min(82vh, 680px);
  display: flex;
  align-items: center;
  padding: 3.5rem 0 4rem;
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
}

.hero-bg-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgb(15 23 42 / 94%) 0%,
    rgb(15 23 42 / 82%) 32%,
    rgb(15 23 42 / 40%) 55%,
    rgb(15 23 42 / 12%) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
}

.hero-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgb(255 255 255 / 65%);
}

.hero h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4.5vw, 2.625rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.hero-nowrap {
  white-space: nowrap;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  line-height: 1.75;
  color: rgb(255 255 255 / 88%);
}

.hero-lead strong {
  font-weight: 600;
  color: #fff;
}

.hero-cta {
  box-shadow: 0 4px 20px rgb(0 0 0 / 25%);
}

/* Trust band — Liquid型 信頼帯（事例名チップ） */
.trust-band {
  padding: 2.25rem 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.trust-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.trust-lead {
  margin: 0 0 0.5rem;
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  font-weight: 700;
  line-height: 1.55;
  color: var(--liquid-blue);
}

.trust-sub {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.trust-chips li {
  padding: 0.45rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--accent-soft);
  border: 1px solid #dbeafe;
  border-radius: 999px;
}

/* サービスカテゴリ */
.service-category {
  margin-bottom: 3rem;
}

.service-category--aux {
  margin-bottom: 0;
}

.service-category-head {
  margin-bottom: 1.5rem;
}

.service-category-title {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.service-category-desc {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Liquid型 セクション見出し */
.section-head--liquid {
  margin-bottom: 2.25rem;
}

.section-head-en {
  margin: 0;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--liquid-blue);
}

.section-head-ja {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.section-bracket {
  position: relative;
  display: inline-block;
  padding: 0.35rem 1.25rem;
}

.section-bracket::before,
.section-bracket::after {
  content: "";
  position: absolute;
  width: 0.75rem;
  height: 0.75rem;
  border: 1px solid var(--liquid-blue);
}

.section-bracket::before {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.section-bracket::after {
  right: 0;
  bottom: 0;
  border-top: 0;
  border-left: 0;
}

.section-bracket--light::before,
.section-bracket--light::after {
  border-color: rgb(255 255 255 / 70%);
}

/* Routes / Portal */
.section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.section--routes,
.section--services {
  background: var(--bg);
}

.section--aux {
  padding: 2rem 0 2.5rem;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.section-desc--left {
  margin-inline: 0;
  max-width: 36em;
  text-align: left;
}

.section-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.service-block + .service-block {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

.service-block-title {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text);
}

/* ピックアップ（PKB 主要サービス型 — 横長・説明多め） */
.pickup-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pickup-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pickup-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgb(15 23 42 / 9%);
  border-color: #94a3b8;
}

.pickup-card--ticket:hover {
  border-color: #93c5fd;
}

.pickup-card--rinx:hover {
  border-color: #a5b4fc;
}

.pickup-card--stamp-rally:hover {
  border-color: #f9a8d4;
}

.pickup-card--soon {
  cursor: default;
  opacity: 0.88;
}

.pickup-card--soon:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--border);
}

.pickup-card--soon.pickup-card--rinx:hover {
  border-color: #c7d2fe;
}

.soon-badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.45rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #4338ca;
  background: #eef2ff;
  border-radius: 999px;
  vertical-align: middle;
}

.footer-service-soon {
  color: rgb(255 255 255 / 45%);
  cursor: default;
}

.pickup-media {
  flex-shrink: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e8f0;
}

.pickup-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pickup-body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem 1.35rem 1.35rem;
  border-top: 3px solid transparent;
}

.pickup-card--ticket .pickup-body {
  border-top-color: var(--primary);
}

.pickup-card--rinx .pickup-body {
  border-top-color: #6366f1;
}

.pickup-card--stamp-rally .pickup-body {
  border-top-color: #db2777;
}

.pickup-situation {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-dark);
}

.pickup-headline {
  margin: 0;
  font-size: clamp(1.0625rem, 2vw, 1.1875rem);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.pickup-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-mid);
}

.pickup-meta {
  margin: 0.15rem 0 0;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.pickup-name {
  margin: 0.5rem 0 0;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-mid);
}

/* コンパクト（店舗・施設 — ASP 型） */
.compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.compact-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.compact-card:hover {
  border-color: #94a3b8;
  box-shadow: 0 8px 24px rgb(15 23 42 / 7%);
}

.compact-card--visit:hover {
  border-color: #fdba74;
}

.compact-card--cloud:hover {
  border-color: #fcd34d;
}

.compact-media {
  flex-shrink: 0;
  width: 5.5rem;
  background: #e2e8f0;
}

.compact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compact-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid transparent;
}

.compact-card--visit .compact-body {
  border-left-color: var(--visit);
}

.compact-card--cloud .compact-body {
  border-left-color: var(--accent);
}

.compact-situation {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.compact-headline {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.compact-desc {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.compact-name {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-mid);
}

.service-lane + .service-lane {
  margin-top: 2rem;
}

.service-lane-title {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section--cases {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--bg);
}

.section-head {
  margin-bottom: 2rem;
}

.section-head--center {
  text-align: center;
}

.section-title {
  margin: 0;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-title--sm {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.section-desc {
  margin: 0.5rem auto 0;
  max-width: 28em;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.portal-grid--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portal-grid > li {
  min-width: 0;
}

.portal-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.portal-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 32px rgb(15 23 42 / 10%);
}

.portal-card--soon {
  cursor: default;
  opacity: 0.92;
}

.portal-card--soon:hover {
  background: var(--surface);
}

.portal-card--visit:hover {
  border-color: #fdba74;
}

.portal-card--ticket:hover {
  border-color: #93c5fd;
}

.portal-card--grant:hover {
  border-color: #5eead4;
}

.portal-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--tint);
}

.portal-media--tint {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(165deg, #f8fafc 0%, var(--tint) 100%);
  border-bottom: 1px solid var(--border);
}

.portal-media--tint img {
  flex: 0 1 auto;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.portal-media:not(.portal-media--tint) img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.portal-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

.portal-headline {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.portal-meta {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-mid);
}

.portal-label {
  display: inline-block;
  margin-right: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.portal-value {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.portal-theme {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.portal-more {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--liquid-blue);
}

.portal-card--stamp-rally:hover {
  border-color: #f9a8d4;
}

.ext-mark {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.routes-more {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.routes-more a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 関連ツール・情報（メイン世界観の外） */
.aux-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.aux-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  height: 100%;
  padding: 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.aux-card:hover {
  border-color: #94a3b8;
  background: #f8fafc;
  box-shadow: 0 6px 18px rgb(15 23 42 / 6%);
}

.aux-card--grant:hover {
  border-color: #5eead4;
}

.aux-card--nfc:hover {
  border-color: #fdba74;
}

.aux-media {
  flex-shrink: 0;
  width: 4.75rem;
  background: #e2e8f0;
}

.aux-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aux-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid transparent;
}

.aux-card--grant .aux-card-text {
  border-left-color: var(--grant);
}

.aux-card--nfc .aux-card-text {
  border-left-color: var(--visit);
}

.aux-card--topic .aux-card-text {
  border-left-color: var(--primary, #1e3a8a);
}

.aux-card-text--wide {
  padding: 1rem 1.125rem;
}

.section--topic {
  padding: 0;
  background: var(--surface);
  border-block: 1px solid var(--border);
}

.topic-split {
  display: grid;
  grid-template-columns: minmax(11rem, 18rem) minmax(0, 1fr);
  min-height: 16rem;
  margin-inline: calc((100% - var(--wrap)) / 2);
  max-width: var(--wrap);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.topic-split-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  color: #fff;
  background: linear-gradient(160deg, #2a4a7a 0%, var(--primary-dark) 100%);
}

.topic-split-en {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgb(255 255 255 / 92%);
}

.topic-split-ja {
  margin: 0;
}

.topic-split-body {
  padding: 2rem clamp(1rem, 4vw, 2.5rem);
}

.topic-split-lead {
  margin: 0 0 1.25rem;
  max-width: 40em;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-mid);
}

.topic-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.topic-row {
  display: grid;
  grid-template-columns: minmax(7rem, 9rem) minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease;
}

.topic-row:hover {
  background: var(--bg);
}

.topic-row-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.topic-row-title {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.topic-row-arrow {
  color: var(--liquid-blue);
  font-weight: 700;
}

.topic-more {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
}

.topic-more .text-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.topic-more .text-link:hover {
  text-decoration: underline;
}

.aux-card-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.aux-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.aux-card-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.footer-services-sep {
  color: rgb(255 255 255 / 28%);
  user-select: none;
}

/* Cases — Liquid型 写真グリッド */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.case-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgb(120 53 15 / 10%);
}

.case-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #f5ebe3;
}

.case-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.125rem 1.125rem;
  border-top: 1px solid var(--border);
}

.case-card-service {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--liquid-blue);
}

.case-card-title {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text);
}

/* Contact — Liquid型 分割 CTA */
.contact-split {
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.contact-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
  min-height: 14rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 2rem;
  background: var(--surface);
}

.contact-copy h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--liquid-blue);
}

.contact-copy p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.contact-actions {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.contact-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1.5rem 1rem;
  color: #fff;
  text-decoration: none;
  transition: filter 0.15s ease;
}

.contact-action:hover {
  filter: brightness(1.06);
}

.contact-action--download {
  background: #123f73;
}

.contact-action--inquiry {
  background: var(--primary-dark);
}

.contact-action-en {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact-action-ja {
  font-size: 0.8125rem;
  font-weight: 500;
  opacity: 0.88;
}

/* Footer */
.site-footer {
  padding: 2rem 0 2.25rem;
  background: #070d18;
  color: rgb(255 255 255 / 65%);
}

.footer-services {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
}

.footer-services a {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgb(255 255 255 / 78%);
  text-decoration: none;
}

.footer-services a:hover {
  color: #fff;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-company {
  margin: 0;
  font-size: 0.75rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-legal a {
  font-size: 0.75rem;
  color: rgb(255 255 255 / 55%);
  text-decoration: none;
}

.footer-legal a:hover {
  color: #fff;
}

.footer-copy {
  font-size: 0.6875rem;
  color: rgb(255 255 255 / 40%);
}

@media (min-width: 769px) {
  .pickup-card {
    flex-direction: row;
    align-items: stretch;
  }

  .pickup-media {
    width: min(42%, 22rem);
    aspect-ratio: auto;
    min-height: 12rem;
  }

  .pickup-body {
    flex: 1;
    justify-content: center;
    border-top: 0;
    border-left: 3px solid transparent;
  }

  .pickup-card--ticket .pickup-body {
    border-left-color: var(--primary);
  }

  .pickup-card--rinx .pickup-body {
    border-left-color: #6366f1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 24px rgb(15 23 42 / 8%);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a:not(.btn) {
    padding: 0.875rem 0.75rem;
    border-bottom: 1px solid var(--border);
  }

  .site-nav .btn {
    margin: 0.5rem 0.25rem;
  }

  .trust-band-inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .portal-grid,
  .portal-grid--pair {
    grid-template-columns: 1fr;
  }

  .case-grid {
    grid-template-columns: 1fr;
  }

  .topic-split {
    grid-template-columns: 1fr;
  }

  .topic-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .contact-split-grid {
    grid-template-columns: 1fr;
  }

  .contact-copy {
    padding-right: 0;
    padding-bottom: 0;
  }

  .contact-actions {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .aux-list {
    grid-template-columns: 1fr;
  }

  .aux-card {
    flex-direction: column;
  }

  .aux-media {
    width: 100%;
    aspect-ratio: 16 / 7;
  }

  .aux-card-text {
    border-left: 0;
    border-top: 3px solid transparent;
  }

  .aux-card--grant .aux-card-text {
    border-top-color: var(--grant);
  }

  .aux-card--nfc .aux-card-text {
    border-top-color: var(--visit);
  }

  .compact-grid {
    grid-template-columns: 1fr;
  }

  .compact-card {
    flex-direction: column;
  }

  .compact-media {
    width: 100%;
    aspect-ratio: 16 / 7;
  }

  .compact-body {
    border-left: 0;
    border-top: 3px solid transparent;
  }

  .compact-card--visit .compact-body {
    border-top-color: var(--visit);
  }

  .compact-card--cloud .compact-body {
    border-top-color: var(--accent);
  }

  .hero {
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-bg-shade {
    background: linear-gradient(180deg, rgb(15 23 42 / 88%) 0%, rgb(15 23 42 / 75%) 100%);
  }
}

@media (max-width: 900px) {
  .portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .contact-actions {
    grid-template-columns: 1fr;
  }
}
