@charset "UTF-8";
/*!
 * HIMICO クリスマス 壁紙ダウンロードページ(購入者用・X限定 共通)
 * デザインは /l/pc/event/himico_christmas_26/ に合わせる
 * @author SHIROHATO IGUCHI
 * (c) 2026 株式会社白鳩  All rights reserved.
 *
 * 【AI学習不可】本ファイルの内容（コード・文言・データ）を、機械学習および生成AIの
 *   学習、学習用データセットの作成に用いることを禁じます。そのための収集・複製・
 *   解析・再配布も同様です。
 *   No AI/ML training. This file must not be used to train, fine-tune or evaluate
 *   any machine learning or generative AI model, nor be included in training data.
 */

:root {
	--wine: #840b11;
	--gold: #cca981;
	--cream: #f1d3c3;
	--deep: #4e0b12;
	--noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.08'/%3E%3C/svg%3E");
	--serif-en: "cormorant-garamond", "Cormorant Garamond", Garamond, "Times New Roman", serif;
	--serif-ja: "Yu Mincho", "游明朝", YuMincho, "Hiragino Mincho ProN", "ヒラギノ明朝 ProN", "Noto Serif JP", serif;
	--sans-ja: "Yu Gothic", "游ゴシック", YuGothic, "Hiragino Sans", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--serif-ja);
	font-feature-settings: "palt";
	letter-spacing: 0.025em;
	color: var(--gold);
	background-color: var(--deep);
	background-image: radial-gradient(ellipse 65% 55% at 50% 50%, #852d35 0%, #68202a 40%, #4e0b12 100%);
	background-attachment: fixed;
	overflow-x: clip;
	isolation: isolate;
}

body::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	opacity: 0.08;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='.5'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; vertical-align: top; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }

.wp_main {
	position: relative;
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	background-color: var(--wine);
	background-image: var(--noise);
	overflow: hidden;
}

/* ===== HEADER ===== */
.wp_hdr {
	padding: 22px 0 0;
	text-align: center;
}
.wp_hdr img { width: 34%; }

/* ===== HERO ===== */
.wp_hero {
	position: relative;
	padding: 46px 20px 10px;
	text-align: center;
}
.wp_hero_logo {
	position: relative;
	width: 76%;
	margin: 0 auto;
}
.wp_hero_logo img.cc {
	display: block;
	width: 100%;
	filter:
		drop-shadow(0 0 8px rgba(170, 85, 17, 0.47))
		drop-shadow(0 0 16px rgba(170, 85, 17, 0.35))
		drop-shadow(0 0 24px rgba(170, 85, 17, 0.23));
}
.wp_hero_logo .kira {
	position: absolute;
	width: 13%;
	top: -6%;
	right: 2%;
	animation: kira 2.8s ease-in-out infinite;
}
@keyframes kira {
	0%, 100% { opacity: 0.25; transform: scale(0.8) rotate(0deg); }
	50% { opacity: 1; transform: scale(1.05) rotate(20deg); }
}
.wp_hero_tit {
	margin-top: 26px;
	font-family: var(--serif-en);
	font-weight: 400;
	font-size: 30px;
	letter-spacing: 0.22em;
	color: var(--cream);
	text-shadow: 0 0 6px rgba(255, 215, 155, 0.35), 0 0 14px rgba(255, 195, 120, 0.18);
}
.wp_hero_tit small {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	letter-spacing: 0.3em;
	color: var(--gold);
}
.wp_badge {
	display: inline-block;
	margin-top: 18px;
	padding: 6px 18px 5px;
	border: 1px solid rgba(204, 169, 129, 0.7);
	border-radius: 9999px;
	font-family: var(--sans-ja);
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 0.12em;
	color: var(--cream);
}

.wp_orn {
	position: absolute;
	pointer-events: none;
	filter: drop-shadow(0 8px 10px rgba(30, 0, 0, 0.35));
	animation: sway 5s ease-in-out infinite;
	transform-origin: 50% 0;
}
@keyframes sway {
	0%, 100% { transform: rotate(-4deg); }
	50% { transform: rotate(4deg); }
}

/* ===== LEAD ===== */
.wp_lead {
	padding: 40px 20px 10px;
	text-align: center;
}
.wp_lead .star {
	display: block;
	width: 32px;
	margin: 0 auto 30px;
	filter: drop-shadow(0 0 5px rgba(255, 215, 155, 0.375)) drop-shadow(0 0 12px rgba(255, 195, 120, 0.16));
}
.wp_lead p {
	font-size: 15px;
	line-height: 2.2;
	letter-spacing: 0.1em;
	text-shadow: 0 0 5px rgba(255, 215, 155, 0.3), 0 0 12px rgba(255, 195, 120, 0.15);
}

