@charset "UTF-8";
/*
 * ぽんぽこはうす 共通スタイル
 * PC 1440px / SP 375px 基準。命名は FLOCSS + BEM（l- / c- / p- / u- ／ 状態 is- ／ JSフック js-）。
 * SP のブレイクポイント：(max-width: 767px), (orientation: portrait) and (max-width: 1023px)
 * 文字や画像を下からふわっと出す演出は使わない（ご要望）。動くのはたぬきだけ。
 */

/* ===== Tokens ===== */
:root {
	--c-bg: #faf9f4;          /* ページの地色（クリーム） */
	--c-white: #fff;
	--c-text: #4b3a2d;        /* 本文（こげ茶） */
	--c-text-sub: #7b6a5b;    /* 補足・日付 */
	--c-brown: #5f4630;       /* 年齢タグ・福利厚生タグ */
	--c-brown-mid: #7d6449;   /* 企業主導型保育園タグ */
	--c-pink: #dd8f9f;        /* ボタン・電話ピル */
	--c-pink-hover: #cf7a8c;
	--c-pink-light: #f5c3ce;  /* 送信ボタン */
	--c-pink-pale: #ffe5ee;   /* 基本情報ラベル */
	--c-mint: #e6faf1;        /* サービス帯・フッター */
	--c-beige: #efebe0;       /* FAQボックス */
	--c-beige-mid: #e0dad0;   /* 教室タグ */
	--c-beige-dark: #dbd7cc;  /* 詳細ページボタン・ステップ */
	--c-beige-deep: #c6c0b4;  /* 利用料金ボックス */
	--c-line: #d8cfc2;        /* 区切り線 */
	--c-dot: #c9bfae;         /* ヘッダーナビの点線 */

	--ff-maru: "Kiwi Maru", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", sans-serif;
	--ff-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;

	--header-h: 180px;
	--container: 1120px;
	--gutter: 20px;
	--radius: 16px;
	--ease: cubic-bezier(.33, 1, .68, 1);
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	:root {
		--header-h: 72px;
		--gutter: 20px;
	}
}

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

html {
	-webkit-text-size-adjust: 100%;
	overflow-x: clip;
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}

body,
h1, h2, h3, h4, h5, h6,
p, ul, ol, dl, dd, figure, blockquote {
	margin: 0;
}

/* 見出し・キャッチは文節で折り返し、最後の1〜2文字だけが次の行に残らないようにする */
h1, h2, h3, h4 {
	text-wrap: balance;
	word-break: auto-phrase;
	overflow-wrap: anywhere; /* 1文節が1行に収まらないときは文節の途中でも折り返す */
}

ul, ol {
	padding: 0;
	list-style: none;
}

img,
svg,
iframe {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

button {
	padding: 0;
	cursor: pointer;
	background: none;
	border: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

body {
	overflow-x: clip;
	font-family: var(--ff-maru);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.9;
	color: var(--c-text);
	letter-spacing: .08em;
	background: var(--c-bg);
	-webkit-font-smoothing: antialiased;
}

:focus-visible {
	outline: 3px solid #f0a7b8;
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 8px 16px;
	clip: auto;
	color: var(--c-text);
	background: var(--c-white);
}

/* ===== Utility ===== */
.u-nowrap {
	white-space: nowrap; /* 電話番号などを途中で折り返さない */
}

.u-sp {
	display: none !important;
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.u-pc {
		display: none !important;
	}

	.u-sp {
		display: revert !important;
	}

	img.u-sp {
		display: block !important;
	}
}

/* ===== Layout ===== */
.l-main {
	display: block;
}

.l-container {
	width: min(calc(100% - var(--gutter) * 2), var(--container));
	margin-inline: auto;
}

.l-container--wide {
	--container: 1280px;
}

.l-container--narrow {
	--container: 1050px;
}

.l-container--news {
	--container: 1120px;
}

/* ===== Header ===== */
.l-header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	pointer-events: none;
}

.l-header::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	aspect-ratio: 1440 / 86;
	content: "";
	background: url("../img/common/header-curtain.webp") center top / 100% auto no-repeat;
}

.l-header__inner {
	position: relative;
	width: min(calc(100% - 40px), 1300px);
	height: var(--header-h);
	margin-inline: auto;
}

.l-header__inner > * {
	pointer-events: auto;
}

.l-header__logo {
	position: absolute;
	top: 78px;
	left: 50%;
	z-index: 2;
	width: clamp(180px, 15.7vw, 226px);
	transform: translateX(-50%);
}

.l-header__logo a {
	display: block;
	transition: opacity .3s;
}

.l-header__logo-sp {
	display: none;
}

.l-header__tel {
	position: absolute;
	top: 32px;
	right: 0;
	display: grid;
	place-items: center;
	height: 43px;
	padding: 0 24px;
	font-family: var(--ff-sans);
	font-size: 13px;
	font-weight: 700;
	color: var(--c-white);
	letter-spacing: .04em;
	background: var(--c-pink);
	border-radius: 999px;
	box-shadow: 0 2px 6px rgb(143 79 92 / .18);
	transition: background-color .3s;
}

.l-header__toggle,
.l-header__drawer-foot {
	display: none;
}

.l-header__nav {
	position: absolute;
	top: 100px;
	left: 0;
	width: 100%;
}

.l-header__menu {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 128px)) minmax(200px, 276px) repeat(4, minmax(0, 128px));
	justify-content: center;
}

.l-header__menu > li {
	grid-row: 1;
	border-left: 2px dotted var(--c-dot);
}

.l-header__menu > li:nth-child(4),
.l-header__menu > li:last-child {
	border-right: 2px dotted var(--c-dot);
}

.l-header__menu > li:nth-child(5) {
	grid-column: 6;
}

.l-header__menu > li:nth-child(6) {
	grid-column: 7;
}

.l-header__menu > li:nth-child(7) {
	grid-column: 8;
}

.l-header__menu > li:nth-child(8) {
	grid-column: 9;
}

.l-header__menu a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: center;
	justify-content: flex-end;
	height: 80px;
	padding-bottom: 6px;
	font-size: clamp(12px, 1vw, 14px);
	line-height: 1.4;
	white-space: nowrap;
	transition: color .3s;
}

.l-header__menu-icon {
	display: grid;
	place-items: center;
	height: 36px;
	transition: transform .3s var(--ease);
}

.l-header__menu-icon img {
	width: auto;
	max-width: 50px;
	height: 100%;
	max-height: 40px;
	object-fit: contain;
}

/* PC：「教室紹介」にマウスを乗せる（またはキーボードで移動する）と各教室のリンクを出す */
.l-header__menu > li.has-sub {
	position: relative;
}

.l-header__sub {
	position: absolute;
	top: calc(100% + 6px);
	left: -12px;
	z-index: 5;
	display: grid;
	grid-template-columns: repeat(2, max-content);
	gap: 4px 10px;
	padding: 16px 18px;
	pointer-events: none;
	background: var(--c-white);
	border-radius: 18px;
	box-shadow: 0 6px 20px rgb(75 58 45 / .16);
	opacity: 0;
	transform: translateY(-6px);
	transition: opacity .25s, transform .25s var(--ease);
}

