:root {
  --color-text: #111111;
  --color-muted: #666666;
  --color-border: #e5e5e5;
  --color-bg: #ffffff;
  --color-bg-soft: #f7f7f7;
  /* 白地のリンクのホバー色（コントラスト比 4.5:1 以上） */
  --color-blue-text: #0a7fae;
  /* 色はほぼ白黒で組み、差し色は ENTRY 系の2色グラデーション（コーラルピンク→オレンジ）だけに絞る。
     白文字は鮮やかさを優先したためコントラスト比 4.5:1 に届かないので、影を付けて読みやすさを補う */
  --color-entry-start: #ff2e63;
  --color-entry-end: #ff8a1a;
  --gradient-entry: linear-gradient(110deg, var(--color-entry-start), var(--color-entry-end));
  --shadow-soft: 0 18px 45px rgba(17, 17, 17, 0.08);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --container: 1120px;
  --header-height: 76px;
  /* セクションの上下の余白と、薄いグレーの帯 */
  --section-space: clamp(72px, 9vw, 112px);
  --color-band: #f4f4f4;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.75;
}

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

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

a,
button {
  touch-action: manipulation;
}

button,
input,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(19, 184, 241, 0.45);
  outline-offset: 4px;
}

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

.skip-link:focus {
  z-index: 1000;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  clip: auto;
  border-radius: 999px;
  background: var(--color-text);
  color: #fff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(229, 229, 229, 0.75);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: min(var(--container), calc(100% - 48px));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header__brand,
.site-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  flex: 0 0 auto;
}

.site-header__brand img {
  width: 182px;
  height: auto;
}

.site-header__brand span {
  color: #333;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 34px);
  flex: 0 1 auto;
  margin-left: auto;
  font-size: 13px;
  font-weight: 800;
}

.global-nav a {
  padding: 10px 0;
  transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .global-nav a:hover {
    color: var(--color-blue-text);
  }
}

.global-nav__external {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.external-link-icon {
  font-size: 0.85em;
  line-height: 1;
  transform: translateY(-1px);
}

.global-nav a.is-current {
  position: relative;
  color: var(--color-text);
}

.global-nav a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: var(--color-text);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  transition: transform 140ms var(--ease-out);
}

.nav-toggle:active {
  transform: scale(0.97);
}

.nav-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-text);
  border-radius: 999px;
  transition:
    transform 220ms var(--ease-out),
    opacity 120ms ease;
}

/* 開いている間は三本線を「×」にする */
.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 54px;
  padding: 0 36px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: #fff;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
  -webkit-user-select: none;
  user-select: none;
  transition:
    transform 140ms var(--ease-out),
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.button:active {
  transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
  }

  .button:hover:active {
    transform: translateY(0) scale(0.97);
  }
}

.button--entry {
  min-height: 52px;
  padding-inline: 30px;
  border: 0;
  background: var(--gradient-entry);
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  letter-spacing: 0.08em;
}

.entry-menu {
  position: relative;
  flex: 0 0 auto;
}

.entry-menu__button {
  cursor: pointer;
}

.entry-menu__panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  min-width: 158px;
  padding: 8px;
  border: 0;
  border-radius: 8px;
  background: var(--gradient-entry);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform-origin: top right;
  transform: translateY(-4px) scale(0.96);
  /* 閉じるときは開くときより速く */
  transition:
    opacity 120ms ease,
    transform 120ms var(--ease-out),
    visibility 0s linear 120ms;
}

/* キーボードでは、ボタンを押したときだけ開く（:focus-within で開くと Esc で閉じられない） */
.entry-menu.is-open .entry-menu__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition:
    opacity 180ms ease,
    transform 220ms var(--ease-out),
    visibility 0s;
}

@media (hover: hover) and (pointer: fine) {
  .entry-menu:hover .entry-menu__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    transition:
      opacity 180ms ease,
      transform 220ms var(--ease-out),
      visibility 0s;
  }
}

.entry-menu__panel a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}

/* 白を重ねると白文字のコントラストが落ちるため、黒を重ねて示す */
.entry-menu__panel a:focus-visible {
  background: rgba(0, 0, 0, 0.18);
}

@media (hover: hover) and (pointer: fine) {
  .entry-menu__panel a:hover {
    background: rgba(0, 0, 0, 0.18);
  }
}


.button--outline {
  border-color: #aeb4bd;
}

/* 枠線だけのボタン（CTA の新卒エントリーなど） */
.button--line {
  border-color: var(--color-text);
}

/* ===== レイアウトの共通部品 ===== */
.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* 薄いグレーの帯 */
.band {
  background: var(--color-band);
}

.page-section {
  padding: var(--section-space) 0;
}

