/* 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/jobs.css */
/* =============================================
   おしごとパレット 求人ページ
   ============================================= */

/* ─────────────────────────────────────────────
   Page Layout
───────────────────────────────────────────── */
.p-oshigoto {
	background-color: var(--c-base);
}

/* ─────────────────────────────────────────────
   共通コンポーネント: セクション見出しブロック
───────────────────────────────────────────── */
.c-section-heading-block {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* 背景テキスト（FEATURES, VOICE, CASES 等） */
.c-section-bg-text {
	position: absolute;
	top: 7px;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: var(--f-display);
	font-size: 12vmin;
	white-space: nowrap;
	line-height: 1;
	pointer-events: none;
	z-index: 0;
}

/* 背景テキスト色バリエーション */
.c-section-bg-text--white {
	color: var(--c-white);
}

.c-section-bg-text--ghost {
	color: var(--c-black);
	opacity: 0.05;
}

/* ─────────────────────────────────────────────
   共通コンポーネント: セクション見出しタイトルグループ
───────────────────────────────────────────── */
.c-section-title-group {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-sm);
}

/* ─────────────────────────────────────────────
   共通コンポーネント: 見出し装飾アイコン
───────────────────────────────────────────── */
.c-heading-deco {
	display: flex;
	align-items: flex-end;
	gap: 5px;
	flex-shrink: 0;
}

.c-heading-deco__dots {
	display: block;
	flex-shrink: 0;
	animation: decoPopBounce 2.4s ease-in-out infinite;
	animation-delay: 0s;
}

.c-heading-deco__dots--flip {
	transform: rotate(180deg) scaleY(-1);
	animation-name: decoPopBounceFlip;
	animation-delay: 0.8s;
}

.c-heading-deco__emoji {
	display: inline-grid;
	grid-template: max-content / max-content;
	transform: rotate(-171deg) scaleY(-1);
	animation: decoPopBounceEmoji 2.4s ease-in-out infinite;
	animation-delay: 0.4s;
}

/* ぽよぽよ跳ねるアニメーション */
@keyframes decoPopBounce {

	0%,
	100% {
		transform: translateY(0) scale(1);
	}

	15% {
		transform: translateY(-6px) scale(1.1, 0.9);
	}

	30% {
		transform: translateY(2px) scale(0.95, 1.05);
	}

	45% {
		transform: translateY(-2px) scale(1.03, 0.97);
	}

	60% {
		transform: translateY(0) scale(1);
	}
}

@keyframes decoPopBounceFlip {

	0%,
	100% {
		transform: rotate(180deg) scaleY(-1) translateY(0) scale(1);
	}

	15% {
		transform: rotate(180deg) scaleY(-1) translateY(-6px) scale(1.1, 0.9);
	}

	30% {
		transform: rotate(180deg) scaleY(-1) translateY(2px) scale(0.95, 1.05);
	}

	45% {
		transform: rotate(180deg) scaleY(-1) translateY(-2px) scale(1.03, 0.97);
	}

	60% {
		transform: rotate(180deg) scaleY(-1) translateY(0) scale(1);
	}
}

@keyframes decoPopBounceEmoji {

	0%,
	100% {
		transform: rotate(-171deg) scaleY(-1) translateY(0) scale(1);
	}

	15% {
		transform: rotate(-171deg) scaleY(-1) translateY(-8px) scale(1.12, 0.88);
	}

	30% {
		transform: rotate(-171deg) scaleY(-1) translateY(3px) scale(0.94, 1.06);
	}

	45% {
		transform: rotate(-171deg) scaleY(-1) translateY(-3px) scale(1.04, 0.96);
	}

	60% {
		transform: rotate(-171deg) scaleY(-1) translateY(0) scale(1);
	}
}

.c-heading-deco__leaf {
	grid-area: 1 / 1;
	display: block;
}

.c-heading-deco__faces {
	grid-area: 1 / 1;
	display: inline-grid;
	grid-template: max-content / max-content;
}

.c-heading-deco__face {
	display: block;
}

.c-heading-deco__face--1 {
	grid-area: 1 / 1;
}

.c-heading-deco__face--2 {
	grid-area: 1 / 1;
}

/* サイズ: sm（インライン見出し用） */
.c-heading-deco--sm .c-heading-deco__dots {
	width: 35px;
	height: 23px;
}

.c-heading-deco--sm .c-heading-deco__leaf {
	width: 50px;
	height: 28px;
}

.c-heading-deco--sm .c-heading-deco__faces {
	margin-left: 6.5px;
	margin-top: 7.75px;
}

.c-heading-deco--sm .c-heading-deco__face--1 {
	width: 12px;
	height: 13px;
	margin-left: 23.4px;
	margin-top: 1px;
}

.c-heading-deco--sm .c-heading-deco__face--2 {
	width: 13px;
	height: 13.5px;
}

/* サイズ: lg（セクション見出し用） */
.c-heading-deco--lg .c-heading-deco__dots {
	width: 35px;
	height: 23px;
}

.c-heading-deco--lg .c-heading-deco__leaf {
	width: 71px;
	height: 39px;
}

.c-heading-deco--lg .c-heading-deco__faces {
	margin-left: 9.3px;
	margin-top: 11px;
}

.c-heading-deco--lg .c-heading-deco__face--1 {
	width: 17px;
	height: 18px;
	margin-left: 33px;
	margin-top: 1.3px;
}

.c-heading-deco--lg .c-heading-deco__face--2 {
	width: 18px;
	height: 19px;
}

/* ─────────────────────────────────────────────
   Jobs Hero
───────────────────────────────────────────── */
.p-oshigoto-hero {
	position: relative;
	height: 349px;
	overflow: hidden;
}

/* 背景画像 */
.p-oshigoto-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.p-oshigoto-hero__bg--sp {
	display: none;
}

@media (max-width: 767px) {
	.p-oshigoto-hero__bg--pc {
		display: none;
	}

	.p-oshigoto-hero__bg--sp {
		display: block;
	}
}

/* テキストブロック */
.p-oshigoto-hero__text-wrap {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.p-oshigoto-hero__text {
	width: 100%;
	max-width: 1096px;
	padding-right: var(--sp-md);
	text-align: right;
	color: var(--c-white);
	font-family: var(--f-sans);
	font-weight: 700;
	text-shadow: 0 0 3px black, 0 0 13px black, 0 0 7px black;
}

.p-oshigoto-hero__heading {
	font-size: var(--fs-3xl);
	letter-spacing: var(--ls-wider);
	line-height: var(--lh-tight);
	margin-bottom: var(--sp-xs);
}

.p-oshigoto-hero__subheading {
	font-size: var(--fs-2xl);
	letter-spacing: var(--ls-wider);
	line-height: var(--lh-normal);
}

/* バッジ（左下・右上のみ角丸） */
.p-oshigoto-hero__badge {
	position: absolute;
	left: 0;
	bottom: 0;
	background-color: var(--c-white);
	border-radius: 0 24px 0 0;
	padding: var(--sp-xs) var(--sp-md) var(--sp-xs) 20vw;
	display: flex;
	align-items: center;
}

.p-oshigoto-hero__badge-inner {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.p-oshigoto-hero__badge-label {
	display: flex;
	align-items: center;
	gap: var(--sp-xs);
}

.p-oshigoto-hero__badge-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #b8861a;
	flex-shrink: 0;
}

.p-oshigoto-hero__badge-type {
	color: #b8861a;
	font-size: var(--fs-lg);
	font-weight: 700;
	letter-spacing: var(--ls-normal);
}

.p-oshigoto-hero__badge-title {
	font-size: var(--fs-2xl);
	font-weight: 700;
	letter-spacing: var(--ls-tight);
	line-height: var(--lh-tight);
	color: var(--c-black);
}

/* ─────────────────────────────────────────────
   Jobs Instagram Bar
───────────────────────────────────────────── */
.p-oshigoto-insta {
	width: 100%;
	background-color: var(--c-accent-2);
	padding: var(--sp-xs) 0;
}

.p-oshigoto-insta__inner {
	max-width: 1096px;
	margin: 0 auto;
	padding: 0 var(--sp-sm);
}

.p-oshigoto-insta__link {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-xs);
	text-decoration: none;
	color: var(--c-black);
}

.p-oshigoto-insta__text {
	font-size: var(--fs-base);
	font-weight: 500;
	letter-spacing: var(--ls-wider);
	text-decoration: underline;
}

.p-oshigoto-insta__icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

/* ─────────────────────────────────────────────
   Jobs About / おしごとパレットとは
───────────────────────────────────────────── */
.p-oshigoto-about {
	padding: 24px var(--sp-sm);
	background-color: var(--c-white);
}

.p-oshigoto-about__inner {
	max-width: 1096px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 88px;
	margin-top: 40px;
}