/* マウスがリンクから一覧へ移る間に閉じないよう、すき間を透明な帯で埋める */
.l-header__sub::before {
	position: absolute;
	inset: -10px 0 auto;
	height: 10px;
	content: "";
}

.l-header__menu > li.has-sub:hover .l-header__sub,
.l-header__menu > li.has-sub:focus-within .l-header__sub {
	pointer-events: auto;
	opacity: 1;
	transform: none;
}

.l-header__menu .l-header__sub a {
	flex-direction: row;
	gap: 10px;
	justify-content: flex-start;
	height: auto;
	padding: 4px 10px 4px 4px;
	font-size: 13px;
	border-radius: 999px;
	transition: background-color .3s, color .3s;
}

.l-header__sub-logo {
	flex-shrink: 0;
	width: 36px;
	border-radius: 50%;
}

.l-header__menu .l-header__sub a[aria-current="page"] {
	color: #c56b7f;
}

@media (hover: hover) {
	.l-header__menu .l-header__sub a:hover {
		background: var(--c-pink-pale);
	}
}

/* PC：スクロールでヘッダーの外に出たら、コンパクトな固定ヘッダーを上から出す */
.l-header.is-fixed {
	position: fixed;
	background: rgb(250 249 244 / .96);
	box-shadow: 0 2px 12px rgb(75 58 45 / .08);
	animation: header-down .35s var(--ease);
}

.l-header.is-fixed::before {
	display: none;
}

.l-header.is-fixed .l-header__inner {
	height: 84px;
}

.l-header.is-fixed .l-header__logo {
	top: 12px;
	width: 180px;
}

.l-header.is-fixed .l-header__tel {
	display: none;
}

.l-header.is-fixed .l-header__nav {
	top: 4px;
}

.l-header.is-fixed .l-header__menu {
	grid-template-columns: repeat(4, minmax(0, 118px)) minmax(200px, 240px) repeat(4, minmax(0, 118px));
}

.l-header.is-fixed .l-header__menu a {
	height: 76px;
}

@keyframes header-down {
	from {
		transform: translateY(-100%);
	}

	to {
		transform: translateY(0);
	}
}

@media (hover: hover) {
	.l-header__tel:hover {
		background: var(--c-pink-hover);
	}

	.l-header__menu a:hover {
		color: #c56b7f;
	}

	.l-header__menu a:hover .l-header__menu-icon {
		transform: translateY(-4px) rotate(-6deg);
	}

	.l-header__logo a:hover {
		opacity: .75;
	}
}

@media (max-width: 1199px) {
	.l-header__menu-label {
		letter-spacing: 0;
	}
}

/* --- SP header & drawer --- */
@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.l-header {
		position: fixed;
		transition: background-color .3s;
	}

	.l-header::before {
		aspect-ratio: 375 / 27;
		background-image: url("../img/common/header-curtain-sp.webp");
	}

	.l-header.is-scrolled {
		background: rgb(250 249 244 / .94);
		box-shadow: 0 2px 10px rgb(75 58 45 / .08);
	}

	.l-header__inner {
		width: 100%;
		height: var(--header-h);
	}

	.l-header__logo {
		top: min(10.1vw, 46px);
		width: min(33.7vw, 152px); /* 0.8倍（元 42.1vw / 190px） */
		transition: top .3s, width .3s;
	}

	.l-header.is-scrolled .l-header__logo {
		top: min(5.5vw, 26px);
		width: min(27.8vw, 125px); /* 0.8倍（元 34.7vw / 156px） */
	}

	.l-header__logo-pc {
		display: none;
	}

	.l-header__logo-sp {
		display: block;
		width: 100%;
	}

	.l-header__tel {
		display: none;
	}

	.l-header__toggle {
		position: absolute;
		top: 8px;
		right: 10px;
		z-index: 3;
		display: grid;
		place-items: center;
		width: 44px;
		height: 50px;
		background: var(--c-pink);
		border-radius: 8px;
		box-shadow: 0 2px 6px rgb(143 79 92 / .25);
	}

	.l-header__toggle-bar,
	.l-header__toggle-bar::before,
	.l-header__toggle-bar::after {
		display: block;
		width: 22px;
		height: 2px;
		background: var(--c-white);
		border-radius: 2px;
		transition: transform .3s var(--ease), background-color .3s;
	}

	.l-header__toggle-bar {
		position: relative;
	}

	.l-header__toggle-bar::before,
	.l-header__toggle-bar::after {
		position: absolute;
		left: 0;
		content: "";
	}

	.l-header__toggle-bar::before {
		top: -7px;
	}

	.l-header__toggle-bar::after {
		top: 7px;
	}

	.is-menu-open .l-header__toggle-bar {
		background: transparent;
	}

	.is-menu-open .l-header__toggle-bar::before {
		transform: translateY(7px) rotate(45deg);
	}

	.is-menu-open .l-header__toggle-bar::after {
		transform: translateY(-7px) rotate(-45deg);
	}

	.l-header__nav {
		position: fixed;
		inset: 0;
		z-index: 2;
		display: flex;
		flex-direction: column;
		gap: 28px;
		padding: 110px 24px 40px;
		overflow-y: auto;
		visibility: hidden;
		background:
			url("../img/common/footer-bg.webp") center bottom / 200% auto no-repeat,
			var(--c-bg);
		opacity: 0;
		transition: opacity .3s, visibility .3s;
		overscroll-behavior: contain;
	}

	.is-menu-open .l-header__nav {
		visibility: visible;
		opacity: 1;
	}

	.l-header__menu {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.l-header__menu > li,
	.l-header__menu > li:nth-child(n) {
		grid-row: auto;
		grid-column: auto;
		border: 0;
	}

	.l-header__menu a {
		flex-direction: row;
		gap: 10px;
		justify-content: flex-start;
		height: 60px;
		padding: 0 12px;
		font-size: 14px;
		background: var(--c-white);
		border: 2px dotted var(--c-dot);
		border-radius: 12px;
	}

	.l-header__menu-icon {
		flex-shrink: 0;
		width: 36px;
		height: 30px;
	}

	/* SP：「教室紹介」は横いっぱいにして、その下に各教室のリンクを2列で常に表示する */
	.l-header__menu > li.has-sub:nth-child(n) {
		grid-column: 1 / -1;
	}

	.l-header__sub {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px;
		margin-top: 8px;
		padding: 0;
		pointer-events: auto;
		background: none;
		box-shadow: none;
		opacity: 1;
		transform: none;
	}

	.l-header__sub::before {
		content: none;
	}

	.l-header__menu .l-header__sub a {
		gap: 6px;
		height: 44px;
		padding: 0 6px 0 4px;
		font-size: min(3.2vw, 13px);
		line-height: 1.25;
		white-space: normal;
		background: var(--c-white);
		border: 0;
		border-radius: 999px;
	}

	.l-header__sub-logo {
		width: 36px;
	}

	.l-header__menu-icon img {
		max-width: 100%;
	}

	.l-header__drawer-foot {
		display: grid;
		gap: 8px;
		justify-items: center;
	}

	.l-header__drawer-hours {
		font-size: 13px;
	}

	.is-menu-open {
		overflow: hidden;
	}
}

