/* ==========================================================================
   v2 today — 今日のサンメドウズ清里（page-winter-today.php）
   画像: lib/img/winter_v2/today_*  ブレークポイント: 768px
   ========================================================================== */

/* ---- コンディション ---- */
.v2-condition__panel {
	margin-top: 40px;
	padding: 48px 80px 56px;
	border-radius: var(--v2-radius);
	background: url("../../img/winter_v2/today_condition_bg.webp") center / cover no-repeat, var(--v2-gradient);
	color: #fff;
}
.v2-condition__date { font-family: var(--v2-en); font-size: 28px; letter-spacing: .04em; }
.v2-condition__date small { font-size: 15.6px; letter-spacing: .02em; }
.v2-condition__date small span { font-size: .75em; }
.v2-condition__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 32px; }
.v2-condition__item,
.v2-condition__road { display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(255, 255, 255, .85); border-radius: 8px; }
.v2-condition__item { min-height: 148px; }
.v2-condition__label { font-size: 14px; letter-spacing: .1em; }
.v2-condition__value { margin-top: 8px; font-family: var(--v2-en); font-size: 40px; line-height: 1.4; letter-spacing: .04em; }
.v2-condition__value small { margin-left: 4px; font-size: 14px; }
.v2-condition__value--weather { display: flex; flex-direction: column; align-items: center; }
.v2-condition__value--weather img { width: 40px; height: 40px; filter: brightness(0) invert(1); }
.v2-condition__value--weather small { margin: 4px 0 0; font-size: 11px; }
.v2-condition__value--text { font-family: var(--v2-sans); font-size: 22px; }
.v2-condition__road { margin-top: 40px; min-height: 106px; padding: 16px; text-align: center; }
.v2-condition__road p { margin-top: 4px; font-size: 16px; letter-spacing: .08em; }

