@charset "utf-8";

/* MENS SEXY CHRISTMAS 2026 */

/* ========================================
   BASE
======================================== */

html {
	scrollbar-gutter: stable;
	background-color: #220011;
	background-image: radial-gradient(ellipse 65% 75% at 50% 45%, #3b1020 0%, #2d0718 45%, #220011 100%);
	background-attachment: fixed;
	background-repeat: no-repeat;
}

html.opening_locked {
	overflow: hidden;
	overscroll-behavior: none;
}

html.opening_locked body {
	overflow: hidden;
	overscroll-behavior: none;
}

body {
	margin: 0;
	font-family: "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-feature-settings: "palt";
	color: #fff;
	background: transparent;
	overflow-x: clip;
}

main {
	position: relative;
	z-index: 4;
	width: 100%;
	max-width: 480px;
	margin: 0 auto;
	background: transparent;
	pointer-events: none;
}

/* ========================================
   FV
======================================== */

#tit_area {
	position: relative;
	width: 100%;
	height: 100vh;
	height: calc(var(--initial-vh, 1vh) * 100);
	margin: 0;
	overflow: hidden;
	background: #201;
	pointer-events: auto;
}

#main_img {
	display: block;
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center bottom;
}

#shirohato {
	display: block;
	position: absolute;
	z-index: 2;
	top: 30px;
	left: 50%;
	width: 167px;
	height: auto;
	transform: translateX(-50%);
	pointer-events: none;
}

#logo {
	display: block;
	position: absolute;
	z-index: 1;
	top: 50%;
	left: 50%;
	width: 75%;
	height: auto;
	transform: translate(-50%, -100%);
	pointer-events: none;
}

/* ========================================
   READ
======================================== */

#read_area {
	position: relative;
	padding: 75px 22px 95px;
	background: rgba(0, 0, 0, .2);
	text-align: center;
	pointer-events: none;
}

#read_area h2 img {
	width: 55%;
	margin: 0 auto;
}

#read_area .read_switch {
	position: relative;
	z-index: 1;
	margin-top: 25px;
	pointer-events: none;
}

#read_area .read_switch p {
	margin: 0;
	font-weight: 400;
	line-height: 2.4;
	letter-spacing: .05em;
	color: #e1c7b1;
	text-shadow: 0 0 4px #20000c, 0 0 8px #20000c, 0 0 12px #20000c;
}

#read_area .read_switch .read_en {
	font-family: "gill-sans-nova", "Gill Sans", "Gill Sans MT", sans-serif;
	font-size: 15.5px;
}

#read_area .read_switch .read_ja {
	position: absolute;
	inset: 0;
	font-family: "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", serif;
	font-size: 13.5px;
}

#read_area .read_switch .read_line {
	display: block;
	white-space: nowrap;
	height: 33.6px;
	line-height: 33.6px;
}

/* 文字単位のfilterを廃止。opacityのみをアニメーションさせる。 */
#read_area .read_switch .read_char {
	display: inline;
	white-space: pre;
	opacity: 1;
}

#read_area .read_ja .read_char {
	opacity: 0;
}

#read_area .read_switch.is_playing .read_en .read_char {
	animation: readCharOut 1600ms ease-in-out both;
	animation-delay: var(--char-delay);
}

#read_area .read_switch.is_playing .read_ja .read_char {
	animation: readCharIn 1800ms ease-in-out both;
	animation-delay: calc(var(--char-delay) + 350ms);
}

@keyframes readCharOut {
	0% { opacity: 1; }
	100% { opacity: 0; }
}

@keyframes readCharIn {
	0% { opacity: 0; }
	100% { opacity: 1; }
}

/* アニメーション完走後のみ確定。個々の文字の描画を途中で切り替えない。 */
#read_area .read_switch.is_finished .read_en {
	visibility: hidden;
}

#read_area .read_switch.is_finished .read_en .read_char {
	animation: none;
	opacity: 0;
}

#read_area .read_switch.is_finished .read_ja .read_char {
	animation: none;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	#read_area .read_en { visibility: hidden; }
	#read_area .read_ja .read_char { opacity: 1; }
}

/* ========================================
   OPENING
======================================== */

#opening {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
	background: #201;
	overflow: hidden;
	isolation: isolate;
	pointer-events: auto;
}

.js #opening {
	display: block;
}