/* ===== LIST ===== */
.wp_list {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 34px 18px;
	padding: 50px 24px 20px;
}
.wp_list.single {
	grid-template-columns: 1fr;
	padding: 40px 0 10px;
}
.wp_list.single .wp_item { width: 62%; margin: 0 auto; }

.wp_item { text-align: center; }
.wp_item button {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}
.wp_phone {
	position: relative;
	display: block;
	aspect-ratio: 1170 / 2532;
	border-radius: 18px;
	overflow: hidden;
	border: 1px solid rgba(241, 211, 195, 0.55);
	box-shadow: 0 10px 24px rgba(25, 0, 0, 0.45), inset 0 0 0 3px rgba(0, 0, 0, 0.35);
	background: #2a0508;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.wp_phone img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.wp_phone::after { /* 時計の位置の目安 */
	content: "12:00";
	position: absolute;
	top: 11%;
	left: 0;
	right: 0;
	font-family: var(--sans-ja);
	font-size: clamp(18px, 7vw, 30px);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.85);
	letter-spacing: 0.02em;
	text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
	pointer-events: none;
}
.wp_list.single .wp_phone::after { font-size: 40px; }
@media (hover: hover) {
	.wp_item button:hover .wp_phone {
		transform: translateY(-4px);
		box-shadow: 0 16px 30px rgba(25, 0, 0, 0.55), inset 0 0 0 3px rgba(0, 0, 0, 0.35);
	}
}
.wp_no {
	display: block;
	margin-top: 14px;
	font-family: var(--serif-en);
	font-size: 22px;
	letter-spacing: 0.08em;
	color: var(--cream);
}
.wp_no span { font-size: 12px; margin-left: 4px; letter-spacing: 0.2em; }
.wp_dl {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	padding: 6px 16px;
	border: 1px solid var(--cream);
	border-radius: 9999px;
	font-family: var(--sans-ja);
	font-size: 12px;
	font-weight: 300;
	letter-spacing: 0.08em;
	color: var(--cream);
}
.wp_dl::before {
	content: "";
	width: 10px;
	height: 10px;
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23f1d3c3' stroke-width='1.2'%3E%3Cpath d='M6 1v7M3 5l3 3 3-3M1.5 11h9'/%3E%3C/svg%3E");
}

/* ===== HOW TO ===== */
.wp_box {
	width: calc(100% - 40px);
	margin: 60px auto 0;
	padding: 34px 20px 30px;
	border-top: 1px solid rgba(204, 169, 129, 0.4);
	border-bottom: 1px solid rgba(204, 169, 129, 0.4);
}
.wp_box h2 {
	font-family: var(--serif-en);
	font-weight: 400;
	font-size: 24px;
	letter-spacing: 0.16em;
	text-align: center;
	color: var(--cream);
}
.wp_box h2 small {
	display: block;
	margin-top: 4px;
	font-family: var(--serif-ja);
	font-size: 12px;
	letter-spacing: 0.1em;
	color: var(--gold);
}
.wp_howto { margin-top: 24px; }
.wp_howto h3 {
	margin: 22px 0 8px;
	font-family: var(--serif-ja);
	font-size: 14px;
	font-weight: bold;
	letter-spacing: 0.06em;
	color: var(--cream);
}
.wp_howto h3:first-child { margin-top: 0; }
.wp_howto ol { counter-reset: step; }
.wp_howto li,
.wp_notes li {
	position: relative;
	padding-left: 1.6em;
	font-family: var(--sans-ja);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.85;
	letter-spacing: 0.02em;
}
.wp_howto li::before {
	counter-increment: step;
	content: counter(step) ".";
	position: absolute;
	left: 0;
	font-family: var(--serif-en);
	font-size: 15px;
	color: var(--cream);
}
.wp_notes { margin-top: 20px; }
.wp_notes li { font-size: 12px; }
.wp_notes li::before {
	content: "※";
	position: absolute;
	left: 0.2em;
}

/* ===== PERIOD ===== */
.wp_period {
	margin-top: 26px;
	text-align: center;
	color: var(--cream);
}
.wp_period h4 {
	font-size: 13px;
	font-weight: bold;
	letter-spacing: 0.04em;
}
.wp_period p {
	margin-top: 6px;
	font-family: var(--serif-en);
	font-size: 26px;
	letter-spacing: 0.04em;
	white-space: nowrap;
}
.wp_period p span { font-size: 15px; }

