/* =========================================================
   まちのひだまり — main.css
   ========================================================= */

:root {
	--paper: #f6f1e7;
	--paper-2: #fbf8f1;
	--paper-3: #efe6d6;
	--ink: #4b3d31;
	--ink-soft: #6e5e4f;
	--line: #d9ccb8;
	--terra: #c0703a;
	--terra-d: #a65a28;
	--sand: #efc595;
	--sage: #8f9e6f;
	--sage-d: #6f7f52;
	--sage-l: #c9d0ae;

	--ff-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
	--ff-gothic: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;

	--header-h: 76px;
	--container: 1120px;
	--narrow: 800px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 14px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
	margin: 0;
	font-family: var(--ff-gothic);
	font-size: 16px;
	line-height: 1.95;
	letter-spacing: .04em;
	color: var(--ink);
	background-color: var(--paper);
	/* 和紙のような質感 */
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .38 0 0 0 0 .3 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--terra-d); text-underline-offset: .2em; transition: color .3s var(--ease), opacity .3s var(--ease); }
a:hover { color: var(--terra); }
p { margin: 0 0 1.2em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.5; word-break: auto-phrase; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; border-radius: 4px; }

.skip-link {
	position: absolute; left: 8px; top: -100px; z-index: 1000;
	background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 6px;
}
.skip-link:focus { top: 8px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

section[id] { scroll-margin-top: calc(var(--header-h) - 1px); }

/* ---------- header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	height: var(--header-h);
	isolation: isolate;
	transition: height .4s var(--ease);
}
.site-header::before {
	/* 背景のぼかしは疑似要素に持たせる（ヘッダー本体に backdrop-filter を付けると、
	   中の固定配置メニューがヘッダーの高さに閉じ込められるため） */
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgba(246, 241, 231, .92);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	box-shadow: 0 1px 0 rgba(75, 61, 49, .08);
	opacity: 0; transition: opacity .4s var(--ease);
}
.site-header.is-scrolled { --header-h: 64px; }
.site-header.is-scrolled::before { opacity: 1; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

.site-header__inner {
	height: 100%;
	max-width: 1360px; margin-inline: auto;
	padding-inline: var(--gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.logo { position: relative; z-index: 120; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark { width: 52px; height: auto; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__type { font-size: 10px; letter-spacing: .12em; color: var(--ink-soft); }
.logo__name { font-family: var(--ff-mincho); font-size: 20px; font-weight: 600; letter-spacing: .1em; }
.logo__en { font-size: 9px; letter-spacing: .28em; color: var(--sage-d); margin-top: 3px; }
.custom-logo-link img { max-height: calc(var(--header-h) - 20px); width: auto; }

.gnav__list { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.gnav__list a {
	position: relative; display: block; padding: 6px 0;
	font-size: 14px; letter-spacing: .1em; color: var(--ink); text-decoration: none;
}
.gnav__list a::after {
	content: ""; position: absolute; left: 50%; right: 50%; bottom: 0; height: 1px;
	background: var(--terra); transition: left .35s var(--ease), right .35s var(--ease);
}
.gnav__list a:hover::after, .gnav__list a.is-current::after { left: 0; right: 0; }
.gnav__item--cta a, .gnav__list li:last-child a {
	padding: 8px 20px; border-radius: 999px;
	background: var(--terra); color: #fff;
}
.gnav__item--cta a::after, .gnav__list li:last-child a::after { display: none; }
.gnav__item--cta a:hover, .gnav__list li:last-child a:hover { background: var(--terra-d); color: #fff; }

.menu-toggle { display: none; }

@media (max-width: 960px) {
	.menu-toggle {
		display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
		position: relative; z-index: 120;
		width: 52px; height: 52px; padding: 0; margin-right: -8px;
		border: 0; background: none; cursor: pointer; color: var(--ink);
	}
	.menu-toggle__bar, .menu-toggle__bar::before, .menu-toggle__bar::after {
		display: block; width: 24px; height: 1.5px; background: currentColor; border-radius: 2px;
		transition: transform .35s var(--ease), background-color .2s;
	}
	.menu-toggle__bar { position: relative; margin-top: -6px; }
	.menu-toggle__bar::before, .menu-toggle__bar::after { content: ""; position: absolute; left: 0; }
	.menu-toggle__bar::before { top: -7px; }
	.menu-toggle__bar::after { top: 7px; }
	.menu-toggle__label { font-size: 9px; letter-spacing: .1em; line-height: 1; margin-top: 6px; }
	.menu-open .menu-toggle__bar { background: transparent; }
	.menu-open .menu-toggle__bar::before { transform: translateY(7px) rotate(45deg); }
	.menu-open .menu-toggle__bar::after { transform: translateY(-7px) rotate(-45deg); }

	.gnav {
		position: fixed; inset: 0; z-index: 110;
		display: flex; align-items: center; justify-content: center;
		background: var(--paper-2);
		opacity: 0; visibility: hidden;
		transition: opacity .4s var(--ease), visibility .4s;
	}
	.menu-open .gnav { opacity: 1; visibility: visible; }
	.gnav__list { flex-direction: column; gap: 10px; text-align: center; }
	.gnav__list a { font-size: 17px; padding: 10px 0; }
	.gnav__list li:last-child { margin-top: 16px; }
	.gnav__list li:last-child a { padding: 12px 40px; }
	body.menu-open { overflow: hidden; }
}

/* ---------- common ---------- */
.section { position: relative; padding-block: clamp(80px, 11vw, 140px); }
.section-head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head__en {
	margin: 0 0 6px;
	font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: var(--sage-d);
}
.section-head__ja {
	font-family: var(--ff-mincho); font-weight: 500;
	font-size: clamp(24px, 3vw, 32px); letter-spacing: .14em;
}
.section-head__ja::after, .rule {
	content: ""; display: block; width: 56px; height: 1px; margin: 18px auto 0;
	background: var(--terra); opacity: .7;
}
.rule { width: 110px; background: var(--ink-soft); opacity: .45; margin: 0 auto; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 10px 32px; border-radius: 999px;
	font-size: 15px; letter-spacing: .1em; text-decoration: none; cursor: pointer;
	transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn--ghost { border: 1px solid var(--ink-soft); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

.phrase { display: inline-block; }

/* フェードイン */
@media (prefers-reduced-motion: no-preference) {
.js .js-fade { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.js .js-fade.is-visible { opacity: 1; transform: none; }
}

/* ---------- hero ---------- */
.hero {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: max(760px, 100svh);
	padding: calc(var(--header-h) + clamp(32px, 6vh, 72px)) 0 clamp(180px, 20vw, 260px);
	display: flex; flex-direction: column;
}
.hero__wash {
	position: absolute; inset: 0; z-index: -2;
	background: url("../img/hero-wash.svg") center / 100% 100% no-repeat;
	-webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 97%);
	mask-image: linear-gradient(to bottom, #000 72%, transparent 97%);
}
.hero__bird {
	position: absolute; z-index: -1;
	top: calc(var(--header-h) + 9%); right: 9%;
	width: clamp(44px, 5vw, 70px);
	animation: bird 9s ease-in-out infinite;
}
@keyframes bird {
	0%, 100% { transform: translate(0, 0) rotate(-4deg); }
	50% { transform: translate(-14px, -10px) rotate(3deg); }
}
.hero__inner { position: relative; width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); text-align: center; }

.hero__copy { font-family: var(--ff-mincho); font-weight: 500; margin-bottom: clamp(24px, 3.5vw, 36px); }
/* 初期状態は「表示」。アニメーションが無効な環境（視差効果を減らす等）でも必ず見える */
.hero__lead, .hero__title { display: block; animation: rise 1.4s var(--ease) both; }
.hero__lead { font-size: clamp(21px, 3vw, 40px); letter-spacing: .12em; line-height: 1.7; }
.hero__title {
	font-size: clamp(34px, 4.6vw, 58px); letter-spacing: .16em; line-height: 1.5;
	color: var(--terra); animation-delay: .35s;
}
.hero .rule { animation: fadein 1.2s var(--ease) .7s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fadein { from { opacity: 0; } to { opacity: .45; } }

.pillars {
	display: grid; grid-template-columns: repeat(3, 1fr);
	margin-top: clamp(40px, 6vw, 72px);
}
.pillar { position: relative; animation: rise 1.2s var(--ease) var(--d) both; }
.pillar + .pillar::before {
	content: ""; position: absolute; left: 0; top: 10%; bottom: 6%; width: 1px;
	background: var(--ink-soft); opacity: .35;
}
.pillar a {
	display: flex; flex-direction: column; align-items: center;
	padding: 0 clamp(8px, 2vw, 28px);
	color: var(--ink); text-decoration: none;
}
.pillar__icon { width: clamp(96px, 10vw, 140px); height: auto; margin-bottom: 8px; transition: transform .5s var(--ease); }
.pillar a:hover .pillar__icon { transform: translateY(-6px); }
.pillar__title {
	font-family: var(--ff-mincho); font-size: clamp(17px, 1.75vw, 24px);
	letter-spacing: .1em; line-height: 1.6; margin-bottom: 10px;
}
.pillar__lead { font-size: clamp(13px, 1.15vw, 15.5px); letter-spacing: .08em; line-height: 1.85; color: var(--ink-soft); }

.hero__town { position: absolute; left: 0; right: 0; bottom: -2px; z-index: -1; pointer-events: none; }
.hero__town img { width: 100%; min-width: 900px; position: relative; left: 50%; transform: translateX(-50%); }

.hero__scroll {
	position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
	display: none;
}

@media (max-width: 767px) {
	.hero { min-height: auto; padding-bottom: 150px; }
	.hero__bird { top: calc(var(--header-h) + 4px); right: 6%; }
	.pillars { grid-template-columns: 1fr; gap: 6px; max-width: 420px; margin-inline: auto; }
	.pillar + .pillar::before { left: 20%; right: 20%; top: 0; bottom: auto; width: auto; height: 1px; }
	.pillar a {
		display: grid; grid-template-columns: 92px 1fr; grid-template-rows: auto auto;
		column-gap: 16px; align-items: center; text-align: left; padding: 18px 4px;
	}
	.pillar__icon { grid-row: 1 / 3; width: 92px; margin: 0; }
	.pillar__title { margin: 0; align-self: end; }
	.pillar__lead { align-self: start; }
	.pillar__lead br { display: none; }
	.hero__town img { min-width: 640px; }
}

/* ---------- about ---------- */
.about { text-align: center; }
.about::before {
	content: ""; position: absolute; left: -8%; top: 12%; width: 340px; height: 340px; z-index: -1;
	background: radial-gradient(closest-side, rgba(201, 208, 174, .45), transparent);
	border-radius: 50%;
}
.about__title {
	font-family: var(--ff-mincho); font-size: clamp(20px, 2.4vw, 27px); letter-spacing: .12em;
	margin-bottom: 36px; color: var(--sage-d);
}
.about__text { font-size: clamp(15px, 1.4vw, 16.5px); line-height: 2.3; }
.about__text p { margin-bottom: 1.8em; }
@media (max-width: 600px) { .about { text-align: left; } .about__title { text-align: center; } }

/* ---------- services ---------- */
.services { background: linear-gradient(180deg, transparent, rgba(239, 197, 149, .18) 30%, rgba(239, 197, 149, .18) 70%, transparent); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.5vw, 36px); }
.service {
	position: relative;
	padding: 44px clamp(22px, 2.4vw, 34px) 38px;
	background: var(--paper-2);
	border-radius: var(--radius);
	box-shadow: 0 1px 0 rgba(75, 61, 49, .05), 0 18px 40px -26px rgba(75, 61, 49, .35);
}
.service__num {
	position: absolute; top: 18px; left: 24px; margin: 0;
	font-family: var(--ff-mincho); font-size: 30px; line-height: 1; color: var(--sand);
}
.service__icon { width: 128px; margin: 0 auto 14px; }
.service__title {
	font-family: var(--ff-mincho); font-size: clamp(18px, 1.6vw, 21px); letter-spacing: .08em;
	text-align: center; margin-bottom: 18px; padding-bottom: 16px; position: relative;
}
.service__title::after {
	content: ""; position: absolute; left: 50%; bottom: 0; width: 32px; height: 1px; margin-left: -16px;
	background: var(--terra); opacity: .6;
}
.service__text { font-size: 15px; line-height: 2; margin-bottom: 22px; }
.service__list { border-top: 1px dashed var(--line); padding-top: 18px; }
.service__list li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.8; margin-bottom: 8px; }
.service__list li::before {
	content: ""; position: absolute; left: 2px; top: .62em; width: 9px; height: 9px; border-radius: 50%;
	background: var(--sage-l); box-shadow: inset 0 0 0 1.5px var(--sage);
}
@media (max-width: 900px) {
	.services__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
}

/* ---------- message ---------- */
.message__grid {
	display: grid; grid-template-columns: minmax(220px, 320px) 1fr; gap: clamp(32px, 6vw, 80px);
	align-items: start; max-width: 1000px; margin-inline: auto;
}
.message__figure { margin: 0; position: sticky; top: calc(var(--header-h) + 32px); }
.message__photo {
	aspect-ratio: 1; border-radius: 48% 52% 46% 54% / 52% 46% 54% 48%;
	overflow: hidden; background: var(--paper-3);
}
.message__photo img { width: 100%; height: 100%; object-fit: cover; }
.message__photo--placeholder {
	display: grid; place-items: center;
	background: radial-gradient(circle at 40% 35%, #fbe9d2, var(--paper-3) 70%);
}
.message__photo--placeholder img { width: 62%; height: auto; object-fit: contain; }
.message__sign { text-align: center; margin-top: 22px; display: flex; flex-direction: column; gap: 2px; }
.message__role { font-size: 13px; color: var(--ink-soft); letter-spacing: .08em; }
.message__name { font-family: var(--ff-mincho); font-size: 26px; letter-spacing: .3em; padding-left: .3em; }
.message__en { font-size: 11px; letter-spacing: .3em; color: var(--sage-d); }
.message__title {
	font-family: var(--ff-mincho); font-size: clamp(20px, 2.3vw, 26px); letter-spacing: .1em;
	margin-bottom: 28px; padding-left: 18px; border-left: 2px solid var(--terra);
	line-height: 1.6;
}
.message__text { line-height: 2.15; }
@media (max-width: 800px) {
	.message__grid { grid-template-columns: 1fr; }
	.message__figure { position: static; max-width: 260px; margin-inline: auto; }
}

/* ---------- news ---------- */
.news { background: rgba(201, 208, 174, .16); }
.news__list { border-top: 1px solid var(--line); }
.news__item { border-bottom: 1px solid var(--line); }
.news__item a {
	display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 8px 20px;
	padding: 22px 8px; color: var(--ink); text-decoration: none;
	transition: background-color .3s var(--ease), padding .3s var(--ease);
}
.news__item a:hover { background: rgba(255, 255, 255, .55); padding-inline: 16px 0; color: var(--ink); }
.news__item time { font-size: 14px; letter-spacing: .1em; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.news__cat {
	display: inline-block; font-size: 11.5px; padding: 1px 12px; border-radius: 999px;
	border: 1px solid var(--sage); color: var(--sage-d); letter-spacing: .08em; white-space: nowrap;
}
.news__title { line-height: 1.7; }
.news__empty { text-align: center; color: var(--ink-soft); }
.news__more { text-align: center; margin-top: 40px; }
@media (max-width: 600px) {
	.news__item a { grid-template-columns: auto 1fr; }
	.news__title { grid-column: 1 / -1; }
	.news__cat { justify-self: start; }
}

/* ---------- access ---------- */
.access__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.access__grid--single { grid-template-columns: 1fr; max-width: var(--narrow); margin-inline: auto; }
.profile { margin: 0; border-top: 1px solid var(--line); }
.profile__row { display: grid; grid-template-columns: 7em 1fr; gap: 16px; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.profile dt { font-family: var(--ff-mincho); color: var(--sage-d); letter-spacing: .12em; }
.profile dd { margin: 0; line-height: 1.85; word-break: break-all; }
.profile dd small { font-size: 13px; color: var(--ink-soft); }
.profile dd li { position: relative; padding-left: 1em; }
.profile dd li::before { content: "・"; position: absolute; left: -.2em; }
.access__map { min-height: 340px; border-radius: var(--radius); overflow: hidden; background: var(--paper-3); }
.access__map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: sepia(.25) saturate(.85); }
@media (max-width: 860px) {
	.access__grid { grid-template-columns: 1fr; }
	.profile__row { grid-template-columns: 5.5em 1fr; }
}

/* ---------- contact ---------- */
.contact { text-align: center; padding-bottom: clamp(60px, 8vw, 100px); }
.contact__lead { margin-bottom: 40px; }
.contact__ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.contact-card {
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	padding: 30px 20px 26px; border-radius: var(--radius);
	background: var(--paper-2); color: var(--ink); text-decoration: none;
	border: 1px solid transparent;
	box-shadow: 0 16px 36px -26px rgba(75, 61, 49, .4);
	transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--sand); color: var(--ink); }
.contact-card svg { width: 30px; height: 30px; color: var(--terra); margin-bottom: 6px; }
.contact-card__label { font-size: 13px; color: var(--ink-soft); letter-spacing: .1em; }
.contact-card__value { font-size: clamp(16px, 1.8vw, 20px); letter-spacing: .06em; word-break: break-all; }
.contact__form {
	margin-top: 48px; text-align: left;
	padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--paper-2);
}

/* Contact Form 7 */
.wpcf7 p { margin-bottom: 1.4em; }
.wpcf7 label { display: block; font-size: 14px; letter-spacing: .08em; }
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"], .wpcf7 input[type="url"], .wpcf7 select, .wpcf7 textarea {
	width: 100%; margin-top: 6px; padding: 12px 14px;
	font: inherit; color: var(--ink); background: #fff;
	border: 1px solid var(--line); border-radius: 8px;
	transition: border-color .3s, box-shadow .3s;
}
.wpcf7 textarea { min-height: 180px; resize: vertical; }
.wpcf7 input:focus, .wpcf7 textarea:focus, .wpcf7 select:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(192, 112, 58, .15); }
.wpcf7 input[type="submit"] {
	display: block; margin: 8px auto 0; min-width: 240px; min-height: 52px;
	font: inherit; letter-spacing: .14em; color: #fff; background: var(--terra);
	border: 0; border-radius: 999px; cursor: pointer; transition: background-color .3s;
}
.wpcf7 input[type="submit"]:hover { background: var(--terra-d); }
.wpcf7-not-valid-tip { font-size: 13px; }
.wpcf7 form .wpcf7-response-output { border-radius: 8px; margin: 20px 0 0; }

/* ---------- sub pages ---------- */
.sub-hero { padding: calc(var(--header-h) + 56px) 0 40px; text-align: center; }
.section--sub { padding-top: 32px; }
.entry__meta { display: flex; gap: 14px; justify-content: center; align-items: center; color: var(--ink-soft); font-size: 14px; }
.entry__title { font-family: var(--ff-mincho); font-size: clamp(22px, 3vw, 32px); letter-spacing: .08em; }
.entry__thumb { margin: 0 0 40px; border-radius: var(--radius); overflow: hidden; }
.entry__content { background: var(--paper-2); padding: clamp(24px, 5vw, 56px); border-radius: var(--radius); line-height: 2.1; }
.entry__content h2 { font-family: var(--ff-mincho); font-size: 22px; margin: 2em 0 .8em; padding-bottom: .4em; border-bottom: 1px solid var(--line); }
.entry__content h3 { font-family: var(--ff-mincho); font-size: 19px; margin: 1.8em 0 .6em; }
.entry__content > *:first-child { margin-top: 0; }
.entry__content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1.2em; }
.entry__content ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.entry__content img { border-radius: 8px; }
.entry__nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; font-size: 14px; }
.back-home { text-align: center; margin-top: 48px; }
.pagination { margin-top: 40px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 999px; text-decoration: none; color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; }

/* ---------- footer ---------- */
.site-footer { position: relative; margin-top: 40px; }
.site-footer__town { overflow: hidden; margin-bottom: -2px; }
.site-footer__town img { width: 100%; min-width: 760px; position: relative; left: 50%; transform: translateX(-50%); }
.site-footer__body { background: #efdcc0; padding: 48px 0 28px; }
.site-footer__town { background: linear-gradient(to bottom, transparent 70%, #efdcc0 70%); }
.site-footer__inner {
	max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter);
	display: grid; grid-template-columns: auto 1fr; gap: 20px 48px; align-items: start;
}
.site-footer__info { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.9; }
.site-footer__info a { color: var(--ink); text-decoration: none; }
.site-footer__info a:hover { color: var(--terra-d); }
.fnav { grid-column: 1 / -1; border-top: 1px solid rgba(75, 61, 49, .15); padding-top: 18px; }
.fnav ul { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.fnav a { font-size: 13px; color: var(--ink); text-decoration: none; letter-spacing: .08em; }
.fnav a:hover { color: var(--terra-d); }
.site-footer__copy { margin: 26px 0 0; text-align: center; font-size: 12px; letter-spacing: .12em; color: var(--ink-soft); }
@media (max-width: 640px) {
	.site-footer__inner { grid-template-columns: 1fr; }
	.fnav ul { gap: 4px 18px; }
}

.to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 90;
	width: 48px; height: 48px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--paper-2); color: var(--ink);
	box-shadow: 0 8px 20px -10px rgba(75, 61, 49, .5);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.to-top.is-shown { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--terra); }

/* reCAPTCHA v3 バッジは非表示にし、フォーム下に Google 規定の表記を出す（front-page.php） */
.grecaptcha-badge { visibility: hidden !important; }
.recaptcha-note { margin: 20px 0 0; font-size: 12px; line-height: 1.8; color: var(--ink-soft); text-align: center; }
.recaptcha-note a { color: inherit; }

/* スマホ：画面右下に固定（小さめ・ホームバーを避ける） */
@media (max-width: 767px) {
	.to-top {
		right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
		width: 42px; height: 42px;
		background: rgba(251, 248, 241, .9);
	}
}