/* 一覧ページは見出しを置かず、ヒーローのすぐ下から一覧を始める */
.page-section--rows {
  padding-top: clamp(24px, 3vw, 40px);
}

/* 写真タイルが並ぶ一覧は、ヒーローとの間を広めに取る */
.page-section--tiles {
  padding-top: clamp(48px, 6vw, 80px);
}

.section-heading {
  margin-bottom: 48px;
}

.section-heading__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.section-heading__text {
  max-width: 40em;
  margin: 14px 0 0;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.9;
  text-wrap: pretty;
}

/* 下線つきの文字リンク（「インタビューを読む →」など）。
   カード全体がリンクのときは span で置き、カードのホバーで動かす */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 0 4px 10px 0;
  border-bottom: 1px solid #c9c9c9;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.4;
  transition:
    border-color 0.2s ease,
    gap 0.2s var(--ease-out);
}

a.text-link:focus-visible,
a:focus-visible .text-link {
  gap: 22px;
  border-color: var(--color-text);
}

@media (hover: hover) and (pointer: fine) {
  a.text-link:hover,
  a:hover .text-link {
    gap: 22px;
    border-color: var(--color-text);
  }
}

/* セクション末尾の「〜一覧 →」 */
.section-more {
  margin-top: 48px;
}

.tag {
  display: inline-block;
  color: var(--color-text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

/* ===== TOP：ヒーロー（動画） ===== */
.hero {
  position: relative;
}

.hero__title {
  margin: 0;
  font-weight: 900;
  line-height: 1.08;
}

.hero__lead {
  margin: 18px 0 0;
  font-weight: 900;
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 36px;
}

.top-video-page .site-header {
  background: rgba(255, 255, 255, 0.86);
}

.hero--video {
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100svh - var(--header-height));
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #111;
  isolation: isolate;
}

.hero-video,
.hero-video video,
.hero-video__fallback,
.hero-video__overlay {
  position: absolute;
  inset: 0;
}

.hero-video {
  z-index: -3;
  overflow: hidden;
  pointer-events: none;
}

.hero-video__fallback {
  z-index: -2;
  background:
    url("../images/bg_alt_img_office2.webp") center / cover no-repeat,
    #111;
  transform: scale(1.04);
}

.hero-video video {
  left: 50%;
  top: 50%;
  width: max(100vw, 177.78vh);
  height: max(56.25vw, 100vh);
  border: 0;
  object-fit: cover;
  transform: translate(-50%, -50%);
}

.hero-video__overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.74) 0%, rgba(0, 0, 0, 0.62) 38%, rgba(0, 0, 0, 0.08) 76%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42) 0%, transparent 48%);
}

.hero__content--video {
  position: relative;
  z-index: 1;
  width: min(720px, calc(100% - 96px));
  margin-left: max(48px, calc((100% - var(--container)) / 2));
  margin-right: auto;
  padding: clamp(72px, 12vh, 128px) 0;
  color: #fff;
}

.hero__content--video .hero__title {
  font-size: clamp(56px, 6.4vw, 96px);
  letter-spacing: -0.02em;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.32);
}

.hero__content--video .hero__lead {
  font-size: clamp(16px, 1.6vw, 20px);
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.4);
}

.hero__content--video .button {
  min-height: 48px;
  padding-inline: 28px;
  font-size: 14px;
}

.hero__content--video .button--outline {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(17, 17, 17, 0.18);
  color: #fff;
  backdrop-filter: blur(12px);
}

/* ===== TOP：事業紹介 ===== */
.top-business,
.top-strength {
  padding: var(--section-space) 0;
}

.top-business__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(40px, 6vw, 80px);
}

.top-business .section-heading {
  margin-bottom: 0;
}

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

.business-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  font-weight: 800;
  transition:
    color 0.2s ease,
    padding 0.2s var(--ease-out);
}

/* リンクだと分かるよう、行の右端に小さな山形を置く（→ より控えめに） */
.business-links a::after {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin: 0 6px 0 auto;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  opacity: 0.55;
  transform: rotate(45deg);
  transition:
    transform 0.2s var(--ease-out),
    opacity 0.2s ease;
}

.business-links a:focus-visible::after {
  opacity: 1;
  transform: translateX(4px) rotate(45deg);
}

@media (hover: hover) and (pointer: fine) {
  .business-links a:hover {
    padding-left: 6px;
    color: var(--color-blue-text);
  }

  .business-links a:hover::after {
    opacity: 1;
    transform: translateX(4px) rotate(45deg);
  }
}

/* IPコンテンツ事業：見出し（リンクなし）の下に2つの事業をまとめる */
.business-links__group {
  padding: 16px 0 8px;
  border-bottom: 1px solid var(--color-border);
}

.business-links__group-name {
  display: block;
  font-size: 15px;
  font-weight: 800;
}

