/* wp-content/themes/swell_child/style.css */

/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/


/* wp-content/themes/swell_child/css/custom.css */
/* =============================================
   Pallet Buzen - 共通スタイル（全ページ・PC基準）
   ============================================= */

/* Custom Fonts */


@font-face {
	font-family: "Chela One";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("https://palettebuzen.com/wp-content/themes/swell_child/fonts/chela-one-latin-regular.woff2") format("woff2");
}

/* Color Variables */
:root {
	--c-base: #f3f0ea;
	--c-wood: #4a3b32;
	--c-matcha: #7a8c53;
	--c-indigo: #2e4b71;
	--c-mustard: #d6ae36;
	--c-madder: #b34235;
	--c-text: #333333;
	--c-black: #382710;
	--c-white: #ffffff;

	/* アクセントカラー（カラフル） */
	--c-accent-1: #E4ABCC;
	--c-accent-2: #F5E04B;
	--c-accent-3: #83ACCA;
	--c-accent-4: #AFD9BD;
	--c-accent-5: #DE687D;
}

/* Typography Variables */
:root {
	/* フォントファミリー（ゴシック体統一） */
	--f-sans: "Zen Kaku Gothic New", sans-serif;
	--f-serif: "Zen Kaku Gothic New", sans-serif;
	--f-display: "Chela One", "Arial Rounded MT Bold", "Trebuchet MS", sans-serif;

	/* フォントサイズ */
	--fs-2xs: 0.625rem;
	/* 10px */
	--fs-xs: 0.75rem;
	/*  12px */
	--fs-sm: 0.875rem;
	/*  14px */
	--fs-base: 1rem;
	/*  16px */
	--fs-md: 1.125rem;
	/*  18px */
	--fs-lg: 1.25rem;
	/*  20px */
	--fs-xl: 1.5rem;
	/*  24px */
	--fs-2xl: 1.875rem;
	/*  30px */
	--fs-3xl: 2.25rem;
	/*  36px */

	/* 行間 */
	--lh-tight: 1.5;
	--lh-normal: 1.75;
	--lh-loose: 2;

	/* 字間 */
	--ls-tight: 0.02em;
	--ls-normal: 0.05em;
	--ls-wide: 0.1em;
	--ls-wider: 0.15em;

	/* 余白（8の倍数） */
	--sp-xs: 8px;
	--sp-sm: 16px;
	--sp-md: 24px;
	--sp-lg: 32px;
	--sp-xl: 48px;
	--sp-2xl: 64px;
	--sp-3xl: 96px;
}

/* Typography Base */
body {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 400;
	line-height: var(--lh-loose);
	letter-spacing: var(--ls-normal);
	color: var(--c-text);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
	padding-bottom: env(safe-area-inset-bottom);
	opacity: 1;
	transition: opacity 0.3s ease;
}

body.is-page-leaving {
	opacity: 0;
}

/* アンカーリンクの固定ヘッダー被り対策 */
html {
	scroll-behavior: auto;
	scroll-padding-top: 80px;
	overflow-x: hidden;
}

/* 画像レスポンシブ対応 */
img {
	max-width: 100%;
	height: auto;
}

/* タッチターゲット最低サイズ確保（ボタン・メニューリンク） */
.c-btn,
button {
	min-height: 44px;
}

h1 {
	font-family: var(--f-serif);
	font-size: var(--fs-3xl);
	font-weight: 700;
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-wider);
	color: #fff;
}

h2 {
	font-family: var(--f-serif);
	font-size: var(--fs-2xl);
	font-weight: 700;
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-wide);
	color: var(--c-wood);
}

h3 {
	font-family: var(--f-serif);
	font-size: var(--fs-xl);
	font-weight: 700;
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-normal);
	color: var(--c-wood);
}

h4 {
	font-family: var(--f-sans);
	font-size: var(--fs-lg);
	font-weight: 700;
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-normal);
	color: var(--c-text);
}

h5 {
	font-family: var(--f-sans);
	font-size: var(--fs-md);
	font-weight: 700;
	line-height: var(--lh-tight);
	letter-spacing: var(--ls-normal);
	color: var(--c-text);
}

/* Section（各セクション共通） */
section {
	padding: 56px 0;
}

/* Section Header（各セクションの見出しブロック） */
.p-section-header {
	text-align: center;
	margin-bottom: 32px;
}

/* Section Label（各セクションの英字ラベル） */
.p-section-label {
	font-family: var(--f-display);
	font-size: 5rem;
	line-height: 1;
	margin: 0;
}

.p-section-label .c-color-1 {
	color: var(--c-accent-1);
}

.p-section-label .c-color-2 {
	color: var(--c-accent-2);
}

.p-section-label .c-color-3 {
	color: var(--c-accent-3);
}

.p-section-label .c-color-4 {
	color: var(--c-accent-4);
}

.p-section-label .c-color-5 {
	color: var(--c-accent-5);
}

.p-section-subtitle {
	font-family: var(--f-sans);
	font-size: var(--fs-lg);
}

.p-section-heading {
	font-family: var(--f-sans);
	font-size: var(--fs-2xl);
}

/* Utility */

/* 画面幅いっぱいのセクション */
.u-full-width {
	width: 100vw;
	margin-left: calc(50% - 50vw);
}

/* 横幅制限付きのインナーコンテナ（1200px） */
.u-container {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--sp-sm);
	padding-right: var(--sp-sm);
}

.font-noto-serif {
	font-family: var(--f-serif);
}

.font-noto-sans {
	font-family: var(--f-sans);
}

.no-scrollbar::-webkit-scrollbar {
	display: none;
}

.no-scrollbar {
	-ms-overflow-style: none;
	scrollbar-width: none;
}

/* -----------------------------------------------
   c-wave（波線デコレーション）
   Usage: [pallet_wave] / [pallet_wave flip="true"]
----------------------------------------------- */
.c-wave {
	line-height: 0;
	width: 100%;
}

.c-wave img {
	width: 100%;
	display: block;
}

/* -----------------------------------------------
   c-btn（ボタンコンポーネント）
   Figma: node 68-6183
   共通: 250px幅, 8px padding, 8px border-radius
         Zen Kaku Gothic New Medium 16px, var(--c-black)
----------------------------------------------- */
.c-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 250px;
	padding: var(--sp-xs) var(--sp-sm);
	border-radius: 8px;
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	color: var(--c-black);
	letter-spacing: 0.05em;
	line-height: 1.8;
	text-decoration: none;
	transition: background-color 0.4s ease;
	border: none;
	cursor: pointer;
	transition: opacity 0.2s;
}

.c-btn:hover {
	color: var(--c-black);
}

.c-btn--positive:hover {
	background-color: #f0d832;
}

.c-btn--outline:hover {
	background-color: #f5f0e8;
}

.c-btn--negative:hover {
	background-color: #cacaca;
}

.c-btn--positive::after,
.c-btn--outline::after {
	transition: transform 0.2s ease;
}

.c-btn--positive:hover::after,
.c-btn--outline:hover::after {
	transform: translateX(4px);
}

.c-btn--negative::before {
	transition: transform 0.2s ease;
}

.c-btn--negative:hover::before {
	transform: translateX(-4px);
}

/* ポジティブ：黄色塗り・右矢印 */
.c-btn--positive {
	background-color: #F5E04B;
}

/* ── キラーンエフェクト（黄色ボタン共通） ── */
.c-shine-btn {
	position: relative;
	overflow: hidden;
}

.c-shine-btn::before {
	content: "";
	position: absolute;
	top: 0;
	left: -100%;
	width: 60%;
	height: 100%;
	background: linear-gradient(105deg,
			rgba(255, 255, 255, 0) 0%,
			rgba(255, 255, 255, 0) 35%,
			rgba(255, 255, 255, 0.7) 50%,
			rgba(255, 255, 255, 0) 65%,
			rgba(255, 255, 255, 0) 100%);
	animation: btn-shine 3s ease-in-out infinite;
	pointer-events: none;
	z-index: 1;
}

@keyframes btn-shine {
	0% {
		left: -100%;
	}

	20% {
		left: 150%;
	}

	100% {
		left: 150%;
	}
}

.c-btn--positive::after {
	content: "›";
	font-size: 1.4em;
	line-height: 1;
}

/* アウトライン：白地・ダークブラウン枠・右矢印 */
.c-btn--outline {
	background-color: var(--c-white);
	border: 2px solid var(--c-black);
}

.c-btn--outline::after {
	content: "›";
	font-size: 1.4em;
	line-height: 1;
}

/* アウトライン黄：白地・黄色枠（内側）・右矢印 */
.c-btn--outline-yellow {
	background-color: var(--c-white);
	border: none;
	box-shadow: inset 0 0 0 2px var(--c-mustard);
}

.c-btn--outline-yellow::after {
	content: "›";
	font-size: 1.4em;
	line-height: 1;
}

.c-btn--outline-yellow:hover {
	background-color: #fdf8e1;
}

.c-btn--outline-yellow::after {
	transition: transform 0.2s ease;
}

.c-btn--outline-yellow:hover::after {
	transform: translateX(4px);
}

/* ネガティブ：グレー塗り・左矢印（戻る） */
.c-btn--negative {
	background-color: #E1E1E1;
}

.c-btn--negative::before {
	content: "‹";
	font-size: 1.4em;
	line-height: 1;
}

/* 作戦会議中：グレー塗り・テキストのみ */
.c-btn--pending {
	background-color: #E1E1E1;
	color: var(--c-black);
	cursor: pointer;
}

.c-btn--pending:hover {
	background-color: #cacaca;
}

/* -----------------------------------------------
   パンくずリスト（全ページ非表示）
----------------------------------------------- */
#breadcrumb {
	display: none !important;
}

/* -----------------------------------------------
   p-footer（フッター）
   Figma: node 144-6188
----------------------------------------------- */












/* -----------------------------------------------
   グローバル（全幅共通）
----------------------------------------------- */
html {
	-webkit-text-size-adjust: 100%;
}

body {
	word-break: break-all;
	overflow-wrap: break-word;
}

/* ============================================
   Tablet（〜1024px）
   ============================================ */
@media (max-width: 1024px) {
	:root {
		--fs-3xl: 2rem;
		--fs-2xl: 1.625rem;
		--fs-xl: 1.375rem;
		--fs-lg: 1.125rem;
		--sp-3xl: 72px;
		--sp-2xl: 48px;
		--sp-xl: 40px;
	}

	section {
		padding: 48px 0;
	}

	.p-section-label {
		font-size: 3.75rem;
	}

	.p-section-header {
		margin-bottom: var(--sp-lg);
	}

	.u-container {
		padding-left: var(--sp-md);
		padding-right: var(--sp-md);
	}
}


/* ============================================
   Smartphone（〜767px）
   ============================================ */
@media (max-width: 767px) {
	:root {
		--fs-3xl: 1.75rem;
		--fs-2xl: 1.5rem;
		--fs-xl: 1.25rem;
		--fs-lg: 1.125rem;
		--fs-md: 1rem;
		--lh-loose: 1.9;
		--lh-normal: 1.75;
		--lh-tight: 1.45;
		--sp-3xl: 56px;
		--sp-2xl: 48px;
		--sp-xl: 32px;
		--sp-lg: 24px;
	}

	body {
		letter-spacing: 0.03em;
	}

	section {
		padding: 40px 0;
	}

	.p-section-header {
		margin-bottom: var(--sp-lg);
	}

	.p-section-label {
		font-size: 2.75rem;
		line-height: 1;
	}

	.p-section-subtitle {
		font-size: var(--fs-base);
	}

	.p-section-heading {
		font-size: var(--fs-xl);
	}

	.u-container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.c-btn {
		width: 100%;
		max-width: 320px;
		padding: var(--sp-xs) var(--sp-sm);
		font-size: var(--fs-base);
	}

	

	

	

	
}


/* ============================================
   小型スマホ（〜374px）
   ============================================ */
@media (max-width: 374px) {
	:root {
		--fs-3xl: 1.5rem;
		--fs-2xl: 1.25rem;
	}

	.p-section-label {
		font-size: 2.25rem;
	}

	.u-container {
		padding-left: 16px;
		padding-right: 16px;
	}
}

/* =============================================
   共通：テキストページ見出し
   ============================================= */

.c-text-page-heading {
	margin-top: var(--sp-lg);
}

.cf-turnstile {
	display: block;
}

/* wp-content/themes/swell_child/css/custom_front.css */
/* =============================================
   Pallet Buzen - フロントページ専用スタイル
   ============================================= */

#content {
	margin-bottom: 0 !important;
}

/* FVロゴh1：レイアウトに影響させない */
.p-fv__logo-heading {
	margin: 0;
	padding: 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: 0;
	display: contents;
}

/* -----------------------------------------------
   ヘッダー切り替え
   ※ SWELLヘッダーはheader.phpでフロントページのみスキップ済み
----------------------------------------------- */

/* タブレット・スマホ: PCサイドナビを非表示 */
@media (max-width: 1024px) {

	.p-side-nav,
	.p-fv__nav-col {
		display: none !important;
	}
}

/* PC（1025px以上）: カスタムSPヘッダー・メニューを非表示 */
@media (min-width: 1025px) {

	.p-sp-header,
	.p-sp-menu {
		display: none !important;
	}
}

/* -----------------------------------------------
   SWELL overrides（トップページのみ）
----------------------------------------------- */
.l-wrap,
.l-main,
.l-main__content,
.l-mainContent,
.l-mainContent__inner,
.l-content,
.l-container,
#main_content {
	padding-top: 0 !important;
	margin-top: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
	width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* -----------------------------------------------
   サイドナビ表示ページ: 1440px未満の表示領域調整
   背景は全幅のまま、メニューを除いた表示領域で中身を中央揃え
----------------------------------------------- */
@media (min-width: 1025px) and (max-width: 1439px) {
	#body_wrap.has-pallet-side-nav {
		--p-side-nav-reserve: 120px;
		--p-side-nav-expanded-reserve: clamp(260px, 21vw, 300px);
		--p-side-nav-edge-gap: var(--sp-sm);
		--p-side-nav-container-max: 1200px;
		--p-side-nav-content-width: min(
			var(--p-side-nav-container-max),
			calc(100vw - var(--p-side-nav-reserve) - (var(--p-side-nav-edge-gap) * 2))
		);
		--p-side-nav-content-margin: calc(
			(100vw - var(--p-side-nav-reserve) - var(--p-side-nav-content-width)) / 2
		);
	}

	#body_wrap.has-pallet-side-nav .u-container,
	#body_wrap.has-pallet-side-nav .p-news__inner,
	#body_wrap.has-pallet-side-nav .p-contact-form__inner,
	#body_wrap.has-pallet-side-nav .p-contact-thanks__inner,
	#body_wrap.has-pallet-side-nav .p-privacy__inner,
	#body_wrap.has-pallet-side-nav .p-oshigoto-hero__text,
	#body_wrap.has-pallet-side-nav .p-kodomo-hero h1,
	#body_wrap.has-pallet-side-nav .p-oshigoto-insta__inner,
	#body_wrap.has-pallet-side-nav .p-oshigoto-about__inner,
	#body_wrap.has-pallet-side-nav .p-oshigoto-features__inner,
	#body_wrap.has-pallet-side-nav .p-oshigoto-voice__inner,
	#body_wrap.has-pallet-side-nav .p-oshigoto-flow__inner,
	#body_wrap.has-pallet-side-nav .p-oshigoto-faq__inner {
		box-sizing: border-box;
		width: var(--p-side-nav-content-width) !important;
		max-width: none !important;
		margin-left: calc(var(--p-side-nav-reserve) + var(--p-side-nav-content-margin)) !important;
		margin-right: var(--p-side-nav-content-margin) !important;
	}

	#body_wrap.has-pallet-side-nav .p-news__inner {
		--p-side-nav-container-max: 850px;
	}

	#body_wrap.has-pallet-side-nav .p-contact-form__inner,
	#body_wrap.has-pallet-side-nav .p-contact-thanks__inner {
		--p-side-nav-container-max: 782px;
	}

	#body_wrap.has-pallet-side-nav .p-privacy__inner {
		--p-side-nav-container-max: 800px;
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-hero__text,
	#body_wrap.has-pallet-side-nav .p-kodomo-hero h1,
	#body_wrap.has-pallet-side-nav .p-oshigoto-insta__inner,
	#body_wrap.has-pallet-side-nav .p-oshigoto-about__inner,
	#body_wrap.has-pallet-side-nav .p-oshigoto-features__inner,
	#body_wrap.has-pallet-side-nav .p-oshigoto-voice__inner,
	#body_wrap.has-pallet-side-nav .p-oshigoto-flow__inner,
	#body_wrap.has-pallet-side-nav .p-oshigoto-faq__inner {
		--p-side-nav-container-max: 1096px;
	}

	#body_wrap.has-pallet-side-nav .p-contact-hero__badge,
	#body_wrap.has-pallet-side-nav .p-oshigoto-hero__badge {
		padding-left: calc(var(--p-side-nav-reserve) + var(--sp-md)) !important;
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-hero__badge {
		left: 0;
		padding-left: calc(var(--p-side-nav-expanded-reserve) + var(--sp-md)) !important;
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-insta__inner {
		padding-left: max(
			var(--sp-sm),
			calc(
				var(--p-side-nav-expanded-reserve) -
				(var(--p-side-nav-reserve) + var(--p-side-nav-content-margin)) +
				var(--sp-md)
			)
		) !important;
	}

	#body_wrap.has-pallet-side-nav .p-services__row {
		box-sizing: border-box;
		padding-left: var(--p-side-nav-reserve);
	}

	#body_wrap.has-pallet-side-nav .p-access__map {
		box-sizing: border-box;
		width: auto;
		margin-left: var(--p-side-nav-reserve);
	}

	#body_wrap.has-pallet-side-nav .p-fv__layout {
		position: absolute;
		inset: 0;
		display: block;
		height: 100%;
	}

	#body_wrap.has-pallet-side-nav .p-fv__copy {
		position: absolute;
		left: var(--p-side-nav-reserve);
		right: var(--sp-xl);
		bottom: 0;
		width: auto;
		height: 100%;
		box-sizing: border-box;
		display: flex;
		justify-content: flex-end;
		align-items: flex-end;
		padding-bottom: clamp(16px, 4vh, 40px);
	}

	#body_wrap.has-pallet-side-nav .p-fv__copy-inner {
		width: 100%;
		align-items: flex-end;
	}

	#body_wrap.has-pallet-side-nav .p-fv__copy-img {
		width: min(50vw, 560px);
		max-width: 100%;
	}
}

