/**
 * embers.saitama — main stylesheet
 * Matches top-page comp (footer excluded from this pass).
 * No gradients, drop shadows, or glow effects (brand policy).
 */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
:root {
  --ember-glow: #d94920;
  --ember-shadow: #221d1a;
  --quiet-teal: #2c4a47;
  --warm-gray: #8c7f76;
  --soft-ash: #ede7df;

  --font-display: "Zen Kaku Gothic Antique", sans-serif;
  --font-body: "Zen Kaku Gothic Antique", sans-serif;
  --font-mono: "Zen Kaku Gothic Antique", sans-serif;

  --font-size-base: 16px;
  --line-height-base: 1.7;
  --font-weight-base: 500;
  --letter-spacing-base: 0.11em;

  --color-bg: #f5f2eb;
  --bg-image: url("../images/main-bg.jpg");
  --color-bg-soft: var(--soft-ash);
  --color-text: #555555;
  --color-muted: var(--warm-gray);
  --color-accent: var(--ember-glow);
  --color-border: #d9d0c6;
  --color-surface: #fdfdfd;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7.5rem;

  --container: 1200px;
  --radius-chip: 999px;
  --radius-card: 12px;
  --radius-media: 8px;
}

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

html {
  font-size: var(--font-size-base);
  scroll-behavior: smooth;
  min-height: 100%;
  background-color: var(--color-bg);
  background-image: var(--bg-image);
  background-repeat: repeat;
  background-position: top left;
  background-size: 640px;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: var(--font-weight-base);
  letter-spacing: var(--letter-spacing-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: transparent;
  background-image: none;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-accent);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: var(--font-weight-base);
  letter-spacing: var(--letter-spacing-base);
  line-height: 1.35;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

figure {
  margin: 0;
}

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

/* Visibility helpers（ブレークポイントは 768px） */
.sp-only {
  display: none !important;
}

@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }

  .sp-only {
    display: revert !important;
  }
}

.c-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ember-shadow);
  color: #fdfdfd;;
}

.c-skip-link:focus {
  left: 1rem;
  top: 1rem;
}
.align-center {
  text-align: center;
}
/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.l-container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.l-page {
  padding-block: var(--space-xl) var(--space-2xl);
}

.l-main {
  overflow: visible;
}

/* --------------------------------------------------------------------------
   Breadcrumb
   -------------------------------------------------------------------------- */
.c-breadcrumb {
  border-bottom: 1px solid var(--color-border);
  background-color: rgba(255, 255, 247, 0.72);
}

.c-breadcrumb__inner {
  padding-block: 0.65rem;
}

.c-breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--color-muted);
}

.c-breadcrumb__item {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}

.c-breadcrumb__item:not(:last-child)::after {
  content: "/";
  margin-inline: 0.4rem 0.35rem;
  color: var(--color-border);
}

.c-breadcrumb__link {
  color: var(--color-muted);
  text-decoration: none;
}

.c-breadcrumb__link:hover {
  color: var(--color-accent);
}

.c-breadcrumb__current {
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: min(40rem, 70vw);
}

.l-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: #fdfdfd;ff7;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.l-header__inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: 1.5rem 1rem;
}

.l-footer {
  padding-block: var(--space-md) var(--space-sm);
  background-color: #e8e4df;
  text-align: center;
  border-top: 0;
}

.l-footer__inner {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.l-footer__credit {
  margin-top: var(--space-md);
  color: var(--color-muted);
}

.l-footer__credit-main {
  margin: 0;
  font-size: 0.8125rem;
}

.l-footer__credit a {
  text-decoration: none;
  color: inherit;
}

.l-footer__credit a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

.l-footer__credit-url {
  font-size: 0.75rem;
}

.l-footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1rem;
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.6875rem;
  letter-spacing: var(--letter-spacing-base);
}

.l-footer__copy {
  font-size: 0.75rem;
  color: var(--color-muted);
  margin-top: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Logo / nav
   -------------------------------------------------------------------------- */
.c-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
}

.c-logo:hover {
  color: var(--color-text);
}

.c-logo__img {
  display: block;
  width: auto;
  height: 60px;
}

.c-logo--footer {
  justify-content: center;
  margin-bottom: var(--space-md);
}

.c-logo--footer .c-logo__img {
  height: 72px;
}

.c-logo--footer.custom-logo-link .custom-logo,
.c-logo--footer .custom-logo {
  max-height: 72px;
}

.c-logo .custom-logo,
.custom-logo-link .custom-logo {
  display: block;
  max-height: 48px;
  width: auto;
}

.c-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem;
  align-items: flex-start;
}

.c-nav__link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  color: var(--color-text);
  align-items: center;
}

.c-nav__link:hover {
  color: var(--color-accent);
}

.c-nav__label-en {
  font-size:16px;
  letter-spacing: var(--letter-spacing-base);
  color: var(--color-accent);
}

.c-nav__label-ja {
  font-size: 12px;
  color: var(--color-text);
  letter-spacing: var(--letter-spacing-base);
}

.c-nav-toggle {
  display: none;
  position: relative;
  width: 2.2rem;
  height: 1.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 120;
}

.c-nav-toggle__bar {
  position: absolute;
  right: 0;
  display: block;
  height: 2px;
  margin: 0;
  border-radius: 1px;
  background: var(--ember-glow);
  transition: all 0.4s ease;
  transform-origin: center;
}

.c-nav-toggle__bar:nth-child(1) {
  top: 0;
  width: 100%;
}

.c-nav-toggle__bar:nth-child(2) {
  top: 50%;
  width: 72%;
  transform: translateY(-50%);
}

.c-nav-toggle__bar:nth-child(3) {
  bottom: 0;
  width: 42%;
}

/* Open: 3本線 → × */
.c-nav-toggle.is-open .c-nav-toggle__bar:nth-child(1) {
  top: 50%;
  right: 0;
  width: 100%;
  transform: translateY(-50%) rotate(45deg);
}

.c-nav-toggle.is-open .c-nav-toggle__bar:nth-child(2) {
  opacity: 0;
  width: 0;
  transform: translateY(-50%) scaleX(0);
}

.c-nav-toggle.is-open .c-nav-toggle__bar:nth-child(3) {
  top: 50%;
  bottom: auto;
  right: 0;
  width: 100%;
  transform: translateY(-50%) rotate(-45deg);
}

.c-nav__panel {
  display: contents;
}

.c-footer-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.75rem;
  margin-bottom: var(--space-md);
  align-items: flex-start;
}

.c-footer-nav .c-nav__link {
  color: inherit;
}

.c-footer-nav .c-nav__label-en {
  font-size: 0.875rem;
}

.c-footer-nav .c-nav__label-ja {
  font-size: 0.6875rem;
}

/* --------------------------------------------------------------------------
   Section heads / deco / links / chips
   -------------------------------------------------------------------------- */
