/*
Theme Name: DigiHelp Pixel（デジヘル ドット絵テーマ）
Theme URI: https://digihelp.jp/
Author: Digital Help
Description: ICT駆け込み寺「デジタルヘルプ」用のドット絵（ピクセルアート）デザインテーマ。Welcart e-Commerce に対応。トップページの文言・画像は「外観 > カスタマイズ > デジヘル テーマ設定」から変更できます。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: digihelp-pixel
Tags: custom-logo, custom-menu, featured-images, threaded-comments, e-commerce, japanese
*/

/* =========================================================
   0. 変数
   ========================================================= */
:root {
	--ink: #23170f;
	--ink-soft: #4a3a2c;
	--text: #2a2420;
	--sky-1: #58b9f2;
	--sky-2: #a9dcfa;
	--sky-3: #dff2fd;
	--cream: #fffbf2;
	--paper: #ffffff;
	--wood-l: #f3c98f;
	--wood: #dda05c;
	--wood-d: #9c6128;
	--wood-dd: #5c3210;
	--dirt: #a2672f;
	--dirt-d: #6b3f17;
	--grass: #4fb52c;
	--grass-d: #2f8a1d;
	--red: #e5232c;
	--red-d: #a3111a;
	--blue: #1d8de9;
	--blue-d: #0d5ea7;
	--green: #22a83a;
	--green-d: #157026;
	--orange: #f39a12;
	--orange-d: #b56b00;
	--pink: #ec4a8f;
	--pink-d: #b0245f;
	--yellow: #ffd23a;
	--navy: #1b2130;
	--px: 4px;
	--radius: 0;
	--container: 1180px;
	--font: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
	--font-dot: "DotGothic16", var(--font);
}

/* =========================================================
   1. リセット・基本
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--font);
	font-weight: 500;
	font-size: 16px;
	line-height: 1.8;
	color: var(--text);
	background: var(--sky-3);
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--blue-d); }
a:hover { color: var(--red); }
h1, h2, h3, h4, h5, h6 { line-height: 1.4; margin: 0 0 .6em; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.4em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px dashed var(--red); outline-offset: 3px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden; clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto;
	top: 8px; left: 8px; z-index: 1000;
	padding: 8px 16px; background: #fff; color: var(--ink);
}

.dh-container { width: min(100% - 32px, var(--container)); margin-inline: auto; position: relative; }
.dh-container--narrow { width: min(100% - 32px, 960px); }

.dh-ico { width: 1em; height: 1em; flex: none; image-rendering: pixelated; }
.dh-ico--arrow { width: .8em; height: .8em; }

/* =========================================================
   2. ドット絵パーツ（枠・背景）
   ========================================================= */

/* 角が欠けたドット絵の枠 */
.dh-card,
.dh-panel,
.dh-stat,
.dh-work,
.dh-item,
.dh-postcard > a,
.dh-bubble,
.dh-fc__box {
	background: var(--paper);
	box-shadow:
		0 calc(var(--px) * -1) 0 0 var(--ink),
		0 var(--px) 0 0 var(--ink),
		calc(var(--px) * -1) 0 0 0 var(--ink),
		var(--px) 0 0 0 var(--ink),
		0 calc(var(--px) * 3) 0 0 rgba(35, 23, 15, .22);
	margin: var(--px);
}

/* 空 + 雲 */
.dh-sky {
	position: relative;
	background:
		var(--dh-img-cloud) 6% 34px / 150px auto no-repeat,
		var(--dh-img-cloud) 46% 14px / 104px auto no-repeat,
		var(--dh-img-cloud) 78% 60px / 132px auto no-repeat,
		var(--dh-img-cloud) 98% 6px / 96px auto no-repeat,
		linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%);
}
.dh-section.dh-sky:nth-of-type(even) {
	background:
		var(--dh-img-cloud) 18% 20px / 120px auto no-repeat,
		var(--dh-img-cloud) 64% 44px / 150px auto no-repeat,
		var(--dh-img-cloud) 92% 18px / 100px auto no-repeat,
		linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 55%, var(--sky-3) 100%);
}

/* 草＋土の帯 */
.dh-ground {
	height: 88px;
	background: var(--dh-img-ground) repeat-x 0 0 / 128px 88px, var(--dirt);
	image-rendering: pixelated;
}
.dh-ground--thin { height: 40px; background-size: 64px 44px; }

/* セクションの下端に草 */
.dh-section {
	padding: 64px 0 88px;
	position: relative;
}
.dh-section::after {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 24px;
	background: var(--dh-img-grass) repeat-x 0 0 / 64px 24px;
	image-rendering: pixelated;
	pointer-events: none;
}

/* 花・木の飾り */
.dh-section.dh-sky::before {
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 18px;
	height: 24px;
	background:
		var(--dh-img-flower) 3% 0 / 20px 24px no-repeat,
		var(--dh-img-flower2) 6% 4px / 20px 24px no-repeat,
		var(--dh-img-flower2) 94% 0 / 20px 24px no-repeat,
		var(--dh-img-flower) 97% 6px / 20px 24px no-repeat;
	image-rendering: pixelated;
	pointer-events: none;
}

/* =========================================================
   3. 木の看板（見出し）
   ========================================================= */