/* Shared rounded backgrounds: news and rounded activity-case sections. */
.c-service-rounded-surface {
	box-sizing: border-box;
	border-radius: 144px 144px 0 0;
}
@media (max-width: 767px) {
	.c-service-rounded-surface { border-radius: 48px 48px 0 0; }
}

/* Keep rounded surfaces stationary when the fixed menu expands. */
@media (min-width: 1025px) {
	#body_wrap.has-pallet-side-nav {
		--p-side-nav-expanded-reserve: clamp(260px, 21vw, 300px);
	}

	#body_wrap.has-pallet-side-nav .c-service-cases:not(.c-service-rounded-surface) {
		box-sizing: border-box;
		width: 100%;
		margin-left: 0;
	}

	#body_wrap.has-pallet-side-nav .c-service-cases:not(.c-service-rounded-surface) .c-service-section-heading {
		box-sizing: border-box;
		transform: translateX(calc(var(--p-side-nav-reserve) / 2));
	}

	#body_wrap.has-pallet-side-nav .c-service-rounded-surface {
		box-sizing: border-box;
		width: calc(100% - var(--p-side-nav-reserve, 120px));
		margin-left: var(--p-side-nav-reserve, 120px);
	}

	#body_wrap.has-pallet-side-nav .c-service-news__inner {
		box-sizing: border-box;
		transform: none;
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-insta,
	#body_wrap.has-pallet-side-nav .p-kodomo-instagram-strip {
		box-sizing: border-box;
		width: 100%;
		margin-left: 0;
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-insta__inner {
		box-sizing: border-box;
		width: 100% !important;
		max-width: none !important;
		margin-right: 0 !important;
		margin-left: 0 !important;
		padding-right: var(--sp-md) !important;
		padding-left: calc(var(--p-side-nav-expanded-reserve) + var(--sp-md)) !important;
	}

	#body_wrap.has-pallet-side-nav .p-kodomo-instagram-strip__inner {
		box-sizing: border-box;
		width: 100%;
		max-width: none;
		justify-content: flex-start;
		margin: 0;
		padding-right: var(--sp-md);
		padding-left: calc(var(--p-side-nav-expanded-reserve) + var(--sp-md));
	}
}


/* -----------------------------------------------
   p-front（mainラッパー）
----------------------------------------------- */
.p-front {
	background-color: var(--c-base);
	font-family: var(--f-sans);
	color: var(--c-text);
}

/* -----------------------------------------------
   p-fv（ファーストビュー）
----------------------------------------------- */
/* FV 共通（全サイズ） */
.p-fv {
	position: relative;
	overflow: hidden;
	width: 100%;
}

.p-fv__bg {
	position: absolute;
	inset: 0;
	z-index: 1;
	background-image: url("https://palettebuzen.com/wp-content/themes/swell_child/images/fv.jpg");
	background-size: cover;
	background-position: center;
	animation: fv-zoom 8s ease-out forwards;
}

@keyframes fv-zoom {
	0% {
		transform: scale(1.15);
	}

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

/* ── FV スライドショー ── */
.p-fv__slideshow {
	position: absolute;
	inset: 0;
	z-index: 1;
}

/* PC/SP出し分け */
.p-fv__slideshow--sp {
	display: none;
}

@media (max-width: 1024px) {
	.p-fv__slideshow--pc {
		display: none;
	}

	.p-fv__slideshow--sp {
		display: block;
	}
}

.p-fv__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transform: scale(1);
	transition: opacity 1.2s ease-in-out;
	will-change: opacity, transform;
}

.p-fv__slide-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.p-fv__slide.is-active {
	opacity: 1;
	animation: fv-slide-zoom 6.2s ease-out forwards;
}