.business-links__sub {
  margin: 4px 0 0;
  padding: 0 0 0 16px;
  list-style: none;
}

.business-links .business-links__sub a {
  min-height: 40px;
  border-bottom: 0;
  color: #444;
  font-size: 14px;
  font-weight: 700;
}

.business-links__sub a::before {
  content: "";
  width: 8px;
  height: 1px;
  background: #b5b5b5;
}

.top-business__image {
  margin: 0;
  aspect-ratio: 5 / 3.4;
  overflow: hidden;
  background: var(--color-bg-soft);
}

.top-business__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 50%;
}

/* ===== TOP：強み ===== */
.strength-points {
  --strength-gap: clamp(40px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px var(--strength-gap);
}

.strength-stat {
  position: relative;
}

/* 数字2つの間の縦線 */
.strength-stat + .strength-stat::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(var(--strength-gap) / -2);
  width: 1px;
  background: #cfcfcf;
}

.strength-stat__label {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
}

.strength-stat__value {
  margin: 6px 0 0;
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}

.strength-stat__value small {
  margin-left: 0.2em;
  font-size: 0.6em;
  font-weight: 900;
}
.strength-stat__text,
.strength-point__text {
  margin: 8px 0 0;
  color: #444;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.8;
}

.strength-point__title {
  margin: 0;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.4;
}

.strength-point__media {
  margin: 18px 0 0;
  aspect-ratio: 16 / 6.4;
  overflow: hidden;
  background: #e2e2e2;
}

.strength-point__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 横長に切り抜くので、モニターと人物の顔が入る位置に合わせる */
.strength-point__media--drama img {
  object-position: 62% 22%;
}

/* 「企画 → 制作 → 出版」の丸い札 */
.step-pills {
  --step-gap: 28px;
  display: flex;
  align-items: center;
  gap: var(--step-gap);
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

/* li を札そのものにして、リストとしての意味を保つ（display: contents は読み上げで項目が消えることがある） */
.step-pills li {
  position: relative;
  flex: 1 1 0;
  max-width: 110px;
  padding: 7px 0;
  border: 1px solid #c4c4c4;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

/* 札と札の間の矢印。飾りなので CSS で描き、読み上げには含めない */
.step-pills li + li::before {
  content: "→";
  content: "→" / "";
  position: absolute;
  top: 50%;
  left: calc(var(--step-gap) / -2);
  color: #555;
  font-size: 13px;
  font-weight: 400;
  transform: translate(-50%, -50%);
}

/* ===== 社員インタビュー：写真と文章を左右交互に並べる ===== */
.top-interview {
  padding: var(--section-space) 0 clamp(24px, 4vw, 48px);
}

.interview-rows {
  display: grid;
  gap: clamp(48px, 6vw, 72px);
}

.interview-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
  width: min(920px, 100%);
  margin: 0 auto;
}

.interview-row--reverse .interview-row__image {
  order: 2;
}

.interview-row__image,
.interview-tile__image {
  margin: 0;
  aspect-ratio: 1 / 0.93;
  overflow: hidden;
  background: var(--color-bg-soft);
}

.interview-row__image img,
.interview-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s var(--ease-out);
}

.interview-row__role,
.interview-tile__role {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
}

.interview-row__quote {
  margin: 18px 0 0;
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.02em;
}

.interview-row__meta {
  margin: 16px 0 0;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.interview-row__body .text-link {
  margin-top: 28px;
}

/* 関連インタビュー：3人を横に並べる */
.related-interview {
  padding: var(--section-space) 0 0;
}

.related-interview__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 40px;
}

.interview-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px clamp(24px, 3vw, 40px);
}

.interview-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.interview-tile__image {
  align-self: stretch;
  margin-bottom: 18px;
}

.interview-tile__quote {
  margin: 8px 0 18px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.7;
}

.interview-tile .text-link {
  margin-top: auto;
}

@media (hover: hover) and (pointer: fine) {
  .interview-row:hover .interview-row__image img,
  .interview-tile:hover .interview-tile__image img,
  .business-tile:hover .business-tile__image img {
    transform: scale(1.03);
  }
}

/* 代表メッセージへの導線（TOP と社員インタビュー一覧で、社員インタビューの下に置く） */
.message-zone {
  padding: var(--section-space) 0;
}

/* 帯なし（TOP）：社員インタビューの続きとして、上の余白を詰める */
.message-zone--plain {
  padding: clamp(48px, 6vw, 72px) 0 clamp(24px, 4vw, 48px);
}

.message-zone .section-heading__text {
  word-break: auto-phrase;
}

/* ===== 締めのエントリー案内 ===== */
.cta {
  padding: clamp(56px, 7vw, 88px) 0 clamp(64px, 8vw, 96px);
  text-align: center;
}