#sexy {
	position: absolute;
	z-index: 2;
	left: 50%;
	top: 45%;
	width: min(43vw, 200px);
	height: auto;
	transform: translate(-50%, -50%);
	transform-origin: center;
}

#flash_rays {
	position: absolute;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	z-index: 3;
	left: 50%;
	top: 45%;
	width: min(125vmax, 1200px);
	aspect-ratio: 1;
	height: auto;
	object-fit: contain;
	transform: translate(-50%, -50%) scale(.2);
	opacity: 0;
	pointer-events: none;
}

#flash_white {
	position: absolute;
	z-index: 4;
	inset: 0;
	background: #fff;
	opacity: 0;
	pointer-events: none;
}

/* ========================================
   ADAPTATION
======================================== */

.js #tit_area #main_img {
	filter: brightness(2.7) contrast(.35) blur(22px) saturate(.55);
}

.js #tit_area #logo,
.js #tit_area #shirohato {
	opacity: 0;
	filter: blur(15px) brightness(2.5);
}

.js.fv_revealing #tit_area #main_img {
	animation: photo_adaptation 3.3s cubic-bezier(.25,.1,.2,1) forwards;
}

.js.fv_revealing #tit_area #logo,
.js.fv_revealing #tit_area #shirohato {
	animation: logo_adaptation 2.7s .45s ease-out forwards;
}

/* ========================================
   OPENING ANIMATION
======================================== */

#opening.is_playing #sexy {
	animation: sexy_logo_out 1.02s ease-in forwards;
}

#opening.is_playing #flash_rays {
	animation: flash_rays_burst .12s .9s linear both;
}

#opening.is_playing #flash_white {
	animation: flash_whiteout 4.3s 1.02s ease-out both;
}

#opening.is_playing {
	animation: opening_background 1.22s linear forwards;
}

@keyframes sexy_logo_out {
	0%, 78% {
		opacity: 1;
		filter: brightness(1);
	}
	91% {
		opacity: 1;
		filter: brightness(1.4);
	}
	100% {
		opacity: 0;
	}
}

@keyframes flash_rays_burst {
	0% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(.2);
	}
	15% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(1.5);
	}
	60% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(4);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(6);
	}
}

@keyframes opening_background {
	0%, 94% {
		background: #201;
	}
	100% {
		background: transparent;
	}
}

@keyframes flash_whiteout {
	0% {
		opacity: 0;
	}
	1.5%, 24% {
		opacity: 1;
	}
	42% {
		opacity: .94;
	}
	63% {
		opacity: .65;
	}
	82% {
		opacity: .22;
	}
	100% {
		opacity: 0;
	}
}

@keyframes photo_adaptation {
	0% {
		filter: brightness(2.7) contrast(.35) blur(22px) saturate(.55);
	}
	30% {
		filter: brightness(2.1) contrast(.55) blur(15px) saturate(.65);
	}
	65% {
		filter: brightness(1.35) contrast(.85) blur(5px) saturate(.85);
	}
	100% {
		filter: brightness(1) contrast(1) blur(0) saturate(1);
	}
}

@keyframes logo_adaptation {
	0% {
		opacity: 0;
		filter: blur(15px) brightness(2.5);
	}
	45% {
		opacity: .45;
		filter: blur(7px) brightness(1.5);
	}
	100% {
		opacity: 1;
		filter: blur(0) brightness(1);
	}
}

/* ========================================
   PAGE TOP
======================================== */

#move-page-top {
	width: 38px;
	height: 38px;
	display: none;
	position: fixed;
	right: 10px;
	bottom: 10px;
	z-index: 1000;
	border: solid .75px #fff;
	border-radius: 38px;
	cursor: pointer;
	background: rgba(0,0,0,.08);
}

#move-page-top::before {
	content: "";
	width: 11px;
	height: 11px;
	position: absolute;
	top: 15px;
	left: 13px;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	transform: rotate(45deg);
}

/* ========================================
   FOOTER
======================================== */

footer {
	position: relative;
	z-index: 5;
	width: 100%;
	margin: 0;
	background: #fff;
	color: #333;
	font-family: "游ゴシック", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

#inquiry {
	text-align: center;
	padding: 10px 0 15px;
	font-size: 11px;
	color: #666;
}

#phone span {
	font-size: 17px;
}

#inquiry div a:first-child {
	border-right: .5px solid #666;
	padding-right: 10px;
}