.c-section-head {
  margin-bottom: var(--space-lg);
}

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

.c-section-head--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem 1.25rem;
  padding-top: 0.8rem;
  padding-bottom: 1rem;
  margin-bottom: var(--space-lg);

}

.c-section-head--inline .c-section-head__sub {
  margin-top: 0;
  color: var(--color-text);
}

.c-section-head__label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: var(--letter-spacing-base);
  color: var(--quiet-teal);
  margin-bottom: 0.5rem;
}

.c-section-head__label--accent {
  font-size: 1.5rem;
  color: var(--color-accent);
  letter-spacing: var(--letter-spacing-base);
  margin-bottom: 1rem;
}

.c-section-head__title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: var(--font-weight-base);
  color: var(--color-accent);
}

.c-section-head__sub {
  margin-top: 0.35rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

.c-section-head__lead {
  color: var(--color-muted);
  font-size: 0.95rem;
}

.c-section-head__lead--center {
  margin-inline: auto;
}

.c-section-more {
  margin-top: var(--space-lg);
}

.c-section-more--end {
  text-align: right;
}

.c-text-link {
  font-size: 0.875rem;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 0.1em;
}

.c-text-link:hover {
  color: var(--color-accent);
}

.c-text-link--muted {
 padding-bottom: 0.5rem;
  color: var(--warm-gray);
}

.c-text-link--muted:hover {
  color: var(--color-accent);
}

/* Large outlined backdrop titles (What / Who is / Who makes) */
.c-deco-title {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: 95vw;
  font-size: clamp(2.5rem, 11vw, 6.5rem);
  font-weight: var(--font-weight-base);
  letter-spacing: var(--letter-spacing-base);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(34, 29, 26, 0.18);
  paint-order: stroke fill;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

.c-chip {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: var(--letter-spacing-base);
  line-height: 1.4;
  padding: 0.3em 0.75em;
  border-radius: var(--radius-chip);
  border: 1px solid #c8c2ba;
  color: var(--color-text);
  background: transparent;
}

.c-chip--tag {
  border-color: #c8c2ba;
  color: var(--color-text);
}

a.c-chip {
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

a.c-chip:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Story card — image + overlapping white panel (title / name / tags)
   -------------------------------------------------------------------------- */
.c-story-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}


.c-story-card__link:hover .c-story-card__title {
  color: var(--color-accent);
}

.c-story-card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--soft-ash);
  margin-bottom: 0;
  border-radius: 12px;
}

.c-story-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.55s ease;
  will-change: transform;
}

.c-story-card__link:hover .c-story-card__img,
.c-story-card__link:focus-visible .c-story-card__img {
  transform: scale(1.06);
}

.c-story-card__body {
  position: relative;
  z-index: 1;
  margin: -2.5rem 1rem 0;
  padding: 1.15rem 1.2rem 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 10px;
}

.c-story-card__label {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: var(--letter-spacing-base);
  color: var(--color-accent);
  margin-bottom: 0.45rem;
}

.c-story-card__date {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-muted);
  letter-spacing: var(--letter-spacing-base);
  margin-bottom: 0.45rem;
}

.c-story-card__title {
  font-size: 18px;
  font-weight: var(--font-weight-base);
  line-height: 1.55;
  color: var(--color-text);
  margin-bottom: 0.55rem;
  transition: color 0.15s ease;
}

.c-story-card__caption {
  font-size: 0.8125rem;
  color: var(--color-text);
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.c-story-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

/* Alias kept for hero / existing modifiers */
.c-story-card--overlay .c-story-card__media {
  aspect-ratio: 16 / 9;
}

.c-story-card--overlay .c-story-card__caption {
  display: block;
}

/* Latest Stories: image → title → name → tags (no overlay panel) */
.c-story-card--list .c-story-card__media {
  aspect-ratio: 16 / 9;
  margin-bottom: 1rem;
  border-radius: 10px;
}

.c-story-card--list .c-story-card__body {
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.c-story-card--list .c-story-card__title {
  font-size: 0.95rem;
  margin-bottom: 0.45rem;
}

.c-story-card--list .c-story-card__caption {
  font-size: 0.8rem;
  color: var(--warm-gray);
  margin-bottom: 0.75rem;
}

/* --------------------------------------------------------------------------
   Profile card
   -------------------------------------------------------------------------- */
.c-profile-card {
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: var(--space-lg);
  align-items: start;
  position: relative;
  z-index: 1;
}

.c-profile-card--flip {
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr);
}

.c-profile-card--flip .c-profile-card__photo {
  order: 2;
}

.c-profile-card--flip .c-profile-card__body {
  order: 1;
}

.c-profile-card--boxed {
  border-radius: var(--radius-card);
  padding: var(--space-lg);
  gap: var(--space-md);
  border: 1px solid var(--color-border);
}

.c-profile-card__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-media);
}

.c-profile-card--boxed .c-profile-card__photo {
  aspect-ratio: 1 / 1;
}

.c-profile-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-profile-card__name {
  margin-bottom: 0.35rem;
  color: var(--color-accent);
}

.c-profile-card__name-en {
  font-size: 1.5rem;
  font-weight: var(--font-weight-base);
}

.c-profile-card__name-ja {
  font-size: 0.95rem;
  margin-left: 0.25rem;
  color: var(--color-text);
}

.c-profile-card__role {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin-bottom: var(--space-md);
}

.c-profile-card__text {
  border-top: 1px solid var(--color-border);
  margin-top: 0.5rem;
  padding-top: var(--space-md);
  font-size: 13px;
  line-height: 1.85;
}

.c-profile-card__more,
.c-profile-card__sns {
  margin-top: var(--space-md);
  text-align: right;
}

.c-profile-card__sns a {
  color: var(--color-text);
}

.c-profile-card__sns a:hover {
  color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.p-hero {
  position: relative;
  padding-block: var(--space-lg) var(--space-2xl);
  padding-bottom: calc(var(--space-2xl) + 2rem);
  overflow-x: clip;
  overflow-y: visible;
}

.p-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.p-hero__content {
  position: relative;
  z-index: 0;
  overflow: visible;
}

.p-hero__map {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(220%, 600px);
  max-width: none;
  height: auto;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.p-hero__text,
.p-hero__illustration {
  position: relative;
  z-index: 1;
}

.p-hero__title {
  font-size: clamp(2.1rem, 4.5vw, 3.25rem);
  font-weight: var(--font-weight-base);
  line-height: 1.3;
  letter-spacing: var(--letter-spacing-base);
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.p-hero__lead {
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: var(--space-lg);
}

.p-hero__illustration {
  max-width: 480px;
}

.p-hero__illustration img {
  width: 120%;
  max-width: 120%;
}

/* Scroll down — 黒丸が縦線をなぞる（animate-club 参考） */
.c-scroll-down {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  z-index: 2;
  width: 1.5rem;
  padding: 0 0 4.25rem;
  transform: translateX(-50%);
  text-decoration: none;
  color: var(--color-muted);
}

.c-scroll-down__label {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  color: var(--color-muted);
}

/* 縦線 */
.c-scroll-down::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 3.5rem;
  background-color: var(--color-border);
  transform: translateX(-50%);
}

/* 黒丸 — 表示後にアニメ開始 */
.c-scroll-down::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2.65rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--ember-shadow);
  transform: translateX(-50%);
  animation: none;
}