.cta__title {
  margin: 0;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}

.cta__actions .button {
  min-width: 230px;
}

/* ===== フッター ===== */
.site-footer {
  border-top: 1px solid var(--color-border);
  background: #fff;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 32px;
  padding: 22px 0;
}

.site-footer__brand img {
  width: 120px;
  height: auto;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-left: auto;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.site-footer__nav a {
  transition: color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .site-footer__nav a:hover {
    color: var(--color-text);
  }
}

.site-footer__copy {
  margin: 0;
  color: var(--color-muted);
  font-size: 11px;
}

/* ===== 写真（背景画像で置くもの） ===== */
.photo {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-soft);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.photo--interview-01-large {
  background-image: url("../images/interview_img_01_large.webp");
  background-position: center top;
}

.photo--interview-02-large {
  background-image: url("../images/interview_img_02_large.webp");
  background-position: center top;
}

.photo--interview-03-large {
  background-image: url("../images/interview_img_03_large.webp");
  background-position: center top;
}

.photo--interview-04-large {
  background-image: url("../images/interview_img_04_large.webp");
  background-position: center top;
}

.photo--interview-01-small {
  background-image: url("../images/interview_img_01_small.webp");
}

.photo--interview-02-small {
  background-image: url("../images/interview_img_02_small.webp");
}

.photo--interview-03-small {
  background-image: url("../images/interview_img_03_small.webp");
}

.photo--interview-04-small {
  background-image: url("../images/interview_img_04_small.webp");
}

/* ===== 下層ページ：パンくず ===== */
.breadcrumb {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  padding: 20px 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.breadcrumb a {
  text-decoration: underline;
  text-decoration-color: rgba(102, 102, 102, 0.4);
  text-underline-offset: 3px;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .breadcrumb a:hover {
    color: var(--color-text);
    text-decoration-color: currentColor;
  }
}

/* ===== 下層ページ：ヒーロー（左に見出し、右に写真） ===== */
.page-hero,
.work-detail-hero,
.interview-detail-hero,
.event-detail-hero {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  padding: 32px 0 clamp(40px, 5vw, 64px);
}

/* 404 は写真なしの1カラム */
.page-hero--notfound {
  grid-template-columns: 1fr;
  min-height: max(420px, 56vh);
}

/* リード文の指定改行を崩さないよう、テキスト側の列を広げる */
.work-detail-hero--wide-lead {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.page-hero__title,
.work-detail-hero__title,
.event-detail-hero__title {
  margin: 0;
  font-size: clamp(36px, 4.4vw, 56px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.work-detail-hero__title,
.event-detail-hero__title {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.4;
}

/* 「クリエイティブ」のような長い語が見出し欄に1行で収まる大きさまで */
.work-detail-hero__title--long {
  font-size: clamp(30px, 3.4vw, 44px);
}

.interview-detail-hero__title {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.02em;
  text-wrap: balance;
}

/* 文節単位の span で、語の途中では折り返さない */
.page-hero__title span,
.work-detail-hero__title span,
.event-detail-hero__title span,
.interview-detail-hero__title span {
  display: inline-block;
}

.page-hero__lead,
.work-detail-hero__lead,
.event-detail-hero__lead,
.interview-detail-hero__lead {
  margin: 20px 0 0;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.95;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
}

.page-hero__visual,
.work-detail-hero__visual {
  position: relative;
  margin: 0;
  aspect-ratio: 5 / 3.4;
  overflow: hidden;
  background: var(--color-bg-soft);
}

.page-hero__visual img,
.work-detail-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-detail-hero__visual--contain img {
  object-fit: contain;
}

.work-detail-hero__visual--logo {
  border: 1px solid var(--color-border);
  background: #fff;
}

.work-detail-hero__visual--logo img {
  padding: 15%;
  object-fit: contain;
}

/* インタビュー詳細 */
.interview-detail-hero__meta {
  margin-bottom: 14px;
}

.interview-detail-hero__name {
  margin: 24px 0 4px;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.interview-detail-hero__role,
.interview-detail-hero__year {
  margin: 0;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.interview-detail-hero__visual {
  position: relative;
  aspect-ratio: 1 / 0.93;
  width: min(520px, 100%);
  justify-self: end;
}

.interview-detail-hero__photo {
  position: absolute;
  inset: 0;
}

/* ===== 下層ページ：一覧 ===== */
.business-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(64px, 7vw, 88px) clamp(40px, 5vw, 72px);
}

.business-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.business-tile__image {
  position: relative;
  align-self: stretch;
  margin: 0 0 20px;
  aspect-ratio: 16 / 7;
  overflow: hidden;
  background: var(--color-bg-soft);
}

.business-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.business-tile__image--logo {
  background: var(--color-band);
}

.business-tile__image--logo img {
  padding: 6% 0;
  object-fit: contain;
}

.business-tile__domain {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.business-tile__title {
  margin: 4px 0 0;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.45;
}

.business-tile__text {
  margin: 10px 0 20px;
  color: #444;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.9;
}

.business-tile .text-link {
  margin-top: auto;
}

/* ===== 事業詳細の本文 ===== */
/* 本文は読みやすい幅にして、ページの中央に置く */
.work-detail-body,
.event-detail-body,
.interview-story {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
}

.work-detail-body {
  padding: 8px 0 0;
}

.work-detail-body h2 {
  margin: 0;
  font-size: clamp(26px, 2.8vw, 34px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.work-detail-body__intro {
  margin: 12px 0 0;
  color: #333;
  font-size: 14px;
  font-weight: 600;
}

.work-feature {
  margin-top: 56px;
}

.work-feature h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

.work-feature p {
  margin: 0;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.05;
}

.flow-panel,
.network-panel {
  margin-top: 24px;
  background: var(--color-band);
}

.flow-panel {
  padding: 24px 28px 28px;
  text-align: center;
}

.flow-panel__title,
.network-panel__title {
  margin: 0 0 16px;
  color: #333;
  font-size: 13px;
  font-weight: 800;
}

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

.flow-list li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
}

.flow-list li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 26px;
  right: -22px;
  color: #999;
  font-size: 20px;
}

/* アイコンシートの色付きアイコンは、帯の上で白黒にして使う */
.flow-panel .icon-sheet,
.network-panel .icon-sheet {
  filter: grayscale(1) contrast(1.2);
}

/* アイコンシートは白地なので、グレーの帯に直接置くところは乗算で白を消す
   （制作体制の図は白い丸の上に置くので、そのまま） */
.network-panel .icon-sheet {
  mix-blend-mode: multiply;
}

.flow-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #fff;
}

.icon-sheet {
  display: block;
  overflow: hidden;
}

.network-panel {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 24px 40px 28px;
  text-align: center;
}

.network-panel__title {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.network-panel__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.network-panel__item p {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.7;
}

.network-panel__item strong {
  display: block;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.2;
}

.network-icon {
  width: 76px;
  height: 64px;
}

.network-panel__cross {
  width: 48px;
  height: 48px;
  justify-self: center;
}

.work-feature--split {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 32px;
}

.work-feature__image {
  position: relative;
  margin: 0;
  min-height: 220px;
  overflow: hidden;
  background: var(--color-bg-soft);
}

.work-feature__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-feature--split p + p {
  margin-top: 8px;
}

.work-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.work-feature-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-feature-card {
  padding: 22px 24px;
  background: var(--color-band);
}

.work-feature-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.55;
}

.work-feature-card p {
  font-size: 13px;
  line-height: 1.9;
}

.work-table-wrap {
  margin-top: 20px;
  overflow-x: auto;
  border-top: 1px solid var(--color-text);
}

.work-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
  font-weight: 700;
}

.work-table th,
.work-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
}

.work-table th {
  background: var(--color-band);
  font-weight: 900;
}

/* 外部サイトへの1行リンク */
.work-link-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 18px 4px;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  font-weight: 800;
  transition:
    color 0.2s ease,
    padding 0.2s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .work-link-panel:hover {
    padding-left: 10px;
    color: var(--color-blue-text);
  }
}

.work-embed {
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-soft);
}

.work-embed iframe {
  width: 100%;
  min-height: 480px;
  display: block;
  border: 0;
}

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

.work-job-list li {
  position: relative;
  padding: 14px 4px 14px 24px;
  border-bottom: 1px solid var(--color-border);
  color: #333;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.work-job-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(14px + 0.85em);
  width: 8px;
  height: 1px;
  background: #999;
}

.work-note {
  margin-top: 14px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

/* メッセージ（事業詳細・インタビュー詳細で共通）。
   白黒のページの中で目を留める場所なので、黒地に白文字にし、
   ENTRY と同じグラデーションの短い線と、大きな引用符を薄く敷く */
.work-message,
.interview-message {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-top: 40px;
  padding: clamp(48px, 6vw, 64px) clamp(24px, 6vw, 64px) clamp(40px, 5vw, 56px);
  background: var(--color-text);
  color: #fff;
}

.work-message::before,
.interview-message::before {
  content: "";
  position: absolute;
  top: clamp(24px, 3vw, 32px);
  left: clamp(24px, 6vw, 64px);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-entry-start), var(--color-entry-end));
}

.work-message::after,
.interview-message::after {
  content: "\201C";
  position: absolute;
  z-index: -1;
  top: -0.18em;
  right: 0.06em;
  color: rgba(255, 255, 255, 0.08);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(180px, 22vw, 280px);
  line-height: 1;
  pointer-events: none;
}

/* 事業詳細では .work-feature p の指定より強くして、白文字と上の余白を保つ */
.work-detail-body .work-message {
  margin-top: 40px;
}

.interview-message blockquote {
  margin: 0;
}

.work-detail-body .work-message,
.interview-message blockquote {
  color: #fff;
  font-size: clamp(18px, 1.9vw, 23px);
  word-break: auto-phrase;
  font-weight: 900;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* ===== インタビュー詳細の本文 ===== */
.interview-story {
  padding: 8px 0 0;
}

.story-section {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 24px;
  padding: 40px 0;
}

.story-section:first-of-type {
  padding-top: 0;
}

.story-section + .story-section {
  border-top: 1px solid var(--color-border);
}

.story-section__number {
  margin: 4px 0 0;
  color: #999;
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.04em;
}

.story-section h3 {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.03em;
  text-wrap: balance;
  word-break: auto-phrase;
}

.story-section h4 {
  margin: 26px 0 12px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.7;
}

.story-section p:not(.story-section__number) {
  margin: 0;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.95;
}

.story-section p:not(.story-section__number) + p {
  margin-top: 1em;
}

.story-section h3 + p:not(.story-section__number) {
  margin-top: 16px;
}

/* 誰の言葉かを、線と名前で添える */
.interview-message__by {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.interview-message__by::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.profile-box {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.profile-box__image {
  aspect-ratio: 1;
}

.profile-box h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.profile-box__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
}

.profile-box p:last-child {
  margin: 0;
  color: #333;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.85;
}

/* ===== 代表メッセージ ===== */
.message-hero__label {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.24em;
}

/* キャッチコピー：ENTRY と同じグラデーションの短い線を添えて大きく見せる */
.message-lead {
  width: min(880px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 7vw, 88px);
}

.message-lead::before {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin-bottom: clamp(24px, 3vw, 32px);
  background: linear-gradient(90deg, var(--color-entry-start), var(--color-entry-end));
}

.message-lead__copy {
  margin: 0;
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.message-lead__copy span {
  display: inline-block;
}

.message-lead__profile {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
  margin-top: clamp(24px, 3vw, 36px);
}

.message-lead__role {
  margin: 0;
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.message-lead__name {
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.08em;
}

.message-highlights {
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--color-border);
}

/* 代表の発言の引用。左の細い線で地の文と分ける */
.message-quote {
  margin: 16px 0 0;
  padding-left: clamp(16px, 2vw, 24px);
  border-left: 2px solid var(--color-border);
}

.story-section p.message-quote__lines {
  color: var(--color-text);
  font-weight: 800;
}

.story-section p.message-quote__source {
  margin-top: 12px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

/* 番号の列を置かず、見出しと引用だけで組む */
.message-highlights .story-section {
  grid-template-columns: 1fr;
}

/* note 記事への案内 */
.message-note {
  padding: var(--section-space) 0 0;
}

/* 見出しとカードを、上のハイライトと同じ 880px の幅にそろえる */
.message-note__header {
  width: min(880px, 100%);
  margin: 0 auto 40px;
}

/* 引用のあとの、しめの文章（黒地のメッセージ枠を使う） */
.message-closing p {
  margin: 0;
  color: #fff;
  font-size: clamp(17px, 1.8vw, 21px);
  font-weight: 900;
  line-height: 1.9;
  letter-spacing: 0.04em;
  word-break: auto-phrase;
}

.message-closing p + p {
  margin-top: 1em;
}

/* ハイライトから note へ誘う一文 */
.message-note__lead {
  margin: 0 0 clamp(48px, 6vw, 72px);
  font-size: clamp(16px, 1.8vw, 20px);
  font-weight: 900;
  line-height: 1.7;
  letter-spacing: 0.04em;
  text-align: center;
  word-break: auto-phrase;
}

.note-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px clamp(24px, 3vw, 40px);
  width: min(880px, 100%);
  margin: 0 auto;
}

/* 画像は置かず、枠線のカードに号数を大きく出す。上辺に ENTRY と同じグラデーションの短い線 */
.note-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(32px, 4vw, 44px) clamp(24px, 3vw, 36px) clamp(28px, 3vw, 36px);
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.04);
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s ease,
    border-color 0.2s ease;
}

.note-card:active {
  transform: scale(0.99);
}

.note-card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: clamp(24px, 3vw, 36px);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-entry-start), var(--color-entry-end));
}

