/**
 * Picture Book Section Styles
 */

/* ==========================================================================
   Section
   ========================================================================== */

.picture-book-section {
	--book-width: 960px;
	--book-aspect-spread: 364 / 257; /* 見開き = B5×2 */
	--book-aspect-page: 182 / 257;  /* 1ページ = B5 */
	--book-cover-color: #C4A574;
	--book-cover-dark: #A8884E;
	--book-page-bg: #FFFDF8;
	--book-paper-back: #FAF6EE;
	--book-spine-shadow: rgba(116, 91, 58, 0.1);
	--book-drop-shadow: 0 12px 40px rgba(91, 39, 132, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);

	background-color: #EDE6F6;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.72) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.72) 1px, transparent 1px);
	background-size: 28px 28px;
	background-position: center top;
	padding-block: var(--space-4xl) var(--space-3xl);
	overflow: visible;
}

.picture-book-section__header {
	text-align: center;
	margin-bottom: var(--space-2xl);
}

.picture-book-section__icon {
	margin-inline: auto;
	margin-bottom: var(--space-md);
}

.picture-book-section__title {
	line-height: var(--line-height-tight);
	margin-bottom: var(--space-sm);
}

.picture-book-section__title .section-heading__en {
	font-size: var(--font-size-xl);
}

.picture-book-section__title .section-heading__ja {
	font-size: var(--font-size-sm);
}

.picture-book-section__subtitle {
	font-size: var(--font-size-sm);
	color: var(--color-text-primary);
	opacity: 0.85;
	line-height: var(--line-height-normal);
}

.picture-book-section__subtitle-keep {
	white-space: nowrap;
}

@media (min-width: 769px) {
	.picture-book-section__subtitle {
		white-space: nowrap;
	}
}

/* ==========================================================================
   Stage & Navigation
   ========================================================================== */

.picture-book-section__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-lg);
	max-width: calc(var(--book-width) + 160px);
	margin-inline: auto;
	padding-inline: var(--container-padding);
	perspective: 2200px;
}

.picture-book-section__nav {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.picture-book-section__nav:hover:not(:disabled) {
	transform: scale(1.06);
}

.picture-book-section__nav:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.picture-book-section__nav img {
	display: block;
	width: 36px;
	height: 36px;
}

/* ==========================================================================
   Book Container
   ========================================================================== */

.picture-book {
	position: relative;
	width: var(--book-width);
	height: auto;
	aspect-ratio: var(--book-aspect-spread);
	flex-shrink: 0;
	margin-inline: 8px;
	transform-style: preserve-3d;
	outline: none;
}

.picture-book.is-entering {
	opacity: 0;
	transform: translateY(40px) scale(0.96);
}

.picture-book.is-ready {
	transition: opacity 0.8s ease, transform 0.8s ease;
	opacity: 1;
	transform: translateY(0) scale(1);
}

.picture-book__body {
	position: relative;
	width: 100%;
	height: 100%;
	transform-style: preserve-3d;
	border-radius: 16px;
	box-shadow: var(--book-drop-shadow);
	z-index: 1;
}

/* 本の厚み（表紙の縁） */
.picture-book__edge {
	position: absolute;
	pointer-events: none;
	z-index: 5;
}

.picture-book__edge--top {
	top: -6px;
	left: -8px;
	right: -8px;
	height: 6px;
	background: linear-gradient(180deg, var(--book-cover-dark), var(--book-cover-color));
	border-radius: 20px 20px 0 0;
}

.picture-book__edge--bottom {
	bottom: -6px;
	left: -8px;
	right: -8px;
	height: 6px;
	background: linear-gradient(0deg, var(--book-cover-dark), var(--book-cover-color));
	border-radius: 0 0 20px 20px;
}

.picture-book__edge--left {
	left: -8px;
	top: -6px;
	bottom: -6px;
	width: 8px;
	background: linear-gradient(90deg, var(--book-cover-dark), var(--book-cover-color));
	border-radius: 20px 0 0 20px;
}

.picture-book__edge--right {
	right: -8px;
	top: -6px;
	bottom: -6px;
	width: 8px;
	background: linear-gradient(270deg, var(--book-cover-dark), var(--book-cover-color));
	border-radius: 0 20px 20px 0;
}

/* ==========================================================================
   Spreads & Pages
   ========================================================================== */

.picture-book__spreads {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: 12px;
	overflow: hidden;
	background: var(--book-page-bg);
}

.picture-book__spread {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: var(--book-page-bg);
	border-radius: 12px;
	overflow: hidden;
	pointer-events: none;
}

.picture-book__spread.is-active {
	z-index: 2;
}

.picture-book__spread[hidden] {
	display: none !important;
}

.picture-book__spread.is-underneath {
	z-index: 1;
}

.picture-book__spread.is-flipping-source {
	z-index: 2;
	background: transparent;
}

.picture-book__page {
	position: relative;
	height: 100%;
	background: var(--book-page-bg);
	overflow: hidden;
}

.picture-book__page--left {
	grid-column: 1;
	border-radius: 12px 0 0 12px;
}

.picture-book__page--right {
	grid-column: 2;
	border-radius: 0 12px 12px 0;
}

.picture-book__page--left::after,
.picture-book__page--right::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 14px;
	z-index: 8;
	pointer-events: none;
}

