/*
Theme Name: Mirai Obake
Theme URI: https://miraiobake.jp/
Author: Mirai Obake Project
Description: Corporate and gallery theme for the Mirai Obake Project.
Version: 0.1.0
Text Domain: mirai-obake
*/

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #172536;
  --muted: #5d6b78;
  --line: #d8e6f0;
  --green: #4698d0;
  --blue: #2d6f9f;
  --coral: #e56c5b;
  --yellow: #ffd654;
  --dark: #162334;
  --pale: #eef8ff;
  --soft-green: #f5fbff;
  --brand-rgb: 70, 152, 208;
  --card-radius: 8px;
  --panel-radius: 14px;
  --shadow: 0 20px 70px rgba(22, 35, 52, 0.09);
  --deep-shadow: 0 26px 80px rgba(22, 35, 52, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 4%, rgba(var(--brand-rgb), 0.13), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(255, 214, 84, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.96)),
    url("assets/mirai-obake-surface-pattern.svg");
  background-attachment: fixed;
  background-position: center top;
  background-size: cover, cover, cover, 960px 540px;
  color: var(--ink);
  font-family: "Noto Sans JP", system-ui, sans-serif;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

html.auth-locked body {
  overflow: hidden;
}

html.auth-locked .skip-link,
html.auth-locked .scroll-progress,
html.auth-locked .site-header,
html.auth-locked main,
html.auth-locked .site-footer,
html.auth-locked .back-to-top {
  visibility: hidden;
  pointer-events: none;
}

::selection {
  background: rgba(242, 198, 66, 0.38);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(var(--brand-rgb), 0.45);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
  transform: translateY(-140%);
}

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

.scroll-progress {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: var(--scroll-progress, 0%);
  height: 4px;
  background: var(--yellow);
}

.site-lock {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: none;
  min-height: 100vh;
  place-items: center;
  padding: 28px;
  background:
    radial-gradient(circle at 18% 12%, rgba(var(--brand-rgb), 0.18), transparent 30%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(238, 248, 255, 0.9)),
    url("assets/mirai-obake-surface-pattern.svg");
  background-position: center;
  background-size: cover, 900px 506px;
}

html.auth-locked .site-lock {
  display: grid;
}

.site-lock-panel {
  width: min(100%, 480px);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--deep-shadow);
}

.site-lock-mark {
  display: block;
  width: 86px;
  height: 86px;
  margin-bottom: 20px;
  border-radius: 18px;
  box-shadow: 0 16px 34px rgba(var(--brand-rgb), 0.2);
  object-fit: cover;
}

.site-lock h1 {
  margin: 6px 0 14px;
  color: var(--ink);
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.25;
}

.site-lock p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.site-lock-form {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.site-lock-form label {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.site-lock-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

.site-lock-form input {
  min-width: 0;
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.site-lock-form input:focus {
  border-color: rgba(var(--brand-rgb), 0.62);
  outline: 3px solid rgba(var(--brand-rgb), 0.18);
}

.site-lock-form button {
  height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.site-lock-error {
  color: var(--coral) !important;
  font-size: 13px;
  font-weight: 800;
}

.site-lock small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 0 36px;
  border-bottom: 1px solid rgba(216, 230, 240, 0.78);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 34px rgba(22, 35, 52, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  font-weight: 800;
}

.brand span:last-child {
  max-width: 260px;
  line-height: 1.35;
}

.brand-logo {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(var(--brand-rgb), 0.2);
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.site-nav a:hover {
  background: var(--pale);
  color: var(--ink);
}

.site-nav a.active {
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--green);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--green);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(var(--brand-rgb), 0.26);
}

.nav-toggle {
  display: none;
}

.section-shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 64px 48px 58px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--panel-radius);
  background:
    linear-gradient(135deg, rgba(245, 251, 255, 0.95), rgba(255, 255, 255, 0.9));
  box-shadow: var(--shadow);
}

.hero::before {
  position: absolute;
  z-index: 1;
  top: 24px;
  right: 24px;
  width: min(320px, 32vw);
  height: min(220px, 28vw);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  opacity: 0.28;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.hero-copy::before {
  display: block;
  width: 84px;
  height: 6px;
  margin-bottom: 24px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  content: "";
}

.hero-brand-signal {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 8px;
  margin-bottom: 22px;
  border: 1px solid rgba(var(--brand-rgb), 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(22, 35, 52, 0.08);
}

.hero-brand-signal img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  object-fit: cover;
}

.hero-brand-signal span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 600px;
  margin-bottom: 22px;
  font-size: clamp(38px, 3.4vw, 50px);
  line-height: 1.22;
  text-wrap: balance;
}

h1 span {
  display: inline-block;
  white-space: nowrap;
}

.hero h1 {
  max-width: 560px;
  font-weight: 800;
  line-height: 1.18;
}

.hero h1 .hero-line {
  display: block;
  white-space: normal;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.2;
  text-wrap: balance;
}

h3 {
  line-height: 1.35;
}

.lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0 18px;
}

.hero-actions .button {
  min-width: 190px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  transition: box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.button:hover {
  box-shadow: 0 14px 30px rgba(31, 30, 27, 0.14);
  transform: translateY(-1px);
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.secondary {
  background: var(--yellow);
  color: var(--ink);
}

.target-tags {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  max-width: none;
}

.target-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 560px;
  margin: 18px 0 0;
}

.hero-metrics div {
  min-height: 72px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: rgba(255, 255, 255, 0.78);
}

.hero-metrics strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  line-height: 1;
}

.hero-metrics strong.counted {
  animation: number-pop 420ms ease;
}

.hero-metrics span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  pointer-events: none;
}

.hero-visual::before {
  content: none;
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: inherit;
  background: var(--pale);
  box-shadow: none;
}

.hero-photo::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(245, 251, 255, 0.9) 42%, rgba(245, 251, 255, 0.44) 70%, rgba(22, 35, 52, 0.18) 100%),
    linear-gradient(180deg, rgba(var(--brand-rgb), 0.08) 0%, rgba(22, 35, 52, 0.06) 54%, rgba(22, 35, 52, 0.4) 100%);
  content: "";
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.obake-face,
.obake-illustration {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 48% 52% 42% 46%;
  background: var(--pale);
}