.c-scroll-down.is-visible::after {
  animation: embers-scroll-dot 1.8s ease-in-out infinite;
}

.c-scroll-down:hover {
  color: var(--color-accent);
}

.c-scroll-down:hover::after {
  background-color: var(--color-accent);
}

@keyframes embers-scroll-dot {
  0% {
    bottom: 2.65rem;
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  80% {
    bottom: 0;
    opacity: 0.35;
  }
  100% {
    bottom: 0;
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-scroll-down::after {
    animation: none;
    bottom: 1.1rem;
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   Latest Stories
   -------------------------------------------------------------------------- */
.p-stories {
  padding-top: 0;
  padding-bottom: var(--space-2xl);
}

.p-stories__head {
  margin-top: var(--space-md);
  display: block;
  width: 100%;
  margin-bottom: var(--space-lg);
}

.p-stories__head-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  flex-direction: column;
  align-items: center;
}

.p-stories__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 1.5rem;
}

.p-stories__grid .c-story-card__link {
  background-color: #fdfdfd;;
  padding: 1rem;
  border-radius: 12px;
}

.p-stories .c-section-more {
  margin-top: 1.75rem;
}

.p-stories--archive {
  padding-bottom: var(--space-2xl);
}


.p-stories__empty {
  color: var(--color-muted);
  padding-block: var(--space-xl);
}

/* --------------------------------------------------------------------------
   Keyword（人気のハッシュタグ）— Stories 内
   -------------------------------------------------------------------------- */
.p-stories .p-keyword {
  margin-top: var(--space-xl);
  margin-bottom: 0;
  max-width: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  background-color: #faf3ed;
  padding: var(--space-md) var(--space-lg);
}

.p-keyword__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: var(--space-md);
  text-align: center;
}

.p-keyword__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: var(--font-weight-base);
  letter-spacing: var(--letter-spacing-base);
  color: var(--color-accent);
  line-height: 1.35;
}

.p-keyword__sub {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text);
}

.p-keyword__panel {
  /* 見出しとタグを同一パネル内にまとめる */
}

.p-keyword__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-keyword__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45em 1em;
  font-size: 0.8125rem;
  letter-spacing: var(--letter-spacing-base);
  line-height: 1.4;
  color: var(--color-text);
  text-decoration: none;
  background-color: #fdfdfd;;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-chip);
}

.p-keyword__tag:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.p-keyword__empty {
  margin: 0;
  text-align: center;
  font-size: 0.875rem;
  color: var(--color-muted);
}

/* Pagination（記事一覧） */
.navigation.pagination,
.c-pagination {
  margin-top: var(--space-xl);
}

.navigation.pagination .nav-links,
.c-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  align-items: center;
}

.navigation.pagination .page-numbers,
.c-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  letter-spacing: var(--letter-spacing-base);
  text-decoration: none;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  background: #fdfdfd;;
}

.navigation.pagination .page-numbers.current,
.c-pagination .page-numbers.current {
  color: #fdfdfd;;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

.navigation.pagination a.page-numbers:hover,
.c-pagination a.page-numbers:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* --------------------------------------------------------------------------
   What is / Wanted
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   Stacked Scroll（What / Who is / Who makes）
   Ref: https://motion.shigoto-no-kobako.com/motions/stacked-scroll/
   Each panel sticks at top:0; the next slides up from below and covers it.
   -------------------------------------------------------------------------- */
.p-stack {
  position: relative;
  display: block;
}

.p-stack__panel {
  position: sticky !important; /* beat .p-what / .p-profile { position: relative } */
  top: 0;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  box-sizing: border-box;
  padding-top: 0;
  padding-bottom: var(--space-2xl);
  margin: 0;
  overflow: hidden;
  background-image: none;
}

.p-stack__panel.p-what,
.p-stack__panel.p-profile--partner {
  border-radius: 30px 30px 0 0;
}

.p-stack__panel.p-profile:not(.p-profile--partner) {
  border-radius: 30px 30px 0 0;
}

/* 背景: 上から グレー → クリーム → グレー（セクション順と独立） */
.p-stack__panel:nth-child(1) {
  z-index: 1;
  background-color: #f0f0ed;
}

.p-stack__panel:nth-child(2) {
  z-index: 2;
  background-color: #fffff9;
}

.p-stack__panel:nth-child(3) {
  z-index: 3;
  background-color: #f0f0ed;
}

/* Section H2: flush to top edge, no top gap */
.p-stack__panel > .c-deco-title {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: center;
  flex-shrink: 0;
  z-index: 0;
  line-height: 0.6;
}

.p-stack .p-what,
.p-stack .p-profile {
  overflow: hidden;
}

.p-stack__panel > .l-container,
.p-stack__panel > .p-what__inner {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  padding-block: var(--space-xl);
}

.p-what__inner {
  padding-top: var(--space-xl);
}

.p-what__illustration {
  display: block;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}
.p-what__intro {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.95;
  margin-inline: auto;
  margin-bottom: var(--space-xl);
  max-width: 38em;
}

.p-wanted {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-md);
  align-items: center;
  background-color: var(--color-surface);
  border-radius: var(--radius-card);
  padding: var(--space-lg) var(--space-xl);
}

.p-wanted-band {
  padding-block: var(--space-xl) var(--space-lg);
}

.p-wanted__title {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 0.65rem;
}

.p-wanted__lead {
  font-size: 1.05rem;
  font-weight: var(--font-weight-base);
  margin-bottom: 0.75rem;
}

.p-wanted__body {
  font-size: 13px;
  color: var(--color-muted);
  line-height: 1.85;
  margin-bottom: var(--space-md);
}

