/*
Theme Name: ヤジオ ぬくもり
Theme URI: https://www.yajio.org/
Author: 一般社団法人ヤジオ
Description: 一般社団法人ヤジオのための、温かみと信頼感をあわせ持つオリジナルテーマ。トップページに理念・最新の活動報告・新池ホーム計画・ご支援のお願いを掲載します。色や LINE のリンクは「外観 > カスタマイズ > ヤジオ テーマ設定」から変更できます。
Version: 1.2.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yajio-warm
*/

:root {
	--primary: #C2502F;
	--primary-dark: #9A3A1F;
	--accent: #F2B33D;
	--ink: #2E2420;
	--ink-strong: #2E1F18;
	--ink-sub: #5A4A40;
	--ink-muted: #6B5A50;
	--ground: #FDF9F3;
	--ground-warm: #F8F0E4;
	--line: #EADFD0;
	--coral: #F4A98A;
	--coral-soft: #FCD9C4;
	--sun: #F6C453;
	--sun-soft: #FBE3A6;
	--rose: #E97A8A;
	--rose-soft: #F9D3D9;
	--eyebrow: #B5452A;
	--footer: #2E1F18;
	--radius: 24px;
	--font-body: 'BIZ UDPGothic', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
	--font-head: 'Zen Maru Gothic', 'BIZ UDPGothic', 'Hiragino Maru Gothic ProN', sans-serif;
	--font-mincho: 'Hiragino Mincho ProN', 'Yu Mincho', 'YuMincho', 'Noto Serif JP', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 100%; --fs: 1; }
html.fs-small { font-size: 87.5%; --fs: 0.875; }
html.fs-large { font-size: 118.75%; --fs: 1.1875; }
body {
	margin: 0;
	background: var(--ground);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.85;
	letter-spacing: 0.02em;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.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; z-index: 1000; top: 8px; left: 8px;
	background: #fff; padding: 8px 16px; border-radius: 8px;
}
.container { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Buttons & labels ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 12px 28px; border-radius: 999px;
	font-weight: 700; font-size: 1rem; line-height: 1.4; text-decoration: none !important;
	border: 2px solid transparent; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 22px -12px var(--primary); }