.obake-face::before,
.obake-face::after,
.obake-illustration::before,
.obake-illustration::after {
  position: absolute;
  top: 34%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.obake-face::before,
.obake-illustration::before {
  left: 32%;
}

.obake-face::after,
.obake-illustration::after {
  right: 32%;
}

.obake-green {
  box-shadow: inset 0 -22px 0 rgba(var(--brand-rgb), 0.22);
}

.obake-blue {
  box-shadow: inset 0 -22px 0 rgba(45, 111, 159, 0.2);
}

.obake-coral {
  box-shadow: inset 0 -22px 0 rgba(219, 88, 73, 0.22);
}

.obake-yellow {
  box-shadow: inset 0 -22px 0 rgba(255, 214, 84, 0.32);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-heading h2 {
  position: relative;
  padding-bottom: 16px;
}

.section-heading h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 56px;
  height: 4px;
  border-radius: 999px;
  background: var(--yellow);
  content: "";
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.section-heading.narrow {
  max-width: 680px;
}

.section-heading.center {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading.center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.about-copy p:not(.eyebrow) {
  max-width: 780px;
  margin-right: auto;
  margin-left: auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.82;
}

.about-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.about-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.about-diagram {
  margin-top: 44px;
  padding: 44px 38px 38px;
  border: 0;
  border-radius: var(--panel-radius);
  background: linear-gradient(135deg, rgba(226, 240, 232, 0.9), rgba(255, 255, 255, 0.96));
  box-shadow: none;
}

.about-diagram .concept-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 38px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.about-diagram .concept-flow article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-content: start;
  min-height: 306px;
  padding: 34px 24px 28px;
  border-radius: var(--card-radius);
  background: #fff;
  cursor: default;
  text-align: center;
  box-shadow: 0 14px 40px rgba(var(--brand-rgb), 0.08);
}

.about-diagram .concept-flow article:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -27px;
  z-index: 2;
  display: grid;
  width: 22px;
  height: 36px;
  place-items: center;
  background: transparent;
  color: var(--green);
  content: "▶";
  font-size: 24px;
  transform: translateY(-50%);
}

.about-diagram .concept-flow article + article {
  border-top: 0;
  border-left: 0;
}

.about-diagram .concept-flow span {
  grid-column: auto;
  display: inline-grid;
  width: 58px;
  height: 58px;
  place-items: center;
  justify-content: center;
  justify-self: center;
  margin: -66px 0 6px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
}

.about-diagram .concept-flow article:nth-child(2) span {
  background: var(--green);
}

.about-diagram .concept-flow article:nth-child(3) span {
  background: var(--yellow);
  color: var(--ink);
}

.about-diagram .concept-flow article:nth-child(4) span {
  background: var(--dark);
}

.about-diagram .concept-flow h3 {
  grid-column: auto;
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.about-diagram .concept-flow p {
  grid-column: auto;
  max-width: none;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.85;
}

.flow-icon {
  position: relative;
  display: block;
  width: 76px;
  height: 76px;
  justify-self: center;
  border-radius: 50%;
  background: var(--soft-green);
}

/* SVGアイコン版(4ステップ) */
.flow-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e9f2fb;
}
.flow-ic svg {
  width: 42px;
  height: 42px;
}

.flow-icon::before,
.flow-icon::after {
  position: absolute;
  content: "";
}

.flow-icon-view::before {
  top: 24px;
  left: 20px;
  width: 36px;
  height: 24px;
  border: 4px solid var(--green);
  border-radius: 18px 18px 4px 4px;
}

.flow-icon-view::after {
  top: 31px;
  left: 31px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
}

.flow-icon-obake::before {
  top: 18px;
  left: 22px;
  width: 32px;
  height: 40px;
  border-radius: 48% 52% 36% 36%;
  background: #fff;
  box-shadow: inset 0 -8px 0 rgba(var(--brand-rgb), 0.18);
}

.flow-icon-obake::after {
  top: 34px;
  left: 33px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 11px 0 0 var(--ink);
}

.flow-icon-dialogue::before {
  top: 22px;
  left: 16px;
  width: 44px;
  height: 30px;
  border-radius: 18px;
  background: #fff;
}

.flow-icon-dialogue::after {
  right: 19px;
  bottom: 19px;
  width: 16px;
  height: 16px;
  border-radius: 2px 0 14px 0;
  background: #fff;
}

.flow-icon-output::before {
  top: 18px;
  left: 24px;
  width: 30px;
  height: 40px;
  border-radius: 5px;
  background: #fff;
}

.flow-icon-output::after {
  top: 28px;
  left: 31px;
  width: 16px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 10px 0 var(--line), 0 20px 0 var(--line);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.8fr);
  gap: 42px;
  align-items: start;
  margin-bottom: 28px;
}

.about-lead {
  color: var(--ink) !important;
  font-size: clamp(22px, 3vw, 30px) !important;
  font-weight: 800;
  line-height: 1.65 !important;
}

.about-definition {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
}

.about-definition p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.9;
}

.about-definition p:last-child {
  margin-bottom: 0;
  color: var(--green);
  font-weight: 800;
}

.obake-examples {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}

.obake-examples article {
  padding: 28px;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
}

.obake-examples article:nth-child(2) {
  background: var(--green);
}

.obake-examples span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.obake-examples h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.obake-examples p {
  margin-bottom: 0;
  color: var(--pale);
  line-height: 1.8;
}

.meaning-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.meaning-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.meaning-grid h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.meaning-grid p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.concept-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 32px 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.concept-flow article {
  position: relative;
  min-height: 210px;
  padding: 26px 22px;
  cursor: pointer;
  transition: background 180ms ease, box-shadow 180ms ease;
}

.concept-flow article:focus-visible {
  outline: 3px solid rgba(var(--brand-rgb), 0.35);
  outline-offset: -3px;
}

.concept-flow article.active {
  background: var(--soft-green);
  box-shadow: inset 0 4px 0 var(--green);
}

.concept-flow article + article {
  border-left: 1px solid var(--line);
}

.concept-flow article:not(:last-child)::after {
  position: absolute;
  top: 28px;
  right: -13px;
  z-index: 2;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  content: "→";
  font-size: 13px;
  font-weight: 800;
}

.concept-flow span {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.concept-flow h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.concept-flow p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.75;
}

.concept-caption {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: -10px 0 32px;
  padding: 24px 28px;
  border-radius: 12px;
  background: var(--pale);
}

.concept-caption h3 {
  margin-bottom: 0;
  color: var(--green);
  font-size: 22px;
}

.concept-caption p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.85;
}

.section-heading.compact {
  margin-bottom: 24px;
}

.gallery,
.award-proof,
.overview,
.about,
.principles,
.message,
.services,
.usage,
.themes,
.deliverables,
.plans,
.schedule,
.checklist,
.care,
.cases,
.audience,
.outcomes,
.voices,
.process,
.local-cases,
.record,
.trust,
.profile,
.faq,
.next-action,
.final-cta,
.news-contact,
.contact-form-section {
  padding: 76px 0;
}

.gallery-carousel {
  position: relative;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.gallery-filters button {
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.gallery-filters button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.gallery-filters button:hover,
.news-filters button:hover,
.audience-tabs button:hover {
  border-color: rgba(var(--brand-rgb), 0.4);
  color: var(--green);
  transform: translateY(-1px);
}

.gallery-filters button.active:hover,
.news-filters button.active:hover,
.audience-tabs button.active:hover {
  color: #fff;
}

.overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  padding: 50px 0 64px;
}

.overview article {
  display: grid;
  gap: 20px;
  align-content: start;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.overview-number {
  display: inline-grid;
  width: 54px;
  height: 54px;
  place-items: center;
  justify-self: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
}

.overview-step-connect .overview-number {
  background: var(--blue);
}

.overview-step-output .overview-number {
  background: var(--yellow);
  color: var(--ink);
}

.overview h2 {
  display: block;
  height: 108px;
  min-height: 0;
  margin: 0;
  color: var(--dark);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.46;
}

.overview h2 em {
  color: var(--green);
  font-style: normal;
}

.overview p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.85;
  text-align: left;
}

.award-proof {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  margin-top: -20px;
  border: 2px solid rgba(var(--brand-rgb), 0.32);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 211, 67, 0.18), rgba(255, 255, 255, 0.9) 42%),
    #fff;
  box-shadow: 0 18px 44px rgba(var(--brand-rgb), 0.15);
}

.award-proof::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--yellow), var(--blue));
  content: "";
}

.award-proof-label {
  display: inline-grid;
  width: fit-content;
  min-height: 28px;
  padding: 0 11px;
  margin: 0;
  place-items: center;
  border-radius: 999px;
  background: rgba(var(--brand-rgb), 0.12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
}

.award-proof-body {
  display: grid;
  gap: 4px;
}

.award-proof h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.45;
}

.award-proof p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
}

.award-proof-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(var(--brand-rgb), 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.award-proof-badge {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 0 12px 28px rgba(22, 35, 52, 0.14);
  text-align: center;
}

.award-proof-badge span,
.award-proof-badge strong {
  display: block;
  line-height: 1;
}

.award-proof-badge span {
  align-self: end;
  font-size: 11px;
  font-weight: 900;
}

.award-proof-badge strong {
  align-self: start;
  font-size: 16px;
  font-weight: 900;
}

.overview-visual {
  position: relative;
  overflow: hidden;
  min-height: 190px;
  border-radius: 8px;
  background: var(--soft-green);
}

/* 特徴イラスト(AI生成3枚)用 */
.overview-fig {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  min-height: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
}
.overview-fig img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.overview-visual-obake {
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 255, 255, 0.7) 0 12%, transparent 13%),
    linear-gradient(135deg, #f4f0df, #dceee5);
}