.p-wanted__illustration img {
  width: 100%;
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Who is / Who makes
   -------------------------------------------------------------------------- */
.p-profile .l-container {
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .p-stack__panel {
    position: relative !important;
    top: auto;
    min-height: 0;
  }

  .js-reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  html.js body.home .p-hero__lead,
  html.js body.front-page .p-hero__lead,
  html.js body.home .p-hero__illustration,
  html.js body.front-page .p-hero__illustration,
  html.js body.home .p-hero__preview,
  html.js body.front-page .p-hero__preview,
  html.js body.home .c-scroll-down,
  html.js body.front-page .c-scroll-down,
  html.js body.home .p-stories__grid,
  html.js body.front-page .p-stories__grid,
  html.js body.home .p-keyword,
  html.js body.front-page .p-keyword,
  html.js body.home .p-stack__panel .c-profile-card,
  html.js body.front-page .p-stack__panel .c-profile-card,
  html.js body.home .p-stack__panel .c-section-head,
  html.js body.front-page .p-stack__panel .c-section-head,
  html.js body.home .p-what__illustration,
  html.js body.front-page .p-what__illustration,
  html.js body.home .p-what__intro,
  html.js body.front-page .p-what__intro,
  html.js body.home .p-wanted,
  html.js body.front-page .p-wanted,
  html.js body.home .p-news__list,
  html.js body.front-page .p-news__list,
  html.js body.home .p-news .c-section-head,
  html.js body.front-page .p-news .c-section-head,
  html.js body.home .p-hero__title,
  html.js body.front-page .p-hero__title,
  html.js body.home .c-section-head__title,
  html.js body.front-page .c-section-head__title,
  html.js body.home .c-deco-title,
  html.js body.front-page .c-deco-title,
  html.js body.home .p-wanted__title,
  html.js body.front-page .p-wanted__title {
    opacity: 1 !important;
    transform: none !important;
  }

  html.js body.home .c-scroll-down,
  html.js body.front-page .c-scroll-down {
    transform: translateX(-50%) !important;
  }

  .js-typewriter.is-typing::after {
    display: none !important;
  }

  .c-story-card__img {
    transition: none !important;
  }

  .c-story-card__link:hover .c-story-card__img,
  .c-story-card__link:focus-visible .c-story-card__img {
    transform: none !important;
  }
}

/* --------------------------------------------------------------------------
   Front-page motion (subtle)
   Hide animated targets before JS runs to prevent flash of full content.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  html.js body.home .p-hero__lead,
  html.js body.front-page .p-hero__lead,
  html.js body.home .p-hero__illustration,
  html.js body.front-page .p-hero__illustration,
  html.js body.home .p-hero__preview,
  html.js body.front-page .p-hero__preview,
  html.js body.home .p-stories__grid,
  html.js body.front-page .p-stories__grid,
  html.js body.home .p-keyword,
  html.js body.front-page .p-keyword,
  html.js body.home .p-stack__panel .c-profile-card,
  html.js body.front-page .p-stack__panel .c-profile-card,
  html.js body.home .p-stack__panel .c-section-head,
  html.js body.front-page .p-stack__panel .c-section-head,
  html.js body.home .p-what__illustration,
  html.js body.front-page .p-what__illustration,
  html.js body.home .p-what__intro,
  html.js body.front-page .p-what__intro,
  html.js body.home .p-wanted,
  html.js body.front-page .p-wanted,
  html.js body.home .p-news__list,
  html.js body.front-page .p-news__list,
  html.js body.home .p-news .c-section-head,
  html.js body.front-page .p-news .c-section-head,
  html.js body.home .p-instagram__head,
  html.js body.front-page .p-instagram__head,
  html.js body.home .p-instagram__feed,
  html.js body.front-page .p-instagram__feed {
    opacity: 0;
    transform: translate3d(0, 0.85rem, 0);
  }

  html.js body.home .c-scroll-down,
  html.js body.front-page .c-scroll-down {
    opacity: 0;
    pointer-events: none;
  }

  html.js body.home .p-hero__lead.is-visible,
  html.js body.front-page .p-hero__lead.is-visible,
  html.js body.home .p-hero__illustration.is-visible,
  html.js body.front-page .p-hero__illustration.is-visible,
  html.js body.home .p-hero__preview.is-visible,
  html.js body.front-page .p-hero__preview.is-visible,
  html.js body.home .p-stories__grid.is-visible,
  html.js body.front-page .p-stories__grid.is-visible,
  html.js body.home .p-keyword.is-visible,
  html.js body.front-page .p-keyword.is-visible,
  html.js body.home .p-stack__panel .c-profile-card.is-visible,
  html.js body.front-page .p-stack__panel .c-profile-card.is-visible,
  html.js body.home .p-stack__panel .c-section-head.is-visible,
  html.js body.front-page .p-stack__panel .c-section-head.is-visible,
  html.js body.home .p-what__illustration.is-visible,
  html.js body.front-page .p-what__illustration.is-visible,
  html.js body.home .p-what__intro.is-visible,
  html.js body.front-page .p-what__intro.is-visible,
  html.js body.home .p-wanted.is-visible,
  html.js body.front-page .p-wanted.is-visible,
  html.js body.home .p-news__list.is-visible,
  html.js body.front-page .p-news__list.is-visible,
  html.js body.home .p-news .c-section-head.is-visible,
  html.js body.front-page .p-news .c-section-head.is-visible,
  html.js body.home .p-instagram__head.is-visible,
  html.js body.front-page .p-instagram__head.is-visible,
  html.js body.home .p-instagram__feed.is-visible,
  html.js body.front-page .p-instagram__feed.is-visible {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.9s ease,
      transform 0.9s ease;
  }

  html.js body.home .c-scroll-down.is-visible,
  html.js body.front-page .c-scroll-down.is-visible {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.9s ease;
  }

  /* Typewriter targets: hide full text until typing starts */
  html.js body.home .p-hero__title:not(.is-typing):not(.is-typed),
  html.js body.front-page .p-hero__title:not(.is-typing):not(.is-typed),
  html.js body.home .c-section-head__title:not(.is-typing):not(.is-typed),
  html.js body.front-page .c-section-head__title:not(.is-typing):not(.is-typed),
  html.js body.home .c-deco-title:not(.is-typing):not(.is-typed),
  html.js body.front-page .c-deco-title:not(.is-typing):not(.is-typed),
  html.js body.home .p-wanted__title:not(.is-typing):not(.is-typed),
  html.js body.front-page .p-wanted__title:not(.is-typing):not(.is-typed) {
    opacity: 0;
  }

  html.js body.home .p-hero__title.is-typing,
  html.js body.front-page .p-hero__title.is-typing,
  html.js body.home .p-hero__title.is-typed,
  html.js body.front-page .p-hero__title.is-typed,
  html.js body.home .c-section-head__title.is-typing,
  html.js body.front-page .c-section-head__title.is-typing,
  html.js body.home .c-section-head__title.is-typed,
  html.js body.front-page .c-section-head__title.is-typed,
  html.js body.home .c-deco-title.is-typing,
  html.js body.front-page .c-deco-title.is-typing,
  html.js body.home .c-deco-title.is-typed,
  html.js body.front-page .c-deco-title.is-typed,
  html.js body.home .p-wanted__title.is-typing,
  html.js body.front-page .p-wanted__title.is-typing,
  html.js body.home .p-wanted__title.is-typed,
  html.js body.front-page .p-wanted__title.is-typed {
    opacity: 1;
  }
}