#inquiry div a:nth-child(2) {
	padding-left: 8px;
}

#ftr_com {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 35px;
	width: 100%;
	margin: 0 auto;
}

#ftr_shilogo {
	display: inline-block;
	font-size: 12px;
	font-weight: 500;
	margin: 0 0 0 3%;
	letter-spacing: .2em;
	font-family: "Century Gothic", sans-serif;
	width: 100px;
}

#ftr_shilogo a {
	color: #fff;
}

#ftr_shilogo img {
	display: block;
	width: 100%;
	height: auto;
}

#cpyr {
	font-size: 10px;
	line-height: 1em;
	margin: 0 2% 0 0;
	font-weight: 400;
	font-style: normal;
	transform: scale(.9) translateX(5%);
}

/* ========================================
   FADE IN
======================================== */

.fadein {
	opacity: 0;
	transform: translateY(60px);
	transition:
		opacity 1800ms ease-out,
		transform 2000ms cubic-bezier(0.22, 1, 0.36, 1);
}

.fadein.scrollin {
	opacity: 1;
	transform: translateY(0);
}

.fadeinxx {
	opacity: 0;
	transform: scale(.1) translate(10px, 10px);
}

.fadeinxx.scrollin {
	opacity: 1;
	transition: all 220ms ease-in-out;
	transform: scale(1) translate(0,0);
}

/* ========================================
   PC
======================================== */

@media screen and (min-width: 640px) {
	#move-page-top {
		background: none;
	}

	#ftr_com {
		height: 45px;
	}

	#ftr_shilogo {
		font-size: 19px;
		margin: 0 0 0 12px;
		width: 150px;
	}

	#cpyr {
		display: inline-block;
		font-size: 11px;
		margin: 0 12px 0 0;
		transform: none;
	}
}

/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
	.fadein,
	.fadeinxx {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.js #tit_area #main_img {
		filter: none;
	}

	.js #tit_area #logo,
	.js #tit_area #shirohato {
		opacity: 1;
		filter: none;
	}

	.js.fv_revealing #tit_area #main_img,
	.js.fv_revealing #tit_area #logo,
	.js.fv_revealing #tit_area #shirohato {
		animation: none;
	}

	#opening,
	.js #opening {
		display: none;
	}

	#opening.is_playing,
	#opening.is_playing #sexy,
	#opening.is_playing #flash_rays,
	#opening.is_playing #flash_white {
		animation: none;
	}
}

/* ========================================
   STAR CONSTELLATIONS
======================================== */

#star_field[hidden] {
	display: none;
}

/* ===== 固定された星空 ===== */

#star_field {
	position: fixed;
	top: 0;
	left: 50%;
	z-index: 3;
	transform: translateX(-50%);
	pointer-events: none;
	overflow: visible;
}

/* ===== 星座の線 ===== */

.star_lines {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	overflow: visible;
	pointer-events: none;
}

/* ===== 星空全体 ===== */

.star_world {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
}

/* ===== 星のボタン ===== */

.star_point {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	transform: translate(-50%, -50%);
	cursor: pointer;
	pointer-events: auto;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	appearance: none;
	-webkit-appearance: none;
}

.star_point img {
	display: block;
	max-width: none;
	object-fit: contain;
	pointer-events: none;
	user-select: none;
	-webkit-user-select: none;
	transform: rotate(var(--star-rotation, 0deg));
	transition: transform .18s ease, filter .18s ease;
}

/* ===== PCホバー ===== */

@media (hover: hover) {
	.star_point:hover img {
		transform: rotate(var(--star-rotation, 0deg)) scale(1.25);
		filter: brightness(1.4);
	}
}

/* ===== 星のクリック演出 ===== */

.star_point.is_starting img {
	animation: star_start .45s ease-out;
}

.star_point.is_finishing::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 12px;
	height: 12px;
	border: 1px solid rgba(240,210,170,.8);
	border-radius: 50%;
	transform: translate(-50%, -50%) scale(.4);
	animation: star_finish .55s ease-out forwards;
	pointer-events: none;
}

@keyframes star_start {
	0% {
		transform: rotate(var(--star-rotation, 0deg)) scale(1);
		filter: brightness(1);
	}
	40% {
		transform: rotate(var(--star-rotation, 0deg)) scale(1.65);
		filter: brightness(1.8);
	}
	100% {
		transform: rotate(var(--star-rotation, 0deg)) scale(1);
		filter: brightness(1);
	}
}