.overview-visual-obake span {
  position: absolute;
  display: block;
  border-radius: 48% 52% 42% 46%;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(31, 30, 27, 0.12);
}

.overview-visual-obake span::before,
.overview-visual-obake span::after {
  position: absolute;
  top: 38%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.overview-visual-obake span::before {
  left: 34%;
}

.overview-visual-obake span::after {
  right: 34%;
}

.overview-visual-obake span:nth-child(1) {
  bottom: 30px;
  left: 34px;
  width: 94px;
  height: 112px;
}

.overview-visual-obake span:nth-child(2) {
  top: 34px;
  right: 42px;
  width: 78px;
  height: 92px;
  background: #fff2c2;
}

.overview-visual-obake span:nth-child(3) {
  right: 104px;
  bottom: 28px;
  width: 62px;
  height: 72px;
  background: #eaf6ff;
}

.overview-visual-connect {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0 19%, transparent 20%),
    linear-gradient(135deg, #fff3c7, #dff1ff);
}

.overview-visual-connect::before,
.overview-visual-connect::after {
  position: absolute;
  width: 62%;
  height: 3px;
  background: rgba(255, 255, 255, 0.72);
  content: "";
}

.overview-visual-connect::before {
  transform: rotate(19deg);
}

.overview-visual-connect::after {
  transform: rotate(-19deg);
}

.overview-visual-connect span {
  position: absolute;
  z-index: 1;
  display: inline-grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 14px 30px rgba(31, 30, 27, 0.16);
}

.overview-visual-connect span:nth-child(1) {
  top: 24px;
  left: 30px;
}

.overview-visual-connect span:nth-child(2) {
  right: 32px;
  top: 26px;
  background: var(--green);
}

.overview-visual-connect span:nth-child(3) {
  bottom: 22px;
  left: 50%;
  background: var(--yellow);
  color: var(--ink);
  transform: translateX(-50%);
}

.overview-visual-output {
  background:
    radial-gradient(circle at 84% 18%, rgba(255, 255, 255, 0.55) 0 23%, transparent 24%),
    linear-gradient(135deg, #fff3c7, #dff1ff);
}

.overview-visual-output span {
  position: absolute;
  display: block;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 32px rgba(31, 30, 27, 0.14);
}

.overview-visual-output span:nth-child(1) {
  top: 28px;
  left: 42px;
  width: 92px;
  height: 128px;
}

.overview-visual-output span:nth-child(2) {
  top: 48px;
  left: 118px;
  width: 112px;
  height: 92px;
  background: #eaf6ff;
}

.overview-visual-output span:nth-child(3) {
  right: 36px;
  bottom: 28px;
  width: 92px;
  height: 58px;
  background: var(--dark);
}

.overview-visual-output span:nth-child(1)::before,
.overview-visual-output span:nth-child(2)::before {
  position: absolute;
  top: 18px;
  right: 18px;
  left: 18px;
  height: 5px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 18px 0 var(--line), 0 36px 0 var(--line);
  content: "";
}

.obake-track {
  display: grid;
  grid-auto-columns: minmax(260px, 320px);
  grid-auto-flow: column;
  gap: 18px;
  overflow-x: auto;
  padding: 6px 4px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.obake-track::-webkit-scrollbar {
  height: 8px;
}

.obake-track::-webkit-scrollbar-track {
  border-radius: 999px;
  background: var(--pale);
}

.obake-track::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--line);
}

.gallery-arrow {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px rgba(31, 30, 27, 0.12);
  color: var(--ink);
  cursor: pointer;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  transform: translateY(-50%);
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.gallery-arrow:hover {
  background: var(--green);
  color: #fff;
  transform: translateY(-50%) scale(1.04);
}

.gallery-arrow.prev {
  left: -22px;
}

.gallery-arrow.next {
  right: -22px;
}

.gallery-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.gallery-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--line);
  cursor: pointer;
}

.gallery-dots button.active {
  width: 28px;
  border-radius: 999px;
  background: var(--green);
}

.gallery-empty {
  padding: 28px;
  margin: 0;
  border: 1px dashed var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.obake-card {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.92)),
    url("assets/mirai-obake-surface-pattern.svg");
  background-position: center;
  background-size: cover, 520px 292px;
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
  scroll-snap-align: start;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.obake-card.selected {
  border-color: rgba(var(--brand-rgb), 0.65);
  box-shadow: 0 18px 48px rgba(var(--brand-rgb), 0.14);
}

.obake-card:hover,
.service-grid article:hover,
.case-card:hover,
.plan-grid article:hover,
.deliverable-grid article:hover,
.care-grid article:hover,
.record-highlights article:hover,
.voice-grid figure:hover {
  border-color: rgba(var(--brand-rgb), 0.35);
  box-shadow: 0 18px 46px rgba(31, 30, 27, 0.1);
  transform: translateY(-2px);
}

.obake-card.filtered-out {
  display: none;
}

