:root {
  --color-ink: #172126;
  --color-muted: #5d696e;
  --color-paper: #fffdf8;
  --color-tint: #f3f0e8;
  --color-navy: #16384a;
  --color-navy-deep: #102c3b;
  --color-wine: #8d3140;
  --color-gold: #c79b4b;
  --color-line: #d9d5ca;
  --shadow-soft: 0 18px 50px rgb(23 33 38 / 10%);
  --page-width: 1120px;
  --radius: 20px;
  --font-sans:
    "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic",
    Meiryo, sans-serif;
  --font-serif:
    "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "BIZ UDPMincho", serif;

  /* 丸型ピルバッジ（.status-badge/.tag/.concert-status/.admin-status等）共通トークン。
     サイズは5段階(xs〜xl)。lg・xlは現状未使用だが、今後の追加分もここに揃えるための予約。 */
  --pill-radius: 999px;
  --pill-font-xs: 0.65rem;
  --pill-font-sm: 0.75rem;
  --pill-font-md: 0.8rem;
  --pill-font-lg: 0.86rem;
  --pill-font-xl: 0.95rem;
  --pill-pad-xs: 0.15rem 0.5rem;
  --pill-pad-sm: 0.2rem 0.65rem;
  --pill-pad-md: 0.28rem 0.75rem;
  --pill-pad-lg: 0.32rem 0.9rem;
  --pill-pad-xl: 0.4rem 1.1rem;
  --pill-color-wine-bg: var(--color-wine);
  --pill-color-wine-fg: #fff;
  --pill-color-muted-bg: var(--color-muted);
  --pill-color-muted-fg: #fff;
  --pill-color-tint-bg: #e5edf0;
  --pill-color-tint-fg: var(--color-navy);
  --pill-color-dark-bg: #485b64;
  --pill-color-dark-fg: #fff;
  --pill-color-neutral-bg: #e8eef4;
  --pill-color-neutral-fg: var(--color-ink);
  --pill-color-overlay-bg: rgb(0 0 0 / 45%);
  --pill-color-overlay-fg: #fff;

  /* ページヒーロー(各ページ冒頭の単色/グラデーション見出し帯)共通トークン。
     団員ページ側は.members-heroで--hero-*を上書きして配色だけ変える。
     余白はエリアを問わずここ1箇所で調整する。 */
  --hero-pad-desktop: clamp(70px, 10vw, 118px) clamp(54px, 8vw, 88px);
  --hero-pad-mobile: 1.5rem 1.25rem;
  --hero-h1-size-mobile: clamp(26px, 8vw, 40px);
  --hero-gradient: linear-gradient(135deg, var(--color-navy-deep), var(--color-navy));
  --hero-text-color: #fff;
  --hero-eyebrow-color: #e6c581;
  --hero-description-color: rgb(255 255 255 / 78%);
  --hero-h1-size: clamp(38px, 7vw, 64px);
}

/* 丸型ピルバッジの共通の土台（一元化）。中心となる見た目のメカニクス
   (センタリング・角丸・太字・折り返し無し)だけをここにまとめ、色や
   パディング・文字サイズは各クラス側でトークンを指定する形にする。
   対象クラスはsite.css/members.css/admin.css/photos.cssにまたがるが、
   site.cssが常に一番先に読み込まれるため、ここで一括定義できる。 */
