/* 原宿Today v2 — 3a top (front page only)
   Source: docs/claude/design/static/ht.css "3a top" + the ≤767px part.
   Colors are tokens only. */

/* ===== hero ===== */
.ht-hero { margin: 0 20px; padding: 20px 20px 32px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: stretch; }
.ht-hero-photo { grid-column: 1 / -1; position: relative; height: 260px; border-radius: 26px; }
.ht-hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 26px; }
.ht-hero-caption { position: absolute; left: 16px; bottom: 16px; font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: var(--ht-r-pill); background: var(--ht-glass-strong); color: var(--ht-ink); }
.ht-hero-main { display: flex; flex-direction: column; justify-content: space-between; gap: 26px; padding: 8px 0; min-width: 0; container-type: inline-size; }
.ht-hero-block { display: flex; flex-direction: column; gap: 10px; }
.ht-hero-date-label { font-size: 15px; font-weight: 700; color: var(--ht-sky-700); }
.ht-hero-date { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 12px; color: var(--ht-ink); }
/* The date shrinks with its column (cqi = % of .ht-hero-main) so "12.31" never runs into 今日行けるところ. */
.ht-hero-date .ht-num:first-child { font-size: 140px; font-size: min(140px, 24cqi); line-height: .9; letter-spacing: -.03em; white-space: nowrap; }
.ht-hero-date .ht-num:last-child { font-size: 32px; font-size: min(32px, 6cqi); color: var(--ht-sky); }
.ht-hero-lead { margin: 0; font-family: var(--ht-font-jp); font-weight: 700; font-size: 19px; line-height: 1.5; }

/* counts */
.ht-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.ht-count { background: var(--ht-white); border-radius: var(--ht-r-card); padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; color: var(--ht-ink); }
.ht-theme a.ht-count { color: var(--ht-ink); }
.ht-theme a.ht-count:hover { color: var(--ht-ink); box-shadow: inset 0 0 0 2px var(--ht-green-200); }
.ht-count > span:first-child { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ht-count .ht-num { font-size: 44px; line-height: 1; }
.ht-count .ht-num small { font-family: var(--ht-font-jp); font-size: 16px; font-weight: 700; margin-left: 4px; color: var(--ht-ink); }
.ht-theme .ht-count.is-live { background: var(--ht-green); color: var(--ht-white); }
.ht-theme a.ht-count.is-live:hover { color: var(--ht-white); background: var(--ht-green-700); box-shadow: none; }
.ht-count.is-live .ht-num small { color: var(--ht-white); }
.ht-count.is-tomorrow > span:first-child { color: var(--ht-sky-700); }
.ht-count.is-tomorrow .ht-num { color: var(--ht-sky); }
.ht-count.is-final { border-top: 8px solid transparent; background-image: linear-gradient(var(--ht-white), var(--ht-white)), var(--ht-stripe-pink); background-origin: border-box; background-clip: padding-box, border-box; }
.ht-count.is-final .ht-num { color: var(--ht-pink); }
.ht-dot-pink { width: 8px; height: 8px; border-radius: 50%; background: var(--ht-pink); }
.ht-updated { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--ht-sky-700); }

/* 今日行けるところ */
.ht-today { background: var(--ht-white); border-radius: 26px; padding: 24px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ht-today-head { display: flex; justify-content: space-between; align-items: center; }
.ht-today-head h2 { margin: 0; font-family: var(--ht-font-jp); font-weight: 900; font-size: 19px; }
.ht-today-head .ht-num { font-size: 15px; color: var(--ht-ink-3); }
.ht-today-list { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }

/* ===== sections ===== */
.ht-home-notice { padding-top: 26px; }
.ht-home-empty { margin: 0; font-size: 15px; color: var(--ht-ink-2); }

/* ===== guide + recent shops ===== */
.ht-bottom-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
/* 原宿ガイド: small cards (photo left, title, 2-line excerpt), always 2 columns from 768px up */
.ht-guides { padding: 26px 28px 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ht-guide-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ht-guide-head h2 { margin: 0; display: flex; align-items: baseline; gap: 10px; font-family: var(--ht-font-jp); font-weight: 900; font-size: 19px; }
.ht-guide-head .ht-num { font-size: 15px; color: var(--ht-green-200); }
.ht-theme .ht-guide-more { font-size: 13px; font-weight: 700; color: var(--ht-white); text-decoration: underline; text-underline-offset: 3px; }
.ht-theme .ht-guide-more:hover { color: var(--ht-green-50); }
.ht-guide-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ht-guide-card { display: flex; gap: 12px; align-items: center; height: 100%; padding: 10px; border-radius: 20px; background: var(--ht-white); }
.ht-theme a.ht-guide-card { color: var(--ht-ink); }
.ht-theme a.ht-guide-card:hover { background: var(--ht-green-100); color: var(--ht-ink); }
.ht-guide-card .ht-ph { flex: none; width: 96px; height: 96px; }
.ht-guide-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ht-guide-card .ht-card-title { font-size: 16px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ht-guide-excerpt { font-size: 13px; line-height: 1.5; color: var(--ht-ink-2); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.ht-shops { padding: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ht-shops-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.ht-shops-head h2 { margin: 0; font-family: var(--ht-font-jp); font-weight: 900; font-size: 19px; }
.ht-shops ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ht-row-shop .ht-num.is-pending { font-family: var(--ht-font-jp); font-size: 13px; color: var(--ht-ink-3); }

/* 今日（・今週末）のイベント: 3 columns → 2 (≤1023px) → 1 (≤599px); no horizontal scroll (2026-10-20). */
@media (max-width: 1023px) {
	.ht-home-event .ht-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
	.ht-home-event .ht-grid-3 { grid-template-columns: minmax(0, 1fr); }
}

/* ===== ≤767px ===== */
@media (max-width: 767px) {
	.ht-hero { margin: 8px 8px 0; padding: 10px 10px 16px; grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.ht-hero-photo { height: auto; aspect-ratio: 16 / 10; border-radius: 16px; }
	.ht-hero-photo img { border-radius: 16px; }
	.ht-hero-caption { left: 10px; bottom: 10px; }
	.ht-hero-main { gap: 16px; padding: 0 4px; }
	.ht-hero-date .ht-num:first-child { font-size: 80px; font-size: min(80px, 25cqi); }
	.ht-hero-date .ht-num:last-child { font-size: 24px; font-size: min(24px, 6cqi); }
	.ht-hero-lead { font-size: 17px; }
	.ht-counts { gap: 8px; }
	.ht-count { padding: 12px 10px; border-radius: 18px; gap: 4px; }
	.ht-count > span:first-child { font-size: 12px; }
	.ht-count .ht-num { font-size: 30px; }
	.ht-count .ht-num small { font-size: 13px; }
	.ht-count.is-final { border-top-width: 6px; }
	.ht-today { padding: 16px 10px 10px; border-radius: 20px; gap: 12px; }
	.ht-today-head { padding: 0 8px; }
	.ht-today-head h2 { font-size: 17px; }
	.ht-home-notice { padding-top: 20px; }
	.ht-bottom-pair { gap: 12px; }
	.ht-guides,
	.ht-shops { padding: 20px 16px; }
	.ht-guide-head h2 { font-size: 17px; }
	.ht-guide-list { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.ht-guide-card { gap: 10px; padding: 8px; border-radius: 18px; }
	.ht-guide-card .ht-ph { width: 72px; height: 72px; border-radius: 14px; }
	.ht-guide-card .ht-card-title { font-size: 15px; }
}
