/*
Theme Name: p.a.n.d.a.研究室 2026
Theme URI: https://www.panda-labo.org/
Author: p.a.n.d.a.研究室
Description: p.a.n.d.a.研究室のためのオリジナルテーマ。くすみカラーと手書き風の付箋、イメージキャラクターを使った、あたたかいデザインです。スマホ表示に対応しています。
Version: 1.0.3
Requires at least: 6.3
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: panda-labo-2026
*/

/* ---------- 色・文字の基本設定 ---------- */
:root {
	--bg: #FAF6F1;
	--white: #FFFFFF;
	--ink: #33302E;
	--ink-2: #4D4844;
	--muted: #5E5853;
	--rose: #A95A60;
	--rose-dark: #7E4046;
	--blue: #56738A;
	--blue-dark: #3B5266;
	--navy: #3F4E5C;
	--band: #E7EEF2;
	--yellow: #EFDDA8;
	--pink: #EBCFCC;
	--lightblue: #D3E0EA;
	--aqua: #D4E8EC;
	--orange: #EEC9A8;
	--line: #E3CFCB;
	--font-body: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	--font-round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
	--font-hand: "Klee One", "Zen Maru Gothic", sans-serif;
	--wrap: 1160px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.85;
	-webkit-text-size-adjust: 100%;
	overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--rose); }
a:hover { color: var(--rose-dark); }