.dh-sign {
	display: inline-block;
	position: relative;
	margin: 0 0 32px;
	padding: 0;
	font-size: clamp(1.35rem, 1rem + 1.6vw, 2.1rem);
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: .04em;
	color: #fff;
	text-shadow:
		3px 0 0 var(--wood-dd), -3px 0 0 var(--wood-dd),
		0 3px 0 var(--wood-dd), 0 -3px 0 var(--wood-dd),
		3px 3px 0 var(--wood-dd), -3px 3px 0 var(--wood-dd),
		3px -3px 0 var(--wood-dd), -3px -3px 0 var(--wood-dd),
		0 6px 0 var(--wood-dd);
}
.dh-sign__inner {
	display: block;
	position: relative;
	padding: 12px 40px 14px;
	background:
		repeating-linear-gradient(180deg, transparent 0 22px, rgba(92, 50, 16, .35) 22px 25px),
		linear-gradient(180deg, var(--wood) 0%, #c9863f 100%);
	box-shadow:
		0 -4px 0 0 var(--wood-dd),
		0 4px 0 0 var(--wood-dd),
		-4px 0 0 0 var(--wood-dd),
		4px 0 0 0 var(--wood-dd),
		inset 0 4px 0 0 var(--wood-l),
		inset 0 -6px 0 0 var(--wood-d),
		0 10px 0 0 rgba(35, 23, 15, .25);
}
/* 釘 */
.dh-sign__inner::before,
.dh-sign__inner::after {
	content: "";
	position: absolute;
	top: calc(50% - 4px);
	width: 8px; height: 8px;
	background: #7a4a1c;
	box-shadow: inset -2px -2px 0 #4a2a0a, inset 2px 2px 0 #f6d29a;
}
.dh-sign__inner::before { left: 14px; }
.dh-sign__inner::after { right: 14px; }
.dh-sign em {
	font-style: normal;
	color: var(--yellow);
	font-size: 1.35em;
	margin: 0 .05em;
	vertical-align: -.06em;
}
.dh-sign small {
	display: inline-block;
	margin-left: 1em;
	font-size: .5em;
	vertical-align: middle;
	letter-spacing: .02em;
	color: var(--yellow);
}
.dh-sign--center { display: table; margin-inline: auto; }
.dh-sign--small { font-size: 1.25rem; margin-bottom: 20px; }
.dh-sign--small .dh-sign__inner { padding: 6px 32px 8px; }

/* 小さな札 */
.dh-plate {
	display: inline-block;
	padding: 8px 20px;
	font-weight: 900;
	font-size: .95rem;
	line-height: 1.45;
	text-align: center;
	text-decoration: none;
	color: var(--yellow);
	background: linear-gradient(180deg, #b0702f, #8a5320);
	box-shadow:
		0 -4px 0 0 var(--wood-dd), 0 4px 0 0 var(--wood-dd),
		-4px 0 0 0 var(--wood-dd), 4px 0 0 0 var(--wood-dd),
		inset 0 3px 0 0 #d39250, 0 8px 0 0 rgba(0, 0, 0, .2);
	text-shadow: 2px 2px 0 var(--wood-dd);
	transform: rotate(-1.5deg);
}
.dh-plate:hover { color: #fff; transform: rotate(0); }

/* =========================================================
   4. ボタン
   ========================================================= */
.dh-btn {
	--c: var(--red);
	--c-d: var(--red-d);
	--c-t: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .6em;
	padding: 12px 26px;
	font-weight: 900;
	line-height: 1.3;
	color: var(--c-t);
	text-decoration: none;
	background: var(--c);
	border: 0;
	cursor: pointer;
	box-shadow:
		0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink),
		-4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink),
		inset 0 -5px 0 0 var(--c-d),
		inset 0 3px 0 0 rgba(255, 255, 255, .35),
		0 9px 0 0 rgba(35, 23, 15, .3);
	margin: 4px;
	transition: transform .08s steps(2), box-shadow .08s steps(2);
}
.dh-btn:hover { color: var(--c-t); transform: translateY(2px); }
.dh-btn:active {
	transform: translateY(5px);
	box-shadow:
		0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink),
		-4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink),
		inset 0 5px 0 0 var(--c-d);
}
.dh-btn--blue { --c: var(--blue); --c-d: var(--blue-d); }
.dh-btn--green { --c: var(--green); --c-d: var(--green-d); }
.dh-btn--white,
.dh-btn--outline { --c: #fff; --c-d: #d9d2c4; --c-t: var(--ink); }
.dh-btn--outline { --c-t: var(--blue-d); }
.dh-btn--small { padding: 6px 16px; font-size: .88rem; }
.dh-btn--big { padding: 14px 34px; font-size: 1.15rem; }
.dh-btn--big .dh-ico { width: 1.6em; height: 1.6em; }
.dh-btn b { display: block; font-size: 1.25em; letter-spacing: .03em; }

/* =========================================================
   5. ヘッダー
   ========================================================= */
.dh-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #fff;
	box-shadow: 0 4px 0 0 var(--ink), 0 8px 0 rgba(0, 0, 0, .12);
}
.admin-bar .dh-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .dh-header { top: 0; } }

.dh-header__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	width: min(100% - 24px, 1360px);
	margin-inline: auto;
	min-height: 76px;
}

.dh-logo { margin: 0; flex: none; line-height: 1; }
.dh-logo a { text-decoration: none; }
.dh-logo .custom-logo { max-height: 56px; width: auto; }
.dh-logo__text { display: inline-flex; flex-direction: column; align-items: center; color: var(--ink); }
.dh-logo__main {
	font-size: 1.75rem;
	font-weight: 900;
	letter-spacing: .06em;
	color: var(--ink);
}
.dh-logo__main i { font-style: normal; color: var(--red); }
.dh-logo__sub {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 4px;
	font-size: .7rem;
	font-weight: 800;
	letter-spacing: .4em;
	color: var(--ink);
}
.dh-logo__sub::before,
.dh-logo__sub::after { content: ""; width: 24px; height: 2px; background: var(--red); }

.dh-nav {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
}
.dh-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 2px 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dh-menu > li { position: relative; }
.dh-menu a {
	display: block;
	padding: 8px 10px;
	font-size: .88rem;
	font-weight: 800;
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
}
.dh-menu > li > a { position: relative; }
.dh-menu > li > a::after {
	content: "";
	position: absolute;
	left: 10px; right: 10px; bottom: 2px;
	height: 3px;
	background: var(--red);
	transform: scaleX(0);
	transition: transform .15s steps(3);
}
.dh-menu > li:hover > a::after,
.dh-menu > .current-menu-item > a::after,
.dh-menu > .current-menu-ancestor > a::after,
.dh-menu > .current_page_item > a::after { transform: scaleX(1); }
.dh-menu > .current-menu-item > a,
.dh-menu > .current_page_item > a { color: var(--red); }