@keyframes star_finish {
	0% {
		opacity: 1;
		transform: translate(-50%, -50%) scale(.4);
	}
	100% {
		opacity: 0;
		transform: translate(-50%, -50%) scale(3);
	}
}

/* ===== キーボード操作 ===== */

.star_point:focus-visible {
	outline: 1px solid #c8a782;
	border-radius: 50%;
}

/* ===== 星座の案内 ===== */

#star_hint,
#star_hint_sp {
	position: fixed;
	right: 20px;
	bottom: calc(25px + var(--footer-overlap, 0px));
	z-index: 6;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: "cormorant-garamond", "Garamond", "Times New Roman", serif;
	font-size: 9px;
	font-weight: 400;
	letter-spacing: .12em;
	color: #aa8f66;
	pointer-events: none;
	text-shadow:
		0 0 3px #300817,
		0 0 6px #300817,
		0 0 10px #300817,
		0 0 15px #300817;
}

/* ===== 星座の全消しボタン ===== */

#star_clear,
#star_clear_sp {
	--clear-size: 16px;
	--clear-hit-size: 32px;

	position: relative;
	flex: none;
	width: var(--clear-size);
	height: var(--clear-size);
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: inherit;
	cursor: pointer;
	pointer-events: auto;
	touch-action: manipulation;
	-webkit-appearance: none;
	appearance: none;
	-webkit-tap-highlight-color: transparent;
}

#star_clear::before,
#star_clear_sp::before {
	content: "";
	position: absolute;
	inset: 0;
	box-sizing: border-box;
	border: 1px solid currentColor;
	border-radius: 50%;
	background:
		linear-gradient(currentColor, currentColor) center / 8px 1px no-repeat,
		linear-gradient(currentColor, currentColor) center / 1px 8px no-repeat;
	transform: rotate(45deg);
	pointer-events: none;
}

#star_clear::after,
#star_clear_sp::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: var(--clear-hit-size);
	height: var(--clear-hit-size);
	transform: translate(-50%, -50%);
	pointer-events: auto;
}

#star_clear:focus-visible,
#star_clear_sp:focus-visible {
	outline: 1px solid currentColor;
	outline-offset: 3px;
}

@media screen and (max-width: 1099px) {
	#star_hint {
		display: none;
	}
}

/* ===== SP専用の星空エリア ===== */

#star_area {
	display: none;
}

#star_hint_sp {
	display: none;
}

@media screen and (max-width: 639px) {
	#star_area {
		position: relative;
		display: block;
		width: 100%;
		height: 100vh;
		height: 100lvh;
		margin: 0;
		padding: 0;
		background: transparent;
		pointer-events: none;
	}

	#star_hint_sp {
		position: absolute;
		right: auto;
		left: 50%;
		bottom: 3%;
		z-index: 6;
		display: flex;
		justify-content: center;
		width: max-content;
		max-width: calc(100% - 24px);
		transform: translateX(-50%);
		white-space: nowrap;
		pointer-events: none;
	}
}

/* ========================================
   CONTENT POINTER EVENTS
======================================== */

/* READ以外は通常の操作を維持 */
main > *:not(#read_area):not(#star_area) {
	pointer-events: auto;
}

/* READの背後の星をクリック・タップ可能にする */
#read_area,
#read_area p {
	pointer-events: none;
}

/* ========================================
   STAR REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
	.star_point img {
		transition: none;
	}

	.star_point.is_starting img,
	.star_point.is_finishing::after {
		animation: none;
	}
}

/* ========================================
   NIGHT / SOFT BLINK REVEAL
======================================== */

/* ===== 共通設定 ===== */

.night {
	--night-duration: 2s;

	/* NIGHT TXT */
	--txt-color: #fff;
	--txt-bg-start: rgba(0, 0, 0, .2);
	--txt-bg-middle: rgba(84, 0, 27, .55);
	--txt-bg-end: #54001b;

	/* ITEM BOX */
	--chip-border: #fff;
	--item-color: #fff;
	--item-bg: #54001b;
	--item-border: rgba(255, 255, 255, .9);

	/* MORE AREA */
	--more-color: #fff;
	--more-bg: #54001b;
	--more-button-bg: transparent;
	--more-border: rgba(255, 255, 255, .9);

	/* 画像切り替え時のぼかし枠 */
	--frame-color: #000;
	--frame-width: 150px;

	/* NIGHT最下部 */
	--night-bottom-bg: var(--more-bg);

	color: var(--txt-color);
	background: transparent;
}