/* ── CTA カード ── */
.p-oshigoto-about__cta {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: var(--sp-lg);
	width: 100%;
	max-width: 550px;
	padding: var(--sp-xs) var(--sp-sm);
	border-radius: var(--sp-xs);
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	overflow: hidden;
	text-decoration: none;
	color: var(--c-black);
	transition: opacity 0.2s;
}

.p-oshigoto-about__cta:hover {
	opacity: 0.85;
}

.p-oshigoto-about__cta-bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.p-oshigoto-about__cta-body {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	/* gap: var(--sp-xs); */
}

.p-oshigoto-about__cta-tags {
	display: flex;
	align-items: center;
	gap: var(--sp-xs);
}

.p-oshigoto-about__cta-tag {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 var(--sp-xs);
	border: 1px solid var(--c-black);
	border-radius: 4px;
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	letter-spacing: var(--ls-normal);
	white-space: nowrap;
	line-height: 1;
	padding: 4px var(--sp-xs);
	background-color: #fff;
	text-shadow:
		0 0 4px rgba(255, 255, 255, 0.9),
		0 0 8px rgba(255, 255, 255, 0.7),
		0 0 16px rgba(255, 255, 255, 0.5);
}

.p-oshigoto-about__cta-title {
	font-family: var(--f-sans);
	font-size: var(--fs-xl);
	font-weight: 700;
	white-space: nowrap;
	text-shadow:
		0 0 4px rgba(255, 255, 255, 0.9),
		0 0 8px rgba(255, 255, 255, 0.7),
		0 0 16px rgba(255, 255, 255, 0.5);
}

.p-oshigoto-about__cta-arrow {
	position: relative;
	width: 10px;
	height: 15px;
	flex-shrink: 0;
}

/* ── CTA カード (Biz) ── */
.p-oshigoto-about__cta--biz .p-oshigoto-about__cta-overlay {
	position: absolute;
	top: 0;
	right: 0;
	width: 67%;
	height: 100%;
	background: linear-gradient(to right, rgba(217, 217, 217, 0) 5%, rgba(85, 36, 13, 0.3) 10%);
	pointer-events: none;
}

.p-oshigoto-about__cta--biz .p-oshigoto-about__cta-tag {
	background-color: #f5f3ef;
	border-color: var(--c-white);
	color: var(--c-black);
	text-shadow: none;
}

.p-oshigoto-about__cta--biz .p-oshigoto-about__cta-title {
	color: var(--c-white);
	text-shadow:
		0 0 4px rgba(0, 0, 0, 0.5),
		0 0 8px rgba(0, 0, 0, 0.3);
}

/* SPバッジ（PCでは非表示） */
.p-oshigoto-about__sp-badge {
	display: none;
}

/* ── コンセプトエリア ── */
.p-oshigoto-about__concept {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-3xl);
	width: 100%;
}

/* ── OSHIGOTO リボン装飾 ── */
.p-oshigoto-about__ribbon {
	width: 388px;
	height: 122px;
	top: -80px;
	z-index: 0;
	position: absolute;
}

.p-oshigoto-about__ribbon-part {
	position: absolute;
}

.p-oshigoto-about__ribbon-part img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
}

.p-oshigoto-about__ribbon-part--lt {
	inset: 38.15% 77.17% 0 0;
}

.p-oshigoto-about__ribbon-part--lb {
	inset: 58.77% 77.18% 22.09% 15.26%;
}

.p-oshigoto-about__ribbon-part--rt {
	inset: 38.17% 0 -0.01% 77.17%;
}

.p-oshigoto-about__ribbon-part--rb {
	inset: 58.78% 15.26% 22.08% 77.17%;
}

.p-oshigoto-about__ribbon-part--banner {
	inset: -0.01% 10.18% 27.21% 10.18%;
}

.p-oshigoto-about__ribbon-part--text {
	inset: 17.78% 22.92% 55.6% 22.7%;
}

/* ── キャッチコピー ── */
.p-oshigoto-about__catchcopy {
	font-family: var(--f-sans);
	font-size: var(--fs-lg);
	font-weight: 700;
	color: var(--c-black);
	text-align: center;
	letter-spacing: var(--ls-wider);
	line-height: var(--lh-loose);
	z-index: 1;
}

/* ── おしごとパレットとは？ コンテンツ ── */
.p-oshigoto-about__content {
	display: flex;
	gap: 28px;
	align-items: flex-start;
	width: 100%;
}

.p-oshigoto-about__photo-wrap {
	flex-shrink: 0;
	width: 480px;
}

.p-oshigoto-about__photo {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--sp-xs);
}

.p-oshigoto-about__text {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: var(--sp-xs);
}

.p-oshigoto-about__heading {
	display: flex;
	align-items: center;
	gap: 4px;
	font-family: var(--f-sans);
	font-size: var(--fs-2xl);
	font-weight: 700;
	color: var(--c-black);
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}


.p-oshigoto-about__concept-inner {
	display: flex;
	position: relative;
	margin-top: 56px;
	flex-direction: column;
	align-items: center;
}

/* 「おしごとパレットとは？」見出し装飾（別テンプレート） */
.c-about-heading-deco {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 54px;
	height: 35px;
	flex-shrink: 0;
}

.c-about-heading-deco__inner {
	display: inline-grid;
	grid-template: max-content / max-content;
	transform: rotate(-171deg) scaleY(-1);
	animation: decoPopBounceEmoji 2.4s ease-in-out infinite;
	animation-delay: 0s;
}

.c-about-heading-deco__leaf {
	grid-area: 1 / 1;
	display: block;
	width: 50px;
	height: 28px;
}

.c-about-heading-deco__faces {
	grid-area: 1 / 1;
	display: inline-grid;
	grid-template: max-content / max-content;
	margin-left: 6.5px;
	margin-top: 7.75px;
}

.c-about-heading-deco__face {
	display: block;
}

.c-about-heading-deco__face--1 {
	grid-area: 1 / 1;
	width: 12px;
	height: 13px;
	margin-left: 23.4px;
	margin-top: 1px;
}

.c-about-heading-deco__face--2 {
	grid-area: 1 / 1;
	width: 13px;
	height: 13.5px;
}

/* 見出し右装飾: 2色ドット */
.p-oshigoto-about__heading-dots {
	display: block;
	width: 35px;
	height: 23px;
	flex-shrink: 0;
	animation: decoPopBounce 2.4s ease-in-out infinite;
	animation-delay: 0.4s;
}

.p-oshigoto-about__desc {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	color: var(--c-black);
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

.p-oshigoto-about__desc p {
	margin-bottom: var(--sp-sm);
}

.p-oshigoto-about__desc p:last-child {
	margin-bottom: 0;
}

/* ─────────────────────────────────────────────
   Jobs Features / 3つの特徴
───────────────────────────────────────────── */
.p-oshigoto-features {
	position: relative;
	padding: 0;
}

/* ── 波線ボーダー ── */
.p-oshigoto-features__wave {
	display: block;
	width: 100%;
	aspect-ratio: 1728 / 42;
	line-height: 0;
}

.p-oshigoto-features__wave img {
	display: block;
	width: 100%;
	height: 100%;
}

.p-oshigoto-features__wave--bottom {
	transform: rotate(180deg);
}

/* ── メインコンテンツ ── */
.p-oshigoto-features__body {
	background-color: var(--c-base);
	padding: 0 var(--sp-sm);
}

.p-oshigoto-features__inner {
	max-width: 1096px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-xl);
	padding: 112px 0;
}

/* ── セクション見出し ── */
/* heading-block は共通 .c-section-heading-block を使用 */

/* bg-text は共通 .c-section-bg-text を使用 */

/* title-group は共通 .c-section-title-group を使用 */

/* 装飾アイコンは共通コンポーネント .c-heading-deco を使用 */

/* サブタイトル + タイトルを詰めて表示 */
.p-oshigoto-features__title-text {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.p-oshigoto-features__subtitle {
	font-family: var(--f-sans);
	font-size: var(--fs-lg);
	font-weight: 700;
	color: var(--c-black);
	text-align: center;
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-tight);
}

.p-oshigoto-features__title {
	font-family: var(--f-sans);
	font-size: var(--fs-2xl);
	font-weight: 700;
	color: var(--c-black);
	text-align: center;
	letter-spacing: var(--ls-wide);
	line-height: var(--lh-tight);
}

/* ── 特徴リスト ── */
.p-oshigoto-features__list {
	display: flex;
	flex-direction: column;
	gap: var(--sp-xl);
	width: 100%;
}

/* 各アイテム（PC: 2カラム Grid） */
.p-oshigoto-features__item {
	display: grid;
	grid-template-columns: 480px 1fr;
	grid-template-rows: auto auto;
	gap: 2px var(--sp-lg);
	align-items: start;
	width: 100%;
}

/* PC: 写真は左カラム全行 */
.p-oshigoto-features__item>.p-oshigoto-features__item-photo {
	grid-column: 1;
	grid-row: 1 / -1;
}

/* PC: ヘッダー（POINT+見出し）と説明は右カラム */
.p-oshigoto-features__item>.p-oshigoto-features__item-header {
	grid-column: 2;
	grid-row: 1;
}