.status-badge,
.status-badge--sm,
.tag,
.tag--past,
.concert-status,
.admin-status,
.photo-viewer__position {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pill-radius);
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  /* 縦スクロールバーの有無でページ幅(実質的な中央寄せ位置)が変わり、
     コンテンツが短いページに遷移すると横に数px動いたように見える
     不具合を防ぐため、スクロールバー分の余白を常に確保する。 */
  overflow-y: scroll;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  color: var(--color-ink);
  background: var(--color-paper);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 8px 14px;
  color: white;
  background: var(--color-navy-deep);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.page-width {
  width: min(calc(100% - 40px), var(--page-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgb(23 33 38 / 8%);
  background: rgb(255 253 248 / 94%);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  min-height: 76px;
  width: min(calc(100% - 32px), 1240px);
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-header__actions form {
  margin: 0;
}

.site-header__actions .button {
  white-space: nowrap;
}

.account-menu {
  position: relative;
}

.account-menu__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-width: 160px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgb(23 33 38 / 10%);
  background: white;
  box-shadow: 0 16px 32px rgb(23 33 38 / 18%);
}

.account-menu__panel[hidden] {
  display: none;
}

.account-menu__panel form {
  margin: 0;
}

.account-menu__panel a,
.account-menu__panel button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: var(--color-navy-deep);
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.account-menu__panel a:hover,
.account-menu__panel button:hover {
  background: rgb(23 33 38 / 6%);
}

.account-menu__trigger[aria-expanded="true"] {
  border-color: var(--color-navy-deep);
}

.account-menu__label {
  display: inline-block;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: bottom;
}

.account-menu__arrow {
  /* 矢印はボタンの行の高さを押し広げないよう、レイアウト上のサイズは
     氏名テキストと同じ(font-size継承・line-height:1)にしておき、視覚的な
     大きさだけtransform: scaleで拡大する。transformはレイアウトの
     計算there(高さ・幅)に影響しないため、隣の「公式サイト」ボタンと
     高さが揃ったまま、矢印だけ見た目を大きくできる。
     (font-size:2emだと矢印の実高さがボタンの通常の行の高さを超え、
     隣より丈が高くなってピルの高さがずれる不具合があった。逆に
     font-sizeそのものを小さくすると、今度は矢印の図形が小さすぎて
     潰れて見える不具合があった。実機スクリーンショットで両方確認。) */
  display: inline-block;
  line-height: 1;
  vertical-align: middle;
  margin-left: 0.35em;
  transform: scale(1.6);
  /* transform-origin: centerだと拡大が左右均等に起こり、拡大分が
     margin-leftの余白を内側から食いつぶして氏名との間隔が
     ほぼ0になってしまう(実機で確認)。leftを軸にして右方向にだけ
     広がるようにし、margin-leftの間隔をそのまま活かす。 */
  transform-origin: left center;
}

.site-switch-bar {
  border-bottom: 1px solid var(--color-line);
  background: #f1eee7;
}

.site-switch-bar__inner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: flex-end;
}

.site-switch-link {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.site-switch-link:hover,
.site-switch-link:focus-visible {
  color: var(--color-wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-navy-deep);
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 38px;
  height: 38px;
  aspect-ratio: 1;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 50%;
  color: transparent;
  background: url("../images/brand-mark.svg") center / contain no-repeat;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand__text strong {
  letter-spacing: 0.08em;
}

.brand__text small {
  margin-top: 3px;
  color: var(--color-muted);
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand__badge {
  display: inline-flex;
  align-items: center;
  margin-left: 0.6em;
  padding: 0.32em 0.65em 0.23em;
  border-radius: 999px;
  background: var(--color-wine);
  color: white;
  font-size: 0.55em;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  vertical-align: middle;
}

.menu-button {
  display: inline-flex;
  border: 0;
  align-items: center;
  gap: 8px;
  padding: 10px;
  color: var(--color-ink);
  background: transparent;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.menu-button__bars,
.menu-button__bars::before,
.menu-button__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentcolor;
  content: "";
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-button__bars {
  position: relative;
}

.menu-button__bars::before {
  position: absolute;
  top: -7px;
}

.menu-button__bars::after {
  position: absolute;
  top: 7px;
}

.menu-button[aria-expanded="true"] .menu-button__bars {
  background: transparent;
}

.menu-button[aria-expanded="true"] .menu-button__bars::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-button[aria-expanded="true"] .menu-button__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.global-nav {
  position: absolute;
  top: 76px;
  right: 0;
  left: 0;
  display: none;
  padding: 18px 20px 24px;
  border-bottom: 1px solid var(--color-line);
  background: var(--color-paper);
  box-shadow: var(--shadow-soft);
}

.global-nav[data-open="true"] {
  display: block;
}

.global-nav ul,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.global-nav li + li {
  border-top: 1px solid var(--color-line);
}

.global-nav li a {
  display: block;
  padding: 12px 4px;
  font-weight: 700;
  text-decoration: none;
}

.global-nav .button {
  margin-top: 14px;
}

/* display: inline-flexがhidden属性のUA既定(display:none)より詳細度で
   勝ってしまい、hidden属性を付けても見た目上は消えない不具合があった
   (members.cssの.button__spinner等と同じ既知パターン、実機検証で確認)。
   .buttonクラスはサイト全体で使われるため、ここで一括して直す。 */
.button[hidden] {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 50px;
  border: 1px solid var(--color-wine);
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  color: white;
  background: var(--color-wine);
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  border-color: #742735;
  background: #742735;
  transform: translateY(-2px);
}

.button--small {
  min-height: 42px;
  padding: 8px 18px;
  font-size: 14px;
}

.site-toast {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  align-items: center;
  max-width: min(36rem, calc(100% - 2rem));
  padding: 0.8rem 1.1rem;
  border-radius: 0.7rem;
  background: rgb(16 44 59 / 86%);
  backdrop-filter: blur(6px);
  box-shadow: 0 0.75rem 1.75rem rgb(15 30 36 / 24%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.site-toast:not(.is-visible) {
  transition: opacity 700ms ease, transform 500ms ease;
}

.site-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-toast.is-refresh {
  animation: site-toast-refresh 280ms ease-out;
}

@keyframes site-toast-refresh {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(0) scale(1.08); }
  100% { transform: translateY(0) scale(1); }
}

.button--ghost {
  border-color: rgb(255 255 255 / 70%);
  background: rgb(16 44 59 / 38%);
  backdrop-filter: blur(6px);
}

/*
 * 白/クリーム背景の上で使うセカンダリボタン。button--ghost は元々ヒーロー画像の
 * ような濃い背景の上での使用を想定した半透明デザインで、白背景に置くと色が薄まって
 * 「押せない」ボタンのように見えてしまう。団員・管理画面の白背景上ではこちらを使う。
 * プライマリ(小豆色)とは別の色相の紺系で塗りつぶし、押せることが分かるようにする。
 */
.button--secondary {
  border-color: transparent;
  color: #fff;
  background: #485b64;
}

.button--secondary:hover {
  background: #3c4c54;
}

.button--dark {
  border-color: var(--color-navy-deep);
  background: var(--color-navy-deep);
}

.button--light {
  border-color: white;
  color: var(--color-navy-deep);
  background: white;
}

.button--disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.button--disabled:hover {
  transform: none;
}

.hero {
  position: relative;
  min-height: min(720px, calc(100svh - 76px));
  display: grid;
  overflow: hidden;
  color: white;
  background: var(--color-navy-deep);
  place-items: end stretch;
  /* 横方向のタッチ操作をブラウザのページ送りジェスチャーに奪わせず、
     スワイプ検出のPointer Eventsへそのまま渡す(縦スクロールは許可) */
  touch-action: pan-y;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__shade {
  /* 見た目上は.hero__imageの上に重なるが、装飾用のグラデーションでしかないため、
     タッチ/クリックをそのまま下のスライドショーへ透過させる */
  pointer-events: none;
}

.hero__image {
  overflow: hidden;
  transform: scale(1.015);
  --hero-blur: 0px;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: translateX(100%);
  filter: blur(var(--hero-blur));
  transition: transform 1s ease;
}

.hero__slide--active {
  transform: translateX(0);
}

.hero__slide--exit {
  transform: translateX(-100%);
}

@media (max-width: 680px) {
  /* スマホではヘッダー以外の角丸ボタンを少しコンパクトにする。 */
  body .button:not(.site-header .button):not(.admin-header .button) {
    min-height: 35px;
    padding: 8px 17px;
    font-size: 0.9em;
  }

  body .button--small:not(.site-header .button):not(.admin-header .button) {
    min-height: 29px;
    padding: 6px 13px;
    font-size: 0.8em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    transition: none;
  }
}

.hero__shade {
  background:
    linear-gradient(
      90deg,
      rgb(10 31 42 / 90%) 0%,
      rgb(10 31 42 / 60%) 55%,
      rgb(10 31 42 / 18%) 100%
    ),
    linear-gradient(0deg, rgb(10 31 42 / 60%), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: 80px 72px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--color-wine);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0cb86;
}

.hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(38px, 8vw, 74px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.28;
  text-shadow: 0 3px 30px rgb(0 0 0 / 30%);
}

.hero__lead {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(16px, 2vw, 19px);
}

.hero__actions {
  display: flex;
  margin-top: 34px;
  flex-wrap: wrap;
  gap: 12px;
}

.quick-links {
  position: relative;
  z-index: 2;
  padding-block: 22px;
  background: var(--color-paper);
}

.quick-links__grid {
  display: grid;
  gap: 10px;
}

.quick-link {
  display: grid;
  min-height: 92px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  padding: 17px;
  background: white;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.quick-link:hover {
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px rgb(23 33 38 / 8%);
  transform: translateY(-3px);
}

.quick-link__number {
  color: var(--color-gold);
  font-family: Georgia, serif;
  font-size: 13px;
}

.quick-link strong,
.quick-link small {
  display: block;
}

.quick-link small {
  margin-top: 2px;
  color: var(--color-muted);
}

.section {
  padding-block: clamp(72px, 10vw, 126px);
}

.section--tint {
  background: var(--color-tint);
}

.section h2,
.contact-band h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.about-grid {
  display: grid;
  gap: 32px;
}

.about-copy {
  max-width: 620px;
  color: var(--color-muted);
  font-size: 17px;
}

.about-copy p {
  margin-top: 0;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  border-bottom: 1px solid currentcolor;
  align-items: center;
  gap: 22px;
  padding-bottom: 3px;
  color: var(--color-wine);
  font-weight: 700;
  text-decoration: none;
}

.section-heading {
  display: grid;
  margin-bottom: 38px;
  gap: 18px;
}

.section-heading > p {
  max-width: 520px;
  margin: 0;
  color: var(--color-muted);
}

.feature-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}

.feature-card__body {
  padding: clamp(28px, 6vw, 64px);
}

.feature-card__body h2,
.feature-card__body h3 {
  margin: 10px 0 16px;
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 40px);
}

.feature-card__body h2 time,
.feature-card__body h3 time,
.feature-card__body h2 .no-wrap,
.feature-card__body h3 .no-wrap {
  white-space: nowrap;
}

.feature-card__body p:not(.status-badge) {
  max-width: 620px;
  color: var(--color-muted);
}

.feature-card__body .button {
  margin-top: 16px;
}

.status-badge {
  margin: 0;
  padding: var(--pill-pad-md);
  color: var(--pill-color-wine-fg);
  background: var(--pill-color-wine-bg);
  font-size: var(--pill-font-md);
}

.feature-card__accent {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: white;
  background: linear-gradient(
    135deg,
    var(--color-navy),
    var(--color-navy-deep)
  );
  text-align: center;
}

.feature-card__accent::before {
  display: block;
  width: 1px;
  height: 50px;
  margin-bottom: 16px;
  background: var(--color-gold);
  content: "";
}

.feature-card__accent span {
  color: #e6c581;
  font-family: Georgia, serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.feature-card__accent strong {
  margin-top: 4px;
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 400;
}

.schedule-layout {
  display: grid;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.schedule-list {
  margin: 0;
  padding: 10px 24px;
  background: white;
  list-style: none;
}

.schedule-list li {
  display: grid;
  align-items: center;
  grid-template-columns: 76px 1fr;
  gap: 20px;
  padding-block: 20px;
}

.schedule-list li + li {
  border-top: 1px solid var(--color-line);
}

.schedule-list time {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  color: var(--color-wine);
  line-height: 1;
}

.schedule-list time span {
  grid-column: 1 / -1;
  margin-bottom: 3px;
  font-size: 12px;
}

.schedule-list time strong {
  font-family: Georgia, serif;
  font-size: 38px;
  font-weight: 400;
}

.schedule-list time small {
  margin: 0 0 3px 5px;
}

.schedule-list div strong,
.schedule-list div span {
  display: block;
}

.schedule-list div span {
  color: var(--color-muted);
  font-size: 14px;
}

.info-panel {
  padding: clamp(30px, 6vw, 52px);
  color: white;
  background: var(--color-navy);
}

.info-panel__label {
  margin: 0;
  color: #e6c581;
  font-weight: 700;
}

.info-panel h3 {
  margin: 12px 0;
  font-family: var(--font-serif);
  font-size: 30px;
  line-height: 1.45;
}

.info-panel > p:not(.info-panel__label) {
  color: rgb(255 255 255 / 76%);
}

.text-link--light {
  color: white;
}

.section--recruit {
  color: white;
  background: var(--color-wine);
}

.section-label--light {
  color: #f1d28d;
}

.recruit-grid {
  display: grid;
  gap: 44px;
}

.recruit-grid h2 {
  max-width: 700px;
}

.recruit-grid p:not(.section-label) {
  max-width: 640px;
  color: rgb(255 255 255 / 82%);
}

.recruit-grid .button {
  margin-top: 20px;
}

.recruit-facts {
  margin: 0;
  border-block: 1px solid rgb(255 255 255 / 30%);
}

.recruit-facts div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  padding-block: 18px;
}

.recruit-facts div + div {
  border-top: 1px solid rgb(255 255 255 / 30%);
}

.recruit-facts dt {
  color: #f1d28d;
  font-weight: 700;
}

.recruit-facts dd {
  margin: 0;
}

.archive-grid {
  display: grid;
  gap: 16px;
}

.archive-card {
  display: flex;
  min-height: 210px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: white;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.archive-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.archive-card__year {
  margin-bottom: auto;
  color: var(--color-wine);
  font-family: Georgia, serif;
  letter-spacing: 0.08em;
}

.archive-card strong {
  font-family: var(--font-serif);
  font-size: 26px;
}

.archive-card > span:last-child {
  color: var(--color-muted);
}

.update-list {
  display: grid;
  max-width: 780px;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-line);
  list-style: none;
}

.update-list li {
  display: grid;
  grid-template-columns: 94px minmax(0, 1fr);
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid var(--color-line);
}

.update-list time {
  color: var(--color-wine);
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.update-list a {
  color: var(--color-text);
  text-decoration-color: rgb(139 39 66 / 35%);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.update-list a:hover,
.update-list a:focus-visible {
  color: var(--color-wine);
  text-decoration-color: currentcolor;
}

.section--updates {
  background: white;
}

.update-history {
  max-width: 780px;
  margin-top: 20px;
}

.update-history summary {
  width: fit-content;
  color: var(--color-wine);
  cursor: pointer;
  font-weight: 700;
}

.update-history[open] summary {
  margin-bottom: 14px;
}

.update-history summary:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.contact-band {
  padding-block: 58px;
  border-top: 1px solid var(--color-line);
  background: white;
}

.contact-band__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-band h2 {
  font-size: 34px;
}

.contact-band p:not(.section-label) {
  margin-bottom: 0;
  color: var(--color-muted);
}

.members-band {
  padding-block: 34px;
  border-top: 1px solid var(--color-line);
  background: var(--color-tint);
}

.members-band__inner {
  display: grid;
  align-items: center;
  gap: 18px;
}

.members-band h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 30px);
}

.members-band__copy p:not(.section-label) {
  margin: 3px 0 0;
  color: var(--color-muted);
}

.members-band__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.members-band__action small {
  color: var(--color-muted);
  font-size: 11px;
}

.site-footer {
  padding-block: 58px 24px;
  color: rgb(255 255 255 / 78%);
  background: #0e2734;
}

.site-footer__grid {
  display: grid;
  gap: 40px;
}

.brand--footer {
  color: white;
}

.brand--footer .brand__text small {
  color: rgb(255 255 255 / 60%);
}

.site-footer__grid > div > p {
  max-width: 440px;
  font-size: 14px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
}

.footer-links a,
.site-footer__bottom a {
  text-underline-offset: 4px;
}

.site-footer__bottom {
  display: flex;
  margin-top: 42px;
  border-top: 1px solid rgb(255 255 255 / 15%);
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  gap: 20px;
  font-size: 12px;
}

.page-hero {
  padding-block: var(--hero-pad-desktop);
  color: var(--hero-text-color);
  background: var(--hero-gradient);
}

.page-hero .section-label {
  color: var(--hero-eyebrow-color);
}
.page-hero h1 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: var(--hero-h1-size);
  font-weight: 600;
  letter-spacing: 0.05em;
}
.page-hero p:last-child {
  max-width: 720px;
  margin: 18px 0 0;
  color: var(--hero-description-color);
  font-size: 17px;
}
/* .page-hero系の基本ルールより後ろに置く(同じ詳細度なので、後にある
   このメディアクエリを優先させるため)。 */
@media (max-width: 760px) {
  .page-hero {
    padding-block: var(--hero-pad-mobile);
  }
  .page-hero .section-label {
    margin-bottom: 6px;
  }
  .page-hero h1 {
    font-size: var(--hero-h1-size-mobile);
  }
  .page-hero p:last-child {
    margin-top: 8px;
    font-size: 15px;
  }
}
.breadcrumbs {
  padding-block: 14px;
  border-bottom: 1px solid var(--color-line);
  background: white;
  font-size: 13px;
}
.breadcrumbs ol {
  display: flex;
  margin-block: 0;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}
.breadcrumbs li + li::before {
  margin-right: 8px;
  color: var(--color-muted);
  content: "/";
}
.content-grid {
  display: grid;
  gap: 40px;
}
.prose {
  max-width: 780px;
}
.prose h2,
.content-heading {
  margin: 2.3em 0 0.7em;
  font-family: var(--font-serif);
  font-size: clamp(27px, 4vw, 39px);
  line-height: 1.45;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  margin: 2em 0 0.5em;
  font-size: 20px;
}
.prose p,
.prose li {
  color: var(--color-muted);
}
.prose a:not(.button) {
  color: var(--color-wine);
  text-underline-offset: 4px;
}
.fact-grid {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}
.fact-card {
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: white;
}
.fact-card dt {
  margin-bottom: 5px;
  color: var(--color-wine);
  font-size: 13px;
  font-weight: 700;
}
.fact-card dd {
  margin: 0;
  font-weight: 700;
}
.portrait-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--color-tint);
}
.portrait-card img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
  object-position: center top;
}
.portrait-card figcaption {
  padding: 18px 22px;
  color: var(--color-muted);
  font-size: 13px;
}
.notice {
  margin-block: 28px;
  padding: 20px 22px;
  border-left: 4px solid var(--color-gold);
  background: var(--color-tint);
}
.notice strong {
  display: block;
  margin-bottom: 4px;
}
.card-grid {
  display: grid;
  gap: 18px;
}
.standard-card {
  padding: 26px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: white;
}
.standard-card h2,
.standard-card h3 {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 25px;
}
.standard-card p {
  margin-bottom: 0;
  color: var(--color-muted);
}
.standard-card .text-link {
  margin-top: 18px;
}
.page-actions {
  display: flex;
  margin-top: 30px;
  flex-wrap: wrap;
  gap: 12px;
}
.data-list {
  margin: 0;
  border-top: 1px solid var(--color-line);
}
.data-list div {
  display: grid;
  padding-block: 16px;
  border-bottom: 1px solid var(--color-line);
  gap: 4px;
}
.data-list dt {
  color: var(--color-wine);
  font-weight: 700;
}
.data-list dd {
  margin: 0;
}
.empty-state {
  padding: clamp(34px, 8vw, 70px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: white;
  text-align: center;
}
.empty-state h2 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(27px, 4vw, 39px);
}
.empty-state p:not(.status-badge) {
  max-width: 620px;
  margin: 0 auto;
  color: var(--color-muted);
}
.empty-state .button {
  margin-top: 24px;
}
.month-block + .month-block {
  margin-top: 48px;
}
.month-title {
  display: flex;
  margin-bottom: 18px;
  align-items: baseline;
  gap: 12px;
}
.month-title h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 34px;
}
.month-title span {
  color: var(--color-muted);
  font-family: Georgia, serif;
}
.schedule-calendar {
  width: min(100%, 430px);
  margin-bottom: 22px;
  padding: 12px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-small);
  background: #fff;
}
.schedule-calendar table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.schedule-calendar th {
  padding: 4px 2px 8px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
}
.schedule-calendar th:first-child {
  color: var(--color-wine);
}
.schedule-calendar th:last-child {
  color: #315d77;
}
.schedule-calendar td {
  height: 38px;
  padding: 2px;
  border: 1px solid #ece8e1;
  color: var(--color-muted);
  font-size: 13px;
  text-align: center;
  vertical-align: middle;
}
.schedule-day {
  display: grid;
  width: 31px;
  height: 31px;
  margin: auto;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  place-items: center;
  background: var(--color-wine);
  cursor: pointer;
}
.schedule-day--performance {
  background: #315d77;
}
/* 一覧側(.event-list li.is-past)と同じopacity: 0.4で、終わった練習日を
   一目で分かるようにする。 */
.schedule-day--past {
  opacity: 0.4;
}
/* 練習日ではない日の「今日」表示用。塗りつぶしの練習日と見分けが付くよう
   背景は塗らず、輪郭(box-shadow)だけの丸にする。 */
.schedule-day--empty {
  background: transparent;
  color: var(--color-ink);
  cursor: default;
}
/* 今日の日付を示す輪郭。練習日の丸(塗りつぶし)にも重ねられるよう、
   layoutに影響しないbox-shadowでリング状に描く。 */
.schedule-day--today {
  box-shadow: 0 0 0 2px var(--color-gold);
}
.schedule-calendar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 10px 2px 0;
  color: var(--color-muted);
  font-size: 12px;
}
.schedule-calendar__legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.schedule-calendar__legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-wine);
}
.schedule-calendar__legend span:last-child i {
  background: #315d77;
}
.event-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-line);
  list-style: none;
}
.event-list li {
  display: grid;
  padding-block: 19px;
  border-bottom: 1px solid var(--color-line);
  gap: 8px;
}
/* カレンダーの丸から該当行へスクロールした直後、見失わないよう背景を
   一瞬光らせる。色味を付けず、プレーンに明るくなるだけにする。 */