.picture-book__page--left::after {
	right: 0;
	background: linear-gradient(90deg, transparent, rgba(107, 82, 52, 0.07));
}

.picture-book__page--right::before {
	left: 0;
	background: linear-gradient(90deg, rgba(107, 82, 52, 0.07), transparent);
}

.picture-book__page.is-flip-hidden {
	visibility: hidden;
}

.picture-book__spread.is-underneath .picture-book__page-link {
	visibility: hidden;
}

/* 綴じ目 */
.picture-book__spine {
	position: absolute;
	left: 50%;
	top: 0;
	bottom: 0;
	width: 14px;
	transform: translateX(-50%);
	z-index: 10;
	pointer-events: none;
	background: linear-gradient(
		90deg,
		transparent 0%,
		rgba(116, 91, 58, 0.07) 35%,
		rgba(107, 82, 52, 0.1) 50%,
		rgba(116, 91, 58, 0.07) 65%,
		transparent 100%
	);
}

.picture-book__page-inner {
	height: 100%;
	position: relative;
	pointer-events: auto;
}

.picture-book__page-inner--media {
	display: flex;
	align-items: stretch;
}

.picture-book__page-inner--text {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: var(--space-2xl) var(--space-xl);
	text-align: center;
}

.picture-book__page-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.picture-book__page-image--illustration {
	object-fit: cover;
}

.picture-book__page-image--photo {
	object-fit: cover;
}

/* Left-page scrapbook */
.picture-book__collage,
.picture-book__principal-photo {
	position: relative;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background:
		radial-gradient(circle at 18% 24%, rgba(210, 190, 158, 0.08) 0 1px, transparent 1.5px),
		var(--book-page-bg);
	background-size: 18px 18px;
}

.picture-book__collage::before,
.picture-book__principal-photo::before {
	content: none;
}

.picture-book__collage::after {
	content: '';
	position: absolute;
	right: 8px;
	top: 12px;
	width: 46px;
	height: 34px;
	background: url('../images/bird-01.png') center / contain no-repeat;
	opacity: 0.2;
	pointer-events: none;
}

.picture-book__collage--layout-1::after {
	right: 10px;
	top: 10px;
	width: 78px;
	height: 58px;
	opacity: 0.48;
	z-index: 2;
}

.picture-book__collage-item {
	position: absolute;
	z-index: 1;
	margin: 0;
	padding: 6px 6px 10px;
	background: #FFFFFF;
	border: 1px solid rgba(124, 102, 74, 0.09);
	border-radius: 3px;
	box-shadow: 0 5px 14px rgba(72, 53, 35, 0.14);
}

.picture-book__collage-image {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 1px;
	object-fit: cover;
}

