@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@400;600;800&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f7f6f4;
  --color-fg: #1a1a1a;
  --color-fg-muted: #6b6b68;
  --color-accent: #b89b5e;
  --color-border: #e7e4de;
  --color-danger: #b3413c;
  --color-success: #4d6b52;

  --ease-standard: cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 4px;
  --radius-md: 8px;

  --font-serif: "Shippori Mincho B1", "Noto Serif JP", serif;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  line-height: 1.7;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .font-heading {
  font-family: var(--font-serif);
  letter-spacing: 0.02em;
  margin: 0;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.5s var(--ease-standard), color 0.5s var(--ease-standard);
}
.site-header.inverted {
  background: rgba(26, 26, 26, 0.92);
  color: #fff;
  border-bottom-color: transparent;
}
.site-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-logo { font-family: var(--font-serif); font-size: 1.1rem; }
.site-nav { display: flex; align-items: center; gap: 2rem; font-size: 0.875rem; }
.site-nav a {
  position: relative;
  padding: 4px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-standard);
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav .external { opacity: 0.7; font-size: 0.75rem; }

/* ---------- Scroll progress bar ---------- */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--color-accent);
  z-index: 50;
  transition: width 0.1s linear;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 6rem;
  padding: 3rem 0;
  font-size: 0.875rem;
  color: var(--color-fg-muted);
}
.site-footer .footer-title { font-family: var(--font-serif); font-size: 1rem; color: var(--color-fg); margin-bottom: 1rem; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-standard), transform 0.6s var(--ease-standard);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 80vh;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-parallax-layer {
  position: absolute;
  inset: -10% 0 -10% 0;
  will-change: transform;
}
.hero-image {
  position: absolute;
  inset: -6%;
  background-size: cover;
  background-position: center;
  animation: hero-scale-in 8s var(--ease-standard) forwards;
}
@keyframes hero-scale-in {
  from { transform: scale(1.15); }
  to { transform: scale(1); }
}