.p-oshigoto-features__item>.p-oshigoto-features__item-desc {
	grid-column: 2;
	grid-row: 2;
}

/* POINT+見出しをまとめるラッパー */
.p-oshigoto-features__item-header {
	display: flex;
	flex-direction: column;
}

/* PC: POINT2 は写真右 */
.p-oshigoto-features__item--reverse {
	grid-template-columns: 1fr 480px;
}

.p-oshigoto-features__item--reverse>.p-oshigoto-features__item-photo {
	grid-column: 2;
}

.p-oshigoto-features__item--reverse>.p-oshigoto-features__item-header,
.p-oshigoto-features__item--reverse>.p-oshigoto-features__item-desc {
	grid-column: 1;
}

/* 写真 */
.p-oshigoto-features__item-photo img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--sp-xs);
}

/* POINT ラベル */
.p-oshigoto-features__point {
	position: relative;
	display: inline-grid;
	grid-template: max-content / max-content;
	align-items: start;
	color: var(--c-accent-5);
}

.p-oshigoto-features__point-label {
	grid-area: 1 / 1;
	font-family: "Futura", "Jost", sans-serif;
	font-size: var(--fs-lg);
	font-weight: 500;
	letter-spacing: var(--ls-normal);
	line-height: 1;
	margin-top: 27px;
}

.p-oshigoto-features__point-num {
	grid-area: 1 / 1;
	font-family: "Futura", "Jost", sans-serif;
	font-size: 3.45rem;
	font-weight: 800;
	letter-spacing: var(--ls-normal);
	line-height: 1;
	margin-left: 76px;
}

.p-oshigoto-features__point-illust {
	position: absolute;
	left: 57px;
	top: -20px;
	width: 33px;
	height: 29px;
}

/* 見出し */
.p-oshigoto-features__item-heading {
	font-family: var(--f-sans);
	font-size: var(--fs-2xl);
	font-weight: 700;
	color: var(--c-black);
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

/* 説明文 */
.p-oshigoto-features__item-desc {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	color: var(--c-black);
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

/* ─────────────────────────────────────────────
   Jobs Voice / 利用者の声
───────────────────────────────────────────── */
.p-oshigoto-voice {
	padding: var(--sp-3xl) var(--sp-sm);
	background-color: var(--c-white);
}

.p-oshigoto-voice__inner {
	max-width: 1096px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-2xl);
}

/* ── セクション見出し ── */
/* heading-block は共通 .c-section-heading-block を使用 */

/* bg-text は共通 .c-section-bg-text を使用 */

/* title-group は共通 .c-section-title-group を使用 */

.p-oshigoto-voice__title {
	font-family: var(--f-sans);
	font-size: var(--fs-2xl);
	font-weight: 700;
	color: var(--c-black);
	text-align: center;
	letter-spacing: var(--ls-wide);
	line-height: var(--lh-tight);
}

.p-oshigoto-voice__lead {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	color: var(--c-black);
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
	text-align: center;
}

/* ── カードリスト ── */
.p-oshigoto-voice__list {
	display: flex;
	gap: var(--sp-xl);
	align-items: flex-start;
	width: 100%;
}

.p-oshigoto-voice__card {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: var(--sp-md);
}

/* 写真 */
.p-oshigoto-voice__card-photo {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--sp-xs);
	overflow: hidden;
}

.p-oshigoto-voice__card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* テキスト部分 */
.p-oshigoto-voice__card-body {
	display: flex;
	flex-direction: column;
	gap: var(--sp-xs);
	color: var(--c-black);
	letter-spacing: var(--ls-normal);
}

.p-oshigoto-voice__card-profile {
	display: inline-block;
	align-self: flex-start;
	font-family: var(--f-sans);
	font-size: var(--fs-sm);
	font-weight: 700;
	line-height: 1;
	color: var(--c-black);
	background-color: var(--c-accent-2);
	padding: var(--sp-xs) var(--sp-sm);
	border-radius: 120px;
}

.p-oshigoto-voice__card-heading {
	font-family: var(--f-sans);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: var(--lh-normal);
}

.p-oshigoto-voice__card-text {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	line-height: var(--lh-normal);
}

.p-oshigoto-voice__card-attr {
	text-align: right;
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	line-height: var(--lh-normal);
	color: var(--c-black);
	margin-top: auto;
}

.p-oshigoto-voice__card-attr p {
	margin: 0;
}

/* ─────────────────────────────────────────────
   Jobs Cases / 紹介・採用事例
───────────────────────────────────────────── */
.p-oshigoto-cases {
	background-color: var(--c-base);
	padding: var(--sp-3xl) var(--sp-md);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-lg);
}

/* ── ヘッダー（見出し + リード） ── */
.p-oshigoto-cases__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-xl);

}

/* heading-block は共通 .c-section-heading-block を使用 */

/* bg-text は共通 .c-section-bg-text を使用 */

/* title-group は共通 .c-section-title-group を使用 */

.p-oshigoto-cases__title {
	font-family: var(--f-sans);
	font-size: var(--fs-2xl);
	font-weight: 700;
	color: var(--c-black);
	text-align: center;
	letter-spacing: var(--ls-wide);
	line-height: var(--lh-tight);
}

/* リード文 */
.p-oshigoto-cases__lead {
	max-width: 606px;
	display: flex;
	flex-direction: column;
	gap: var(--sp-sm);
	color: var(--c-black);
}