.picture-book__tape {
	position: absolute;
	top: -8px;
	left: 50%;
	z-index: 3;
	width: 42%;
	height: 15px;
	transform: translateX(-50%) rotate(-1.5deg);
	opacity: 0.72;
	box-shadow: 0 1px 2px rgba(72, 53, 35, 0.08);
}

.picture-book__tape--pink {
	background: rgba(235, 190, 201, 0.8);
}

.picture-book__tape--yellow {
	background: rgba(236, 218, 162, 0.82);
}

.picture-book__tape--purple {
	background: rgba(205, 187, 221, 0.82);
}

.picture-book__tape--blue {
	background: rgba(181, 211, 220, 0.82);
}

.picture-book__tape--green {
	background: rgba(189, 216, 188, 0.82);
}

.picture-book__collage--layout-1 .picture-book__collage-item--1 {
	left: 6%;
	top: 6%;
	width: 48%;
	height: 30%;
	transform: rotate(-1.4deg);
}

.picture-book__collage--layout-1 .picture-book__collage-item--2 {
	left: 52%;
	top: 8%;
	width: 42%;
	height: 28%;
	transform: rotate(1.2deg);
}

.picture-book__collage--layout-1 .picture-book__collage-item--3 {
	left: 8%;
	top: 38%;
	width: 42%;
	height: 28%;
	transform: rotate(1deg);
}

.picture-book__collage--layout-1 .picture-book__collage-item--4 {
	left: 50%;
	top: 36%;
	width: 42%;
	height: 34%;
	transform: rotate(-1.1deg);
}

.picture-book__collage--layout-1 .picture-book__collage-item--5 {
	left: 14%;
	top: 68%;
	width: 58%;
	height: 26%;
	transform: rotate(-0.8deg);
}

.picture-book__collage--layout-1 .picture-book__collage-item--6 {
	display: none;
}

.picture-book__collage--layout-3 .picture-book__collage-item--1 {
	left: 8%;
	top: 9%;
	width: 56%;
	height: 36%;
	transform: rotate(-1deg);
}

.picture-book__collage--layout-3 .picture-book__collage-item--2 {
	left: 61%;
	top: 15%;
	width: 34%;
	height: 29%;
	transform: rotate(1.5deg);
}

.picture-book__collage--layout-3 .picture-book__collage-item--3 {
	left: 9%;
	top: 53%;
	width: 43%;
	height: 33%;
	transform: rotate(1.2deg);
}

.picture-book__collage--layout-3 .picture-book__collage-item--4 {
	left: 48%;
	top: 49%;
	width: 47%;
	height: 35%;
	transform: rotate(-1.2deg);
}

.picture-book__collage--layout-4 .picture-book__collage-item--1 {
	left: 10%;
	top: 8%;
	width: 78%;
	height: 38%;
	transform: rotate(-0.7deg);
}

.picture-book__collage--layout-4 .picture-book__collage-item--2 {
	left: 7%;
	top: 52%;
	width: 44%;
	height: 38%;
	transform: rotate(1.4deg);
}

.picture-book__collage--layout-4 .picture-book__collage-item--3 {
	left: 50%;
	top: 50%;
	width: 44%;
	height: 40%;
	transform: rotate(-1.2deg);
}

.picture-book__collage--layout-4 .picture-book__collage-item--4,
.picture-book__collage--layout-4 .picture-book__collage-item--5 {
	display: none;
}

.picture-book__collage--layout-5 .picture-book__collage-item--1 {
	left: 8%;
	top: 8%;
	width: 42%;
	height: 29%;
	transform: rotate(-1.4deg);
}

.picture-book__collage--layout-5 .picture-book__collage-item--2 {
	left: 48%;
	top: 6%;
	width: 45%;
	height: 32%;
	transform: rotate(1deg);
}

.picture-book__collage--layout-5 .picture-book__collage-item--3 {
	left: 6%;
	top: 39%;
	width: 52%;
	height: 27%;
	transform: rotate(0.8deg);
}

.picture-book__collage--layout-5 .picture-book__collage-item--4 {
	left: 57%;
	top: 41%;
	width: 37%;
	height: 25%;
	transform: rotate(-1.5deg);
}