/* ========================================
   ID別カラー設定
======================================== */

/* ===== HOLLY ===== */

#holly {
	--txt-margin-top: -60px;
	--txt-color: #cc9f81;
	--txt-bg-start: rgba(1, 5, 10, 1.0);
	--txt-bg-middle: rgba(82, 59, 46, 1.0);
	--txt-bg-end: #9a694a;

	--chip-border: #fff;
	--item-color: #fff;
	--item-bg: #9a694a;
	--item-border: rgba(255, 255, 255, .9);

	--more-color: #fff;
	--more-bg: #9a694a;
	--more-button-bg: transparent;
	--more-border: rgba(255, 255, 255, .9);

	--frame-color: #000;
}

#holly .night_txt {
	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='.08'/%3E%3C/svg%3E"),
		linear-gradient(
			to bottom,
			#01050a 0%,
			#01050a 35%,
			#523b2e 65%,
			#805942 82%,
			#906346 90%,
			#986849 96%,
			#9a694a 100%
		);
}

/* ===== SPARKLE ===== */

#sparkle {
	--txt-margin-top: -60px;
	--txt-color: #abacb7;
	--txt-bg-start: rgba(0, 0, 0, 1.0);
	--txt-bg-middle: rgba(0, 0, 0, 0.75);
	--txt-bg-end: rgba(0, 0, 0, 0.67);

	--chip-border: rgba(171, 172, 183, .9);
	--item-color: #abacb7;
	--item-bg: rgba(0, 0, 0, 0.67);
	--item-border: rgba(171, 172, 183, .9);

	--more-color: #abacb7;
	--more-bg: rgba(0, 0, 0, 0.67);
	--more-button-bg: transparent;
	--more-border: rgba(171, 172, 183, .9);

	--frame-color: #000;
}

/* ===== ROUGE ===== */

#rouge {
	--txt-margin-top: 0px;
	--txt-color: #2a2065;
	--txt-bg-start: #c00;
	--txt-bg-middle: #c00;
	--txt-bg-end: #c00;

	--chip-border: rgba(42, 32, 101, .9);
	--item-color: #2a2065;
	--item-bg: #c00;
	--item-border: rgba(42, 32, 101, .9);

	--more-color: #2a2065;
	--more-bg: #c00;
	--more-button-bg: transparent;
	--more-border: rgba(42, 32, 101, .9);

	--frame-color: #400;
}

/* ===== SHEER ===== */

#sheer {
	--txt-margin-top: -60px;
	--txt-color: #00cc33;
	--txt-bg-start: #090707;
	--txt-bg-middle: rgba(16, 16, 16, 0.75);
	--txt-bg-end: rgba(26, 0, 23, 0.67);

	--chip-border: rgba(10, 204, 51, .33);
	--item-color: #00cc33;
	--item-bg: rgba(26, 0, 23, 0.67);
	--item-border: rgba(10, 204, 51, .33);

	--more-color: #00cc33;
	--more-bg: rgba(26, 0, 23, 0.67);
	--more-button-bg: transparent;
	--more-border: rgba(10, 204, 51, .33);

	--frame-color: #000;
}

/* ===== ELEGANT ===== */

#elegant {
	--txt-margin-top: -60px;
	--txt-color: #cca981;
	--txt-bg-start: #000;
	--txt-bg-middle: #2e000f;
	--txt-bg-end: #54001b;

	--chip-border: rgba(204, 169, 129, .9);
	--item-color: #cca981;
	--item-bg: #54001b;
	--item-border: rgba(204, 169, 129, .9);

	--more-color: #cca981;
	--more-bg: #54001b;
	--more-button-bg: transparent;
	--more-border: rgba(204, 169, 129, .9);

	--frame-color: #000;
}

#elegant .night_txt {
	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='.08'/%3E%3C/svg%3E"),
		linear-gradient(
			to bottom,
			#000000 0%,
			#000000 35%,
			#2e000f 65%,
			#460017 82%,
			#50001a 90%,
			#53001b 96%,
			#54001b 100%
		);
}

/* ===== PETAL ===== */