/* サブメニュー */
.dh-menu .sub-menu,
.dh-menu .children {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 10;
	min-width: 260px;
	margin: 6px 0 0;
	padding: 6px 0;
	list-style: none;
	background: #fff;
	box-shadow:
		0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink),
		-4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink),
		0 10px 0 rgba(0, 0, 0, .15);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: .12s steps(3);
}
.dh-menu li:hover > .sub-menu,
.dh-menu li:focus-within > .sub-menu,
.dh-menu li:hover > .children,
.dh-menu li:focus-within > .children { opacity: 1; visibility: visible; transform: none; }
.dh-menu .sub-menu a,
.dh-menu .children a { white-space: normal; padding: 8px 16px 8px 30px; position: relative; }
.dh-menu .sub-menu a::before,
.dh-menu .children a::before {
	content: "";
	position: absolute;
	left: 14px; top: 1.05em;
	width: 6px; height: 6px;
	background: var(--red);
}
.dh-menu .sub-menu a:hover,
.dh-menu .children a:hover { background: #fff3d9; color: var(--red); }
.dh-subtoggle { display: none; }

.dh-nav__extra { display: flex; align-items: center; gap: 10px; flex: none; }
.dh-util {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: .78rem;
	font-weight: 800;
	color: var(--ink);
	text-decoration: none;
	white-space: nowrap;
}
.dh-util svg { width: 18px; height: 18px; }
.dh-util__count {
	display: inline-block;
	min-width: 1.6em;
	margin-left: 2px;
	padding: 0 4px;
	font-size: .72rem;
	text-align: center;
	color: #fff;
	background: var(--red);
}

.dh-telbtn {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 6px 16px;
	color: #fff;
	text-decoration: none;
	background: var(--red);
	box-shadow:
		0 -3px 0 0 var(--ink), 0 3px 0 0 var(--ink),
		-3px 0 0 0 var(--ink), 3px 0 0 0 var(--ink),
		inset 0 -4px 0 var(--red-d);
	margin: 3px;
}
.dh-telbtn:hover { color: #fff; filter: brightness(1.08); }
.dh-telbtn .dh-ico { width: 26px; height: 26px; }
.dh-telbtn__body { display: flex; flex-direction: column; line-height: 1.15; }
.dh-telbtn__num { font-size: 1.3rem; font-weight: 900; letter-spacing: .03em; }
.dh-telbtn__note { font-size: .62rem; font-weight: 700; }

.dh-burger { display: none; }

/* =========================================================
   6. メインビジュアル
   ========================================================= */
.dh-hero { padding: 0; overflow: hidden; }
.dh-hero__stage {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px 150px;
	grid-template-rows: auto auto;
	column-gap: 12px;
	padding: 60px 0 0;
	min-height: 520px;
}

.dh-hero__board {
	grid-column: 1;
	grid-row: 1;
	position: relative;
	z-index: 2;
	align-self: start;
	margin: 30px 0 0 40px;
	padding: 34px 44px 30px;
	background:
		repeating-linear-gradient(180deg, transparent 0 44px, rgba(140, 85, 30, .32) 44px 48px),
		linear-gradient(180deg, #f8d9a8 0%, var(--wood-l) 60%, #e7b574 100%);
	box-shadow:
		0 -6px 0 0 var(--wood-dd), 0 6px 0 0 var(--wood-dd),
		-6px 0 0 0 var(--wood-dd), 6px 0 0 0 var(--wood-dd),
		inset 0 0 0 6px var(--wood-d),
		inset 0 0 0 10px #f8d9a8,
		0 16px 0 0 rgba(35, 23, 15, .25);
	transform: rotate(-.6deg);
}
/* 吊るし鎖 */
.dh-hero__board::before,
.dh-hero__board::after {
	content: "";
	position: absolute;
	top: -96px;
	width: 16px;
	height: 92px;
	background: var(--dh-img-chain) repeat-y 0 0 / 16px 32px;
	image-rendering: pixelated;
}
.dh-hero__board::before { left: 14%; }
.dh-hero__board::after { right: 14%; }

.dh-hero__title {
	margin: 0 0 18px;
	font-size: clamp(1.8rem, 4.2vw, 3.6rem);
	font-weight: 900;
	line-height: 1.25;
	letter-spacing: .02em;
	color: var(--ink);
	text-shadow: 3px 3px 0 #fff4dd;
}
.dh-hero__title span { display: block; white-space: nowrap; }
.dh-hero__title em {
	font-style: normal;
	color: var(--red);
	text-shadow: 3px 3px 0 #fff4dd, 5px 5px 0 rgba(163, 17, 26, .25);
}
.dh-hero__lead {
	margin: 0;
	font-weight: 800;
	font-size: clamp(.9rem, .8rem + .4vw, 1.06rem);
	color: var(--ink);
}

.dh-hero__btns {
	grid-column: 1;
	grid-row: 2;
	display: flex;
	flex-wrap: wrap;
	gap: 16px 22px;
	align-self: start;
	margin: 30px 0 46px 60px;
	position: relative;
	z-index: 2;
}

.dh-hero__chara {
	grid-column: 2;
	grid-row: 1 / span 2;
	position: relative;
	z-index: 1;
	align-self: end;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.dh-hero__mascot {
	display: block;
	width: 300px;
	max-width: none;
	margin-bottom: -6px;
	image-rendering: auto;
	animation: dh-bob 1.6s steps(2) infinite;
}
@keyframes dh-bob {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-6px); }
}

.dh-bubble {
	position: relative;
	align-self: center;
	margin: 0 0 22px;
	padding: 12px 18px;
	font-size: .92rem;
	font-weight: 900;
	line-height: 1.5;
	color: var(--ink);
	white-space: nowrap;
}
.dh-bubble::after {
	content: "";
	position: absolute;
	left: 62%;
	bottom: -20px;
	width: 16px;
	height: 16px;
	background: #fff;
	box-shadow: 4px 0 0 var(--ink), -4px 0 0 var(--ink), 0 4px 0 var(--ink), 4px 4px 0 var(--ink);
	clip-path: polygon(-30% 0, 130% 0, 130% 130%, 30% 130%);
}

/* 道しるべ */
.dh-signpost {
	grid-column: 3;
	grid-row: 1 / span 2;
	position: relative;
	align-self: end;
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 40px 0 70px;
}
.dh-signpost::before {
	content: "";
	position: absolute;
	top: 10px; bottom: 0;
	left: 50%;
	width: 18px;
	margin-left: -9px;
	background: linear-gradient(90deg, var(--wood-d) 0 4px, var(--wood) 4px 12px, var(--wood-d) 12px);
	box-shadow: 0 0 0 3px var(--wood-dd);
	z-index: 0;
}
.dh-signpost__arrow {
	position: relative;
	z-index: 1;
	display: block;
	padding: 8px 26px 9px 14px;
	font-size: .95rem;
	font-weight: 900;
	text-align: center;
	white-space: nowrap;
	text-decoration: none;
	color: #fff;
	text-shadow: 2px 0 0 var(--wood-dd), -2px 0 0 var(--wood-dd), 0 2px 0 var(--wood-dd), 0 -2px 0 var(--wood-dd), 0 3px 0 var(--wood-dd);
	background: linear-gradient(180deg, var(--wood) 0 70%, var(--wood-d) 70%);
	clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%);
	filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .25));
	transform: rotate(-3deg);
	transition: transform .1s steps(2);
}
.dh-signpost__arrow:nth-child(even) {
	transform: rotate(3deg);
	padding: 8px 14px 9px 26px;
	clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%);
}
.dh-signpost__arrow:hover { color: var(--yellow); transform: rotate(0) scale(1.05); }

.dh-deco { position: absolute; pointer-events: none; image-rendering: pixelated; }
.dh-deco--tree-l {
	left: -60px; bottom: 0;
	width: 112px; height: 105px;
	background: var(--dh-img-tree) 0 0 / 100% 100% no-repeat;
}
.dh-deco--tree-r {
	right: -70px; bottom: 0;
	width: 96px; height: 90px;
	background: var(--dh-img-tree) 0 0 / 100% 100% no-repeat;
}

/* 実績（土の帯） */
.dh-stats-band {
	position: relative;
	padding: 48px 0 40px;
	background:
		var(--dh-img-grass) repeat-x 0 100% / 64px 24px,
		var(--dh-img-ground) repeat-x 0 0 / 128px 88px,
		radial-gradient(circle at 20% 60%, rgba(201, 140, 78, .55) 0 3px, transparent 4px) 0 0 / 46px 38px,
		var(--dirt);
	image-rendering: pixelated;
}
.dh-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dh-stat {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 20px;
	background: var(--cream);
}
.dh-stat img { width: 56px; height: auto; image-rendering: pixelated; flex: none; }
.dh-stat p { margin: 0; line-height: 1.3; }
.dh-stat__main { display: block; font-weight: 900; font-size: 1.05rem; color: var(--ink); }
.dh-stat__main b {
	font-size: 2.1rem;
	color: var(--red);
	letter-spacing: .01em;
	text-shadow: 2px 2px 0 rgba(163, 17, 26, .18);
}
.dh-stat__note { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-soft); }

/* =========================================================
   7. 生徒作品ギャラリー
   ========================================================= */