.picture-book__collage--layout-5 .picture-book__collage-item--5 {
	left: 12%;
	top: 68%;
	width: 72%;
	height: 26%;
	transform: rotate(-0.6deg);
}

.picture-book__collage--layout-5 .picture-book__collage-item--6 {
	display: none;
}

.picture-book__principal-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5% 8%;
}

.picture-book__principal-frame {
	position: relative;
	z-index: 1;
	width: min(84%, 300px);
	height: auto;
	margin: 0;
	padding: 9px 9px 30px;
	background: #FFFFFF;
	border: 1px solid rgba(124, 102, 74, 0.1);
	border-radius: 3px;
	box-shadow: 0 7px 18px rgba(72, 53, 35, 0.15);
	box-sizing: border-box;
}

.picture-book__principal-image {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4;
	height: auto;
	object-fit: cover;
	object-position: center top;
	border-radius: 1px;
}

.picture-book__principal-photo--document .picture-book__principal-frame {
	width: min(82%, 280px);
	padding: 10px 10px 32px;
}

.picture-book__principal-photo--document .picture-book__principal-image {
	aspect-ratio: auto;
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
	background: #FFFFFF;
}

.picture-book__principal-caption {
	position: absolute;
	left: 8px;
	right: 8px;
	bottom: 8px;
	color: var(--color-text-primary);
	font-size: var(--font-size-xs);
	letter-spacing: 0.08em;
	text-align: center;
}

.picture-book__page-inner--contain-top .picture-book__page-image {
	object-fit: contain;
	object-position: top center;
}

.picture-book__page-inner--contain-pad {
	padding: var(--space-md);
	background: var(--book-page-bg);
}

.picture-book__page-inner--contain-pad .picture-book__page-image {
	object-fit: contain;
	object-position: center;
}

.picture-book__page-title {
	font-size: 1.25rem;
	font-weight: var(--font-weight-bold);
	color: var(--color-text-primary);
	line-height: 1.6;
	margin-bottom: var(--space-md);
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.picture-book__leaf-divider {
	margin-bottom: var(--space-lg);
}

.picture-book__page-body {
	font-size: var(--font-size-sm);
	color: var(--color-text-primary);
	line-height: 2.2;
	letter-spacing: 0.04em;
}

.picture-book__page-en {
	display: none;
	margin: 0;
	font-size: 0.625rem;
	font-weight: var(--font-weight-normal);
	line-height: 1.55;
	color: var(--color-primary-light);
	letter-spacing: 0.02em;
}

.picture-book__page-en--title {
	display: block;
	margin-top: -0.25rem;
	margin-bottom: var(--space-md);
	font-size: 0.5625rem;
	letter-spacing: 0.04em;
}

.picture-book__page-en--body {
	margin-top: 0.35rem;
}

.picture-book__page-en--powers {
	margin-top: 0.25rem;
	margin-bottom: var(--space-sm);
	line-height: 1.65;
}

.picture-book__page-en--note {
	margin-top: 0.35rem;
	font-size: 0.5625rem;
	line-height: 1.6;
}

@media (min-width: 769px) {
	.picture-book__page-en {
		display: block;
	}

	.picture-book__page-note {
		font-size: var(--font-size-sm);
	}
}

.picture-book__mobile-break {
	display: none;
}

.picture-book__break--all {
	display: block;
	height: 0;
}

@media (max-width: 768px) {
	.picture-book__mobile-break {
		display: block;
		height: 0;
	}
}

.picture-book__page-link {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	margin-top: var(--space-lg);
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-medium);
	color: var(--color-primary);
	text-decoration: none;
	letter-spacing: 0.04em;
	transition: opacity var(--transition-fast);
	position: relative;
	z-index: 25;
}

.picture-book__page-link:hover {
	opacity: 0.75;
}

.picture-book__page-link-arrow {
	font-size: 1.1em;
}

.picture-book__spread--powers .picture-book__page-body {
	font-size: 1.0625rem;
	font-weight: var(--font-weight-bold);
	line-height: 2.1;
}