/* ---------- Hero slideshow (複数画像フェード切替) ---------- */
.hero-slide {
  opacity: 0;
  transition: opacity 1.6s var(--ease-standard);
  animation: hero-slow-zoom 9s linear forwards;
  will-change: opacity, transform;
}
.hero-slide.is-active {
  opacity: 1;
}
@keyframes hero-slow-zoom {
  from { transform: scale(1.15); }
  to { transform: scale(1.02); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; transition: opacity 0.3s; }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6), rgba(0,0,0,0.1) 60%, transparent);
}
/* 高級感のある金色の光がゆっくり斜めに流れる常時アニメーション */
.hero-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(184, 155, 94, 0.16) 42%,
    rgba(233, 217, 174, 0.28) 50%,
    rgba(184, 155, 94, 0.16) 58%,
    transparent 80%
  );
  background-size: 260% 260%;
  mix-blend-mode: soft-light;
  animation: hero-sheen-drift 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes hero-sheen-drift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-sheen { animation: none; }
}
.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  width: 100%;
  padding-bottom: 4rem;
}
.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}
.hero-title-line {
  display: block;
}
.hero-title span {
  display: inline-block;
  animation: mask-reveal 0.7s var(--ease-standard) both;
}
@keyframes mask-reveal {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
.hero-subtitle { margin-top: 1rem; font-size: 0.95rem; opacity: 0.9; max-width: 32rem; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; }
.section-heading { font-size: 1.5rem; margin-bottom: 0.5rem; }
.section-lead { color: var(--color-fg-muted); font-size: 0.9rem; margin-bottom: 2.5rem; }

/* ---------- 開催予定カレンダー(当月・翌月のミニカレンダー) ---------- */
.calendar-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
@media (max-width: 640px) {
  .calendar-wrap { grid-template-columns: 1fr; }
}
.calendar-card {
  background: #ffffff;
  border: 1px solid rgba(184, 155, 94, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(26, 26, 26, 0.04);
}
.calendar-month-label {
  color: var(--color-fg);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.calendar-grid-head { margin-bottom: 6px; }
.calendar-weekday {
  text-align: center;
  font-size: 0.65rem;
  color: var(--color-fg-muted);
  letter-spacing: 0.05em;
}
.calendar-weekday-sat { color: #4a7fb5; }
.calendar-weekday-sun { color: #c0504d; }
.calendar-cell {
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: rgba(26, 26, 26, 0.4);
  font-size: 0.7rem;
  text-align: center;
  text-decoration: none;
  padding: 2px;
  overflow: hidden;
}
.calendar-cell-empty { visibility: hidden; }
.calendar-day-num { font-size: 0.75rem; line-height: 1.2; }
.calendar-day-sat { color: #4a7fb5; }
.calendar-day-sun { color: #c0504d; }
.calendar-cell-event {
  background: linear-gradient(155deg, rgba(184, 155, 94, 0.16), rgba(184, 155, 94, 0.04));
  border: 1px solid rgba(184, 155, 94, 0.55);
  color: var(--color-fg);
  font-weight: 500;
  transition: background-color 0.25s var(--ease-standard), transform 0.25s var(--ease-standard), border-color 0.25s var(--ease-standard);
}
.calendar-cell-event:hover {
  background: linear-gradient(155deg, rgba(184, 155, 94, 0.32), rgba(184, 155, 94, 0.1));
  border-color: var(--color-accent);
  transform: translateY(-1px);
}
.calendar-cell-event .calendar-day-num {
  color: var(--color-accent);
  font-weight: 700;
}
.calendar-event-model {
  font-size: 0.55rem;
  line-height: 1.15;
  margin-top: 1px;
  color: var(--color-fg);
  opacity: 0.75;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
@media (max-width: 480px) {
  .calendar-card { padding: 1rem; }
  .calendar-weekday { font-size: 0.6rem; }
  .calendar-day-num { font-size: 0.68rem; }
  .calendar-event-model { font-size: 0.5rem; }
}

/* ---------- 「こんな企画を希望」フォーム ---------- */
.plan-request-box {
  margin-top: 3.5rem;
  padding: 2rem;
  background: #ffffff;
  border: 1px solid rgba(184, 155, 94, 0.3);
  border-radius: var(--radius-md);
}
.plan-request-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}
.plan-request-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.5rem;
  height: 2px;
  background: var(--color-accent);
}
.plan-request-lead {
  color: var(--color-fg-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.plan-request-note {
  color: var(--color-fg-muted);
  font-size: 0.72rem;
  margin-bottom: 1.5rem;
}
.plan-request-box textarea {
  resize: vertical;
}
.plan-request-fields {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 0 1.5rem;
}
.plan-request-contact {
  display: grid;
  gap: 0;
}
@media (max-width: 768px) {
  .plan-request-fields { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .plan-request-box { padding: 1.25rem; }
}

/* ---------- 開催日の天気予報カード ---------- */
.weather-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.weather-card-emoji { font-size: 2.5rem; line-height: 1; flex-shrink: 0; }
.weather-card-label { font-weight: 600; margin-bottom: 0.2rem; }
.weather-card-temp { color: var(--color-fg-muted); font-size: 0.9rem; margin-bottom: 0.4rem; }
.weather-card-note { font-size: 0.75rem; color: var(--color-fg-muted); }

/* ---------- Session cards ---------- */
.session-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}
.session-card {
  display: block;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.4s var(--ease-standard), box-shadow 0.4s var(--ease-standard);
  padding: 1px; /* 内側にグラデーション縁取り分の余白を確保 */
  background: conic-gradient(
    from var(--card-border-angle, 0deg),
    var(--color-border) 0%,
    var(--color-border) 60%,
    var(--color-accent) 78%,
    #e9d9ae 85%,
    var(--color-accent) 92%,
    var(--color-border) 100%
  );
  animation: session-card-border-spin 6s linear infinite;
}
.session-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--color-bg);
  border-radius: calc(var(--radius-md) - 1px);
  z-index: 0;
}
.session-card > * { position: relative; z-index: 1; }
.session-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(184, 155, 94, 0.16);
}
@property --card-border-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes session-card-border-spin {
  to { --card-border-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .session-card { animation: none; }
}
.session-card-image-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--color-bg-soft);
  overflow: hidden;
}
.session-card-image-wrap img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.7s var(--ease-standard);
}
.session-card:hover .session-card-image-wrap img { transform: scale(1.04); }
.session-card-body { padding: 1rem; }
.session-card-title { font-size: 1.1rem; margin-top: 0.75rem; line-height: 1.4; }
.session-card-meta { font-size: 0.75rem; color: var(--color-fg-muted); margin-top: 0.25rem; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
  background: rgba(184, 155, 94, 0.08);
  padding: 0.3rem 0.6rem;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
}
.badge-muted { border-color: var(--color-border); color: var(--color-fg-muted); background: var(--color-bg-soft); }
.badge-danger { border-color: #f3c9c7; color: var(--color-danger); background: #fdeeed; }
.badge-warning { border-color: #f0dfb0; color: #8a6d1c; background: #fdf6e3; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.75rem;
  font-size: 0.875rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s var(--ease-standard), color 0.3s var(--ease-standard), border-color 0.3s var(--ease-standard);
}
.btn-primary { background: var(--color-fg); color: #fff; }
.btn-primary:hover { background: var(--color-accent); }
.btn-secondary { background: transparent; border: 1px solid rgba(26,26,26,0.3); color: var(--color-fg); }
.btn-secondary:hover { border-color: var(--color-accent); color: var(--color-accent); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-block { width: 100%; }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.field label { font-size: 0.875rem; font-weight: 500; }
.field .required { color: var(--color-danger); margin-left: 0.2rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="date"],
.field input[type="time"],
.field input[type="number"],
.field input[type="password"],
.field select,
.field textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.3s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--color-accent); }
/* 入力欄の外(同意チェックの下など)のエラー文も同じ見た目にする */
.field .error, form p.error { color: var(--color-danger); font-size: 0.75rem; }
.field .hint { color: var(--color-fg-muted); font-size: 0.75rem; }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 1.5rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

.checkbox-field { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; margin-bottom: 1rem; }
.checkbox-field input { margin-top: 3px; accent-color: var(--color-accent); }

/* 狭い画面で言葉の途中で折り返さないよう、文節ごとにまとめて改行させる */
.phrase { display: inline-block; }
.secure-payment-note { display: flex; align-items: center; gap: 0.6rem; margin: 0.5rem 0 0.75rem; color: var(--color-fg-muted); font-size: 0.75rem; line-height: 1.6; }
.secure-payment-note p { margin: 0; }
#card_error { margin: 0.4rem 0 0; }
#card_error:empty { display: none; }
/* カード入力欄(Square)が自前で持つエラー表示欄。空のときも約46pxの場所を取るため、空なら消す */
#card-container .sq-card-message { margin: 0.4rem 0 0; }
#card-container .sq-card-message:empty { display: none; }
.secure-payment-icon { flex-shrink: 0; color: #2e7d4f; }

.form-box {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

/* ---------- Model picker (request.php) ---------- */
.model-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 0.75rem;
  margin-top: 0.5rem;
}
.model-picker-item {
  cursor: pointer;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 0.4rem;
  transition: border-color 0.3s, background-color 0.3s;
}
.model-picker-item:hover { background: var(--color-bg-soft); }
.model-picker-item.selected { border-color: var(--color-accent); background: rgba(184,155,94,0.05); }
.model-picker-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-bg-soft);
  margin-bottom: 0.4rem;
}
.model-picker-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.model-picker-name { font-size: 0.78rem; }

/* ---------- Slot picker ---------- */
.slot-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  margin-bottom: 0.5rem;
  transition: border-color 0.3s, background-color 0.3s;
}
.slot-option:hover { border-color: var(--color-accent); }
.slot-option.selected { border-color: var(--color-accent); background: rgba(184,155,94,0.05); }
.slot-option.disabled { opacity: 0.4; cursor: not-allowed; background: var(--color-bg-soft); }
.slot-radio-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(26,26,26,0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 0.75rem;
}
.slot-option.selected .slot-radio-dot { border-color: var(--color-accent); }
.slot-radio-dot span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  transform: scale(0);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.slot-option.selected .slot-radio-dot span { transform: scale(1); }

/* ---------- Estimate box ---------- */
.estimate-box {
  border: 1px solid rgba(184,155,94,0.4);
  background: rgba(184,155,94,0.05);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}
.estimate-row { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.15rem 0; }
.estimate-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--color-border); margin-top: 0.75rem; padding-top: 0.75rem; }
.estimate-total .value { font-size: 1.5rem; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--color-border); border-radius: var(--radius-md); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: 0.875rem; min-width: 640px; }
th, td { padding: 0.75rem 1rem; text-align: left; }
thead { background: var(--color-bg-soft); }
tbody tr { border-top: 1px solid var(--color-border); }

