@charset "UTF-8";
/*
 * トップページ専用。is_front_page() のときだけ読み込む。
 *
 * 数値は現行サイト（PC 1631px）の実測に合わせている。
 *   縦書き6行 … Noto Serif JP / 21px / 白 / 字間15px、右から左へ 約65px間隔
 *   キャッチ  … Noto Sans JP / 23px / 700 / #413C1B / 字間15px
 *   ロゴ      … 幅130px 前後、y=210 付近
 */

/* ==================================================
 * 最上部（hero）
 * ================================================== */

.kakoi-hero {
	position: relative;
	min-height: 100svh;
	overflow: visible;
}

/*
 * 背景は常に画面幅いっぱいに広げ、素材の比率は変えない（切り抜かない）。
 * 高さは静止画の縦横比から決まるので、aspect-ratio を数値で固定しない。
 * こうしておくと、あとから比率の違う動画に差し替えても崩れない。
 * 現行サイトも同じ扱い（1440pxで幅1440・高さ810・object-fit:contain）。
 */
.kakoi-hero__media {
	position: fixed;
	left: 0;
	top: 0;
	z-index: 0;
	width: 100%;
	background: #000;
}

/* 静止画がこの枠の高さを決める。 */
.kakoi-hero__poster {
	display: block;
	width: 100%;
}

.kakoi-hero__poster img {
	display: block; /* inline のままだと行の下に数pxの隙間ができる */
	width: 100%;
	height: auto;
}

/* 動画は静止画にぴたりと重ねる。同じ素材なので比率は一致する。 */
.kakoi-hero__video {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 100%;
	height: auto;
	opacity: 0;
	transition: opacity 0.6s ease;
}

/* 実際に再生が始まってから動画を見せる（読込中の黒画面を出さない） */
.kakoi-hero.is-playing .kakoi-hero__video {
	opacity: 1;
}

/* ---------- 内側のレイアウト ---------- */

.kakoi-hero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 24px;
	max-width: none;
	min-height: 100svh;
	margin-inline: auto;
	padding: 126px 20px 40px;
}

/* ---------- 左：縦書きコピー ---------- */
/* 右から左へ読む。各行を独立した列にする。 */

.kakoi-hero__lines {
	display: flex;
	flex-direction: row-reverse;
	gap: 40px;
}

.kakoi-hero__line {
	writing-mode: vertical-rl;
	font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
	font-size: 21px;
	font-weight: 400;
	line-height: 1.18;
	letter-spacing: 15px;
	color: #fff;
	/* 白背景・明るい映像でも読めるように、ごく薄い影を敷く */
	text-shadow: 0 0 6px rgba(0, 0, 0, 0.35);
}

/* ---------- 右：ロゴ・キャッチ・SNS・Scroll ---------- */

.kakoi-hero__brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	padding-top: 84px; /* 現行のロゴ位置（y=210）に合わせる */
}

.kakoi-hero__logo img,
.kakoi-hero__logo .custom-logo {
	display: block;
	width: auto;
	max-width: 130px;
	height: auto;
}