.p-oshigoto-cases__lead-heading {
	font-family: var(--f-sans);
	font-size: var(--fs-xl);
	font-weight: 700;
	text-align: center;
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

.p-oshigoto-cases__lead-text {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

/* ── お仕事事例スライダー ── */
.p-oshigoto-cases__slider-section {
	width: calc(100% + var(--sp-md) * 2);
	margin-left: calc(-1 * var(--sp-md));
	margin-right: calc(-1 * var(--sp-md));
	display: flex;
	flex-direction: column;
	gap: var(--sp-sm);
}

.p-oshigoto-cases__slider-header {
	display: flex;
	justify-content: center;
	width: 100%;
}

.p-oshigoto-cases__slider-header-inner {
	max-width: 1096px;
	width: 100%;
	padding-left: var(--sp-xl);
}

.p-oshigoto-cases__slider-title {
	font-family: var(--f-sans);
	font-size: var(--fs-2xl);
	font-weight: 700;
	color: var(--c-black);
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

/* スライダー本体（Splide） */
.p-oshigoto-cases__slider {
	width: 100%;
}

.p-oshigoto-cases__slider .splide__list {
	align-items: stretch !important;
}

.p-oshigoto-cases__slider .splide__slide {
	height: auto !important;
}

/* カード */
.p-oshigoto-cases__card {
	background-color: var(--c-white);
	border-radius: var(--sp-xs);
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

/* Splide 矢印カスタマイズ */
.p-oshigoto-cases__slider .splide__arrow {
	background-color: var(--c-white);
	border: 1px solid var(--c-black);
	opacity: 1;
	width: 40px !important;
	height: 40px !important;
	min-height: 40px;
	max-height: 40px;
	border-radius: 50% !important;
	padding: 0;
	top: 50%;
	transform: translateY(-50%);
}

.p-oshigoto-cases__slider .splide__arrow:hover {
	opacity: 0.7;
}

.p-oshigoto-cases__slider .splide__arrow[disabled] {
	opacity: 0.3;
}

.p-oshigoto-cases__slider .splide__arrow svg {
	fill: var(--c-black);
	width: 16px;
	height: 16px;
}

.p-oshigoto-cases__card-photo {
	width: 100%;
	aspect-ratio: 4 / 3;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: var(--sp-xs) var(--sp-xs) 0 0;
}

.p-oshigoto-cases__card-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.p-oshigoto-cases__card-body {
	flex: 1;
	padding: var(--sp-xs);
	display: flex;
	flex-direction: column;
	color: var(--c-black);
}

.p-oshigoto-cases__card-title {
	font-family: var(--f-sans);
	font-size: var(--fs-md);
	font-weight: 700;
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

.p-oshigoto-cases__card-text {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

/* ── CTA ボックス ── */
.p-oshigoto-cases__cta {
	max-width: 650px;
	width: 100%;
	background-color: var(--c-white);
	border-radius: var(--sp-sm);
	box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
	padding: var(--sp-sm) var(--sp-md);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-lg);
}

.p-oshigoto-cases__cta-body {
	display: flex;
	flex-direction: column;
	gap: var(--sp-sm);
	color: var(--c-black);
}

.p-oshigoto-cases__cta-heading {
	font-family: var(--f-sans);
	font-size: var(--fs-xl);
	font-weight: 700;
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

.p-oshigoto-cases__cta-text {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

.p-oshigoto-cases__cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--sp-xs);
	padding: var(--sp-xs);
	background-color: var(--c-accent-2);
	border-radius: var(--sp-xs);
	text-decoration: none;
	color: var(--c-black);
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 700;
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
	transition: opacity 0.2s;
}

.p-oshigoto-cases__cta-btn:hover {
	opacity: 0.85;
}

.p-oshigoto-cases__cta-icon {
	width: 17px;
	height: 14px;
}

/* ── Cases カードタグ (Biz) ── */
.p-oshigoto-cases__card-tags {
	display: flex;
	gap: 6px;
}

.p-oshigoto-cases__card-tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 6px;
	border-radius: 2px;
	font-family: var(--f-sans);
	font-size: var(--fs-2xs);
	font-weight: 500;
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
	white-space: nowrap;
}

.p-oshigoto-cases__card-tag--primary {
	background-color: var(--c-accent-2);
	color: var(--c-black);
}

.p-oshigoto-cases__card-tag--outline {
	background-color: var(--c-white);
	border: 0.77px solid var(--c-black);
	color: var(--c-black);
}

/* ── Cases 業務カテゴリテーブル (Biz) ── */
.p-biz-cases__table {
	width: 100%;
	border: 1px solid var(--c-black);
	border-radius: var(--sp-xs);
	padding: var(--sp-sm);
	color: var(--c-black);
}

.p-biz-cases__table-row {
	display: flex;
	gap: var(--sp-lg);
	padding: var(--sp-xs) var(--sp-sm);
	border-bottom: 0.5px solid var(--c-black);
}

.p-biz-cases__table-row--last {
	border-bottom: none;
}

.p-biz-cases__table-label {
	width: 200px;
	flex-shrink: 0;
	font-family: var(--f-sans);
	font-size: var(--fs-sm);
	font-weight: 700;
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

.p-biz-cases__table-value {
	flex: 1;
	font-family: var(--f-sans);
	font-size: var(--fs-xs);
	font-weight: 500;
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

/* ── Cases CTA フッター (Biz) ── */
.p-oshigoto-cases__cta-footer {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-sm);
}

/* ─────────────────────────────────────────────
   Jobs Flow / お仕事開始までの流れ
───────────────────────────────────────────── */
.p-oshigoto-flow {
	padding: var(--sp-3xl) var(--sp-sm);
	background-color: var(--c-white);
}

.p-oshigoto-flow__inner {
	max-width: 1096px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-xl);
}

/* ── セクション見出し ── */
/* heading-block は共通 .c-section-heading-block を使用 */

/* bg-text は共通 .c-section-bg-text を使用 */

/* title-group は共通 .c-section-title-group を使用 */

.p-oshigoto-flow__title {
	font-family: var(--f-sans);
	font-size: var(--fs-2xl);
	font-weight: 700;
	color: var(--c-black);
	text-align: center;
	letter-spacing: var(--ls-wide);
	line-height: var(--lh-tight);
}

/* ── ステップリスト ── */
.p-oshigoto-flow__steps {
	width: 100%;
	background-color: var(--c-base);
	border-radius: 40px;
	padding: var(--sp-xl);
	display: flex;
	flex-direction: column;
	gap: var(--sp-lg);
}

/* 各ステップ */
.p-oshigoto-flow__step {
	display: flex;
	align-items: center;
	gap: var(--sp-lg);
	background-color: var(--c-white);
	border-radius: var(--sp-xs);
	padding: var(--sp-sm);
}

/* 左カラム（STEP + タイトル） */
.p-oshigoto-flow__step-left {
	flex-shrink: 0;
	width: 304px;
	display: flex;
	flex-direction: column;
	gap: var(--sp-xs);
}

/* STEP バッジ */
.p-oshigoto-flow__step-badge {
	display: inline-flex;
	align-items: center;
	gap: var(--sp-xs);
	background-color: var(--c-accent-2);
	border-radius: 120px;
	padding: 4px var(--sp-lg);
	align-self: flex-start;
}

.p-oshigoto-flow__step-badge-label {
	font-family: "Futura", "Jost", sans-serif;
	font-size: var(--fs-lg);
	font-weight: 700;
	color: var(--c-black);
	letter-spacing: var(--ls-normal);
	line-height: 1;
}

.p-oshigoto-flow__step-badge-num {
	font-family: "Futura", "Jost", sans-serif;
	font-size: var(--fs-2xl);
	font-weight: 700;
	color: var(--c-black);
	letter-spacing: var(--ls-normal);
	line-height: 1;
}

/* ステップタイトル */
.p-oshigoto-flow__step-title {
	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.5;
}

/* 区切り線 */
.p-oshigoto-flow__step-divider {
	width: 1px;
	align-self: stretch;
	background-color: #ccc;
	flex-shrink: 0;
}

/* 右カラム（説明文） */
.p-oshigoto-flow__step-right {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: var(--sp-xs);
}

.p-oshigoto-flow__step-text {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	color: var(--c-black);
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

/* 補足ボックス（STEP 4） */
.p-oshigoto-flow__step-note {
	background-color: var(--c-white);
	border-radius: var(--sp-xs);
	padding: var(--sp-xs) var(--sp-sm);
	border: 1px solid #e5e5e5;
}

.p-oshigoto-flow__step-note p {
	font-family: var(--f-sans);
	font-size: 0.8rem;
	font-weight: 500;
	color: var(--c-black);
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-normal);
}

/* ─────────────────────────────────────────────
   Jobs FAQ / よくある質問
───────────────────────────────────────────── */
.p-oshigoto-faq {
	padding: 120px var(--sp-sm);
	background-color: var(--c-base);
}

.p-oshigoto-faq__inner {
	max-width: 1096px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-lg);
}

/* ── セクション見出し ── */
/* heading-block は共通 .c-section-heading-block を使用 */

/* bg-text は共通 .c-section-bg-text を使用 */

.p-oshigoto-faq__title {
	font-family: var(--f-sans);
	font-size: var(--fs-2xl);
	font-weight: 700;
	color: var(--c-black);
	text-align: center;
	letter-spacing: var(--ls-wide);
	line-height: var(--lh-tight);
}

/* ── FAQ リスト ── */
.p-oshigoto-faq__categories {
	display: flex;
	flex-direction: column;
	gap: var(--sp-2xl);
}

.p-oshigoto-faq__category {
	display: flex;
	flex-direction: column;
	gap: var(--sp-sm);
}

.p-oshigoto-faq__category-title {
	font-family: var(--f-sans);
	font-size: var(--fs-xl);
	font-weight: 700;
	color: var(--c-black);
	letter-spacing: var(--ls-normal);
	line-height: var(--lh-tight);
}



/* 各FAQ項目 */


/* 質問（button） */






/* 矢印アイコン */




/* 回答ラッパー（にゅるっとアニメーション） */












/* ─────────────────────────────────────────────
   コンタクト波線: アスペクト比維持 + ベージュ対応
───────────────────────────────────────────── */
.p-contact__wave img {
	width: 100%;
	height: auto;
	aspect-ratio: 1728 / 42;
}

/* =============================================
   レスポンシブ: タブレット（≤1024px）
   ============================================= */
@media (max-width: 1024px) {

	/* ── Hero ── */
	.p-oshigoto-hero {
		height: 280px;
	}

	.p-oshigoto-hero__badge {
		padding-left: var(--sp-xl);
	}

	/* ── About ── */
	.p-oshigoto-about__content {
		flex-direction: column;
		gap: var(--sp-md);
	}

	.p-oshigoto-about__photo-wrap {
		width: 100%;
	}

	.p-oshigoto-about__cta {
		width: 100%;
		padding: 24px 16px;
	}

	/* ── Features: 1カラム縦並び（ヘッダー→写真→テキスト） ── */
	.p-oshigoto-features__item,
	.p-oshigoto-features__item--reverse {
		display: flex;
		flex-direction: column;
		gap: var(--sp-sm);
	}

	.p-oshigoto-features__item>.p-oshigoto-features__item-header {
		order: 1;
	}

	.p-oshigoto-features__item>.p-oshigoto-features__item-photo {
		order: 2;
		width: 100%;
	}

	.p-oshigoto-features__item>.p-oshigoto-features__item-desc {
		order: 3;
	}

	/* reverse も同じ順番にリセット */
	.p-oshigoto-features__item--reverse>.p-oshigoto-features__item-header,
	.p-oshigoto-features__item--reverse>.p-oshigoto-features__item-photo,
	.p-oshigoto-features__item--reverse>.p-oshigoto-features__item-desc {
		grid-column: auto;
	}

	/* ── Voice ── */
	.p-oshigoto-voice__list {
		flex-direction: column;
		gap: var(--sp-xl);
	}

	.p-oshigoto-voice__card-photo {
		aspect-ratio: 4 / 3;
	}

	/* ── Cases ── */
	.p-oshigoto-cases__lead {
		max-width: 100%;
	}

	.p-oshigoto-cases__cta {
		max-width: 100%;
	}

	/* ── Flow ── */
	.p-oshigoto-flow__step {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--sp-sm);
	}

	.p-oshigoto-flow__step-left {
		width: 100%;
		flex-direction: row;
		align-items: center;
	}

	.p-oshigoto-flow__step-divider {
		width: 100%;
		height: 1px;
		align-self: auto;
	}

	/* ── FAQ ── */
	

}

/* =============================================
   レスポンシブ: スマートフォン（≤767px）
   ============================================= */
@media (max-width: 767px) {
	.c-section-bg-text {
		top: -5px;
	}

	/* ── Hero（スマホ: ほぼ正方形、テキスト右下、バッジ非表示） ── */
	.p-oshigoto-hero {
		height: auto;
		aspect-ratio: 4 / 3;

	}

	.p-oshigoto-hero__bg {
		object-position: center top;
	}

	.p-oshigoto-hero__text-wrap {
		align-items: flex-end;
		justify-content: flex-end;
		padding: var(--sp-md);
	}

	.p-oshigoto-hero__text {
		max-width: none;
		padding-right: 0;
		text-align: right;
	}

	.p-oshigoto-hero__heading {
		font-size: 2rem;
		margin-bottom: var(--sp-xs);
	}

	.p-oshigoto-hero__subheading {
		font-size: 1.2rem;
	}

	.p-oshigoto-hero__badge {
		display: none;
	}

	/* ── About: SPバッジ表示 ── */
	.p-oshigoto-about__sp-badge {
		display: flex;
		flex-direction: column;
		align-self: flex-start;
	}

	.p-oshigoto-about__sp-badge-label {
		display: flex;
		align-items: center;
		gap: var(--sp-xs);
	}

	.p-oshigoto-about__sp-badge-dot {
		width: 8px;
		height: 8px;
		border-radius: 50%;
		background-color: #b8861a;
		flex-shrink: 0;
	}

	.p-oshigoto-about__sp-badge-type {
		font-family: var(--f-sans);
		font-size: var(--fs-lg);
		font-weight: 700;
		color: #b8861a;
	}

	.p-oshigoto-about__sp-badge-title {
		font-family: var(--f-sans);
		font-size: 2rem;
		font-weight: 700;
		color: var(--c-black);
		line-height: var(--lh-tight);
	}

	/* ── About: レイアウト調整 ── */
	.p-oshigoto-about__inner {
		gap: var(--sp-lg);
		margin-top: 0;
	}

	.p-oshigoto-about__concept {
		gap: var(--sp-lg);
	}

	/* About: 見出し・テキスト */
	.p-oshigoto-about__heading {
		flex-wrap: wrap;
		gap: var(--sp-xs);
	}

	/* About: 写真→テキストの順に */
	.p-oshigoto-about__content {
		gap: var(--sp-sm);
	}

	.p-oshigoto-about__catchcopy {
		font-size: var(--fs-base);
		line-height: var(--lh-normal);
	}

	.p-oshigoto-about__ribbon {
		width: 270px;
		top: -52px;
		height: 85px;
	}

	/* ── Features ── */
	.p-oshigoto-features__inner {
		padding: 56px 0;
	}

	/* ── Voice ── */

	/* ── Cases ── */
	.p-oshigoto-cases__slider-section {
		width: calc(100% + var(--sp-md) * 2);
		margin-left: calc(-1 * var(--sp-md));
		margin-right: calc(-1 * var(--sp-md));
	}

	.p-oshigoto-cases__slider-header-inner {
		padding-left: var(--sp-sm);
	}

	.p-oshigoto-cases__cta-heading {
		font-size: var(--fs-lg);
	}

	/* ── Cases CTA テーブル SP ── */
	.p-biz-cases__table-row {
		flex-direction: column;
		gap: 0;
	}

	.p-biz-cases__table-label {
		width: 100%;
	}

	.p-oshigoto-cases__cta-btn {
		width: 100%;
	}

	.p-oshigoto-cases__cta-footer {
		width: 100%;
	}

	.p-oshigoto-cases__cta-footer .p-oshigoto-cases__cta-text {
		text-align: left;
	}

	/* ── Flow ── */
	.p-oshigoto-flow__steps {
		padding: var(--sp-sm);
		border-radius: var(--sp-sm);
		gap: var(--sp-sm);
	}

	.p-oshigoto-flow__step {
		padding: var(--sp-xs);
	}

	.p-oshigoto-flow__step-badge {
		padding: 4px var(--sp-sm);
	}

	.p-oshigoto-flow__step-title {
		font-size: var(--fs-lg);
	}

	/* ── FAQ ── */
	.p-oshigoto-faq {
		padding: 40px var(--sp-sm);
	}

	

	

	

	/* ── 共通セクションタイトルグループ 縮小 ── */
	.c-section-title-group {
		gap: 0;
	}

	/* ── 共通見出し装飾 縮小 ── */
	.c-heading-deco--lg .c-heading-deco__leaf {
		width: 50px;
		height: 28px;
	}

	.c-heading-deco--lg .c-heading-deco__faces {
		margin-left: 6.5px;
		margin-top: 7.75px;
	}

	.c-heading-deco--lg .c-heading-deco__face--1 {
		width: 12px;
		height: 13px;
		margin-left: 23.4px;
		margin-top: 1px;
	}

	.c-heading-deco--lg .c-heading-deco__face--2 {
		width: 13px;
		height: 13.5px;
	}

	.c-heading-deco {
		scale: 75%;
	}
}

/* =============================================
   レスポンシブ: 小型スマホ（≤439px）
   ============================================= */
@media (max-width: 439px) {
	.p-oshigoto-about__cta-tag {
		font-size: 0.6rem;
	}
}


/* =============================================
   Narrow PC: サイドナビ展開時の下層ヒーロー調整
   ============================================= */
@media (min-width: 1025px) and (max-width: 1439px) {
	#body_wrap.has-pallet-side-nav .p-oshigoto-hero__badge {
		left: 0 !important;
		box-sizing: border-box;
		max-width: none;
		padding-left: calc(var(--p-side-nav-expanded-reserve) + var(--sp-md)) !important;
		padding-right: var(--sp-md);
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-insta__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;
		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;
	}
}


/* =============================================
   Narrow PC: サイドナビ表示時の下層ページ安全エリア
   ============================================= */
@media (min-width: 1025px) and (max-width: 1439px) {
	#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) - var(--sp-sm)) !important;
		margin-right: max(0px, calc(var(--p-side-nav-content-margin) - var(--sp-sm))) !important;
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-about__content,
	#body_wrap.has-pallet-side-nav .p-oshigoto-features__item,
	#body_wrap.has-pallet-side-nav .p-oshigoto-voice__list,
	#body_wrap.has-pallet-side-nav .p-oshigoto-flow__steps,
	#body_wrap.has-pallet-side-nav .p-oshigoto-flow__step {
		max-width: 100%;
		min-width: 0;
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-cases {
		box-sizing: border-box;
		padding-left: calc(var(--p-side-nav-reserve) + var(--p-side-nav-content-margin)) !important;
		padding-right: max(var(--sp-sm), var(--p-side-nav-content-margin)) !important;
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-cases__slider-section {
		width: 100%;
		margin-left: 0;
		margin-right: 0;
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-cases__slider-header-inner {
		padding-left: 0;
	}
}


@media (min-width: 1025px) and (max-width: 1439px) {
	#body_wrap.has-pallet-side-nav .p-oshigoto {
		--p-side-nav-edge-gap: var(--sp-md);
	}
}


/* =============================================
   Narrow PC: 下層ページは親セクションpaddingでサイドナビを避ける
   ============================================= */
@media (min-width: 1025px) and (max-width: 1439px) {
	#body_wrap.has-pallet-side-nav .p-oshigoto {
		--p-side-nav-section-left: calc(var(--p-side-nav-reserve) + var(--sp-md));
		--p-side-nav-section-right: var(--sp-md);
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-about,
	#body_wrap.has-pallet-side-nav .p-oshigoto-features__body,
	#body_wrap.has-pallet-side-nav .p-oshigoto-voice,
	#body_wrap.has-pallet-side-nav .p-oshigoto-cases,
	#body_wrap.has-pallet-side-nav .p-oshigoto-flow,
	#body_wrap.has-pallet-side-nav .p-oshigoto-faq {
		box-sizing: border-box;
		padding-left: var(--p-side-nav-section-left) !important;
		padding-right: var(--p-side-nav-section-right) !important;
	}

	#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: min(1096px, 100%) !important;
		max-width: 1096px !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-about__content,
	#body_wrap.has-pallet-side-nav .p-oshigoto-features__item,
	#body_wrap.has-pallet-side-nav .p-oshigoto-voice__list,
	#body_wrap.has-pallet-side-nav .p-oshigoto-flow__steps,
	#body_wrap.has-pallet-side-nav .p-oshigoto-flow__step {
		max-width: 100%;
		min-width: 0;
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-features__item {
		grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-features__item--reverse {
		grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-cases__slider-section {
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	#body_wrap.has-pallet-side-nav .p-oshigoto-cases__slider-header-inner {
		box-sizing: border-box;
		width: min(1096px, 100%);
		max-width: 1096px;
		padding-left: 0 !important;
	}
}

/* wp-content/themes/swell_child/css/contact.css */
/* =============================================
   お問い合わせページ
   ============================================= */

/* ── ヒーロー ── */
.p-contact-hero {
	position: relative;
	height: 349px;
	overflow: hidden;
}

.p-contact-hero__bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none;
}

.p-contact-hero__bg--sp {
	display: none;
}

.p-contact-hero__badge {
	position: absolute;
	bottom: 0;
	left: 0;
	display: flex;
	align-items: center;
	gap: var(--sp-xs);
	background-color: var(--c-white);
	padding: var(--sp-xs) var(--sp-md) var(--sp-xs) 344px;
	border-radius: 0 var(--sp-md) 0 0;
}

.p-contact-hero__badge-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #91664C;
	color: var(--c-white);
}

.p-contact-hero__badge-title {
	font-family: var(--f-sans);
	font-size: var(--fs-2xl);
	font-weight: 700;
	color: var(--c-black);
	letter-spacing: var(--ls-normal);
}

/* ── フォームセクション ── */
.p-contact-form {
	padding: var(--sp-2xl) var(--sp-md);
	background-color: var(--c-white);
}

.p-contact-form__inner {
	max-width: 782px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: var(--sp-xl);
	align-items: center;
}

/* リード文 */
.p-contact-form__lead {
	display: flex;
	flex-direction: column;
	gap: var(--sp-sm);
	text-align: center;
	color: var(--c-black);
}

.p-contact-form__lead-heading {
	font-family: var(--f-sans);
	font-size: var(--fs-xl);
	font-weight: 700;
	line-height: var(--lh-normal);
	letter-spacing: var(--ls-normal);
}

.p-contact-form__lead-text {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: normal;
	line-height: var(--lh-normal);
	letter-spacing: var(--ls-normal);
	text-align: left;
}

/* ── CF7 フォームスタイル ── */
.p-contact-form__body {
	width: 100%;
	min-width: 0;
}

.p-contact-form__body .wpcf7,
.p-contact-form__body .wpcf7-form,
.p-contact-form__body .wpcf7-form p,
.p-contact-form__body .wpcf7-form-control-wrap {
	min-width: 0;
	max-width: 100%;
	box-sizing: border-box;
}

.p-contact-form__body .wpcf7-form-control-wrap {
	width: 100%;
	display: block;
	flex: 1 1 100%;
}

/* CF7が自動挿入するbrを非表示 */
.p-contact-form__body .wpcf7-form br {
	display: none;
}

/* 各フィールドの間隔 */
.p-contact-form__body .wpcf7-form p {
	margin-bottom: var(--sp-lg);
}

/* ラベル */
.p-contact-form__body label {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--sp-xs);
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 700;
	color: var(--c-black);
	margin-bottom: var(--sp-xs);
}

