/* Play-guide pages (template: マダミス進行ページ). Same look as the old SWELL/Elementor pages. */
:root {
	--dsg-pink: #e9559a;
	--dsg-text: #6b6b6b;
	--dsg-head: #6b6b6b;
	--dsg-accent: #ff9900;
	--dsg-line: #e6e6e6;
	--dsg-bg: #ffffff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.dsg {
	margin: 0;
	background: var(--dsg-bg);
	color: var(--dsg-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%;
}

.dsg-band { background: var(--dsg-pink); padding: 24px 16px 48px; }
.dsg-band__in { max-width: 1600px; margin: 0 auto; text-align: center; }
.dsg-band__in figure { margin: 0; }
.dsg-band__in img { display: inline-block; max-width: 100%; max-height: 1024px; width: auto; height: auto; vertical-align: bottom; }
.dsg-band--title { padding: 56px 16px; }
.dsg-band__ttl { margin: 0 auto; max-width: 900px; color: #fff; font-size: clamp(24px, 5vw, 36px); line-height: 1.4; text-align: center; }

.dsg-body { max-width: 940px; margin: 0 auto; padding: 40px 16px 64px; overflow-wrap: anywhere; }
.dsg-body p { margin: 0 0 1.4em; }
.dsg-body h2, .dsg-body h3, .dsg-body h4 { color: var(--dsg-head); line-height: 1.5; margin: 1.6em 0 .7em; }
.dsg-body h2 { font-size: 28px; }
.dsg-body h3 { font-size: 22px; }
.dsg-body hr { border: 0; border-top: 1px solid var(--dsg-line); margin: 48px 0; }
.dsg-body figure { margin: 32px 0; text-align: center; }
.dsg-body img { max-width: 100%; height: auto; }
.dsg-body a { color: #d63b84; }
.dsg-body strong { font-weight: 700; }

/* Wide images inside the body (e.g. the ending illustration) may use the full width. */
.dsg-body figure.wp-block-image img { display: inline-block; }

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

.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;
}
.dsg-top:hover { opacity: 1; }

@media (max-width: 599px) {
	.dsg-band { padding: 12px 0 24px; }
	.dsg-body { padding: 28px 16px 56px; }
	.dsg-body span[style*="font-size: 32px"], .dsg-body span[style*="font-size:32px"] { font-size: 24px !important; }
}