.kakoi-hero__title {
	writing-mode: vertical-rl;
	margin: 0;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	font-size: 23px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 15px;
	color: var(--wp--preset--color--contrast, #413c1b);
}

.kakoi-hero__foot {
	display: flex;
	align-items: flex-end;
	gap: 28px;
}

.kakoi-hero__social {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.kakoi-hero__social a {
	display: block;
	color: var(--wp--preset--color--secondary, #433c03);
	line-height: 0;
}

.kakoi-hero__social a:hover,
.kakoi-hero__social a:focus-visible {
	opacity: 0.7;
}

/* ---------- Scroll ---------- */

.kakoi-hero__scroll {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: var(--wp--preset--color--contrast, #413c1b);
}

.kakoi-hero__scroll-line {
	position: relative;
	display: block;
	width: 1px;
	height: 60px;
	background: currentColor;
}

/* 線の上を小さな点が下りていく。動きを減らす設定では止める。 */
.kakoi-hero__scroll-line::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 0;
	width: 6px;
	height: 6px;
	margin-left: -3px;
	border-radius: 50%;
	background: currentColor;
	animation: kakoi-scroll-dot 2.2s ease-in-out infinite;
}

@keyframes kakoi-scroll-dot {
	0%   { top: 0; opacity: 0; }
	20%  { opacity: 1; }
	80%  { opacity: 1; }
	100% { top: 54px; opacity: 0; }
}

.kakoi-hero__scroll-label {
	writing-mode: vertical-rl;
	font-size: 12px;
	letter-spacing: 2px;
}

/* ---------- 再生ボタン ---------- */

.kakoi-hero__play {
	position: absolute;
	right: 16px;
	bottom: 16px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border: 1px solid rgba(65, 60, 27, 0.4);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.8);
	color: var(--wp--preset--color--contrast, #413c1b);
	font: inherit;
	font-size: 0.8125rem;
	cursor: pointer;
}

.kakoi-hero__play:hover,
.kakoi-hero__play:focus-visible {
	background: #fff;
}

.kakoi-hero__play-icon {
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0 5px 9px;
	border-color: transparent transparent transparent currentColor;
}

/* PCのロゴ・キャッチは半透明白欄の濃茶色。画像反転と暗幕は使わない。 */
.kakoi-hero__logo img,
.kakoi-hero__logo .custom-logo { filter: none; opacity: 1; }

/* ---------- スマホ ---------- */

/*
 * 1200px以下は背景を通常の流れに置く。
 * こうすると最上部の高さが「背景の高さ」と「文字の高さ」の大きいほうになり、
 * 画面より背景が短くても下に白い帯が出ず、文字が長くても切れない。
 * PCのように position:fixed で貼りつけると、幅基準にした背景の下が白く空いてしまう。
 */
@media (max-width: 1200px) {
	.kakoi-hero {
		display: grid;
		min-height: 0;
		overflow: hidden;
		background: #fff;
	}

	/* 背景と中身を同じマスに入れて重ねる。 */
	.kakoi-hero__media,
	.kakoi-hero__inner {
		grid-area: 1 / 1;
	}

	.kakoi-hero__media {
		position: relative;
		width: 100%;
		/*
		 * マス目いっぱいに伸ばさない。伸ばすと画像の下に枠の黒地が出てしまう。
		 * 画像より文字のほうが長いときは、あふれた分が最上部の白地に乗る。
		 */
		align-self: start;
	}

	.kakoi-hero__inner {
		min-height: 0;
	}
}

/*
 * 768〜1200pxはPC用の横長素材を幅に合わせるため、画面の高さに対して背景が足りない。
 * 写真の下端をぼかして白へつなぎ、切れ目が横線として出ないようにする。
 * 767px以下は縦長素材なので足りており、ここは効かせない。
 */
@media (min-width: 768px) and (max-width: 1200px) {
	.kakoi-hero__media::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: 0;
		height: 160px;
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
		pointer-events: none;
	}
}

@media (max-width: 767px) {
	.kakoi-hero__title,
	.kakoi-hero__scroll,
	.kakoi-hero__social a {
		color: #fff;
		text-shadow: 0 0 8px rgba(0, 0, 0, 0.45);
	}

	.kakoi-hero__scroll-line,
	.kakoi-hero__scroll-line::after { background: #fff; }

	.kakoi-hero__logo img,
	.kakoi-hero__logo .custom-logo {
		filter: brightness(0) invert(1);
		opacity: 0.95;
	}

	.kakoi-hero__media::after {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;
		background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent 28%), linear-gradient(to left, rgba(0, 0, 0, 0.3), transparent 34%);
		pointer-events: none;
	}

	.kakoi-hero__inner {
		padding: 88px 16px 32px;
		gap: 12px;
	}

	.kakoi-hero__lines {
		gap: 22px;
	}

	.kakoi-hero__line {
		font-size: 15px;
		letter-spacing: 9px;
	}

	.kakoi-hero__brand {
		gap: 24px;
		padding-top: 40px;
	}

	.kakoi-hero__logo img,
	.kakoi-hero__logo .custom-logo {
		max-width: 96px;
	}

	.kakoi-hero__title {
		font-size: 17px;
		letter-spacing: 9px;
	}

	.kakoi-hero__foot {
		gap: 16px;
	}

	.kakoi-hero__scroll-line {
		height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.kakoi-hero__video {
		transition: none;
	}
	.kakoi-hero__scroll-line::after {
		animation: none;
		top: 0;
	}
}

/* ==================================================
 * 料金セクションの利用時間表示
 * もとは画像（濃緑の帯に白抜き文字）だったものをテキストで再現する。
 * 背景色は原本画像の実測値 #433C03 = theme.json の secondary と一致。
 * ================================================== */

.kakoi-time {
	background-color: var(--wp--preset--color--secondary, #433c03);
	color: #fff;
	font-weight: 700;
	font-size: clamp(1.125rem, 4.2vw, 2.25rem);
	letter-spacing: 0.06em;
	text-align: center;
	line-height: 1.4;
	padding: 0.5em 0.75em;
	margin-block: 1.5em;
}

/* ==================================================
 * セクション共通
 * ================================================== */

.kakoi-concept,
.kakoi-gallery,
.kakoi-price,
.kakoi-facilities,
.kakoi-reservation,
.kakoi-userguide,
.kakoi-privacy,
.kakoi-access {
	padding-block: clamp(48px, 8vw, 96px);
	text-align: center;
}

.kakoi-price__stay,
.kakoi-price__day {
	display: flex;
	flex-direction: column;
	margin-block: 2em;
}

.kakoi-price__stay > h3,
.kakoi-price__day > h3 { order: 1; }
.kakoi-price__stay > .kakoi-time,
.kakoi-price__day > .kakoi-time { order: 2; }
.kakoi-price__stay > p:not(.kakoi-time),
.kakoi-price__day > p:not(.kakoi-time) { order: 3; }

@media (min-width: 1201px) {
	.kakoi-home-rail {
		position: relative;
		z-index: 1;
		width: 29.009%;
		margin-left: 57.634%;
	}

	.kakoi-home-rail::before {
		content: "";
		position: absolute;
		inset: 0;
		z-index: 1;
		background: rgba(255, 255, 255, 0.9);
		pointer-events: none;
	}

	.kakoi-hero__inner,
	.home .entry-content {
		position: relative;
		z-index: 2;
	}

	/*
	 * ヘッダーも右カラムの帯に乗せる。現行サイトの実測（1440px）は
	 * 電話 x=921,w=236,中央寄せ（中心1039＝右カラムの中心と一致）、
	 * ハンバーガー x=1190,w=48（右カラム右端から約10px内側）。
	 * 電話を絶対配置にして中央に固定し、ハンバーガーは右端に置く。
	 * 電話の枠がハンバーガーに重ならないよう、当たり判定はリンクだけに戻す。
	 */
	.home .site-header__inner {
		position: relative;
		width: 29.009%;
		margin-left: 57.634%;
		padding-inline: 0 10px;
		justify-content: flex-end;
	}

	.home .site-header__tel {
		position: absolute;
		top: 19px;
		left: 0;
		right: 0;
		text-align: center;
		pointer-events: none;
	}

	.home .site-header__tel a {
		pointer-events: auto;
	}


	.home .entry-content > * {
		width: 100%;
		max-width: none;
		padding-inline: 24px;
	}

	.kakoi-hero__lines {
		position: fixed;
		top: 126px;
		left: 0;
		right: 0;
		z-index: 1;
		display: block;
	}

	/*
	 * 現行サイトの実測（2026-09-07）。1440pxで x=578/520/463/405/348/290、
	 * 1631pxで x=650〜327。どちらも 4vw 等間隔・右端40vw・左端20vw で一致する。
	 * 並びは右から順に 風・鳥・星・炎・今日だけ全部・ひとりじめ。
	 */
	.kakoi-hero__line { position: fixed; top: 126px; }
	.kakoi-hero__line:nth-child(1) { left: 40vw; }
	.kakoi-hero__line:nth-child(2) { left: 36vw; }
	.kakoi-hero__line:nth-child(3) { left: 32vw; }
	.kakoi-hero__line:nth-child(4) { left: 28vw; }
	.kakoi-hero__line:nth-child(5) { left: 24vw; }
	.kakoi-hero__line:nth-child(6) { left: 20vw; }

	.kakoi-hero__brand {
		position: relative;
		padding-top: 84px;
		gap: 86px;
	}

	.kakoi-hero__foot {
		position: static;
	}

	.kakoi-hero__social {
		position: absolute;
		top: 549px;
		left: -10px;
	}

	.kakoi-hero__scroll {
		position: absolute;
		top: 626px;
		left: 65px;
	}

	.kakoi-concept,
	.kakoi-gallery,
	.kakoi-price,
	.kakoi-facilities,
	.kakoi-reservation,
	.kakoi-userguide,
	.kakoi-privacy,
	.kakoi-access {
		padding-block: 0 36px;
	}

	.kakoi-concept > .kakoi-section-icon,
	.kakoi-gallery > .kakoi-section-icon,
	.kakoi-price > .kakoi-section-icon,
	.kakoi-reservation > .kakoi-section-icon,
	.kakoi-userguide > .kakoi-section-icon,
	.kakoi-privacy > .kakoi-section-icon {
		margin-top: 0;
	}

	.kakoi-section-icon img { max-height: 50px; }

	.kakoi-concept p {
		font-size: 13px;
		font-weight: 400;
		line-height: 2.1;
		letter-spacing: 6px;
	}

	.kakoi-concept p:first-of-type {
		margin-top: 1em;
	}

	.kakoi-concept__lead {
		display: inline-block;
		margin-bottom: 17px;
		font-size: 17px;
		font-weight: 600;
		line-height: 1.6;
	}

	.kakoi-concept h2,
	.kakoi-gallery h2,
	.kakoi-price > h2,
	.kakoi-reservation h2,
	.kakoi-userguide h2,
	.kakoi-privacy h2,
	.kakoi-access h2 {
		font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
		font-family: Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
		font-size: 17px;
		font-weight: 500;
		letter-spacing: 3.7px;
	}

	.kakoi-gallery .wp-block-gallery {
		display: block;
		margin-inline: 0;
	}

	.kakoi-gallery .wp-block-gallery figure {
		width: 59% !important;
		margin-block: 32px !important;
	}

	.kakoi-gallery .wp-block-gallery figure:nth-child(odd) {
		margin-left: auto !important;
		margin-right: auto !important;
		transform: translateX(-5px);
	}

	.kakoi-gallery .wp-block-gallery figure:nth-child(even) {
		margin-left: auto !important;
		margin-right: auto !important;
		transform: translateX(5px);
	}

	.kakoi-gallery .wp-block-gallery img { width: 100%; }

	.kakoi-time {
		width: min(300px, 100%);
		margin: 10px auto 16px;
		padding: 10px 8px;
		font-size: 18px;
		letter-spacing: normal;
	}

	.kakoi-price__stay h3,
	.kakoi-price__day h3 {
		font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
		font-size: 20px;
		letter-spacing: normal;
	}

	.kakoi-price__stay p,
	.kakoi-price__day p {
		font-size: 16px;
		letter-spacing: normal;
	}

	.kakoi-price > p:first-of-type {
		font-size: 27px;
		font-weight: 600;
		letter-spacing: 6px;
		line-height: 1.4;
		margin-block: 8px;
	}

	.kakoi-price__stay p:not(.kakoi-time):last-of-type,
	.kakoi-price__day p:not(.kakoi-time):last-of-type {
		font-size: 14px;
		line-height: 1.6;
		color: #7a7a7a;
	}

	.kakoi-price__stay,
	.kakoi-price__day { margin-block: 16px; }

	.kakoi-price__stay .kakoi-time,
	.kakoi-price__day .kakoi-time {
		height: 47px;
		padding: 10px 4px;
		font-size: 26px;
		font-weight: 700;
		line-height: 27px;
		white-space: nowrap;
	}

	.kakoi-price__stay p:not(.kakoi-time):first-of-type,
	.kakoi-price__day p:not(.kakoi-time):first-of-type {
		font-size: 18px;
	}
}

.kakoi-facilities__icons {
	align-items: center;
	justify-content: center;
	gap: 16px;
}

.kakoi-facilities__icons img {
	max-height: 120px;
	width: auto;
}

/* 会社情報の表 */
.kakoi-company table {
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

.kakoi-company th,
.kakoi-company td {
	padding: 12px 16px;
	border-bottom: 1px solid rgba(65, 60, 27, 0.2);
	vertical-align: top;
}

.kakoi-company th {
	width: 8em;
	white-space: nowrap;
	font-weight: 500;
	background: var(--wp--preset--color--subtle, #f5f3ee);
}

/* 地図 */
.kakoi-map {
	margin-block: 24px;
}

.kakoi-map iframe {
	display: block;
	width: 100%;
	border: 0;
}

.kakoi-map__link {
	font-size: var(--wp--preset--font-size--small, 0.875rem);
}

/* 2026-09-08 PC原本比較。素材と本文は保持し、要素ごとの寸法を合わせる。 */
@media (min-width: 1201px) {
 .kakoi-hero__scroll { flex-direction: row; align-items: center; gap: 14px; }
 .kakoi-hero__scroll-line { height: 47px; }
 .kakoi-hero__scroll-label { font-size: 10px; letter-spacing: 1px; }
 .kakoi-hero__social { gap: 15px; }
 .kakoi-hero__social svg { width: 30px; height: 30px; }
 .home .entry-content > .kakoi-concept,
 .home .entry-content > .kakoi-gallery { padding-inline: 0; }
 .kakoi-concept > .kakoi-section-icon img { width: 10%; max-height: none; }
 .kakoi-gallery > .kakoi-section-icon img,
 .kakoi-price > .kakoi-section-icon img { width: 11%; max-height: none; }
 .kakoi-concept > .kakoi-section-icon,
 .kakoi-gallery > .kakoi-section-icon,
 .kakoi-price > .kakoi-section-icon { margin-bottom: 4px; }
 .kakoi-concept h2 { margin: 0 0 34px; }
 .kakoi-concept > p { margin-bottom: 27.3px; }
 .kakoi-concept { padding-bottom: 62px; }
 .kakoi-gallery h2 { margin: 0 0 36px; }
 .kakoi-gallery .wp-block-gallery { margin-block: 0; }
 .kakoi-gallery .wp-block-gallery figure {
  width: 52.4% !important; margin-block: 0 65px !important;
 }
 .kakoi-gallery .wp-block-gallery figure:nth-child(odd) { transform: translateX(5px); }
 .kakoi-gallery .wp-block-gallery figure:nth-child(even) { transform: translateX(-5px); }
 .kakoi-gallery .wp-block-gallery img { height: auto !important; object-fit: contain; }
 .kakoi-gallery > details { margin: 0 auto 70px; }
 .home .entry-content details { border: 0; padding-block: 0; }
 .home .entry-content summary {
  display: block; width: fit-content; margin-inline: auto; padding: 2px 8px;
  border: 1px solid #8c8765; font: 400 10px/1.2 Arial,sans-serif;
  letter-spacing: 3px; list-style: none;
 }
 .home .entry-content summary::-webkit-details-marker { display: none; }
 .home .entry-content summary:focus-visible { outline: 2px solid #433c03; outline-offset: 4px; }
 .home .entry-content details[open] > summary { margin-bottom: 24px; }
 .home .entry-content .kakoi-gallery > details > summary { width: 270px; max-width: 85%; padding-block: 24px; border-color: #000; font-size: 14px; letter-spacing: 5px; }
 .kakoi-facilities > .wp-block-image { width: 75.7%; margin-inline: auto; }
 .kakoi-facilities > .wp-block-image:first-child { margin-bottom: 106px; }
 .kakoi-facilities > .wp-block-image:nth-child(2) { margin-bottom: 50px; }
 .kakoi-facilities__icons { width: 251px; max-width: 100%; gap: 10px; margin: 0 auto; }
 .kakoi-facilities__icons > .wp-block-column { flex: 1 1 0 !important; }
 .kakoi-facilities__icons figure { margin: 0; }
 .kakoi-facilities__icons img { width: 100%; height: auto; max-height: none; }
 .kakoi-reservation > .kakoi-section-icon img { width: 15.82%; max-height: none; }
 .kakoi-userguide > .kakoi-section-icon img { width: 12.42%; max-height: none; }
 .kakoi-privacy > .kakoi-section-icon img { width: 14.69%; max-height: none; }
 .kakoi-reservation > p { font-size: 18px; letter-spacing: normal; line-height: 1.5; margin-block: 12px; }
 .kakoi-reservation > p a { font-size: 27px; font-weight: 600; text-decoration: none; letter-spacing: 1px; }
 .kakoi-reservation .wp-block-buttons { justify-content: center; }
 .kakoi-reservation .wp-block-button__link {
  background: none; color: #433c03; border-radius: 0; padding: 0;
  font-size: 19px; font-weight: 600; letter-spacing: 1px;
 }
 .kakoi-reservation { padding-bottom: 70px; }
 .kakoi-userguide { padding-bottom: 90px; }
 .kakoi-privacy { padding-bottom: 90px; }
 .kakoi-company { margin-inline: auto; }
 .kakoi-company table { font-size: 12px; letter-spacing: 1px; line-height: 1.6; }
 .kakoi-company th,.kakoi-company td { padding: 8px; border: 1px solid #c7c4b5; background: transparent; }
 .kakoi-company th { width: 6em; font-weight: 400; }
}

@media (min-width: 1201px) {
 .kakoi-price > .kakoi-section-icon img { width: 12.42%; }
 .kakoi-price h2 { margin-top: 4px; }
 .kakoi-price__stay, .kakoi-price__day { font-family: Arial,"Noto Sans JP",sans-serif; font-weight: 600; }
 .kakoi-price__stay p:not(.kakoi-time), .kakoi-price__day p:not(.kakoi-time) { font-size: 16px; line-height: 1.5; }
 .kakoi-price__stay p:not(.kakoi-time):first-of-type, .kakoi-price__day p:not(.kakoi-time):first-of-type { font-size: 18px; }
 .kakoi-price__day { margin-top: 80px; }
}

/* 2026-09-08 13:55レビュー: 比率を保ち、画面の幅と高さの両方を覆う。 */
.kakoi-hero__media { height: 100vh; height: 100dvh; overflow: hidden; }
.kakoi-hero__poster { height: 100%; }
.kakoi-hero__poster img,
.kakoi-hero__video { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home .kakoi-access { padding-bottom: 0; }
@media (max-width: 1200px) {
 .kakoi-hero { min-height: 100vh; min-height: 100dvh; }
 .kakoi-hero__media { position: absolute; inset: 0; height: 100%; align-self: stretch; }
 .kakoi-hero__media::after { content: none; }
}

/* 2026-09-08 16:45: 展開本文の可読性と原本ギャラリー位置。 */
.home .entry-content :is(#userguide, #privacypolicy) > details {
 text-align: left; font-size: 14px; line-height: 1.9; letter-spacing: .04em;
}
.home .entry-content :is(#userguide, #privacypolicy) > details :is(p, li, h4) {
 font-size: 14px; line-height: 1.9; letter-spacing: .04em;
}
.home .entry-content :is(#userguide, #privacypolicy) > details h3 {
 font-size: 16px; line-height: 1.6; letter-spacing: .04em;
}
.home .entry-content :is(#userguide, #privacypolicy) > details :is(h3, h4) { margin-block: 24px 12px; }
.home .entry-content :is(#userguide, #privacypolicy) > details p { margin-block: 0 16px; }
.home .kakoi-access { padding-bottom: 32px; }
@media (min-width: 1201px) {
 .home .entry-content .kakoi-gallery > .kakoi-section-icon { margin-top: 0; }
 .kakoi-gallery .wp-block-gallery figure:nth-child(odd) { transform: translateX(5.586px); }
 .kakoi-gallery .wp-block-gallery figure:nth-child(even) { transform: translateX(-5.586px); }
}

@media (min-width: 1201px) { .home .entry-content > .kakoi-gallery { padding-top: 0; } }

@media (min-width: 1201px) { .home .entry-content .kakoi-gallery > .anchor-alias { margin-block: 0; } }

/* 2026-09-08 19:06: LINE予約への導線をボタンとして強調。 */
.home .kakoi-reservation .wp-block-button__link {
 display: inline-flex; align-items: center; justify-content: center;
 min-height: 52px; max-width: 100%; padding: 14px 24px;
 background: #087f3e; color: #fff; border: 2px solid #087f3e;
 border-radius: 6px; box-shadow: 0 3px 8px rgba(0,0,0,.15);
 font-size: 17px; font-weight: 700; line-height: 1.5; letter-spacing: .04em;
 text-decoration: none;
}
.home .kakoi-reservation .wp-block-button__link:hover { background: #066330; border-color: #066330; }
.home .kakoi-reservation .wp-block-button__link:focus-visible { outline: 3px solid #433c03; outline-offset: 4px; }

/* 2026-09-08 19:15: SNSはキャッチと同じ行の中央へ。 */
.kakoi-hero__brand { display: grid; grid-template-columns: 130px; justify-items: center; align-content: start; }
.kakoi-hero__logo { grid-area: 1 / 1; }
.kakoi-hero__title { grid-area: 2 / 1; }
.kakoi-hero__foot { display: contents; }
.kakoi-hero__social { position: static; grid-area: 2 / 1; align-self: center; justify-self: start; transform: translateX(-10px); }
.kakoi-hero__scroll { position: static; grid-area: 3 / 1; justify-self: center; }
.kakoi-hero__scroll-line { height: 60px; }
@keyframes kakoi-scroll-dot {
 0% { top: 0; opacity: 0; }
 20%,80% { opacity: 1; }
 100% { top: calc(100% - 6px); opacity: 0; }
}
@media (max-width: 767px) {
 .kakoi-hero__brand { grid-template-columns: 96px; }
 .kakoi-hero__scroll-line { height: 44px; }
}

/* 19:52レビュー: 線の中心をinnerの中央へ。添付SNS画像と狭幅対応。 */
.kakoi-hero__social img { display: block; width: 30px; height: 30px; object-fit: contain; }
.kakoi-hero__inner { padding-bottom: 120px; }
.kakoi-hero__scroll { position: absolute; left: 50%; top: auto; bottom: 24px; width: 1px; transform: translateX(-50%); display: block; }
.kakoi-hero__scroll-label { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); }
@media (max-width: 1200px) {
 .kakoi-hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 130px; align-content: start; align-items: start; column-gap: 28px; width: 100%; }
 .kakoi-hero__lines { min-width: 0; width: 100%; gap: 0; justify-content: space-between; }
 .kakoi-hero__brand { min-width: 0; }
 .kakoi-hero__title, .kakoi-hero__scroll, .home .site-header__tel, .home .nav-toggle { color: #fff; text-shadow: 0 0 8px rgba(0,0,0,.5); }
 .kakoi-hero__logo img, .kakoi-hero__social img { filter: brightness(0) invert(1); }
 .kakoi-hero__scroll-line, .kakoi-hero__scroll-line::after { background: #fff; }
 .home.js-nav .site-nav:has(.nav-toggle[aria-expanded="true"]) .nav-toggle { color: #433c03; text-shadow: none; }
}
@media (max-width: 767px) {
 .kakoi-hero__inner { grid-template-columns: minmax(0, 1fr) 96px; column-gap: 16px; padding-inline: 16px; }
 .kakoi-hero__line { font-size: clamp(12px, 3.85vw, 15px); letter-spacing: 9px; }
 .kakoi-hero__social img { width: 26px; height: 26px; }
}

.kakoi-hero__scroll { grid-area: auto; justify-self: start; margin: 0; padding: 0; right: auto; }

@media (max-width: 1200px) {
 .kakoi-hero__logo .custom-logo { filter: brightness(0) invert(1); }
 .home .kakoi-price { font-family: "Noto Sans JP",sans-serif; }
 .home .kakoi-price p:not(.kakoi-time) { font-size: 14px; line-height: 1.7; letter-spacing: .02em; }
 .home .kakoi-price > p { font-size: 24px; font-weight: 700; }
 .home .kakoi-price h3 { font-size: 18px; letter-spacing: .04em; }
}
@media (min-width: 768px) and (max-width: 1200px) {
 .kakoi-hero__inner { grid-template-columns: minmax(0, 400px) 130px; justify-content: center; }
}

/* 20:04: スクロールの配置基準をinnerに統一し、コピーの下に専用余白を確保。 */
.kakoi-hero__brand { position: static; }
.kakoi-hero__inner { position: relative; padding-bottom: 120px; }

/* 20:53: ギャラリー全写真を左右20pxで拡大し、縦の間隔を詰める。 */
.home .entry-content > .kakoi-gallery { padding-inline: 0; }
.home .kakoi-gallery .wp-block-gallery {
 display: flex; flex-direction: column; gap: 32px;
 width: calc(100% - 40px); max-width: none; margin: 0 20px 32px;
}
.home .kakoi-gallery .wp-block-gallery figure {
 width: 100% !important; max-width: none; margin: 0 !important; transform: none !important;
}
.home .kakoi-gallery .wp-block-gallery img { display: block; width: 100%; height: auto !important; object-fit: contain; }
.home .entry-content #userguide > details > p:last-child { margin-bottom: 8px; }
.home .entry-content #userguide:has(> details[open]) { padding-bottom: 48px; }

/* ヒーロー内部の最大幅。狭い画面では親幅に収める。 */
.kakoi-hero__inner { max-width: 600px; margin-inline: auto; }

/* 2026-09-10: 縦長タブレットでも焚き火を残す。動画とポスターの焦点を揃える。 */
.kakoi-hero > .kakoi-hero__play { left: 16px; right: auto; min-height: 44px; padding: 8px 12px; letter-spacing: normal; }
.kakoi-hero__play[hidden] { display: none; }
@media (min-width: 1201px) {
 .kakoi-hero > .kakoi-hero__play { position: fixed; }
}

/* 2026-09-10: 縦長タブレットでも焚き火を残す。動画とポスターの焦点を揃える。 */
@media (min-width: 768px) and (max-width: 1200px) and (orientation: portrait) {
 .kakoi-hero__poster img,
 .kakoi-hero__video { object-position: 25% center; }
}

/* 横向きの低い画面ではロゴ・縦書き・Scrollを一画面に収める。 */
@media (max-width: 1200px) and (max-height: 500px) and (orientation: landscape) {
 .kakoi-hero__inner { padding-top: 64px; padding-bottom: 72px; }
 .kakoi-hero__brand { padding-top: 0; gap: 16px; }
 .kakoi-hero__logo img,
 .kakoi-hero__logo .custom-logo { max-width: 64px; }
 .kakoi-hero__line { font-size: 15px; letter-spacing: 7px; }
 .kakoi-hero__title { font-size: 15px; letter-spacing: 6px; }
 .kakoi-hero__scroll-line { height: 32px; }
 .kakoi-hero__social img { width: 26px; height: 26px; }
}

/* ==================================================
 * 2026-10-03 本番のタブレット・スマホ構成に合わせる（1200px以下のみ）
 *
 * 本番（Elementor）は1024px以下だけ別セクションで組まれている（テストは2026-10-03 なるさん指示で1200px以下へ広げた）。
 *   ① 白い1画面目 … 縦書きキャッチ・SNS（Instagram／LINE／電話）・Scroll
 *   ② 縦長（9:16）の動画 … 詩6行を重ねる
 *   ③ 大きいロゴ → Concept の本文（火のアイコンと「concept」の文字は無い）
 * HTMLの順番は変えず、CSS Grid と display:contents で並べ替える。
 * 数値は本番の実測（probe-prod.json）。PC（1201px以上）には効かない。
 * ================================================== */

/* PCには電話アイコンが無い（電話番号はヘッダーにある） */
@media (min-width: 1201px) {
	.kakoi-hero__social-tel { display: none; }
}

@media (max-width: 1200px) {
	/* ---------- 3段の枠組み ---------- */
	.home .kakoi-hero {
		display: grid;
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: auto auto auto;
		min-height: 0;
		overflow: hidden;
		background: #fff;
	}

	/* ① 白い1画面目の高さ。本番は 82vh＋Scroll＋12vh の積み上げ＝94vh＋80px。 */
	.home .kakoi-hero::before {
		content: "";
		grid-area: 1 / 1;
		height: calc(94vh + 80px);
	}

	.home .kakoi-hero__inner,
	.home .kakoi-hero__brand,
	.home .kakoi-hero__foot {
		display: contents;
	}

	/* 縦書きキャッチ（本番 Noto Sans JP 36px／700／字間15px／濃茶） */
	.home .kakoi-hero__title {
		grid-area: 1 / 1;
		align-self: start;
		justify-self: start;
		margin: calc(15vh + 144px) 0 0 calc(44vw - 22px);
		font-size: 36px;
		line-height: 1;
		letter-spacing: 15px;
		color: #413c1b;
		text-shadow: none;
		z-index: 1;
	}

	/* SNS（本番は白画面の高さの37%から6%おき・36px） */
	.home .kakoi-hero__social {
		grid-area: 1 / 1;
		align-self: start;
		justify-self: start;
		position: static;
		transform: none;
		display: flex;
		flex-direction: column;
		gap: calc(5.64vh + 4.8px - 36px);
		margin: calc(34.78vh + 29.6px) 0 0 calc(36vw + 20px);
		z-index: 1;
	}

	.home .kakoi-hero__social img {
		width: 36px;
		height: 36px;
		filter: none;
	}

	.home .kakoi-hero__social a {
		color: #413c1b;
		text-shadow: none;
	}

	/* Scroll（本番：太さ2px・長さ50pxの線と直径10pxの丸。白画面の下端から 12vh＋60px 上） */
	.home .kakoi-hero__scroll {
		grid-area: 1 / 1;
		align-self: end;
		justify-self: start;
		position: relative;
		left: auto;
		top: auto;
		bottom: auto;
		right: auto;
		transform: none;
		display: block;
		width: 2px;
		height: 50px;
		margin: 0 0 calc(12vh + 60px) calc(50% + 6px);
		padding: 0;
		color: #413c1b;
		text-shadow: none;
		z-index: 1;
	}

	.home .kakoi-hero__scroll-line {
		position: absolute;
		left: 0;
		bottom: 0;
		width: 2px;
		height: 50px;
		background: #413c1b;
	}

	.home .kakoi-hero__scroll-line::after {
		left: -4px;
		width: 10px;
		height: 10px;
		margin-left: 0;
		background: #413c1b;
	}

	.home .kakoi-hero__scroll-label {
		position: absolute;
		left: 10px;
		top: auto;
		bottom: 10px;
		transform: none;
		font-size: 10px;
		letter-spacing: 0.05em;
		color: #413c1b;
		text-shadow: none;
	}

	/* ---------- ② 縦長の動画 ---------- */
	.home .kakoi-hero__media {
		grid-area: 2 / 1;
		position: relative;
		inset: auto;
		align-self: start;
		width: 100%;
		height: auto;
		aspect-ratio: 9 / 16;
		overflow: hidden;
		background: #000;
		z-index: 0;
	}

	.home .kakoi-hero__media::after { content: none; }

	.home .kakoi-hero__poster,
	.home .kakoi-hero__poster img,
	.home .kakoi-hero__video {
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center;
	}

	/* 詩6行は動画の上端から 23vh 下に重ねる（本番の実測位置） */
	.home .kakoi-hero__lines {
		grid-area: 2 / 1;
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		align-self: stretch;
		display: block;
		width: auto;
		min-width: 0;
		z-index: 2;
		pointer-events: none;
	}

	.home .kakoi-hero__line {
		position: absolute;
		top: 23vh;
		font-size: 25px;
		font-weight: 600;
		line-height: 1;
		letter-spacing: 9px;
		color: #fff;
		text-shadow: none;
	}

	.home .kakoi-hero__line:nth-child(1) { left: calc(73vw - 29px); }
	.home .kakoi-hero__line:nth-child(2) { left: calc(63vw - 29px); }
	.home .kakoi-hero__line:nth-child(3) { left: calc(52.5vw - 29px); }
	.home .kakoi-hero__line:nth-child(4) { left: calc(41vw - 6px); }
	.home .kakoi-hero__line:nth-child(5) { left: calc(31vw - 6px); }
	.home .kakoi-hero__line:nth-child(6) { left: calc(21vw - 6px); }

	/* 再生ボタンは動画の左下に置く */
	.home .kakoi-hero > .kakoi-hero__play {
		grid-area: 2 / 1;
		position: relative;
		left: auto;
		right: auto;
		bottom: auto;
		align-self: end;
		justify-self: start;
		margin: 0 0 16px 16px;
		z-index: 3;
	}

	/* ---------- ③ 大きいロゴ（本番 150px・濃茶のまま） ---------- */
	.home .kakoi-hero__logo {
		grid-area: 3 / 1;
		justify-self: center;
		padding-top: calc(80px + 4.5vw);
	}

	.home .kakoi-hero__logo img,
	.home .kakoi-hero__logo .custom-logo {
		display: block;
		width: 150px;
		max-width: none;
		height: auto;
		filter: none;
		opacity: 1;
	}

	/* ヘッダー：白い1画面目では電話番号を出さず、ハンバーガーは濃茶（本番どおり） */
	.home .site-header__tel { display: none; }
	.home .nav-toggle { color: #433c03; text-shadow: none; }

	/* ---------- Concept ---------- */
	/* 本番のタブレット・スマホには火のアイコンと「concept」の文字が無い。読み上げ用には残す。 */
	.home .kakoi-concept > .kakoi-section-icon,
	.home .kakoi-concept > h2 {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}

	.home .entry-content > .kakoi-concept {
		padding-top: 16px;
		padding-bottom: 0;
	}

	.home .kakoi-concept p {
		margin: 0 0 35.7px;
		padding-inline: 36px;
		font-family: "Noto Sans JP", sans-serif;
		font-size: 17px;
		font-weight: 400;
		line-height: 35.7px;
		letter-spacing: 7px;
		color: #413c1b;
	}

	.home .kakoi-concept__lead {
		display: block;
		margin-bottom: 42px;
		font-family: Arial, "Noto Sans JP", sans-serif;
		font-size: 27px;
		font-weight: 600;
		line-height: 1.2;
		letter-spacing: 7px;
		white-space: nowrap;
	}

	/* ---------- セクション見出し（アイコン＋英字） ---------- */
	.home .entry-content :is(.kakoi-gallery, .kakoi-price, .kakoi-reservation, .kakoi-userguide, .kakoi-privacy) > .kakoi-section-icon {
		margin: 0 auto;
	}

	.home .entry-content :is(.kakoi-gallery, .kakoi-price, .kakoi-reservation, .kakoi-userguide, .kakoi-privacy) > .kakoi-section-icon img {
		width: 10vw;
		max-height: none;
		height: auto;
	}

	.home .entry-content :is(.kakoi-gallery, .kakoi-price, .kakoi-reservation, .kakoi-userguide, .kakoi-privacy, .kakoi-access) > h2 {
		margin: 6px 0 24px;
		font-family: Arial, "Noto Sans JP", sans-serif;
		font-size: 27px;
		font-weight: 600;
		line-height: 1.2;
		letter-spacing: 7px;
		color: #413c1b;
	}

	/* ---------- gallery ---------- */
	/* 写真の順番は本番のタブレット・スマホと同じ「料理→女性2人→森→焚き火前」（PCは2枚目と3枚目が逆） */
	.home .kakoi-gallery .wp-block-gallery > figure:nth-child(2) { order: 3; }
	.home .kakoi-gallery .wp-block-gallery > figure:nth-child(3) { order: 2; }
	.home .kakoi-gallery .wp-block-gallery > figure:nth-child(4) { order: 4; }
	.home .entry-content > .kakoi-gallery { padding-top: 95px; }

	/* read more は本番どおり枠の箱 */
	.home .entry-content details {
		border: 0;
		padding-block: 0;
	}

	.home .entry-content summary {
		display: block;
		width: fit-content;
		margin-inline: auto;
		padding: 2px 8px;
		border: 1px solid #8c8765;
		font: 400 10px/1.2 Arial, sans-serif;
		letter-spacing: 3px;
		list-style: none;
	}

	.home .entry-content summary::-webkit-details-marker { display: none; }
	.home .entry-content summary:focus-visible { outline: 2px solid #433c03; outline-offset: 4px; }
	.home .entry-content details[open] > summary { margin-bottom: 24px; }

	.home .entry-content .kakoi-gallery > details {
		margin: 0 auto;
	}

	.home .entry-content .kakoi-gallery > details > summary {
		width: 65%;
		max-width: none;
		padding: 22px 0;
		border-color: #000;
		font: 600 14px/1.2 "Noto Sans JP", sans-serif;
		letter-spacing: 5.2px;
		text-align: center;
	}

	/* ---------- price ---------- */
	.home .entry-content > .kakoi-price { padding-top: 120px; padding-bottom: 0; }

	.home .kakoi-price > p {
		margin: 4px 0 20px;
		font-family: Arial, "Noto Sans JP", sans-serif;
		font-size: 27px;
		font-weight: 600;
		letter-spacing: 7px;
		color: #413c1b;
	}

	.home .kakoi-price__stay,
	.home .kakoi-price__day {
		margin-block: 0 60px;
	}

	.home .kakoi-price h3 {
		margin: 0;
		font-family: "Noto Sans JP", sans-serif;
		font-size: 15px;
		font-weight: 400;
		letter-spacing: normal;
		color: #7a7a7a;
	}

	/* IN/OUT の帯（本番は画像：幅70%・縦横比 538:84） */
	.home .kakoi-price .kakoi-time {
		width: 70%;
		height: auto;
		margin: 24px auto 20px;
		padding: 0;
		font-size: 5.95vw;
		line-height: 10.9vw;
		letter-spacing: normal;
		white-space: nowrap;
	}

	.home :is(.kakoi-price__stay, .kakoi-price__day) > p:not(.kakoi-time) {
		margin: 0 0 16px;
		font-family: "Noto Sans JP", sans-serif;
		font-size: 14px;
		font-weight: 600;
		line-height: 1.8;
		letter-spacing: normal;
		color: #413c1b;
	}

	.home .kakoi-price__stay > p:not(.kakoi-time):first-of-type,
	.home .kakoi-price__day > p:not(.kakoi-time):first-of-type {
		font-size: 17px;
		line-height: 1.6;
	}

	/* ---------- 注意書き・案内図・設備アイコン ---------- */
	.home .entry-content > .kakoi-facilities { padding-top: 0; padding-bottom: 0; }
	.home .kakoi-facilities > .wp-block-image { width: 70%; margin: 0 auto 20px; }
	.home .kakoi-facilities > .wp-block-image img { width: 100%; height: auto; }

	/* 設備アイコンは本番どおり横1列（WordPressの段組みは狭い幅で縦積みになるので止める） */
	.home .kakoi-facilities__icons {
		flex-wrap: nowrap !important;
		justify-content: center;
		gap: 20px;
		margin: 0 auto;
	}

	.home .kakoi-facilities__icons > .wp-block-column {
		flex: 0 0 auto !important;
		width: auto;
	}

	.home .kakoi-facilities__icons figure { margin: 0; }
	.home .kakoi-facilities__icons img { width: 80px; height: auto; max-height: none; }

	/* ---------- Reservation ---------- */
	.home .entry-content > .kakoi-reservation { padding-top: 70px; padding-bottom: 60px; }

	.home .kakoi-reservation > p {
		margin: 12px 0;
		font-family: "Noto Sans JP", sans-serif;
		font-size: 18px;
		font-weight: 600;
		line-height: 1.5;
		letter-spacing: normal;
		color: #413c1b;
	}

	.home .kakoi-reservation > p a {
		font-size: 27px;
		font-weight: 600;
		letter-spacing: 2.2px;
		color: #413c1b;
		text-decoration: none;
	}

	.home .kakoi-reservation .wp-block-buttons { justify-content: center; }

	/* ---------- User Guide・privacy policy ---------- */
	.home .entry-content > :is(.kakoi-userguide, .kakoi-privacy) { padding-top: 40px; padding-bottom: 60px; }
	.home .entry-content :is(.kakoi-userguide, .kakoi-privacy) > h2 { margin-bottom: 8px; }

	/* ---------- フッター ---------- */
	.home .footer-nav__list li {
		width: 36vw;
		border-bottom-color: #413c1b;
	}

	.home .footer-nav__list a {
		padding: 24px 0;
		font-size: 20px;
		letter-spacing: 1.5px;
		color: #413c1b;
	}
}

/* ---------- スマホ（767px以下）：本番のスマホ用の値 ---------- */
@media (max-width: 767px) {
	/* 白画面は 80vh＋Scroll＋10vh＝90vh＋80px */
	.home .kakoi-hero::before { height: calc(90vh + 80px); }

	.home .kakoi-hero__title {
		margin: 30vh 0 0 calc(48vw - 6px);
		font-size: 26px;
		letter-spacing: 10px;
	}

	.home .kakoi-hero__social {
		gap: calc(6.3vh + 5.6px - 33px);
		margin: calc(32.4vh + 28.8px) 0 0 calc(23vw + 20px);
	}

	.home .kakoi-hero__social img { width: 33px; height: 33px; }

	.home .kakoi-hero__scroll { margin: 0 0 calc(10vh + 61px) calc(50% + 6px); }

	.home .kakoi-hero__line {
		top: 14vh;
		font-size: 17px;
		letter-spacing: 7px;
	}

	.home .kakoi-hero__line:nth-child(1) { left: calc(78vw - 23px); }
	.home .kakoi-hero__line:nth-child(2) { left: calc(66vw - 23px); }
	.home .kakoi-hero__line:nth-child(3) { left: calc(53vw - 23px); }
	.home .kakoi-hero__line:nth-child(4) { left: 40vw; }
	.home .kakoi-hero__line:nth-child(5) { left: 27vw; }
	.home .kakoi-hero__line:nth-child(6) { left: 15vw; }

	.home .kakoi-hero__logo { padding-top: 88px; }

	.home .entry-content > .kakoi-concept { padding-top: 62px; }

	.home .kakoi-concept p {
		margin-bottom: 30px;
		padding-inline: 9px;
		font-size: 15px;
		line-height: 30px;
		letter-spacing: 3px;
	}

	.home .kakoi-concept__lead {
		margin-bottom: 26px;
		font-size: min(18px, 4.62vw);
		letter-spacing: min(5px, 1.28vw);
	}

	.home .entry-content :is(.kakoi-gallery, .kakoi-price, .kakoi-reservation, .kakoi-userguide, .kakoi-privacy) > .kakoi-section-icon img {
		width: 13vw;
	}

	.home .entry-content :is(.kakoi-gallery, .kakoi-price, .kakoi-reservation, .kakoi-userguide, .kakoi-privacy, .kakoi-access) > h2 {
		margin: 4px 0 20px;
		font-size: 18px;
		letter-spacing: 5px;
	}

	.home .kakoi-price > p {
		font-size: 22px;
		letter-spacing: 5px;
	}

	.home .kakoi-price h3 { font-size: 14px; }

	.home .kakoi-price .kakoi-time {
		width: 80%;
		font-size: 6.8vw;
		line-height: 12.6vw;
	}

	.home .kakoi-price__stay > p:not(.kakoi-time):first-of-type,
	.home .kakoi-price__day > p:not(.kakoi-time):first-of-type {
		font-size: 15px;
	}

	.home :is(.kakoi-price__stay, .kakoi-price__day) > p:not(.kakoi-time) { font-size: 13px; }

	.home .kakoi-facilities > .wp-block-image { width: 80%; }
	.home .kakoi-facilities__icons { gap: 24px; }
	.home .kakoi-facilities__icons img { width: 82px; }

	.home .footer-nav__list li { width: 56vw; }
	.home .footer-nav__list a { padding: 20px 0; font-size: 13px; }
}

/* 2026-10-03 round2: 実測差（probe-test-r1 と本番）に合わせた微調整（1200px以下のみ） */
@media (max-width: 1200px) {
	.home .kakoi-hero__title { margin-left: calc(44vw - 6px); }
	.home .kakoi-hero__line:nth-child(1) { left: calc(73vw - 24px); }
	.home .kakoi-hero__line:nth-child(2) { left: calc(63vw - 24px); }
	.home .kakoi-hero__line:nth-child(3) { left: calc(52.5vw - 24px); }
	.home .kakoi-hero__line:nth-child(4) { left: 41vw; }
	.home .kakoi-hero__line:nth-child(5) { left: 31vw; }
	.home .kakoi-hero__line:nth-child(6) { left: 21vw; }

	/* リードを1行のブロックにしたので、直後の改行で空行ができないようにする */
	.home .kakoi-concept__lead + br { display: none; }
	.home .kakoi-concept p:last-child { margin-bottom: 0; }

	.home .entry-content .kakoi-gallery > h2 { margin: -12px 0 42px; }
	.home .entry-content .kakoi-gallery > details { margin-top: 33px; }
	.home .entry-content > .kakoi-price { padding-top: 55px; }
	.home .entry-content .kakoi-price > h2 { margin-top: -13px; }

	/* 「1日3組限定」（既存の 14px 指定より強くする） */
	.home .kakoi-price > p:not(.kakoi-time) {
		margin: 4px 0 20px;
		font-family: Arial, "Noto Sans JP", sans-serif;
		font-size: 27px;
		font-weight: 600;
		line-height: 1.2;
		letter-spacing: 7px;
		color: #413c1b;
	}

	.home :is(.kakoi-price__stay, .kakoi-price__day) > p:not(.kakoi-time) { margin-bottom: 28px; line-height: 2; }
	.home .kakoi-facilities > .wp-block-image { width: 70vw; max-width: none; }

	.home .entry-content > .kakoi-userguide { padding-bottom: 23px; }
	.home .entry-content > .kakoi-privacy { padding-bottom: 20px; }
	.home .entry-content > .kakoi-access { padding-top: 40px; }

	.home .footer-nav__list a { padding: 17px 0; }
	.home .site-footer__related-label { margin-top: 111px; }
}

@media (max-width: 767px) {
	.home .kakoi-hero__title { margin-left: calc(48vw - 1px); }
	.home .kakoi-hero__line:nth-child(1) { left: calc(78vw - 19px); }
	.home .kakoi-hero__line:nth-child(2) { left: calc(66vw - 19px); }
	.home .kakoi-hero__line:nth-child(3) { left: calc(53vw - 19px); }
	.home .kakoi-hero__line:nth-child(4) { left: calc(40vw + 4px); }
	.home .kakoi-hero__line:nth-child(5) { left: calc(27vw + 4px); }
	.home .kakoi-hero__line:nth-child(6) { left: calc(15vw + 4px); }

	.home .entry-content .kakoi-gallery > h2 { margin: 8px 0 52px; }
	.home .entry-content .kakoi-gallery > details { margin-top: 15px; }
	.home .entry-content > .kakoi-price { padding-top: 62px; }
	.home .entry-content .kakoi-price > h2 { margin-top: 4px; }

	.home .kakoi-price > p:not(.kakoi-time) { font-size: 22px; letter-spacing: 5px; }
	.home :is(.kakoi-price__stay, .kakoi-price__day) > p:not(.kakoi-time) { margin-bottom: 16px; line-height: 1.8; }
	.home .kakoi-facilities > .wp-block-image { width: 80vw; }

	.home .entry-content > .kakoi-reservation { padding-top: 99px; }
	.home .entry-content > .kakoi-userguide { padding-bottom: 16px; }

	.home .footer-nav__list a { padding: 22px 0; }
	.home .site-footer__related-label { margin-top: 36px; }
}

/* 2026-10-03 round3: 間隔の残差を詰める（1200px以下のみ） */
@media (max-width: 1200px) {
	.home .entry-content > .kakoi-gallery { padding-top: 66px; }
	.home .kakoi-price > p:not(.kakoi-time) { margin: 17px 0 50px; }
	.home .entry-content > .kakoi-reservation { padding-bottom: 10px; }
	.home .footer-nav__list a { padding: 13px 0; }
}
@media (max-width: 767px) {
	.home .entry-content > .kakoi-gallery { padding-top: 60px; }
	.home .kakoi-price > p:not(.kakoi-time) { margin: 24px 0 20px; }
	.home .entry-content > .kakoi-reservation { padding-bottom: 37px; }
	.home .footer-nav__list a { padding: 19px 0; }
}

/* 2026-10-03 round4: IN/OUT の帯を本番の画像と同じ幅（画面幅の70%・スマホ80%）と文字の大きさに */
@media (max-width: 1200px) {
	.home .kakoi-price .kakoi-time { width: 70vw; max-width: none; margin-inline: auto; font-size: 6.4vw; }
}
@media (max-width: 767px) {
	.home .kakoi-price .kakoi-time { width: 80vw; font-size: 7.4vw; }
	.home .kakoi-price__stay > p:not(.kakoi-time):first-of-type,
	.home .kakoi-price__day > p:not(.kakoi-time):first-of-type { font-size: 16px; }
}

/* 2026-10-03: 360px未満では Concept 本文が1文字だけ折り返すので字間を詰める */
@media (max-width: 359px) {
	.home .kakoi-concept p { letter-spacing: 1.5px; padding-inline: 0; }
}

/* ==================================================
 * 2026-10-03 なるさん指示: SP・TAB（1200px以下）の動画を横長16:9にして縦幅を詰める。
 * 動画・静止画はPCと同じ横長素材を使い、詩6行は枠の上下左右中央に並べ直す（文字も枠に合わせて縮める）。
 * 「原始に帰ろう。」は画面の左右中央。SNSはその左に一定の間隔で置く。
 * ================================================== */
@media (max-width: 1200px) {
	.home .kakoi-hero__media { aspect-ratio: 16 / 9; }
	.home .kakoi-hero__poster img,
	.home .kakoi-hero__video { object-position: center; }

	.home .kakoi-hero__lines {
		display: flex;
		flex-direction: row-reverse;
		justify-content: center;
		align-items: center;
		gap: min(3.4vw, 36px);
	}
	.home .kakoi-hero__line {
		position: static;
		font-size: min(3.4vw, 30px);
		letter-spacing: min(1.1vw, 10px);
	}

	.home .kakoi-hero__title {
		justify-self: center;
		margin-left: 0;
		margin-right: 0;
	}
	.home .kakoi-hero__social { margin-left: calc(50% - 88px); }
}
@media (max-width: 767px) {
	.home .kakoi-hero__title { margin-left: 0; }
	.home .kakoi-hero__social { margin-left: calc(50% - 85px); }
}

/* 2026-10-03 なるさんレビュー: TABで「Price」がアイコンに被る→見出しの上を空ける。IN/OUT の帯は文字を小さく。 */
@media (min-width: 768px) and (max-width: 1200px) {
	.home .entry-content .kakoi-price > h2 { margin-top: 14px; }
	.home .kakoi-price .kakoi-time { font-size: clamp(26px, 3.6vw, 40px); line-height: 1.4; padding-block: 12px; height: auto; }
}
@media (max-width: 767px) {
	.home .kakoi-price .kakoi-time { font-size: 5.6vw; }
}

/* 2026-10-03 なるさん指示: SP（767px以下）は動画の縦幅を最低430px（768pxの16:9＝432pxとほぼ同じ）。左右は切り取って高さいっぱいに表示。 */
@media (max-width: 767px) {
	.home .kakoi-hero__media { min-height: 430px; }
	.home .kakoi-hero__lines { gap: 14px; }
	.home .kakoi-hero__line { font-size: 17px; letter-spacing: 6px; }
}

/* 2026-10-03 なるさんレビュー: SP・TAB は Scroll の線（幅2px）を画面の左右中央に */
@media (max-width: 1200px) {
	.home .kakoi-hero__scroll { margin-left: calc(50% - 1px); }
}

/* ==================================================
 * 2026-10-03 なるさん指示: gallery 本体を「ゆっくりズーム＋フェード」のスライダーに。
 * gallery-slider.js が .is-slider を付けたときだけ効く（JSが無ければ縦並びのまま）。
 * ================================================== */
.home .kakoi-gallery .wp-block-gallery.is-slider {
	position: relative;
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	gap: 0;
}
.home .kakoi-gallery .wp-block-gallery.is-slider > figure {
	position: absolute !important;
	inset: 0;
	width: 100% !important;
	height: 100%;
	margin: 0 !important;
	opacity: 0;
	transition: opacity 1.6s ease;
}
.home .kakoi-gallery .wp-block-gallery.is-slider > figure.is-active { opacity: 1; z-index: 1; }
.home .kakoi-gallery .wp-block-gallery.is-slider > figure img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	transform: scale(1);
}
/* 表示中の写真だけ、焚き火の明かりのようにゆっくり寄る */
.home .kakoi-gallery .wp-block-gallery.is-slider > figure.is-active img {
	animation: kakoi-slow-zoom 7.6s ease-out forwards;
}
@keyframes kakoi-slow-zoom {
	from { transform: scale(1); }
	to   { transform: scale(1.08); }
}
.kakoi-slider-dots {
	display: flex;
	justify-content: center;
	gap: 4px;
	margin: 14px 0 0;
}
.kakoi-slider-dots button {
	width: 24px;
	height: 24px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
.kakoi-slider-dots button::before {
	content: "";
	display: block;
	width: 8px;
	height: 8px;
	margin: auto;
	border-radius: 50%;
	background: #c9c3b0;
	transition: background .3s;
}
.kakoi-slider-dots button[aria-current="true"]::before { background: #433c03; }
.kakoi-slider-dots button:focus-visible { outline: 2px solid #433c03; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
	.home .kakoi-gallery .wp-block-gallery.is-slider > figure { transition: none; }
	.home .kakoi-gallery .wp-block-gallery.is-slider > figure.is-active img { animation: none; }
}

/* 2026-10-03 TAB で「Gallery」もアイコンに被っていたので Price と同じく上を空ける */
@media (min-width: 768px) and (max-width: 1200px) {
	.home .entry-content .kakoi-gallery > h2 { margin-top: 14px; }
}

/* 2026-10-03 なるさんレビュー: SP・TAB の動画の詩は文字を控えめ（段階「中」）にし、字間を広げ、少し上寄せ */
@media (max-width: 1200px) {
	.home .kakoi-hero__lines { gap: 1.1em; padding-bottom: 10%; font-size: var(--fs-m, 16px); }
	.home .kakoi-hero__line { letter-spacing: .45em; }
}
@media (max-width: 767px) {
	.home .kakoi-hero__lines { gap: 1em; }
}

/* 2026-10-03 なるさんレビュー: SP・TAB の会社情報の表、最下段の下線を外枠（上・左右）と同じ濃い線にそろえる */
@media (max-width: 1200px) {
	.kakoi-company tr:last-child > :is(th, td) { border-bottom: 1px solid #413c1b; }
}

/* 2026-10-03 なるさんレビュー: 〈ご宿泊〉〈日帰りデイキャンプ〉の見出しを目立たせる（太字・濃茶・左右に短い線） */
.home .kakoi-price :is(.kakoi-price__stay, .kakoi-price__day) > h3 {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	font-weight: 700;
	letter-spacing: .12em;
	color: #413c1b;
}
.home .kakoi-price :is(.kakoi-price__stay, .kakoi-price__day) > h3::before,
.home .kakoi-price :is(.kakoi-price__stay, .kakoi-price__day) > h3::after {
	content: "";
	flex: 0 0 auto;
	width: 1.6em;
	height: 1px;
	background: currentColor;
}
/* 360px未満では〈日帰りデイキャンプ〉が折り返すので、左右の線を出さない */
@media (max-width: 359px) {
	.home .kakoi-price :is(.kakoi-price__stay, .kakoi-price__day) > h3::before,
	.home .kakoi-price :is(.kakoi-price__stay, .kakoi-price__day) > h3::after { content: none; }
}

/* ==================================================
 * 2026-10-03 なるさんレビュー
 *  ・詩6行の間隔を広げ、左の行から1文字ずつ出す（hero-poem.js が .is-animated を付けたときだけ）
 *  ・PC の Concept に左右の余白
 *  ・「Googleマップで開く」は表示しない（地図は残す）
 * ================================================== */
@media (max-width: 1200px) {
	.home .kakoi-hero__lines { gap: 1.7em; }
}
@media (max-width: 767px) {
	.home .kakoi-hero__lines { gap: 1.4em; }
}
@media (min-width: 1201px) {
	/* 4vw 間隔 → 5vw 間隔（右端45vw・左端20vw） */
	.kakoi-hero__line:nth-child(1) { left: 45vw; }
	.kakoi-hero__line:nth-child(2) { left: 40vw; }
	.kakoi-hero__line:nth-child(3) { left: 35vw; }
	.kakoi-hero__line:nth-child(4) { left: 30vw; }
	.kakoi-hero__line:nth-child(5) { left: 25vw; }
	.kakoi-hero__line:nth-child(6) { left: 20vw; }

	.home .entry-content > .kakoi-concept { padding-inline: 32px; }
	.home .kakoi-concept p { letter-spacing: .14em; }
}

.kakoi-hero__lines.is-animated .kakoi-hero__char {
	display: inline-block;
	opacity: 0;
	filter: blur(4px);
	transform: translateY(-.3em);
}
.kakoi-hero__lines.is-animated.is-in .kakoi-hero__char {
	animation: kakoi-char-in 1s ease-out forwards;
}
@keyframes kakoi-char-in {
	to { opacity: 1; filter: blur(0); transform: none; }
}

.kakoi-map__link { display: none; }
/* PC: 余白を付けたぶん、リード「何もないからこそできること。」が1文字だけ折り返すので字間を詰める */
@media (min-width: 1201px) {
	.home .kakoi-concept .kakoi-concept__lead { letter-spacing: .02em; }
}
/* PC の帯が細い幅（〜1400px前後）ではリードが1行に収まらないので、帯の中の幅に合わせて文字だけ少し縮める（最大は段階「大」） */
@media (min-width: 1201px) {
	.home .entry-content > .kakoi-concept { container-type: inline-size; }
	.home .entry-content > .kakoi-concept .kakoi-concept__lead { font-size: min(var(--fs-l, 24px), 100cqw / 14.4) !important; white-space: nowrap; }
}

/* 2026-10-03 再読み込み時のちらつき対策: hero-poem.js が文字を分けるまで詩を隠す。
 * 動きを減らす設定では JS がアニメを付けないので隠さない。JS が読めなかった場合に備え、3秒後には必ず表示する。 */
@media (prefers-reduced-motion: no-preference) {
	html.kakoi-js .kakoi-hero__lines:not(.is-animated) {
		opacity: 0;
		animation: kakoi-poem-fallback 0s 3s forwards;
	}
}
@keyframes kakoi-poem-fallback { to { opacity: 1; } }

/* 2026-10-03 なるさんレビュー: 〈日帰りデイキャンプ〉を改行させない。
 * PC の帯が細い幅（1201〜1500px前後）では、帯の中の幅に合わせて2つの見出しをそろって少し縮める（最大は段階「大」） */
.home .kakoi-price :is(.kakoi-price__stay, .kakoi-price__day) > h3 { white-space: nowrap; }
@media (min-width: 1201px) {
	.home .entry-content > .kakoi-price { container-type: inline-size; }
	.home .entry-content > .kakoi-price :is(.kakoi-price__stay, .kakoi-price__day) > h3 { font-size: min(var(--fs-l, 24px), 100cqw / 17) !important; }
}

/* 2026-10-03 なるさんレビュー: SP・TAB の詩をもう少し上へ */
@media (max-width: 1200px) {
	.home .kakoi-hero__lines { padding-bottom: 22%; }
}
@media (min-width: 768px) and (max-width: 1200px) {
	.home .kakoi-hero__lines { padding-bottom: 15%; }
}

/* 2026-10-03 なるさんレビュー: 注意喚起の画像（元1200px幅・中の文字は約60px）を、
 * 中の文字が本文とほぼ同じ大きさ（SP 約16px／TAB・PC 約18px）に見える幅で出す。下の案内図は変えない。 */
.home .kakoi-facilities > .wp-block-image:first-of-type { width: min(86vw, 330px); max-width: 100%; margin-inline: auto; }
@media (min-width: 768px) {
	.home .kakoi-facilities > .wp-block-image:first-of-type { width: 370px; }
}
/* TAB: IN/OUT の茶色の帯が間延びしていたので幅を詰める */
@media (min-width: 768px) and (max-width: 1200px) {
	.home .kakoi-price .kakoi-time { width: 380px; }
}

/* 2026-10-03 なるさんレビュー: PC の帯が細い幅（1201〜1350px前後）で Concept 本文が改行位置以外で折り返す。
 * 帯の中の幅に合わせて文字を 18px→最小16px まで縮め、字間も少し詰める（リードは別指定のまま）。 */
@media (min-width: 1201px) {
	.home .entry-content > .kakoi-concept p {
		font-size: max(16px, min(var(--fs-m, 18px), 100cqw / 17.6)) !important;
		letter-spacing: .08em;
	}
}

/* ==================================================
 * 2026-10-12 動画のボタンを、文字なしの小さなアイコンにする（なるさん指示）
 * 再生中は「止める」（縦線2本）、止まっている間は「再生」（三角）。
 * 押せる範囲は 44px を保ち、見える丸は 38px。記号と線は白、ホバーで白い背景がつき記号は濃茶になる。文字は読み上げ用に残して見た目だけ隠す。
 * ================================================== */
.kakoi-hero > .kakoi-hero__play {
	justify-content: center;
	gap: 0;
	width: 44px;
	height: 44px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #fff;
	left: 13px;
	bottom: 13px;
}
.kakoi-hero > .kakoi-hero__play:hover,
.kakoi-hero > .kakoi-hero__play:focus-visible { background: transparent; }

.kakoi-hero__play-label {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.kakoi-hero__play .kakoi-hero__play-icon {
	position: relative;
	box-sizing: border-box;
	width: 38px;
	height: 38px;
	border: 1px solid currentColor;
	border-radius: 50%;
	background: transparent;
	opacity: 0.85;
	transition: opacity 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.kakoi-hero__play:hover .kakoi-hero__play-icon,
.kakoi-hero__play:focus-visible .kakoi-hero__play-icon { opacity: 1; background: rgba(255, 255, 255, 0.85); color: var(--wp--preset--color--contrast, #413c1b); }

/* 再生（三角）。丸の中で少し右へ寄せて、見た目の中心を合わせる。 */
.kakoi-hero__play-icon::before {
	content: "";
	box-sizing: content-box;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 7px 0 7px 11px;
	border-color: transparent transparent transparent currentColor;
	transform: translate(-40%, -50%);
}

/* 止める（縦線2本）。 */
.kakoi-hero__play[data-state="playing"] .kakoi-hero__play-icon::before {
	width: 4px;
	height: 13px;
	border-width: 0 4px;
	border-color: currentColor;
	transform: translate(-50%, -50%);
}

@media (max-width: 1200px) {
	.home .kakoi-hero > .kakoi-hero__play { margin: 0 0 13px 13px; }
}

/* 2026-10-12 なるさん指示: SP の動画の上の詩を、もう少し上へ（下の余白 22% → 35%・上限 132px。
 * 幅に比例する指定だけだと 600px を超える SP で上端へ寄りすぎるので、上限をつけ、従来の 22% より下げない。TAB は変えない） */
@media (max-width: 767px) {
	.home .kakoi-hero__lines { padding-bottom: max(22%, min(35%, 132px)); }
}