#petal {
	--txt-margin-top: 0px;
	--txt-color: #4a4075;
	--txt-bg-start: #efaabb;
	--txt-bg-middle: #efaabb;
	--txt-bg-end: #efaabb;

	--chip-border: rgba(74, 64, 117, .9);
	--item-color: #fff;
	--item-bg: #efaabb;
	--item-border: rgba(74, 64, 117, .9);

	--more-color: #4a4075;
	--more-bg: #efaabb;
	--more-button-bg: transparent;
	--more-border: rgba(74, 64, 117, .9);

	--frame-color: #000;
}

@media screen and (max-width: 639px) {
	#petal .more_area {
		pointer-events: none;
	}

	#petal .ck_more,
	#petal .ck_more[href=""] {
		pointer-events: auto;
	}

	#petal::after {
		pointer-events: none;
		background-color: var(--more-bg);
		--petal-mask: linear-gradient(
			to bottom,
			#000 0%,
			rgba(0, 0, 0, .972) 10%,
			rgba(0, 0, 0, .896) 20%,
			rgba(0, 0, 0, .784) 30%,
			rgba(0, 0, 0, .648) 40%,
			rgba(0, 0, 0, .500) 50%,
			rgba(0, 0, 0, .352) 60%,
			rgba(0, 0, 0, .216) 70%,
			rgba(0, 0, 0, .104) 80%,
			rgba(0, 0, 0, .028) 90%,
			transparent 100%
		);
		-webkit-mask-image: var(--petal-mask);
		mask-image: var(--petal-mask);
	}
}

/* ========================================
   NIGHT BOTTOM
======================================== */

.night::after {
	content: "";
	display: block;
	height: 125px;
	background-color: var(--night-bottom-bg);
	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='.08'/%3E%3C/svg%3E");
}

/* ========================================
   POINTER EVENTS
======================================== */

/* 星のタップを通す。商品リンクのみ操作を受け付ける */
main > #itm_area,
#itm_area .night,
#itm_area .night_txt,
#itm_area .night_txt * {
	pointer-events: none;
}

/* ========================================
   NIGHT VISUAL
======================================== */

.night_visual {
	position: relative;
	width: 100%;
	aspect-ratio: 1080 / 1440;
	overflow: hidden;
	isolation: isolate;
	background: transparent;
}

.night_visual > img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

/* BLINKは最初から最後まで不透明 */

.night_visual .blink {
	z-index: 1;
	opacity: 1;
	filter: none;
}

/* 四辺のぼかし枠 */

.night_visual::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	pointer-events: none;
	opacity: 0;
	background:
		linear-gradient(
			to bottom,
			var(--frame-color) 0,
			transparent var(--frame-width)
		) top / 100% var(--frame-width) no-repeat,
		linear-gradient(
			to top,
			var(--frame-color) 0,
			transparent var(--frame-width)
		) bottom / 100% var(--frame-width) no-repeat,
		linear-gradient(
			to right,
			var(--frame-color) 0,
			transparent var(--frame-width)
		) left / var(--frame-width) 100% no-repeat,
		linear-gradient(
			to left,
			var(--frame-color) 0,
			transparent var(--frame-width)
		) right / var(--frame-width) 100% no-repeat;
}

/* 完成画像 */

.night_visual .night_img {
	z-index: 3;
	opacity: 0;
	filter: blur(20px) saturate(0) brightness(.7) contrast(.8);
}

/* ========================================
   NIGHT ANIMATION
======================================== */

.night.is_playing .blink {
	opacity: 1;
	filter: none;
}

.night.is_playing .night_visual::before {
	animation: night_frame_emerge var(--night-duration) linear forwards;
}

.night.is_playing .night_img {
	animation: night_photo_emerge var(--night-duration) cubic-bezier(.25,.1,.25,1) forwards;
}

@keyframes night_frame_emerge {
	0% {
		opacity: 0;
	}
	25% {
		opacity: .85;
	}
	50%, 100% {
		opacity: 1;
	}
}

@keyframes night_photo_emerge {
	0% {
		opacity: 0;
		filter: blur(20px) saturate(0) brightness(.7) contrast(.8);
	}
	100% {
		opacity: 1;
		filter: blur(0) saturate(1) brightness(1) contrast(1);
	}
}

/* ========================================
   NIGHT TXT
======================================== */