/* 必須バッジ */
.p-cf7-required {
	display: inline-block;
	background-color: var(--c-madder);
	color: var(--c-white);
	font-size: var(--fs-xs);
	font-weight: 700;
	padding: 0 var(--sp-xs);
	border-radius: 4px;
	line-height: var(--lh-normal);
}

/* 任意バッジ */
.p-cf7-optional {
	display: inline-block;
	background-color: var(--c-accent-3);
	color: var(--c-white);
	font-size: var(--fs-xs);
	font-weight: 700;
	padding: 0 var(--sp-xs);
	border-radius: 4px;
	line-height: var(--lh-normal);
}

/* テキスト入力 */
.p-contact-form__body input[type="text"],
.p-contact-form__body input[type="email"],
.p-contact-form__body input[type="tel"],
.p-contact-form__body input[type="date"],
.p-contact-form__body input[type="number"],
.p-contact-form__body select {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	display: block;
	box-sizing: border-box !important;
	min-height: 48px;
	padding: 10px var(--sp-sm);
	background-color: var(--c-base);
	border: 1px solid transparent;
	border-radius: var(--sp-xs);
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	color: var(--c-black);
	outline: none;
	transition: box-shadow 0.2s;
}

/* iOS WebKitはdate入力でwidth:100%と左右paddingを正しく合算できないため、
   外側の左右paddingを外し、表示値側へ余白を移す。 */