.js-typewriter.is-typing::after {
  content: "";
  border-right: 1px solid currentColor;
  margin-left: 2px;
  animation: embers-flashing 1s linear infinite;
  opacity: 0;
}

@keyframes embers-flashing {
  0%,
  100% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
}

/* --------------------------------------------------------------------------
   News
   -------------------------------------------------------------------------- */
.p-news {
  position: relative;
  z-index: 4;
  padding-block: var(--space-2xl) var(--space-xl);
  background-color: var(--color-bg);
  background-image: var(--bg-image);
  background-repeat: repeat;
  background-position: top left;
  background-size: 640px;
}

.p-news__layout {
  display: grid;
  grid-template-columns: minmax(10rem, 0.35fr) 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.p-news__more {
  margin-top: var(--space-md);
}

.p-news__list {
  border-top: 1px solid var(--color-border);
}

.p-news__item {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: var(--space-md);
  align-items: baseline;
  padding-block: 1.1rem;
  border-bottom: 1px solid var(--color-border);
}

.p-news__date {
  font-size: 0.8125rem;
  color: var(--color-muted);
  letter-spacing: var(--letter-spacing-base);
}

.p-news__title {
  font-size: 0.95rem;
  text-decoration: none;
}

a.p-news__title:hover {
  color: var(--color-accent);
}

.p-news__illustration {
  display: flex;
  justify-content: center;
  margin-top: var(--space-xl);
}

.p-news__illustration img {
  width: min(100%, 300px);
}

/* --------------------------------------------------------------------------
   Instagram（TOP）
   -------------------------------------------------------------------------- */
.p-instagram {
  position: relative;
  z-index: 4;
  padding-block: var(--space-xl) var(--space-2xl);
  background-color: #faf3ed;
}

.p-instagram__head {
  margin-bottom: var(--space-md);
}

.p-instagram__feed {
  max-width: 960px;
  margin-inline: auto;
}

.p-instagram__feed:empty {
  display: none;
}

.p-news--archive {
  padding-block: 0 var(--space-2xl);
}

.p-news--archive .p-stories__head {
  margin-top: var(--space-md);
}

.p-column--archive {
  padding-bottom: var(--space-2xl);
}



/* --------------------------------------------------------------------------
   Single / page
   -------------------------------------------------------------------------- */
.l-page--single,
.l-page--with-sidebar {
  padding-block: var(--space-lg) var(--space-2xl);
}

.l-single {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.c-single {
  background: #fdfdfd;;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  max-width: 60rem;
  margin-inline: auto;
  width: 100%;
}

.c-single__header {
  margin-bottom: var(--space-md);
}

.c-single__title {
  font-size: clamp(1.5rem, 2.8vw, 28px);
  font-weight: var(--font-weight-base);
  line-height: 1.45;
  margin-block: 0.5rem 0.75rem;
}

.c-single__caption {
  color: var(--color-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.c-single__media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  background: var(--soft-ash);
  border-radius: var(--radius-media);
}

.c-single__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c-post-nav {
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
  max-width: 52rem;
  margin-inline: auto;
  width: 100%;
}

.c-post-nav__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.c-post-nav__link {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.c-post-nav__link--no-media {
  grid-template-columns: minmax(0, 1fr);
}

.c-post-nav__link--empty {
  pointer-events: none;
}

.c-post-nav__link--next {
  grid-template-columns: minmax(0, 1fr) 4.5rem;
  text-align: right;
  justify-self: stretch;
}

.c-post-nav__link--next.c-post-nav__link--no-media {
  grid-template-columns: minmax(0, 1fr);
}

.c-post-nav__link--next .c-post-nav__visual {
  order: 2;
}

.c-post-nav__link--next .c-post-nav__body {
  order: 1;
}

.c-post-nav__link--no-media .c-post-nav__visual {
  grid-column: 1 / -1;
}

.c-post-nav__visual {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.c-post-nav__media {
  margin: 0;
  width: 4.5rem;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--soft-ash);
}

.c-post-nav__link--next .c-post-nav__visual {
  align-items: flex-end;
}

.c-post-nav__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.c-post-nav__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
  padding-top: 1.35rem;
}

.c-post-nav__label {
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--color-muted);
  white-space: nowrap;
}

.c-post-nav__title {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-text);
}

.c-post-nav__caption {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--color-muted);
}

.c-post-nav__link:hover .c-post-nav__title {
  color: var(--color-accent);
}

.c-related {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.c-related__head {
  margin-bottom: var(--space-md);
  text-align: center;
}

.c-related__title {
  font-size: 1.15rem;
  color: var(--color-accent);
  margin: 0;
}

.c-related__sub {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

.c-related__interview .p-stories__grid {
  margin: 0;
}

.c-related__pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 0 var(--space-lg);
  align-items: start;
}

.c-related__vline {
  width: 1px;
  align-self: stretch;
  background-color: var(--color-border);
  min-height: 100%;
}

.c-related__col .c-related__head {
  text-align: left;
  margin-bottom: 0.75rem;
}

.c-related__feed {
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-related__feed-item {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  margin-top: -1px;
}

.c-related__feed-item:first-child {
  margin-top: 0;
}

.c-related__feed-link {
  display: block;
  padding-block: 1.1rem;
  text-decoration: none;
  color: inherit;
}

.c-related__feed-link--dated {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: baseline;
}

.c-related__feed-date {
  font-size: 0.8125rem;
  color: var(--color-muted);
  letter-spacing: var(--letter-spacing-base);
}

.c-related__feed-title {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-text);
}

.c-related__feed-link:hover .c-related__feed-title {
  color: var(--color-accent);
}

.c-related__empty {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.c-related__more {
  margin: 1rem 0 0;
  font-size: 0.8rem;
}

.c-single__content,
.c-page__content,
.entry-content {
  line-height: 1.9;
}

.c-page--legal {
  padding-bottom: var(--space-2xl);
}

.c-page--legal .p-stories__head {
  margin-top: var(--space-md);
}

.c-page--legal .c-page__content {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
  background: #fff;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.entry-content > * + * {
  margin-top: 1.25em;
}

.entry-content a {
  color: var(--quiet-teal);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--color-text);
  font-weight: var(--font-weight-base);
  letter-spacing: var(--letter-spacing-base);
  line-height: 1.4;
}

.entry-content h2 {
  font-size: 1.4rem;
  padding-bottom: 0.35em;
  border-top: 1px solid var(--color-muted);
  border-bottom: 1px solid var(--color-muted);
  color: var(--color-muted);
  font-weight: 300;
  padding-top: 0.35em;
 margin-top: var(--space-lg);
 margin-bottom: var(--space-md);
}

.entry-content h3 {
  font-size: 1.25rem;
  color: var(--quiet-teal);
}

.entry-content h4 {
  font-size: 1.0625rem;
}

/* 見出し：スタイルなし */
.entry-content .is-style-plain,
.entry-content h2.is-style-plain,
.entry-content h3.is-style-plain,
.entry-content h4.is-style-plain,
.entry-content h5.is-style-plain,
.entry-content h6.is-style-plain {
  border: none;
  padding: 0;
  margin-top: 1.25em;
  margin-bottom: 0;
  color: var(--color-text);
  font-size: inherit;
  font-weight: var(--font-weight-base);
  line-height: 1.4;
  letter-spacing: var(--letter-spacing-base);
}

.entry-content h2.is-style-plain {
  font-size: 1.4rem;
}

.entry-content h3.is-style-plain {
  font-size: 1.25rem;
}

.entry-content h4.is-style-plain {
  font-size: 1.0625rem;
}

.entry-content ul,
.entry-content ol {
  margin: 0;
  padding-left: 1.5em;
  list-style: revert;
}

.entry-content li + li {
  margin-top: 0.4em;
}

.entry-content blockquote {
  margin: 0;
  padding: 0.75em 1em;
  border-left: 3px solid var(--color-accent);
  color: var(--color-muted);
  background: rgba(255, 255, 255, 0.55);
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-media);
}