/* 開催概要テーブル(ラベル/値の2列)はmin-widthを持たせず、狭い画面でも折り返しで収まるようにする */
.table-summary { min-width: 0; table-layout: fixed; }
.table-summary td:first-child { width: 110px; }
@media (max-width: 480px) {
  .table-summary,
  .table-summary tbody,
  .table-summary tr,
  .table-summary td { display: block; width: auto !important; }
  .table-summary tr { padding: 0.6rem 0; border-top: 1px solid var(--color-border); }
  .table-summary tr:first-child { border-top: none; }
  .table-summary td:first-child { padding-bottom: 0.2rem; font-size: 0.75rem; }
  .table-summary td { padding: 0; }
}

/* スマホ表示ではサイト全体の文字サイズを少し小さくする(remベースの指定が
   連動して縮小される)。管理画面(body.admin-body)は対象外とし、通常サイズを維持する。 */
@media (max-width: 480px) {
  html { font-size: 87.5%; }
  body.admin-body { font-size: 114.29%; }
  .site-logo { font-size: 0.85rem; }
}

/* スマホ表示でのみ効く任意改行。PC表示では折り返さない。 */
.sp-only { display: none; }
@media (max-width: 480px) {
  .sp-only { display: inline; }
}

/* リクエスト撮影フォームのロケーション入力欄+自動計算ボタン:
   スマホでは横並びだとボタンが狭くて窮屈なため、縦積みに変更する。 */