.p-contact-form__body input[type="date"] {
	width: 100% !important;
	min-width: 0 !important;
	max-width: 100% !important;
	padding-inline: 0;
}

.p-contact-form__body input[type="date"]::-webkit-date-and-time-value {
	min-width: 0;
	padding-inline: var(--sp-sm);
	text-align: left;
}

.p-contact-form__body input[type="text"]:focus,
.p-contact-form__body input[type="email"]:focus,
.p-contact-form__body input[type="tel"]:focus,
.p-contact-form__body input[type="date"]:focus,
.p-contact-form__body input[type="number"]:focus,
.p-contact-form__body select:focus,
.p-contact-form__body textarea:focus {
	box-shadow: 0 0 0 2px var(--c-accent-3);
	border-color: var(--c-accent-3);
}

/* テキストエリア */
.p-contact-form__body textarea {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	display: block;
	box-sizing: border-box !important;
	min-height: 270px;
	padding: var(--sp-sm);
	background-color: var(--c-base);
	border: 1px solid transparent;
	border-radius: var(--sp-xs);
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	color: var(--c-black);
	resize: vertical;
	outline: none;
	transition: box-shadow 0.2s;
}

.p-contact-form__body [hidden] {
	display: none !important;
}

.p-cf7-section-heading {
	margin: 0 0 22px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--c-accent-2);
	font-family: var(--f-sans);
	font-size: 22px;
	font-weight: 700;
	line-height: 1.5;
}

.p-cf7-section-lead {
	margin: -8px 0 24px;
	font-size: 14px;
	line-height: 1.8;
}

.p-cf7-contact-fields,
.p-cf7-purpose {
	margin-bottom: 48px;
}

.p-cf7-field-note {
	display: block;
	width: 100%;
	margin-top: -2px;
	color: #675f58;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.65;
}

.p-cf7-company-required {
	background: var(--c-madder);
	color: var(--c-white);
	font-size: var(--fs-xs);
	font-weight: 700;
	padding: 0 var(--sp-xs);
	border-radius: 4px;
	line-height: var(--lh-normal);
}

/* ご用件をボタンとして表示 */
.p-contact-form__body .wpcf7-radio.p-cf7-purpose-buttons,
.p-contact-form__body .p-cf7-purpose-buttons {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.p-contact-form__body .p-cf7-purpose-buttons .wpcf7-list-item {
	margin: 0;
}

.p-contact-form__body .p-cf7-purpose-buttons .wpcf7-list-item label {
	position: relative;
	min-height: 58px;
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 14px;
	border: 2px solid #ded8ce;
	border-radius: 8px;
	background: var(--c-white);
	cursor: pointer;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.55;
	transition: border-color 0.2s, background-color 0.2s;
}

.p-contact-form__body .p-cf7-purpose-buttons input[type="radio"] {
	box-sizing: border-box;
	width: 22px !important;
	min-width: 22px !important;
	max-width: 22px !important;
	height: 22px !important;
	min-height: 22px !important;
	max-height: 22px !important;
	margin: 0;
	padding: 0 !important;
	border: 2px solid #7f776f;
	border-radius: 50%;
	aspect-ratio: 1 / 1;
	appearance: none;
	background: var(--c-white);
	flex: 0 0 22px;
	cursor: pointer;
}

.p-contact-form__body .p-cf7-purpose-buttons input[type="radio"]:checked {
	border: 6px solid var(--c-mustard);
}

.p-contact-form__body .p-cf7-purpose-buttons label:has(input:checked) {
	border-color: var(--c-mustard);
	background: rgba(245, 224, 75, 0.16);
}

.p-contact-form__body .p-cf7-purpose-buttons label:has(input:focus-visible) {
	outline: 3px solid rgba(131, 172, 202, 0.55);
	outline-offset: 2px;
}

/* 視察専用フォーム */
.p-cf7-dynamic-panel {
	margin: 0 0 40px;
	padding: 28px;
	border: 0;
	border-radius: 8px;
	background: var(--c-base);
}

.p-cf7-dynamic-panel__header {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 14px;
	align-items: center;
	margin-bottom: 24px;
}

.p-cf7-dynamic-panel__icon {
	width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--c-accent-2);
	color: var(--c-black);
	flex: 0 0 46px;
}

.p-cf7-dynamic-panel__icon iconify-icon {
	display: block;
}

.p-cf7-dynamic-panel__title {
	margin: 0;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.5;
}

.p-cf7-dynamic-panel__note {
	margin: 2px 0 0 !important;
	font-size: 13px;
	line-height: 1.7;
}

.p-cf7-dynamic-panel__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 26px 18px;
}

.p-cf7-dynamic-panel__subheading {
	grid-column: 1 / -1;
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 6px 0 -8px;
	font-family: var(--f-sans);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.5;
}