@keyframes event-list-flash {
  0% {
    background-color: rgba(255, 255, 255, 0.85);
  }
  100% {
    background-color: transparent;
  }
}
.event-list li.is-flash {
  animation: event-list-flash 2.8s ease-out;
}
/* .schedule-day--pastのコメントで参照されている、終わった練習日の見た目。
   li自体にopacityを掛けると「終了しました」タグ(.tag--past)まで一緒に
   薄くなり読みにくくなるため、タグを除いた要素だけを薄くする。
   .event-list__detail span:not(.tag)は元々color: var(--color-muted)で
   常に薄い色なので、ここでさらにopacityを重ねると二重に薄くなってしまう。
   対象はtimeとstrong(venue名)だけにする。 */
.event-list li.is-past time,
.event-list li.is-past .event-list__detail > strong {
  opacity: 0.4;
}
.event-list time {
  font-weight: 700;
}
.event-list time strong {
  margin-right: 8px;
  color: var(--color-wine);
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 400;
}
.event-list__detail strong,
.event-list__detail span:not(.tag) {
  display: block;
}
.event-list__detail span:not(.tag) {
  color: var(--color-muted);
  font-size: 14px;
}
.tag {
  /* .event-list__detail span { display: block; } の方が詳細度が高く、
     .tagのdisplay:inline-flexを上書きしてしまう。block化されても
     幅が親いっぱいに伸びないよう、widthを明示して縮める。 */
  width: fit-content;
  margin-top: 6px;
  padding: var(--pill-pad-sm);
  color: var(--pill-color-tint-fg);
  background: var(--pill-color-tint-bg);
  font-size: var(--pill-font-sm);
}
.venue-list {
  display: grid;
  gap: 18px;
}
.venue-card {
  padding: 28px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: white;
}
.venue-card h2 {
  margin: 0 0 6px;
  font-family: var(--font-serif);
  font-size: 27px;
}
.venue-card address {
  color: var(--color-muted);
  font-style: normal;
}
.venue-card dl {
  margin: 20px 0 0;
}
.venue-card dl div {
  display: grid;
  padding-block: 10px;
  border-top: 1px solid var(--color-line);
  grid-template-columns: 80px 1fr;
  gap: 14px;
}
.venue-card dt {
  color: var(--color-wine);
  font-weight: 700;
}
.venue-card dd {
  margin: 0;
}
.status-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
}
.status-table th,
.status-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
  vertical-align: top;
}
.status-table th {
  color: var(--color-navy);
  background: var(--color-tint);
}
.status-open {
  color: #23633e;
  font-weight: 700;
}
.status-wanted {
  color: var(--color-wine);
  font-weight: 700;
}
.status-closed {
  color: var(--color-muted);
}
.steps {
  display: grid;
  margin: 28px 0 0;
  padding: 0;
  gap: 14px;
  list-style: none;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 22px 22px 22px 70px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: white;
  counter-increment: step;
}
.steps li::before {
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: white;
  background: var(--color-wine);
  content: counter(step);
  place-items: center;
  font-family: Georgia, serif;
}
.steps strong {
  display: block;
}
.steps span {
  color: var(--color-muted);
}
.program {
  display: grid;
  gap: 18px;
  margin-top: 32px;
}
.program section {
  padding: 26px;
  border: 1px solid var(--color-line);
  border-radius: 14px;
  background: white;
}
.program h2 {
  margin: 0 0 14px;
  color: var(--color-wine);
  font-family: var(--font-serif);
  font-size: 23px;
}
.program ul {
  margin: 0;
  padding-left: 1.25em;
}
.program li + li {
  margin-top: 6px;
}
.concert-status {
  margin-bottom: 14px;
  padding: var(--pill-pad-md);
  color: var(--pill-color-muted-fg);
  background: var(--pill-color-muted-bg);
  font-size: var(--pill-font-md);
}
.archive-table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  background: white;
}
.archive-table th,
.archive-table td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--color-line);
  text-align: left;
}
.archive-table th {
  color: var(--color-navy);
  background: var(--color-tint);
}
.archive-table a {
  color: var(--color-wine);
  font-weight: 700;
  text-underline-offset: 4px;
}
.archive-table small {
  color: var(--color-muted);
}