:focus-visible { outline: 3px solid var(--blue); 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 {
	position: fixed; left: 12px; top: 12px; z-index: 100;
	width: auto; height: auto; clip: auto;
	background: var(--white); color: var(--ink);
	padding: 10px 16px; border-radius: 999px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- 共通パーツ ---------- */
.sticky-label {
	display: inline-block;
	margin: 0 0 12px;
	padding: 2px 16px;
	font-family: var(--font-hand);
	font-weight: 600;
	font-size: 15px;
	background: var(--yellow);
	color: var(--ink);
	transform: rotate(-1.5deg);
	box-shadow: 0 2px 4px rgba(51, 48, 46, .12);
}
.sticky-label.is-pink { background: var(--pink); }
.sticky-label.is-aqua { background: var(--aqua); }
.sticky-label.is-blue { background: var(--lightblue); }
.sticky-label.is-white { background: var(--white); border-radius: 999px; transform: none; box-shadow: none; }

.section-title {
	margin: 0 0 12px;
	font-family: var(--font-round);
	font-weight: 900;
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.5;
}
.section-head { text-align: center; margin-bottom: 40px; }
.section-head .section-lead { margin: 0 auto; color: var(--ink-2); max-width: 40em; }

.btn {
	display: inline-block;
	padding: 14px 30px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	text-align: center;
	line-height: 1.5;
	transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(2px); }
.btn-primary { background: var(--rose); color: var(--white); box-shadow: 0 5px 0 var(--rose-dark); }
.btn-primary:hover { color: var(--white); box-shadow: 0 3px 0 var(--rose-dark); }
.btn-outline { background: var(--white); color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 5px 0 var(--ink); }
.btn-outline:hover { color: var(--ink); box-shadow: 0 3px 0 var(--ink); }
.btn-white { background: var(--white); color: var(--ink); box-shadow: 0 5px 0 var(--blue-dark); }
.btn-white:hover { color: var(--ink); box-shadow: 0 3px 0 var(--blue-dark); }

.wave { display: block; width: 100%; height: 50px; }
.wave-bottom { position: absolute; left: 0; bottom: -1px; }
.wave-top { position: absolute; left: 0; top: -1px; }

.cat-chip {
	display: inline-block;
	padding: 1px 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	background: var(--lightblue);
	color: var(--ink);
	text-decoration: none;
	line-height: 1.7;
}
.cat-chip.cat-news { background: var(--yellow); }
.cat-chip.cat-activities-planned { background: var(--pink); }
.cat-chip.cat-activity-report { background: var(--lightblue); }

/* ---------- ヘッダー ---------- */
.site-header { position: relative; z-index: 20; background: var(--bg); }
.site-header .wrap {
	display: flex; align-items: center; justify-content: space-between;
	gap: 16px; padding-top: 16px; padding-bottom: 16px;
}
.site-branding { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand-name, .brand-desc { white-space: nowrap; }
.main-nav { flex: 1 1 auto; min-width: 0; }
.main-nav ul { justify-content: flex-end; }
.main-nav img { display: none; }
.site-branding:hover { color: var(--ink); }
.site-branding .brand-character { width: 72px; height: auto; flex: none; }
.site-branding .custom-logo { max-height: 64px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { font-family: var(--font-round); font-weight: 900; font-size: 24px; }
.brand-desc { font-family: var(--font-hand); font-weight: 600; font-size: 13px; color: var(--muted); }

.menu-toggle {
	display: none;
	width: 48px; height: 48px;
	border: none; border-radius: 50%;
	background: var(--pink);
	align-items: center; justify-content: center;
	cursor: pointer; flex: none;
}
.menu-toggle svg { display: block; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; }
.main-nav a { display: block; padding: 10px 0; color: var(--ink); font-weight: 700; font-size: 15px; text-decoration: none; }
.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current-cat > a { color: var(--rose); }
.main-nav .nav-contact > a,
.main-nav .menu-item.nav-contact > a {
	background: var(--rose); color: var(--white);
	padding: 10px 22px; border-radius: 999px;
	box-shadow: 0 4px 0 var(--rose-dark);
}
.main-nav .nav-contact > a:hover { color: var(--white); }
.main-nav .sub-menu { display: none; }

/* ---------- トップ：メインビジュアル ---------- */
.hero { position: relative; }
.hero .wrap {
	display: flex; flex-wrap: wrap; align-items: center; gap: 48px;
	padding-top: 40px; padding-bottom: 110px;
}
.hero-text { flex: 1 1 460px; min-width: 0; }
.hero-text .sticky-label { font-size: 16px; padding: 4px 16px; transform: rotate(-2deg); margin-bottom: 20px; }
.hero-title {
	margin: 0 0 24px;
	font-family: var(--font-round);
	font-weight: 900;
	font-size: clamp(30px, 4.2vw, 48px);
	line-height: 1.5;
}
.hero-title .mark-pink { background: linear-gradient(transparent 62%, var(--pink) 62%); }
.hero-title .mark-blue { background: linear-gradient(transparent 62%, var(--lightblue) 62%); }
.hero-lead { margin: 0 0 32px; font-size: 17px; color: var(--ink-2); max-width: 32em; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-visual { flex: 1 1 440px; min-width: 0; position: relative; height: 470px; }
.hero-photo {
	position: absolute; overflow: hidden;
	border: 6px solid var(--white);
	box-shadow: 0 10px 24px rgba(51, 48, 46, .10);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo-1 { left: 0; top: 10px; width: 330px; height: 300px; border-radius: 58% 42% 50% 50% / 50% 55% 45% 50%; background: var(--lightblue); }
.hero-photo-2 { right: 0; top: 150px; width: 240px; height: 230px; border-radius: 45% 55% 52% 48% / 55% 45% 55% 45%; background: var(--orange); }
.hero-photo-3 { left: 70px; bottom: 0; width: 190px; height: 170px; border-radius: 50% 50% 46% 54% / 48% 52% 48% 52%; background: var(--pink); }
.hero-paw { position: absolute; right: 40px; top: 20px; width: 70px; }
.hero-star { position: absolute; left: 290px; bottom: 40px; width: 56px; }
.hero-dot { position: absolute; left: 340px; top: 0; width: 34px; }
.hero-character {
	position: absolute; right: -10px; bottom: -24px; width: 220px; height: auto;
	filter: drop-shadow(0 8px 12px rgba(51, 48, 46, .15));
}

/* ---------- トップ：想い ---------- */
.about { background: var(--band); position: relative; }
.about .wrap { padding-top: 72px; padding-bottom: 96px; }
.panda-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.panda-card {
	background: var(--white); border-radius: 28px;
	padding: 28px 16px; text-align: center;
	box-shadow: 0 6px 0 #CCDAE3;
}
.panda-icon {
	width: 72px; height: 72px; margin: 0 auto 12px;
	border-radius: 50%; border: 4px solid;
	display: flex; align-items: center; justify-content: center;
}
.panda-icon svg { width: 38px; height: 38px; }
.panda-letter-row { font-size: 13px; color: var(--muted); }
.panda-letter { font-family: var(--font-round); font-weight: 900; font-size: 24px; }
.panda-word { font-weight: 700; font-size: 20px; }
.panda-p .panda-icon { background: #D98E5F; border-color: #F1D6C4; } .panda-p .panda-letter { color: #A0532E; }
.panda-a1 .panda-icon { background: #A98466; border-color: #E6D5C3; } .panda-a1 .panda-letter { color: #7A5638; }
.panda-n .panda-icon { background: #8FA67A; border-color: #DCE5D0; } .panda-n .panda-letter { color: #5A7046; }
.panda-d .panda-icon { background: #7D9BB8; border-color: #D3E0EA; } .panda-d .panda-letter { color: #46647D; }
.panda-a2 .panda-icon { background: #D58C93; border-color: #F0D2D4; } .panda-a2 .panda-letter { color: #A0505A; }

/* ---------- トップ：活動 ---------- */
.activities { position: relative; }
.activities .wrap { padding-top: 104px; padding-bottom: 88px; }
.activity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.activity-card { border-radius: 30px; padding: 30px 26px; }
.activity-card h3 { margin: 0 0 8px; font-family: var(--font-round); font-size: 20px; line-height: 1.5; }
.activity-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.activity-icon {
	width: 64px; height: 64px; border-radius: 50%; background: var(--white);
	display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
}
.activity-icon svg { width: 34px; height: 34px; }
.activity-orange { background: #F3DDCC; }
.activity-pink { background: #F0DAD7; }
.activity-blue { background: #DCE7EE; }
.activity-yellow { background: #F2E6C4; }

/* ---------- 記事一覧（トップ・アーカイブ共通） ---------- */
.news .wrap { padding-top: 24px; padding-bottom: 96px; }
.news-box { background: var(--white); border-radius: 36px; padding: 48px 44px; box-shadow: 0 8px 0 #EADFD8; }
.news-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 32px; }
.news-head .section-title { margin: 0; }
.cat-filter { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cat-filter a {
	display: block; padding: 8px 18px; border-radius: 999px;
	font-size: 14px; font-weight: 700; text-decoration: none; color: var(--ink);
	background: var(--bg);
}
.cat-filter a.cat-news { background: var(--yellow); }
.cat-filter a.cat-activities-planned { background: var(--pink); }
.cat-filter a.cat-activity-report { background: var(--lightblue); }
.cat-filter a.is-current { background: var(--ink); color: var(--white); }

.post-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.archive-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 28px; }
.post-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.post-card:hover { color: var(--ink); }
.post-card:hover .post-card-title { color: var(--rose); }
.post-card-thumb {
	aspect-ratio: 16 / 11; border-radius: 22px; overflow: hidden;
	background: var(--lightblue);
	display: flex; align-items: center; justify-content: center;
}
.post-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card-thumb .thumb-placeholder { width: 46%; height: auto; opacity: .85; }
.post-card:nth-child(4n+2) .post-card-thumb { background: var(--orange); }
.post-card:nth-child(4n+3) .post-card-thumb { background: var(--pink); }
.post-card:nth-child(4n+4) .post-card-thumb { background: var(--yellow); }
.post-card-body { display: flex; flex-direction: column; gap: 6px; }
.post-card-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: 13px; color: var(--muted); }
.post-card-title { font-weight: 700; line-height: 1.6; }
.news-more { margin-top: 36px; text-align: center; }
.no-posts { text-align: center; color: var(--muted); }

/* ---------- トップ：ご依頼 ---------- */
.request { background: var(--blue); color: var(--white); position: relative; }
.request .wrap {
	display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between;
	padding-top: 96px; padding-bottom: 88px;
}
.request-text { flex: 1 1 520px; min-width: 0; }
.request-text .sticky-label { transform: rotate(-2deg); }
.request .section-title { color: var(--white); font-size: clamp(23px, 2.8vw, 32px); }
.request p { margin: 0 0 20px; }
.qual-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 13px; }
.qual-list li { background: rgba(255, 255, 255, .18); padding: 4px 12px; border-radius: 999px; }
.request .btn-white { font-size: 17px; padding: 18px 38px; }

/* ---------- トップ：ご支援 ---------- */
.support .wrap { padding-top: 88px; padding-bottom: 88px; }
.support-character { display: block; width: 130px; height: auto; margin: 0 auto 8px; }
.support-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.support-card { background: var(--white); border: 2px dashed var(--line); border-radius: 30px; padding: 30px; text-align: center; }
.support-card h3 { margin: 0 0 8px; font-family: var(--font-round); font-size: 20px; }
.support-card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.support-buttons { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; align-items: center; }
.support-buttons .text-link { color: var(--ink); font-weight: 700; padding: 14px 8px; }

/* ---------- フッター ---------- */
.site-footer { background: var(--navy); color: #E9EEF2; position: relative; }
.site-footer a { color: #E9EEF2; }
.footer-main { display: flex; flex-wrap: wrap; gap: 48px; justify-content: space-between; padding-top: 88px; padding-bottom: 32px; }
.footer-info { flex: 1 1 360px; min-width: 0; }
.footer-name { font-family: var(--font-round); font-weight: 900; font-size: 22px; color: var(--white); display: flex; align-items: center; gap: 10px; }
.footer-name img { width: 56px; height: auto; }
.footer-info p { margin: 12px 0 0; font-size: 14px; line-height: 1.9; }
.footer-links { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-links .btn { padding: 12px 28px; color: var(--ink); background: var(--white); }
.footer-menu ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 14px; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; padding-bottom: 32px; font-size: 14px; }
.footer-widgets .widget-title { font-family: var(--font-round); font-size: 16px; margin: 0 0 8px; color: var(--white); }
.footer-widgets table { width: 100%; border-collapse: collapse; text-align: center; }
.footer-widgets th, .footer-widgets td { padding: 4px; }
.footer-widgets .wp-calendar-table a, .footer-widgets td a { background: var(--rose); color: var(--white); border-radius: 50%; display: inline-block; width: 28px; text-decoration: none; }
.copyright { border-top: 1px solid #56677A; padding-top: 20px; padding-bottom: 28px; font-size: 12px; color: #C3CDD6; }

/* ---------- 下層ページ ---------- */
.page-hero { position: relative; background: var(--band); text-align: center; }
.page-hero .wrap { padding-top: 48px; padding-bottom: 80px; }
.page-hero .page-title { margin: 0; font-family: var(--font-round); font-weight: 900; font-size: clamp(24px, 3.4vw, 36px); line-height: 1.5; }
.page-hero .page-desc { margin: 8px auto 0; color: var(--ink-2); max-width: 40em; }
.page-hero .post-card-meta { justify-content: center; margin-top: 12px; }
.breadcrumbs { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.breadcrumbs a { color: var(--muted); }

.content-area .wrap { padding-top: 56px; padding-bottom: 96px; }
.content-box { max-width: 820px; margin: 0 auto; background: var(--white); border-radius: 36px; padding: 48px 56px; box-shadow: 0 8px 0 #EADFD8; }
.archive-area .content-box { max-width: none; }

.entry-content { overflow-wrap: anywhere; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 {
	font-family: var(--font-round); font-size: 24px; line-height: 1.5;
	margin: 2em 0 .8em; padding: 6px 0 6px 16px;
	background: linear-gradient(transparent 60%, var(--pink) 60%);
	display: inline-block; padding-left: 0;
}
.entry-content h3 { font-family: var(--font-round); font-size: 20px; margin: 1.8em 0 .6em; color: var(--blue-dark); }
.entry-content h4 { font-size: 17px; margin: 1.6em 0 .5em; }
.entry-content img { border-radius: 16px; }
.entry-content table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 8px 12px; }
.entry-content th { background: var(--bg); }
.entry-content blockquote { margin: 1.5em 0; padding: 16px 24px; background: var(--bg); border-radius: 16px; }
.entry-content iframe { max-width: 100%; }
.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content textarea,
.entry-content select {
	width: 100%; max-width: 100%;
	padding: 12px 14px; font: inherit;
	border: 2px solid var(--line); border-radius: 14px; background: var(--white);
}
.entry-content input[type="submit"],
.entry-content button[type="submit"] {
	background: var(--rose); color: var(--white); border: none;
	padding: 14px 36px; border-radius: 999px; font: inherit; font-weight: 700;
	box-shadow: 0 5px 0 var(--rose-dark); cursor: pointer;
}
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--muted); }
.entry-content::after { content: ""; display: table; clear: both; }

.entry-thumbnail { margin: 0 0 32px; }
.entry-thumbnail img { width: 100%; border-radius: 22px; }

.post-nav { max-width: 820px; margin: 40px auto 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.post-nav a { display: block; max-width: 380px; font-size: 14px; color: var(--ink); text-decoration: none; background: var(--white); border-radius: 18px; padding: 14px 20px; }
.post-nav a:hover { color: var(--rose); }
.post-nav .nav-label { display: block; font-size: 12px; color: var(--muted); }
.back-to-list { text-align: center; margin-top: 40px; }

.pagination { margin-top: 48px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pagination .page-numbers {
	min-width: 44px; height: 44px; padding: 0 12px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px; background: var(--bg); color: var(--ink); text-decoration: none; font-weight: 700;
}
.pagination .page-numbers.current { background: var(--ink); color: var(--white); }

.not-found { text-align: center; }
.not-found img { width: 180px; }

/* ---------- タブレット ---------- */
@media (max-width: 1080px) {
	.panda-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.activity-grid,
	.post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.archive-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- スマホ・タブレット（メニュー切り替え） ---------- */
@media (max-width: 1240px) {
	.menu-toggle { display: flex; }
	.main-nav {
		display: none;
		position: absolute; top: 100%; left: 12px; right: 12px;
		background: var(--white); border-radius: 24px;
		padding: 8px 20px 20px;
		box-shadow: 0 12px 28px rgba(51, 48, 46, .14);
	}
	.menu-open .main-nav { display: block; }
	.main-nav ul { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; }
	.main-nav li { border-bottom: 1px dashed var(--line); }
	.main-nav li.nav-contact { border-bottom: none; margin-top: 16px; }
	.main-nav a { padding: 14px 4px; }
	.main-nav .nav-contact > a { text-align: center; padding: 14px; }
}

@media (max-width: 640px) {
	body { font-size: 15px; }
	.wrap { padding: 0 16px; }
	.site-header .wrap { padding-top: 10px; padding-bottom: 10px; }
	.site-branding .brand-character { width: 56px; }
	.brand-name { font-size: 19px; }
	.brand-desc { display: none; }
	.wave { height: 30px; }

	.hero .wrap { flex-direction: column-reverse; align-items: stretch; gap: 24px; padding-top: 8px; padding-bottom: 72px; }
	.hero-text { flex: none; }
	.hero-text .sticky-label { font-size: 14px; }
	.hero-lead { font-size: 15px; margin-bottom: 24px; }
	.hero-buttons { flex-direction: column; }
	.hero-visual { flex: none; height: 300px; }
	.hero-photo { border-width: 5px; }
	.hero-photo-1 { width: 240px; height: 210px; top: 0; }
	.hero-photo-2 { width: 160px; height: 150px; top: 120px; }
	.hero-photo-3 { display: none; }
	.hero-paw { width: 52px; right: 24px; top: 16px; }
	.hero-star { width: 34px; left: 160px; bottom: 6px; }
	.hero-dot { display: none; }
	.hero-character { right: auto; left: -6px; bottom: -14px; width: 160px; }

	.about .wrap { padding-top: 40px; padding-bottom: 56px; }
	.section-head { margin-bottom: 24px; }
	.section-head .section-lead { text-align: left; }
	.panda-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.panda-grid .panda-card:last-child { grid-column: span 2; }
	.panda-card { padding: 18px 12px; border-radius: 22px; }
	.panda-icon { width: 56px; height: 56px; border-width: 3px; }
	.panda-icon svg { width: 30px; height: 30px; }
	.panda-letter { font-size: 20px; }
	.panda-word { font-size: 17px; }

	.activities .wrap { padding-top: 64px; padding-bottom: 48px; }
	.activity-grid { grid-template-columns: 1fr; gap: 14px; }
	.activity-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 24px; }
	.activity-icon { flex: none; width: 52px; height: 52px; margin: 0; }
	.activity-icon svg { width: 28px; height: 28px; }
	.activity-card h3 { font-size: 17px; margin-bottom: 4px; }
	.activity-card p { font-size: 14px; }

	.news .wrap { padding-top: 8px; padding-bottom: 56px; }
	.news-box { padding: 28px 18px; border-radius: 28px; }
	.news-head { margin-bottom: 12px; }
	.cat-filter { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px; }
	.cat-filter a { white-space: nowrap; padding: 7px 14px; font-size: 13px; }
	.post-grid,
	.archive-grid { grid-template-columns: 1fr; gap: 0; }
	.post-card { flex-direction: row; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
	.post-card:last-child { border-bottom: none; }
	.post-card-thumb { flex: none; width: 88px; height: 70px; aspect-ratio: auto; border-radius: 16px; }
	.post-card-body { min-width: 0; }
	.post-card-meta { font-size: 12px; gap: 6px; }
	.post-card-meta .cat-chip { font-size: 11px; padding: 0 8px; }
	.post-card-title { font-size: 14px; }
	.news-more .btn { display: block; }

	.request .wrap { padding-top: 64px; padding-bottom: 48px; gap: 24px; }
	.request .btn-white { display: block; width: 100%; padding: 15px; font-size: 16px; }

	.support .wrap { padding-top: 48px; padding-bottom: 64px; }
	.support-character { width: 104px; }
	.support-grid { grid-template-columns: 1fr; gap: 10px; }
	.support-card { padding: 16px 18px; text-align: left; border-radius: 22px; }
	.support-card h3 { font-size: 16px; margin-bottom: 2px; }
	.support-card p { font-size: 14px; }
	.support-buttons { flex-direction: column; align-items: stretch; }

	.footer-main { padding-top: 56px; gap: 24px; }
	.footer-links { align-items: stretch; width: 100%; }

	.page-hero .wrap { padding-top: 28px; padding-bottom: 56px; }
	.content-area .wrap { padding-top: 32px; padding-bottom: 64px; }
	.content-box { padding: 28px 20px; border-radius: 24px; }
	.alignleft, .alignright { float: none; margin: 0 0 1em; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.btn { transition: none; }
}