.picture-book__powers {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.55rem;
	list-style: none;
	margin: 0 0 var(--space-md);
	padding: 0;
}

.picture-book__power {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1;
	max-width: 7.25rem;
	min-height: 0;
	padding: 0.55rem 0.4rem;
	border-radius: 50%;
	border: 2px solid var(--color-primary);
	background: linear-gradient(165deg, #FFFEFB 0%, #F3ECFA 100%);
	box-shadow: 0 4px 14px rgba(91, 39, 132, 0.1);
	text-align: center;
	box-sizing: border-box;
}

.picture-book__power span {
	display: block;
	font-size: clamp(0.62rem, 1.1vw, 0.78rem);
	font-weight: var(--font-weight-bold);
	line-height: 1.45;
	color: var(--color-primary-dark);
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.picture-book__page-note {
	margin-top: var(--space-lg);
	font-size: var(--font-size-xs);
	color: var(--color-text-primary);
	opacity: 0.85;
	line-height: 2;
	letter-spacing: 0.04em;
}

.picture-book__page-deco {
	position: absolute;
	bottom: var(--space-lg);
	right: var(--space-lg);
	width: 100px;
	height: auto;
	pointer-events: none;
}

/* ページ番号バッジ */
.picture-book__page-number {
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 5;
	width: 80px;
	height: 48px;
	overflow: hidden;
	pointer-events: none;
}

.picture-book__page-number::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100px;
	height: 56px;
	background: var(--color-primary);
	border-radius: 0 40px 0 0;
}

.picture-book__page-number-text {
	position: absolute;
	bottom: 10px;
	left: 14px;
	font-size: var(--font-size-xs);
	font-weight: var(--font-weight-medium);
	color: white;
	letter-spacing: 0.05em;
	z-index: 1;
}

/* ページ端ホバー */
.picture-book__page--right.is-edge-hover {
	transition: transform 0.35s ease;
	transform: rotateY(-6deg);
	transform-origin: left center;
}

.picture-book__page--left.is-edge-hover {
	transition: transform 0.35s ease;
	transform: rotateY(6deg);
	transform-origin: right center;
}

/* ==========================================================================
   Flip Layer
   ========================================================================== */

.picture-book__flip-layer {
	position: absolute;
	inset: 0;
	z-index: 20;
	pointer-events: none;
	transform-style: preserve-3d;
	perspective: 1800px;
	isolation: isolate;
}

.picture-book__flip-sheet {
	position: absolute;
	top: 0;
	height: 100%;
	width: 50%;
	transform-style: preserve-3d;
	transform-origin: left center;
	will-change: transform;
	z-index: 1;
}

.picture-book__flip-sheet--backward {
	left: 0;
	transform-origin: right center;
}

.picture-book__flip-front,
.picture-book__flip-back {
	position: absolute;
	inset: 0;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
	border-radius: 0 12px 12px 0;
	overflow: hidden;
	background: var(--book-page-bg);
	transform-style: preserve-3d;
}

.picture-book__flip-sheet--backward .picture-book__flip-front {
	border-radius: 12px 0 0 12px;
}

.picture-book__flip-back {
	transform: rotateY(180deg);
	background: var(--book-page-bg);
}

.picture-book__flip-sheet--forward .picture-book__flip-back {
	border-radius: 12px 0 0 12px;
}

.picture-book__flip-shadow {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, transparent 40%);
	opacity: 0;
	border-radius: inherit;
}

.picture-book__flip-back .picture-book__flip-shadow,
.picture-book__flip-sheet--backward .picture-book__flip-front .picture-book__flip-shadow {
	background: linear-gradient(270deg, rgba(0, 0, 0, 0.15) 0%, transparent 40%);
}

.picture-book__flip-sheet--backward .picture-book__flip-back .picture-book__flip-shadow {
	background: linear-gradient(90deg, rgba(0, 0, 0, 0.15) 0%, transparent 40%);
}

.picture-book.is-flipping .picture-book__click-zone {
	pointer-events: none;
}

/* ==========================================================================
   Click Zones
   ========================================================================== */