@media (min-width: 720px) {
  .content-grid--sidebar {
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 0.7fr);
    align-items: start;
  }
  .fact-grid,
  .card-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .data-list div {
    grid-template-columns: 140px 1fr;
    gap: 24px;
  }
  .event-list li {
    grid-template-columns: 170px 1fr;
    align-items: center;
    gap: 24px;
  }
  .venue-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .program {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 720px) {
  .contact-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .members-band__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
  }

  .members-band__action {
    align-items: center;
  }

  .quick-links {
    margin-top: -38px;
    padding-top: 0;
    background: transparent;
  }

  .quick-links__grid,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .section-heading,
  .recruit-grid,
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .section-heading > p {
    justify-self: end;
  }

  .feature-card--concert {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(240px, 0.75fr);
  }

  .schedule-layout {
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
  }

  .site-footer__grid nav {
    justify-self: end;
  }
}

@media (min-width: 980px) {
  .menu-button {
    display: none;
  }

  .global-nav {
    position: static;
    display: flex;
    border: 0;
    align-items: center;
    gap: 24px;
    padding: 0;
    background: transparent;
    box-shadow: none;
  }

  .global-nav ul {
    display: flex;
    align-items: center;
    gap: 24px;
  }

  .global-nav li + li {
    border: 0;
  }

  .global-nav li a {
    position: relative;
    padding: 25px 0;
    font-size: 13px;
  }

  .global-nav li a::after {
    position: absolute;
    right: 0;
    bottom: 18px;
    left: 0;
    height: 2px;
    background: var(--color-wine);
    content: "";
    transform: scaleX(0);
    transition: transform 0.2s ease;
  }

  .global-nav li a:hover::after {
    transform: scaleX(1);
  }

  .global-nav .button {
    margin-top: 0;
  }

  .quick-links__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero__content {
    padding-block: 130px 110px;
  }
}