/* ===== BUTTONS ===== */
.wp_btns { padding: 50px 20px 70px; }
.btn_26 {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 58px;
	margin: 16px auto 0;
	padding: 14px 35px 14px 20px;
	border: 1px solid var(--cream);
	border-radius: 9999px;
	font-family: var(--sans-ja);
	font-size: 15px;
	font-weight: 200;
	letter-spacing: 0.04em;
	color: #f1d9c3;
	text-align: center;
	transition: background 0.3s ease, color 0.3s ease;
}
.btn_26::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 20px;
	width: 7px;
	height: 7px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
}
.btn_26.fill { background: var(--cream); color: #75432f; font-weight: 400; }
@media (hover: hover) {
	.btn_26:hover { background: var(--cream); color: #75432f; }
	.btn_26.fill:hover { background: transparent; color: #f1d9c3; }
}

/* ===== FOOTER ===== */
.wp_ftr {
	max-width: 480px;
	margin: 0 auto;
	padding: 18px 16px 22px;
	background: #1a0306;
	text-align: center;
}
.wp_ftr img { width: 120px; }
.wp_ftr p {
	margin-top: 10px;
	font-family: var(--sans-ja);
	font-size: 10px;
	letter-spacing: 0.05em;
	color: rgba(241, 211, 195, 0.6);
}

/* ===== VIEWER (拡大・保存) ===== */
.wp_viewer {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 56px 16px 20px;
	background: rgba(20, 2, 5, 0.94);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.wp_viewer.open { display: flex; }
.wp_viewer_img {
	max-height: calc(100dvh - 230px);
	max-width: 100%;
	aspect-ratio: 1170 / 2532;
	border-radius: 14px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
	-webkit-touch-callout: default;
	user-select: auto;
}
.wp_viewer_close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(241, 211, 195, 0.7);
	border-radius: 50%;
	background: none;
	cursor: pointer;
}
.wp_viewer_close::before,
.wp_viewer_close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 1px;
	background: var(--cream);
}
.wp_viewer_close::before { transform: translate(-50%, -50%) rotate(45deg); }
.wp_viewer_close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.wp_viewer_name {
	position: absolute;
	top: 18px;
	left: 0;
	right: 0;
	font-family: var(--serif-en);
	font-size: 18px;
	letter-spacing: 0.12em;
	text-align: center;
	color: var(--cream);
	pointer-events: none;
}
.wp_viewer_save {
	width: 100%;
	max-width: 340px;
	margin-top: 18px;
	cursor: pointer;
}
.wp_viewer_hint {
	margin-top: 10px;
	font-family: var(--sans-ja);
	font-size: 12px;
	line-height: 1.7;
	text-align: center;
	color: rgba(241, 211, 195, 0.85);
}
body.is-viewer { overflow: hidden; }

/* ===== X限定: 鍵の画面 ===== */
.wp_lock {
	display: none;
	padding: 40px 24px 10px;
	text-align: center;
}
.is-locked .wp_lock { display: block; }
.is-locked .wp_unlocked { display: none; }
.wp_lock_phone {
	position: relative;
	width: 52%;
	margin: 0 auto;
	aspect-ratio: 1170 / 2532;
	border-radius: 18px;
	border: 1px solid rgba(241, 211, 195, 0.55);
	background:
		radial-gradient(ellipse 70% 50% at 50% 45%, rgba(133, 45, 53, 0.9), rgba(40, 4, 8, 0.95)),
		#2a0508;
	box-shadow: 0 10px 24px rgba(25, 0, 0, 0.45);
	overflow: hidden;
}
.wp_lock_phone::before { /* 鍵アイコン */
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 54px;
	height: 54px;
	transform: translate(-50%, -60%);
	background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23f1d3c3' stroke-width='1.4'%3E%3Crect x='10' y='21' width='28' height='20' rx='3'/%3E%3Cpath d='M16 21v-6a8 8 0 0 1 16 0v6'/%3E%3Ccircle cx='24' cy='30' r='2.2'/%3E%3Cpath d='M24 32v4'/%3E%3C/svg%3E");
}
.wp_lock_phone span {
	position: absolute;
	left: 0;
	right: 0;
	top: 62%;
	font-family: var(--serif-en);
	font-size: 16px;
	letter-spacing: 0.2em;
	color: var(--cream);
}
.wp_lock p {
	margin-top: 30px;
	font-size: 15px;
	line-height: 2;
	letter-spacing: 0.06em;
	color: var(--cream);
}
.wp_lock p.sub {
	margin-top: 14px;
	font-family: var(--sans-ja);
	font-size: 12px;
	line-height: 1.8;
	color: var(--gold);
}

/* 配布終了 */
.wp_closed {
	display: none;
	padding: 50px 24px 10px;
	text-align: center;
	font-size: 15px;
	line-height: 2;
	color: var(--cream);
}
.is-closed .wp_closed { display: block; }
.is-closed .wp_unlocked,
.is-closed .wp_lock { display: none !important; }

/* フェードイン */
.fadein { opacity: 0; transform: translateY(16px); transition: opacity 1s ease, transform 1s ease; }
.fadein.scrollin { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	.wp_orn, .wp_hero_logo .kira { animation: none; }
	.fadein { opacity: 1; transform: none; transition: none; }
}

@media screen and (min-width: 640px) {
	.wp_main { min-height: 100vh; }
}