.picture-book__click-zone {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 50%;
	z-index: 1;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
}

.picture-book__click-zone--prev {
	left: 0;
}

.picture-book__click-zone--next {
	right: 0;
}

.picture-book__click-zone:disabled {
	cursor: default;
}

/* ==========================================================================
   Dots
   ========================================================================== */

.picture-book-section__swipe-hint {
	display: none;
}

.picture-book-section__dots {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-sm);
	margin-top: var(--space-xl);
}

.picture-book-section__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border-radius: 50%;
	border: 1.5px solid var(--color-primary);
	background: transparent;
	cursor: pointer;
	transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.picture-book-section__dot.is-active {
	background: var(--color-primary);
}

.picture-book-section__dot:hover:not(.is-active) {
	transform: scale(1.15);
	background: var(--color-bg-lavender);
}

/* Last page end indicator */
.picture-book.is-last-page .picture-book__page--right::after {
	content: '';
	position: absolute;
	bottom: var(--space-md);
	right: var(--space-md);
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--color-border-light);
	opacity: 0.6;
}

/* ==========================================================================
   Layout Variations
   ========================================================================== */

.picture-book__spread--text-left .picture-book__page--left .picture-book__page-inner--text {
	padding-right: var(--space-lg);
}

.picture-book__spread--full-text .picture-book__page--left .picture-book__page-inner--media {
	opacity: 0.15;
}

.picture-book__spread--full-text .picture-book__page--right .picture-book__page-inner--text {
	padding: var(--space-3xl);
}

.picture-book__spread--full-text .picture-book__page-title {
	font-size: 1.5rem;
}

/* ==========================================================================
   Utility
   ========================================================================== */

.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ==========================================================================
   Reduced Motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	.picture-book__page--right.is-edge-hover,
	.picture-book__page--left.is-edge-hover {
		transform: none;
	}

	.picture-book.is-ready {
		transition: opacity 0.3s ease;
	}
}

/* ==========================================================================
   Responsive – Tablet
   ========================================================================== */

@media (max-width: 1024px) {
	.picture-book-section {
		--book-width: min(820px, calc(100vw - 120px));
	}

	.picture-book-section__stage {
		gap: var(--space-md);
	}

	.picture-book-section__nav {
		display: none;
	}

	.picture-book-section__swipe-hint {
		display: block;
		margin: var(--space-md) auto 0;
		padding-inline: var(--space-md);
		text-align: center;
		font-size: var(--font-size-xs);
		line-height: 1.6;
		color: var(--color-primary);
	}

	.picture-book__page-title {
		font-size: 1.05rem;
	}

	.picture-book__page-body {
		font-size: 0.8125rem;
		line-height: 2;
	}

	.picture-book__page-inner--text {
		padding: var(--space-lg) var(--space-md);
	}

	.picture-book__page-deco {
		width: 72px;
	}
}

/* ==========================================================================
   Responsive – Mobile
   ========================================================================== */