.obake-card-link {
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.obake-card-link:hover h3 {
  color: var(--green);
}

.section-more {
  margin-top: 28px;
  text-align: center;
}

.timeline article h2 a,
.timeline article h3 a,
.news-list article h2 a,
.news-list article h3 a {
  color: inherit;
  text-decoration: none;
}

.timeline article h2 a:hover,
.timeline article h3 a:hover,
.news-list article h2 a:hover,
.news-list article h3 a:hover {
  color: var(--green);
}

/* News listing + single detail (news / activity) */
.post-detail {
  max-width: 760px;
}

.post-detail-image {
  margin: 0 0 28px;
  border-radius: var(--card-radius);
  overflow: hidden;
}

.post-detail-image img {
  display: block;
  width: 100%;
  height: auto;
}

.post-detail-body {
  color: var(--ink);
  font-size: 16px;
  line-height: 2;
}

.post-detail-body p {
  margin: 0 0 1.4em;
}

.post-detail .section-more {
  text-align: left;
}

.news-archive .news-list {
  display: block;
  grid-template-columns: none;
  max-width: 760px;
  margin: 0 auto;
}

.pagination {
  margin-top: 32px;
  text-align: center;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 12px;
  margin: 0 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.pagination .page-numbers.current {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.obake-illustration {
  width: 100%;
  height: 118px;
  margin-bottom: 18px;
  overflow: hidden;
  background-color: #ffffff;
  transition: transform 220ms ease;
}

.obake-illustration::marker {
  display: none;
}

.obake-card:hover .obake-illustration {
  transform: translateY(-4px) rotate(-1deg);
}

.number {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.obake-card h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.obake-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.text-link {
  display: inline-flex;
  margin-top: 28px;
  color: var(--green);
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.steps article {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(31, 30, 27, 0.05);
}

.steps span {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-weight: 800;
}

.steps article:nth-child(2) span {
  background: var(--coral);
}

.steps article:nth-child(3) span {
  background: var(--blue);
}

.steps article:nth-child(4) span {
  background: var(--yellow);
  color: var(--ink);
}

.steps p,
.service-grid p,
.timeline p {
  color: var(--muted);
  line-height: 1.75;
}

.message-band {
  margin-top: 34px;
  padding: 36px 40px;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  line-height: 1.55;
  box-shadow: 0 18px 50px rgba(31, 30, 27, 0.14);
}

.principles {
  padding-top: 46px;
}

.principle-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.principle-layout article {
  padding: 32px 28px;
  border-top: 5px solid var(--green);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
}

.principle-layout article:nth-child(2) {
  border-top-color: var(--coral);
}

.principle-layout article:nth-child(3) {
  border-top-color: var(--blue);
}

.principle-layout span {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.principle-layout article:nth-child(2) span {
  color: var(--coral);
}

.principle-layout article:nth-child(3) span {
  color: var(--yellow);
}

.principle-layout h3 {
  margin-bottom: 14px;
  font-size: 24px;
}

.principle-layout p {
  color: var(--muted);
  line-height: 1.8;
}

.message {
  padding-top: 44px;
}

.message-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(0, 0.56fr);
  gap: 48px;
  padding: 46px;
  border-radius: var(--panel-radius);
  background: var(--dark);
  color: #fff;
}

.message-layout .eyebrow {
  color: var(--yellow);
}

.message-layout h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
}

.message-copy p {
  color: var(--pale);
  font-size: 17px;
  line-height: 2;
}

.message-copy p:last-child {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.service-visual-grid {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 30px;
}

.service-grid article,
.structure,
.timeline,
.news-list article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: var(--surface);
}

.service-grid article {
  padding: 26px;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.service-grid article {
  display: flex;
  flex-direction: column;
}

.service-summary-grid article,
.usage-card-grid article {
  position: relative;
  overflow: hidden;
  display: block;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.86)),
    url("assets/mirai-obake-surface-pattern.svg");
  background-position: center;
  background-size: cover, 520px 292px;
}

/* 活用カード: 上部に実写写真 */
.usage-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
  border-radius: 8px;
  overflow: hidden;
  background: #f3f8fd;
}
.usage-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.service-summary-grid article::before,
.usage-card-grid article::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: var(--green);
  content: "";
}

.service-summary-grid article:nth-child(2)::before,
.usage-card-grid article:nth-child(2)::before {
  background: var(--coral);
}

.service-summary-grid article:nth-child(3)::before,
.usage-card-grid article:nth-child(3)::before {
  background: var(--yellow);
}

.service-summary-grid h3,
.usage-card-grid h3 {
  margin: 2px 0 8px;
  font-size: 20px;
}

.service-summary-grid p,
.usage-card-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.service-visual-grid .service-card {
  position: relative;
  display: grid;
  min-height: 196px;
  align-items: center;
  overflow: hidden;
  padding: 28px;
  border: 0;
  border-radius: 12px;
  background-image:
    linear-gradient(180deg, rgba(31, 30, 27, 0.18), rgba(31, 30, 27, 0.64)),
    url("assets/mirai-obake-hero-photo-v1.jpg");
  background-position: center;
  background-size: cover;
  color: #fff;
  text-align: center;
  box-shadow: 0 16px 42px rgba(31, 30, 27, 0.13);
}

.service-visual-grid .service-card::before {
  position: absolute;
  inset: 0;
  background: rgba(31, 30, 27, 0.14);
  content: "";
}

.service-visual-grid .service-card > * {
  position: relative;
  z-index: 1;
}

.service-visual-grid .service-card div {
  display: grid;
  gap: 8px;
}

.service-visual-grid .service-card span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.service-visual-grid .service-card h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.2;
  text-shadow: 0 3px 16px rgba(31, 30, 27, 0.42);
}

.service-visual-grid .service-card p {
  max-width: 270px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.6;
  text-shadow: 0 2px 14px rgba(31, 30, 27, 0.4);
}

.service-visual-grid .service-card a {
  display: inline-flex;
  justify-self: center;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.service-visual-grid .service-card a::after {
  content: "›";
  font-size: 20px;
  line-height: 1;
}

.service-card-local {
  background-position: 48% center;
}

.service-card-company {
  background-position: 64% center;
}

.service-card-school {
  background-position: 76% center;
}

.service-card-gallery {
  background-position: 38% center;
}

.service-card-exhibition {
  background-position: 55% center;
}

.service-card-report {
  background-position: 86% center;
}

.service-grid article > p {
  color: var(--muted);
  line-height: 1.75;
}

.service-icon {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: var(--card-radius);
}

.service-icon::before,
.service-icon::after {
  position: absolute;
  content: "";
}

.service-icon::before {
  inset: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.service-icon::after {
  top: 21px;
  left: 17px;
  width: 14px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
  color: rgba(31, 30, 27, 0.38);
  box-shadow: 0 7px 0 currentColor;
}

.service-icon.green {
  background: var(--green);
}

.service-icon.coral {
  background: var(--coral);
}

.service-icon.yellow {
  background: var(--yellow);
}

.service-summary-grid .service-icon,
.usage-card-grid .service-icon {
  margin: 0;
  border-radius: var(--card-radius);
  box-shadow: inset -10px -10px 0 rgba(31, 30, 27, 0.08);
}

.service-meta {
  display: grid;
  gap: 12px;
  padding-top: 20px;
  margin: auto 0 0;
  border-top: 1px solid var(--line);
}

.service-meta div {
  display: grid;
  gap: 4px;
}

.service-meta dt {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.service-meta dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.structure {
  display: grid;
  gap: 34px;
  margin-top: 28px;
  padding: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.9)),
    url("assets/mirai-obake-surface-pattern.svg");
  background-position: center;
  background-size: cover, 720px 405px;
}

.structure h3 {
  margin-bottom: 12px;
  font-size: 28px;
}

.structure p {
  color: var(--muted);
  line-height: 1.8;
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
  counter-reset: flow;
}

.flow li {
  position: relative;
  display: grid;
  min-height: 78px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--card-radius);
  background: #fff;
  font-weight: 800;
}

.flow li:not(:last-child)::after {
  position: absolute;
  right: -14px;
  color: var(--line);
  content: "→";
}

.flow li:last-child {
  background: var(--dark);
  color: #fff;
}

.tools {
  margin: -12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.service-note {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) minmax(0, 1fr);
  gap: 26px;
  margin-top: 22px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.service-note h3 {
  margin: 0;
}

.service-note ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.service-note li {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--pale);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.section-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.usage-support {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  align-items: stretch;
}

.usage-panel {
  --usage-accent: var(--green);
  --usage-tile: var(--soft-green);
  overflow: hidden;
  border: 3px solid var(--usage-accent);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(var(--brand-rgb), 0.08);
}

.usage-panel-company {
  --usage-accent: var(--yellow);
  --usage-tile: #fff5d2;
}

.usage-panel h3 {
  margin: 0;
  padding: 18px 24px;
  background: var(--usage-accent);
  color: #fff;
  font-size: 28px;
  line-height: 1.2;
  text-align: center;
}

.usage-panel-company h3 {
  color: var(--ink);
}

.usage-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 30px 40px 34px;
}

.usage-feature-grid article {
  display: grid;
  min-height: 120px;
  place-items: center;
  gap: 10px;
  padding: 18px 12px;
  border-radius: 8px;
  background: var(--usage-tile);
  text-align: center;
}