@media (max-width: 600px) {
  .site-header__inner {
    gap: 8px;
  }

  .site-header__actions {
    gap: 6px;
  }

  .site-header__actions .button {
    min-height: auto;
    padding: 6px 12px;
    font-size: 12px;
  }

  .account-menu__label {
    max-width: 90px;
  }
}

@media (max-width: 440px) {
  .page-width {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .brand__mark {
    width: 34px;
    height: 34px;
    line-height: 1;
  }

  .brand__text strong {
    font-size: 14px;
  }

  .brand__text small {
    font-size: 8px;
  }

  .menu-button__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .hero {
    min-height: 650px;
  }

  .hero__shade {
    background: linear-gradient(
      0deg,
      rgb(10 31 42 / 95%) 0%,
      rgb(10 31 42 / 64%) 65%,
      rgb(10 31 42 / 34%) 100%
    );
  }

  .hero__content {
    padding-bottom: 54px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .members-band__action .button {
    width: 100%;
  }

  .schedule-list {
    padding-inline: 16px;
  }

  .schedule-list li {
    grid-template-columns: 66px 1fr;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.photo-card {
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #e8ecee;
  aspect-ratio: 4 / 3;
}

.photo-card a,
.photo-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.photo-card img {
  object-fit: cover;
  transition: transform 0.2s ease;
}

.photo-card a:hover img {
  transform: scale(1.025);
}

.archive-status {
  white-space: nowrap;
}

.activity-timeline {
  display: grid;
  gap: 22px;
}

.activity-entry {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--color-line);
  border-radius: 16px;
  background: #fff;
}

.activity-entry h2 {
  margin-top: 0;
}

.activity-entry p {
  margin-block: 5px;
  overflow-wrap: anywhere;
}

.activity-entry h2 {
  overflow-wrap: anywhere;
}

.concert-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.concert-archive-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-medium);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.concert-archive-card__media {
  display: block;
  aspect-ratio: 210 / 297;
  overflow: hidden;
  background: #ece8df;
}

.concert-archive-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 180ms ease;
}

.concert-archive-card__media:hover img {
  transform: scale(1.025);
}

.concert-archive-card__media:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
}