@keyframes fv-slide-zoom {
	0% {
		transform: scale(1.08);
	}

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

/* ── 水彩イラスト（PNG画像モード） ── */
.p-fv__deco-left,
.p-fv__deco-right {
	position: absolute;
	object-fit: contain;
	z-index: 5;
	pointer-events: none;
}

/* ── 水彩アニメーション ── */
.p-fv__wc {
	position: absolute;
	width: 520px;
	height: 520px;
	z-index: 5;
	pointer-events: none;
}

.p-fv__wc--lt {
	top: -100px;
	left: -100px;
}

.p-fv__wc--rb {
	bottom: -100px;
	right: -100px;
}

/* 回転する軌道 */
.p-fv__wc-orbit {
	position: absolute;
	inset: 0;
}

/* 水彩のしずく */
.p-fv__wc-drop {
	position: absolute;
	border-radius: 50%;
	will-change: transform, opacity;
	contain: layout paint;
}

/* ── カラー（サイトのアクセントカラーに合わせたパステル） ── */
.p-fv__wc-drop--yellow {
	background: radial-gradient(circle, #F5E04B 35%, rgba(245, 224, 75, 0) 75%);
}

.p-fv__wc-drop--blue {
	background: radial-gradient(circle, #83ACCA 35%, rgba(131, 172, 202, 0) 75%);
}

.p-fv__wc-drop--pink {
	background: radial-gradient(circle, #E4ABCC 35%, rgba(228, 171, 204, 0) 75%);
}

.p-fv__wc-drop--orange {
	background: radial-gradient(circle, #F2B859 35%, rgba(242, 184, 89, 0) 75%);
}

.p-fv__wc-drop--green {
	background: radial-gradient(circle, #AFD9BD 35%, rgba(175, 217, 189, 0) 75%);
}

/* ── 左上の5色 ── */
.p-fv__wc-orbit--1 {
	animation: wc-spin 15s linear infinite;
}

.p-fv__wc-orbit--1 .p-fv__wc-drop {
	width: 260px;
	height: 260px;
	top: 10%;
	left: 5%;
	filter: blur(50px);
	opacity: 0.5;
	animation: wc-breathe 5s ease-in-out infinite alternate;
}

.p-fv__wc-orbit--2 {
	animation: wc-spin 22s linear infinite reverse;
}

.p-fv__wc-orbit--2 .p-fv__wc-drop {
	width: 200px;
	height: 200px;
	top: 40%;
	left: 50%;
	filter: blur(55px);
	opacity: 0.45;
	animation: wc-breathe 7s ease-in-out infinite alternate;
}

.p-fv__wc-orbit--3 {
	animation: wc-spin 18s linear infinite;
}

.p-fv__wc-orbit--3 .p-fv__wc-drop {
	width: 180px;
	height: 180px;
	bottom: 5%;
	right: 10%;
	filter: blur(45px);
	opacity: 0.4;
	animation: wc-breathe 6s ease-in-out infinite alternate;
}

.p-fv__wc-orbit--4 {
	animation: wc-spin 25s linear infinite reverse;
}

.p-fv__wc-orbit--4 .p-fv__wc-drop {
	width: 220px;
	height: 220px;
	top: 5%;
	right: 5%;
	filter: blur(60px);
	opacity: 0.45;
	animation: wc-breathe 4s ease-in-out infinite alternate;
}

.p-fv__wc-orbit--5 {
	animation: wc-spin 20s linear infinite;
}

.p-fv__wc-orbit--5 .p-fv__wc-drop {
	width: 150px;
	height: 150px;
	bottom: 20%;
	left: 30%;
	filter: blur(40px);
	opacity: 0.4;
	animation: wc-breathe 8s ease-in-out infinite alternate;
}

/* ── 右下の5色 ── */
.p-fv__wc-orbit--6 {
	animation: wc-spin 17s linear infinite reverse;
}

.p-fv__wc-orbit--6 .p-fv__wc-drop {
	width: 250px;
	height: 250px;
	bottom: 5%;
	right: 5%;
	filter: blur(55px);
	opacity: 0.5;
	animation: wc-breathe 5s ease-in-out infinite alternate;
}

.p-fv__wc-orbit--7 {
	animation: wc-spin 20s linear infinite;
}

.p-fv__wc-orbit--7 .p-fv__wc-drop {
	width: 200px;
	height: 200px;
	bottom: 30%;
	left: 10%;
	filter: blur(50px);
	opacity: 0.45;
	animation: wc-breathe 6s ease-in-out infinite alternate;
}

.p-fv__wc-orbit--8 {
	animation: wc-spin 24s linear infinite reverse;
}

.p-fv__wc-orbit--8 .p-fv__wc-drop {
	width: 190px;
	height: 190px;
	top: 10%;
	right: 20%;
	filter: blur(50px);
	opacity: 0.4;
	animation: wc-breathe 7s ease-in-out infinite alternate;
}

.p-fv__wc-orbit--9 {
	animation: wc-spin 14s linear infinite;
}

.p-fv__wc-orbit--9 .p-fv__wc-drop {
	width: 170px;
	height: 170px;
	top: 5%;
	left: 15%;
	filter: blur(45px);
	opacity: 0.45;
	animation: wc-breathe 4s ease-in-out infinite alternate;
}

.p-fv__wc-orbit--10 {
	animation: wc-spin 28s linear infinite reverse;
}

.p-fv__wc-orbit--10 .p-fv__wc-drop {
	width: 160px;
	height: 160px;
	bottom: 15%;
	right: 35%;
	filter: blur(40px);
	opacity: 0.4;
	animation: wc-breathe 9s ease-in-out infinite alternate;
}

/* ── キーフレーム ── */
@keyframes wc-spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@keyframes wc-breathe {
	0% {
		opacity: 0.35;
		transform: scale(0.94);
	}

	100% {
		opacity: 0.55;
		transform: scale(1.06);
	}
}

.p-fv__layout {
	position: relative;
	z-index: 10;
	width: 100%;
}

.p-fv__copy-img {
	filter:
		drop-shadow(0 2px 4px rgba(30, 12, 2, 0.85)) drop-shadow(0 6px 16px rgba(30, 12, 2, 0.65)) drop-shadow(0 14px 36px rgba(30, 12, 2, 0.45)) drop-shadow(0 24px 60px rgba(30, 12, 2, 0.25));
}

/* FV PC専用（1025px以上） */
@media (min-width: 1025px) {
	.p-fv {
		height: 100vh;
	}

	.p-fv__deco-left {
		left: -64px;
		top: -100px;
		width: 400px;
	}

	.p-fv__deco-right {
		right: -110px;
		bottom: -60px;
		width: 400px;
	}

	.p-fv__logo {
		position: absolute;
		top: 0;
		right: 0;
		z-index: 10;
		pointer-events: none;
		width: 470px;
		margin-top: 0;
		filter:
			drop-shadow(0 2px 8px rgba(255, 255, 255, 0.9)) drop-shadow(0 6px 20px rgba(255, 255, 255, 0.75)) drop-shadow(0 12px 40px rgba(255, 255, 255, 0.55)) drop-shadow(0 20px 64px rgba(255, 255, 255, 0.35));
	}

	.p-fv__layout {
		display: flex;
		height: 100vh;
	}

	.p-fv__nav-col {
		width: 20vw;
		flex-shrink: 0;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.p-fv__copy {
		position: relative;
		width: 60vw;
		flex-shrink: 0;
		display: flex;
		align-items: flex-end;
		padding-bottom: clamp(16px, 4vh, 40px);
	}

	.p-fv__copy-inner {
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		align-items: flex-start;
		height: 100%;
		padding-bottom: 88px;
	}
}

/* -----------------------------------------------
   p-side-nav（サイドナビカード・PC専用）
----------------------------------------------- */
.p-side-nav {
	position: fixed;
	top: 72px;
	left: 16px;
	z-index: 9999;
}

.p-side-nav__card {
	background: var(--c-white);
	border-radius: 16px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	padding: var(--sp-sm);
	display: inline-flex;
	flex-direction: column;
	gap: 0;
}

.p-side-nav__logo {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: var(--sp-md);
	padding-bottom: var(--sp-sm);
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.p-side-nav__logo img,
.p-side-nav__logo-img {
	width: 113px;
	height: auto;
	display: block;
	transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- 縮小状態 ---- */
.p-side-nav.is-shrunk .p-side-nav__logo {
	margin-bottom: var(--sp-xs);
	padding-bottom: var(--sp-xs);
	border-bottom-color: transparent;
}

.p-side-nav.is-shrunk .p-side-nav__logo img,
.p-side-nav.is-shrunk .p-side-nav__logo-img {
	width: 48px;
}

.p-side-nav.is-shrunk .p-side-nav__text {
	width: 0;
	opacity: 0;
}

/* ---- ホバーで元に戻す（CSS :hover + JS .is-hovered 両対応） ---- */
.p-side-nav.is-shrunk:hover .p-side-nav__logo,
.p-side-nav.is-shrunk.is-hovered .p-side-nav__logo {
	margin-bottom: var(--sp-md);
	padding-bottom: var(--sp-sm);
	border-bottom-color: rgba(0, 0, 0, 0.08);
}

.p-side-nav.is-shrunk:hover .p-side-nav__logo img,
.p-side-nav.is-shrunk:hover .p-side-nav__logo-img,
.p-side-nav.is-shrunk.is-hovered .p-side-nav__logo img,
.p-side-nav.is-shrunk.is-hovered .p-side-nav__logo-img {
	width: 113px;
}

.p-side-nav.is-shrunk:hover .p-side-nav__text,
.p-side-nav.is-shrunk.is-hovered .p-side-nav__text {
	width: auto;
	opacity: 1;
}

.p-side-nav__logo-text {
	font-size: var(--fs-sm);
	font-weight: 700;
	color: var(--c-wood);
	letter-spacing: 0.05em;
}

.p-side-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: var(--sp-xs);
}

.p-side-nav__item {
	margin: 0;
}

.p-side-nav__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-xs);
	text-decoration: none;
	padding: var(--sp-xs);
	border-radius: 8px;
	transition: background 0.2s;
	white-space: nowrap;
}

.p-side-nav__link:hover {
	background: rgba(0, 0, 0, 0.04);
}

.p-side-nav__icon {
	width: 25px;
	height: 25px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--c-white);
}

.p-side-nav__icon--calendar {
	background: var(--c-accent-3);
}

.p-side-nav__icon--heart {
	background: var(--c-accent-1);
}

.p-side-nav__icon--store {
	background: var(--c-accent-4);
}

.p-side-nav__icon--news {
	background: var(--c-accent-2);
	color: var(--c-wood);
}

.p-side-nav__icon--mail {
	background: var(--c-wood);
}

.p-side-nav__icon--access {
	background: var(--c-accent-5);
}

.p-side-nav__icon--visit {
	background: #6f8c72;
}

/* PC: 視察申し込みへの追従タブ */
.p-visit-fixed-cta-wrap {
	position: fixed;
	right: 0;
	bottom: 112px;
	z-index: 90;
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.p-visit-fixed-cta-wrap[hidden] {
	display: none !important;
}

.p-visit-fixed-cta-wrap.is-dismissing {
	opacity: 0;
	transform: translateX(100%);
}

.p-visit-fixed-cta {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 72px;
	padding: 12px 14px 12px 16px;
	border: 2px solid var(--c-accent-2);
	border-right: 0;
	border-radius: 14px 0 0 14px;
	background: var(--c-accent-2);
	color: var(--c-wood);
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(56, 39, 16, 0.16);
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.p-visit-fixed-cta__close {
	position: absolute;
	top: -14px;
	left: -15px;
	z-index: 2;
	width: 32px;
	height: 32px;
	min-width: 32px;
	max-width: 32px;
	min-height: 32px;
	max-height: 32px;
	display: grid;
	place-items: center;
	margin: 0;
	padding: 0;
	border: 1px solid rgba(56, 39, 16, 0.24);
	border-radius: 50%;
	background: var(--c-white);
	color: var(--c-wood);
	box-shadow: 0 3px 9px rgba(56, 39, 16, 0.18);
	box-sizing: border-box;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease, transform 0.2s ease;
}

.p-visit-fixed-cta__close:hover {
	background: var(--c-base);
	transform: scale(1.06);
}

.p-visit-fixed-cta__close:focus-visible {
	outline: 3px solid rgba(131, 172, 202, 0.7);
	outline-offset: 3px;
}

.p-visit-fixed-cta:hover {
	background: var(--c-white);
	color: var(--c-wood);
	transform: translateX(-4px);
}

.p-visit-fixed-cta:focus-visible {
	outline: 3px solid rgba(131, 172, 202, 0.7);
	outline-offset: 3px;
}

.p-visit-fixed-cta__icon {
	width: 38px;
	height: 38px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--c-white);
	flex: 0 0 auto;
	transition: background-color 0.2s ease;
}

.p-visit-fixed-cta:hover .p-visit-fixed-cta__icon {
	background: var(--c-accent-2);
}

.p-visit-fixed-cta__copy {
	display: grid;
	gap: 1px;
}

.p-visit-fixed-cta__copy small,
.p-visit-fixed-cta__copy strong {
	display: block;
	line-height: 1.4;
	letter-spacing: 0;
}

.p-visit-fixed-cta__copy small {
	font-size: 11px;
	font-weight: 700;
}

.p-visit-fixed-cta__copy strong {
	font-size: 15px;
}

.p-visit-fixed-cta__arrow {
	flex: 0 0 auto;
}

/* -----------------------------------------------
   p-services-dropdown（事業紹介ホバードロップダウン）
----------------------------------------------- */
.p-side-nav__item--has-dropdown {
	position: relative;
}

.p-services-dropdown {
	position: absolute;
	top: -20px;
	left: calc(100% + 12px);
	width: 272px;
	background: var(--c-white);
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
	padding: var(--sp-sm);
	opacity: 0;
	pointer-events: none;
	transform: translateX(-8px);
	transition: opacity 0.25s ease, transform 0.25s ease;
	transition-delay: 0.15s;
	z-index: 200;
}

/* ギャップを埋める透明ブリッジ */
.p-services-dropdown::before {
	content: "";
	position: absolute;
	top: 0;
	left: -14px;
	width: 14px;
	height: 100%;
}

.p-side-nav__item--has-dropdown:hover .p-services-dropdown {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(0);
	transition-delay: 0s;
}

/* 左向き三角カレット */
.p-services-dropdown__caret {
	position: absolute;
	top: 38px;
	left: -8px;
	width: 0;
	height: 0;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
	border-right: 8px solid var(--c-white);
}

/* ヘッダー */
.p-services-dropdown__header {
	display: flex;
	align-items: center;
	gap: var(--sp-xs);
	margin-bottom: var(--sp-sm);
}

.p-services-dropdown__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--c-accent-4);
	color: var(--c-wood);
	flex-shrink: 0;
}

.p-services-dropdown__title {
	font-family: var(--f-sans);
	font-size: var(--fs-md);
	font-weight: 700;
	letter-spacing: 0.05em;
	color: var(--c-black);
}

/* リスト */
.p-services-dropdown__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0;
}

.p-services-dropdown__group,
.p-services-dropdown__item {
	display: flex;
	align-items: flex-start;
	gap: var(--sp-xs);
	min-height: 54px;
	padding: var(--sp-xs) 0;
}

.p-services-dropdown__group {
	flex-direction: column;
	gap: var(--sp-xs);
}

.p-services-dropdown__category {
	display: inline-block;
	font-family: var(--f-sans);
	font-size: var(--fs-2xs);
	font-weight: 700;
	letter-spacing: 0.08em;
	color: var(--c-black);
	margin: 0 0 0 var(--sp-sm);
	background-color: var(--c-accent-4);
	padding: 2px var(--sp-xs);
	border-radius: 120px;
	line-height: 1.4;
}

.p-services-dropdown__group .p-services-dropdown__item {
	border-top: none;
	padding: 0;
	min-height: auto;
}

.p-services-dropdown__bullet {
	font-size: var(--fs-base);
	font-weight: 700;
	color: var(--c-wood);
	flex-shrink: 0;
	line-height: 1.5;
}

.p-services-dropdown__item-title {
	font-family: var(--f-sans);
	font-size: var(--fs-sm);
	font-weight: 700;
	color: var(--c-black);
	margin: 0;
	line-height: 1.5;
}

.p-services-dropdown__item--disabled {
	opacity: 0.35;
	cursor: not-allowed;
	pointer-events: none;
}

a.p-services-dropdown__item--link {
	text-decoration: none;
	color: inherit;
}

a.p-services-dropdown__item--link:hover {
	opacity: 0.7;
}

/* サブリンク */
.p-services-dropdown__sublinks {
	display: flex;
	flex-direction: column;
	gap: var(--sp-xs);
	padding: var(--sp-xs) 0 0 0;
}

.p-services-dropdown__sublink {
	font-family: var(--f-sans);
	font-size: var(--fs-xs);
	font-weight: 500;
	color: var(--c-black);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: var(--sp-xs);
}

.p-services-dropdown__sublink::before {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background-color: var(--c-wood);
	flex-shrink: 0;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.p-services-dropdown__sublink:hover::before {
	opacity: 1;
}

.p-services-dropdown__sublink iconify-icon {
	transition: transform 0.2s ease;
}

.p-services-dropdown__sublink:hover iconify-icon {
	transform: translateX(4px);
}

/* アコーディオントグルボタン */
.p-services-dropdown__item--toggle {
	background: none;
	border: none;
	cursor: pointer;
	width: 100%;
	text-align: left;
	font: inherit;
	display: flex;
	align-items: center;
	gap: var(--sp-xs);
	padding: 0;
}

.p-services-dropdown__bullet--toggle {
	display: inline-block;
	transition: transform 0.3s ease;
}

.p-services-dropdown__item--toggle[aria-expanded="true"] .p-services-dropdown__bullet--toggle {
	transform: rotate(90deg);
}

/* サブリンクのアコーディオンラップ */
.p-services-dropdown__sublinks-wrap {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.p-services-dropdown__sublinks-wrap.is-open {
	max-height: 200px;
}

.p-side-nav__text {
	font-size: var(--fs-sm);
	font-weight: 700;
	color: var(--c-wood);
	letter-spacing: 0.05em;
	white-space: nowrap;
	overflow: hidden;
	flex: 1;
	text-align: left;
	transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.35s ease;
}

.p-side-nav__arrow {
	font-size: var(--fs-md);
	font-weight: 700;
	color: var(--c-wood);
	opacity: 1;
	white-space: nowrap;
	overflow: hidden;
	transition: width 0.45s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.35s ease;
}

/* -----------------------------------------------
   p-gallery-ticker（フォトギャラリー横スクロール）
----------------------------------------------- */
.p-gallery-ticker {
	background-color: #ffffff;
	overflow: hidden;
	padding: 0;
}

.p-gallery-ticker__track {
	display: flex;
	width: max-content;
	animation: gallery-ticker-scroll 24s linear infinite;
}

.p-gallery-ticker__item {
	flex-shrink: 0;
	width: clamp(160px, 25vw, 321px);
	height: clamp(160px, 25vw, 321px);
}

.p-gallery-ticker__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@keyframes gallery-ticker-scroll {
	0% {
		transform: translateX(0);
	}

	100% {
		transform: translateX(-50%);
	}
}

/* -----------------------------------------------
   p-services（事業内容）
----------------------------------------------- */
.p-services {
	background-color: var(--c-white);
}

/* セクションヘッダー */
.p-services__header {
	text-align: center;
	padding: var(--sp-3xl) 0 var(--sp-xl);
}

.p-services__header .p-section-label {
	margin-bottom: var(--sp-sm);
}

.p-services__header-title {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-sm);
}

.p-services__header-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background-color: var(--c-accent-4);
	color: var(--c-white);
	flex-shrink: 0;
}

.p-services__header-text {
	font-family: var(--f-sans);
	font-size: var(--fs-2xl);
	font-weight: 700;
	color: var(--c-wood);
	letter-spacing: var(--ls-normal);
	line-height: 1;
	margin: 0;
}

/* 各サービス行 */
.p-services__row {
	display: flex;
	min-height: 511px;
	background-color: var(--c-white);
	gap: var(--sp-2xl);
}

.p-services_wrap {
	gap: var(--sp-lg);
	display: flex;
	flex-direction: column;
}

/* 奇数行：テキスト左・画像右（デフォルト） */
/* 偶数行：画像左・テキスト右（reverseモディファイア） */
.p-services__row--reverse .p-services__text-col {
	order: 2;
}

.p-services__row--reverse .p-services__img-col {
	order: 1;
}

/* テキストカラム（Figma: 50%幅、内側にコンテンツを中央寄せ） */
.p-services__text-col {
	flex: 0 0 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: var(--sp-2xl) var(--sp-xl);

}


/* テキストコンテンツ（最大幅を制限して左揃え） */
.p-services__content {
	max-width: 422px;
	width: 100%;
	position: relative;
	background-image: url("https://palettebuzen.com/wp-content/themes/swell_child/images/suisai.png");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center center;
}

.p-services__content--2 {
	background-image: url("https://palettebuzen.com/wp-content/themes/swell_child/images/suisai_2.png");
}

.p-services__content--3 {
	background-image: url("https://palettebuzen.com/wp-content/themes/swell_child/images/suisai_3.png");
}

.p-services__content--4 {
	background-image: url("https://palettebuzen.com/wp-content/themes/swell_child/images/sisai_4.png");
}

/* 小ラベル（サービス名） */
.p-services__label {
	display: block;
	font-size: var(--fs-sm);
	font-weight: 500;
	color: var(--c-matcha);
	letter-spacing: var(--ls-wide);
}

/* カテゴリタイトル（おしごとマッチング など） */
.p-services__title-group {
	display: flex;
	align-items: baseline;
	gap: var(--sp-xs);
	margin-bottom: var(--sp-sm);
}

.p-services__title-main {
	font-size: var(--fs-xl);
	font-weight: 700;
	color: var(--c-wood);
	letter-spacing: var(--ls-tight);
}

.p-services__title-sub {
	font-size: var(--fs-sm);
	color: var(--c-wood);
	font-weight: 400;
}

/* キャッチコピー（h3スタイル継承） */
.p-services__heading {
	font-size: var(--fs-lg);
	margin-bottom: var(--sp-xs);
	color: var(--c-wood) !important;
}

/* 本文 */
.p-services__body {
	font-size: var(--fs-base);
	line-height: var(--lh-loose);
	color: var(--c-text);
	margin-bottom: var(--sp-lg);
}

/* ボタングループ */
.p-services__btn-group {
	display: flex;
	flex-direction: column;
	gap: var(--sp-sm);
}

/* ボタン＋吹き出しラッパー */
.p-services__btn-wrap {
	display: inline-block;
	position: relative;
	padding-top: var(--sp-sm);
	width: 250px;
}

/* 吹き出し */
.p-services__balloon {
	display: inline-block;
	position: absolute;
	top: -6px;
	left: 50%;
	transform: translateX(-50%);
	white-space: nowrap;
	background-color: var(--c-white);
	color: var(--c-wood);
	font-family: var(--f-sans);
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: var(--ls-normal);
	padding: 0 var(--sp-sm);
	border-radius: 100px;
	border: 1.5px solid var(--c-wood);
	z-index: 1;
}

/* 画像カラム */
.p-services__img-col {
	flex: 0 0 50%;
	overflow: hidden;
	border-radius: 24px 0 0 24px;
	/* 通常行: 画像右→内側(左)を丸く */
}

.p-services__row--reverse .p-services__img-col {
	border-radius: 0 24px 24px 0;
	/* reverse行: 画像左→内側(右)を丸く */
}

.p-services__img-col img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* -----------------------------------------------
   p-news（Instagram / 最新情報）
----------------------------------------------- */
.p-news {
	background-color: var(--c-white);
	padding-top: var(--sp-3xl);
}

.p-news__bg {
	background-color: var(--c-base);
	border-radius: 80px 80px 0 0;
	padding: var(--sp-3xl) 0;
	position: relative;
}

/* 白背景：下部に絶対配置。heightで白の開始位置を調整 */
.p-news__white-bg {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 35%;
	background-color: var(--c-white);
	z-index: 0;
}

.p-news__inner {
	position: relative;
	z-index: 1;
	max-width: 850px;
	margin: 0 auto;
	padding: 0 var(--sp-md);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-xl);
}

.p-news__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-xs);
}

.p-news__header-title {
	display: flex;
	align-items: center;
	gap: var(--sp-sm);
}

.p-news__header-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--c-accent-2);
	color: var(--c-white);
}

.p-news__header-text {
	font-size: var(--fs-2xl);
	font-weight: 700;
	color: var(--c-wood);
	letter-spacing: var(--ls-normal);
	margin: 0;
}

.p-news__desc {
	max-width: 608px;
	text-align: center;
	display: flex;
	flex-direction: column;
	gap: var(--sp-sm);
}

.p-news__desc-heading {
	font-size: var(--fs-lg);
	font-weight: 700;
	color: var(--c-wood);
	letter-spacing: var(--ls-normal);
	margin: 0;
}

.p-news__desc-body {
	font-size: var(--fs-base);
	color: var(--c-wood);
	line-height: var(--lh-normal);
	margin: 0;
}

.p-news__grid {
	width: 100%;
}

/* SBI Instagram Feedプラグイン用上書き */
.p-news__grid #sb_instagram,
.p-news__grid .sbi {
	width: 100% !important;
	max-width: 100% !important;
}

.p-news__grid .sbi_photo_wrap {
	position: relative;
	padding-top: 100%; /* 1:1 アスペクト比 */
	overflow: hidden;
	border-radius: var(--sp-xs);
}

.p-news__grid .sbi_photo {
	position: absolute !important;
	inset: 0 !important;
	height: 100% !important;
	width: 100% !important;
	display: block;
}

.p-news__grid .sbi_photo img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	position: absolute;
	inset: 0;
}


.p-news__cell {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: var(--sp-xs);
}

.p-news__cell img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.p-news__cell:hover img {
	transform: scale(1.05);
}

.p-news__actions {
	display: flex;
	gap: var(--sp-sm);
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
}

.p-news__btn {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-xs);
	padding: 7px var(--sp-md);
	border-radius: 4px;
	font-size: 13px;
	line-height: 1.5;
	font-weight: 500;
	letter-spacing: var(--ls-normal);
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.p-news__btn:hover {
	opacity: 0.8;
}

.p-news__btn--dark {
	background-color: var(--c-text);
	color: var(--c-white);
}

.p-news__btn--instagram {
	background-color: var(--c-accent-3);
	color: var(--c-white);
}

/* -----------------------------------------------
   p-access（アクセス）
----------------------------------------------- */
.p-access {
	background-color: var(--c-white);
	padding: var(--sp-3xl) 0;
	display: flex;
	flex-direction: column;
	gap: var(--sp-xl);
}

/* ヘッダー（左右イラスト＋中央タイトル） */
.p-access__header {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: var(--sp-lg);
	padding-bottom: 0;
	margin-bottom: 0;
}

.p-access__header > .p-access__deco-right,
.p-access__header > picture {
	margin-bottom: -2px;
}

.p-access__header > picture > .p-access__deco-right {
	display: block;
}

/* PC: DOM順が heading→deco-wrap→deco-right なので order で元の並びに戻す */
@media (min-width: 1025px) {
	.p-access__deco-wrap {
		order: 1;
	}

	.p-access__heading-wrap {
		order: 2;
	}

	.p-access__header>.p-access__deco-right,
	.p-access__header>picture {
		order: 3;
	}
}

.p-access__deco-left,
.p-access__deco-right {
	width: 280px;
	height: auto;
	object-fit: contain;
	flex-shrink: 0;
}

.p-access__deco-wrap {
	position: relative;
	flex-shrink: 0;
	display: flex;
}

.p-access__deco-lottie {
	position: absolute;
	bottom: -33px;
	right: -10px;
	width: 110px;
	height: 110px;
	pointer-events: none;
}

.p-access__heading-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
}


.p-access__heading-row {
	display: flex;
	align-items: center;
	gap: var(--sp-sm);

}

.p-access__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--c-accent-5);
	color: var(--c-white);
	flex-shrink: 0;
}

.p-access__heading {
	font-size: var(--fs-2xl);
	font-weight: 700;
	color: var(--c-wood);
	letter-spacing: var(--ls-normal);
	margin: 0;
}

/* 地図（全幅） */
.p-access__map {
	width: 100%;
	line-height: 0;
}

