:root {
  --color-bg: #050816;
  --color-bg-section: #0a0f20;
  --color-accent: #ffcc4d;
  --color-text: #ffffff;
  --color-text-muted: #a4acc7;
  --color-border-soft: #262c45;

  /* ヒーロー画像の“残したい位置”（切り取りの焦点） */
  --hero-img-pos-x: 80%;
  --hero-img-pos-y: 40%;
  --hero-img-scale: 1;

  --site-header-height: 4.5rem;

  --font-size-body: 0.875rem;
  --font-size-h2: 2.25rem;
  --font-size-h3: 1.125rem;

  --max-width: 67.5rem;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--font-size-body);
  line-height: 1.8;
  color: var(--color-text);
  background-color: var(--color-bg);
}

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

/* ===== レイアウト共通 ===== */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.section {
  padding: clamp(5rem, 5vw + 3rem, 7rem) 0;
  background-color: var(--color-bg-section);
  border-top: 1px solid var(--color-border-soft);
}

/* ===== セクション：スクロール到達でフェードイン（透過 + ぼかし） ===== */
html.js .section {
  opacity: 0;
  transform: translateY(18px);
  filter: blur(10px);
  transition:
    opacity 700ms ease,
    transform 700ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 700ms ease;
  will-change: opacity, transform, filter;
}

html.js .section.is-revealed {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

@media (prefers-reduced-motion: reduce) {
  html.js .section {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

.section:nth-of-type(even) {
  background-color: #060a18;
}

.section-title {
  margin: 0;
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
  padding-bottom: 0.4rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  background-repeat: no-repeat;
  background-size: 35% 100%;
  background-position: 120% 0;
  animation: section-title-underline-sweep 2.2s linear infinite;
  will-change: background-position;
}

@keyframes section-title-underline-sweep {
  0% {
    background-position: 120% 0;
  }
  100% {
    background-position: -120% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .section-title::after {
    animation: none;
  }
}

@supports (color: color-mix(in srgb, white, black)) {
  .section-title::after {
    background-image: linear-gradient(
      90deg,
      transparent,
      color-mix(in srgb, var(--color-text) 70%, transparent),
      transparent
    );
  }
}

@supports not (color: color-mix(in srgb, white, black)) {
  .section-title::after {
    background-image: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.7),
      transparent
    );
  }
}

@supports (color: color-mix(in srgb, white, rgb(250, 255, 186))) {
  /* ネオン設定は .section-heading-logo に移動 */
}

.section-subtitle {
  margin: 8px 0 24px;
  font-size: var(--font-size-h3);
  color: var(--color-text-muted);
}

.section-subtitle-ja {
  font-size: 0.9rem;
}

.section-body {
  margin-top: 2rem;
}

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


/* ===== ヘッダー ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 8, 22, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
}

.site-logo img {
  width: 30%;
}

.site-nav {
  display: flex;
  gap: 1rem;
  font-size: 12px;
}

.site-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.08em;
}

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

.site-nav a:focus-visible {
  outline: 2px solid var(--color-text-muted);
  outline-offset: 3px;
  border-radius: 6px;
}

/* SP用ハンバーガー（デフォルトは非表示） */
.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border-soft);
  background: rgba(5, 8, 22, 0.6);
  color: var(--color-text);
  letter-spacing: 0.08em;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-text-muted);
  outline-offset: 3px;
}

.nav-toggle-text {
  font-size: 11px;
  color: var(--color-text-muted);
}

.nav-toggle-lines {
  position: relative;
  width: 22px;
  height: 12px;
  display: inline-block;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
}

.nav-toggle-lines::before {
  top: 0;
}

.nav-toggle-lines::after {
  bottom: 0;
}

.nav-toggle-lines {
  background: var(--color-text);
  border-radius: 999px;
  height: 2px;
  margin: 5px 0;
}

/* SP用メニュー */
.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 22, 0.6);
  z-index: 70;
}

.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--site-header-height);
  bottom: 0;
  background: rgba(5, 8, 22, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border-soft);
  z-index: 80;
}

.mobile-nav-inner {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-nav a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--color-border-soft);
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.1em;
  font-size: 12px;
}

.mobile-nav a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.mobile-nav a:focus-visible {
  outline: 2px solid var(--color-text-muted);
  outline-offset: 3px;
}

/* ===== ヒーロー ===== */