.entry-content figcaption {
  margin-top: 0.5em;
  font-size: 0.8125rem;
  color: var(--color-muted);
  text-align: center;
}

/* Group block */
.entry-content .wp-block-group {
  border-radius: var(--radius-card);
  box-sizing: border-box;
}

.entry-content .wp-block-group.has-background {
  overflow: hidden;
}

/* Font Awesome icons in content */
.entry-content .embers-fa-icon,
.entry-content .fa-solid,
.entry-content .fa-regular,
.entry-content .fa-brands,
.entry-content i[class*="fa-"],
.entry-content span[class*="fa-"] {
  display: inline-block;
  line-height: 1;
  vertical-align: -0.125em;
  font-style: normal;
}

.embers-fa-icon-wrap {
  line-height: 1;
}

/* Marker highlight（記事本文） */
.entry-content .embers-marker,
.entry-content mark.embers-marker {
  background: linear-gradient(
    transparent 62%,
    rgba(217, 73, 32, 0.22) 62%
  );
  color: inherit;
  padding: 0 0.05em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* --------------------------------------------------------------------------
   Column（コラム一覧）
   -------------------------------------------------------------------------- */
.p-column__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.p-column__item {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-md);
}

.p-column__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.p-column__link {
  display: grid;
  grid-template-columns: minmax(0, 200px) 1fr;
  gap: var(--space-md);
  align-items: start;
  text-decoration: none;
  color: inherit;
}

.p-column__link:hover .p-column__title {
  color: var(--color-accent);
}

.p-column__media {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--soft-ash);
}

.p-column__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-column__title {
  font-size: 1.125rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.p-column__date {
  display: block;
  font-size: 0.8125rem;
  color: var(--color-muted);
  letter-spacing: var(--letter-spacing-base);
  margin-bottom: 0.35rem;
}

.p-column__excerpt {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin: 0;
}

/* --------------------------------------------------------------------------
   Guide（取材のご案内）
   -------------------------------------------------------------------------- */
.p-guide__hero {
  padding-block: var(--space-xl) var(--space-lg);
}

.p-guide__hero-inner {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 420px);
  grid-template-areas:
    "title illust"
    "lead illust";
  gap: var(--space-lg);
  align-items: center;
}

.p-guide__hero-text {
  display: contents;
}

.p-guide__hero-title {
  grid-area: title;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.p-guide__hero-lead {
  grid-area: lead;
  font-size: 0.9375rem;
  color: var(--color-text);
  margin: 0;
}

.p-guide__hero-illust {
  grid-area: illust;
  margin: 0;
  justify-self: end;
}

.p-guide__hero-illust img {
  width: 100%;
  height: auto;
}

.p-guide__section {
  width: 100%;
  margin-bottom: 0;
  padding-block: var(--space-xl);
}

/* セクション背景を交互に（Benefits, Price, FAQ… = #faf3ed） */
.p-guide > .p-guide__section:nth-of-type(odd) {
  background-color: #faf3ed;
}

.p-guide > .p-guide__section:last-child {
  padding-bottom: var(--space-2xl);
}

.p-guide__prose {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr);
  gap: var(--space-lg);
  align-items: center;
  max-width: var(--container);
  margin-inline: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  padding: var(--space-md) var(--space-lg);
}

.p-guide__prose-text {
  min-width: 0;
}
.p-guide__prose-text ul {
  margin-bottom: 1.25em;
  list-style: none;
  padding: 0;
}

.p-guide__prose-text ul li {
  position: relative;
  margin-bottom: 0.65em;
  padding-left: 1.55em;
  font-size: 0.875rem;
  line-height: 1.7;
}

.p-guide__prose-text ul li::before {
  content: "";
  position: absolute;
  left: 0.35em;
  top: 0.35em;
  width: 0.35em;
  height: 0.65em;
  border-right: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  transform: rotate(45deg);
}
.p-guide__prose-text p {
  margin-bottom: 1.25em;
}
.p-guide__prose-media {
  margin: 0;
  justify-self: end;
  max-width: 25rem;
  width: 100%;
}

.p-guide__prose-media img {
  display: block;
  width: 100%;
  height: auto;
}

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

.p-guide__head {
  width: 100%;
  margin-bottom: var(--space-lg);
}

.p-guide__head .p-stories__head-inner {
  width: 100%;
  padding-inline: 0;
}

.p-guide__text {
  font-size: 0.8rem;
}

.p-guide__text--lead {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  line-height: 1.85;
  color: var(--color-text);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);
}

.p-guide__note {
  margin-top: var(--space-sm);
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--color-muted);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-sm);

}

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

.p-guide__list li {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.p-guide__list-media {
  margin: 0;
  aspect-ratio: 4 / 3;
  background-color: var(--soft-ash);
  overflow: hidden;
}

.p-guide__list-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 8rem;
  background-color: var(--soft-ash);
  background-image:
    linear-gradient(135deg, transparent 45%, #e0d8ce 45%, #e0d8ce 55%, transparent 55%),
    linear-gradient(45deg, transparent 45%, #e0d8ce 45%, #e0d8ce 55%, transparent 55%);
  background-size: 16px 16px;
}

.p-guide__list-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-guide__list-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.15rem 1.25rem;
}

.p-guide__list-label {
  font-size: 0.9375rem;
  color: var(--color-text);
  line-height: 1.5;
}

.p-guide__list-text {
  font-size: 0.8125rem;
  color: var(--color-muted);
  line-height: 1.7;
}

.p-guide__bullets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0 4rem;
  text-align: center;
  align-items: start;
}

.p-guide__bullets li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.p-guide__bullets li:not(:last-child)::after {
  content: "+";
  position: absolute;
  top: 7rem;
  right: -0.35rem;
  z-index: 1;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--font-weight-base);
  line-height: 1;
  color: var(--color-accent);
  transform: translate(50%, -50%);
  pointer-events: none;
}