/* ---- ライブカメラ ---- */
.v2-camera__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 40px; }
.v2-camera__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 64px;
	padding: 8px 16px;
	border-radius: 4px;
	background: var(--v2-blue);
	color: #fff;
	font-family: var(--v2-serif);
	font-size: 20px;
	letter-spacing: .06em;
}
.v2-camera__name { display: flex; flex-direction: column; font-size: 20px; line-height: 1.5; }
.v2-camera__name small { font-family: var(--v2-serif); font-size: 11px; letter-spacing: .06em; }
.v2-camera__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.v2-camera__title time { font-family: var(--v2-en); font-size: 16px; line-height: 1.4; }
.v2-live {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 0 12px;
	border-radius: 12px;
	background: #fff;
	color: var(--v2-blue);
	font-family: var(--v2-serif);
	font-size: 12px;
	line-height: 24px;
}
.v2-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.v2-camera__img { margin-top: 20px; aspect-ratio: 580 / 326; border-radius: 8px; background: #bbbdbf; overflow: hidden; }
.v2-camera__img img { width: 100%; height: 100%; object-fit: cover; }
.v2-camera .v2-btn { margin-top: 56px; }

/* ---- バナー ---- */
.v2-today-banner { margin-top: 120px; }
.v2-today-banner img { width: 100%; height: auto; }

/* ---- リフト・コース ---- */
.v2-section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.v2-link--head { margin-top: 0; font-size: 14px; }
.v2-lift__table { margin-top: 48px; }
.v2-lift__row {
	display: grid;
	grid-template-columns: 1fr 327px 327px;
	align-items: center;
	min-height: 84px;
	margin-top: 12px;
	border-radius: 8px;
	background: var(--v2-gray);
}
.v2-lift__row:not(.v2-lift__row--head):nth-child(even) { background: var(--v2-pale-blue); }
.v2-lift__row--head { min-height: 0; margin-top: 0; background: none; color: var(--v2-blue); font-size: 14px; text-align: center; }
.v2-lift__row > span:not(:first-child) { text-align: center; }
.v2-lift__row:not(.v2-lift__row--head) > span:not(:first-child) { border-left: 1px solid #cfd6df; line-height: 40px; }
.v2-lift__name { padding-left: 40px; font-family: var(--v2-serif); font-size: 20px; letter-spacing: .08em; }
.v2-lift__status { font-weight: 500; color: var(--v2-blue); }
.v2-lift__status::before { content: "● "; font-size: 10px; vertical-align: 2px; }
.v2-lift__status--checking { color: #a4710a; }
.v2-lift__status--closed { color: #e0261b; }
.v2-lift__hours { font-family: var(--v2-en); font-size: 24px; letter-spacing: .08em; }

/* ---- カレンダー・お知らせ ---- */
.v2-calendar__row { display: grid; grid-template-columns: 660px 1fr; gap: 40px; margin-top: 56px; align-items: start; }
.v2-cal { padding: 32px 32px 28px; border: 1px solid #d6dde6; border-radius: 32px; }
.v2-cal__head { display: flex; align-items: center; justify-content: space-between; }
.v2-cal__month { font-family: var(--v2-en); font-size: 22px; letter-spacing: .08em; }
.v2-cal__nav { position: relative; width: 36px; height: 36px; border: 1px solid #c3ccd8; border-radius: 50%; background: #fff; cursor: pointer; }
.v2-cal__nav::after { content: ""; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-top: 1.5px solid var(--v2-blue); border-right: 1.5px solid var(--v2-blue); transform: translate(-70%, -50%) rotate(45deg); }
.v2-cal__nav--prev::after { transform: translate(-30%, -50%) rotate(-135deg); }
.v2-cal__nav:disabled { opacity: .35; cursor: default; }
.v2-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-top: 24px; }
.v2-cal__dow { text-align: center; font-size: 12px; line-height: 2; color: #7b8794; }
.v2-cal__dow--sat { color: var(--v2-blue); }
.v2-cal__dow--sun { color: #e5336b; }
.v2-cal__day {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 75px;
	border: 1px solid transparent;
	border-radius: 6px;
	background: #f4f6f8;
	color: #7b8794;
	font-family: var(--v2-en);
	font-size: 17px;
	line-height: 1.4;
}
.v2-cal__day small { font-family: var(--v2-sans); font-size: 10px; }
.v2-cal__day--open { background: #d3e3f5; color: var(--v2-blue); }
.v2-cal__day--partial { background: #fae6c6; color: #a4710a; }
.v2-cal__day--closed { background: #fff; border-color: #d6dde6; }
.v2-cal__day--today { border: 2px solid var(--v2-blue); }
/* メモ付きの日: ホバー / フォーカス（タップ）でツールチップ表示 */
.v2-cal__day--memo { position: relative; cursor: help; }
.v2-cal__day--memo::before { content: ""; position: absolute; top: 5px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.v2-cal__day--memo::after {
	content: attr(data-note);
	position: absolute;
	bottom: calc(100% + 8px);
	left: 50%;
	z-index: 2;
	width: max-content;
	max-width: 180px;
	padding: 6px 10px;
	border-radius: 6px;
	background: var(--v2-navy);
	color: #fff;
	font-family: var(--v2-sans);
	font-size: 12px;
	line-height: 1.5;
	text-align: left;
	opacity: 0;
	visibility: hidden;
	transform: translateX(-50%);
	pointer-events: none;
	transition: opacity .15s;
}
.v2-cal__day--tip-left::after { left: 0; transform: none; }
.v2-cal__day--tip-right::after { left: auto; right: 0; transform: none; }
.v2-cal__day--memo:hover::after,
.v2-cal__day--memo:focus::after { opacity: 1; visibility: visible; }
.v2-cal__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #d6dde6; font-size: 12px; }
.v2-cal__legend li::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 6px; border-radius: 2px; vertical-align: -2px; }
.v2-cal__legend .is-open::before { background: #d3e3f5; }
.v2-cal__legend .is-partial::before { background: #fae6c6; }
.v2-cal__legend .is-closed::before { background: #fff; border: 1px solid #d6dde6; }
.v2-cal__legend .is-today::before { border: 2px solid var(--v2-blue); }

.v2-news__title { font-family: var(--v2-serif); font-size: 20px; letter-spacing: .08em; }
.v2-news__list { margin-top: 16px; }
.v2-news__list li { border-bottom: 1px solid #d6dde6; }
.v2-news__list a { position: relative; display: block; padding: 22px 40px 22px 12px; }
.v2-news__list a::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border-top: 1.5px solid var(--v2-blue); border-right: 1.5px solid var(--v2-blue); transform: translateY(-50%) rotate(45deg); }
.v2-news__meta { display: flex; align-items: center; gap: 10px; font-family: var(--v2-en); font-size: 14px; letter-spacing: .06em; }
.v2-news__cat { padding: 0 8px; border: 1px solid var(--v2-blue); border-radius: 2px; color: var(--v2-blue); font-family: var(--v2-sans); font-size: 11px; line-height: 20px; }
.v2-news__text { display: block; margin-top: 4px; font-size: 15px; line-height: 2.1; }
.v2-news__more { margin-top: 24px; text-align: right; }
.v2-top .v2-calendar { padding-bottom: 120px; }
.v2-calendar .v2-btn { margin-top: 80px; }

@media (max-width: 1100px) {
	.v2-calendar__row { grid-template-columns: 1fr; }
	.v2-lift__row { grid-template-columns: 1fr 200px 200px; }
}

@media (max-width: 767px) {
	.v2-top .v2-section__inner { padding: 0 20px; }
	.v2-condition__panel { margin-top: 24px; padding: 28px 20px 20px; }
	.v2-condition__date { font-size: 26px; }
	.v2-condition__list { grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 20px; }
	.v2-condition__item { min-height: 148px; }
	.v2-condition__road { margin-top: 8px; min-height: 0; padding: 24px 16px; }
	.v2-condition__value { font-size: 32px; }
	.v2-camera__list { grid-template-columns: 1fr; gap: 24px; margin-top: 24px; }
	.v2-camera__name { font-size: 16px; }
	.v2-camera .v2-btn { width: 100%; margin-top: 40px; }
	.v2-today-banner { margin-top: 72px; }
	.v2-today-banner img { height: 160px; object-fit: cover; }
	.v2-section__head { flex-direction: column; align-items: flex-start; }
	.v2-lift__table { margin-top: 24px; }
	.v2-lift__row--head { display: none; }
	.v2-lift__row { grid-template-columns: 1fr 1fr; padding: 12px 20px 16px; row-gap: 8px; min-height: 0; }
	.v2-lift__name { grid-column: 1 / -1; padding: 0 0 8px; border-bottom: 1px solid #cfd6df; font-size: 20px; }
	.v2-lift__row:not(.v2-lift__row--head) > span:not(:first-child) { border-left: 0; text-align: left; }
	.v2-lift__hours { text-align: right !important; font-size: 20px; }
	.v2-calendar__row { margin-top: 32px; }
	.v2-cal { padding: 20px 12px; border-radius: 20px; }
	.v2-cal__grid { gap: 4px; }
	.v2-cal__day { min-height: 44px; font-size: 14px; }
	.v2-cal__day small { font-size: 9px; }
	.v2-top .v2-calendar { padding-bottom: 72px; }
	.v2-calendar .v2-btn { margin-top: 56px; }
}