.night_txt {
	margin: var(--txt-margin-top, 0px) 0 0;
	padding: 55px 15px;
	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='.08'/%3E%3C/svg%3E"),
		linear-gradient(
			to bottom,
			var(--txt-bg-start) 0%,
			var(--txt-bg-start) 45%,
			var(--txt-bg-middle) 75%,
			var(--txt-bg-end) 100%
		);
	color: var(--txt-color);
	font-size: 13.5px;
	line-height: 2.4;
	letter-spacing: .025em;
	text-align: center;
	pointer-events: none;
	font-family: "游明朝", "Yu Mincho", YuMincho, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}

/* ========================================
   ITEM BOX
======================================== */

.itm_box {
	pointer-events: auto;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 5px;
	margin: 0;
	padding: 5px;
	list-style: none;
	background-color: var(--item-bg);
	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='.08'/%3E%3C/svg%3E");
}

.itm_box li:nth-child(even) {
	transition-delay: .3s;
}

.itm_box li {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	border: 1px solid var(--item-border);
	box-sizing: border-box;
}

.itm_box li a {
	display: block;
	box-sizing: border-box;
	color: var(--item-color);
	text-decoration: none;
	pointer-events: auto;
}

.itm_box .itm_image_link {
	display: block;
	padding: 0 12px;
}

.itm_box .itm_detail_link {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0 12px 12px;
}

/* カラーチップ：数はHTML内のbutton数で自動調整 */
.itm_box .color_chips {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 0;
	position: relative;
	margin: -12px 0 0;
	padding: 0 6px 12px;
	pointer-events: auto;
}

.itm_box .color_chip {
	position: relative;
	display: block;
	flex: none;
	width: 27px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	appearance: none;
	-webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
	pointer-events: auto;
}

.itm_box .color_chip::before,
.itm_box .color_chip::after {
	content: "";
	position: absolute;
	width: 16px;
	height: 16px;
	box-sizing: border-box;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border: 1px solid var(--chip-border, #fff);
	border-radius: 50%;
	background: #fff;
}

.itm_box .color_chip::after {
	background: var(--chip-color);
	opacity: .5;
	transition: opacity .2s ease;
}

.itm_box .color_chip.is-selected::after {
	opacity: 1;
}

.itm_box .color_chip:focus-visible {
	outline: 1px solid var(--chip-border, #fff);
	border-radius: 50%;
}

.itm_box .itm_image_link {
	position: relative;
}


.itm_box li img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	filter: drop-shadow(3px 5px 10px rgba(0, 0, 0, .3));
}

.itm_name {
	margin-top: 0;
	font-size: 12px;
	line-height: 1.6;
	letter-spacing: 0;
	overflow-wrap: anywhere;
}

.itm_price {
	margin-top: auto;
	padding-top: 10px;
	font-size: 13px;
	line-height: 1.4;
}

.itm_box .check {
	margin-top: 14px;
	font-family: "Garamond", "cormorant-garamond", "Times New Roman", serif;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: .1em;
	line-height: 1.5;
	text-align: center;
}

/* ========================================
   MORE AREA
======================================== */

.more_area {
	pointer-events: auto;
	padding: 0 5px 5px;
	background-color: var(--more-bg);
	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='.08'/%3E%3C/svg%3E");
}

.ck_more {
	pointer-events: auto;
	position: relative;
	display: block;
	margin: 0;
	padding: 20px 35px;
	border: 1px solid var(--more-border);
	color: var(--more-color);
	background: var(--more-button-bg);
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
	text-decoration: none;
}

.ck_more::after {
	content: "";
	position: absolute;
	right: 22px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-top: 1px solid currentColor;
	border-right: 1px solid currentColor;
	transform: translateY(-50%) rotate(45deg);
}

/* ========================================
   REDUCED MOTION
======================================== */

@media (prefers-reduced-motion: reduce) {
	.night_visual .blink {
		opacity: 0;
		filter: none;
		animation: none !important;
	}

	.night_visual::before {
		display: none;
		animation: none !important;
	}

	.night_visual .night_img {
		opacity: 1;
		filter: none;
		animation: none !important;
	}
}


/* リンク先が未設定の場合 */
.itm_box a[href=""],
.ck_more[href=""] {
	cursor: default;
	pointer-events: none;
}

/* MOREの矢印を非表示 */
.ck_more[href=""]::after {
	display: none;
}