/* Dear Spiele: temporary top page and plain pages. */
:root {
	--dsp-pink: #e9559a;
	--dsp-pink-deep: #c93d7f;
	--dsp-cyan: #1fb3d1;
	--dsp-cyan-deep: #0f8aa6;
	--dsp-text: #555;
	--dsp-line: #e6e6e6;
	--dsp-bg: #fff;
	--dsp-soft: #fdf2f7;
}
* { box-sizing: border-box; }
body {
	margin: 0;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	background: var(--dsp-bg);
	color: var(--dsp-text);
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", Meiryo, sans-serif;
	font-size: 16px;
	line-height: 1.8;
	-webkit-text-size-adjust: 100%;
}
.dsp-main { flex: 1 0 auto; }
a { color: var(--dsp-pink-deep); }

.dsp-head { padding: 14px 16px; border-bottom: 1px solid var(--dsp-line); }
.dsp-logo { display: inline-flex; flex-direction: column; text-decoration: none; color: inherit; line-height: 1.3; }
.dsp-logo__en { font-weight: 800; letter-spacing: .12em; color: var(--dsp-cyan-deep); font-size: 18px; }
.dsp-logo__ja { font-size: 12px; color: #777; }

.dsp-hero { background: var(--dsp-cyan); color: #fff; padding: clamp(36px, 7vw, 72px) 16px; text-align: center; }
.dsp-hero__in { max-width: 900px; margin: 0 auto; }
.dsp-hero__en { margin: 0 0 8px; font-weight: 800; letter-spacing: .3em; font-size: clamp(14px, 2.4vw, 18px); opacity: .9; }
.dsp-hero__ttl { margin: 0; font-size: clamp(24px, 5.5vw, 44px); line-height: 1.35; }
.dsp-hero__msg { margin: 24px auto 0; display: inline-block; padding: 8px 20px; border: 1px solid rgba(255, 255, 255, .8); border-radius: 2px; font-size: clamp(14px, 2.6vw, 17px); }

.dsp-sec { padding: 48px 16px 64px; }
.dsp-sec__in { max-width: 820px; margin: 0 auto; }
.dsp-ttl { margin: 0 0 24px; font-size: clamp(22px, 4.5vw, 30px); line-height: 1.4; color: #444; }
.dsp-date { color: #999; font-size: 13px; }
.dsp-prose p { margin: 0 0 1.2em; }
.dsp-prose img { max-width: 100%; height: auto; }
.dsp-prose h2 { font-size: 22px; margin: 2em 0 .8em; padding-left: 12px; border-left: 4px solid var(--dsp-pink); }
.dsp-prose h3 { font-size: 18px; margin: 1.8em 0 .6em; }
.dsp-list { padding: 0; list-style: none; }
.dsp-list li { padding: 10px 0; border-bottom: 1px solid var(--dsp-line); }

.dsp-foot { border-top: 1px solid var(--dsp-line); padding: 24px 16px; text-align: center; font-size: 12px; color: #999; }
.dsp-foot p { margin: 0; }

/* Top page: Airi says goodbye (assets/airi.js) */
.dsp-airi { padding: 40px 16px 56px; background: #fff; } /* plain white: Airi's clips have a white background */
.dsp-airi__in { max-width: 880px; margin: 0 auto; display: flex; align-items: flex-end; gap: 24px; }
.dsp-airi__who { position: relative; flex: 0 0 auto; width: min(300px, 40vw); aspect-ratio: 3 / 4; }
.dsp-airi__img, .dsp-airi__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: bottom center; }
.dsp-airi__img { transition: opacity .18s ease; }
.dsp-airi__img.is-fade { opacity: 0; }
.dsp-airi__vid { pointer-events: none; }
.dsp-airi__say {
	position: relative; flex: 1 1 auto; align-self: center; margin-bottom: 40px;
	background: #fff; border: 2px solid var(--dsp-cyan); border-radius: 2px;
	padding: 18px 22px 14px; cursor: pointer; box-shadow: 0 4px 14px rgba(15, 138, 166, .12);
}
/* the bubble's tail points at Airi */
.dsp-airi__say::before, .dsp-airi__say::after { content: ""; position: absolute; top: 50%; border-style: solid; transform: translateY(-50%); }
.dsp-airi__say::before { left: -16px; border-width: 10px 16px 10px 0; border-color: transparent var(--dsp-cyan) transparent transparent; }
.dsp-airi__say::after { left: -12px; border-width: 8px 13px 8px 0; border-color: transparent #fff transparent transparent; }
.dsp-airi__say.is-pop { animation: dspPop .35s ease both; }
@keyframes dspPop { from { transform: translateY(6px); opacity: .4; } to { transform: none; opacity: 1; } }
.dsp-airi__text { margin: 0; min-height: 3.6em; font-size: clamp(16px, 2.4vw, 19px); line-height: 1.8; color: #444; }
.dsp-airi__nav { display: flex; justify-content: flex-end; align-items: center; gap: 12px; margin-top: 8px; font-size: 12px; color: #999; }
.dsp-airi__next {
	appearance: none; border: 1px solid var(--dsp-cyan); background: #fff; color: var(--dsp-cyan-deep);
	padding: 6px 14px; border-radius: 2px; font: inherit; font-weight: 700; cursor: pointer;
}
.dsp-airi__next:hover { background: var(--dsp-cyan); color: #fff; }
.dsp-airi__all { max-width: 640px; margin: 24px auto 0; text-align: center; }

@media (max-width: 599px) {
	.dsp-airi__in { flex-direction: column-reverse; align-items: center; gap: 4px; }
	.dsp-airi__say { align-self: stretch; margin-bottom: 18px; }
	.dsp-airi__say::before { left: 50%; top: auto; bottom: -16px; transform: translateX(-50%); border-width: 16px 10px 0 10px; border-color: var(--dsp-cyan) transparent transparent transparent; }
	.dsp-airi__say::after { left: 50%; top: auto; bottom: -12px; transform: translateX(-50%); border-width: 13px 8px 0 8px; border-color: #fff transparent transparent transparent; }
	.dsp-airi__who { width: min(240px, 64vw); }
}
@media (prefers-reduced-motion: reduce) { .dsp-airi__say.is-pop { animation: none; } }

/* Template "シンプル（白・見出しなし）" (templates/plain.php) */
body.dsp-plain { display: block; min-height: 0; background: #fff; }
.dsp-plain__body { max-width: 1120px; margin: 0 auto; padding: 24px 16px 80px; text-align: center; }
.dsp-plain__body figure { margin: 0 auto 32px; }
.dsp-plain__body img { display: block; margin: 0 auto; max-width: 100%; height: auto; }
.dsp-plain__body p { text-align: left; }
.dsp-plain .dsg-top {
	position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px;
	display: flex; align-items: center; justify-content: center;
	background: #333; color: #fff; text-decoration: none; font-size: 20px; line-height: 1;
	border-radius: 2px; opacity: .85;
}

/* Top page: clearance sale box (dsp_render_shop_box) */
.dsp-shop { background: var(--dsp-soft); padding: 48px 16px 56px; border-top: 1px solid #f6d6e6; }
.dsp-shop__in { max-width: 880px; margin: 0 auto; text-align: center; }
.dsp-shop__en { margin: 0 0 4px; font-weight: 800; letter-spacing: .3em; font-size: 13px; color: var(--dsp-pink); }
.dsp-shop__ttl { margin: 0 0 12px; font-size: clamp(22px, 4.5vw, 28px); line-height: 1.4; color: #444; }
.dsp-shop__lead { margin: 0 0 28px; font-size: 15px; }
.dsp-shop__lead strong { color: var(--dsp-pink-deep); }
.dsp-shop__list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dsp-shop__item a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #f1d3e2; border-radius: 2px; padding: 12px; text-decoration: none; color: #444; transition: box-shadow .2s ease, transform .2s ease; }
.dsp-shop__item a:hover { box-shadow: 0 6px 16px rgba(201, 61, 127, .15); transform: translateY(-2px); }
.dsp-shop__pic { position: relative; display: block; aspect-ratio: 1 / 1; margin-bottom: 10px; }
.dsp-shop__pic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.dsp-shop__sold { position: absolute; inset: auto 0 0 0; background: rgba(0, 0, 0, .6); color: #fff; font-size: 13px; font-weight: 700; padding: 4px 0; }
.dsp-shop__item.is-soldout img { opacity: .5; }
.dsp-shop__name { font-size: 14px; font-weight: 700; line-height: 1.5; flex: 1 0 auto; }
.dsp-shop__price { margin-top: 6px; font-size: 15px; font-weight: 800; color: var(--dsp-pink-deep); }
.dsp-shop__more { margin: 0 0 12px; }
.dsp-shop__btn { display: inline-block; width: 220px; max-width: 100%; padding: 12px 16px; background: var(--dsp-pink); color: #fff; font-weight: 700; text-decoration: none; border-radius: 2px; }
.dsp-shop__btn:hover { background: var(--dsp-pink-deep); }
.dsp-shop__note { margin: 0; font-size: 12px; color: #888; }
@media (max-width: 599px) {
	.dsp-shop__list { grid-template-columns: 1fr; max-width: 320px; margin-left: auto; margin-right: auto; }
	.dsp-shop__item a { display: grid; grid-template-columns: 96px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-content: center; text-align: left; }
	.dsp-shop__pic { grid-row: 1 / 3; margin: 0; }
	.dsp-shop__name { align-self: end; }
	.dsp-shop__price { align-self: start; margin-top: 4px; }
}
/* Top hero: jump to the clearance sale box */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.dsp-shop { scroll-margin-top: 8px; }
.dsp-hero__shop { margin: 20px 0 0; }
.dsp-hero__shopbtn {
	display: inline-block; width: 280px; max-width: 100%; padding: 12px 16px;
	background: var(--dsp-pink); color: #fff; font-weight: 700; text-decoration: none; border-radius: 2px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .12); transition: background .2s ease, transform .2s ease;
}
.dsp-hero__shopbtn:hover { background: var(--dsp-pink-deep); transform: translateY(-1px); }
.dsp-hero__shopbtn span { font-size: .8em; margin-left: 4px; white-space: nowrap; }