.note-card__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 16px;
}

.note-card__vol {
  margin: 0;
  font-size: clamp(32px, 3.6vw, 44px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}

.note-card__label {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.note-card__title {
  margin: 20px 0 10px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.7;
  word-break: auto-phrase;
}

.note-card__summary {
  margin: 0 0 20px;
  color: #333;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.85;
}

/* 「noteで読む ↗」：ふだんは .text-link と同じ下線つきの文字リンク。
   ホバー（とキーボードのフォーカス）で、文字と下線を ENTRY と同じグラデーションにして目立たせる */
.note-card__action {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding: 0 4px 10px 0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.4;
  transition: gap 0.2s var(--ease-out);
}

.note-card__action::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: #c9c9c9;
  transition: height 0.2s ease;
}

.note-card:focus-visible {
  border-color: var(--color-text);
}

.note-card:focus-visible .note-card__action {
  gap: 22px;
  background: var(--gradient-entry);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.note-card:focus-visible .note-card__action::after {
  height: 2px;
  background: var(--gradient-entry);
}

@media (hover: hover) and (pointer: fine) {
  .note-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-text);
    box-shadow: var(--shadow-soft);
  }

  .note-card:hover:active {
    transform: translateY(-2px) scale(0.99);
  }

  .note-card:hover .note-card__action {
    gap: 22px;
    background: var(--gradient-entry);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  .note-card:hover .note-card__action::after {
    height: 2px;
    background: var(--gradient-entry);
  }
}

/* ===== イベント詳細 ===== */
.event-detail-hero__meta {
  margin-bottom: 14px;
}

.event-detail-summary {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
}

.event-detail-summary div {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}

.event-detail-summary dt {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
}

.event-detail-summary dd {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.event-detail-hero__actions,
.event-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.event-detail-actions {
  margin-top: 20px;
}

.event-detail-hero__visual {
  position: relative;
  aspect-ratio: 5 / 3.4;
  overflow: hidden;
  background: var(--color-bg-soft);
}

.event-detail-hero__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* イベント詳細は CTA を置かないので、フッターの前に余白をとる */
.event-detail-body {
  padding: 8px 0 var(--section-space);
}

.event-detail-section + .event-detail-section {
  margin-top: 56px;
}

.event-detail-section h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.event-detail-section p {
  margin: 0;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  line-height: 2.05;
}

.event-detail-section p + p {
  margin-top: 10px;
}

.event-position-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.event-position-list section {
  padding: 24px 26px;
  background: var(--color-band);
}

.event-position-list h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.45;
}

.event-position-list ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.event-position-list li {
  position: relative;
  padding-left: 18px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.event-position-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 8px;
  height: 1px;
  background: #999;
}

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

.event-schedule li {
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) 1fr;
  gap: 24px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--color-border);
}