.dh-gallery__grid {
	display: grid;
	grid-template-columns: 400px 1fr;
	gap: 36px;
	align-items: center;
}
.dh-gallery__intro p { font-weight: 700; color: var(--ink); }
.dh-gallery__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dh-work {
	display: block;
	padding: 8px 8px 12px;
	color: var(--ink);
	text-decoration: none;
	transition: transform .1s steps(2);
}
.dh-work:hover { transform: translateY(-4px); color: var(--ink); }
.dh-work__img { display: block; aspect-ratio: 441 / 261; overflow: hidden; box-shadow: 0 0 0 2px var(--ink); background: #222; }
.dh-work__img img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.dh-work__title { display: block; margin-top: 10px; font-weight: 900; font-size: .95rem; line-height: 1.35; }
.dh-work__cap { display: block; font-size: .78rem; color: var(--ink-soft); }

/* =========================================================
   8. 選ばれる理由
   ========================================================= */
.dh-reasons__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.dh-reason {
	position: relative;
	padding: 28px 26px 26px;
	text-align: center;
	background: var(--cream);
}
.dh-reason__num {
	position: absolute;
	top: -14px; left: -10px;
	padding: 2px 12px;
	font-family: var(--font-dot);
	font-size: 1.6rem;
	line-height: 1.2;
	color: #fff;
	background: var(--red);
	box-shadow: 0 0 0 3px var(--ink), 0 6px 0 0 rgba(0, 0, 0, .25);
}
.dh-reason__num.is-blue { background: var(--blue); }
.dh-reason__num.is-green { background: var(--green); }
.dh-reason__img { display: flex; align-items: flex-end; justify-content: center; height: 110px; margin-bottom: 14px; }
.dh-reason__img img { max-height: 110px; width: auto; }
.dh-reason__title { font-size: 1.35rem; font-weight: 900; color: var(--ink); }
.dh-reason p { margin: 0; font-size: .92rem; text-align: left; }

/* =========================================================
   9. 子ども教室
   ========================================================= */
.dh-school__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 40px;
	margin-bottom: 14px;
}
.dh-school__head .dh-sign { margin-bottom: 18px; }
.dh-school__list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.dh-course {
	--c: var(--orange);
	--c-d: var(--orange-d);
	background: #fff;
	box-shadow:
		0 -4px 0 0 var(--c-d), 0 4px 0 0 var(--c-d),
		-4px 0 0 0 var(--c-d), 4px 0 0 0 var(--c-d),
		0 12px 0 0 rgba(35, 23, 15, .2);
	margin: 4px;
}
.dh-course.is-blue { --c: var(--blue); --c-d: var(--blue-d); }
.dh-course.is-pink { --c: var(--pink); --c-d: var(--pink-d); }
.dh-course__title {
	margin: 0;
	padding: 6px 12px 8px;
	font-size: 1.35rem;
	font-weight: 900;
	text-align: center;
	color: #fff;
	background: var(--c);
	box-shadow: inset 0 -4px 0 var(--c-d);
	letter-spacing: .08em;
}
.dh-course__body { display: flex; align-items: flex-end; gap: 12px; padding: 16px 16px 0; }
.dh-course__img { width: 104px; flex: none; }
.dh-course ul { flex: 1; margin: 0 0 16px; padding: 0; list-style: none; }
.dh-course li {
	position: relative;
	padding-left: 18px;
	font-size: .9rem;
	font-weight: 700;
	line-height: 1.5;
	margin-bottom: 6px;
}
.dh-course li::before {
	content: "";
	position: absolute;
	left: 0; top: .45em;
	width: 9px; height: 9px;
	background: var(--c);
	box-shadow: inset -2px -2px 0 var(--c-d);
}

/* =========================================================
   10. お勧め商品
   ========================================================= */