@media (max-width: 767px) {
	.picture-book-section {
		padding-block: var(--space-3xl) var(--space-2xl);
		--book-width: min(300px, calc(100vw - 64px));
	}

	.picture-book {
		aspect-ratio: var(--book-aspect-page);
	}

	.picture-book__spread.is-underneath {
		display: flex;
		position: absolute;
		inset: 0;
		z-index: 1;
	}

	.picture-book__spread.is-flipping-source {
		background: transparent;
	}

	.picture-book__flip-sheet--mobile {
		width: 100%;
		left: 0;
	}

	.picture-book__flip-sheet--mobile .picture-book__flip-front,
	.picture-book__flip-sheet--mobile .picture-book__flip-back {
		display: flex;
		flex-direction: column;
		border-radius: 12px;
		transform-style: flat;
		-webkit-backface-visibility: hidden;
		backface-visibility: hidden;
		background: var(--book-page-bg);
	}

	.picture-book__flip-sheet--mobile .picture-book__spine {
		display: none;
	}

	.picture-book__flip-sheet--mobile .picture-book__page--right {
		order: 1;
		flex: 0 0 auto;
		height: auto;
	}

	.picture-book__flip-sheet--mobile .picture-book__page--left {
		order: 2;
		flex: 1 1 0;
		min-height: 0;
		height: auto;
	}

	.picture-book__flip-sheet--mobile .picture-book__page-inner--media {
		height: 100%;
		min-height: 0;
	}

	.picture-book-section__title {
		font-size: var(--font-size-lg);
	}

	.picture-book-section__subtitle {
		font-size: var(--font-size-xs);
	}

	.picture-book-section__stage {
		flex-direction: row;
		align-items: center;
		gap: 0;
		max-width: var(--book-width);
		padding-inline: var(--space-sm);
	}

	.picture-book-section__dots {
		margin-top: var(--space-md);
	}

	.picture-book__body,
	.picture-book__spreads {
		height: 100%;
	}

	.picture-book__spreads {
		min-height: 0;
		position: relative;
	}

	.picture-book__spread {
		position: relative;
		inset: auto;
		display: none;
		flex-direction: column;
		grid-template-columns: none;
		height: 100%;
		min-height: 0;
		overflow: hidden;
	}

	.picture-book__spread.is-active {
		display: flex;
	}

	.picture-book__spread[hidden] {
		display: none !important;
	}

	.picture-book__spine {
		display: none;
	}

	.picture-book__page {
		height: auto;
	}

	.picture-book__page--right {
		order: 1;
		flex: 0 0 auto;
		border-radius: 12px 12px 0 0;
	}

	.picture-book__page--left {
		order: 2;
		flex: 1 1 0;
		min-height: 0;
		border-radius: 0 0 12px 12px;
	}

	.picture-book__spread--text-left .picture-book__page--left {
		order: 1;
		border-radius: 12px 12px 0 0;
	}

	.picture-book__spread--text-left .picture-book__page--right {
		order: 2;
		border-radius: 0 0 12px 12px;
	}

	.picture-book__page-inner--media {
		height: 100%;
		min-height: 0;
	}

	.picture-book__collage--layout-1 {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		align-content: center;
		gap: 0.35rem;
		padding: 0.55rem 0.4rem;
		box-sizing: border-box;
	}

	.picture-book__collage--layout-1 .picture-book__collage-item,
	.picture-book__collage--layout-1 .picture-book__collage-item:nth-child(n + 4) {
		display: block;
		position: relative;
		left: auto;
		top: auto;
		width: calc(32% - 0.2rem);
		height: auto;
	}

	.picture-book__collage--layout-1 .picture-book__collage-item--1 {
		transform: rotate(-1.2deg);
	}

	.picture-book__collage--layout-1 .picture-book__collage-item--2 {
		transform: rotate(1.1deg);
	}

	.picture-book__collage--layout-1 .picture-book__collage-item--3 {
		transform: rotate(-0.6deg);
	}

	.picture-book__collage--layout-1 .picture-book__collage-item--4,
	.picture-book__collage--layout-1 .picture-book__collage-item--5 {
		width: calc(42% - 0.2rem);
	}

	.picture-book__collage--layout-1 .picture-book__collage-item--4 {
		transform: rotate(0.8deg);
	}

	.picture-book__collage--layout-1 .picture-book__collage-item--5 {
		transform: rotate(-0.9deg);
	}

	.picture-book__collage--layout-1 .picture-book__collage-image {
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}

	.picture-book__collage--layout-5 {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		align-content: center;
		gap: 0.35rem;
		padding: 0.55rem 0.4rem;
		box-sizing: border-box;
	}

	.picture-book__collage--layout-5 .picture-book__collage-item,
	.picture-book__collage--layout-5 .picture-book__collage-item--3,
	.picture-book__collage--layout-5 .picture-book__collage-item--4,
	.picture-book__collage--layout-5 .picture-book__collage-item--5 {
		display: block;
		position: relative;
		left: auto;
		top: auto;
		flex: 0 1 calc(32% - 0.2rem);
		width: calc(32% - 0.2rem);
		height: auto;
	}

	.picture-book__collage--layout-5 .picture-book__collage-item--1 {
		transform: rotate(-1deg);
	}

	.picture-book__collage--layout-5 .picture-book__collage-item--2 {
		transform: rotate(1.1deg);
	}

	.picture-book__collage--layout-5 .picture-book__collage-item--3 {
		transform: rotate(-0.5deg);
	}

	.picture-book__collage--layout-5 .picture-book__collage-item--4,
	.picture-book__collage--layout-5 .picture-book__collage-item--5 {
		flex-basis: calc(42% - 0.2rem);
		width: calc(42% - 0.2rem);
	}

	.picture-book__collage--layout-5 .picture-book__collage-item--4 {
		transform: rotate(0.7deg);
	}

	.picture-book__collage--layout-5 .picture-book__collage-item--5 {
		transform: rotate(-0.8deg);
	}

	.picture-book__collage--layout-5 .picture-book__collage-image {
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		object-fit: cover;
	}

	.picture-book__collage--layout-4 {
		display: flex;
		flex-direction: row;
		align-items: center;
		justify-content: center;
		gap: 0.45rem;
		padding: 0.75rem 0.55rem 1rem;
		box-sizing: border-box;
	}

	.picture-book__collage--layout-4 .picture-book__collage-item--1,
	.picture-book__collage--layout-4 .picture-book__collage-item--2,
	.picture-book__collage--layout-4 .picture-book__collage-item--3 {
		position: relative;
		left: auto;
		top: auto;
		flex: 1 1 0;
		width: auto;
		max-width: 32%;
		height: auto;
		transform: none;
		padding: 3px 3px 6px;
	}

	.picture-book__collage--layout-4 .picture-book__collage-item--1 {
		transform: rotate(-1.2deg);
		order: 1;
	}

	.picture-book__collage--layout-4 .picture-book__collage-item--2 {
		transform: rotate(0.8deg);
		order: 3;
	}

	.picture-book__collage--layout-4 .picture-book__collage-item--3 {
		transform: rotate(-0.6deg);
		order: 2;
	}

	.picture-book__collage--layout-4 .picture-book__collage-image {
		width: 100%;
		height: auto;
		aspect-ratio: 3 / 4;
		object-fit: cover;
	}

	.picture-book__collage-item {
		padding: 4px 4px 7px;
	}

	.picture-book__tape {
		top: -5px;
		height: 10px;
	}

	.picture-book__collage::before,
	.picture-book__principal-photo::before {
		width: 72px;
		height: 64px;
	}

	.picture-book__collage::after {
		width: 34px;
		height: 26px;
	}

	.picture-book__collage--layout-1::after {
		width: 58px;
		height: 44px;
		opacity: 0.48;
	}

	.picture-book__principal-frame {
		width: min(62%, 168px);
		padding: 5px 5px 24px;
	}

	.picture-book__principal-image {
		aspect-ratio: 3 / 4;
		object-fit: cover;
		object-position: center top;
	}

	.picture-book__principal-photo--document .picture-book__principal-frame {
		width: min(84%, 220px);
	}

	.picture-book__principal-caption {
		bottom: 6px;
		font-size: 0.625rem;
	}

	.picture-book__page-title {
		font-size: 0.8125rem;
	}

	.picture-book__powers {
		gap: 0.4rem;
		margin-bottom: var(--space-sm);
	}

	.picture-book__power {
		max-width: 5.75rem;
		padding: 0.4rem 0.3rem;
	}

	.picture-book__power span {
		font-size: 0.625rem;
		line-height: 1.4;
	}

	.picture-book__page-body {
		font-size: 0.75rem;
		line-height: 1.9;
	}

	.picture-book__page-inner--text {
		padding: var(--space-md) var(--space-sm);
		justify-content: flex-start;
	}

	.picture-book__page-deco {
		width: 56px;
		bottom: var(--space-sm);
		right: var(--space-sm);
	}

	.picture-book__page-number {
		width: 64px;
		height: 36px;
	}

	.picture-book__page-number-text {
		font-size: 0.625rem;
		bottom: 8px;
		left: 10px;
	}
}