.usage-feature-grid h4 {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.usage-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.usage-scenes {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding: 28px 32px;
  border: 1px solid rgba(var(--brand-rgb), 0.22);
  border-radius: var(--card-radius);
  background: var(--soft-green);
}

.usage-scenes h3 {
  margin: 0;
  font-size: 22px;
}

.usage-scenes div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.usage-scenes span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.usage-scenes p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.usage-icon {
  position: relative;
  display: block;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
}

.usage-icon::before,
.usage-icon::after {
  position: absolute;
  content: "";
}

.usage-icon-theme::before {
  top: 16px;
  left: 17px;
  width: 22px;
  height: 24px;
  border: 3px solid var(--usage-accent);
  border-radius: 5px;
}

.usage-icon-theme::after {
  top: 24px;
  left: 23px;
  width: 10px;
  height: 3px;
  border-radius: 999px;
  background: var(--usage-accent);
  box-shadow: 0 8px 0 var(--usage-accent);
}

.usage-icon-sheet::before {
  top: 14px;
  left: 20px;
  width: 18px;
  height: 28px;
  border-radius: 4px;
  background: var(--usage-accent);
}

.usage-icon-sheet::after {
  top: 21px;
  left: 25px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 7px 0 #fff, 0 14px 0 #fff;
}

.usage-icon-gallery::before {
  top: 16px;
  left: 14px;
  width: 28px;
  height: 24px;
  border: 3px solid var(--usage-accent);
  border-radius: 5px;
}

.usage-icon-gallery::after {
  right: 14px;
  bottom: 17px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
}

.usage-icon-exhibit::before {
  top: 17px;
  left: 13px;
  width: 30px;
  height: 22px;
  border-radius: 4px;
  background: var(--usage-accent);
}

.usage-icon-exhibit::after {
  top: 39px;
  left: 27px;
  width: 3px;
  height: 10px;
  background: var(--usage-accent);
}

.usage-icon-event::before {
  top: 15px;
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--usage-accent);
  box-shadow: 16px 0 0 var(--usage-accent), 8px 14px 0 var(--usage-accent);
}

.usage-icon-event::after {
  bottom: 14px;
  left: 12px;
  width: 32px;
  height: 12px;
  border-radius: 12px 12px 4px 4px;
  background: var(--usage-accent);
}

.usage-icon-report::before {
  top: 16px;
  left: 18px;
  width: 22px;
  height: 28px;
  border-radius: 4px;
  background: var(--usage-accent);
}

.usage-icon-report::after {
  top: 24px;
  left: 24px;
  width: 10px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 7px 0 #fff, 0 14px 0 #fff;
}

.usage-icon-partner::before {
  top: 16px;
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--usage-accent);
  box-shadow: 16px 0 0 var(--usage-accent);
}

.usage-icon-partner::after {
  bottom: 16px;
  left: 14px;
  width: 30px;
  height: 14px;
  border-radius: 14px;
  background: var(--usage-accent);
}

.usage-icon-pr::before {
  top: 18px;
  left: 16px;
  width: 28px;
  height: 20px;
  border-radius: 4px;
  background: var(--usage-accent);
}

.usage-icon-pr::after {
  top: 24px;
  left: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 12px 0 0 #fff;
}

.usage-icon-briefing::before {
  top: 17px;
  left: 14px;
  width: 28px;
  height: 22px;
  border: 3px solid var(--usage-accent);
  border-radius: 5px;
}

.usage-icon-briefing::after {
  top: 40px;
  left: 22px;
  width: 14px;
  height: 3px;
  border-radius: 999px;
  background: var(--usage-accent);
}

.usage-icon-review::before {
  top: 15px;
  left: 18px;
  width: 22px;
  height: 28px;
  border-radius: 5px;
  background: var(--usage-accent);
}

.usage-icon-review::after {
  top: 22px;
  left: 26px;
  width: 9px;
  height: 15px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
}

.themes {
  padding-top: 44px;
}

.theme-cloud {
  display: grid;
  grid-template-columns: repeat(6, minmax(118px, 1fr));
  gap: 14px;
}

.theme-cloud article {
  display: flex;
  min-height: 156px;
  flex-direction: column;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(22, 35, 52, 0.05);
}

.theme-cloud article:nth-child(2n) {
  background: #f5fbff;
}

.theme-cloud article:nth-child(3n) {
  background: #fff8dc;
}

.theme-cloud span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 17px;
  font-weight: 800;
}

/* テーマ別アイコン */
.theme-cloud .theme-ic {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: #e9f2fb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}
.theme-cloud .theme-ic svg {
  width: 24px;
  height: 24px;
}

.theme-cloud p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.theme-cloud small {
  display: block;
  padding-top: 16px;
  margin-top: auto;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.theme-note {
  max-width: 820px;
  margin-top: 22px;
  padding: 24px 28px;
  border: 1px solid rgba(var(--brand-rgb), 0.22);
  border-radius: 12px;
  background: rgba(226, 240, 232, 0.72);
}

.theme-note p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.85;
}

.info-index {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 34px 38px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.info-index h2 {
  margin-bottom: 0;
  font-size: clamp(26px, 3vw, 36px);
}

.info-index nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.info-index a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--pale);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.share-summary {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
  padding: 42px 0 12px;
}

.share-summary h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.share-summary > div:first-child p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.8;
}

.summary-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
}

.summary-card p {
  margin-bottom: 22px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.summary-copy,
.summary-download {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.summary-download {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green);
}

.summary-copy.copied {
  background: var(--dark);
}

.deliverables {
  padding-top: 44px;
}

.deliverable-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
}

.deliverable-grid article {
  display: flex;
  min-height: 246px;
  flex-direction: column;
  padding: 22px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
}

.deliverable-icon {
  position: relative;
  display: block;
  width: 54px;
  height: 64px;
  margin-bottom: 18px;
  border: 2px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

/* 成果物カード: 写真前面(アイコンも同サイズで統一) */
.del-media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0 0 16px;
  border-radius: 10px;
  overflow: hidden;
  background: #e9f2fb;
}
.del-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.del-media-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.del-media-icon svg {
  width: 48px;
  height: 48px;
}

.deliverable-icon::before,
.deliverable-icon::after {
  position: absolute;
  right: 14px;
  left: 14px;
  height: 3px;
  border-radius: 999px;
  background: var(--green);
  content: "";
}

.deliverable-icon::before {
  top: 18px;
}

.deliverable-icon::after {
  top: 31px;
  width: 26px;
}

.deliverable-icon.gallery-icon {
  border-radius: 16px;
  background: var(--soft-green);
}

.deliverable-icon.gallery-icon::before {
  top: 14px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
}

.deliverable-icon.gallery-icon::after {
  top: 40px;
  width: 32px;
  background: var(--coral);
}

.deliverable-icon.panel {
  width: 66px;
  border-radius: 4px;
  background: var(--pale);
}

.deliverable-icon.report::before {
  background: var(--blue);
}

.deliverable-icon.report::after {
  background: var(--yellow);
}

.deliverable-grid h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.deliverable-grid p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.deliverable-grid small {
  display: block;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

.scene-strip {
  padding-top: 44px;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 16px;
}

.scene-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
}

.scene-photo {
  min-height: 220px;
  background-image: linear-gradient(180deg, rgba(31, 30, 27, 0), rgba(31, 30, 27, 0.18)), var(--scene-image);
  background-size: cover;
  transition: transform 360ms ease, filter 360ms ease;
}

.scene-photo.observe {
  --scene-image: url("assets/activity-observe.jpg");
  background-position: 42% center;
}

.scene-photo.make {
  --scene-image: url("assets/activity-make.jpg");
  background-position: 50% center;
}

.scene-photo.share {
  --scene-image: url("assets/activity-share.jpg");
  background-position: 44% center;
}

.scene-grid article:hover .scene-photo {
  filter: saturate(1.05);
  transform: scale(1.025);
}

.scene-grid span {
  display: inline-block;
  padding: 18px 20px 0;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scene-grid h3,
.scene-grid p {
  padding-right: 20px;
  padding-left: 20px;
}

.scene-grid h3 {
  margin: 8px 0 10px;
  font-size: 20px;
}

.scene-grid p {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.scene-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.scene-flow article {
  padding: 24px 26px;
}

.scene-flow article + article {
  border-left: 1px solid var(--line);
}

.scene-flow strong {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-size: 15px;
}

.scene-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.75;
}

.info-index,
.share-summary,
#plans-detail,
.principles,
.message,
.schedule,
.checklist,
.care,
.cases,
.audience,
.outcomes,
.voices,
.process,
.trust,
.profile,
.faq,
.next-action,
.final-cta,
.contact-form-section {
  display: none;
}

.planning-compact {
  padding-top: 44px;
}

.planning-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.planning-cards article {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
}

.planning-cards article.featured {
  border-color: rgba(var(--brand-rgb), 0.45);
  background: var(--soft-green);
}

.planning-cards span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.planning-cards h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.planning-cards p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.8;
}