.p-access__map iframe {
	width: 100%;
	height: 417px;
	border: 0;
	display: block;
}

/* 住所情報 */
.p-access__info {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-md);
	text-align: center;
}

.p-access__org-name {
	font-size: var(--fs-md);
	font-weight: 700;
	color: var(--c-wood);
	letter-spacing: var(--ls-normal);
	margin: 0;
}

.p-access__org-sub {
	font-size: var(--fs-base);
	color: var(--c-wood);
	letter-spacing: var(--ls-normal);
	margin: 0;
}

.p-access__table {
	display: flex;
	flex-direction: column;
	gap: var(--sp-xs);
	margin: 0;
}

.p-access__row {
	display: flex;
	align-items: center;
	gap: var(--sp-md);
}

.p-access__heading-wrap {
	padding-bottom: var(--sp-lg);
}

.p-access__label {
	font-size: var(--fs-base);
	font-weight: 700;
	color: var(--c-wood);
	letter-spacing: var(--ls-wide);
	width: 80px;
	flex-shrink: 0;
	text-align: left;
}

.p-access__value {
	font-size: var(--fs-base);
	color: var(--c-wood);
	letter-spacing: var(--ls-tight);
	text-align: left;
	margin: 0;
}

.p-access__map-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-xs);
	padding: var(--sp-xs) var(--sp-md);
	background-color: var(--c-wood);
	color: var(--c-white);
	border-radius: 8px;
	font-size: var(--fs-base);
	font-weight: 500;
	letter-spacing: var(--ls-normal);
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.p-access__map-btn:hover {
	opacity: 0.8;
	color: var(--c-white);
}

/* -----------------------------------------------
   p-about（わたしたちの想い）
----------------------------------------------- */
.p-about {
	padding: 0;
	background-color: var(--c-white);
}

.p-about__top {
	background-color: var(--c-base);
	padding: 56px 0 0;
}

.p-about__illust {
	text-align: center;
	z-index: 1;
	position: relative;
}

.p-about__illust img {
	width: clamp(760px, 62vw, 1200px);
	max-width: none;
	display: block;
	margin: 0 auto;
	position: relative;
	z-index: 100;
}

.p-about__wave {
	line-height: 0;
	background-color: var(--c-white);
	margin-top: -8vw;
	position: relative;
	z-index: 0;
}

.p-about__wave img {
	width: 100%;
	display: block;
}

.p-about__bottom {
	background-color: var(--c-white);
	padding: 56px 0;
}

/* -----------------------------------------------
   p-about-lottie（Lottieアニメーション）
----------------------------------------------- */
.p-about-lottie,
.o-town {
	--town-artwork-width: min(80vw, 1200px);
}
.p-about-lottie {
	width: var(--town-artwork-width);
	max-width: 1200px;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	height: min(22vw, 330px);
	overflow: hidden;
}

.p-about-lottie dotlottie-wc {
	width: 100%;
	height: auto;
	display: block;
	margin-top: max(-8vw, -120px);
	position: relative;
	z-index: 1;
	top: var(--sp-xs);
}

.p-about-lottie__ground {
	width: 100%;
	height: 32px;
	background-color: var(--c-base);
	margin-top: -32px;
}

/* -----------------------------------------------
   p-about-content（想いセクション・2カラム）
----------------------------------------------- */
.p-about-content {
	background-color: var(--c-white);
	padding: 64px 0 0;
}


.p-about-content__row {
	display: flex;
	gap: var(--sp-xl);
	align-items: flex-start;
}

.p-about-content__img-col {
	position: relative;
	width: 50%;
	flex-shrink: 0;
}

.p-about-content__photo {
	width: 100%;
	border-radius: 8px;
	object-fit: cover;
	display: block;
}

.p-about-content__text-col {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: var(--sp-sm);
	color: var(--c-wood);
}

.p-about-content__heading {
	line-height: 1.7;
}

.p-about-content__body {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: normal;
	line-height: var(--lh-loose);
	letter-spacing: var(--ls-normal);
	color: var(--c-wood);
}

.p-about-content__body p {
	margin-bottom: var(--sp-sm);
}

.p-about-content__body p:last-child {
	margin-bottom: 0;
}

/* -----------------------------------------------
   p-activity-base（拠点セクション）
----------------------------------------------- */
.p-activity-base {
	background-color: var(--c-base);
}

.p-activity-base__inner {
	display: flex;
	flex-direction: column;
	gap: var(--sp-lg);
}

.p-activity-base__row {
	display: flex;
	gap: var(--sp-2xl);
	align-items: flex-start;
}

.p-activity-base__text {
	flex: 1;
	display: flex;
	flex-direction: column;
	color: var(--c-wood);
}

.p-activity-base__subtitle {
	margin-bottom: var(--sp-sm);
}

.p-activity-base__body {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	line-height: var(--lh-loose);
	letter-spacing: var(--ls-normal);
	color: var(--c-text);
}

.p-activity-base__body p {
	margin-bottom: var(--sp-sm);
}

.p-activity-base__body p:last-child {
	margin-bottom: 0;
}

.p-activity-base__media {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-sm);
	flex-shrink: 0;
}

/* ── メインスライダー ── */
.p-activity-base__main-slider {
	width: 512px;
	border-radius: 12px;
	overflow: hidden;
}

.p-activity-base__main-slider .splide__slide {
	height: 380px;
}

.p-activity-base__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* メイン矢印 */
.p-activity-base__main-slider .splide__arrow {
	background: rgba(255, 255, 255, 0.7);
	border: none;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px;
	min-height: 36px;
	max-width: 36px;
	max-height: 36px;
	border-radius: 50% !important;
	padding: 0;
	opacity: 0;
	transition: opacity 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
}

.p-activity-base__main-slider:hover .splide__arrow {
	opacity: 1;
}

.p-activity-base__main-slider .splide__arrow svg {
	fill: var(--c-black);
	width: 14px;
	height: 14px;
}

/* ── サムネイルスライダー ── */
.p-activity-base__thumb-slider {
	width: 512px;
	margin-top: var(--sp-xs);
	padding: 0 16px;
}

.p-activity-base__thumb-slider .splide__slide {
	border-radius: 6px;
	overflow: hidden;
	opacity: 0.5;
	border: 2px solid transparent;
	transition: opacity 0.3s, border-color 0.3s;
	cursor: pointer;
}

.p-activity-base__thumb-slider .splide__slide.is-active {
	opacity: 1;
	border-color: var(--c-accent-4);
}

.p-activity-base__thumb-slider .splide__slide:hover {
	opacity: 0.85;
}

.p-activity-base__thumb-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* サムネイル矢印 */
.p-activity-base__thumb-slider .splide__arrow {
	background: rgba(255, 255, 255, 0.8);
	border: none;
	width: 24px !important;
	height: 24px !important;
	min-width: 24px;
	min-height: 24px;
	max-width: 24px;
	max-height: 24px;
	border-radius: 50% !important;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	top: 50%;
	transform: translateY(-50%);
}

.p-activity-base__thumb-slider .splide__arrow svg {
	fill: var(--c-black);
	width: 10px;
	height: 10px;
}

.p-activity-base__thumb-slider .splide__arrow--prev {
	left: -12px;
}

.p-activity-base__thumb-slider .splide__arrow--next {
	right: -12px;
}

/* -----------------------------------------------
   p-schedule lottie 絶対配置
----------------------------------------------- */
.p-schedule__header {
	position: relative;
	overflow: visible;
}

.p-schedule__lottie {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 250px;
	height: 250px;
	pointer-events: none;
}

.p-schedule__lottie--left {
	left: 0;
}

.p-schedule__lottie--right {
	right: 0;
}

/* 855px以下：見出しと被らないよう下四隅に移動・縮小 */
@media (max-width: 855px) {
	.p-schedule__lottie {
		top: auto;
		bottom: -30px;
		transform: none;
		width: 200px;
		height: 200px;
	}
}

/* SP（〜767px）：両端ぴったり・はみ出しOK */
@media (max-width: 767px) {
	.p-schedule__lottie {
		top: auto;
		bottom: -30px;
		transform: none;
		width: 200px;
		height: 200px;
	}

	.p-schedule__lottie--left {
		left: -8px;
	}

	.p-schedule__lottie--right {
		right: -8px;
	}
}


/* SP（〜550px）：両端ぴったり・はみ出しOK */
@media (max-width: 550px) {
	.p-schedule__lottie {
		top: auto;
		bottom: 0;
		transform: none;
		width: 180px;
		height: 180px
	}

	.p-schedule__lottie--left {
		left: -80px;
	}

	.p-schedule__lottie--right {
		right: -70px;
	}
}

/* -----------------------------------------------
   p-schedule heading row
----------------------------------------------- */
.p-schedule__heading-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-xs);
	font-size: 1.4rem;
	font-weight: 700;
}

.p-schedule__heading-row .p-side-nav__icon {
	width: 40px;
	height: 40px;
	flex-shrink: 0;
}

.p-event-schedule {
	background: var(--c-white);
}

#schedule {
	position: relative;
	z-index: 0;
	overflow: visible;
	background-color: var(--c-white);
}

.p-calendar-container {
	margin: 0 auto;
}

#calendar-app {
	background-color: var(--c-base);
	border-radius: 8px;
	padding: var(--sp-md) var(--sp-lg);
	box-shadow:
		0 2px 4px rgba(0, 0, 0, 0.08),
		0 8px 16px rgba(0, 0, 0, 0.12),
		0 16px 32px rgba(0, 0, 0, 0.08);
	margin-top: var(--sp-lg);
}

/* Calendar View Animation */
.p-calendar-view-container {
	overflow: hidden;
	transition: height 0.4s ease;
}

.p-calendar-view {
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.p-calendar-view--active {
	display: block;
	opacity: 1;
}

.p-schedule__bg {
	position: absolute;
	left: 0;
	right: 0;
	width: 100%;
	bottom: 0;
	height: 45%;
	background-color: var(--c-base);
	z-index: -1;
}

.p-schedule__bg::before {
	content: "";
	position: absolute;
	top: -40px;
	left: 0;
	width: 100%;
	height: 42px;
	background: url("https://palettebuzen.com/wp-content/themes/swell_child/images/wave-border.svg") no-repeat center bottom;
	background-size: 100% 100%;
}

.p-schedule__inner {
	position: relative;
	z-index: 1;
}

@media (min-width: 1025px) {
	.p-schedule__inner>p {
		text-align: center;
	}
}

/* -----------------------------------------------
   Calendar Widget — Category Colors
----------------------------------------------- */
.cat--work {
	background-color: var(--c-matcha);
}

.cat--cafe {
	background-color: var(--c-indigo);
}

.cat--trade {
	background-color: var(--c-mustard);
}

.cat--event {
	background-color: var(--c-madder);
}

/* -----------------------------------------------
   Calendar Widget — Controls
----------------------------------------------- */
.p-cal-controls {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-sm);
	margin-bottom: var(--sp-md);
}

@media (min-width: 768px) {
	.p-cal-controls {
		flex-direction: row;
		gap: 0;
	}
}

.p-cal-nav {
	display: flex;
	align-items: center;
	gap: var(--sp-sm);
}

.p-cal-nav__btn {
	padding: var(--sp-xs);
	background: none;
	border: none;
	display: flex;
	align-items: center;
	cursor: pointer;
	border-radius: 4px;
	font-size: var(--fs-base);
	transition: background-color 0.2s;
}

.p-cal-nav__btn:hover {
	background-color: rgba(0, 0, 0, 0.08);
}

.p-cal-month {
	font-size: var(--fs-lg);
	font-weight: 700;
	color: var(--c-wood);
	margin: 0;
}

.p-cal-toggle {
	display: flex;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	overflow: hidden;
	background: var(--c-white);
}

.p-cal-toggle__btn {
	padding: var(--sp-xs) var(--sp-sm);
	font-size: var(--fs-sm);
	font-weight: 500;
	background: var(--c-white);
	color: #6b7280;
	border: none;
	cursor: pointer;
	transition: background-color 0.2s;
}

.p-cal-toggle__btn:hover {
	background-color: #f3f4f6;
}

.p-cal-toggle__btn--active {
	background-color: var(--c-wood);
	color: var(--c-white);
}

.p-cal-toggle__btn--active:hover {
	background-color: var(--c-wood);
}

/* -----------------------------------------------
   Calendar Widget — Legend
----------------------------------------------- */
.p-cal-legend {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	font-size: var(--fs-xs);
	margin-bottom: var(--sp-md);
	justify-content: center;
}

@media (min-width: 768px) {
	.p-cal-legend {
		justify-content: flex-start;
	}
}

.p-cal-legend__item {
	display: flex;
	align-items: center;
	gap: var(--sp-xs);
}

.p-cal-legend__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	flex-shrink: 0;
}

/* -----------------------------------------------
   Calendar Widget — Grid View
----------------------------------------------- */
.p-cal-weekdays {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: var(--sp-xs);
	text-align: center;
	font-weight: 700;
	color: var(--c-wood);
	margin-bottom: var(--sp-xs);
	padding-bottom: var(--sp-xs);
	border-bottom: 2px solid rgba(74, 59, 50, 0.1);
}

.p-cal-weekday--sun {
	color: #ef4444;
}

.p-cal-weekday--sat {
	color: #3b82f6;
}

.p-cal-days {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: var(--sp-xs);
	background-color: #f3f4f6;
	border: 1px solid #e5e7eb;
	font-size: var(--fs-sm);
}

.p-cal-cell {
	min-height: 80px;
	background-color: var(--c-white);
	border-right: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	padding: var(--sp-xs);
	position: relative;
	overflow: hidden;
	transition: background-color 0.2s;
}

.p-cal-cell:hover {
	background-color: #fefce8;
}

.p-cal-cell--empty {
	background-color: #f9fafb;
}

.p-cal-cell__date {
	text-align: right;
	font-size: var(--fs-xs);
	color: #6b7280;
	margin-bottom: var(--sp-xs);
}

.p-cal-cell__events {
	display: flex;
	flex-direction: column;
	gap: var(--sp-xs);
	max-height: 80px;
	overflow-y: auto;
	scrollbar-width: none;
}

.p-cal-cell__events::-webkit-scrollbar {
	display: none;
}

.p-cal-pip {
	display: block;
	font-size: var(--fs-2xs);
	color: var(--c-white);
	padding: 0 var(--sp-xs);
	border-radius: 2px;
	cursor: pointer;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	margin-bottom: var(--sp-xs);
	transition: opacity 0.2s;
	font-weight: bold;
}

.p-cal-pip:hover {
	opacity: 0.8;
}

/* -----------------------------------------------
   Calendar Widget — List View
----------------------------------------------- */
.p-cal-loading {
	padding: var(--sp-sm);
	text-align: center;
	color: #9ca3af;
}

.p-cal-error {
	padding: var(--sp-sm);
	text-align: center;
	color: #ef4444;
	font-size: var(--fs-sm);
}

.p-cal-empty {
	padding: var(--sp-lg);
	text-align: center;
	color: #6b7280;
	background: var(--c-white);
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	list-style: none;
}

.p-cal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(4px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.p-cal-list-item {
	display: flex;
	align-items: center;
	background: var(--c-white);
	padding: 4px var(--sp-sm);
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	border-left: 4px solid transparent;
	cursor: pointer;
	transition: border-color 0.2s, transform 0.2s;
	animation: fadeIn 0.3s ease both;
}

.p-cal-list-item:hover {
	border-left-color: var(--c-wood);
	transform: translateY(-2px);
}

.p-cal-list-item__date {
	width: 64px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #4b5563;
	border-right: 1px solid #f3f4f6;
	padding-right: 8px;
	margin-right: var(--sp-sm);
}

.p-cal-list-item__date-num {
	font-weight: 700;
	font-size: var(--fs-lg);
	line-height: 1;
}

.p-cal-list-item__date-day {
	font-size: var(--fs-xs);
	color: #9ca3af;
	margin-top: var(--sp-xs);
	font-weight: bold;
}

.p-cal-list-item__content {
	flex: 1;
	min-width: 0;
	padding: 4px 0;
}

.p-cal-list-item__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: var(--sp-xs);
	margin-bottom: var(--sp-xs);
}



.p-cal-badge {
	display: inline-block;
	padding: 0 8px;
	font-size: var(--fs-2xs);
	color: var(--c-white);
	border-radius: 2px;
	font-weight: bold;
}

.p-cal-list-item__time {
	font-size: var(--fs-xs);
	color: #6b7280;
	font-weight: bold;
}

.p-cal-list-item__title {
	display: block;
	font-weight: 700;
	color: var(--c-wood);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	font-size: var(--fs-sm);
	transition: color 0.2s;
}

.p-cal-list-item:hover .p-cal-list-item__title {
	color: var(--c-indigo);
}

@media (min-width: 768px) {
	.p-cal-list-item__title {
		font-size: var(--fs-base);
	}
}

