:root {
  --bg: #f7f6f2;
  --bg-card: #ffffff;
  --ink: #1c1b19;
  --ink-soft: #5c584f;
  --line: #e4e0d6;
  --accent: #e06b2a;
  --accent-soft: #fff0e4;
  --warn: #8a4b2e;
  --line-green: #06c755;
  --line-bubble: #ffffff;
  --line-mine: #dcf8c6;
  --radius: 16px;
  --font: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
    "Yu Gothic UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.65;
}

body { min-height: 100vh; }

.wrap {
  width: min(560px, 100%);
  margin: 0 auto;
  padding: 28px 18px 48px;
}

.kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

.timer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 14px;
  margin-bottom: 22px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timer:not(.is-on) {
  visibility: hidden;
}

.timer-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.timer-digits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: 100%;
}

.unit {
  text-align: center;
  padding: 10px 4px 8px;
  background: var(--accent-soft);
  border-radius: 12px;
}

.unit strong {
  display: block;
  font-size: clamp(1.35rem, 5vw, 1.75rem);
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}

.unit span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: var(--ink-soft);
}

.timer.is-expired .unit { background: #f1ece6; }
.timer.is-expired .unit strong { color: var(--warn); }

h1 {
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 4.6vw, 1.55rem);
  font-weight: 700;
  line-height: 1.4;
}

.blurb {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 0 18px;
  background: #111;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ended, .video-placeholder {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: #f5f2ea;
  background: linear-gradient(160deg, #2a3433, #1a1f1e);
}

.video.is-ended .ended,
.video.is-empty .video-placeholder { display: grid; }

.video.is-ended iframe,
.video.is-empty iframe { display: none; }

.ended p, .video-placeholder p {
  margin: 0;
  font-size: 0.95rem;
}

.cta {
  display: block;
  width: 100%;
  padding: 16px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  text-decoration: none;
}

.cta.is-secondary {
  background: #fff;
  color: var(--accent);
  border: 1px solid var(--accent);
  margin-top: 10px;
}

.cta.is-disabled {
  pointer-events: none;
  opacity: 0.45;
}

.note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

.foot {
  margin-top: 28px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--ink-soft);
  text-align: center;
}

.week {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin: 16px 0 8px;
}

.week-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-height: 118px;
  padding: 8px 4px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  text-align: center;
}

.week-day.is-off {
  background: #f1ece6;
  color: #b0aaa0;
  pointer-events: none;
}

.week-day strong {
  font-size: 12px;
  color: var(--ink-soft);
}

.week-day.is-open strong { color: var(--accent); }

.week-day span {
  display: block;
  width: 100%;
  padding: 6px 2px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
}

.week-day.is-open span,
.week-day.is-open .time {
  background: var(--accent-soft);
  color: var(--accent);
}

.week-day.is-off span { color: #c4bdb3; }

.time {
  display: block;
  width: 100%;
  padding: 6px 2px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.bubble.wide { max-width: 100%; }

.banner {
  display: block;
  overflow: hidden;
  padding: 28px 12px 22px;
  text-decoration: none;
  background: #fff;
  color: #111;
  text-align: center;
}

.banner strong {
  display: block;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.05;
  color: #111;
}

.banner-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 2px;
}

.chev {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  height: 52px;
  padding: 0 28px 0 16px;
  background: linear-gradient(90deg, #ffe6f1 0%, #ff8fb3 55%, #ff4d8d 100%);
  clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 50%, calc(100% - 26px) 100%, 0 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.banner-rest {
  color: #ff7aa8;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
  text-align: left;
}

.line-ok {
  display: block;
  width: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #222;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}

.line-ok p {
  margin: 0;
  padding: 22px 18px 20px;
  font-size: 16px;
  line-height: 1.7;
  text-align: center;
}

.line-ok span {
  display: block;
  padding: 14px 0 16px;
  border-top: 1px solid #eee;
  color: #3b82f6;
  font-size: 17px;
  text-align: center;
}

.week-caption {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--ink-soft);
  text-align: center;
}

.slots { display: grid; gap: 10px; margin: 18px 0; }

.slot {
  display: block;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
}

.slot strong { display: block; color: var(--accent); }
.slot span { font-size: 13px; color: var(--ink-soft); }

.lookbook { width: min(1100px, 100%); margin: 0 auto; padding: 28px 18px 64px; }
.lookbook h1 { margin-bottom: 8px; }
.lookbook .lead { color: var(--ink-soft); margin: 0 0 28px; }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.phone {
  background: #111;
  border-radius: 28px;
  padding: 12px 10px 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}
.phone iframe {
  width: 100%;
  height: 720px;
  border: 0;
  border-radius: 18px;
  background: var(--bg);
}
.caption { margin: 10px 8px 0; font-size: 13px; color: #ddd; }
.section { margin-top: 48px; }
.thread {
  max-width: 420px;
  background: #8cabd0;
  border-radius: 18px;
  padding: 16px 12px 20px;
}
.bubble {
  max-width: 88%;
  margin: 0 0 10px;
  padding: 10px 12px;
  background: var(--line-bubble);
  border-radius: 14px;
  white-space: pre-wrap;
  font-size: 14px;
  line-height: 1.6;
}
.bubble.meta {
  background: transparent;
  color: #1c3a5a;
  font-size: 12px;
  padding: 4px 0;
}
.chip-row { display: grid; gap: 8px; margin-top: 8px; }
.chip {
  display: block;
  padding: 10px 12px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
}
.nav a {
  padding: 8px 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
}