@media (max-width: 480px) {
  .location-input-row { flex-direction: column; }
  .location-input-row input { width: 100%; }
}

/* ---------- Admin ---------- */
.admin-shell { min-height: 100vh; background: var(--color-bg-soft); }
.admin-topbar { background: #fff; border-bottom: 1px solid var(--color-border); }
.admin-topbar-inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; height: 56px; display: flex; align-items: center; gap: 2rem; }
.admin-nav { display: flex; gap: 1.5rem; font-size: 0.875rem; }
.admin-nav a:hover { color: var(--color-accent); }
.admin-main { max-width: 1080px; margin: 0 auto; padding: 2.5rem 24px; }

/* ---------- Alert ---------- */
.alert { padding: 1rem 1.25rem; border-radius: var(--radius-sm); font-size: 0.875rem; margin-bottom: 1.5rem; }
.alert-danger { background: #fdeeed; color: var(--color-danger); border: 1px solid #f3c9c7; }
.alert-success { background: #eaf1eb; color: var(--color-success); border: 1px solid #cfe0d2; }

/* ---------- Utility ---------- */
.text-muted { color: var(--color-fg-muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.flex { display: flex; } .gap-2 { gap: 1rem; } .items-center { align-items: center; } .justify-between { justify-content: space-between; }

/* ---------- 超早割・早割(3段階の早期予約割引) ---------- */
.badge-early-bird { border-color: #e0712b; color: #fff; background: #e0712b; font-weight: 600; }
.early-pricing { border: 1px solid #f2c3a2; background: #fff8f2; border-radius: var(--radius-md); padding: 0.9rem 1rem; margin-bottom: 1.25rem; }
.early-pricing-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.25rem 1rem; margin-bottom: 0.6rem; }
.early-pricing-now { font-weight: 700; color: #c45a17; }
.early-pricing-countdown { font-weight: 700; font-variant-numeric: tabular-nums; }
.early-pricing-table-wrap { overflow-x: auto; }
.early-pricing-table { width: 100%; min-width: 0; border-collapse: collapse; font-size: 0.8rem; background: #fff; }
.early-pricing-table th, .early-pricing-table td { padding: 0.45rem 0.5rem; border: 1px solid #f1dccb; text-align: right; white-space: nowrap; }
.early-pricing-table th:first-child, .early-pricing-table td:first-child { text-align: left; white-space: normal; min-width: 6.5rem; }
.early-pricing-table th { background: #fdf1e6; font-weight: 600; line-height: 1.35; }
.early-pricing-table th small { font-weight: 400; color: var(--color-fg-muted); }
.early-pricing-table .is-current { background: #e0712b; color: #fff; font-weight: 700; }
.early-pricing-table th.is-current small { color: #fff; }
.early-pricing-note { font-size: 0.72rem; color: var(--color-fg-muted); margin-top: 0.5rem; }

/* 1行に収めるための調整(スマホ) */
.early-pricing-head > span { white-space: nowrap; }
.early-pricing-countdown { font-size: 0.85rem; }
.early-pricing-steps { font-size: 0.72rem; color: var(--color-fg-muted); margin-bottom: 0.5rem; white-space: nowrap; overflow-x: auto; }
.early-pricing-steps .is-current { color: #c45a17; font-weight: 700; }
.early-pricing-steps .is-current::before { content: "【今】"; }
.early-pricing-arrow { margin: 0 0.3rem; }
.early-pricing-table th, .early-pricing-table td { white-space: nowrap; }
.early-pricing-table th:first-child, .early-pricing-table td:first-child { white-space: nowrap; min-width: 0; }
.slot-label { display: flex; align-items: center; min-width: 0; white-space: nowrap; }
.slot-label-note { font-size: 0.72em; color: var(--color-fg-muted); margin-left: 0.15rem; }
.slot-current-price { white-space: nowrap; font-weight: 700; margin-left: 0.5rem; }
.session-card-badges { display: flex; align-items: center; gap: 0.35rem; white-space: nowrap; flex-wrap: nowrap; }
.session-card-remaining { display: block; margin-top: 0.35rem; }
@media (max-width: 640px) {
  .early-pricing { padding: 0.75rem 0.7rem; }
  .early-pricing-table { font-size: 0.72rem; }
  .early-pricing-table th, .early-pricing-table td { padding: 0.4rem 0.35rem; }
  .slot-option { font-size: 0.85rem; padding-left: 0.75rem; padding-right: 0.75rem; }
  .session-card-badges .badge { font-size: 0.68rem; }
}
/* 小さい画面(幅360px以下)でも1行に収める: 文字を一段小さくし、枠名の補足(「（時間はご相談）」等)だけ「…」で省略 */
.slot-label { flex: 1; overflow: hidden; }
.slot-label > span:last-child { overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 360px) {
  .early-pricing-now { font-size: 0.9rem; }
  .early-pricing-countdown { font-size: 0.75rem; }
  .early-pricing-table { font-size: 0.66rem; }
  .early-pricing-table th, .early-pricing-table td { padding: 0.35rem 0.25rem; }
  .slot-option { font-size: 0.78rem; padding-left: 0.6rem; padding-right: 0.6rem; }
}
@media (max-width: 360px) {
  .container-narrow > * { min-width: 0; }
  .form-box { padding-left: 0.85rem; padding-right: 0.85rem; }
  .early-pricing { padding: 0.6rem 0.5rem; }
}

/* 撮影会タイトル: シリーズ名は小さく上に、本題は1行で(収まらなければ main.js が文字を小さくする) */
.session-card-series { font-size: 0.72rem; color: var(--color-fg-muted); margin-top: 0.75rem; letter-spacing: 0.02em; }
.session-card-series + .session-card-title { margin-top: 0.15rem; }
[data-fit-text] { display: block; white-space: nowrap; overflow: hidden; }
.detail-title-series { display: block; font-size: 0.55em; opacity: 0.9; }

.early-pricing-note { font-size: 0.68rem; white-space: nowrap; }