.hero {
  position: relative;
  background: radial-gradient(circle at top, #172b59 0, #050816 55%);
  /*
    モバイルではアドレスバーの伸縮で 100dvh が変動し、
    スクロール開始でヒーロー高さ(=画像サイズ)が変わることがあります。
    ここでは高さを安定させるため、svh（小さいビューポート）を優先します。
  */
  height: calc(100vh - var(--site-header-height));
  min-height: calc(100vh - var(--site-header-height));
  overflow: hidden;
}

@supports (height: 100svh) {
  .hero {
    height: calc(100svh - var(--site-header-height));
    min-height: calc(100svh - var(--site-header-height));
  }
}

.hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
  gap: 5rem;
  align-items: center;
}

.hero-main {
   position: absolute;
   top: 18%;
   text-align: left;
}

.hero-copy-main {
  margin: 0 0 16px;
  font-size: clamp(2.75rem, 4.8vw + 0.9rem, 4.75rem);
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.hero-day-img img {
  margin: 0 0 24px;
  color: var(--color-text-muted);
  width: 40%;
}

.hero-day {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid var(--color-border-soft);
  text-align: center;
  font-size: 12px;
}

.hero-img-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;

  /* 画像を中央寄せしやすくする（レスポンシブで縮める用） */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===================================================
   ▼▼▼ ここを触る：ヒーロー画像のサイズ調整 ▼▼▼
   - 例：少し小さく → max-width を下げる
   - 例：少し大きく → max-width を上げる
   - 例：幅を割合で固定 → width を 80% などにする
   =================================================== */
.hero-img {
  display: block;
  width: 100%;
  /*max-width: 1000px;  ← 目印：ここを調整 */
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-img-pos-x) var(--hero-img-pos-y);
  transform: scale(var(--hero-img-scale));
  transform-origin: var(--hero-img-pos-x) var(--hero-img-pos-y);
}
/* ▲▲▲ ここまで：ヒーロー画像のサイズ調整 ▲▲▲ */
/* ===== セクションヘッダー ===== */
#a-intro {
  text-align: center;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.section-heading-logo {
  position: relative;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  font-size: clamp(2.25rem, 3.2vw + 1rem, 3.25rem);
  text-shadow:
    0 0 1px var(--color-accent),
    0 0 6px color-mix(in srgb, var(--color-accent) 60%, transparent);
}

@supports (color: color-mix(in srgb, white, rgb(250, 255, 186))) {
  .section-heading-logo {
    text-shadow:
      0 0 1px color-mix(in srgb, var(--color-accent) 85%, transparent),
      0 0 8px color-mix(in srgb, var(--color-accent) 45%, transparent);
  }
}

.section-heading-logo img {
  max-width: 1080px;
  width: 50%;
}

.section-body p {
  font-size: clamp(1.1rem, 2.4vw + 0.6rem, 1.8rem);
  padding: 0 clamp(1rem, 5vw, 10rem);
  line-height: 1.6;
  max-width: 56rem;
  margin: 0 auto;
}

.section-body p span {
  font-weight: 700;
  color: var(--color-accent);
}
/* ===== MOVIE ===== */

.movie-placeholder {
  margin: 0 auto;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  border: 1px dashed var(--color-border-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
}

/* ===== ENTRY ===== */

.entry-period {
  margin-bottom: 16px;
  font-weight: 600;
}

/* ===== CRITERIA（キーワード丸囲み） ===== */

.section-criteria .section-body p {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1rem;
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.25rem);
  line-height: 1.8;
}

.criteria-keywords {
  margin: 2rem auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}

.criteria-keyword {
  width: clamp(7.5rem, 18vw, 12rem);
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: clamp(1rem, 1.1vw + 0.6rem, 1.6rem);
  background: transparent;
}

/* ===== PRIZE ===== */

.prize-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

.prize-card {
  padding: 20px;
  }

.prize-name {
  margin: 0 auto;
  font-size: clamp(1.25rem, 1.2vw + 1rem, 1.5rem);
}

.prize-amount {
  position: relative;
  display: inline-block;
  margin: 0 0 12px;
  color: var(--color-accent);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: clamp(2.4rem, 3vw + 1.5rem, 5.4rem);
}

.prize-amount::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 100%;
  height: 2px;
  background: var(--color-accent);
}
/* ===== 審査員 ===== */

.judges-body {
  margin-top: 32px;
}

.judge-profile {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.judge-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  background: #111525;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: var(--color-text-muted);
}

.judge-role {
  margin: 0 0 4px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.judge-name {
  margin: 0 0 8px;
  font-size: var(--font-size-h3);
}

/* ===== フロー ===== */

.flow-steps {
  --flow-gap: 2rem;
  --flow-gap-2: 4rem;
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--flow-gap);
}