/* ===== Footer ===== */
.l-footer {
	position: relative;
	padding: 90px 0 30px;
	background: url("../img/common/footer-bg.webp") center top / cover no-repeat; /* 上端の波の外は透過のまま（下地の色は敷かない） */
}

.l-footer__inner {
	position: relative;
	display: grid;
	grid-template-columns: auto auto;
	justify-content: space-between;
	align-items: center;
	width: min(calc(100% - 40px), 1230px);
	min-height: 160px;
	margin-inline: auto;
}

.l-footer__logo {
	width: 228px;
}

/* 7項目めから2行目（カンプどおり）。flex だと最大幅が「全項目を1行に並べた幅」になり列が広がりすぎるため、インラインで並べて改行させる */
.l-footer__menu {
	font-size: 15px;
	line-height: 2.1;
}

.l-footer__menu li {
	display: inline;
}

.l-footer__menu li + li::before {
	margin-inline: 2px;
	content: "／";
}

.l-footer__menu li:nth-child(7)::before {
	white-space: pre;
	content: "\A";
}

.l-footer__menu a {
	transition: color .3s;
}

.l-footer__acorn {
	position: absolute;
	top: 30px;
	left: 27%;
	width: 40px;
}

.l-footer__kids {
	position: absolute;
	bottom: 26px;
	left: 50%;
	width: 78px;
	transform: translateX(-50%);
}

.l-footer__copy {
	grid-column: 1 / -1;
	margin-top: 40px;
	font-family: var(--ff-sans);
	font-size: 14px;
	text-align: center;
	letter-spacing: 0;
}

.l-footer__copy small {
	font-size: inherit;
}

@media (hover: hover) {
	.l-footer__menu a:hover {
		color: #c56b7f;
	}
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.l-footer {
		padding: 56px 0 24px;
		background-size: auto 100%;
	}

	.l-footer__inner {
		grid-template-columns: 1fr;
		gap: 24px;
		justify-items: center;
		min-height: 0;
	}

	.l-footer__logo {
		width: 190px;
	}

	/* SPは「／」区切りだと行頭に「／」が来るため、2列に並べる */
	.l-footer__menu {
		display: grid;
		grid-template-columns: repeat(2, max-content);
		gap: 2px 32px;
		justify-content: center;
		font-size: 13px;
		line-height: 2;
	}

	.l-footer__menu li + li::before,
	.l-footer__menu li:nth-child(7)::before {
		content: none;
	}

	.l-footer__acorn {
		top: -10px;
		left: 12%;
		width: 32px;
	}

	.l-footer__kids {
		position: static;
		width: 64px;
		transform: none;
	}

	.l-footer__copy {
		margin-top: 0;
		font-size: 12px;
	}
}

/* ===== Button ===== */
.c-btn-wrap {
	display: flex;
	justify-content: center;
	margin-top: 50px;
}

.c-btn {
	position: relative;
	display: inline-flex;
	gap: 10px;
	align-items: center;
	justify-content: center;
	min-width: 290px;
	min-height: 50px;
	padding: 8px 32px;
	font-size: 14px;
	line-height: 1.5;
	color: var(--c-white);
	text-align: center;
	letter-spacing: .12em;
	background: var(--c-pink);
	border: 2px solid var(--c-pink);
	border-radius: 999px;
	transition: background-color .3s, color .3s, transform .3s var(--ease);
}

.c-btn__arrow {
	font-family: var(--ff-sans);
	font-weight: 400;
	transition: transform .3s var(--ease);
}

.c-btn--sm {
	min-width: 182px;
	padding-inline: 20px;
}

.c-btn--outline {
	color: var(--c-pink);
	background: var(--c-white);
}

.c-btn--instagram svg {
	flex-shrink: 0;
	width: 22px;
	height: 22px;
}

.c-btn--tel {
	flex-direction: column;
	gap: 0;
	min-width: 260px;
	padding-block: 10px;
	font-size: 13px;
}

.c-btn__num {
	font-family: var(--ff-sans);
	font-size: 22px;
	font-weight: 700;
	letter-spacing: .06em;
}

.c-btn.is-disabled {
	color: #8b8178;
	cursor: default;
	background: var(--c-beige-dark);
	border-color: var(--c-beige-dark);
}

@media (hover: hover) {
	a.c-btn:hover {
		background: var(--c-pink-hover);
		border-color: var(--c-pink-hover);
	}

	a.c-btn--outline:hover {
		color: var(--c-white);
		background: var(--c-pink);
		border-color: var(--c-pink);
	}

	a.c-btn:hover .c-btn__arrow {
		transform: translateX(4px);
	}
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.c-btn-wrap {
		margin-top: 36px;
	}

	.c-btn {
		min-width: min(290px, 100%);
	}

	.c-btn--sm {
		min-width: 0;
	}
}

/* ===== Section title ===== */
.c-sec-title {
	margin-bottom: 40px;
	text-align: center;
}

.c-sec-title__main {
	display: flex;
	gap: 12px;
	align-items: center;
	justify-content: center;
	font-size: clamp(24px, 2.1vw, 30px);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: .14em;
}

.c-sec-title__icon {
	flex-shrink: 0;
	width: 35px;
}

/* 折り返すときに1文字だけ次の行に残らないように */
.c-sec-title__main > span {
	text-wrap: balance;
	word-break: auto-phrase;
	overflow-wrap: anywhere; /* 1文節が1行に収まらないときは文節の途中でも折り返す */
}

.c-sec-title__lead {
	margin-top: 10px;
	font-size: 14px;
	line-height: 1.75;
	letter-spacing: .12em;
}

.c-sec-title--left {
	text-align: left;
}

.c-sec-title--left .c-sec-title__main {
	justify-content: flex-start;
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.c-sec-title {
		margin-bottom: 28px;
	}

	.c-sec-title__main {
		gap: 8px;
		font-size: min(5.6vw, 24px); /* 21px @375 */
		letter-spacing: .08em;
	}

	.c-sec-title__icon {
		width: 28px;
	}

	.c-sec-title__lead {
		font-size: 13px;
		text-align: left;
		letter-spacing: .06em;
	}

	.c-sec-title__lead br {
		display: none;
	}
}

/* ===== Tags ===== */
.c-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.c-tags__item {
	display: inline-block;
	padding: 1px 9px;
	font-family: var(--ff-sans);
	font-size: 12px;
	font-weight: 400;
	line-height: 1.8;
	color: #6b5d4f;
	letter-spacing: .06em;
	background: var(--c-beige-mid);
}

.c-tags__item--dark {
	color: var(--c-white);
	background: var(--c-brown-mid);
}

/* ===== Decoration ===== */
.c-deco {
	position: absolute;
	z-index: 0;
	pointer-events: none;
}