.btn--primary:hover { background: var(--primary-dark); color: #fff; }
.btn--outline { background: #fff; color: var(--primary); border-color: var(--primary); }
.btn--white { background: #fff; color: var(--primary); }
.btn--accent { background: var(--accent); color: #2B2112; }
.btn--line { background: #06C755; color: #fff; }
.btn svg { width: 16px; height: 16px; }
.text-link { font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.text-link svg { width: 16px; height: 16px; }

.eyebrow {
	margin: 0; display: inline-flex; align-items: center; gap: 10px;
	font-size: 0.875rem; font-weight: 700; letter-spacing: 0.2em; color: var(--eyebrow);
}
.eyebrow::before {
	content: ""; width: 30px; height: 8px; flex: none;
	background:
		radial-gradient(circle 4px at 4px 4px, var(--rose) 98%, transparent) ,
		radial-gradient(circle 4px at 15px 4px, var(--sun) 98%, transparent),
		radial-gradient(circle 4px at 26px 4px, var(--coral) 98%, transparent);
}
.section-title {
	margin: 0; font-family: var(--font-head); font-weight: 700;
	font-size: clamp(1.625rem, calc(3vw * var(--fs, 1)), 2.25rem); line-height: 1.5; color: var(--ink-strong);
}
.section-lead { margin: 0; color: var(--ink-sub); max-width: 40em; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--primary); color: #fff; font-size: 0.8125rem; }
.topbar .container { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: #fff; }
.topbar__links { display: flex; gap: 20px; }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .container { display: flex; flex-wrap: wrap; gap: 12px 32px; justify-content: space-between; align-items: center; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink) !important; text-decoration: none !important; }
.brand__mark { width: 48px; height: 48px; flex: none; }
.brand .custom-logo { max-height: 56px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.3; }
.brand__sub { font-size: 0.75rem; color: var(--ink-muted); }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.625rem; letter-spacing: 0.12em; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 26px; }
.main-nav a { color: var(--ink); font-weight: 700; font-size: 0.9375rem; display: inline-flex; align-items: center; min-height: 44px; }
.main-nav a:hover { color: var(--primary); text-decoration: none; }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--primary); }
.main-nav .sub-menu { display: none; }
.main-nav .nav-cta > a, .main-nav li:last-child.menu-item-cta > a {
	background: var(--accent); color: #2B2112; padding: 0 20px; border-radius: 999px;
}
.nav-toggle {
	display: none; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
	border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
	font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.main-nav { width: 100%; display: none; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; gap: 0; border-top: 1px solid var(--line); }
	.main-nav li { border-bottom: 1px solid var(--line); }
	.main-nav a { width: 100%; padding: 8px 4px; }
	.main-nav .nav-cta > a { justify-content: center; margin: 12px 0; }
}

/* ---------- Hero ---------- */
.hero { background: #FFF7EE; position: relative; overflow: hidden; }
.hero__bokeh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__inner { position: relative; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; padding-top: 72px; padding-bottom: 56px; }
.hero__text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__badge {
	align-self: flex-start; font-size: 0.875rem; font-weight: 700; color: var(--primary);
	background: #fff; border: 1.5px solid var(--coral); padding: 6px 16px; border-radius: 999px;
}
.hero__title {
	margin: 0; font-family: var(--font-head); font-weight: 700;
	font-size: clamp(2rem, calc(4.4vw * var(--fs, 1)), 3.25rem); line-height: 1.45; letter-spacing: 0.04em; color: var(--ink-strong);
}
.hero__title .marker { background: linear-gradient(transparent 62%, #F7DFAE 62%); }
.hero__lead { margin: 0; font-size: 1.0625rem; color: #4E3E35; max-width: 34em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__visual { flex: 1 1 420px; min-width: 0; display: flex; justify-content: center; }
.hero__card {
	width: 100%; max-width: 520px; aspect-ratio: 13 / 10; background: #fff; border-radius: 40px; overflow: hidden;
	box-shadow: 0 24px 48px -24px rgba(194, 80, 47, .35);
}
.hero__card svg, .hero__card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wave { position: relative; display: block; width: 100%; height: 48px; }

/* ---------- News ---------- */
.news { background: var(--ground); }
.news .container { padding-top: 64px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 36px; }
.section-head { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: flex-end; }
.section-head__titles { display: flex; flex-direction: column; gap: 8px; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 36px 28px; }
.news .card-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.post-card { display: flex; flex-direction: column; gap: 14px; color: var(--ink) !important; text-decoration: none !important; }
.post-card__thumb {
	position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: 20px;
	display: flex; flex-direction: column; justify-content: flex-end; padding: 20px 22px;
	background: #F9C9AE; color: #5E2410; transition: transform .2s ease, box-shadow .2s ease;
}
.post-card:hover .post-card__thumb { transform: translateY(-3px); box-shadow: 0 18px 36px -20px rgba(120, 60, 30, .45); }
.post-card__thumb::before, .post-card__thumb::after {
	content: ""; position: absolute; border-radius: 50%; background: #fff; pointer-events: none;
}
.post-card__thumb::before { width: 46%; aspect-ratio: 1; top: -18%; right: -10%; opacity: .35; }
.post-card__thumb::after { width: 5%; aspect-ratio: 1; top: 18%; right: 40%; opacity: .55; }
.post-card__thumb.has-image { padding: 0; background: #F8F0E4; }
.post-card__thumb.has-image::before, .post-card__thumb.has-image::after { display: none; }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card__short { position: relative; font-family: var(--font-head); font-weight: 700; font-size: 1.1875rem; line-height: 1.5; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.8125rem; color: var(--ink-muted); }
.post-card__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.6; color: var(--ink-strong); }
.post-card:hover .post-card__title { color: var(--primary); }
.tag { display: inline-block; padding: 2px 12px; border-radius: 999px; font-weight: 700; font-size: 0.8125rem; background: var(--coral-soft); color: #8E3A1F; }
.tone-sun .post-card__thumb:not(.has-image) { background: #F9DD8E; color: #4E3208; }
.tag.tone-sun { background: var(--sun-soft); color: #7A4A0E; }
.tone-rose .post-card__thumb:not(.has-image) { background: #F7C3CC; color: #6E2433; }
.tag.tone-rose { background: var(--rose-soft); color: #8E3045; }

/* ---------- Belief band ---------- */
.belief { background: var(--primary); color: #fff; position: relative; overflow: hidden; }
.belief__deco { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.belief__inner { position: relative; max-width: 880px; margin: 0 auto; padding: 80px 24px; text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }
.belief__label { margin: 0; font-size: 0.875rem; letter-spacing: 0.2em; color: #FBE3D6; }
.belief__quote { margin: 0; font-family: var(--font-mincho); font-weight: 600; font-size: clamp(1.875rem, calc(3.6vw * var(--fs, 1)), 2.75rem); line-height: 1.5; letter-spacing: 0.1em; }
.belief__cite { margin: 0; font-size: 0.8125rem; color: #FBE3D6; }
.belief__text { margin: 8px 0 0; font-size: 1.0625rem; line-height: 2; }

/* ---------- Mission ---------- */
.mission .container { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 48px; }
.center-head { display: flex; flex-direction: column; gap: 12px; text-align: center; align-items: center; }
.mission__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.mission-card {
	background: #fff; border-radius: var(--radius); border-top: 8px solid var(--coral);
	box-shadow: 0 16px 40px -24px rgba(120, 60, 30, .35);
	padding: 36px 32px; display: flex; flex-direction: column; gap: 14px;
}
.mission-card:nth-child(2) { border-top-color: var(--sun); }
.mission-card:nth-child(3) { border-top-color: var(--rose); }
.mission-card__icon { width: 64px; height: 64px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--coral-soft); color: #A63E22; }
.mission-card:nth-child(2) .mission-card__icon { background: var(--sun-soft); color: #8A5310; }
.mission-card:nth-child(3) .mission-card__icon { background: var(--rose-soft); color: #A63A4E; }
.mission-card__icon svg { width: 32px; height: 32px; }
.mission-card h3 { margin: 0; font-family: var(--font-head); font-size: 1.375rem; color: var(--ink-strong); }
.mission-card p { margin: 0; color: var(--ink-sub); font-size: 0.9375rem; }

/* ---------- Timeline ---------- */
.project { background: var(--ground-warm); }
.project .container { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 48px; }
.project__intro { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.timeline { flex: 2 1 560px; min-width: 0; list-style: none; margin: 0; padding: 0; }
.timeline li { display: flex; gap: 24px; }
.timeline__rail { display: flex; flex-direction: column; align-items: center; width: 20px; flex: none; }
.timeline__dot { width: 18px; height: 18px; border-radius: 50%; margin-top: 6px; background: var(--primary); }
.timeline li.is-next .timeline__dot { background: #fff; border: 3px solid var(--accent); }
.timeline__line { flex: 1; width: 2px; background: #E2D2BD; }
.timeline li:last-child .timeline__line { background: transparent; }
.timeline__body { padding-bottom: 28px; display: flex; flex-direction: column; gap: 2px; }
.timeline__when { font-size: 0.875rem; font-weight: 700; color: #A86A1C; }
.timeline__title { font-size: 1.0625rem; font-weight: 700; color: var(--ink-strong); }
.timeline__text { font-size: 0.9375rem; color: var(--ink-sub); }

/* ---------- Greeting ---------- */
.greeting .container { max-width: 1000px; padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; }
.greeting__photo { flex: 0 1 260px; min-width: 0; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--coral-soft); display: flex; align-items: center; justify-content: center; }
.greeting__photo img { width: 100%; height: 100%; object-fit: cover; }
.greeting__photo svg { width: 55%; height: 55%; }
.greeting__body { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.greeting__title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, calc(2.6vw * var(--fs, 1)), 2rem); line-height: 1.5; color: var(--ink-strong); }
.greeting__name { margin: 0; font-size: 0.9375rem; }
.greeting__name strong { font-family: var(--font-mincho); font-size: 1.25rem; font-weight: 600; margin-left: .5em; }

/* ---------- Support ---------- */
.support { background: #fff; }
.support .container { padding-top: 24px; padding-bottom: 88px; }
.support__box {
	position: relative; overflow: hidden; background: var(--sun-soft); border-radius: 32px;
	padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between;
}
.support__deco { position: absolute; right: -40px; bottom: -60px; width: 360px; height: auto; pointer-events: none; }
.support__text { position: relative; flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.support__text .eyebrow { color: #8A4A10; }
.support__title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.5rem, calc(2.8vw * var(--fs, 1)), 2.125rem); line-height: 1.5; color: #2B2112; }
.support__text p { margin: 0; color: #4E3F2A; }
.support__actions { position: relative; display: flex; flex-direction: column; gap: 12px; flex: 0 1 280px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: #F1E6DC; }
.site-footer a { color: #F1E6DC; }
.site-footer .container { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 40px; }
.footer__cols { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.footer__about { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.footer__name { font-family: var(--font-head); font-weight: 700; font-size: 1.375rem; color: #fff; letter-spacing: .08em; }
.footer__dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; font-size: 0.875rem; }
.footer__dl dt { color: #D2BBA8; }
.footer__dl dd { margin: 0; }
.footer__nav { flex: 1 1 320px; min-width: 0; }
.footer__nav ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; font-size: 0.9375rem; }
.footer__nav a { display: inline-flex; min-height: 36px; align-items: center; }
.footer__line { flex: 0 1 260px; display: flex; flex-direction: column; gap: 12px; }
.footer__line strong { color: #fff; }
.footer__line p { margin: 0; font-size: 0.8125rem; color: #D2BBA8; }
.footer__line img { width: 120px; border-radius: 12px; background: #fff; padding: 6px; }
.footer__copy { margin: 0; padding-top: 24px; border-top: 1px solid #54412F; font-size: 0.75rem; color: #D2BBA8; text-align: center; }

/* ---------- Inner pages ---------- */
.page-hero { background: #FFF7EE; position: relative; overflow: hidden; }
.page-hero .container { position: relative; padding-top: 56px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 12px; }
.page-hero__title { margin: 0; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.625rem, calc(3.4vw * var(--fs, 1)), 2.5rem); line-height: 1.5; color: var(--ink-strong); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 0.875rem; color: var(--ink-muted); }
.breadcrumb { font-size: 0.8125rem; color: var(--ink-muted); }
.breadcrumb a { color: var(--ink-muted); }

.content-area { padding: 56px 0 96px; }
.entry {
	max-width: 780px; margin: 0 auto; padding: clamp(24px, 5vw, 56px);
	background: #fff; border-radius: 28px; box-shadow: 0 16px 40px -28px rgba(120, 60, 30, .35);
}
.entry__thumb { margin: 0 0 32px; border-radius: 20px; overflow: hidden; }
.entry__thumb img { display: block; width: 100%; }
.entry-content { font-size: 1.0625rem; line-height: 2; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin: 0 0 1.4em; }
.entry-content h2 {
	font-family: var(--font-head); font-size: 1.5rem; line-height: 1.5; color: var(--ink-strong);
	margin: 2.2em 0 .8em; padding: 12px 20px; background: var(--ground-warm); border-radius: 14px;
	border-left: 6px solid var(--primary);
}
.entry-content h3 {
	font-family: var(--font-head); font-size: 1.25rem; color: var(--ink-strong); margin: 1.8em 0 .6em;
	padding-bottom: 8px; border-bottom: 2px dotted var(--coral);
}
.entry-content h4 { font-size: 1.125rem; margin: 1.6em 0 .5em; color: var(--primary-dark); }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.4em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--primary); }
.entry-content blockquote {
	margin: 1.6em 0; padding: 20px 24px; background: #FFF7EE; border-radius: 16px; color: var(--ink-sub);
	font-family: var(--font-mincho);
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.6em; font-size: 0.9375rem; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.entry-content th { background: var(--ground-warm); white-space: nowrap; }
.entry-content .wp-block-table { overflow-x: auto; }
.entry-content figure { margin: 0 0 1.6em; }
.entry-content img { border-radius: 14px; }
.entry-content figcaption { font-size: 0.8125rem; color: var(--ink-muted); text-align: center; }
.entry-content a { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.entry-content .wp-block-button__link { background: var(--primary); color: #fff; border-radius: 999px; padding: 12px 28px; text-decoration: none; }
.entry-content input[type=text], .entry-content input[type=email], .entry-content input[type=tel], .entry-content textarea, .entry-content select {
	width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: #FFFDF9;
}
.entry-content input[type=submit], .entry-content button[type=submit] {
	background: var(--primary); color: #fff; border: 0; border-radius: 999px; padding: 14px 36px; font: inherit; font-weight: 700; cursor: pointer;
}

.post-nav { max-width: 780px; margin: 32px auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; background: #fff; border-radius: 18px; border: 1px solid var(--line); color: var(--ink-strong); }
.post-nav a:hover { border-color: var(--coral); text-decoration: none; }
.post-nav span { font-size: 0.8125rem; color: var(--ink-muted); }
.post-nav .next { text-align: right; }

.archive-area { padding: 56px 0 96px; }
.pagination { margin-top: 56px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pagination .page-numbers {
	min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px;
	border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700;
}
.pagination .page-numbers.current { background: var(--primary); border-color: var(--primary); color: #fff; }

.comments { max-width: 780px; margin: 32px auto 0; padding: clamp(24px, 4vw, 40px); background: #fff; border-radius: 24px; }
.comments h2 { font-family: var(--font-head); font-size: 1.25rem; margin-top: 0; }
.comment-list { list-style: none; padding: 0; }
.comment-form textarea, .comment-form input[type=text], .comment-form input[type=email], .comment-form input[type=url] { width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; }
.comment-form .submit { background: var(--primary); color: #fff; border: 0; border-radius: 999px; padding: 12px 28px; font: inherit; font-weight: 700; cursor: pointer; }

.not-found { text-align: center; display: flex; flex-direction: column; gap: 20px; align-items: center; }

@media (max-width: 600px) {
	.hero__inner { padding-top: 48px; }
	.topbar__tagline { display: none; }
	.entry { border-radius: 20px; }
	.entry-content { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn, .post-card__thumb { transition: none; }
}

/* 日本語の見出しを文節で改行 */
h1, h2, h3, .hero__title, .section-title, .page-hero__title, .post-card__title, .post-card__short { word-break: auto-phrase; }

/* 文字サイズ切り替え */
.fontsize { display: inline-flex; align-items: center; gap: 6px; }
.fontsize__label { font-size: 0.8125rem; }
.fontsize button {
	min-width: 32px; min-height: 28px; padding: 0 8px; border-radius: 999px; cursor: pointer;
	border: 1.5px solid rgba(255,255,255,.7); background: transparent; color: #fff;
	font: inherit; font-weight: 700; font-size: 0.8125rem; line-height: 1;
}
.fontsize button:hover { background: rgba(255,255,255,.18); }
.fontsize button[aria-pressed="true"] { background: #fff; color: var(--primary-dark); border-color: #fff; }
.fontsize button:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
@media (max-width: 600px) {
	.topbar .container { justify-content: center; }
	.topbar__links { flex-wrap: wrap; justify-content: center; gap: 6px 16px; }
	.fontsize button { min-height: 32px; }
}