.p-cal-more-wrap {
	margin-top: var(--sp-md);
	text-align: center;
}

.p-cal-more-btn {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-xs);
	padding: var(--sp-sm) var(--sp-lg);
	background: var(--c-white);
	border: 1px solid #e5e7eb;
	color: var(--c-wood);
	border-radius: 999px;
	font-size: var(--fs-sm);
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: background-color 0.3s, border-color 0.3s;
}

.p-cal-more-btn:hover {
	background-color: var(--c-base);
	border-color: var(--c-wood);
}

.p-cal-more-btn__icon {
	width: 16px;
	height: 16px;
	transition: transform 0.2s;
}

.p-cal-more-btn:hover .p-cal-more-btn__icon {
	transform: translateY(2px);
}

.p-cal-more-btn__icon--up {
	transform: rotate(180deg);
}

.p-cal-more-btn:hover .p-cal-more-btn__icon--up {
	transform: rotate(180deg) translateY(2px);
}

/* -----------------------------------------------
   Calendar Widget — Modal
----------------------------------------------- */
.hidden {
	display: none !important;
}

.p-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s;
	padding: var(--sp-sm);
}

.p-modal.is-open {
	opacity: 1;
	pointer-events: auto;
}

.p-modal__content {
	background: var(--c-white);
	border-radius: 8px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
	width: 100%;
	max-width: 512px;
	max-height: 85vh;
	display: flex;
	flex-direction: column;
	position: relative;
	transform: scale(0.95);
	transition: transform 0.3s;
}

.p-modal.is-open .p-modal__content {
	transform: scale(1);
}

.p-modal__header {
	display: flex;
	justify-content: flex-end;
	padding: var(--sp-xs);
	flex-shrink: 0;
}

.p-modal__close {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #9ca3af;
	border: none;
	background: transparent;
	cursor: pointer;
	padding: var(--sp-xs);
	transition: color 0.2s;
}

.p-modal__close:hover {
	color: var(--c-indigo);
}

.p-modal__close-icon {
	width: 28px;
	height: 28px;
}

.p-modal__close-label {
	font-size: var(--fs-2xs);
	font-weight: 700;
	margin-top: -8px;
}

.p-modal__body {
	overflow-y: auto;
	padding: var(--sp-md);
	flex: 1;
}

.p-modal__primary {
	margin-bottom: var(--sp-md);
}

.p-modal__category {
	display: inline-block;
	padding: var(--sp-xs) var(--sp-sm);
	font-size: var(--fs-xs);
	color: var(--c-white);
	border-radius: 999px;
	background-color: #9ca3af;
	margin-bottom: var(--sp-sm);
}

.p-modal__title {
	font-size: var(--fs-xl);
	font-weight: 700;
	color: #1f2937;
	line-height: var(--lh-tight);
	margin: 0;
}

.p-modal__meta {
	display: flex;
	flex-direction: column;
	gap: var(--sp-sm);
	margin-bottom: var(--sp-md);
	background: #f9fafb;
	padding: var(--sp-sm);
	border-radius: 6px;
}

.p-modal__meta-row {
	display: flex;
	align-items: flex-start;
	color: #374151;
}

.p-modal__meta-icon {
	margin-right: var(--sp-sm);
	font-size: var(--fs-lg);
	width: 24px;
	text-align: center;
	flex-shrink: 0;
}

.p-modal__meta-label {
	display: block;
	font-weight: 700;
	font-size: var(--fs-sm);
	color: #6b7280;
}

.p-modal__meta-value {
	font-weight: 500;
}

.p-modal__tags {
	color: var(--c-indigo);
}

.p-modal__image-wrap {
	margin-bottom: var(--sp-md);
}

.p-modal__section-label {
	display: block;
	font-weight: 700;
	font-size: var(--fs-sm);
	color: #6b7280;
	margin-bottom: var(--sp-xs);
}