.c-deco img {
	width: 100%;
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.c-deco {
		transform: scale(.7);
	}
}

/* ===== Lower page FV ===== */
.p-fv {
	position: relative;
	padding-bottom: clamp(40px, 4.4vw, 64px);
}

.p-fv__photo {
	position: relative;
}

.p-fv__photo::before {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	aspect-ratio: 1440 / 218;
	content: "";
	background: url("../img/common/header-fade.webp") center top / 100% auto no-repeat;
}

.p-fv__photo img {
	width: 100%;
	aspect-ratio: 1440 / 782;
	object-fit: cover;
}

.p-fv__bubble {
	position: absolute;
	top: calc(440 / 1440 * 100vw);
	left: 60.4%;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 6px;
	align-items: center;
	justify-content: center;
	width: 38.6%;
	aspect-ratio: 556 / 435;
	padding: 2% 4% 4%;
	text-align: center;
	background: url("../img/common/fv-cloud-pink.webp") center / contain no-repeat;
}

.p-fv__title {
	font-size: clamp(26px, 2.6vw, 38px);
	font-weight: 500;
	line-height: 1.4;
	letter-spacing: .22em;
}

.p-fv__sub {
	font-size: clamp(13px, 1.2vw, 17px);
	line-height: 1.9;
	letter-spacing: .14em;
}

/* 「プライバシーポリシー」は文字数が多いので、文字間を詰めて1行に収める */
.p-fv--privacy-policy .p-fv__title {
	letter-spacing: .08em;
	white-space: nowrap;
}

.p-fv__tanuki {
	position: absolute;
	top: calc(570 / 1440 * 100vw);
	left: 2.5%;
	z-index: 3;
}

.p-fv__hill {
	position: absolute;
	top: calc(735 / 1440 * 100vw);
	left: 0;
	z-index: 4; /* たぬき（.c-tanuki は z-index 3）より手前：たぬきが草むらの奥にいるように見せる */
	width: 14.9%;
}

.p-fv__hill img {
	width: 100%;
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	/*
	 * FV全体（写真 96u ＋ 吹き出し 64.2u − 重なり 30u ＝ 130.2u ＋ 下の余白）が、
	 * スマホの最初の画面の高さに収まるようにする。--u はふだん 1vw で、画面の高さが足りないときだけ縮める
	 * （横にすき間が出ないよう 0.8vw を下限にする）。下の余白は --fv-pad（たぬき・教室ロゴの分）。
	 */
	.p-fv,
	.p-room-fv {
		--fv-pad: 20px;
		--u: max(min(1vw, (100vh - var(--fv-pad)) / 130.2), .8vw);
		padding-bottom: var(--fv-pad);
	}

	@supports (height: 100svh) {
		.p-fv,
		.p-room-fv {
			--u: max(min(1vw, (100svh - var(--fv-pad)) / 130.2), .8vw); /* アドレスバーが出ている状態の高さに合わせる */
		}
	}

	/* たぬきがいるFVは、たぬきが座る分だけ下をあける */
	.p-fv:has(.p-fv__tanuki) {
		--fv-pad: 64px;
	}

	.p-fv__photo img {
		height: min(calc(96 * var(--u)), 460px);
		aspect-ratio: auto;
		object-position: 35% center;
	}

	.p-fv__photo::before {
		aspect-ratio: 375 / 90;
		background-size: 100% 100%;
	}

	.p-fv__bubble {
		position: relative;
		top: auto;
		left: auto;
		width: min(calc(82 * var(--u)), 380px);
		margin: max(calc(-30 * var(--u)), -150px) auto 0;
		padding: 0 8% 4%;
	}

	.p-fv__title {
		font-size: min(calc(6.4 * var(--u)), 28px);
	}

	.p-fv__sub {
		font-size: max(min(calc(3.5 * var(--u)), 15px), 11px);
	}

	/* 「プライバシーポリシー」はSPでは左右の余白も詰めて1行に収める */
	.p-fv--privacy-policy .p-fv__bubble {
		padding-inline: 4%;
	}

	.p-fv__tanuki {
		top: auto;
		bottom: 0;
		left: 1%;
		flex-direction: row; /* SPはひとことを横に出して、吹き出しの文字と重ならないようにする */
		align-items: flex-start;
		--tanuki-scale: .56;
		--say-size: 12px;
	}

	.p-fv__hill {
		top: auto;
		bottom: 0;
		width: 34%;
	}
}

/* ===== Common text helpers ===== */
.c-entry {
	line-height: 2;
}

.c-entry > * + * {
	margin-top: 1.4em;
}

.c-entry h2 {
	padding-bottom: .4em;
	font-size: 22px;
	border-bottom: 2px dotted var(--c-dot);
}

.c-entry h3 {
	font-size: 19px;
}

.c-entry a {
	color: #c56b7f;
	text-decoration: underline;
}

.c-entry ul {
	padding-left: 1.4em;
	list-style: disc;
}

.c-entry ol {
	padding-left: 1.4em;
	list-style: decimal;
}

.c-entry img {
	border-radius: 12px;
}

/* ===== Form ===== */
.c-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* 注意書き・送信ボタンだけ広げても、入力欄はフォームの幅に収める */
	gap: 22px;
	font-family: var(--ff-sans);
	font-weight: 400;
}

.c-form__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr); /* 入力欄の既定の幅（size属性）で列が広がらないように */
	gap: 8px;
}

.c-form__label {
	display: flex;
	gap: 8px;
	align-items: center;
	font-family: var(--ff-maru);
	font-size: 14px;
	font-weight: 500;
}

.c-form__req {
	display: inline-block;
	padding: 0 12px;
	font-size: 11px;
	line-height: 22px;
	color: var(--c-white);
	background: var(--c-pink);
	border-radius: 999px;
}

.c-form__field {
	position: relative;
}

.c-form input[type="text"],
.c-form input[type="tel"],
.c-form input[type="email"],
.c-form select,
.c-form textarea {
	width: 100%;
	min-height: 44px;
	padding: 8px 14px;
	font-size: 16px;
	background: var(--c-white);
	border: 1px solid #ddd6cb;
	border-radius: 4px;
	transition: border-color .3s, box-shadow .3s;
}

.c-form textarea {
	min-height: 156px;
	resize: vertical;
}

.c-form ::placeholder {
	color: #b3aaa0;
}

.c-form input:focus,
.c-form select:focus,
.c-form textarea:focus {
	border-color: var(--c-pink);
	outline: none;
	box-shadow: 0 0 0 3px rgb(221 143 159 / .25);
}

.c-form__select {
	position: relative;
}

.c-form__select::after {
	position: absolute;
	top: 50%;
	right: 16px;
	width: 0;
	height: 0;
	pointer-events: none;
	content: "";
	border-top: 10px solid var(--c-text);
	border-right: 7px solid transparent;
	border-left: 7px solid transparent;
	transform: translateY(-50%);
}

.c-form select {
	appearance: none;
	padding-right: 40px;
	cursor: pointer;
}