.event-schedule time {
  color: #333;
  font-size: 14px;
  font-weight: 800;
}

.event-schedule span {
  font-size: 16px;
  font-weight: 900;
}

.event-note {
  margin-top: 16px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.event-note a,
.event-contact a {
  color: var(--color-text);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.event-entry-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  margin-top: 24px;
  padding: 32px 36px;
  background: var(--color-band);
}

.event-entry-panel h3 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.event-entry-panel p {
  margin: 6px 0 0;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.event-program {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--color-border);
  counter-reset: event-program;
}

.event-program li {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 58px;
  padding: 14px 4px 14px 64px;
  border-bottom: 1px solid var(--color-border);
  font-weight: 800;
}

.event-program li::before {
  counter-increment: event-program;
  content: counter(event-program, decimal-leading-zero);
  position: absolute;
  left: 8px;
  color: #999;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

/* ===== 画面幅ごとの調整 ===== */
@media (max-width: 1180px) {
  .site-header__inner {
    gap: 18px;
  }

  .site-header__brand img {
    width: 160px;
  }

  .global-nav {
    gap: 14px;
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 68px;
  }

  .site-header__inner {
    width: min(var(--container), calc(100% - 32px));
    justify-content: space-between;
  }

  .site-header__brand span,
  .site-header__entry {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .global-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    margin-left: 0;
    padding: 18px 24px 24px;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    /* 閉じるときは開くときより速く */
    transition:
      opacity 120ms ease,
      transform 120ms var(--ease-out),
      visibility 0s linear 120ms;
  }

  .global-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition:
      opacity 180ms ease,
      transform 220ms var(--ease-out),
      visibility 0s;
  }

  .container,
  .breadcrumb,
  .page-hero,
  .work-detail-hero,
  .interview-detail-hero,
  .event-detail-hero,
  .work-detail-body,
  .event-detail-body,
  .interview-story,
  .message-lead {
    width: calc(100% - 32px);
  }

  .hero__content--video {
    width: min(680px, calc(100% - 32px));
    margin-left: 16px;
  }

  /* 1カラムにして写真を先に出す */
  .top-business__inner,
  .interview-row,
  .page-hero,
  .work-detail-hero,
  .work-detail-hero--wide-lead,
  .interview-detail-hero,
  .event-detail-hero {
    grid-template-columns: 1fr;
  }

  .top-business__image,
  .page-hero__visual,
  .work-detail-hero__visual,
  .interview-detail-hero__visual,
  .event-detail-hero__visual {
    order: -1;
  }

  .page-hero,
  .work-detail-hero,
  .interview-detail-hero,
  .event-detail-hero {
    padding-top: 20px;
  }

  .interview-detail-hero__visual {
    justify-self: start;
    width: min(420px, 100%);
  }

  .interview-row--reverse .interview-row__image {
    order: 0;
  }

  .interview-row__image {
    width: min(420px, 100%);
  }

  .interview-tiles {
    gap: 32px 20px;
  }

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

  .flow-list li:nth-child(2)::after {
    content: none;
  }

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

@media (max-width: 640px) {
  body {
    font-size: 15px;
  }

  .site-header__brand img {
    width: 145px;
  }

  .hero-video video {
    display: none;
  }

  .hero__content--video {
    width: calc(100% - 32px);
    margin-inline: 16px;
    padding-block: 54px 64px;
  }

  .hero__content--video .hero__title {
    font-size: clamp(48px, 15vw, 72px);
  }

  .hero__actions,
  .hero__actions .button,
  .page-hero__actions,
  .page-hero__actions .button,
  .cta__actions .button,
  .event-detail-hero__actions,
  .event-detail-hero__actions .button,
  .event-detail-actions,
  .event-detail-actions .button,
  .event-entry-panel .button {
    width: 100%;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .strength-points {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .strength-stat + .strength-stat::before {
    top: -22px;
    bottom: auto;
    left: 0;
    width: 48px;
    height: 1px;
  }

  .interview-row__image {
    width: 100%;
  }

  /* 関連インタビューは写真を左に置く横並びにする */
  .interview-tiles {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .interview-tile {
    display: grid;
    grid-template-columns: 112px 1fr;
    column-gap: 18px;
    align-items: start;
  }

  .interview-tile__image {
    grid-row: 1 / span 3;
    align-self: start;
    width: 100%;
    margin-bottom: 0;
  }

  .interview-tile__quote {
    margin-bottom: 12px;
    font-size: 15px;
  }

  .interview-tile .text-link {
    justify-self: start;
  }

  .note-cards {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .message-lead__copy {
    font-size: clamp(24px, 7vw, 30px);
  }

  .business-tiles {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .page-hero__lead br,
  .work-detail-hero__title br,
  .interview-detail-hero__title br {
    display: none;
  }

  .site-footer__nav {
    order: 3;
    width: 100%;
    margin-left: 0;
  }

  .flow-panel {
    padding: 20px 16px;
  }

  .flow-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .flow-list li:not(:last-child)::after {
    content: "↓";
    position: static;
  }

  .flow-list li:nth-child(2)::after {
    content: "↓";
  }

  .network-panel {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 18px;
  }

  .work-feature--split,
  .work-feature-grid {
    grid-template-columns: 1fr;
  }

  .work-detail-body .work-message,
  .interview-message blockquote {
    font-size: 18px;
  }

  .work-message br,
  .interview-message blockquote br {
    display: none;
  }

  .story-section {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }

  .profile-box {
    grid-template-columns: 88px 1fr;
    align-items: start;
    gap: 18px;
  }

  .event-detail-summary div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .event-schedule li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .event-entry-panel {
    grid-template-columns: 1fr;
    padding: 24px 20px;
  }
}

/* ヒーロー：ページを開いたときに一度だけ、ずらしながら出す */
.hero-enter > * {
  animation: hero-enter 700ms var(--ease-out) both;
}

.hero-enter > :nth-child(1) { animation-delay: 80ms; }
.hero-enter > :nth-child(2) { animation-delay: 140ms; }
.hero-enter > :nth-child(3) { animation-delay: 200ms; }
.hero-enter > :nth-child(4) { animation-delay: 260ms; }
.hero-enter > :nth-child(5) { animation-delay: 320ms; }
.hero-enter > :nth-child(n + 6) { animation-delay: 380ms; }

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
  }

  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes hero-enter-reduced {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* 動きを減らす設定：移動・拡大はやめ、色と透明度の変化だけ残す */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-enter > * {
    animation-name: hero-enter-reduced;
    animation-duration: 300ms;
  }

  .button,
  .entry-menu__panel,
  .nav-toggle,
  .global-nav,
  .interview-row__image img,
  .interview-tile__image img,
  .business-tile__image img,
  .note-card {
    transform: none !important;
  }

  .text-link,
  .business-links a,
  .work-link-panel {
    transition: none;
  }

  /* ×への切り替えは状態の表示なので残し、動きだけなくす */
  .nav-toggle__line {
    transition: none;
  }

  .hero-video video {
    display: none;
  }
}