.flow-timeline {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.flow-timeline-step {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.flow-timeline-step::before,
.flow-timeline-step::after {
  content: "";
  flex: 1;
  border-top: 1px dashed var(--color-accent);
}

.flow-timeline-step:first-child::before {
  content: none;
}

.flow-timeline-step:last-child::after {
  content: none;
}

.flow-step {
  border-radius: 12px;
  border: 1px solid var(--color-border-soft);
  overflow: hidden;
  background: transparent;
  display: flex;
  flex-direction: column;
}

/* ===== SCHEDULE：カードが配られるように表示 ===== */
html.js .section-schedule .flow-steps--deal {
  overflow: visible;
}

html.js .section-schedule .flow-steps--deal .flow-step {
  position: relative;
  z-index: 1;
  opacity: 1;
  --deal-from: translateY(10px);
  transform: var(--deal-from);
  will-change: transform;
}

@media (min-width: 881px) {
  /* 1枚目を最前面、2枚目を背面、3枚目を最背面に重ねる */
  html.js .section-schedule .flow-steps--deal .flow-step:nth-child(1) {
    z-index: 3;
    --deal-from: translateY(8px);
  }

  html.js .section-schedule .flow-steps--deal .flow-step:nth-child(2) {
    z-index: 2;
    --deal-from: translateX(calc(-100% - var(--flow-gap))) translateY(18px) scale(0.99);
  }

  html.js .section-schedule .flow-steps--deal .flow-step:nth-child(3) {
    z-index: 1;
    --deal-from: translateX(calc(-200% - var(--flow-gap-2))) translateY(28px) scale(0.98);
  }
}

@media (max-width: 880px) {
  /* SPは1カラムなので、重ねずに軽い立ち上がりだけ */
  html.js .section-schedule .flow-steps--deal .flow-step {
    --deal-from: translateY(14px);
  }
}

html.js .section-schedule .flow-steps--deal.is-deal .flow-step {
  animation: flow-step-deal-out 650ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

html.js .section-schedule .flow-steps--deal.is-deal .flow-step:nth-child(1) {
  animation-delay: 0ms;
}

html.js .section-schedule .flow-steps--deal.is-deal .flow-step:nth-child(2) {
  animation-delay: 160ms;
}

html.js .section-schedule .flow-steps--deal.is-deal .flow-step:nth-child(3) {
  animation-delay: 320ms;
}

@keyframes flow-step-deal-out {
  0% {
    transform: var(--deal-from);
  }
  100% {
    transform: translateX(0) translateY(0) rotate(0deg) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  html.js .section-schedule .flow-steps--deal .flow-step {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.flow-step-head {
  padding: 16px;
  background: #ffffff;
  color: #111525;
}

.flow-step-body {
  padding: 16px;
  background: #070b1a;
  flex: 1;
}

@supports (color: color-mix(in srgb, black, white)) {
  .flow-step-body {
    background: color-mix(in srgb, var(--color-bg) 72%, var(--color-accent) 28%);
  }
}

.flow-step-label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  letter-spacing: 0.16em;
}

/* モバイル用：カード直上に出すSTEPラベル（デスクトップでは非表示） */
.flow-step-label--card {
  display: none;
}

.flow-step-title {
  margin: 0 0;
  font-size: 1.5rem;
  color: #ffffff;
}

.flow-step-head .flow-step-title {
  color: #111525;
}

.flow-step-date {
  margin: 0 0 .08rem;
  font-size: 1.3rem;
  color: var(--color-text-muted);
}

.flow-step-head .flow-step-date {
  color: #111525;
}

.flow-step-text {
  position: relative;
  text-align: left;
  font-size: 1.1rem;
  padding-bottom: 0.5rem;
}

.flow-step-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15rem;
  border-bottom: 2px dotted var(--color-text-muted);
  opacity: 0.65;
}

/* ===== 応募要項 ===== */

/* .outline-list {
} */


.outline-item {
  padding: 2rem;
  position: relative;
  margin-bottom: 3rem;
}

.outline-item p {
  margin: 0 0.8rem;
  padding: 0;
}

.outline-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  border-bottom: 2px dotted var(--color-text-muted);
  opacity: 0.65;
}



.outline-title {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.outline-link {
  margin-top: 24px;
}

.outline-link a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid var(--color-border-soft);
  background: #172b59;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: 0.06em;
  font-size: clamp(1rem, 0.8vw + 0.9rem, 1.25rem);
}

.outline-link a:hover {
  border-color: var(--color-text-muted);
}

.outline-link a:focus-visible {
  outline: 2px solid var(--color-text-muted);
  outline-offset: 3px;
}

/* ===== ボタン ===== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.75rem;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    filter 150ms ease;
}

.btn:focus-visible {
  outline: 2px solid var(--color-text-muted);
  outline-offset: 3px;
}

.hero-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 999px;
  border: 1px solid var(--color-accent);
  background: transparent;
  color: var(--color-accent);
  font-size: clamp(1.25rem, 1.6vw + 0.9rem, 2rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 150ms ease,
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    filter 150ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover,
  .hero-btn:hover,
  .outline-link a:hover {
    transform: translateY(-1px);
  }

  .btn:hover {
    background: var(--color-accent);
    color: #1a1525;
    border-color: var(--color-bg);
    border-width: 2px;
  }

  .btn-primary:hover,
  .btn--hero-primary:hover {
    filter: brightness(1.05);
    border-color: var(--color-text);
  }
}

.btn:active,
.hero-btn:active,
.outline-link a:active {
  transform: translateY(0);
}

.hero-btn:focus-visible {
  outline: 2px solid var(--color-text-muted);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--color-accent);
  color: #1a1525;
  border-color: var(--color-bg);
  border-width: 2px;
  font-size: clamp(1rem, 1vw + 0.9rem, 1.4rem);
  font-weight: 600;
}

.btn--hero-primary {
  background: var(--color-accent);
  color: #1a1525;
  border-color: var(--color-bg);
  border-width: 2px;
}

/* ===== 右下固定ENTRY（真円） ===== */
.entry-fab {
  --entry-fab-size: clamp(4.5rem, 2vw + 4.25rem, 5.625rem);

  position: fixed;
  right: calc(20px + env(safe-area-inset-right));
  bottom: calc(20px + env(safe-area-inset-bottom));
  width: var(--entry-fab-size);
  height: var(--entry-fab-size);
  padding: 0;
  z-index: 60;
  border-radius: 999px;
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.2rem);
  letter-spacing: 0.14em;
  line-height: 1;
}

.entry-fab:hover {
  border-color: var(--color-text);
}

/* ===== フッター ===== */

.site-footer {
  padding: 48px 0 32px;
  background: #040712;
  border-top: 1px solid var(--color-border-soft);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.footer-sponsors {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-sponsor-group {
  min-width: 200px;
}

.footer-contact img {
  margin: 0 auto;
}

/* フッターのロゴ画像は縦横比を維持して表示 */
.footer-contact img.footer-logo {
  display: block;
  width: 280px;
  max-width: 70vw;
  height: auto;
}

.footer-sponsor-label {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer-sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-sponsor-logos .footer-logo {
  min-width: 80px;
  width: 35%;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--color-text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--color-border-soft);
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
}

/* ===== レスポンシブ ===== */

@media (max-width: 1080px) {
  .hero-main {
    left: 5%;
  }
}

@media (max-width: 880px) {
  :root {
    /* モバイルでは切り取り焦点を少し下に（必要なら調整） */
    --hero-img-pos-x: 80%;
    --hero-img-pos-y: 25%;

    /* まずは表示崩れを防ぐ：余白が出ないように縮小はしない */
    --hero-img-scale: 1;
  }

  .site-nav {
    display: none; /* 練習用なのでモバイルナビは省略 */
  }

  .site-logo img {
    width: 65%;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

  /* ▼ モバイル時：ヒーロー画像は中央寄せ */
  .hero-img-container {
    justify-content: center;
    padding: 0;
  }

  .hero-main {
    left: 5%;
  }

  .hero-meta {
    max-width: 360px;
  }

  .prize-list,
  .outline-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .judge-profile {
    grid-template-columns: minmax(0, 1fr);
  }

  .flow-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.75rem;
  }

  /* 縦並び時：上のタイムラインは不要なので隠す */
  .flow-timeline {
    display: none;
  }

  /* 縦並び時：STEPを各カードの真上・中央に配置 */
  .flow-step {
    position: relative;
    margin-top: 2.25rem;
    overflow: visible;
  }

  .flow-step-label--card {
    display: flex;
    position: absolute;
    top: -1.35rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0 0.9rem;
    background: var(--color-bg-section);
    border: 1px solid var(--color-border-soft);
    border-radius: 999px;
    font-size: 1.35rem;
    line-height: 2.7rem;
    letter-spacing: 0.16em;
    white-space: nowrap;
  }

  .flow-step-head,
  .flow-step-body {
    padding: 18px;
  }

  .flow-step-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.1rem, 4.2vw, 1.35rem);
  }

  .flow-step-date {
    margin: 0;
    font-size: clamp(0.95rem, 3.6vw, 1.1rem);
  }

  .flow-step-text {
    font-size: 1rem;
    padding-bottom: 0.7rem;
  }
}