.c-form__kinds {
	position: absolute;
	top: 12px;
	left: calc(100% + 10px);
	width: max-content;
	font-family: var(--ff-maru);
	font-size: 14px;
	line-height: 1.8;
}

.c-form__kinds li {
	padding-left: 1.6em;
	text-indent: -1.6em;
}

.c-form__kinds li::before {
	margin-right: .6em;
	content: "・";
}

.c-form__note {
	margin-top: 10px;
	font-family: var(--ff-maru);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.6;
	text-align: center;
}

.c-form__note a {
	text-decoration: underline;
}

.c-form__submit {
	display: grid;
	gap: 6px;
	justify-items: center;
}

.c-form__submit button,
.c-form input[type="submit"] {
	min-width: 258px;
	min-height: 54px;
	font-family: var(--ff-maru);
	font-size: 15px;
	letter-spacing: .12em;
	background: var(--c-pink-light);
	border: 0;
	border-radius: 999px;
	transition: background-color .3s;
}

.c-form__submit button:disabled {
	cursor: not-allowed;
	opacity: .8;
}

.c-form__dummy {
	font-size: 12px;
	color: var(--c-text-sub);
}

@media (hover: hover) {
	.c-form__submit button:not(:disabled):hover,
	.c-form input[type="submit"]:hover {
		background: var(--c-pink);
	}
}

/* 応募フォーム：ラベルを左に置く */
.c-form--recruit .c-form__row {
	grid-template-columns: 180px 500px;
	gap: 20px;
	justify-content: center;
}

.c-form--recruit .c-form__label {
	justify-content: flex-end;
	min-height: 44px;
	align-self: start;
}

@media (max-width: 1199px) {
	.c-form__kinds {
		position: static;
		width: auto;
		margin-top: 8px;
		font-size: 13px;
	}
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.c-form {
		gap: 18px;
	}

	.c-form--recruit .c-form__row {
		grid-template-columns: minmax(0, 1fr);
		gap: 8px;
	}

	.c-form--recruit .c-form__label {
		justify-content: flex-start;
		min-height: 0;
	}

	.c-form__note {
		font-size: 12px;
		text-align: left;
	}

	.c-form__note br {
		display: none;
	}
}

/* --- Contact Form 7（<form> に c-form が付く。エラー・送信結果・送信中の表示） --- */
.c-form .wpcf7-form-control-wrap {
	display: block;
}

.c-form .wpcf7-not-valid {
	border-color: #d9534f;
}

.c-form .wpcf7-not-valid-tip {
	margin-top: 4px;
	font-size: 13px;
	color: #d9534f;
}

.c-form .wpcf7-spinner {
	display: block;
	margin: 10px auto 0;
}

.c-form .wpcf7-response-output {
	margin: 0;
	padding: 12px 16px;
	font-size: 14px;
	line-height: 1.7;
	text-align: center;
	background: var(--c-white);
	border: 1px solid var(--c-pink);
	border-radius: 6px;
}

.c-form.invalid .wpcf7-response-output,
.c-form.unaccepted .wpcf7-response-output,
.c-form.failed .wpcf7-response-output {
	border-color: #d9534f;
}

.c-form .screen-reader-response {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

/* ===== News card (共通) ===== */
.c-news-card__link {
	display: block;
}

.c-news-card__thumb {
	overflow: hidden;
	aspect-ratio: 352 / 234;
	background: #e2dbd2;
}

.c-news-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s var(--ease);
}

.c-news-card__noimage {
	display: grid;
	place-content: center;
	height: 100%;
	font-family: serif;
	font-size: 11px;
	line-height: 1.8;
	color: #a99f93;
	text-align: center;
	letter-spacing: .2em;
}

.c-news-card__meta {
	display: flex;
	gap: 14px;
	align-items: center;
	margin-top: 16px;
	font-family: var(--ff-sans);
	font-size: 13px;
	font-weight: 400;
	color: var(--c-text-sub);
}

.c-news-card__cat {
	padding-left: 14px;
	font-family: var(--ff-maru);
	border-left: 1px solid currentcolor;
	line-height: 1.2;
}

.c-news-card__title {
	margin-top: 10px;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.8;
}

@media (hover: hover) {
	.c-news-card__link:hover .c-news-card__thumb img {
		transform: scale(1.05);
	}

	.c-news-card__link:hover .c-news-card__title {
		color: #c56b7f;
	}
}

/* ===== Pagination ===== */
.c-pagination {
	margin-top: 64px;
}