.p-guide__bullets-icon {
  display: block;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  overflow: hidden;
  background-color: transparent;
  flex-shrink: 0;
}

.p-guide__bullets-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.p-guide__bullets-label {
  font-size: 1rem;
  line-height: 1.45;
  color: var(--color-accent);
}

.p-guide__bullets-text {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--color-muted);
}

.p-guide__price-card {
  max-width: 36rem;
  margin: 0 auto var(--space-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2rem);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  text-align: center;
}

.p-guide__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  justify-content: center;
  padding-bottom: 0.85rem;
  margin: 0 auto 0.85rem;
  border-bottom: 1px solid var(--color-border);
  width: fit-content;
}

.p-guide__price-value {
  font-size: clamp(2rem, 6vw, 2.5rem);
  color: var(--color-text);
  letter-spacing: 0.06em;
  line-height: 1;
}

.p-guide__price-unit {
  font-size: 1rem;
  color: var(--color-text);
}

.p-guide__price-note {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.8;
  color: var(--color-muted);
  text-align: center;
}

.p-guide__package {
  margin-top: var(--space-md);
}

.p-guide__package-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: var(--space-md);
  text-align: center;
}

.p-guide__package-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: var(--font-weight-base);
  letter-spacing: var(--letter-spacing-base);
  color: var(--color-accent);
  line-height: 1.35;
}

.p-guide__package-sub {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text);
}

.p-guide__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem 1.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.p-guide__step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  padding: 2.5rem 0.85rem 1.5rem;
  text-align: center;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
}

.p-guide__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -0.95rem;
  z-index: 2;
  width: 0.55rem;
  height: 0.55rem;
  border-top: 1.5px solid var(--color-accent);
  border-right: 1.5px solid var(--color-accent);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

/* Who is embers. と同様の中抜き数字 */
.p-guide__step-num {
  position: absolute;
  top: 0.55rem;
  left: 0.55rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 0.8;
  pointer-events: none;
  user-select: none;
}

.p-guide__step-num-en {
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--color-accent);
  letter-spacing: 5px;
  margin-left: 4px;
}

.p-guide__step-num-digit {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: var(--font-weight-base);
  letter-spacing: var(--letter-spacing-base);
  color: transparent;
  -webkit-text-stroke: 1px var(--color-accent);
  paint-order: stroke fill;
  letter-spacing: 0;
}

.p-guide__step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: 100%;
  max-width: 7.5rem;
}

.p-guide__step-icon img {
  display: block;
  width: 80%;
  height: auto;
}

.p-guide__step-title {
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text);
}

.p-guide__step-text {
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--color-muted);
}

.p-guide__step-text a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.p-guide__faq {
  border-top: 1px solid var(--color-border);
}

.p-guide__faq-item {
  border-bottom: 1px solid var(--color-border);
}

.p-guide__faq-q {
  cursor: pointer;
  list-style: none;
  padding: 1rem 1.75rem 1rem 2.25rem;
  font-size: 0.9375rem;
  color: var(--color-text);
  position: relative;
}

.p-guide__faq-q::before {
  content: "Q.";
  position: absolute;
  left: 0;
  top: 1rem;
  font-weight: var(--font-weight-base);
  letter-spacing: var(--letter-spacing-base);
  color: var(--color-accent);
  line-height: 1.7;
}

.p-guide__faq-q::-webkit-details-marker {
  display: none;
}

.p-guide__faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 1rem;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1;
}

.p-guide__faq-item[open] .p-guide__faq-q::after {
  content: "−";
}