.planning-cards .plan-select {
  margin-top: auto;
}

.implementation-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.implementation-flow article {
  position: relative;
  min-height: 190px;
  padding: 28px 24px;
}

.implementation-flow article + article {
  border-left: 1px solid var(--line);
}

.implementation-flow span {
  display: inline-block;
  margin-bottom: 28px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.implementation-flow article:not(:last-child)::after {
  position: absolute;
  top: 32px;
  right: -13px;
  z-index: 2;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  content: "→";
  font-size: 14px;
  font-weight: 800;
}

.implementation-flow h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.implementation-flow p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.planning-details {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.planning-details details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.planning-details summary {
  cursor: pointer;
  padding: 18px 22px;
  color: var(--ink);
  font-weight: 800;
}

.planning-details p {
  padding: 0 22px 20px;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
}

.plans {
  padding-top: 44px;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.plan-grid article {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
}

.plan-grid .recommended-plan {
  border-color: rgba(var(--brand-rgb), 0.45);
  background: var(--soft-green);
}

.plan-type {
  margin-bottom: 20px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.plan-grid h3 {
  margin-bottom: 14px;
  font-size: 28px;
}

.plan-grid p:not(.plan-type) {
  color: var(--muted);
  line-height: 1.8;
}

.plan-grid ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.plan-grid li {
  padding: 12px 14px;
  border: 1px solid rgba(216, 209, 194, 0.8);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.plan-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  margin-top: 24px;
  border: 0;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.plan-select:hover,
.checklist-send:hover,
.checklist-clear:hover,
.summary-copy:hover,
.summary-download:hover,
.news-more:hover {
  box-shadow: 0 12px 28px rgba(31, 30, 27, 0.12);
  transform: translateY(-1px);
}

.recommended-plan .plan-select {
  background: var(--green);
}

.plan-note {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.plan-compare {
  overflow-x: auto;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.compare-row {
  display: grid;
  grid-template-columns: 180px repeat(3, minmax(190px, 1fr));
  min-width: 780px;
}

.compare-row + .compare-row {
  border-top: 1px solid var(--line);
}

.compare-row span {
  padding: 18px 20px;
  color: var(--muted);
  line-height: 1.65;
}

.compare-row span + span {
  border-left: 1px solid var(--line);
}

.compare-row span:first-child {
  background: var(--pale);
  color: var(--ink);
  font-weight: 800;
}

.compare-head span {
  background: var(--dark);
  color: #fff;
  font-weight: 800;
}

.compare-head span:first-child {
  background: var(--dark);
  color: #fff;
}

.schedule {
  padding-top: 44px;
}

.schedule-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.schedule-strip article {
  position: relative;
  min-height: 240px;
  padding: 30px 26px;
}

.schedule-strip article + article {
  border-left: 1px solid var(--line);
}

.schedule-strip article:not(:last-child)::after {
  position: absolute;
  top: 34px;
  right: -13px;
  z-index: 2;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  content: "→";
  font-size: 13px;
  font-weight: 800;
}

.schedule-strip time {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.schedule-strip h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.schedule-strip p {
  color: var(--muted);
  line-height: 1.75;
}

.checklist {
  padding-top: 44px;
}

.checklist-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 16px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.checklist-status span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.checklist-status strong {
  color: var(--green);
  font-size: 18px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.checklist-grid label {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  min-height: 92px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  cursor: pointer;
}

.checklist-grid input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
}

.checklist-grid span {
  color: var(--ink);
  font-weight: 800;
  line-height: 1.6;
}

.checklist-grid label:has(input:checked) {
  border-color: rgba(var(--brand-rgb), 0.55);
  background: var(--soft-green);
}

.checklist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.checklist-send,
.checklist-clear {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.checklist-clear {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.care {
  padding-top: 44px;
}

.care-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.care-grid article {
  min-height: 250px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
}

.care-grid article::before {
  display: block;
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--soft-green);
  content: "";
}

.care-grid article:nth-child(2)::before {
  background: var(--pale);
}

.care-grid article:nth-child(3)::before {
  background: rgba(219, 88, 73, 0.18);
}

.care-grid article:nth-child(4)::before {
  background: rgba(45, 111, 159, 0.18);
}

.care-grid h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.care-grid p {
  color: var(--muted);
  line-height: 1.75;
}

.cases {
  padding-top: 44px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.case-card {
  min-height: 420px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
}

.case-card.featured {
  background: var(--dark);
  color: #fff;
}

.case-label {
  margin-bottom: 22px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.case-card.featured .case-label {
  color: var(--yellow);
}

.case-card h3 {
  margin-bottom: 18px;
  font-size: 25px;
}

.case-card p:not(.case-label) {
  color: var(--muted);
  line-height: 1.8;
}

.case-card.featured p:not(.case-label) {
  color: var(--pale);
}

.case-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.case-card li {
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--pale);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.case-card.featured li {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.audience {
  padding-top: 44px;
}

.audience-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.audience-tabs button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.audience-tabs button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.audience-panels {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.audience-panel {
  display: none;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
  gap: 34px;
  padding: 38px;
}

.audience-panel.active {
  display: grid;
}

.audience-panel h3 {
  margin-bottom: 16px;
  font-size: clamp(26px, 3vw, 38px);
}

.audience-panel p {
  color: var(--muted);
  line-height: 1.85;
}

.audience-panel ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.audience-panel li {
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--pale);
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

.outcomes {
  padding-top: 42px;
}

.outcome-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  align-items: stretch;
}

.outcome-main {
  padding: 38px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
}

.outcome-main .eyebrow {
  color: var(--pale);
}

.outcome-main h3 {
  margin-bottom: 20px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.25;
}

.outcome-main p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.9;
}

.outcome-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.outcome-list article {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.outcome-list span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.outcome-list h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.outcome-list p {
  color: var(--muted);
  line-height: 1.75;
}

.voices {
  padding-top: 44px;
}

.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.voice-grid figure {
  min-height: 300px;
  padding: 30px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
}

.voice-grid blockquote {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.75;
}

.voice-grid blockquote::before {
  display: block;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 44px;
  line-height: 1;
  content: "“";
}

.voice-grid figcaption {
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.process {
  padding-top: 48px;
}

.process-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-board article {
  position: relative;
  min-height: 230px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
}

.process-board article:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -15px;
  z-index: 2;
  color: var(--line);
  font-size: 24px;
  content: "→";
  transform: translateY(-50%);
}

.process-board span {
  display: inline-block;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.process-board h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.process-board p {
  color: var(--muted);
  line-height: 1.75;
}

.partner-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
  gap: 32px;
  margin-top: 28px;
  padding: 34px 38px;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
}

.partner-panel .eyebrow {
  color: var(--yellow);
}

.partner-panel h3 {
  margin: 0;
  font-size: 28px;
}

.partner-panel ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.partner-panel li {
  position: relative;
  padding-left: 28px;
  color: var(--pale);
  line-height: 1.75;
}

.partner-panel li::before {
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
}

.local-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.local-case-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(22, 35, 52, 0.07);
}

.local-case-card figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  margin: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 214, 84, 0.32) 0 18%, transparent 19%),
    var(--pale);
}

.local-case-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.local-case-card div {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.local-case-card .case-meta {
  margin: 0;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.local-case-card h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.45;
}

.local-case-card p:not(.case-meta) {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 46px;
  position: relative;
  padding: 38px 44px 64px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: visible;
}

.timeline article {
  position: relative;
  min-height: 96px;
  padding: 0 0 0 34px;
  border-left: 2px solid var(--line);
}

.timeline article + article {
  border-left: 2px solid var(--line);
}

.timeline article::before {
  position: absolute;
  top: 4px;
  left: -7px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  content: "";
}

.timeline article::after {
  display: none;
}

.timeline article:last-child::after {
  display: none;
}

.timeline time {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.timeline h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.timeline p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.stats div {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  text-align: center;
}

.stats strong {
  display: block;
  color: var(--green);
  font-size: 34px;
}

.stats strong.counted {
  animation: number-pop 420ms ease;
}

.stats span {
  color: var(--muted);
  font-weight: 700;
}

.stats small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.record-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  width: min(760px, calc(100% - 64px));
  margin: -40px auto 0;
  position: relative;
  z-index: 2;
}

.record-metrics div {
  display: grid;
  gap: 4px;
  min-height: 78px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(31, 30, 27, 0.08);
}

.record-metrics strong {
  color: var(--green);
  font-size: 24px;
  line-height: 1;
}

.record-metrics span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.record-note {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.record-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.record-highlights article {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.record-highlights p {
  margin-bottom: 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.record-highlights h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.record-highlights span {
  margin-top: auto;
  color: var(--muted);
  line-height: 1.75;
}

.trust {
  padding-top: 46px;
}

.trust-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 28px;
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.logo-wall span {
  display: grid;
  min-height: 112px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted);
  font-weight: 800;
}

.trust-copy {
  padding: 38px;
  border-radius: 12px;
  background: var(--dark);
  color: #fff;
}

.trust-copy h3 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3vw, 36px);
}

.trust-copy p {
  color: var(--pale);
  line-height: 1.85;
}

.text-link.light {
  color: var(--yellow);
}

.profile {
  padding-top: 46px;
}

.profile-table {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
}

.profile-table dl {
  margin: 0;
}

.profile-table div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}

.profile-table div + div {
  border-top: 1px solid var(--line);
}

.profile-table dt,
.profile-table dd {
  margin: 0;
  padding: 22px 26px;
  line-height: 1.75;
}

.profile-table dt {
  background: var(--pale);
  color: var(--ink);
  font-weight: 800;
}

.profile-table dd {
  color: var(--muted);
}

.faq {
  padding-top: 48px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}

.faq-list details[open] {
  border-color: rgba(var(--brand-rgb), 0.45);
  background: var(--soft-green);
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 26px;
  font-size: 18px;
  font-weight: 800;
}

.faq-list summary::marker {
  color: var(--green);
}

.faq-list p {
  margin: 0;
  padding: 0 26px 24px;
  color: var(--muted);
  line-height: 1.8;
}

.next-action {
  padding-top: 44px;
}

.action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.action-grid article {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
}

.action-grid article.primary-action {
  background: var(--green);
  color: #fff;
}

.action-grid span {
  margin-bottom: 24px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.action-grid .primary-action span {
  color: var(--yellow);
}

.action-grid h3 {
  margin-bottom: 14px;
  font-size: 25px;
}

.action-grid p {
  color: var(--muted);
  line-height: 1.8;
}

.action-grid .primary-action p {
  color: rgba(255, 255, 255, 0.88);
}

.action-grid a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  margin-top: auto;
  border-radius: 999px;
  background: var(--dark);
  color: #fff;
  font-weight: 800;
}

.action-grid .primary-action a {
  background: #fff;
  color: var(--green);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin-top: 42px;
  padding: 46px 50px;
  border-radius: 18px;
  background: var(--dark);
  color: #fff;
}

.final-cta .eyebrow {
  color: var(--yellow);
}

.final-cta h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
}

.final-cta p:not(.eyebrow) {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--pale);
  line-height: 1.85;
}

.news-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.9fr);
  gap: 36px;
}

.news-list article {
  padding: 20px 24px;
}

.news-list article + article {
  margin-top: 14px;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.news-filters button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
}

.news-filters button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.news-list article.hidden {
  display: none;
}

.news-list time {
  margin-right: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.news-list span {
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.news-list h2,
.news-list h3 {
  margin: 12px 0 0;
  font-size: 17px;
}

.news-list article p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.news-more {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green);
  font-weight: 800;
}

.contact-card {
  padding: 44px;
  background: var(--dark);
  color: #fff;
}

.contact-card .eyebrow {
  color: var(--yellow);
}

.contact-card p:not(.eyebrow) {
  color: var(--pale);
  line-height: 1.8;
}

.contact-points {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
}

.contact-points div {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-points dt {
  margin-bottom: 4px;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
}

.contact-points dd {
  margin: 0;
  color: var(--pale);
  line-height: 1.7;
}

.contact-form-section {
  padding-top: 32px;
}

.inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 36px rgba(31, 30, 27, 0.06);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
}

.inquiry-form label:nth-child(4) {
  grid-column: 1 / -1;
}

.inquiry-form span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(var(--brand-rgb), 0.1);
  outline: none;
}

.inquiry-form input,
.inquiry-form select {
  height: 48px;
  padding: 0 14px;
}

.inquiry-form textarea {
  min-height: 140px;
  padding: 14px;
  resize: vertical;
}

.inquiry-form button {
  justify-self: start;
}

.form-note {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.75;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  padding: 58px 72px;
  background: var(--dark);
  color: #fff;
}

.site-footer p,
.site-footer nav {
  color: var(--pale);
}

.footer-map {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 22px;
  max-width: 580px;
}

.footer-map a {
  color: var(--pale);
  font-size: 14px;
  font-weight: 700;
}

.footer-copy {
  align-self: end;
  color: rgba(255, 255, 255, 0.56);
}

.back-to-top {
  position: fixed;
  z-index: 18;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(31, 30, 27, 0.14);
  color: var(--green);
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes soft-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes number-pop {
  0% {
    transform: scale(0.96);
  }

  60% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 20px;
  }

  .nav-toggle {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
  }

  .nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: fixed;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .info-index,
  .share-summary,
  .about-layout,
  .about-intro,
  .concept-caption,
  .award-proof,
  .local-case-grid,
  .message-layout,
  .news-contact {
    grid-template-columns: 1fr;
  }

  .overview {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .overview h2 {
    height: 92px;
    min-height: 0;
    font-size: 21px;
  }

  .overview-visual {
    min-height: 154px;
  }

  .overview p {
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    min-height: auto;
    padding: 42px 24px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: clamp(36px, 5vw, 44px);
    line-height: 1.2;
  }

  .hero .lead {
    max-width: 430px;
  }

  .hero-metrics div {
    min-height: 76px;
  }

  .hero-visual,
  .hero-photo {
    min-height: 100%;
    height: 100%;
  }

  .obake-track {
    grid-auto-columns: minmax(240px, 44vw);
  }

  .gallery-arrow.prev {
    left: 8px;
  }

  .gallery-arrow.next {
    right: 8px;
  }

  .steps,
  .obake-examples,
  .meaning-grid,
  .concept-flow,
  .principle-layout,
  .service-grid,
  .planning-cards,
  .implementation-flow,
  .plan-grid,
  .schedule-strip,
  .checklist-grid,
  .care-grid,
  .case-grid,
  .audience-panel,
  .outcome-layout,
  .outcome-list,
  .voice-grid,
  .process-board,
  .partner-panel,
  .trust-layout,
  .logo-wall,
  .action-grid,
  .inquiry-form,
  .record-highlights,
  .timeline,
  .stats,
  .flow,
  .service-note,
  .service-note ul {
    grid-template-columns: 1fr;
  }

  .service-summary-grid,
  .usage-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .service-summary-grid article,
  .usage-card-grid article {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 18px;
  }

  .service-structure .flow {
    grid-template-columns: repeat(5, minmax(104px, 1fr));
  }

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

  .news-contact {
    grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  }

  .process-board article {
    min-height: auto;
  }

  .process-board article:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -22px;
    left: 28px;
    transform: rotate(90deg);
  }

  .schedule-strip article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .timeline article + article {
    border-top: 0;
    border-left: 2px solid var(--line);
  }

  .implementation-flow article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .scene-flow article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .timeline article::after {
    display: none;
  }

  .schedule-strip article:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -13px;
    left: 26px;
    transform: rotate(90deg);
  }

  .concept-flow article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .about-diagram .concept-flow article + article {
    border-top: 0;
    border-left: 0;
  }

  .concept-flow article:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -13px;
    left: 24px;
    transform: rotate(90deg);
  }

  .about-diagram .concept-flow article:not(:last-child)::after {
    top: 50%;
    right: -20px;
    bottom: auto;
    left: auto;
    color: var(--green);
    content: "▶";
    transform: translateY(-50%);
  }

  .about-diagram {
    padding: 38px 22px 32px;
  }

  .about-diagram .concept-flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }

  .about-diagram .concept-flow article {
    min-height: 280px;
    padding: 32px 14px 22px;
  }

  .about-diagram .concept-flow span {
    width: 50px;
    height: 50px;
    margin-top: -58px;
    font-size: 16px;
  }

  .flow-icon {
    width: 64px;
    height: 64px;
  }

  .about-diagram .concept-flow h3 {
    font-size: 18px;
  }

  .about-diagram .concept-flow p {
    font-size: 11px;
    line-height: 1.75;
  }

  .deliverable-grid {
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 10px;
  }

  .deliverable-grid article {
    min-height: 228px;
    padding: 18px 12px;
  }

  .deliverable-grid h3 {
    font-size: 17px;
  }

  .deliverable-grid p,
  .deliverable-grid small {
    font-size: 11px;
  }

  .scene-grid {
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: 12px;
  }

  .scene-photo {
    min-height: 160px;
  }

  .scene-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scene-flow article + article {
    border-top: 0;
    border-left: 1px solid var(--line);
  }

  .theme-cloud {
    grid-template-columns: repeat(6, minmax(104px, 1fr));
    gap: 10px;
  }

  .theme-cloud article {
    min-height: 146px;
    padding: 16px 12px;
  }

  .theme-cloud span {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .theme-cloud p,
  .theme-cloud small {
    font-size: 11px;
    line-height: 1.6;
  }

  .service-visual-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .service-visual-grid .service-card {
    min-height: 172px;
    padding: 22px 16px;
  }

  .service-visual-grid .service-card h3 {
    font-size: 22px;
  }

  .service-visual-grid .service-card p {
    font-size: 12px;
  }

  .usage-support {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .usage-feature-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 24px;
  }

  .usage-feature-grid article {
    min-height: 108px;
  }

  .implementation-flow article:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -13px;
    left: 24px;
    transform: rotate(90deg);
  }

  .flow li:not(:last-child)::after {
    right: auto;
    bottom: -19px;
    transform: rotate(90deg);
  }

  .site-footer {
    flex-direction: column;
    padding: 42px 24px;
  }

  .footer-map {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero h1 {
    max-width: none;
    font-size: clamp(34px, 8vw, 42px);
  }

  .hero .lead {
    max-width: none;
  }

  .target-tags {
    flex-wrap: wrap;
  }

  .hero-metrics {
    max-width: none;
  }

  .theme-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

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

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

  .usage-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .about-diagram .concept-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 16px;
  }

  .about-diagram .concept-flow article {
    min-height: 246px;
  }

  .about-diagram .concept-flow article:not(:last-child)::after {
    content: none;
  }

}

@media (max-width: 620px) {
  .site-lock {
    padding: 16px;
  }

  .site-lock-panel {
    padding: 30px 22px;
  }

  .site-lock-form div {
    grid-template-columns: 1fr;
  }

  .brand span:last-child {
    max-width: 160px;
    font-size: 14px;
  }

  .section-shell {
    width: min(100% - 28px, 1120px);
  }

  .award-proof {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 18px;
    margin-top: 0;
  }

  .award-proof-label,
  .award-proof-link,
  .award-proof-badge {
    justify-self: start;
  }

  .award-proof-badge {
    width: 62px;
    height: 62px;
  }

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

  .overview article {
    gap: 16px;
  }

  .overview h2 {
    display: block;
    height: auto;
    min-height: 0;
  }

  .overview-visual {
    min-height: 180px;
  }

  .gallery,
  .award-proof,
  .overview,
  .about,
  .principles,
  .message,
  .services,
  .usage,
  .themes,
  .deliverables,
  .plans,
  .schedule,
  .checklist,
  .care,
  .cases,
  .audience,
  .outcomes,
  .voices,
  .process,
  .local-cases,
  .record,
  .trust,
  .profile,
  .faq,
  .next-action,
  .final-cta,
  .news-contact,
  .contact-form-section {
    padding: 72px 0;
  }

  .final-cta {
    grid-template-columns: 1fr;
    padding: 34px 24px;
  }

  .profile-table div {
    grid-template-columns: 1fr;
  }

  .profile-table dd {
    padding-top: 16px;
  }

  .obake-track {
    grid-auto-columns: minmax(250px, 82vw);
    padding-right: 18px;
  }

  .gallery-arrow {
    display: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero {
    padding: 36px 18px;
  }

  .hero h1 {
    font-size: clamp(32px, 9vw, 39px);
    line-height: 1.22;
  }

  .hero-visual,
  .hero-photo {
    min-height: 100%;
    height: 100%;
  }

  .button {
    width: 100%;
  }

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

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

  .service-visual-grid {
    grid-template-columns: 1fr;
  }

  .usage-panel h3 {
    font-size: 23px;
  }

  .usage-feature-grid {
    padding: 18px;
  }

  .usage-card-grid,
  .service-summary-grid,
  .record-metrics {
    grid-template-columns: 1fr;
  }

  .service-structure .flow {
    grid-template-columns: 1fr;
  }

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

  .record-metrics {
    width: min(100%, calc(100% - 28px));
    margin-top: -24px;
  }

  .about-diagram {
    padding: 34px 18px 28px;
  }

  .about-diagram .concept-flow {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-diagram .concept-flow article {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 12px;
    padding: 30px 22px 24px;
  }

  .about-diagram .concept-flow h3 {
    grid-column: auto;
    font-size: 20px;
  }

  .about-diagram .concept-flow p {
    grid-column: auto;
    margin-top: 0;
  }

  .about-diagram .concept-flow span {
    margin-top: -56px;
  }

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

  .scene-photo {
    min-height: 160px;
  }

  .scene-flow {
    grid-template-columns: 1fr;
  }

  .scene-flow article + article {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

@media print {
  .site-header,
  .gallery-arrow,
  .gallery-dots,
  .back-to-top,
  .hero-actions,
  .section-links,
  .final-cta {
    display: none;
  }

  body {
    background: #fff;
  }

  .section-shell,
  .hero {
    width: 100%;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

.admin-bar .site-header {
  top: 32px;
}

.obake-image {
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  background: var(--pale);
}

.obake-image img,
.character-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  overflow: visible;
}

.archive-track .obake-card {
  min-width: 0;
}

.archive-track .obake-card a {
  display: grid;
  gap: 12px;
  height: 100%;
}

.character-detail-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: 28px;
  align-items: start;
}

.character-detail .obake-illustration {
  min-height: 320px;
}

.character-image {
  overflow: hidden;
  margin: 0;
  border-radius: var(--panel-radius);
  background: var(--pale);
  box-shadow: var(--shadow);
}

@media (max-width: 720px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .character-detail-layout {
    grid-template-columns: 1fr;
  }
}