.c-pagination .nav-links {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.c-pagination .page-numbers {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	font-family: var(--ff-sans);
	font-size: 20px;
	font-weight: 400;
	background: var(--c-white);
	border: 1px solid var(--c-line);
	border-radius: 50%;
	transition: background-color .3s;
}

.c-pagination .page-numbers.current {
	color: var(--c-white);
	background: #aaa196;
	border-color: #aaa196;
}

.c-pagination .page-numbers.dots {
	background: none;
	border: 0;
}

@media (hover: hover) {
	.c-pagination a.page-numbers:hover {
		background: var(--c-beige);
	}
}

/* ===== CTA（フッター前の導線） ===== */
.p-cta {
	position: relative;
	margin-top: 100px;
}

.p-cta__blog {
	position: relative;
	z-index: 1;
	aspect-ratio: 1440 / 495;
	background: url("../img/common/cta-blog.webp") center / 100% auto no-repeat;
}

.p-cta__blog-inner {
	display: grid;
	grid-template-columns: 50% 50%;
	align-items: center;
	height: 100%;
}

.p-cta__blog-body {
	padding: 4% 0 4% 23%;
}

.p-cta__title {
	display: flex;
	gap: 12px;
	align-items: center;
	font-size: clamp(18px, 1.6vw, 22px);
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: .14em;
}

.p-cta__title img {
	flex-shrink: 0;
	width: 34px;
}

.p-cta__text {
	margin: 22px 0 32px;
	font-size: 14px;
	line-height: 1.35;
	letter-spacing: .1em;
}

.p-cta__blog-photo {
	position: relative;
	align-self: start;
	height: 100%;
}

.p-cta__blog-say {
	position: absolute;
	top: 27%; /* カンプ：2本の線のあいだ */
	left: 59%;
	font-size: clamp(14px, 1.2vw, 17px);
	letter-spacing: .2em;
	transform: rotate(22deg);
}

.p-cta__tanuki-ganbaro {
	position: absolute;
	top: calc(19% - 180px); /* 足元（たぬきの高さ約180px）がバナーの上から19%＝緑の背景にかかる位置。画面幅が変わっても足元の位置をそろえる */
	right: 5.5%;
	z-index: 2;
}

.p-cta__links {
	position: relative;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin-top: -10px;
	padding: 0 calc(50% - 720px);
}

.p-cta__link {
	position: relative;
	display: grid;
	align-items: center;
	aspect-ratio: 720 / 370;
	background: center / 100% auto no-repeat;
}

.p-cta__link--recruit {
	background-image: url("../img/common/cta-recruit.webp");
}

.p-cta__link--contact {
	background-image: url("../img/common/cta-contact.webp");
}

.p-cta__link-body {
	position: relative;
	z-index: 1;
	padding-bottom: 3%;
}

.p-cta__link--recruit .p-cta__link-body {
	padding-left: 32%;
}

.p-cta__link--contact .p-cta__link-body {
	padding-left: 19.5%;
}

.p-cta__link .p-cta__text {
	margin: 18px 0 30px;
}

.p-cta__link .c-btn {
	margin-left: 4%;
}

.p-cta__link--contact .c-btn {
	margin-left: -1%;
}

.p-cta__tanuki-love {
	position: absolute;
	bottom: 15%;
	left: 4.6%;
	z-index: 2;
}

.p-cta__flowers {
	position: absolute;
	bottom: 2%;
	left: 50%;
	z-index: 2;
	width: 119px;
	transform: translateX(-50%);
}

.p-cta--none {
	margin-top: 40px;
}

.p-cta__ground {
	position: relative;
	height: 180px;
}

.p-cta--none .p-cta__tanuki-love {
	bottom: -6px;
}

.p-cta--none .p-cta__flowers {
	bottom: -14px;
}

@media (max-width: 767px), (orientation: portrait) and (max-width: 1023px) {
	.p-cta {
		margin-top: 80px;
	}

	.p-cta__blog {
		aspect-ratio: auto;
		padding: 60px 20px 50px;
		background:
			radial-gradient(ellipse 120% 92% at 50% 52%, #fffdf4 0 60%, transparent 61%),
			var(--c-mint);
		border-radius: 40% 40% 0 0 / 6% 6% 0 0;
	}

	.p-cta__blog-inner {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.p-cta__blog-body {
		display: grid;
		justify-items: center;
		padding: 0;
		text-align: center;
	}

	.p-cta__title {
		justify-content: center;
		font-size: min(5vw, 20px);
	}

	.p-cta__text {
		margin: 16px 0 24px;
		font-size: 13px;
		line-height: 1.8;
	}

	.p-cta__blog-photo {
		order: -1;
		width: min(84vw, 400px);
		margin-inline: auto;
	}

	.p-cta__blog-photo img {
		width: 100%; /* 雲形の枠は画像に含まれる */
	}

	.p-cta__blog-say {
		top: 13%;
		left: 81%; /* 写真右上のオレンジの線2本のあいだ */
		font-size: 13px;
		letter-spacing: .12em;
		white-space: nowrap;
		transform: translate(-50%, -50%) rotate(22deg);
	}

	.p-cta__tanuki-ganbaro {
		top: -128px;
		right: 0;
		--tanuki-scale: .6;
	}

	/* SP：黄色・ピンクの枠を縦に並べ、いちばん下に丘（たぬき・草花・お家）を敷く */
	.p-cta__links {
		grid-template-columns: 1fr;
		gap: 8px;
		padding: 20px 16px 130px;
		margin-top: 0;
		background: url("../img/common/cta-ground-sp.webp") center bottom / 100% auto no-repeat;
	}

	.p-cta__link {
		aspect-ratio: auto;
		padding: 44px 28px;
		text-align: center;
		background-position: center;
		background-size: 100% 100%;
	}

	.p-cta__link--recruit {
		position: static; /* たぬきを .p-cta__links の左下（丘の上）に置くため */
		background-image: url("../img/common/cta-recruit-sp.webp");
	}

	.p-cta__link--contact {
		background-image: url("../img/common/cta-contact-sp.webp");
	}

	.p-cta__link .p-cta__link-body {
		display: grid;
		justify-items: center;
		padding: 0;
	}

	.p-cta__link .p-cta__text {
		margin: 14px 0 22px;
	}

	.p-cta__link .c-btn {
		margin: 0;
	}

	.p-cta__tanuki-love {
		bottom: min(4.6vw, 22px);
		left: 6%;
		--tanuki-scale: .55;
	}

	.p-cta--none .p-cta__tanuki-love {
		top: auto;
		bottom: 0;
	}

	.p-cta__flowers {
		bottom: 0;
		width: 70px;
	}

	.p-cta__ground {
		height: 130px;
	}
}

/* ===== Tanuki（表情に合わせたアニメーション） =====
 * .c-tanuki は各ページのクラスで position（absolute）と位置を指定する。
 * 画面に入ると main.js が is-active を付け、その表情の動きをくり返す（画面外では止める）。
 * マウスを乗せる／タップすると is-poke が付き、大きめのリアクションを1回する。
 * 大きさは --tanuki-scale（SPで縮めるときに使う）。
 */
.c-tanuki {
	position: absolute;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: max-content;
	pointer-events: auto;
	cursor: pointer;
	transform: scale(var(--tanuki-scale, 1)); /* 初期値は1。各所の --tanuki-scale で縮める（ここで1を代入すると、先に書いた指定が負けるため fallback にしている） */
	transform-origin: center bottom;
	-webkit-tap-highlight-color: transparent;
}

.c-tanuki__say {
	margin-bottom: 4px;
	/* たぬきごと縮めても、ひとことは読める大きさを保つ（--say-size が実際の表示サイズ） */
	font-size: calc(var(--say-size, 14px) / var(--tanuki-scale, 1));
	line-height: 1.5;
	text-align: center;
	letter-spacing: .14em;
	white-space: nowrap;
}

.c-tanuki--say-left {
	flex-direction: row-reverse;
	align-items: flex-start;
}

.c-tanuki--say-right {
	flex-direction: row;
	align-items: flex-start;
}

.c-tanuki__body {
	position: relative;
	transform-origin: center bottom;
}

.c-tanuki__back {
	position: absolute;
	bottom: -10px;
	left: 50%;
	z-index: -1;
	width: 161px;
	transform: translateX(-50%);
}

.c-tanuki__motion {
	display: block;
	transform-origin: center bottom;
}

.c-tanuki__img {
	display: block;
	max-width: none;
	pointer-events: none;
	user-select: none;
	-webkit-user-drag: none;
}

/* 吹き出しの文字：画面に入ったとき、ぽんっと一度だけ弾む */
.c-tanuki.is-active .c-tanuki__say {
	animation: tanuki-say .6s var(--ease) both;
}

@keyframes tanuki-say {
	0% {
		transform: scale(.6);
	}

	60% {
		transform: scale(1.12);
	}

	100% {
		transform: scale(1);
	}
}

/* 表情ごとのおまけ（ハート・Z・キラッ・涙・音符・スピード線・怒りマーク）は ::after で描く */
.c-tanuki__body::after {
	position: absolute;
	pointer-events: none;
	opacity: 0;
	content: none;
}

/* --- 動き（くり返し） --- */
.c-tanuki.is-active .c-tanuki__motion {
	animation-timing-function: ease-in-out;
	animation-iteration-count: infinite;
}

/* wave：手を振る＝体ごとふりふり */
.c-tanuki--wave.is-active .c-tanuki__motion {
	animation-name: t-wave;
	animation-duration: 3.2s;
}

@keyframes t-wave {
	0%, 50%, 100% {
		transform: rotate(0);
	}

	10%, 30% {
		transform: rotate(-7deg);
	}

	20%, 40% {
		transform: rotate(6deg);
	}
}

/* march：ずんずん前進して戻る */
.c-tanuki--march.is-active .c-tanuki__motion {
	animation-name: t-march;
	animation-duration: 4s;
}

@keyframes t-march {
	0%, 100% {
		transform: translate(0, 0);
	}

	8%, 24%, 40% {
		transform: translate(var(--march-x, 6px), -6px) rotate(-2deg);
	}

	16%, 32% {
		transform: translate(calc(var(--march-x, 6px) * 2), 0);
	}

	48% {
		transform: translate(calc(var(--march-x, 6px) * 3), 0);
	}

	70% {
		transform: translate(calc(var(--march-x, 6px) * 3), 0) rotate(2deg);
	}
}

.c-tanuki--march {
	--march-x: -6px;
}

/* doya：胸を張って反り返る＋キラッ */
.c-tanuki--doya.is-active .c-tanuki__motion {
	animation-name: t-doya;
	animation-duration: 3.6s;
}

@keyframes t-doya {
	0%, 60%, 100% {
		transform: scale(1, 1) rotate(0);
	}

	15% {
		transform: scale(1.04, .94);
	}

	30%, 45% {
		transform: scale(.98, 1.08) rotate(-4deg);
	}
}

/* dash：小刻みに跳ねて前のめり＋スピード線 */
.c-tanuki--dash.is-active .c-tanuki__motion {
	animation-name: t-dash;
	animation-duration: .5s;
	animation-timing-function: ease-out;
}

@keyframes t-dash {
	0%, 100% {
		transform: translateY(0) rotate(4deg);
	}

	50% {
		transform: translateY(-7px) rotate(7deg);
	}
}

/* cheer：ぴょんぴょん2回ジャンプ */
.c-tanuki--cheer.is-active .c-tanuki__motion {
	animation-name: t-cheer;
	animation-duration: 2.8s;
}

@keyframes t-cheer {
	0%, 40%, 100% {
		transform: translateY(0) scale(1, 1);
	}

	4%, 22% {
		transform: translateY(0) scale(1.06, .92);
	}

	12%, 30% {
		transform: translateY(-16px) scale(.96, 1.06);
	}
}

/* heart：ドキドキ2回脈打つ＋ハートが浮かぶ */
.c-tanuki--heart.is-active .c-tanuki__motion {
	animation-name: t-heart;
	animation-duration: 2.4s;
}

@keyframes t-heart {
	0%, 40%, 100% {
		transform: scale(1);
	}

	8%, 24% {
		transform: scale(1.06);
	}

	16% {
		transform: scale(.98);
	}
}

/* tilt：首をかしげる（考えごと） */
.c-tanuki--tilt.is-active .c-tanuki__motion {
	animation-name: t-tilt;
	animation-duration: 4s;
	transform-origin: 50% 70%;
}

@keyframes t-tilt {
	0%, 15%, 85%, 100% {
		transform: rotate(0);
	}

	30%, 70% {
		transform: rotate(-11deg);
	}
}

/* hop：○の札を掲げて小さく跳ねる */
.c-tanuki--hop.is-active .c-tanuki__motion {
	animation-name: t-hop;
	animation-duration: 2.6s;
}

@keyframes t-hop {
	0%, 30%, 100% {
		transform: translateY(0);
	}

	10% {
		transform: translateY(-8px) rotate(-3deg);
	}

	20% {
		transform: translateY(0) scale(1.03, .97);
	}
}

/* cry：ひっくひっくと震える＋涙 */
.c-tanuki--cry.is-active .c-tanuki__motion {
	animation-name: t-cry;
	animation-duration: 2s;
}

@keyframes t-cry {
	0%, 40%, 100% {
		transform: translateX(0) scale(1, 1);
	}

	5%, 15%, 25% {
		transform: translateX(-1.5px) scale(1.02, .97);
	}

	10%, 20%, 30% {
		transform: translateX(1.5px) scale(.99, 1.02);
	}
}

/* skip：ルンルン左右に揺れながらスキップ */
.c-tanuki--skip.is-active .c-tanuki__motion {
	animation-name: t-skip;
	animation-duration: 1.4s;
}

@keyframes t-skip {
	0%, 100% {
		transform: translateY(0) rotate(-5deg);
	}

	25% {
		transform: translateY(-9px) rotate(0);
	}

	50% {
		transform: translateY(0) rotate(5deg);
	}

	75% {
		transform: translateY(-9px) rotate(0);
	}
}

/* sway：にっこり、ゆったり揺れる */
.c-tanuki--sway.is-active .c-tanuki__motion {
	animation-name: t-sway;
	animation-duration: 3.4s;
}

@keyframes t-sway {
	0%, 100% {
		transform: rotate(-3deg);
	}

	50% {
		transform: rotate(3deg);
	}
}

/* cool：サングラスでノリノリ（リズムに乗る） */
.c-tanuki--cool.is-active .c-tanuki__motion {
	animation-name: t-cool;
	animation-duration: 1.2s;
}

@keyframes t-cool {
	0%, 50%, 100% {
		transform: translateY(0) rotate(0);
	}

	25% {
		transform: translateY(-4px) rotate(-3deg);
	}

	75% {
		transform: translateY(-4px) rotate(3deg);
	}
}

/* munch：もぐもぐ */
.c-tanuki--munch.is-active .c-tanuki__motion {
	animation-name: t-munch;
	animation-duration: 2.4s;
}

@keyframes t-munch {
	0%, 50%, 100% {
		transform: scale(1, 1);
	}

	6%, 18%, 30% {
		transform: scale(1.03, .96);
	}

	12%, 24%, 36% {
		transform: scale(1, 1);
	}
}

/* sleep：すやすや寝息＋Z */
.c-tanuki--sleep.is-active .c-tanuki__motion {
	animation-name: t-sleep;
	animation-duration: 3.6s;
}

@keyframes t-sleep {
	0%, 100% {
		transform: scale(1, 1);
	}

	50% {
		transform: scale(1.03, 1.05);
	}
}

/* roll：笑い転げてごろんごろん */
.c-tanuki--roll.is-active .c-tanuki__motion {
	animation-name: t-roll;
	animation-duration: 2.2s;
	transform-origin: 50% 60%;
}

@keyframes t-roll {
	0%, 60%, 100% {
		transform: rotate(0);
	}

	15% {
		transform: rotate(-12deg);
	}

	30% {
		transform: rotate(10deg);
	}

	45% {
		transform: rotate(-6deg);
	}
}

/* angry：ぷんぷん地団駄 */
.c-tanuki--angry.is-active .c-tanuki__motion {
	animation-name: t-angry;
	animation-duration: 2.4s;
}

@keyframes t-angry {
	0%, 40%, 100% {
		transform: translate(0, 0);
	}

	5%, 15%, 25% {
		transform: translate(-2px, -5px) rotate(-3deg);
	}

	10%, 20%, 30% {
		transform: translate(2px, 0) rotate(3deg);
	}
}

/* pose：くるっと振り向いてキメる */
.c-tanuki--pose.is-active .c-tanuki__motion {
	animation-name: t-pose;
	animation-duration: 4.5s;
}

@keyframes t-pose {
	0%, 100% {
		transform: scaleX(1) rotate(0);
	}

	10% {
		transform: scaleX(-1) rotate(0);
	}

	20%, 40% {
		transform: scaleX(-1) rotate(-5deg);
	}

	50% {
		transform: scaleX(1) rotate(0);
	}
}

/* --- おまけ（::after） --- */
.c-tanuki--heart .c-tanuki__body::after {
	top: -4px;
	right: -4px;
	font-size: 20px;
	color: #e8576b;
	content: "♥";
}

.c-tanuki--heart.is-active .c-tanuki__body::after {
	animation: t-float 2.4s ease-out infinite;
}

.c-tanuki--sleep .c-tanuki__body::after {
	top: -6px;
	right: 0;
	font-family: var(--ff-sans);
	font-size: 18px;
	font-weight: 700;
	color: #8aa7d8;
	content: "Z";
}

.c-tanuki--sleep.is-active .c-tanuki__body::after {
	animation: t-float 3.6s ease-out infinite;
}

.c-tanuki--doya .c-tanuki__body::after,
.c-tanuki--cool .c-tanuki__body::after {
	top: 6%;
	right: -6px;
	font-size: 18px;
	color: #f5c400;
	content: "✦";
}

.c-tanuki--doya.is-active .c-tanuki__body::after,
.c-tanuki--cool.is-active .c-tanuki__body::after {
	animation: t-twinkle 1.8s ease-in-out infinite;
}

.c-tanuki--skip .c-tanuki__body::after {
	top: -10px;
	right: -14px;
	font-size: 18px;
	color: #e08aa0;
	content: "♪";
}

.c-tanuki--skip.is-active .c-tanuki__body::after {
	animation: t-float 1.4s ease-out infinite;
}

.c-tanuki--cry .c-tanuki__body::after {
	top: 40%;
	left: 34%;
	width: 6px;
	height: 9px;
	content: "";
	background: #8cc6ee;
	border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.c-tanuki--cry.is-active .c-tanuki__body::after {
	animation: t-tear 2s ease-in infinite;
}

.c-tanuki--angry .c-tanuki__body::after {
	top: 2px;
	right: 4px;
	font-size: 18px;
	font-weight: 700;
	color: #e2453c;
	font-family: var(--ff-sans);
	content: "#";
}

.c-tanuki--angry.is-active .c-tanuki__body::after {
	animation: t-twinkle 1.2s steps(2) infinite;
}

.c-tanuki--dash .c-tanuki__body::after {
	top: 40%;
	right: -26px;
	width: 22px;
	height: 14px;
	content: "";
	background:
		linear-gradient(#9fb6cf, #9fb6cf) 0 0 / 100% 2px no-repeat,
		linear-gradient(#9fb6cf, #9fb6cf) 6px 6px / 16px 2px no-repeat,
		linear-gradient(#9fb6cf, #9fb6cf) 0 12px / 100% 2px no-repeat;
}

.c-tanuki--dash.is-active .c-tanuki__body::after {
	animation: t-lines .5s linear infinite;
}

@keyframes t-float {
	0% {
		opacity: 0;
		transform: translate(0, 6px) scale(.6);
	}

	20% {
		opacity: 1;
	}

	70% {
		opacity: 1;
		transform: translate(6px, -14px) scale(1);
	}

	100% {
		opacity: 0;
		transform: translate(10px, -22px) scale(1);
	}
}

@keyframes t-twinkle {
	0%, 100% {
		opacity: 0;
		transform: scale(.4) rotate(0);
	}

	50% {
		opacity: 1;
		transform: scale(1.1) rotate(45deg);
	}
}

@keyframes t-tear {
	0%, 30% {
		opacity: 0;
		transform: translateY(0);
	}

	40% {
		opacity: 1;
	}

	80% {
		opacity: 1;
		transform: translateY(16px);
	}

	100% {
		opacity: 0;
		transform: translateY(22px);
	}
}

@keyframes t-lines {
	0% {
		opacity: 0;
		transform: translateX(-6px);
	}

	50% {
		opacity: 1;
	}

	100% {
		opacity: 0;
		transform: translateX(10px);
	}
}

/* --- つつかれたときのリアクション（1回） --- */
.c-tanuki.is-poke .c-tanuki__body {
	animation: t-poke-jump .8s var(--ease);
}

.c-tanuki--cry.is-poke .c-tanuki__body,
.c-tanuki--angry.is-poke .c-tanuki__body,
.c-tanuki--roll.is-poke .c-tanuki__body {
	animation: t-poke-shake .7s ease-in-out;
}

.c-tanuki--sleep.is-poke .c-tanuki__body,
.c-tanuki--tilt.is-poke .c-tanuki__body,
.c-tanuki--munch.is-poke .c-tanuki__body {
	animation: t-poke-startle .8s var(--ease);
}

.c-tanuki--doya.is-poke .c-tanuki__body,
.c-tanuki--cool.is-poke .c-tanuki__body,
.c-tanuki--pose.is-poke .c-tanuki__body,
.c-tanuki--skip.is-poke .c-tanuki__body {
	animation: t-poke-spin .9s var(--ease);
}

.c-tanuki--heart.is-poke .c-tanuki__body {
	animation: t-poke-love .9s var(--ease);
}

@keyframes t-poke-jump {
	0%, 100% {
		transform: translateY(0) scale(1, 1);
	}

	15% {
		transform: translateY(0) scale(1.1, .88);
	}

	45% {
		transform: translateY(-26px) scale(.94, 1.08);
	}

	75% {
		transform: translateY(0) scale(1.06, .94);
	}
}

@keyframes t-poke-shake {
	0%, 100% {
		transform: translateX(0) rotate(0);
	}

	15%, 45%, 75% {
		transform: translateX(-5px) rotate(-6deg);
	}

	30%, 60%, 90% {
		transform: translateX(5px) rotate(6deg);
	}
}

@keyframes t-poke-startle {
	0%, 100% {
		transform: translateY(0) scale(1);
	}

	20% {
		transform: translateY(-14px) scale(1.08);
	}

	40% {
		transform: translateY(0) scale(.96);
	}

	60% {
		transform: translateY(-4px) scale(1.02);
	}
}

@keyframes t-poke-spin {
	0% {
		transform: rotateY(0) translateY(0);
	}

	50% {
		transform: rotateY(180deg) translateY(-16px);
	}

	100% {
		transform: rotateY(360deg) translateY(0);
	}
}

@keyframes t-poke-love {
	0%, 100% {
		transform: scale(1);
	}

	20%, 60% {
		transform: scale(1.14);
	}

	40%, 80% {
		transform: scale(.96);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}

	.c-tanuki__body::after {
		display: none;
	}
}

/* ===== Landscape (low height) ===== */
@media (orientation: landscape) and (max-height: 520px) {
	.l-header.is-fixed .l-header__inner {
		height: 70px;
	}
}