.p-cf7-dynamic-panel__subheading::before {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--c-accent-2);
	content: "";
	flex: 0 0 10px;
}

.p-cf7-dynamic-panel__field {
	min-width: 0;
}

.p-cf7-dynamic-panel__field--full {
	grid-column: 1 / -1;
}

.p-cf7-dynamic-panel .p-cf7-dynamic-panel__field > label {
	font-size: 15px;
}

.p-cf7-dynamic-panel input[type="text"],
.p-cf7-dynamic-panel input[type="date"],
.p-cf7-dynamic-panel input[type="number"],
.p-cf7-dynamic-panel select,
.p-cf7-dynamic-panel textarea {
	background: var(--c-white);
	border-color: #d8d0c6;
}

.p-cf7-dynamic-panel textarea {
	min-height: 150px;
}

.p-cf7-visit-schedule {
	grid-column: 1 / -1;
	margin-top: 6px;
}

.p-cf7-visit-schedule__header {
	padding: 0 0 14px;
}

.p-cf7-visit-schedule__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 6px;
	font-family: var(--f-sans);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}

.p-cf7-visit-schedule__title::before {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--c-accent-1);
	content: "";
	flex: 0 0 10px;
}

.p-cf7-visit-schedule__note {
	margin: 0 !important;
	color: #675f58;
	font-size: 13px;
	line-height: 1.7;
}

.p-cf7-visit-schedule__rows {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	counter-reset: visit-preference;
}

.p-cf7-visit-schedule__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	align-content: start;
	min-width: 0;
	padding: 0;
	counter-increment: visit-preference;
}

.p-cf7-visit-schedule__order {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 28px;
	font-family: var(--f-sans);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
}

.p-contact-form__body .p-cf7-visit-schedule__order p {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}

.p-cf7-visit-schedule__order::before {
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--c-accent-2);
	color: var(--c-black);
	content: counter(visit-preference);
	font-family: var(--f-display);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	flex: 0 0 28px;
}

.p-cf7-visit-schedule__order .p-cf7-required,
.p-cf7-visit-schedule__order .p-cf7-optional {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 22px;
	margin: 0;
	padding: 0 8px;
	line-height: 1;
}

.p-cf7-visit-schedule__row:nth-child(2) .p-cf7-visit-schedule__order::before {
	background: var(--c-accent-1);
}

.p-cf7-visit-schedule__row:nth-child(3) .p-cf7-visit-schedule__order::before {
	background: var(--c-accent-3);
}

.p-cf7-visit-schedule__control {
	min-width: 0;
}

.p-cf7-visit-schedule__control label {
	margin-bottom: 6px;
	color: #675f58;
	font-size: 13px !important;
	font-weight: 700;
}

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

.p-contact-form__body input[type="submit"].is-loading {
	opacity: 0.72;
	cursor: wait;
}

/* チェックボックス */
.p-contact-form__body .wpcf7-checkbox {
	display: flex;
	flex-direction: column;
}

.p-contact-form__body .wpcf7-checkbox .wpcf7-list-item {
	display: block;
	margin-bottom: 4px;
}

.p-contact-form__body .wpcf7-checkbox .wpcf7-list-item label {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: var(--sp-sm);
	font-weight: 500;
	margin-bottom: 0;
	/* align-items: flex-start; */
}

.p-contact-form__body .wpcf7-checkbox input[type="checkbox"] {
	width: 24px;
	height: 24px;
	border: 2px solid var(--c-black);
	border-radius: 2px;
	appearance: none;
	cursor: pointer;
	flex-shrink: 0;
}

.p-contact-form__body .wpcf7-checkbox input[type="checkbox"]:checked {
	background-color: var(--c-accent-2);
	border-color: var(--c-accent-2);
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%23382710' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5 5-5 1 1z'/%3E%3C/svg%3E");
	background-size: var(--sp-sm);
	background-position: center;
	background-repeat: no-repeat;
}

.p-contact-form__body .wpcf7-checkbox .wpcf7-list-item-label {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	color: var(--c-black);
}

/* 同意チェックボックス エリア */
.p-cf7-consent {
	/* background-color: var(--c-base); */
	padding: var(--sp-sm);
	border-radius: var(--sp-xs);
	/* margin-bottom: var(--sp-md); */
}

.p-cf7-consent p {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	color: var(--c-black);
	margin-bottom: var(--sp-sm) !important;
}

.p-cf7-consent a {
	text-decoration: underline;
	color: var(--c-black);
}

.p-cf7-consent-check {
	display: flex;
	justify-content: center;
}

.p-cf7-consent-check .wpcf7-acceptance input[type="checkbox"] {
	width: 32px;
	height: 32px;
	border: 1px solid #767676;
	border-radius: 2px;
	appearance: none;
	cursor: pointer;
}

.p-cf7-consent-check .wpcf7-acceptance input[type="checkbox"]:checked {
	background-color: var(--c-accent-2);
	border-color: var(--c-accent-2);
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='%23382710' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 11.5L3 8l1-1 2.5 2.5 5-5 1 1z'/%3E%3C/svg%3E");
	background-size: var(--sp-md);
	background-position: center;
	background-repeat: no-repeat;
}

.p-cf7-consent-check .wpcf7-list-item-label {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	color: var(--c-black);
}

/* 送信ボタン */
.p-contact-form__body input[type="submit"] {
	display: block;
	width: 330px;
	max-width: 100%;
	margin: 0 auto;
	padding: var(--sp-sm) var(--sp-xl);
	background-color: var(--c-accent-2);
	border: none;
	border-radius: var(--sp-xs);
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 700;
	color: var(--c-black);
	text-align: center;
	cursor: pointer;
	transition: opacity 0.2s;
	position: relative;
	overflow: hidden;
}

.p-contact-form__body input[type="submit"]:hover {
	opacity: 0.85;
}

.p-contact-form__body input[type="submit"].is-disabled {
	background-color: #ccc;
	color: #999;
	cursor: not-allowed;
	pointer-events: none;
}

/* バリデーションエラー */
.p-contact-form__body .wpcf7-not-valid-tip {
	color: var(--c-madder);
	font-size: var(--fs-sm);
	margin-top: 4px;
}

.p-contact-form__body .wpcf7-response-output {
	border-radius: var(--sp-xs);
	padding: var(--sp-sm);
	text-align: center;
}

/* ── 電話お問い合わせ ── */
.p-contact-form__phone {
	width: 100%;
	max-width: 660px;
	background-color: var(--c-base);
	border-radius: var(--sp-xs);
	padding: var(--sp-sm);
	display: flex;
	flex-direction: column;
	gap: var(--sp-xs);
}

.p-contact-form__phone-title {
	font-family: var(--f-sans);
	font-size: var(--fs-xl);
	font-weight: 700;
	color: var(--c-black);
}

.p-contact-form__phone-row {
	display: flex;
	align-items: flex-end;
	gap: var(--sp-md);
	flex-wrap: wrap;
}

.p-contact-form__phone-number {
	display: flex;
	align-items: center;
	color: var(--c-black);
}

.p-contact-form__phone-icon {
	font-size: 48px;
	flex-shrink: 0;
}

.p-contact-form__phone-number a {
	font-family: 'Futura', sans-serif;
	font-size: var(--fs-3xl);
	font-weight: 700;
	letter-spacing: var(--ls-wide);
	line-height: 1.2;
	color: inherit;
	text-decoration: none;
}

.p-contact-form__phone-info {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	color: var(--c-black);
	line-height: var(--lh-normal);
	margin: 0 auto;
}

.p-contact-form__phone-info p {
	margin: 0;
}

/* ── 確認画面（モーダル） ── */
.p-cf7-confirm__overlay {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: rgba(0, 0, 0, 0.5);
	display: flex;
	align-items: flex-start;
	justify-content: center;
	padding: var(--sp-sm);
	overflow-y: auto;
}

.p-cf7-confirm__dialog {
	background: var(--c-white);
	border-radius: var(--sp-sm);
	padding: var(--sp-md);
	max-width: 640px;
	width: 100%;
	max-height: 85vh;
	overflow-y: auto;
}

.p-cf7-confirm__title {
	font-family: var(--f-sans);
	font-size: var(--fs-xl);
	font-weight: 700;
	color: var(--c-black);
	text-align: center;
	margin-bottom: var(--sp-xs);
}

.p-cf7-confirm__desc {
	font-family: var(--f-sans);
	font-size: var(--fs-sm);
	color: var(--c-black);
	text-align: center;
	margin-bottom: var(--sp-sm);
}

.p-cf7-confirm__fields {
	display: flex;
	flex-direction: column;
	gap: var(--sp-xs);
	margin-bottom: var(--sp-sm);
}

.p-cf7-confirm__row {
	border-bottom: 1px solid var(--c-base);
	padding-bottom: var(--sp-xs);
}