.p-modal__image {
	width: 100%;
	height: auto;
	border-radius: 4px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	background: #f3f4f6;
	max-height: 320px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

.p-modal__desc-section {
	margin-bottom: var(--sp-md);
}

.p-modal__desc {
	color: #374151;
	font-size: var(--fs-sm);
	line-height: var(--lh-normal);
}

.p-modal__desc ul {
	list-style: disc;
	margin-left: 1.5em;
	margin-bottom: 1em;
}

.p-modal__desc ol {
	list-style: decimal;
	margin-left: 1.5em;
	margin-bottom: 1em;
}

.p-modal__desc li {
	margin-bottom: 0.5em;
}

.p-modal__desc p {
	margin-bottom: 1em;
}

.p-modal__desc a {
	color: var(--c-indigo);
	text-decoration: underline;
}

.p-modal__footer {
	background: #f3f4f6;
	padding: var(--sp-sm) var(--sp-md);
	border-radius: 0 0 8px 8px;
	display: flex;
	justify-content: flex-end;
	flex-shrink: 0;
	border-top: 1px solid #e5e7eb;
}

.p-modal__gcal-link {
	display: inline-flex;
	align-items: center;
	font-size: var(--fs-sm);
	font-weight: 700;
	color: var(--c-white);
	background: var(--c-indigo);
	padding: var(--sp-xs) var(--sp-sm);
	border-radius: 4px;
	text-decoration: none;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	transition: opacity 0.2s;
}

.p-modal__gcal-link:hover {
	opacity: 0.9;
}

.p-modal__gcal-link-icon {
	width: 16px;
	height: 16px;
	margin-left: var(--sp-xs);
}

/* -----------------------------------------------
   Calendar Widget — Location
----------------------------------------------- */
.p-location {
	display: block;
}

.p-location--link {
	cursor: pointer;
}

.p-location__venue {
	display: block;
	font-weight: 700;
	font-size: var(--fs-lg);
	color: var(--c-wood);
	margin-bottom: var(--sp-xs);
	transition: color 0.2s;
}

.p-location--link:hover .p-location__venue {
	color: var(--c-indigo);
}

.p-location__address {
	display: block;
	font-size: var(--fs-sm);
	color: #4b5563;
	transition: color 0.2s;
}

.p-location--link:hover .p-location__address {
	color: var(--c-indigo);
}

/* -----------------------------------------------
   p-contact（お問い合わせCTA）
----------------------------------------------- */














/* ヘッダー */




@media (max-width: 767px) {
	
}







/* 本文 */






/* PC・タブレットでは br を非表示 */
@media (min-width: 768px) {

	
}

/* CTAボタン */




/* 電話カード */


















/* wp-content/themes/swell_child/css/custom_tb.css */
/* =============================================
   Pallet Buzen - タブレット用スタイル
   対象: 768px 〜 1024px
   ============================================= */

@media (min-width: 768px) and (max-width: 1024px) {

	/* タブレット: 事業内容テキストカラムの余白を広く */
	.p-services__text-col {
		padding: var(--sp-xl) var(--sp-2xl);
	}

	/*
	 * ── フォントサイズ TB 上書き ────────────────────────
	 *  変数名    PC(base)       TB(768-1024)   SP(〜767)
	 *  fs-3xl   2.25rem 36px → 2rem    32px → 1.75rem 28px
	 *  fs-2xl   1.875rem 30px → 1.625rem 26px → 1.5rem  24px
	 *  fs-xl    1.5rem  24px → 1.375rem 22px → 1.25rem 20px
	 *  fs-lg    1.25rem 20px → 1.125rem 18px → 1.125rem 18px
	 * ── スペーシング TB 上書き ──────────────────────────
	 *  変数名    PC(base)  TB(768-1024)  SP(〜767)
	 *  sp-3xl   96px    → 72px       → 56px
	 *  sp-2xl   64px    → 48px       → 48px
	 *  sp-xl    48px    → 40px       → 32px
	 * ──────────────────────────────────────────────────── */
	:root {
		--fs-3xl: 2rem;      /* TB: 32px  (PC: 36px / SP: 28px) */
		--fs-2xl: 1.625rem;  /* TB: 26px  (PC: 30px / SP: 24px) */
		--fs-xl:  1.375rem;  /* TB: 22px  (PC: 24px / SP: 20px) */
		--fs-lg:  1.125rem;  /* TB: 18px  (PC: 20px / SP: 18px) */
		--sp-3xl: 72px;      /* TB: 72px  (PC: 96px / SP: 56px) */
		--sp-2xl: 48px;      /* TB: 48px  (PC: 64px / SP: 48px) */
		--sp-xl:  40px;      /* TB: 40px  (PC: 48px / SP: 32px) */
	}

	section {
		padding: 48px 0;
	}

	.p-section-label {
		font-size: 3.75rem;
	}

	.p-section-header {
		margin-bottom: var(--sp-lg);
	}

	.u-container {
		padding-left: var(--sp-md);
		padding-right: var(--sp-md);
	}

}

/* wp-content/themes/swell_child/css/custom_sp.css */
/* =============================================
   Pallet Buzen - レスポンシブスタイル
   対象: 1024px 以下（SP・タブレット共通）
         767px 以下（SP 専用）
         374px 以下（小型SP）
   ============================================= */

/* -----------------------------------------------
   SP専用: 各セクション細部調整（〜767px）
----------------------------------------------- */
@media (max-width: 767px) {
	.p-fv__copy {
		padding-left: clamp(12px, 2vw, 32px);
	}

	.p-news__bg {
		border-radius: 48px 48px 0 0;
	}

	

	

	
}

/* -----------------------------------------------
   SP・タブレット: 共通レイアウト上書き（〜1024px）
   ※ SPヘッダー表示切替・各セクション折り返し等
----------------------------------------------- */
@media (max-width: 1024px) {
	.p-about-lottie,
	.o-town {
		--town-artwork-width: min(113vw, 1200px);
	}
	.p-about-lottie {
		width: var(--town-artwork-width) !important;
		height: min(37vw, 330px) !important;
	}

	

	

	

	/* カスタムSPヘッダー・メニューを表示 */
	.p-sp-header,
	.p-sp-menu {
		display: block !important;
	}

	.p-about-content__row {
		flex-direction: column;
	}

	.p-about-content__img-col {
		width: 100% !important;
	}

	.p-about__bottom {
		padding: 0 !important;
	}

	/* FV大ロゴを非表示（SP/タブレットではSPヘッダーのロゴを使用） */
	.p-fv__logo-heading {
		display: none !important;
	}

	.p-activity-base__row {
		display: flex;
		gap: var(--sp-2xl);
		align-items: flex-start;
		flex-direction: column-reverse;
	}

	.p-activity-base__main-slider {
		width: 100%;
	}

	.p-activity-base__main-slider .splide__slide {
		height: 0;
		padding-top: 75%;
		/* 4:3 ratio */
		position: relative;
	}

	.p-activity-base__main-slider .splide__slide .p-activity-base__img {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

	.p-activity-base__thumb-slider {
		width: 100%;
	}

	.p-activity-base__media {
		width: 100%;
	}

	/* -----------------------------------------------
	   p-sp-header（固定ピル型ヘッダー）
	----------------------------------------------- */
	.p-sp-header {
		position: fixed;
		top: calc(var(--sp-md) + env(safe-area-inset-top));
		left: var(--sp-sm);
		right: var(--sp-sm);
		z-index: 100;
	}

	.p-sp-header__inner {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: var(--sp-xs) var(--sp-sm);
		background: var(--c-white);
		border-radius: 120px;
		box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	}

	.p-sp-header__logo-link {
		display: block;
		line-height: 0;
		width: 60%;
	}

	.p-sp-header__logo {
		height: 32px;
		width: auto;
		display: block;
		object-fit: contain;
	}

	.p-sp-header__hamburger {
		width: 35px;
		height: 35px;
		display: flex;
		align-items: center;
		justify-content: center;
		background: none;
		border: none;
		cursor: pointer;
		padding: 0;
		color: var(--c-black);
		flex-shrink: 0;
	}

	/* -----------------------------------------------
	   p-sp-menu（スライドインドロワー）
	----------------------------------------------- */
	.p-sp-menu {
		position: fixed !important;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		z-index: 200;
		pointer-events: none;
	}

	.p-sp-menu.is-open {
		pointer-events: auto;
	}

	/* オーバーレイ（黒半透明・全体に敷く） */
	.p-sp-menu__overlay {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background: rgba(0, 0, 0, 0.5);
		opacity: 0;
		transition: opacity 0.3s ease;
	}

	.p-sp-menu.is-open .p-sp-menu__overlay {
		opacity: 1;
	}

	/* パネル（右80%） */
	.p-sp-menu__panel {
		position: absolute;
		top: 0;
		right: 0;
		width: min(92%, 360px);
		height: 100%;
		background: var(--c-white);
		transform: translateX(100%);
		transition: transform 0.3s ease;
		overflow-y: auto;
		border-radius: 16px 0 0 16px;
	}

	.p-sp-menu.is-open .p-sp-menu__panel {
		transform: translateX(0);
	}

	.p-sp-menu__inner {
		padding: var(--sp-lg) var(--sp-sm);
	}

	.p-sp-menu__logo {
		text-align: center;
		margin-bottom: var(--sp-lg);
	}

	.p-sp-menu__logo-img {
		width: 200px;
		height: auto;
	}

	.p-sp-menu__list {
		list-style: none;
		margin: 0;
		padding: 0;
		display: flex;
		flex-direction: column;
		gap: var(--sp-lg);
	}

	.p-sp-menu__visit-cta {
		position: relative;
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 8px;
		min-height: 48px;
		margin-top: 40px;
		padding: 8px 18px;
		border: 2px solid var(--c-accent-2);
		border-radius: 999px;
		background: var(--c-white);
		color: var(--c-wood);
		text-decoration: none;
	}

	.p-sp-menu__visit-cta-label {
		position: absolute;
		top: -13px;
		left: 50%;
		max-width: calc(100% - 32px);
		padding: 2px 8px;
		border-radius: 999px;
		background: var(--c-accent-2);
		font-size: 10px;
		font-weight: 700;
		line-height: 1.7;
		white-space: nowrap;
		transform: translateX(-50%);
	}

	.p-sp-menu__visit-cta-text {
		font-family: var(--f-sans);
		font-size: clamp(14px, 4vw, 16px);
		font-weight: 700;
		line-height: 1.8;
		text-align: center;
		white-space: nowrap;
	}

	.p-sp-menu__visit-cta:focus-visible {
		outline: 3px solid rgba(131, 172, 202, 0.7);
		outline-offset: 3px;
	}

	

	

	/* 各メニュー項目リンク */
	.p-sp-menu__link {
		display: flex;
		align-items: center;
		gap: var(--sp-sm);
		width: 100%;
		text-decoration: none;
	}

	/* アコーディオントリガー */
	.p-sp-menu__accordion-trigger {
		display: flex;
		align-items: center;
		gap: var(--sp-sm);
		width: 100%;
		background: none;
		border: none;
		cursor: pointer;
		padding: 0;
		text-align: left;
	}

	/* アイコン円 */
	.p-sp-menu__icon {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 40px;
		height: 40px;
		border-radius: 50%;
		flex-shrink: 0;
		color: var(--c-white);
	}

	.p-sp-menu__icon--calendar {
		background-color: var(--c-accent-3);
	}

	.p-sp-menu__icon--heart {
		background-color: var(--c-accent-1);
	}

	.p-sp-menu__icon--store {
		background-color: var(--c-accent-4);
	}

	.p-sp-menu__icon--news {
		background-color: var(--c-accent-2);
		color: var(--c-black);
	}

	.p-sp-menu__icon--access {
		background-color: var(--c-accent-5);
	}

	.p-sp-menu__icon--visit {
		background-color: #6f8c72;
	}

	.p-sp-menu__icon--mail,
	.p-sp-menu__icon--contact {
		background-color: #91664C;
	}

	/* メニューテキスト */
	.p-sp-menu__text {
		flex: 1;
		font-family: var(--f-sans);
		font-size: var(--fs-xl);
		font-weight: 700;
		color: var(--c-black);
		letter-spacing: var(--ls-normal);
		line-height: 1.6;
	}

	.p-sp-menu__arrow {
		font-size: var(--fs-xl);
		color: var(--c-black);
	}

	/* アコーディオン＋アイコン */
	.p-sp-menu__accordion-icon {
		font-size: var(--fs-xl);
		color: var(--c-black);
		width: 20px;
		text-align: center;
		transition: transform 0.25s ease;
		flex-shrink: 0;
	}

	.p-sp-menu__item--accordion.is-open .p-sp-menu__accordion-icon {
		transform: rotate(45deg);
	}

	/* アコーディオン本体 */
	.p-sp-menu__accordion-body {
		overflow: hidden;
		max-height: 0;
		margin-top: 0;
		transition: max-height 0.35s ease, margin-top 0.35s ease;
	}

	.p-sp-menu__item--accordion.is-open .p-sp-menu__accordion-body {
		max-height: 600px;
		margin-top: var(--sp-sm);
	}

	/* サブリスト */
	.p-sp-menu__sub-list {
		list-style: none;
		margin: 0;
		padding: var(--sp-sm);
		background: #f5f3ef;
		border-radius: 8px;
		display: flex;
		flex-direction: column;
	}

	.p-sp-menu__sub-item {
		padding: var(--sp-sm) 0;
		border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	}

	.p-sp-menu__sub-item:last-child {
		border-bottom: none;
	}

	.p-sp-menu__sub-header {
		display: flex;
		align-items: flex-start;
		gap: var(--sp-xs);
	}

	a.p-sp-menu__sub-header--link {
		text-decoration: none;
		color: inherit;
	}

	.p-sp-menu__sub-bullet {
		color: var(--c-black);
		flex-shrink: 0;
		margin-top: 2px;
	}

	.p-sp-menu__sub-label {
		display: block;
		font-size: var(--fs-xs);
		font-weight: 700;
		color: var(--c-black);
		letter-spacing: var(--ls-wide);
	}

	.p-sp-menu__sub-title {
		display: block;
		font-size: var(--fs-md);
		font-weight: 700;
		color: var(--c-black);
	}

	.p-sp-menu__sub-links {
		display: flex;
		flex-direction: column;
		gap: 16px;
		margin-top: var(--sp-sm);
		padding-left: var(--sp-md);
	}

	.p-sp-menu__sub-link {
		display: flex;
		align-items: center;
		justify-content: space-between;
		font-size: var(--fs-sm);
		font-weight: 500;
		color: var(--c-black);
		text-decoration: none;
	}

	/* 準備中アイテム */
	.p-sp-menu__sub-item--disabled {
		opacity: 0.35;
		pointer-events: none;
	}

	/* -----------------------------------------------
	   p-fv（ファーストビュー・SP/タブレット）
	----------------------------------------------- */

	/* セクション全体：正方形に */
	.p-fv {
		height: auto;
		aspect-ratio: 1 / 1;
		overflow: hidden;
	}

	.p-fv__deco-left {
		width: 150px;
		left: -30px;
		top: -40px;
	}

	.p-fv__deco-right {
		width: 150px;
		right: -40px;
		bottom: -30px;
	}

	.p-fv__wc {
		width: 80px;
		height: 80px;
		transform: scale(0.65);
		transform-origin: top left;
	}

	.p-fv__wc--rb {
		transform-origin: bottom right;
	}

	.p-fv__wc--lt {
		top: -30px;
		left: -30px;
	}

	.p-fv__wc--rb {
		bottom: -30px;
		right: -30px;
	}

	.p-fv__wc-drop {
		filter: blur(20px) !important;
	}

	/* レイアウト：フル幅・相対配置に切り替え */
	.p-fv__layout {
		position: absolute;
		inset: 0;
		display: block;
		height: 100%;
	}

	/* コピー：写真下部にオーバーレイ */
	.p-fv__copy {
		position: absolute;
		bottom: 16px;
		left: 16px;
		right: 0;
		width: auto;
		padding: 0;
	}

	.p-fv__copy-inner {
		padding-bottom: 0;
	}

	.p-fv__copy-img {
		width: 70%;
		max-width: 660px;
	}

}

@media (min-width: 768px) and (max-width: 1024px) {
	.p-fv__copy {
		left: auto;
		right: clamp(24px, 5vw, 64px);
		width: min(72vw, 660px);
	}

	.p-fv__copy-inner {
		display: flex;
		align-items: flex-end;
	}

	.p-fv__copy-img {
		width: 100%;
		max-width: 660px;
	}
}


/* ============================================
   SP・タブレット: ボタン共通（〜1024px）
   ============================================ */
@media (max-width: 1024px) {

	.c-btn {
		max-width: 500px;
		display: block;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

}

/* ============================================
   SP・タブレット: セクション見出しアイコン共通（〜1024px）
   ============================================ */
@media (max-width: 1024px) {

	.p-services__header-icon,
	.p-news__header-icon,
	.p-access__icon,
	.p-schedule__heading-row .p-side-nav__icon{
		width: 30px;
		height: 30px;
	}

	/* 交通アクセス：水車ロッティを縮小 */
	.p-access__deco-lottie {
		width: 64px;
		height: 64px;
		bottom: -20px;
		right: -6px;
	}

}

/* ============================================
   SP・タブレット: 事業内容（〜1024px）
   ============================================ */
@media (max-width: 1024px) {
	.p-access__row {
		gap: 0px;
		align-items: flex-start;
		flex-direction: column;
	}

	

	.p-access__label {
		width: auto;
	}

	/* 各サービス行を縦積みに */
	.p-services__row {
		flex-direction: column;
		min-height: auto !important;
		gap: 0 !important;
	}

	/* 画像カラム：常に上 */
	.p-services__img-col,
	.p-services__row--reverse .p-services__img-col {
		flex: none;
		height: clamp(220px, 56vw, 420px);
		order: -1;
	}

	/* img を高さに揃えてトリミング */
	.p-services__img-col img {
		height: clamp(220px, 56vw, 420px);
		width: 100%;
		object-fit: cover;
	}

	/* 通常行：左側に角丸＋マージン */
	.p-services__img-col {
		width: calc(100% - 16px);
		border-radius: 24px 0 0 24px;
		margin-left: 16px;
		margin-right: 0;
	}

	/* reverse行：右側に角丸＋マージン */
	.p-services__row--reverse .p-services__img-col {
		width: calc(100% - 16px);
		border-radius: 0 24px 24px 0;
		margin-right: 16px;
		margin-left: 0;
	}

	/* テキストカラム：フル幅・常に下 */
	.p-services__text-col,
	.p-services__row--reverse .p-services__text-col {
		flex: none;
		width: 100%;
		padding: 48px var(--sp-xl);
		justify-content: flex-start;
		order: 1;
	}

	.p-services__content,
	.p-services__content--2,
	.p-services__content--3,
	.p-services__content--4 {
		max-width: 100%;
	}

	/* ボタンラップを横幅いっぱいに */
	.p-services__btn-wrap {
		width: 100% !important;
		max-width: none !important;
	}

}

/* ============================================
   SP・タブレット: 交通アクセス見出し（〜1024px）
   ============================================ */
@media (max-width: 1024px) {
	.p-about__illust img {
		width: 120% !important;
		margin-bottom: 32px;
		position: relative;
		left: 50%;
		transform: translateX(-50%);
	}

	/* ヘッダーを折り返しに変更 */
	.p-access__header {
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: flex-end;
		gap: 0;
		padding-bottom: 0;
		margin-bottom: 0;
	}

	/* 見出しを上段全幅に */
	.p-access__heading-wrap {
		order: 1;
		width: 100%;
		flex-basis: 100%;
		text-align: center;
		padding-bottom: var(--sp-sm);
	}

	/* 下段左：山＋水車 */
	.p-access__deco-wrap {
		order: 2;
		width: clamp(100px, 28vw, 180px);
		flex-shrink: 0;
	}

	/* 下段右：古民家（プラグインがpictureで囲む場合も対応） */
	.p-access__header>.p-access__deco-right,
	.p-access__header>picture {
		order: 3;
		width: clamp(100px, 28vw, 180px);
		flex-shrink: 0;
		align-self: flex-end;
		margin-bottom: -2px;
	}

	.p-access__header>picture>.p-access__deco-right {
		width: 100%;
		height: auto;
		display: block;
	}

	

}

/* ============================================
   SP 共通ユーティリティ（〜767px）
   ============================================ */
@media (max-width: 767px) {
	.p-about__illust img {
		margin-bottom: 0;
	}

	/*
	 * ── フォントサイズ SP 上書き ────────────────────────
	 *  変数名    PC(base)       TB(768-1024)   SP(〜767)
	 *  fs-3xl   2.25rem 36px → 2rem    32px → 1.75rem 28px
	 *  fs-2xl   1.875rem 30px → 1.625rem 26px → 1.5rem  24px
	 *  fs-xl    1.5rem  24px → 1.375rem 22px → 1.25rem 20px
	 *  fs-lg    1.25rem 20px → 1.125rem 18px → 1.125rem 18px
	 *  fs-md    1.125rem 18px →  (変更なし)  → 1rem    16px
	 * ── スペーシング SP 上書き ──────────────────────────
	 *  変数名    PC(base)  TB(768-1024)  SP(〜767)
	 *  sp-3xl   96px    → 72px       → 56px
	 *  sp-2xl   64px    → 48px       → 48px
	 *  sp-xl    48px    → 40px       → 32px
	 *  sp-lg    32px    →  (変更なし) → 24px
	 * ──────────────────────────────────────────────────── */
	:root {
		--fs-3xl: 1.75rem;
		/* SP: 28px  (PC: 36px / TB: 32px) */
		--fs-2xl: 1.5rem;
		/* SP: 24px  (PC: 30px / TB: 26px) */
		--fs-xl: 1.25rem;
		/* SP: 20px  (PC: 24px / TB: 22px) */
		--fs-lg: 1.125rem;
		/* SP: 18px  (PC: 20px / TB: 18px) */
		--fs-md: 1rem;
		/* SP: 16px  (PC: 18px) */
		--lh-loose: 1.9;
		--lh-normal: 1.75;
		--lh-tight: 1.45;
		--sp-3xl: 56px;
		/* SP: 56px  (PC: 96px / TB: 72px) */
		--sp-2xl: 48px;
		/* SP: 48px  (PC: 64px / TB: 48px) */
		--sp-xl: 32px;
		/* SP: 32px  (PC: 48px / TB: 40px) */
		--sp-lg: 24px;
		/* SP: 24px  (PC: 32px) */
	}

	body {
		letter-spacing: 0.03em;
	}

	section {
		padding: 40px 0;
	}

	.p-fv {
		padding: 40px 0 0;
	}

	.p-section-header {
		margin-bottom: var(--sp-lg);
	}

	.p-section-label {
		font-size: 3.25rem;
		line-height: 1;
	}

	.p-section-subtitle {
		font-size: var(--fs-base);
	}

	.p-section-heading {
		font-size: 1.4rem;
	}

	.u-container {
		padding-left: 20px;
		padding-right: 20px;
	}

	.p-services__balloon {
		top: 0 !important;
	}

	.c-btn {
		width: 100%;
		max-width: 500px !important;
		padding: 16px var(--sp-sm);
		font-size: var(--fs-base);
		display: block;
		margin-left: auto;
		margin-right: auto;
		text-align: center;
	}

	

	

	

	


}


/* -----------------------------------------------
   SP: 視察案内への追従縦タブ（〜767px）
----------------------------------------------- */
@media (max-width: 767px) {
	

	

	

	

	

	

	

	

	

	

	
}


/* ============================================
   小型SP 共通ユーティリティ（〜374px）
   ============================================ */
@media (max-width: 374px) {

	:root {
		--fs-3xl: 1.5rem;
		--fs-2xl: 1.25rem;
	}

	.p-section-label {
		font-size: 2.25rem;
	}

	.u-container {
		padding-left: 16px;
		padding-right: 16px;
	}

}

/* wp-content/themes/swell_child/css/visit.css */
/* =============================================
   視察受け入れのご案内
   ============================================= */

.p-visit-page {
	background: var(--c-white);
	color: var(--c-wood);
}

.p-visit-page,
.p-visit-page * {
	letter-spacing: 0;
}

.p-visit-page p {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	line-height: 1.9;
}

.p-visit-section {
	padding: 88px 24px;
}

.p-visit-section__inner {
	width: min(1080px, 100%);
	margin: 0 auto;
}

/* Share the closed side-menu clearance; opening the menu must not move content. */
@media (min-width: 1025px) {
	#body_wrap.has-pallet-side-nav .p-visit-section {
		width: calc(100% - var(--p-side-nav-reserve, 120px));
		margin-left: var(--p-side-nav-reserve, 120px);
	}
}

.p-visit-heading {
	display: grid;
	gap: 12px;
}

.p-visit-heading--center {
	justify-items: center;
	text-align: center;
}

.p-visit-heading__en {
	margin: 0;
	color: #91664c;
	font-family: var(--f-display);
	font-size: 14px !important;
	font-weight: 700;
	line-height: 1.4 !important;
	text-transform: uppercase;
}

.p-visit-heading h2 {
	margin: 0;
	color: var(--c-wood);
	font-family: var(--f-sans);
	font-size: 34px;
	font-weight: 700;
	line-height: 1.45;
}

.p-visit-heading > p:last-child {
	max-width: 680px;
	margin: 4px 0 0;
}

/* Hero */
.p-visit-hero {
	position: relative;
	min-height: 560px;
	display: grid;
	align-items: center;
	overflow: hidden;
	background: var(--c-wood);
}

.p-visit-hero__media,
.p-visit-hero__media img,
.p-visit-hero__overlay {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.p-visit-hero__media img {
	display: block;
	object-fit: cover;
	object-position: max(100%, calc(50% - 254px)) center;
}

.p-visit-hero__overlay {
	background: rgba(47, 36, 29, 0.58);
}

.p-visit-hero__inner {
	position: relative;
	z-index: 1;
	width: min(1080px, 100%);
	padding: 104px 40px 80px;
	color: var(--c-white);
}

.p-visit-hero__eyebrow {
	display: inline-flex;
	width: fit-content;
	margin: 0 0 18px;
	padding: 7px 12px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 4px;
	font-size: 14px !important;
	font-weight: 700;
	line-height: 1.5 !important;
}

.p-visit-hero__title {
	margin: 0 0 18px;
	color: var(--c-white);
	font-family: var(--f-sans);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.3;
}

.p-visit-hero__copy {
	margin: 0 0 24px;
	font-size: 28px !important;
	font-weight: 700;
	line-height: 1.55 !important;
}

.p-visit-hero__text {
	max-width: 650px;
	margin: 0;
	font-size: 16px !important;
	line-height: 1.95 !important;
}

/* Intro */
.p-visit-intro {
	background: var(--c-white);
}

.p-visit-intro__inner {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: 72px;
	align-items: start;
}

.p-visit-intro__body {
	display: grid;
	gap: 18px;
}

.p-visit-intro__body p {
	margin: 0;
}

.p-visit-intro__summary {
	padding: 16px 20px;
	border-radius: 12px;
	background: var(--c-base);
	font-weight: 700;
}

/* Themes */
.p-visit-themes {
	background: var(--c-base);
}

.p-visit-themes__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 48px;
}

.p-visit-theme-card {
	position: relative;
	min-width: 0;
	margin-top: 20px;
	padding: 38px 28px 28px;
	border: 0;
	border-radius: 8px;
	background: var(--c-white);
}

.p-visit-theme-card__meta {
	position: absolute;
	top: -25px;
	left: -12px;
	display: block;
	color: var(--c-mustard);
}

.p-visit-theme-card:nth-child(2) .p-visit-theme-card__meta {
	color: var(--c-accent-5);
}

.p-visit-theme-card:nth-child(3) .p-visit-theme-card__meta {
	color: var(--c-accent-3);
}

.p-visit-theme-card:nth-child(4) .p-visit-theme-card__meta {
	color: var(--c-matcha);
}

.p-visit-theme-card__meta span {
	font-family: var(--f-display);
	font-size: 52px;
	font-weight: 700;
	line-height: 1;
}

.p-visit-theme-card h3 {
	margin: 0 0 12px;
	font-family: var(--f-sans);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.55;
}

.p-visit-theme-card p {
	margin: 0;
	font-size: 16px;
}

/* Targets */
.p-visit-target {
	background: var(--c-white);
}

.p-visit-target__layout {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: 72px;
	align-items: start;
}

.p-visit-target__list {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.p-visit-target__list li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	min-width: 0;
	padding: 10px 4px;
	border: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.7;
}

.p-visit-target__list iconify-icon {
	margin-top: 4px;
	color: var(--c-mustard);
	flex: 0 0 auto;
}

.p-visit-target__note {
	margin: 28px 0 0;
	padding: 18px 20px;
	border-left: 4px solid var(--c-accent-2);
	background: var(--c-base);
}

/* Information */
.p-visit-info {
	background: var(--c-base);
}

.p-visit-info__layout {
	display: grid;
	grid-template-columns: minmax(280px, 320px) minmax(0, 1fr);
	gap: 72px;
	align-items: start;
	width: min(780px, 100%);
	margin: 44px auto 0;
}

.p-visit-info__grid {
	display: block;
	margin: 0;
	padding: 18px 20px;
	border-radius: 8px;
	background: var(--c-white);
}

.p-visit-info__grid > div {
	display: grid;
	grid-template-columns: 92px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	min-width: 0;
	padding: 14px 0;
	border-bottom: 1px dashed rgba(56, 39, 16, 0.25);
}

.p-visit-info__grid > div:last-child {
	border-bottom: 0;
}

.p-visit-info__grid dt {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	padding: 0;
	background: transparent;
	font-size: 14px;
	font-weight: 700;
	text-align: left;
}

.p-visit-info__grid dt::before {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--c-accent-2);
	content: "";
	flex: 0 0 8px;
}

.p-visit-info__grid > div:nth-child(2) dt::before {
	background: var(--c-accent-1);
}

.p-visit-info__grid > div:nth-child(3) dt::before {
	background: var(--c-accent-3);
}

.p-visit-info__grid > div:nth-child(4) dt::before {
	background: var(--c-accent-4);
}

.p-visit-info__grid > div:nth-child(5) dt::before {
	background: var(--c-accent-5);
}

.p-visit-info__grid dd {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 5px;
	margin: 0;
	padding: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.65;
	text-align: left;
}

.p-visit-info__grid strong {
	font-size: 20px;
}

.p-visit-info__grid small {
	font-size: 12px;
	font-weight: 500;
	line-height: 1.55;
}

.p-visit-info__details {
	display: grid;
	gap: 24px;
}

.p-visit-info-detail {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	gap: 18px;
	align-items: start;
	margin: 0 !important;
	padding: 0;
}

.p-visit-info-detail__icon {
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--c-accent-2);
	flex: 0 0 auto;
}