.p-guide__faq-a {
  position: relative;
  margin: 0 0 1rem;
  padding: 0 1.75rem var(--space-sm) 2.25rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.p-guide__faq-a::before {
  content: "A.";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: var(--font-weight-base);
  letter-spacing: var(--letter-spacing-base);
  color: var(--color-accent);
  line-height: 1.7;
}

.p-guide__section--cta {
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.p-guide__cta {
  margin-top: var(--space-md);
}

.c-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.75rem;
  font-size: 0.9375rem;
  letter-spacing: var(--letter-spacing-base);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
  line-height: 1.4;
}

.c-btn--accent {
  color: #fdfdfd;;
  background: var(--color-accent);
  border-color: var(--color-accent);
}

a.c-btn--accent:hover {
  color: #fdfdfd;;
  opacity: 0.88;
}

.c-btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   Responsive ≤768px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  :root {
    --font-size-base: 14px;
    --space-md: 1.25rem;
    --space-lg: 1.85rem;
    --space-xl: 2.75rem;
    --space-2xl: 3.75rem;
  }

  body {
    font-size: 1rem;
    line-height: 1.75;
  }

  .c-section-head {
    margin-bottom: var(--space-md);
  }

  .c-section-head--inline {
    padding-top: 0.55rem;
    padding-bottom: 0.65rem;
    margin-bottom: var(--space-md);
  }

  .c-section-head__title {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
  }

  .entry-content h2 {
    margin-top: var(--space-md);
    margin-bottom: var(--space-sm);
  }

  .entry-content h3,
  .entry-content h4,
  .entry-content .is-style-plain,
  .entry-content h2.is-style-plain,
  .entry-content h3.is-style-plain,
  .entry-content h4.is-style-plain {
    margin-top: 1em;
  }

  .entry-content > * + * {
    margin-top: 1em;
  }

  .p-guide__section,
  .p-instagram {
    padding-block: var(--space-lg);
  }

  .p-stories__head {
    margin-bottom: var(--space-md);
  }

  .l-header__inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0.75rem;
    padding-block: 0.85rem 0.75rem;
  }

  .l-header__inner > .c-logo,
  .l-header__inner > .custom-logo-link {
    grid-column: 2;
    justify-self: center;
  }

  .l-header__inner > .c-logo .c-logo__img,
  .l-header__inner > .c-logo .custom-logo,
  .l-header__inner > .custom-logo-link .custom-logo {
    height: 36px;
    max-height: 36px;
    width: auto;
  }

  .l-header {
    z-index: 120;
  }

  .c-nav-toggle {
    display: block;
    grid-column: 3;
    justify-self: end;
  }

  .c-footer-nav__list {
    display: none;
  }

  .c-nav {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 115;
    width: min(18rem, 78vw);
    height: 100%;
    margin: 0;
    padding: 0;
    background: #fdfdfdee;
    border-left: 4px solid var(--ember-glow);
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transform: translateX(100%);
    transition:
      transform 0.6s ease,
      opacity 0.6s ease,
      visibility 0.6s ease;
  }

  .c-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
  }

  .c-nav__panel {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 4.5rem 1.25rem 2rem;
    box-sizing: border-box;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  .c-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.35rem;
    width: 100%;
    padding: 0;
  }

  .c-nav__link {
    align-items: flex-start;
  }

  body.is-nav-open {
    overflow: hidden;
  }

  .p-hero__inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
  }

  /* SP: テキスト → プレビュー → イラストの順 */
  .p-hero__content {
    display: contents;
  }

  .p-hero__map {
    width: min(130%, 240px);
    top: 7.5rem;
    transform: translate(-50%, 0);
    opacity: 0.85;
  }

  .p-hero__text {
    order: 1;
  }
  .p-hero__lead {
    font-size: 14px;
    line-height: 1.5;
  }

  .p-hero__preview {
    order: 2;
  }

  .p-hero__illustration {
    order: 3;
    max-width: 100%;
  }

  .p-hero__illustration img {
    width: 100%;
    max-width: 100%;
  }
  .c-scroll-down{
    bottom: -4.75rem;
  }

  /* SP: 見出しを1行表示 */
  .p-hero__title {
    font-size: clamp(1.55rem, 6.2vw, 2.1rem);
  }

  .p-hero__title br {
    display: none;
  }

  .c-story-card--overlay .c-story-card__media {
    aspect-ratio: 16 / 9;
  }

  .p-stories__grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .c-section-more--end {
    text-align: left;
  }

  .p-wanted {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: var(--space-md);
  }

  .p-wanted__text {
    display: contents;
  }

  .p-wanted__title {
    order: 1;
  }

  .p-wanted__lead {
    order: 2;
  }

  .p-wanted__body {
    order: 3;
  }

  .p-wanted__illustration {
    order: 4;
    margin: 0 auto var(--space-md);
    max-width: 220px;
  }

  .p-wanted__more {
    order: 5;
  }

  .c-profile-card,
  .c-profile-card--flip {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: left;
    gap: var(--space-md);
  }

  .c-profile-card__body,
  .c-profile-card--flip .c-profile-card__body {
    order: 1;
    width: 100%;
    text-align: left;
  }

  .c-profile-card__photo,
  .c-profile-card--flip .c-profile-card__photo {
    order: 2;
    width: 100%;
    max-width: 160px;
    justify-self: center;
  }

  .c-profile-card--boxed .c-profile-card__photo {
    max-width: 140px;
  }

  .c-profile-card__more,
  .c-profile-card__sns {
    text-align: left;
  }

  .p-stack__panel > .l-container,
  .p-stack__panel > .p-what__inner {
    padding-block: var(--space-sm) var(--space-lg);
    justify-content: flex-start;
  }

  .p-stack__panel > .p-what__inner {
    padding-top: var(--space-sm);
  }

  .p-what__illustration {
    width: 120px;
    max-width: 120px;
    margin-bottom: var(--space-md);
  }

  .p-what__illustration img {
    width: 100%;
    height: auto;
  }

  .p-stack__panel,
  .p-stack__panel,.p-wanted__lead,.p-wanted__body,
  .p-stack__panel .c-section-head__lead--center {
    text-align: left;
  }

  .p-what__intro {
    margin-inline: 0;
  }

  .p-news > .l-container {
    display: flex;
    flex-direction: column;
  }

  .p-news__layout,
  .p-news__head {
    display: contents;
  }

  .p-news__head .c-section-head__title,
  .p-news__head .c-section-head__sub {
    order: 1;
    width: 100%;
    text-align: center;
  }

  .p-news__list {
    order: 2;
    width: 100%;
  }

  .p-news__more {
    order: 3;
    width: 100%;
    margin-top: var(--space-md);
    text-align: center;
  }

  .p-news__illustration {
    order: 4;
    margin-top: var(--space-lg);
  }

  .p-news__illustration img {
    width: min(100%, 160px);
  }

  .p-news__item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .c-deco-title,
  .p-stack__panel > .c-deco-title {
    top: -1rem;
    -webkit-text-stroke: 1px rgba(34, 29, 26, 0.18);
  }

  .c-deco-title {
    font-size: clamp(2rem, 8vw, 4rem);
  }

  .p-guide__hero {
    padding-block: var(--space-lg) var(--space-md);
  }

  .p-guide__hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "illust"
      "lead";
    gap: var(--space-md);
  }

  .p-guide__hero-title {
    margin-bottom: 0;
  }

  .p-guide__hero-illust {
    justify-self: center;
    max-width: 280px;
    margin-block: var(--space-sm);
  }

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

  .p-guide__list-label,
  .p-guide__bullets-label,
  .p-guide__step-title {
    font-size: 16px;
  }

  .p-guide__list-text,
  .p-guide__prose-text ul li,
  .p-guide__prose-text p,
  .p-guide__bullets-text,
  .p-guide__step-text,
  .p-guide__faq-a,
  .p-guide__text {
    font-size: 14px;
  }

  .p-guide__price-note {
    font-size: 12px;
    text-align: left;
  }

  .p-guide__steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1.25rem;
  }

  .p-guide__step:not(:last-child)::after {
    display: none;
  }

  .p-guide__step:nth-child(odd):not(:last-child)::after {
    display: block;
  }

  .p-guide__bullets {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-inline: 0;
  }

  .p-guide__bullets li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -1.1rem;
    left: 50%;
    transform: translate(-50%, 50%);
  }

  .p-guide__prose {
    grid-template-columns: 1fr;
    gap: var(--space-md);
    padding: var(--space-md);
  }

  .p-guide__prose-media {
    justify-self: center;
    max-width: 16rem;
    order: -1;
  }

  .c-btn {
    width: 100%;
  }

  .p-column__link {
    grid-template-columns: 1fr;
  }

  .p-column__media {
    max-width: 280px;
  }

  .c-related__pair {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .c-related__vline {
    display: none;
  }

  .c-post-nav__inner {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .c-post-nav__link--next {
    grid-template-columns: 4.5rem minmax(0, 1fr);
    text-align: left;
  }

  .c-post-nav__link--next.c-post-nav__link--no-media {
    grid-template-columns: minmax(0, 1fr);
  }

  .c-post-nav__link--next .c-post-nav__visual,
  .c-post-nav__link--next .c-post-nav__body {
    order: initial;
  }

  .c-post-nav__link--next .c-post-nav__visual {
    align-items: flex-start;
  }
}

/* --------------------------------------------------------------------------
   Responsive ≤480px
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .l-container {
    width: min(100% - 1.5rem, var(--container));
  }

  .p-hero {
    padding-block: var(--space-md) 0;
  }

  .p-hero__title {
    font-size: clamp(1.4rem, 6.8vw, 1.85rem);
  }

  .p-stories,
  .p-what,
  .p-profile,
  .p-news {
    padding-block: var(--space-md);
  }

  .c-profile-card--boxed {
    padding: var(--space-md);
  }

  .p-guide__list {
    grid-template-columns: 1fr;
  }

  .p-guide__steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .p-guide__step:not(:last-child)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: -1.05rem;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
}