.p-cf7-confirm__label {
	font-family: var(--f-sans);
	font-size: var(--fs-sm);
	font-weight: 700;
	color: var(--c-black);
	margin-bottom: 4px;
}

.p-cf7-confirm__value {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	color: var(--c-black);
	margin: 0;
}

.p-cf7-confirm__value--long {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	color: var(--c-black);
	white-space: pre-wrap;
	margin: 0;
	background: none;
	border: none;
	padding: 0;
}

.p-cf7-confirm__actions {
	display: flex;
	flex-direction: column;
	gap: var(--sp-sm);
	align-items: center;
}

.p-cf7-confirm__btn {
	padding: var(--sp-sm) var(--sp-lg);
	border-radius: var(--sp-xs);
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 700;
	cursor: pointer;
	transition: opacity 0.2s;
	border: none;
}

.p-cf7-confirm__btn:hover {
	opacity: 0.85;
}

.p-cf7-confirm__btn--back {
	background: var(--c-base);
	color: var(--c-black);
}

.p-cf7-confirm__btn--submit {
	background: var(--c-accent-2);
	color: var(--c-black);
	width: 100%;
	position: relative;
	overflow: hidden;
}

/* ── サンクスページ ── */
.p-contact-thanks {
	padding: var(--sp-3xl) var(--sp-md);
	background-color: var(--c-white);
}

.p-contact-thanks__inner {
	max-width: 640px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--sp-lg);
	text-align: center;
}

.p-contact-thanks__icon {
	color: var(--c-accent-4);
}

.p-contact-thanks__heading {
	font-family: var(--f-sans);
	font-size: var(--fs-xl);
	font-weight: 700;
	color: var(--c-black);
}

.p-contact-thanks__body {
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 500;
	color: var(--c-black);
	line-height: var(--lh-normal);
	text-align: left;
}

.p-contact-thanks__body p {
	margin-bottom: var(--sp-sm);
}

.p-contact-thanks__phone {
	background-color: var(--c-base);
	border-radius: var(--sp-xs);
	padding: var(--sp-sm) var(--sp-lg);
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	color: var(--c-black);
}

.p-contact-thanks__phone p {
	margin: 0;
}

.p-contact-thanks__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--sp-sm) var(--sp-xl);
	background-color: var(--c-accent-2);
	border-radius: var(--sp-xs);
	text-decoration: none;
	color: var(--c-black);
	font-family: var(--f-sans);
	font-size: var(--fs-base);
	font-weight: 700;
	transition: opacity 0.2s;
	position: relative;
	overflow: hidden;
}

.p-contact-thanks__btn:hover {
	opacity: 0.85;
	color: var(--c-black);
}

/* =============================================
   レスポンシブ: タブレット
   ============================================= */
@media (max-width: 1024px) {
	.p-contact-hero__badge {
		padding-left: var(--sp-xl);
	}
}

/* =============================================
   レスポンシブ: スマホ
   ============================================= */
@media (max-width: 767px) {
	.p-contact-hero {
		height: auto;
		aspect-ratio: 4 / 3;
	}

	.p-contact-hero__bg--pc {
		display: none;
	}

	.p-contact-hero__bg--sp {
		display: block;
	}

	.p-contact-hero__badge {
		padding-left: var(--sp-md);
		border-radius: 0 var(--sp-sm) 0 0;
	}

	.p-contact-hero__badge-title {
		font-size: var(--fs-xl);
	}

	.p-contact-form {
		padding: 32px var(--sp-sm) var(--sp-xl);
	}

	.p-contact-form__inner {
		gap: var(--sp-lg);
	}

	.p-contact-form__lead {
		gap: var(--sp-sm);
	}

	.p-contact-form__lead-heading {
		font-size: 1.3rem;
	}

	.p-contact-form__lead-text {
		line-height: 1.9;
		letter-spacing: 0;
	}

	/* ラベル */
	.p-contact-form__body label {
		font-size: 16px;
		letter-spacing: 0;
	}

	.p-cf7-section-heading {
		font-size: 20px;
	}

	.p-contact-form__body .wpcf7-radio.p-cf7-purpose-buttons,
	.p-contact-form__body .p-cf7-purpose-buttons,
	.p-cf7-dynamic-panel__grid {
		grid-template-columns: 1fr;
	}

	.p-contact-form__body .p-cf7-purpose-buttons .wpcf7-list-item label {
		min-height: 54px;
		font-size: 15px;
	}

	.p-cf7-dynamic-panel {
		padding: 22px 16px;
	}

	.p-cf7-dynamic-panel__header {
		align-items: start;
	}

	.p-cf7-dynamic-panel__field--full {
		grid-column: auto;
	}

	.p-cf7-visit-schedule {
		grid-column: auto;
	}

	.p-cf7-dynamic-panel__subheading {
		grid-column: auto;
	}

	.p-cf7-visit-schedule__rows {
		grid-template-columns: 1fr;
		gap: 26px;
	}

	.p-cf7-visit-schedule__row {
		gap: 12px;
		padding: 0;
	}

	.p-cf7-visit-schedule__order {
		grid-column: auto;
	}

	/* チェックボックステキスト */
	.p-contact-form__body .wpcf7-checkbox .wpcf7-list-item-label {
		letter-spacing: 0;
		line-height: 1.9;
	}

	/* 送信ボタン: 330px固定 */
	.p-contact-form__body input[type="submit"] {
		width: 330px;
	}

	/* 電話ボックス: 縦並び */
	.p-contact-form__phone {
		padding: 8px;
	}

	.p-contact-form__phone-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.p-contact-form__phone-icon {
		font-size: 32px;
	}

	.p-contact-form__phone-number a {
		font-size: 2.3rem;
		letter-spacing: 3.7px;
	}

	.p-contact-form__phone-info {
		letter-spacing: 0;
		line-height: 1.9;
	}
}

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

	.p-cf7-dynamic-panel {
		padding-inline: 14px;
	}

	.p-cf7-dynamic-panel__header {
		grid-template-columns: auto minmax(0, 1fr);
	}

	.p-cf7-dynamic-panel__icon {
		width: 42px;
		height: 42px;
		flex-basis: 42px;
	}

}

/* ── 規約・ポリシーリンク ── */
.p-contact-form__policy-note {
	font-size: var(--fs-sm);
	color: var(--c-text);
	margin-bottom: var(--sp-md);
}

.p-contact-form__policy-note a {
	color: var(--c-matcha);
	text-decoration: underline;
}

/* Visible verification, including 320px screens. Never hide the challenge. */
.p-cf7-security {
    display: grid;
    grid-template-areas: "title" "description" "widget" "status" "retry" "help" "fallback";
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: min(100%, 400px);
    margin: 1.5rem auto;
    padding: 16px;
    border: 1px solid #b7c6c0;
    border-radius: 12px;
    background: #f7faf8;
    color: #243a31;
    text-align: left;
    overflow-wrap: anywhere;
}
.p-contact-form__body .p-cf7-security h3 { grid-area: title; margin: 0; font-size: 16px; line-height: 1.5; }
.p-contact-form__body .p-cf7-security p { margin: 0; font-size: 15px; line-height: 1.6; }
.p-contact-form__body .p-cf7-security .p-cf7-security__description { grid-area: description; margin-top: 4px; }
.p-cf7-security .p-cf7-turnstile { grid-area: widget; display: block; width: 100%; max-width: 300px; min-height: 65px; margin: 12px auto 8px; line-height: 0; align-self: center; }
.p-cf7-security .p-cf7-turnstile[data-widget-size="compact"] { min-height: 140px; text-align: center; }
.p-cf7-security__status { grid-area: status; font-weight: 400; }
.p-contact-form__body .p-cf7-security .p-cf7-security__help { grid-area: help; margin-top: 12px; }
.p-cf7-security noscript { grid-area: fallback; }
.p-cf7-security[data-state="error"] { border-color: #a43b24; }
.p-cf7-security[data-state="error"] .p-cf7-security__status { color: #92331e; }
.p-cf7-security__retry { grid-area: retry; justify-self: start; margin-top: 12px; min-height: 44px; padding: .65rem 1rem; border: 1px solid currentColor; border-radius: 6px; background: #fff; color: #243a31; font: inherit; cursor: pointer; }
.p-cf7-security [hidden] { display: none !important; }
.p-cf7-security a { color: inherit; text-decoration: underline; }
.p-cf7-security:focus-visible, .p-cf7-security button:focus-visible { outline: 3px solid #255f49; outline-offset: 4px; }
@media (min-width: 768px) {
    .p-cf7-security {
        width: min(100%, 640px);
        grid-template-columns: minmax(0, 1fr) 300px;
        grid-template-areas: "title widget" "description widget" "status widget" "retry retry" "help help" "fallback fallback";
        column-gap: 20px;
    }
    .p-cf7-security .p-cf7-turnstile { margin: 0 auto; }
    .p-contact-form__body .p-cf7-security .p-cf7-security__status { margin-top: 8px; }
}

/* 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; }
}