.p-visit-info-detail h3 {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.55;
}

.p-visit-info-detail p {
	margin: 0;
}

.p-visit-info-detail__note {
	margin-top: 14px !important;
	font-size: 14px !important;
}

.p-visit-info-detail__note--strong {
	font-weight: 700;
}

.p-visit-info-detail__list {
	display: grid;
	gap: 7px;
	margin: 14px 0 0;
	padding: 16px 18px 16px 34px;
	border-radius: 8px;
	background: var(--c-white);
	font-size: 14px;
	line-height: 1.8;
}

/* Flow */
.p-visit-flow {
	background: var(--c-white);
}

.p-visit-flow__list {
	position: relative;
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	width: min(820px, 100%);
	margin: 44px auto 0;
	padding: 0;
	list-style: none;
}

.p-visit-flow__list::before {
	position: absolute;
	top: 31px;
	bottom: 31px;
	left: 30px;
	width: 2px;
	background: rgba(56, 39, 16, 0.2);
	content: "";
}

.p-visit-flow__list li {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 62px minmax(0, 1fr);
	gap: 24px;
	align-items: start;
	min-width: 0;
	padding: 0 0 42px;
	text-align: left;
}

.p-visit-flow__list li:last-child {
	padding-bottom: 0;
}

.p-visit-flow__number {
	width: 62px;
	height: 62px;
	display: grid;
	place-content: center;
	margin: 0;
	border: 0;
	border-radius: 8px;
	background: var(--c-accent-2);
	color: var(--c-black);
	font-family: var(--f-display);
	font-size: 27px;
	font-weight: 700;
	line-height: 1;
}

.p-visit-flow__number span {
	display: none;
}

.p-visit-flow__list li:nth-child(2) .p-visit-flow__number {
	background: var(--c-accent-1);
}

.p-visit-flow__list li:nth-child(3) .p-visit-flow__number {
	background: var(--c-accent-3);
}

.p-visit-flow__list li:nth-child(4) .p-visit-flow__number {
	background: var(--c-accent-4);
}

.p-visit-flow h3 {
	margin: 1px 0 8px;
	font-size: 20px;
	line-height: 1.55;
}

.p-visit-flow p {
	margin: 0;
	font-size: 16px;
}

/* FAQ */
.p-visit-faq {
	background: var(--c-base);
}

.p-visit-faq__list {
	width: min(840px, 100%);
	margin: 40px auto 0;
	border-bottom: 1px solid rgba(74, 59, 50, 0.18);
}

.p-visit-faq__item {
	border-top: 1px solid rgba(74, 59, 50, 0.18);
}

.p-visit-faq__item summary {
	min-height: 72px;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 16px;
	padding: 18px 8px;
	cursor: pointer;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.65;
	list-style: none;
}

.p-visit-faq__item summary::-webkit-details-marker {
	display: none;
}

.p-visit-faq__item summary:focus-visible {
	outline: 3px solid rgba(131, 172, 202, 0.55);
	outline-offset: 3px;
}

.p-visit-faq__item summary iconify-icon {
	transition: transform 0.2s ease;
}

.p-visit-faq__item[open] summary iconify-icon {
	transform: rotate(45deg);
}

.p-visit-faq__label {
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--c-accent-3);
	color: var(--c-white);
	font-family: var(--f-display);
	font-weight: 700;
}

.p-visit-faq__label--answer {
	background: var(--c-accent-4);
	color: var(--c-wood);
}

.p-visit-faq__answer {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 16px;
	padding: 4px 8px 24px;
	overflow: hidden;
}

.p-visit-faq__answer p {
	margin: 0;
}

/* 視察ページのスマホ用下部CTA。右側CTAを閉じたあとだけJSで表示する。 */


@media (min-width: 1025px) and (max-width: 1599px) {
	.p-visit-hero__inner {
		padding-left: clamp(104px, 10vw, 144px);
	}
}

@media (max-width: 1024px) {
	.p-visit-hero {
		min-height: 540px;
	}

	.p-visit-hero__inner {
		padding-top: 132px;
	}

	.p-visit-info__layout {
		grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
		gap: 44px;
	}

}

@media (max-width: 1279px) {
	/* Keep both visitors below the fixed navigation and fill its backdrop with the same photo. */
	.p-visit-hero {
		display: block;
		min-height: 0;
		padding-top: calc(100px + env(safe-area-inset-top));
		background: var(--c-base);
	}

	.p-visit-hero__media {
		position: relative;
		inset: auto;
		display: block;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.p-visit-hero__media::before {
		content: "";
		position: absolute;
		inset: auto 0 100%;
		height: calc(100px + env(safe-area-inset-top));
		background-image: url("https://palettebuzen.com/wp-content/themes/swell_child/images/visit-hero-20261007.jpg");
		/* Extend only the top 50 source pixels; keep people out of the navigation backdrop. */
		background-size: 230.533% calc((100px + env(safe-area-inset-top)) * 9.76);
		background-position: 78% top;
		background-repeat: no-repeat;
		transform: scaleY(-1);
		pointer-events: none;
	}

	.p-visit-hero__media img {
		object-position: 78% center;
	}

	.p-visit-hero__overlay {
		display: none;
	}

	.p-visit-hero__inner {
		padding: 32px 20px 40px;
		color: var(--c-wood);
	}

	.p-visit-hero__eyebrow {
		border-color: rgba(74, 59, 50, 0.35);
	}

	.p-visit-hero__title {
		color: var(--c-wood);
	}

}

/* The two-person photo also needs room beside the expanded desktop navigation. */
@media (min-width: 1025px) and (max-width: 1279px) {
	.p-visit-hero {
		padding-top: 0;
		padding-left: 260px;
	}

	.p-visit-hero__media::before {
		display: none;
	}

	/* Continue the same photo beneath the navigation without moving the visitors.
	   The extra 57.2px is 260px * (1 - .78), preserving the existing crop. */
	.p-visit-hero__media img {
		left: -260px;
		width: calc(100% + 260px);
		max-width: none;
		object-position: calc(78% + 57.2px) center;
	}

	#body_wrap.has-pallet-side-nav .p-visit-hero__inner {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding: 32px 24px 40px;
	}
}

@media (max-width: 767px) {
	

	.p-visit-page p {
		font-size: 15px;
	}

	.p-visit-section {
		padding: 58px 18px;
	}

	.p-visit-heading h2 {
		font-size: 27px;
	}


	.p-visit-hero__eyebrow {
		font-size: 12px !important;
	}

	.p-visit-hero__title {
		font-size: 31px;
	}

	.p-visit-hero__copy {
		font-size: 24px !important;
	}

	.p-visit-hero__text {
		font-size: 15px !important;
	}

	.p-visit-hero__text br {
		display: none;
	}

	.p-visit-intro__inner,
	.p-visit-target__layout {
		grid-template-columns: 1fr;
		gap: 34px;
	}

	.p-visit-themes__grid {
		grid-template-columns: 1fr;
	}

	.p-visit-themes__grid {
		margin-top: 32px;
	}

	.p-visit-theme-card {
		margin-top: 18px;
		padding: 34px 20px 22px;
	}

	.p-visit-theme-card h3 {
		font-size: 19px;
	}

	.p-visit-theme-card__meta span {
		font-size: 44px;
	}

	.p-visit-target__list li {
		padding-inline: 4px;
	}

	.p-visit-info__layout {
		grid-template-columns: 1fr;
		gap: 24px;
		margin-top: 32px;
	}

	.p-visit-info__grid {
		padding: 12px 18px;
	}

	.p-visit-info__grid dd {
		padding: 0;
	}

	.p-visit-info-detail {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 14px;
	}

	.p-visit-info-detail__icon {
		width: 44px;
		height: 44px;
	}

	.p-visit-info-detail h3 {
		font-size: 19px;
	}

	.p-visit-flow__list {
		margin-top: 32px;
	}

	.p-visit-flow__list li {
		grid-template-columns: 52px minmax(0, 1fr);
		gap: 16px;
		padding-bottom: 34px;
	}

	.p-visit-flow__list::before {
		top: 26px;
		bottom: 26px;
		left: 25px;
	}

	.p-visit-flow__number {
		width: 52px;
		height: 52px;
		font-size: 23px;
	}

	.p-visit-flow h3 {
		margin-top: 0;
		font-size: 18px;
	}

	.p-visit-faq__item summary {
		grid-template-columns: auto minmax(0, 1fr) auto;
		gap: 10px;
		padding: 16px 0;
		font-size: 16px;
	}

	.p-visit-faq__answer {
		gap: 10px;
		padding-inline: 0;
	}

	.p-visit-faq__label {
		width: 32px;
		height: 32px;
	}

	

	

	

	

	

	

	

	
}

@media (prefers-reduced-motion: reduce) {
	
}

@media (max-width: 374px) {
	.p-visit-section {
		padding-inline: 14px;
	}

	.p-visit-hero__inner {
		padding-inline: 16px;
	}

	.p-visit-hero__title {
		font-size: 28px;
	}

	.p-visit-hero__copy {
		font-size: 22px !important;
	}

	.p-visit-info-detail {
		gap: 12px;
	}

	.p-visit-info__grid > div {
		grid-template-columns: 84px minmax(0, 1fr);
	}
}

/* wp-content/themes/swell_child/css/palette-components.css */
/* Palette Buzen shared components — improvement definition v1, R01–R08.
 * Page-specific photographs/compositions remain in their page stylesheets.
 */