.concert-archive-card__placeholder {
  display: grid;
  place-content: center;
  gap: 0.5rem;
  padding: 1.5rem;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(145deg, var(--color-ink), #354d55);
}

.concert-archive-card__placeholder span,
.concert-archive-card__placeholder small {
  letter-spacing: 0.14em;
  opacity: 0.72;
}

.concert-archive-card__placeholder strong {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.concert-archive-card__body {
  padding: 1.1rem 1.2rem 1.25rem;
}

.concert-archive-card__body h2 {
  margin: 0.25rem 0 0.5rem;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.concert-archive-card__body p:not(.section-label) {
  margin: 0;
  color: var(--color-muted);
}

.concert-archive-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: 1rem;
}

@media (max-width: 880px) {
  .concert-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .concert-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
  }

  .concert-archive-grid--recent {
    grid-template-columns: 1fr;
  }

  .concert-archive-card__body {
    padding: 0.85rem;
  }

  .concert-archive-card__body h2 {
    font-size: 1rem;
  }

  .concert-archive-card__body p,
  .concert-archive-card__actions {
    font-size: 0.85rem;
  }
}

.activity-entry__date {
  color: var(--color-wine);
  font-weight: 700;
}

.form-page {
  max-width: 860px;
}

.modern-form {
  display: grid;
  gap: 28px;
  margin-top: 28px;
}

.modern-form fieldset {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: clamp(22px, 5vw, 38px);
  border: 1px solid var(--color-line);
  border-radius: 18px;
  background: #fff;
}

.modern-form legend {
  padding-inline: 10px;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 700;
}

.form-field,
.form-row > div {
  display: grid;
  gap: 8px;
}

.form-row {
  display: grid;
  gap: 18px;
}

.modern-form label,
.form-label {
  color: var(--color-ink);
  font-weight: 700;
}

.modern-form label > span,
.form-label > span {
  margin-left: 5px;
  color: var(--color-wine);
  font-size: 12px;
}

.modern-form input,
.modern-form select,
.modern-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 13px;
  border: 1px solid #aeb6b8;
  border-radius: 8px;
  background: #fff;
  color: var(--color-ink);
  font: inherit;
}

.modern-form textarea {
  min-height: 180px;
  resize: vertical;
}

.modern-form input:focus,
.modern-form select:focus,
.modern-form textarea:focus {
  border-color: var(--color-wine);
  outline: 3px solid rgb(157 48 66 / 18%);
  outline-offset: 1px;
}

.modern-form small {
  color: var(--color-muted);
}

.phone-fields,
.date-fields,
.choice-fields {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-fields input {
  min-width: 0;
}

.choice-fields {
  min-height: 48px;
  flex-wrap: wrap;
}

.choice-fields label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 400;
}

.choice-fields input {
  width: 20px;
  min-height: 20px;
}

.date-fields label {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-weight: 400;
}

.date-fields label:first-child {
  flex: 1 1 130px;
}

.date-fields label:not(:first-child) {
  flex: 1 1 100px;
}

.date-fields label > span {
  margin: 0;
  color: var(--color-muted);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.form-actions p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .phone-fields {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 5px;
  }

  .date-fields {
    align-items: end;
    flex-wrap: wrap;
  }

  .form-actions .button {
    width: 100%;
  }
}