.dh-dirt {
	background:
		var(--dh-img-ground) repeat-x 0 0 / 128px 88px,
		radial-gradient(circle at 20% 60%, rgba(201, 140, 78, .55) 0 3px, transparent 4px) 0 0 / 46px 38px,
		radial-gradient(circle at 70% 30%, rgba(107, 63, 23, .5) 0 3px, transparent 4px) 0 0 / 58px 44px,
		var(--dirt);
	padding-top: 72px;
	image-rendering: pixelated;
}
.dh-items__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 24px;
}
.dh-items__head .dh-sign { margin: 0; }
.dh-items__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}
.dh-items__list--archive { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.dh-item {
	position: relative;
	display: flex;
	flex-direction: column;
	color: var(--ink);
	text-decoration: none;
	transition: transform .1s steps(2);
}
.dh-item:hover { transform: translateY(-4px); color: var(--ink); }
.dh-item__img {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 4 / 3;
	padding: 12px;
	background: #fff;
	overflow: hidden;
}
.dh-item__img img { max-height: 100%; width: auto; object-fit: contain; }
.dh-item__noimg { font-family: var(--font-dot); color: #b8b0a2; }
.dh-item__badge {
	position: absolute;
	top: 10px; right: 10px;
	padding: 2px 10px;
	font-size: .78rem;
	font-weight: 900;
	color: #fff;
	background: var(--red);
	box-shadow: 0 0 0 2px var(--ink);
}
.dh-item__badge.is-sold { background: #555; }
.dh-item__body { display: flex; flex-direction: column; flex: 1; padding: 0 16px 14px; }
.dh-item__code { font-family: var(--font-dot); font-size: .75rem; color: #8a8173; }
.dh-item__name { font-weight: 900; line-height: 1.4; }
.dh-item__spec { margin-top: 4px; font-size: .78rem; line-height: 1.5; color: var(--ink-soft); }
.dh-item__price {
	margin-top: auto;
	padding-top: 8px;
	font-size: 1.45rem;
	font-weight: 900;
	color: var(--red);
	line-height: 1.2;
}
.dh-item__price small { margin-left: 2px; font-size: .55em; color: var(--ink-soft); }
.dh-item.is-soldout .dh-item__img img { filter: grayscale(1); opacity: .6; }
.dh-item.is-soldout .dh-item__price { color: #777; }

/* =========================================================
   11. 店舗・お知らせ
   ========================================================= */
.dh-info__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: stretch;
}
.dh-panel { padding: 24px 26px; background: var(--cream); }
.dh-shop .dh-sign { margin-top: -50px; }
.dh-shop__body { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.dh-shop__photo { display: block; box-shadow: 0 0 0 3px var(--ink); }
.dh-shop__photo { overflow: hidden; }
.dh-shop__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.dh-shop__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.dh-shopinfo { margin: 0; padding: 0; list-style: none; }
.dh-shopinfo li {
	display: flex;
	gap: 8px;
	align-items: flex-start;
	margin-bottom: 8px;
	font-size: .92rem;
	font-weight: 700;
	line-height: 1.5;
}
.dh-shopinfo img { width: 20px; flex: none; margin-top: 2px; image-rendering: pixelated; }
.dh-shopinfo small { font-size: .78rem; color: var(--ink-soft); }
.dh-shopinfo__tel { align-items: center !important; color: var(--red); }
.dh-shopinfo__tel .dh-ico { width: 20px; height: 20px; }
.dh-shopinfo__tel a { color: var(--red); font-size: 1.2rem; font-weight: 900; text-decoration: none; }

.dh-news__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.dh-news__title { white-space: nowrap; display: flex; align-items: center; gap: 12px; margin: 0; font-size: 1.25rem; font-weight: 900; }
.dh-news__tag {
	padding: 2px 10px;
	font-family: var(--font-dot);
	font-size: 1rem;
	color: #fff;
	background: var(--orange);
	box-shadow: 0 0 0 3px var(--ink), inset 0 -3px 0 var(--orange-d);
	transform: rotate(-4deg);
}
.dh-newslist { margin: 0; padding: 0; list-style: none; }
.dh-newslist li { border-bottom: 2px dashed #e0d4bd; }
.dh-newslist a {
	display: flex;
	gap: 18px;
	padding: 10px 4px;
	font-size: .92rem;
	font-weight: 700;
	color: var(--ink);
	text-decoration: none;
}
.dh-newslist a:hover { color: var(--red); background: #fff3d9; }
.dh-newslist time { flex: none; font-family: var(--font-dot); color: var(--ink-soft); }
.dh-empty { color: var(--ink-soft); }

/* =========================================================
   12. フランチャイズ
   ========================================================= */
.dh-fc { padding-bottom: 96px; }
.dh-fc.dh-sky {
	background:
		var(--dh-img-town) repeat-x 0 100% / 512px 80px,
		var(--dh-img-cloud) 12% 20px / 120px auto no-repeat,
		var(--dh-img-cloud) 88% 40px / 150px auto no-repeat,
		linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 70%, var(--sky-3) 100%);
	image-rendering: pixelated;
}
.dh-fc__inner { display: flex; align-items: flex-end; justify-content: center; gap: 24px; }
.dh-fc__body { flex: 1; max-width: 820px; }
.dh-fc__body .dh-sign { margin-bottom: -10px; margin-left: 20px; position: relative; z-index: 1; }
.dh-fc__box {
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 30px 28px 22px;
}
.dh-fc__box p { flex: 1; margin: 0; font-size: .92rem; font-weight: 700; }
.dh-fc__box .dh-btn { flex: none; }
.dh-fc__mascot { width: 240px; flex: none; margin-bottom: -10px; }

/* =========================================================
   13. フッター
   ========================================================= */
.dh-footer__info {
	position: relative;
	padding: 40px 0;
	background:
		radial-gradient(circle at 20% 60%, rgba(201, 140, 78, .55) 0 3px, transparent 4px) 0 0 / 46px 38px,
		var(--dirt);
}
.dh-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; padding-top: 16px; }
.dh-footer__grid:not(.has-widgets) { grid-template-columns: minmax(0, 560px); justify-content: center; }
.dh-footer__name { font-size: 1.05rem; font-weight: 900; margin-bottom: 12px; }
.dh-footer__license { margin: 8px 0 0; font-size: .75rem; color: var(--ink-soft); }

.dh-widget + .dh-widget { margin-top: 24px; }
.dh-widget .wp-block-heading,
.dh-widget .wp-block-search__label {
	display: inline-block;
	margin: 0 0 12px;
	padding: 2px 12px;
	font-size: .95rem;
	font-weight: 900;
	color: #fff;
	background: var(--green);
	box-shadow: 0 0 0 3px var(--ink), inset 0 -3px 0 var(--green-d);
}
.dh-widget .wp-block-search__inside-wrapper { display: flex; gap: 6px; }
.dh-widget .wp-block-search__input { flex: 1; min-width: 0; }
.dh-widget .wp-block-search__button {
	margin: 3px;
	padding: 6px 14px;
	font-weight: 900;
	color: #fff;
	background: var(--blue);
	border: 0;
	border-radius: 0;
	box-shadow: 0 0 0 3px var(--ink), inset 0 -4px 0 var(--blue-d);
}
.dh-widget__title {
	display: inline-block;
	margin-bottom: 12px;
	padding: 2px 12px;
	font-size: .95rem;
	font-weight: 900;
	color: #fff;
	background: var(--green);
	box-shadow: 0 0 0 3px var(--ink), inset 0 -3px 0 var(--green-d);
}
.dh-widget ul { margin: 0; padding: 0; list-style: none; }
.dh-widget li { padding: 6px 0; border-bottom: 2px dashed #e0d4bd; font-size: .92rem; }
.dh-widget li a { color: var(--ink); text-decoration: none; font-weight: 700; }
.dh-widget li a:hover { color: var(--red); }
.dh-widget table { width: 100%; border-collapse: collapse; font-size: .82rem; text-align: center; }
.dh-widget th, .dh-widget td { padding: 4px 2px; border: 1px solid #e0d4bd; }
.dh-widget caption { font-weight: 900; margin-bottom: 4px; }

.dh-footer__bar { background: var(--navy); color: #c9d0dc; }
.dh-footer__barinner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 28px;
	width: min(100% - 32px, 1360px);
	margin-inline: auto;
	padding: 22px 0;
}
.dh-footer__bar .dh-logo__main,
.dh-footer__bar .dh-logo__sub,
.dh-footer__bar .dh-logo__text { color: #fff; }
.dh-footer__bar .dh-logo__main { font-size: 1.4rem; }
.dh-footer__nav { flex: 1; }
.dh-footmenu { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.dh-footmenu li::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-right: 7px; background: var(--red); vertical-align: 3px; }
.dh-footmenu a { font-size: .8rem; color: #e0e5ee; text-decoration: none; }
.dh-footmenu a:hover { color: var(--yellow); }
.dh-footmenu .sub-menu, .dh-footmenu .children { display: none; }
.dh-copy { margin: 0; font-size: .75rem; }
.dh-totop {
	display: grid;
	place-items: center;
	width: 40px; height: 40px;
	color: #fff;
	background: #3a4256;
	box-shadow: 0 0 0 3px #59627a;
}
.dh-totop:hover { color: var(--yellow); }
.dh-totop svg { width: 18px; height: 18px; }

/* =========================================================
   14. 下層ページ
   ========================================================= */
.dh-pagehead {
	position: relative;
	padding: 56px 0 64px;
	text-align: center;
	overflow: hidden;
	background:
		var(--dh-img-grass) repeat-x 0 100% / 64px 24px,
		var(--dh-img-tree) 3% calc(100% - 16px) / 96px 90px no-repeat,
		var(--dh-img-tree) 97% calc(100% - 16px) / 80px 75px no-repeat,
		var(--dh-img-cloud) 14% 18px / 130px auto no-repeat,
		var(--dh-img-cloud) 58% 8px / 100px auto no-repeat,
		var(--dh-img-cloud) 84% 34px / 140px auto no-repeat,
		linear-gradient(180deg, var(--sky-1), var(--sky-2));
	image-rendering: pixelated;
}
.dh-pagehead__label {
	margin: 0 0 14px;
	font-family: var(--font-dot);
	font-size: .95rem;
	letter-spacing: .2em;
	color: #fff;
	text-shadow: 2px 2px 0 var(--blue-d);
}
.dh-sign--page { display: table; margin: 0 auto 18px; font-size: clamp(1.3rem, 1rem + 1.4vw, 2rem); max-width: 100%; }
.dh-sign--page .dh-sign__inner { padding-inline: 48px; }
.dh-pagehead__mascot {
	position: absolute;
	right: max(16px, calc(50% - 620px));
	bottom: 12px;
	width: 120px;
	height: auto;
}

.dh-breadcrumb ol {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	margin: 0;
	padding: 4px 14px;
	list-style: none;
	font-size: .8rem;
	font-weight: 700;
	background: rgba(255, 255, 255, .85);
	box-shadow: 0 0 0 2px var(--ink);
}
.dh-breadcrumb li { max-width: 26em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dh-breadcrumb li + li::before { content: "▶"; margin: 0 8px; font-size: .6rem; color: var(--red); vertical-align: 1px; }
.dh-breadcrumb a { color: var(--blue-d); text-decoration: none; }

.dh-sub { padding-top: 48px; }
.dh-layout { display: block; }
body.has-sidebar .dh-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
	align-items: start;
}
.dh-layout__side > .dh-widget {
	padding: 20px;
	background: var(--cream);
	box-shadow: 0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink);
	margin: 4px 4px 28px;
}

/* 記事 */
.dh-entry { padding: clamp(24px, 4vw, 48px); }
.dh-entry--wide { padding: 0; }
.dh-entry__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 18px; }
.dh-entry__meta time { font-family: var(--font-dot); color: var(--ink-soft); }
.dh-entry__thumb { margin: 0 0 28px; }
.dh-entry__thumb img { width: 100%; box-shadow: 0 0 0 3px var(--ink); }
.dh-entry__tags { margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dh-entry__tags a {
	padding: 2px 10px;
	font-size: .8rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--ink);
	background: #fff;
	box-shadow: 0 0 0 2px var(--ink);
}
.dh-entry__tags a::before { content: "#"; color: var(--red); }

.dh-chip {
	display: inline-block;
	padding: 0 10px;
	font-size: .75rem;
	font-weight: 800;
	line-height: 1.8;
	color: #fff;
	text-decoration: none;
	background: var(--blue);
	box-shadow: inset 0 -2px 0 var(--blue-d);
}
a.dh-chip:hover { color: #fff; background: var(--red); }

.dh-postnav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 36px 0; }
.dh-postnav a {
	display: block;
	height: 100%;
	padding: 12px 16px;
	font-weight: 800;
	font-size: .92rem;
	color: var(--ink);
	text-decoration: none;
	background: #fff;
	box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px rgba(0, 0, 0, .15);
}
.dh-postnav a:hover { color: var(--red); }
.dh-postnav small { display: block; font-family: var(--font-dot); color: var(--blue-d); }
.dh-postnav__next { text-align: right; }
.dh-backlink { margin-top: 32px; text-align: center; }

/* 一覧 */
.dh-postlist { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }
.dh-postcard > a {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: var(--ink);
	text-decoration: none;
	transition: transform .1s steps(2);
}
.dh-postcard > a:hover { transform: translateY(-4px); color: var(--ink); }
.dh-postcard__img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sky-2); border-bottom: 3px solid var(--ink); }
.dh-postcard__img img { width: 100%; height: 100%; object-fit: cover; }
.dh-postcard__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 18px 18px; }
.dh-postcard__meta { display: flex; align-items: center; gap: 10px; font-family: var(--font-dot); font-size: .85rem; color: var(--ink-soft); }
.dh-postcard__meta .dh-chip { font-family: var(--font); }
.dh-postcard__title { font-weight: 900; line-height: 1.5; }
.dh-postcard__excerpt { font-size: .85rem; color: var(--ink-soft); line-height: 1.6; }

.dh-archive-desc, .dh-searchbox, .dh-empty-panel { margin-bottom: 28px; }

.pagination { margin-top: 44px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 44px; height: 44px;
	padding: 0 8px;
	font-family: var(--font-dot);
	font-size: 1.05rem;
	color: var(--ink);
	text-decoration: none;
	background: #fff;
	box-shadow: 0 0 0 3px var(--ink), 0 6px 0 3px rgba(0, 0, 0, .15);
}
.pagination .page-numbers.current { color: #fff; background: var(--red); }
.pagination a.page-numbers:hover { color: #fff; background: var(--blue); }
.pagination .dots { box-shadow: none; background: none; }

/* 検索フォーム */
.dh-search { display: flex; gap: 8px; max-width: 520px; }
.dh-search input[type="search"] { flex: 1; min-width: 0; }
.dh-search button {
	padding: 8px 18px;
	font-weight: 900;
	color: #fff;
	background: var(--blue);
	border: 0;
	cursor: pointer;
	box-shadow: 0 0 0 3px var(--ink), inset 0 -4px 0 var(--blue-d);
	margin: 3px;
}

/* 404 */
.dh-404 { display: flex; gap: 32px; align-items: center; }
.dh-404 img { width: 160px; flex: none; }
.dh-404__big { font-size: 1.6rem; font-weight: 900; color: var(--ink); line-height: 1.4; }
.dh-404 .dh-search { margin: 18px 0 24px; }

/* コメント */
.dh-comments { margin-top: 40px; }
.dh-comments__title { font-size: 1.2rem; }
.dh-comments__list { padding-left: 0; list-style: none; }
.dh-comments__list .comment-body { padding: 14px 0; border-bottom: 2px dashed #e0d4bd; }
.dh-comments__list .children { list-style: none; padding-left: 24px; }
.comment-form label { display: block; font-weight: 800; font-size: .9rem; }

/* =========================================================
   15. 本文（エディター出力）
   ========================================================= */
.entry-content { word-wrap: break-word; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 {
	position: relative;
	margin: 2.4em 0 1em;
	padding: 10px 16px 10px 52px;
	font-size: 1.45rem;
	font-weight: 900;
	color: var(--ink);
	background: #fff;
	box-shadow: 0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink), -4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink), 0 8px 0 0 rgba(0, 0, 0, .12);
	margin-left: 4px; margin-right: 4px;
}
.entry-content h2::before {
	content: "";
	position: absolute;
	left: 16px; top: calc(50% - 10px);
	width: 20px; height: 20px;
	background: var(--red);
	box-shadow: inset -4px -4px 0 var(--red-d), inset 4px 4px 0 #ff7b80;
}
.entry-content h3 {
	margin: 2em 0 .8em;
	padding: 0 0 6px 16px;
	font-size: 1.22rem;
	font-weight: 900;
	border-left: 8px solid var(--green);
	border-bottom: 4px dotted var(--green);
}
.entry-content h4 {
	margin: 1.8em 0 .6em;
	font-size: 1.08rem;
	font-weight: 900;
	color: var(--blue-d);
}
.entry-content h4::before { content: "■ "; color: var(--orange); }
.entry-content ul { list-style: none; padding-left: 1.2em; }
.entry-content ul > li { position: relative; }
.entry-content ul > li::before {
	content: "";
	position: absolute;
	left: -1.1em; top: .62em;
	width: 8px; height: 8px;
	background: var(--orange);
}
.entry-content ol { padding-left: 1.6em; }
.entry-content ol > li::marker { font-family: var(--font-dot); color: var(--red); }
.entry-content li { margin-bottom: .3em; }
.entry-content blockquote {
	margin: 1.6em 0;
	padding: 18px 22px;
	background: #fff8e6;
	border-left: 8px solid var(--wood);
}
.entry-content blockquote cite { display: block; font-size: .85rem; color: var(--ink-soft); }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; background: #fff; }
.entry-content th,
.entry-content td { padding: 10px 14px; border: 2px solid var(--ink); text-align: left; vertical-align: top; }
.entry-content th { background: #ffe9c2; font-weight: 800; white-space: nowrap; }
.entry-content thead th { background: var(--blue); color: #fff; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption { font-size: .82rem; text-align: center; color: var(--ink-soft); margin-top: 6px; }
.entry-content hr { border: 0; height: 8px; margin: 2.4em 0; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 16px); opacity: .25; }
.entry-content a { font-weight: 700; }
.entry-content iframe { max-width: 100%; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content .wp-block-image img { height: auto; }
.entry-content .alignwide { margin-left: calc(-1 * clamp(0px, 3vw, 40px)); margin-right: calc(-1 * clamp(0px, 3vw, 40px)); }
.entry-content .alignfull { margin-left: calc(-1 * clamp(24px, 4vw, 48px)); margin-right: calc(-1 * clamp(24px, 4vw, 48px)); max-width: none; }
.dh-entry--wide .entry-content .alignfull,
.dh-entry--wide.entry-content .alignfull { margin-inline: calc(50% - 50vw); width: 100vw; }
.aligncenter { display: block; margin-inline: auto; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }

/* ボタンブロック */
.wp-block-button__link,
.entry-content .wp-element-button {
	display: inline-block;
	padding: 12px 28px;
	font-weight: 900;
	color: #fff;
	text-decoration: none;
	background: var(--red);
	border-radius: 0 !important;
	box-shadow:
		0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink),
		-4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink),
		inset 0 -5px 0 0 rgba(0, 0, 0, .25),
		0 9px 0 0 rgba(35, 23, 15, .25);
	margin: 4px;
}
.wp-block-button__link:hover { color: #fff; filter: brightness(1.08); }
.is-style-outline > .wp-block-button__link { background: #fff; color: var(--ink); }

.dh-pagelinks { margin-top: 2em; font-weight: 800; }

/* フォーム全般（Contact Form 7 などにも適用） */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="date"],
select,
textarea {
	max-width: 100%;
	padding: 9px 12px;
	font-size: 1rem;
	background: #fff;
	border: 0;
	border-radius: 0;
	box-shadow: 0 0 0 3px var(--ink), inset 0 4px 0 rgba(0, 0, 0, .08);
	margin: 3px;
}
input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 3px var(--blue), inset 0 4px 0 rgba(0, 0, 0, .08); }
textarea { width: 100%; }
input[type="submit"],
button[type="submit"]:not(.dh-burger),
.wpcf7-submit {
	padding: 12px 32px;
	font-weight: 900;
	color: #fff;
	background: var(--red);
	border: 0;
	border-radius: 0;
	cursor: pointer;
	box-shadow: 0 0 0 4px var(--ink), inset 0 -5px 0 var(--red-d), 0 9px 0 3px rgba(0, 0, 0, .2);
	margin: 4px;
}
input[type="submit"]:hover, .wpcf7-submit:hover { filter: brightness(1.08); }

/* 看板見出しはPCでは1行に収める */
@media (min-width: 761px) {
	.dh-gallery .dh-sign,
	.dh-reasons .dh-sign,
	.dh-school .dh-sign,
	.dh-items .dh-sign,
	.dh-fc .dh-sign { white-space: nowrap; }
}

/* =========================================================
   16. レスポンシブ
   ========================================================= */
@media (max-width: 1400px) {
	.dh-menu a { padding: 8px 7px; font-size: .84rem; }
	.dh-logo__main { font-size: 1.5rem; }
	.dh-telbtn__note { display: none; }
	.dh-util { font-size: 0; gap: 0; }
	.dh-util svg { width: 22px; height: 22px; }
	.dh-util__count { font-size: .7rem; }
}

@media (max-width: 1080px) {
	/* ヘッダー：ハンバーガー */
	.dh-header__inner { min-height: 64px; justify-content: space-between; }
	.dh-logo__main { font-size: 1.4rem; }
	.dh-burger {
		display: inline-flex;
		flex-direction: column;
		align-items: center;
		gap: 2px;
		padding: 8px 10px 4px;
		background: var(--ink);
		color: #fff;
		border: 0;
		cursor: pointer;
		box-shadow: inset 0 -3px 0 #000;
		order: 3;
	}
	.dh-burger__bars,
	.dh-burger__bars::before,
	.dh-burger__bars::after {
		display: block;
		width: 24px; height: 4px;
		background: #fff;
		content: "";
		position: relative;
		transition: transform .12s steps(2);
	}
	.dh-burger__bars { margin: 8px 0 10px; }
	.dh-burger__bars::before { position: absolute; top: -8px; }
	.dh-burger__bars::after { position: absolute; top: 8px; }
	.dh-burger[aria-expanded="true"] .dh-burger__bars { background: transparent; }
	.dh-burger[aria-expanded="true"] .dh-burger__bars::before { transform: translateY(8px) rotate(45deg); }
	.dh-burger[aria-expanded="true"] .dh-burger__bars::after { transform: translateY(-8px) rotate(-45deg); }
	.dh-burger__label { font-family: var(--font-dot); font-size: .6rem; letter-spacing: .1em; }

	.dh-nav {
		position: absolute;
		left: 0; right: 0; top: 100%;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		max-height: calc(100vh - 64px);
		overflow-y: auto;
		background: var(--cream);
		box-shadow: 0 4px 0 0 var(--ink), 0 12px 0 rgba(0, 0, 0, .15);
		margin-top: 4px;
	}
	.dh-nav.is-open { display: flex; }
	.dh-menu { flex-direction: column; flex-wrap: nowrap; gap: 0; }
	.dh-menu > li { border-bottom: 2px dashed #e0d4bd; }
	.dh-menu a { padding: 14px 20px; font-size: 1rem; }
	.dh-menu > li > a::after { display: none; }
	.dh-menu .sub-menu,
	.dh-menu .children {
		position: static;
		display: none;
		min-width: 0;
		margin: 0;
		padding: 0 0 8px;
		box-shadow: none;
		background: transparent;
		opacity: 1; visibility: visible; transform: none;
	}
	.dh-menu li.is-sub-open > .sub-menu,
	.dh-menu li.is-sub-open > .children { display: block; }
	.dh-menu .sub-menu a, .dh-menu .children a { padding: 8px 20px 8px 44px; font-size: .9rem; }
	.dh-menu .sub-menu a::before, .dh-menu .children a::before { left: 28px; }
	.dh-subtoggle {
		display: grid;
		place-items: center;
		position: absolute;
		right: 12px; top: 8px;
		width: 36px; height: 36px;
		font-weight: 900;
		color: #fff;
		background: var(--red);
		border: 0;
		cursor: pointer;
		box-shadow: inset 0 -3px 0 var(--red-d);
	}
	.dh-nav__extra { flex-wrap: wrap; justify-content: center; padding: 18px 16px 22px; gap: 14px 20px; }
	.dh-util { font-size: .9rem; gap: 4px; }
	.dh-telbtn__note { display: block; }

	/* ヒーロー */
	.dh-hero__stage { grid-template-columns: minmax(0, 1fr) 250px; padding-top: 50px; }
	.dh-hero__board { margin-left: 10px; padding: 28px 30px 24px; }
	.dh-hero__btns { margin-left: 16px; }
	.dh-hero__mascot { width: 240px; }
	.dh-signpost {
		grid-column: 1 / -1;
		grid-row: 3;
		flex-direction: row;
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px;
		padding: 0 0 30px;
	}
	.dh-signpost::before { display: none; }

	.dh-gallery__grid { grid-template-columns: 1fr; gap: 28px; }
	.dh-gallery__intro { text-align: center; }
	.dh-items__list { grid-template-columns: repeat(2, 1fr); }
	.dh-info__grid { grid-template-columns: 1fr; gap: 64px; }
	body.has-sidebar .dh-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
	body { font-size: 15px; }
	.dh-section { padding: 48px 0 72px; }
	.dh-sign__inner { padding: 10px 30px 12px; }
	.dh-sign__inner::before { left: 10px; }
	.dh-sign__inner::after { right: 10px; }

	.dh-hero__stage { display: flex; flex-direction: column; padding-top: 44px; min-height: 0; }
	.dh-hero__board { margin: 20px 0 0; padding: 24px 20px 20px; transform: none; }
	.dh-hero__board::before, .dh-hero__board::after { top: -66px; height: 62px; }
	.dh-hero__btns { order: 3; margin: 24px 0 8px; justify-content: center; }
	.dh-hero__btns .dh-btn { width: calc(100% - 8px); }
	.dh-hero__chara { order: 2; flex-direction: row; align-items: flex-end; justify-content: center; margin-top: 18px; }
	.dh-hero__mascot { width: 150px; }
	.dh-bubble { order: 2; align-self: center; margin: 0 0 40px 8px; font-size: .8rem; }
	.dh-bubble::after { left: -14px; bottom: auto; top: 50%; }
	.dh-signpost { order: 4; padding-bottom: 24px; }
	.dh-signpost__arrow { font-size: .85rem; }
	.dh-deco { display: none; }

	.dh-stats { grid-template-columns: 1fr; gap: 16px; }
	.dh-stats-band { padding-top: 40px; }
	.dh-gallery__list { grid-template-columns: 1fr 1fr; }
	.dh-gallery__list li:last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; }
	.dh-reasons__list, .dh-school__list { grid-template-columns: 1fr; gap: 28px; }
	.dh-items__list { grid-template-columns: 1fr 1fr; gap: 16px; }
	.dh-item__body { padding: 0 10px 10px; }
	.dh-item__price { font-size: 1.15rem; }
	.dh-items__head { justify-content: center; }
	.dh-sign small { display: block; margin: 4px 0 0; }
	.dh-shop__body { grid-template-columns: 1fr; }
	.dh-newslist a { flex-direction: column; gap: 0; }
	.dh-fc__inner { flex-direction: column; align-items: center; }
	.dh-fc__body .dh-sign { margin-left: 0; }
	.dh-fc__box { flex-direction: column; text-align: center; }
	.dh-fc__box p br,
	.dh-gallery__intro p br { display: none; }
	.dh-fc__mascot { width: 180px; }
	.dh-footer__barinner { flex-direction: column; text-align: center; }
	.dh-footmenu { justify-content: center; }
	.dh-pagehead { padding: 40px 0 72px; }
	.dh-pagehead__mascot { width: 80px; }
	.dh-postnav { grid-template-columns: 1fr; }
	.dh-404 { flex-direction: column; text-align: center; }
	.dh-404 .dh-search { margin-inline: auto; }
	.entry-content th { white-space: normal; }
	.alignleft, .alignright { float: none; margin: 1em auto; }
}

@media (max-width: 360px) {
	.dh-items__list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* =========================================================
   17. カスタムフィールド（全国の店舗など）
   ========================================================= */
.dh-status {
	display: inline-flex;
	align-items: stretch;
	margin: 0 4px 24px;
	font-weight: 900;
	box-shadow: 0 0 0 4px var(--ink), 0 8px 0 4px rgba(0, 0, 0, .15);
	--c: var(--green);
	--c-d: var(--green-d);
}
.dh-status.is-orange { --c: var(--orange); --c-d: var(--orange-d); }
.dh-status.is-red { --c: var(--red); --c-d: var(--red-d); }
.dh-status.is-gray { --c: #7a7a7a; --c-d: #555; }
.dh-status__label { padding: 6px 14px; font-size: .9rem; color: var(--ink); background: #fff; }
.dh-status__value {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 18px;
	font-size: 1.1rem;
	color: #fff;
	background: var(--c);
	box-shadow: inset 0 -4px 0 var(--c-d);
}
.dh-status__value::before { content: ""; width: 10px; height: 10px; background: #fff; animation: dh-blink 1s steps(1) infinite; }
@keyframes dh-blink { 50% { opacity: .2; } }
.dh-status--small { margin: 0 0 4px; box-shadow: 0 0 0 2px var(--ink); align-self: flex-start; }
.dh-status--small .dh-status__value { padding: 0 10px; font-size: .78rem; box-shadow: inset 0 -2px 0 var(--c-d); }
.dh-status--small .dh-status__value::before { width: 6px; height: 6px; }

.dh-acf-photo { margin: 0 0 28px; }
.dh-acf-photo img { display: block; width: 100%; max-height: 560px; object-fit: cover; box-shadow: 0 0 0 4px var(--ink); }

.dh-acf-table { margin: 0 0 28px; background: #fff; box-shadow: 0 0 0 3px var(--ink); }
.dh-acf-table > div { display: grid; grid-template-columns: 11em 1fr; border-bottom: 2px solid var(--ink); }
.dh-acf-table > div:last-child { border-bottom: 0; }
.dh-acf-table dt { padding: 12px 14px; font-weight: 800; background: #ffe9c2; border-right: 2px solid var(--ink); }
.dh-acf-table dd { margin: 0; padding: 12px 14px; overflow-wrap: anywhere; }
.dh-acf-table a { font-weight: 800; }
.dh-acf-sub { margin: 0; }
.dh-acf-sub dt { font-weight: 800; color: var(--blue-d); }
.dh-acf-sub dd { margin: 0 0 8px; }
.dh-acf-wide { margin: 0 0 28px; }
.dh-acf-wide > h2 { font-size: 1.2rem; }
.dh-acf-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.dh-acf-gallery figure { margin: 0; }
.dh-acf-gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: 0 0 0 3px var(--ink); }
.dh-map { box-shadow: 0 0 0 3px var(--ink); }
.dh-map iframe { display: block; width: 100%; height: 360px; border: 0; }
.dh-acf-mapbtn { text-align: center; }

@media (max-width: 760px) {
	.dh-acf-table > div { grid-template-columns: 1fr; }
	.dh-acf-table dt { border-right: 0; border-bottom: 2px dashed #d9b77a; padding: 8px 12px; }
}

/* =========================================================
   18. 店舗一覧
   ========================================================= */
.dh-shoplist__intro { margin-bottom: 32px; }
.dh-shoplist__count { margin: 0 0 18px; text-align: center; }
.dh-shoplist__count span {
	display: inline-block;
	padding: 2px 16px;
	font-weight: 900;
	color: var(--ink);
	background: var(--yellow);
	box-shadow: 0 0 0 3px var(--ink), inset 0 -3px 0 #d9a91e;
}
.dh-shoplist { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 32px 28px; }
.dh-shopcard {
	display: flex;
	flex-direction: column;
	background: var(--cream);
	box-shadow:
		0 -4px 0 0 var(--ink), 0 4px 0 0 var(--ink),
		-4px 0 0 0 var(--ink), 4px 0 0 0 var(--ink),
		0 12px 0 0 rgba(35, 23, 15, .22);
	margin: 4px;
}
.dh-shopcard__photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sky-2); border-bottom: 4px solid var(--ink); }
.dh-shopcard__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .2s steps(3); }
.dh-shopcard__photo:hover img { transform: scale(1.04); }
.dh-shopcard__status { position: absolute; left: 12px; top: 12px; }
.dh-shopcard__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.dh-shopcard__name { margin: 0 0 12px; font-size: 1.3rem; font-weight: 900; }
.dh-shopcard__name a { color: var(--ink); text-decoration: none; }
.dh-shopcard__name a:hover { color: var(--red); }
.dh-shopcard__info { margin: 0 0 16px; font-size: .9rem; }
.dh-shopcard__info > div { display: grid; grid-template-columns: 6em 1fr; gap: 8px; padding: 6px 0; border-bottom: 2px dashed #e0d4bd; }
.dh-shopcard__info dt { font-weight: 800; color: var(--ink-soft); }
.dh-shopcard__info dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.dh-shopcard__btns { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: auto; }
@media (max-width: 420px) {
	.dh-shoplist { grid-template-columns: 1fr; }
}

/* =========================================================
   19. CTA（[cta] ショートコード）
   ========================================================= */
.dh-cta {
	display: flex;
	align-items: center;
	gap: 20px;
	margin: 2.4em 4px;
	padding: 22px 24px;
	background:
		repeating-linear-gradient(180deg, transparent 0 44px, rgba(140, 85, 30, .25) 44px 48px),
		linear-gradient(180deg, #f8d9a8, var(--wood-l));
	box-shadow:
		0 -4px 0 0 var(--wood-dd), 0 4px 0 0 var(--wood-dd),
		-4px 0 0 0 var(--wood-dd), 4px 0 0 0 var(--wood-dd),
		0 10px 0 0 rgba(35, 23, 15, .2);
}
.dh-cta--custom { display: block; }
.dh-cta--custom > *:last-child { margin-bottom: 0; }
.dh-cta__mascot { width: 110px; flex: none; }
.dh-cta__body { flex: 1; min-width: 0; }
.entry-content .dh-cta__title,
.dh-cta__title { margin: 0 0 4px; font-size: 1.3rem; font-weight: 900; color: var(--ink); }
.dh-cta__text { margin: 0 0 12px; font-weight: 700; }
.dh-cta__btns { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.entry-content .dh-cta__btns a { font-weight: 900; text-decoration: none; }
.dh-cta__btns .dh-btn { padding: 8px 18px; }
.dh-cta__hours { margin: 12px 0 0; font-size: .8rem; color: var(--ink-soft); }
.dh-cta__admin { margin: 0 4px -1.6em; font-size: .78rem; color: var(--red-d); }
@media (max-width: 600px) {
	.dh-cta { flex-direction: column; text-align: center; }
	.dh-cta__btns { justify-content: center; }
	.dh-cta__mascot { width: 90px; }
}