:root {
 --service-section-space:96px;
 --service-gutter:20px;
 --component-body:max(16px,1rem);
 --component-small:max(15px,.9375rem);
}
.c-btn {
 max-width:100%; min-height:48px; font-size:var(--component-body);
 text-align:center; overflow-wrap:anywhere; flex-shrink:0;
}
.c-btn:focus-visible,.p-contact a:focus-visible,.p-footer a:focus-visible,
.p-visit-fixed-cta:focus-visible,.c-service-cases button:focus-visible,
.c-service-cases__scroll:focus-visible,.p-oshigoto-faq button:focus-visible {
 outline:3px solid var(--c-black); outline-offset:4px;
}
.p-contact a:focus-visible,.p-footer a:focus-visible { outline-color:#fff; box-shadow:0 0 0 3px var(--c-black); }
/* Let longer contact labels fit; balance lines only when the viewport requires wrapping. */
.c-btn.c-btn--contact {
 /* Override the legacy mobile button max-width:500px !important. */
 display:flex; max-width:100% !important;
 width:max-content; min-width:min(328px,100%); min-height:64px; padding:16px 24px;
 word-break:normal; text-wrap:balance;
}
.c-btn--contact > iconify-icon { flex:0 0 24px; width:24px; height:24px; }
.p-contact__btn-label { min-width:0; }
.p-contact__btn-part { display:inline-block; }
.c-btn--contact::after { content:none; }
.c-btn--positive:active { background:#e6cd2f; }

/* Shared fixed CTA: desktop tab and mobile vertical tab (2026-10-13). */
.p-visit-fixed-cta__close {
 width:44px; min-width:44px; max-width:44px;
 height:44px; min-height:44px; max-height:44px;
}

/* R02: contact content/background are passed by the template. */
.p-contact {
 position:relative; z-index:0; isolation:isolate;
 padding:var(--service-section-space) 0;
 background-image:var(--contact-image,url("https://palettebuzen.com/wp-content/themes/swell_child/images/2_footer.jpg"));
 /* Preserve headroom for the group photo in both landscape and portrait crops. */
 background-size:cover; background-position:center 20%;
 color:#fff; font-family:var(--f-sans); font-size:var(--component-body); line-height:1.8;
}
.p-contact *, .p-contact *::before,.p-contact *::after,.p-footer * { box-sizing:border-box; }
/* Overlap the preceding background so fractional SVG edges cannot expose the photo. */
.p-contact__wave { position:absolute; inset:-2px 0 auto; line-height:0; z-index:1; pointer-events:none; }
.p-contact__wave img { display:block; width:100%; max-width:none; height:auto; aspect-ratio:1728/42; }
.p-contact--wave-flip .p-contact__wave--top img { transform:rotate(180deg); }
.p-contact__overlay { position:absolute; inset:0; background:rgba(0,0,0,.55); pointer-events:none; z-index:0; }
.p-contact__inner {
 position:relative; z-index:2; display:flex; flex-direction:column; align-items:center;
 width:calc(100% - 2 * var(--service-gutter)); max-width:1096px;
 margin-inline:auto; padding-inline:0; gap:32px; text-align:center;
}
.p-contact__header { display:flex; flex-direction:column; align-items:center; gap:8px; }
.p-contact__title-en { font-family:var(--f-display); font-size:max(80px,5rem); line-height:1; color:#fff; margin:0; }
.p-contact__heading-row { display:flex; align-items:center; justify-content:center; gap:16px; }
.p-contact__icon { display:inline-flex; align-items:center; justify-content:center; width:40px; height:40px; border-radius:50%; background:var(--c-accent-4); color:var(--c-wood); flex:none; }
.p-contact__heading { font:700 max(30px,1.875rem)/1.5 var(--f-sans); letter-spacing:.05em; color:#fff; margin:0; padding:0; border:0; }
.p-contact__body { display:flex; flex-direction:column; gap:16px; max-width:700px; }
.p-contact__lead { font-size:max(24px,1.5rem); font-weight:700; margin:0; }
.p-contact__lead:empty { display:none; }
.p-contact__text { font-size:var(--component-body); line-height:1.8; margin:0; }
.p-contact__phone-card { display:flex; flex-direction:column; width:100%; max-width:660px; padding:24px; border-radius:8px; background:#fff; color:var(--c-black); }
.p-contact__phone-title { font-size:max(18px,1.125rem); font-weight:700; text-align:left; margin:0; }
.p-contact__phone-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 24px; }
.p-contact__phone-num-wrap { display:flex; align-items:center; justify-content:center; gap:8px; min-width:0; }
.p-contact__phone-icon { color:var(--c-wood); width:32px; height:32px; flex:none; }
.p-contact__phone-num { display:inline-flex; align-items:center; min-height:48px; font:700 max(35px,2.1875rem)/1.5 Jost,sans-serif; letter-spacing:.03em; color:var(--c-wood); text-decoration:none; overflow-wrap:anywhere; }
.p-contact__phone-num:hover { text-decoration:underline; }
.p-contact__phone-info { display:flex; flex-direction:column; text-align:left; gap:0; }
.p-contact__phone-info p { margin:0; font-size:var(--component-small); line-height:1.8; }

/* R03: one footer across the site. */
.p-footer { background:var(--c-wood); padding:32px 0; color:#fff; }
.p-footer__inner { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:flex-end; gap:24px; padding-inline:0; width:calc(100% - 2 * var(--service-gutter)); max-width:1120px; margin-inline:auto; }
.p-footer__logo { display:block; width:280px; max-width:100%; height:auto; margin:0 0 8px; }
.p-footer__address,.p-footer__right { font-family:var(--f-sans); font-size:var(--component-small); letter-spacing:.05em; line-height:1.8; color:#fff; margin:0; }
.p-footer__right { text-align:right; }
.p-footer__right p { margin:0; line-height:1.8; }

/* R05: shared service heading, with an optional eyebrow and color tokens. */
.c-service-section-heading {
 position:relative; display:flex; flex-direction:column; align-items:center;
 width:calc(100% - 2 * var(--service-gutter)); max-width:1096px;
 margin:0 auto 32px; color:var(--c-black); text-align:center;
 font-family:var(--f-sans); isolation:isolate;
}
.c-service-section-heading--wide { width:100%; margin-bottom:0; }
.c-service-section-heading__word {
 position:absolute; z-index:-1; top:-41px; left:50%; transform:translateX(-50%);
 color:var(--heading-word-color,var(--c-black)); opacity:var(--heading-word-opacity,.05);
 font:400 clamp(70px,10vw,159px)/1 var(--f-display); letter-spacing:0; white-space:nowrap; pointer-events:none;
}
.c-service-section-heading__deco { position:relative; display:flex; align-items:flex-end; gap:5px; height:40px; flex:none; }
.c-service-section-heading__deco img { display:block; max-width:none; }
.c-service-section-heading__deco-side { width:35px; height:23px; flex:none; }
.c-service-section-heading__deco-side--right { transform:rotate(180deg); }
.c-service-section-heading__deco-face { position:relative; display:block; width:71px; height:40px; flex:none; }
.c-service-section-heading__deco-face-bg { position:absolute; inset:0; width:71px; height:40px; }
.c-service-section-heading__deco-face-left { position:absolute; top:11px; left:9px; width:19px; height:20px; }
.c-service-section-heading__deco-face-right { position:absolute; top:12px; right:11px; width:17px; height:19px; }
.c-service-section-heading h2 { margin:16px 0 0; padding:0; border:0; color:var(--c-black); font:700 max(40px,2.5rem)/1.6 var(--f-sans); letter-spacing:.05em; }
.c-service-section-heading__eyebrow { display:block; font-size:max(20px,1.25rem); line-height:1.6; }
.c-service-section-heading__lead { position:relative; margin-top:32px; font-size:var(--component-body); font-weight:500; line-height:1.8; letter-spacing:.05em; }
.c-service-section-heading__lead p { margin:0; }
.c-service-section-heading__lead p + p { margin-top:8px; }

/* R08: same FAQ card; static and accordion differ only in interaction. */
.p-oshigoto-faq { padding:var(--service-section-space) var(--service-gutter); background:var(--faq-background,var(--c-base)); color:var(--c-black); font-family:var(--f-sans); font-size:var(--component-body); }
.p-oshigoto-faq__inner { width:min(1096px,100%); margin-inline:auto; display:flex; flex-direction:column; align-items:center; gap:32px; }
.p-oshigoto-faq .p-oshigoto-faq__title { font-size:max(40px,2.5rem); line-height:1.6; }
.p-oshigoto-faq__list { width:100%; max-width:696px; display:flex; flex-direction:column; gap:24px; }
.p-oshigoto-faq__item { padding:8px; border-radius:16px; background:#fff; }
.p-oshigoto-faq__question,.p-oshigoto-faq__answer { display:flex; align-items:flex-start; gap:16px; padding:8px; color:var(--c-black); line-height:1.8; }
.p-oshigoto-faq__question { align-items:center; width:100%; min-height:48px; margin:0; border:0; background:none; font:inherit; text-align:left; cursor:pointer; }
.p-oshigoto-faq__q-label,.p-oshigoto-faq__a-label { display:flex; align-items:center; justify-content:center; width:32px; height:32px; min-width:32px; border-radius:50%; color:#fff; font-size:var(--component-body); font-weight:700; line-height:1; letter-spacing:0; flex:none; }
.p-oshigoto-faq__q-label { background:var(--c-accent-5); }
.p-oshigoto-faq__a-label { background:var(--c-accent-3); }
.p-oshigoto-faq__q-text,.p-oshigoto-faq__a-text { min-width:0; flex:1; font-size:var(--component-body); line-height:1.8; letter-spacing:.05em; overflow-wrap:anywhere; }
.p-oshigoto-faq__q-text { font-weight:700; }
.p-oshigoto-faq__a-text { font-weight:500; }
.p-oshigoto-faq__a-text p { margin:0; }
.p-oshigoto-faq__arrow { width:20px; height:20px; flex:none; transition:transform .2s; }
.p-oshigoto-faq__item.is-open .p-oshigoto-faq__arrow { transform:rotate(180deg); }
.p-oshigoto-faq__answer-wrap { max-height:0; overflow:hidden; transition:max-height .2s; }
.p-oshigoto-faq__answer { margin-top:8px; border-top:1px solid #e5e5e5; }
.p-oshigoto-faq--static .p-oshigoto-faq__question { cursor:default; }
.p-oshigoto-faq--static .p-oshigoto-faq__answer-wrap { max-height:none; overflow:visible; }

@media (min-width:768px) {
 .p-contact__lead br { display:none; }
}
@media (min-width:1025px) and (max-width:1439px) {
 #body_wrap.has-pallet-side-nav .o-faq .p-oshigoto-faq__inner { width:calc(100% - 128px); margin-left:128px; }
}
@media (max-width:1024px) {
 :root { --service-section-space:64px; }
 .p-visit-fixed-cta-wrap {
  display:block; right:env(safe-area-inset-right,0px);
  bottom:calc(88px + env(safe-area-inset-bottom,0px));
 }
 .p-visit-fixed-cta {
  box-sizing:border-box; flex-direction:column; justify-content:center;
  width:48px; min-height:170px; gap:8px; padding:12px 6px;
  border-radius:12px 0 0 12px;
 }
 .p-visit-fixed-cta__icon { width:28px; height:28px; }
 .p-visit-fixed-cta__copy { display:block; }
 .p-visit-fixed-cta__copy small,.p-visit-fixed-cta__arrow { display:none; }
 .p-visit-fixed-cta__copy strong {
  writing-mode:vertical-rl; text-orientation:upright; white-space:nowrap;
  font-size:1rem; line-height:1.4; letter-spacing:.05em;
 }
 .p-visit-fixed-cta__close { top:-52px; right:0; left:auto; }
 body:has(#js-sp-menu.is-open) .p-visit-fixed-cta-wrap { display:none; }
 .p-visit-fixed-cta:focus-visible { outline-offset:-4px; }
 .p-visit-fixed-cta:hover { transform:none; }
 .p-contact { background-image:var(--contact-image-mobile,url("https://palettebuzen.com/wp-content/themes/swell_child/images/1_footer.jpg")); }
 .p-contact__title-en { font-size:max(48px,3rem); }
 .p-contact__heading { font-size:max(28px,1.75rem); }
 .p-contact__heading-row { gap:8px; }
 .p-contact__lead { font-size:max(20px,1.25rem); }
 .p-contact__phone-card { padding:16px; }
 .p-contact__phone-title { text-align:center; }
 .p-contact__phone-row { flex-direction:column; gap:8px; }
 .p-contact__phone-num { font-size:max(28px,1.75rem); }
 .p-contact__phone-info { text-align:center; }
 .p-contact__text br { display:none; }
 .c-btn--contact { min-height:48px; }
 .p-footer__inner { flex-direction:column; align-items:center; text-align:center; }
 .p-footer__logo { margin:0 auto 16px; }
 .p-footer__right { text-align:center; }
 .c-service-section-heading h2,.p-oshigoto-faq .p-oshigoto-faq__title { font-size:max(28px,1.75rem); }
 .c-service-section-heading__eyebrow { font-size:max(18px,1.125rem); }
 .c-service-section-heading__word { font-size:clamp(58px,17vw,110px); top:-16px; }
 .c-service-section-heading__deco { transform:scale(.75); transform-origin:center bottom; }
 .c-service-section-heading__lead { margin-top:24px; }
 .c-service-section-heading__lead br { display:none; }
 .p-oshigoto-faq__question,.p-oshigoto-faq__answer { gap:8px; }
 .p-oshigoto-faq--static .p-oshigoto-faq__a-text br { display:none; }
 .p-kodomo-faq.p-oshigoto-faq { padding-block:var(--service-section-space); }
}
@media (max-width:374px) { :root { --service-gutter:16px; } }
@media (prefers-reduced-motion:reduce) {
 .c-btn,.c-btn::after,.c-shine-btn::before,.p-oshigoto-faq__arrow,.p-oshigoto-faq__answer-wrap { animation:none!important; transition:none!important; }
 .c-service-cases__scroll { scroll-behavior:auto; }
}

/* Keep shared headings inside their own section gutter and clear the fixed header. */
.c-service-cases > .c-service-section-heading { width:calc(100% - 2 * var(--service-gutter)); }
.p-contact,.c-service-section-heading h2 { scroll-margin-top:112px; }
.p-kodomo-faq.p-oshigoto-faq { padding-block:var(--service-section-space); }
.p-sp-menu :is(a,button):focus-visible,.p-sp-header button:focus-visible { outline:3px solid var(--c-black); outline-offset:3px; }

/* Shared emphasis rays: add this class only to decorative emphasis marks.
 * Two soft glints in 2.8 seconds; opacity keeps placement and shape unchanged.
 */
.c-emphasis-rays { opacity:1; }
@media (prefers-reduced-motion:no-preference) {
 .c-emphasis-rays { animation:palette-emphasis-twinkle 2.8s ease-in-out infinite; }
}
@keyframes palette-emphasis-twinkle {
 0%,40%,80%,100% { opacity:1; }
 20%,60% { opacity:.18; }
}
@media (prefers-reduced-motion:reduce) {
 .c-emphasis-rays { animation:none!important; opacity:1; }
}

/* Service hero: shared layout with the existing Jobs / Kodomo hero hooks.
 * Page-specific copy, photos and image focal points remain in their templates.
 */
.c-service-hero { position:relative; padding:0; background:#fff; }
.c-service-hero__visual,.p-oshigoto-hero,.p-kodomo-hero {
 position:relative; height:349px; overflow:hidden;
}
.c-service-hero .c-service-hero__photo {
 position:absolute; inset:0; width:100%; max-width:none; height:100%;
 object-fit:cover; object-position:var(--service-hero-photo-position,center);
}
.c-service-hero__copy,.p-oshigoto-hero__text-wrap,.p-kodomo-hero__copy {
 position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
}
.c-service-hero__copy { z-index:2; }
.c-service-hero__text,.p-oshigoto-hero__text,.p-kodomo-hero h1 {
 display:block; width:100%; max-width:1096px; margin:0; padding-right:var(--sp-md);
 text-align:right; color:#fff; font-family:var(--f-sans); font-weight:700;
 text-shadow:0 0 3px #000,0 0 13px #000,0 0 7px #000;
}
.c-service-hero__audience,.c-service-hero__message { display:block; }
.c-service-hero__audience,.p-oshigoto-hero__heading,.p-kodomo-hero__audience {
 margin-bottom:var(--sp-xs); font-size:var(--fs-3xl);
 letter-spacing:var(--ls-wider); line-height:var(--lh-tight);
}
.c-service-hero__message,.p-oshigoto-hero__subheading,.p-kodomo-hero__message {
 font-size:var(--fs-2xl); letter-spacing:var(--ls-wider); line-height:var(--lh-normal);
}
/* Kodomo is the reference for the identity panel as well as the photo/copy. */
.c-service-hero__identity,.p-kodomo-hero__identity {
 position:absolute; z-index:3; bottom:0; left:0;
 display:flex; flex-direction:column; justify-content:center; gap:0;
 height:91px; padding:8px 8px 8px 344px;
 border-radius:0 24px 0 0; background:#fff;
}
.c-service-hero__category,.p-kodomo-hero__category {
 display:flex; align-items:center; gap:9.96px; margin:0;
 color:#b8861a; font-size:25.36px; font-weight:700;
 letter-spacing:1px; line-height:1; white-space:nowrap;
}
.c-service-hero__category img { width:9.96px; height:9.96px; flex:none; }
.c-service-hero .c-service-hero__name,.p-kodomo-hero__name {
 margin:0; padding:0; color:#000; font-size:35.02px; font-weight:700;
 letter-spacing:1.38px; line-height:45.68px; white-space:nowrap;
}
@media (min-width:1025px) and (max-width:1439px) {
 #body_wrap.has-pallet-side-nav .c-service-hero__text {
  box-sizing:border-box; width:var(--p-side-nav-content-width); max-width:none;
  margin-left:calc(var(--p-side-nav-reserve) + var(--p-side-nav-content-margin));
  margin-right:var(--p-side-nav-content-margin);
 }
}
@media (max-width:1024px) {
 .c-service-hero__visual,.p-oshigoto-hero,.p-kodomo-hero { height:280px; }
 .c-service-hero__identity,.p-kodomo-hero__identity { height:88px; padding-left:28px; }
}
/* Leave room for the shared floating menu in the tablet hero. */
@media (min-width:768px) and (max-width:1024px) {
 .c-service-hero__copy,.p-oshigoto-hero__text-wrap,.p-kodomo-hero__copy { padding-top:64px; }
 .c-service-hero__audience,.p-oshigoto-hero__heading,.p-kodomo-hero__audience { font-size:28px; }
 .c-service-hero__message,.p-oshigoto-hero__subheading,.p-kodomo-hero__message { font-size:24px; line-height:1.6; }
}
@media (max-width:767px) {
 .c-service-hero__visual,.p-oshigoto-hero,.p-kodomo-hero { height:auto; aspect-ratio:4/3; }
 .c-service-hero .c-service-hero__photo { object-position:var(--service-hero-photo-position-mobile,center); }
 .c-service-hero__visual::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg,transparent 14%,rgba(0,0,0,.08) 48%,rgba(0,0,0,.34) 100%);
 }
 .c-service-hero__copy,.p-oshigoto-hero__text-wrap,.p-kodomo-hero__copy {
  align-items:flex-end; justify-content:flex-end; padding:var(--sp-md);
 }
 .c-service-hero__text,.p-oshigoto-hero__text,.p-kodomo-hero h1 { max-width:none; padding-right:0; }
 .c-service-hero__audience,.p-oshigoto-hero__heading,.p-kodomo-hero__audience { font-size:2rem; }
 .c-service-hero__message,.p-oshigoto-hero__subheading,.p-kodomo-hero__message { font-size:1.2rem; }
 .p-kodomo-hero__identity { display:none; }
 /* Keep the H1 available to assistive technology without inserting a mobile panel. */
 .c-service-hero__identity {
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); clip-path:inset(50%); white-space:nowrap; border:0;
 }
}


/* Shared service Instagram strip; dimensions follow the Kodomo reference. */
.c-service-instagram,.p-kodomo-instagram-strip {
 display:flex; align-items:center; justify-content:flex-start;
 box-sizing:border-box; min-height:42px; padding:8px 0;
 background:var(--kp-yellow,var(--o-yellow,#f5e04b)); color:#000; text-decoration:none;
}
.c-service-instagram__inner,.p-kodomo-instagram-strip__inner {
 display:flex; align-items:center; gap:0; padding:0 16px;
}
.c-service-instagram__label,.p-kodomo-instagram-strip__label {
 display:flex; align-items:center; height:26px;
 font-size:16px; font-weight:500; letter-spacing:2.5px; line-height:25.6px;
 text-decoration:underline; text-underline-offset:2px;
}
.c-service-instagram img,.p-kodomo-instagram-strip img { width:16px; height:16px; flex:0 0 16px; }
.c-service-instagram:hover,.p-kodomo-instagram-strip:hover { color:#000; filter:brightness(.97); }
@media (min-width:1025px) {
 #body_wrap.has-pallet-side-nav .c-service-instagram { width:100%; margin-left:0; }
 #body_wrap.has-pallet-side-nav .c-service-instagram__inner {
  box-sizing:border-box; width:100%; max-width:none; justify-content:flex-start; margin:0;
  padding-right:var(--sp-md); padding-left:calc(var(--p-side-nav-expanded-reserve) + var(--sp-md));
 }
}
@media (max-width:767px) {
 .c-service-instagram__inner,.p-kodomo-instagram-strip__inner { justify-content:center; }
 .c-service-instagram__label,.p-kodomo-instagram-strip__label { font-size:14px; letter-spacing:2px; }
}

/* Shared service sliders: quiet dots with a full 44px touch target. */
:is(.c-service-cases, .p-oshigoto-cases, .c-service-voices) .splide__pagination,
.c-service-cases__controls {
 position:static; display:flex; justify-content:center; flex-wrap:wrap; gap:0;
 margin:16px 0 0; padding:0; list-style:none;
}
.c-service-cases__controls[hidden] { display:none; }
:is(.c-service-cases, .p-oshigoto-cases, .c-service-voices) .splide__pagination__page,
.c-service-cases__dot {
 display:grid; place-items:center; width:44px; height:44px; min-height:44px;
 margin:0; padding:0; border:0; border-radius:50%; background:none;
 opacity:1; transform:none; cursor:pointer;
}
:is(.c-service-cases, .p-oshigoto-cases, .c-service-voices) .splide__pagination__page::before,
.c-service-cases__dot::before {
 content:''; width:8px; height:8px; border-radius:50%; background:#b0a79c;
}
:is(.c-service-cases, .p-oshigoto-cases, .c-service-voices) .splide__pagination__page.is-active,
.c-service-cases__dot[aria-current="true"] { background:none; transform:none; }
:is(.c-service-cases, .p-oshigoto-cases, .c-service-voices) .splide__pagination__page.is-active::before,
.c-service-cases__dot[aria-current="true"]::before { background:var(--c-black); }
:is(.c-service-cases, .p-oshigoto-cases, .c-service-voices) .splide__pagination__page:focus-visible,
.c-service-cases__dot:focus-visible { outline:2px solid var(--c-black); outline-offset:-4px; }
@media (max-width:767px) {
 .p-oshigoto-cases__lead-heading { text-align:left; }
}
