/*
Theme Name: G3sewing（JIN子テーマ）
Template: jin
Description: G3sewing の新しいデザイン。JIN の上に重ねて使う。この子テーマを止めれば元の見た目に戻る。
Version: 1.0.0
*/

/* ===== 色と土台 ===== */
:root {
	--g3-bg: #F7F4EF;
	--g3-paper: #FFFFFF;
	--g3-ink: #2A2522;
	--g3-ink2: #4A433E;
	--g3-mute: #5F5650;
	--g3-line: #DDD5C8;
	--g3-line2: #E6DFD3;
	--g3-red: #C8202B;
	--g3-green: #1F4A2C;
	--g3-green-soft: #E3EEE5;
	--g3-sand: #EFE8DD;
	--g3-serif: 'Noto Serif JP', serif;
	--g3-sans: 'Noto Sans JP', system-ui, sans-serif;
}
body.g3-site {
	background: var(--g3-bg) !important;
	color: var(--g3-ink);
	font-family: var(--g3-sans);
	line-height: 1.7;
	word-break: auto-phrase;
	line-break: strict;
	overflow-wrap: break-word;
}
.g3-site h1, .g3-site h2, .g3-site h3, .g3-site h4 { text-wrap: balance; }
.g3-site p, .g3-site li { text-wrap: pretty; }
.g3-site a { color: var(--g3-ink); }
.g3-site a:hover { color: var(--g3-red); }
.g3-site img { max-width: 100%; height: auto; }
.g3-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.g3-mute { color: var(--g3-mute); font-size: 13px; }
.g3-mute2 { color: var(--g3-ink2); font-size: 14px; }
.g3-center { display: flex; justify-content: center; }

/* ボタン */
.g3-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.g3-site a.g3-btn, .g3-btn {
	text-decoration: none;
	padding: 14px 28px;
	border-radius: 999px;
	font-weight: 700;
	min-height: 48px;
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	line-height: 1.4;
}
.g3-site a.g3-btn-red { background: var(--g3-red); color: #FFFFFF; }
.g3-site a.g3-btn-red:hover { background: #A81A23; color: #FFFFFF; }
.g3-site a.g3-btn-green { background: var(--g3-green); color: #FFFFFF; }
.g3-site a.g3-btn-line { border: 1.5px solid var(--g3-green); color: var(--g3-ink); background: transparent; }
.g3-btns-sm .g3-btn { padding: 0 16px; min-height: 44px; font-size: 14px; }
.g3-kicker { font-size: 13px; letter-spacing: 0.16em; color: var(--g3-red); font-weight: 700; }
.g3-kicker-gold { color: #F6C343; }

/* ===== ヘッダー ===== */
.g3-header { background: var(--g3-bg); border-bottom: 1px solid var(--g3-line); }
.g3-header-in { max-width: 1200px; margin: 0 auto; padding: 16px 24px; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.g3-site a.g3-brand { text-decoration: none; display: flex; align-items: center; gap: 12px; color: var(--g3-ink); }
.g3-brand img { height: 44px; width: auto; display: block; mix-blend-mode: multiply; }
.g3-brand-text { display: flex; flex-direction: column; }
.g3-brand-name { font-family: var(--g3-serif); font-size: 28px; font-weight: 700; letter-spacing: 0.04em; line-height: 1.2; }
.g3-brand-sub { font-size: 12px; letter-spacing: 0.12em; color: var(--g3-mute); }
.g3-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; font-size: 15px; font-weight: 500; }
.g3-site .g3-nav a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.g3-site .g3-nav a[aria-current="page"] { color: var(--g3-red); font-weight: 700; }
.g3-site .g3-nav a.g3-btn { padding: 12px 22px; }
@media (max-width: 600px) {
	.g3-header-in { padding: 12px 16px; }
	.g3-brand-name { font-size: 24px; }
	.g3-nav { gap: 0 18px; font-size: 14px; }
	.g3-site .g3-nav a.g3-btn { padding: 10px 18px; }
}

/* ===== フッター ===== */
.g3-footer { background: var(--g3-green); color: #E3EEE5; }
.g3-footer-in { max-width: 1200px; margin: 0 auto; padding: 56px 24px 32px; box-sizing: border-box; display: flex; flex-direction: column; gap: 40px; }
.g3-footer-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; }
.g3-footer-brand { display: flex; flex-direction: column; gap: 8px; flex: 1 1 260px; font-size: 14px; }
.g3-footer-name { font-family: var(--g3-serif); font-size: 24px; font-weight: 700; color: #F7F4EF; }
.g3-footer-col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; flex: 0 1 200px; }
.g3-footer-h { font-weight: 700; color: #F7F4EF; }
.g3-site .g3-footer a { color: #E3EEE5; }
.g3-site .g3-footer a:hover { color: #FFFFFF; }
.g3-footer-copy { border-top: 1px solid #3C6B49; padding-top: 20px; font-size: 13px; }
.g3-words { background: var(--g3-bg); padding: 40px 24px 48px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.g3-words img { height: 36px; width: auto; display: block; mix-blend-mode: multiply; opacity: 0.8; }
.g3-words span { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; font-size: 22px; letter-spacing: 0.06em; color: var(--g3-ink); }

/* ===== 記事カード（共通） ===== */
.g3-cards3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 28px 18px; }
.g3-cards3[hidden] { display: none; }
.g3-cards4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); gap: 18px; }
.g3-site a.g3-post-card { text-decoration: none; color: var(--g3-ink); display: flex; flex-direction: column; gap: 10px; }
.g3-thumb { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 12px; background: #F2EDE5; }
.g3-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.g3-thumb-none { display: flex; align-items: center; justify-content: center; background: var(--g3-sand); }
.g3-thumb-none img { width: auto; height: 48px; object-fit: contain; mix-blend-mode: multiply; opacity: 0.7; }
.g3-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 13px; color: var(--g3-mute); }
.g3-post-cat { color: var(--g3-red); font-weight: 700; }
.g3-pill-green { background: var(--g3-green); color: #FFFFFF; font-weight: 700; padding: 1px 10px; border-radius: 999px; font-size: 12px; }
.g3-post-title { font-size: 17px; font-weight: 700; line-height: 1.55; }
.g3-site a.g3-post-card:hover .g3-post-title { color: var(--g3-red); }
.g3-cards4 .g3-post-card { background: #FFFFFF; border-radius: 14px; overflow: hidden; gap: 0; }
.g3-cards4 .g3-post-card .g3-thumb, .g3-cards4 .g3-post-card .g3-kind-art { border-radius: 0; }
.g3-cards4 .g3-post-card .g3-post-meta { padding: 12px 14px 4px; font-size: 12px; }
.g3-cards4 .g3-post-card .g3-post-title { padding: 0 14px 16px; font-size: 15px; line-height: 1.5; }

/* 椿の絵（優しさの届け先） */
.g3-kind-art { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 12px; background: #F4EEE4; }
.g3-kind-art-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: #FFFFFF; border-radius: 12px; padding: 6px 14px; font-family: var(--g3-serif); font-weight: 700; font-size: 15px; white-space: nowrap; color: var(--g3-ink); }

/* ===== トップページ ===== */
.g3-home { display: block; }
.g3-sec { padding-top: 88px; padding-bottom: 88px; display: flex; flex-direction: column; gap: 32px; }
.g3-sec-head { display: flex; flex-direction: column; gap: 6px; }
.g3-sec-head h2 { margin: 0; font-family: var(--g3-serif); font-size: clamp(26px, 4vw, 34px); font-weight: 700; color: var(--g3-ink); border: 0; background: none; padding: 0; }

/* G3sewingについて */
.g3-about { background: #FFFFFF; border-top: 1px solid var(--g3-line2); border-bottom: 1px solid var(--g3-line2); overflow: hidden; }
.g3-about-in { max-width: 1200px; margin: 0 auto; padding: 32px 24px 0; box-sizing: border-box; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 0 32px; }
.g3-about-photo { flex: 0 1 600px; min-width: 0; display: flex; justify-content: center; }
.g3-about-photo img { display: block; width: 100%; max-width: 600px; height: auto; }
.g3-about-box { flex: 0 1 460px; min-width: 0; align-self: center; margin: 0 auto 32px; background: var(--g3-bg); border: 1px solid var(--g3-line2); border-radius: 4px; padding: 32px; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.g3-about-box p { margin: 0; font-size: 16px; line-height: 1.9; }
.g3-about-logo { height: 40px !important; width: auto; align-self: center; display: block; mix-blend-mode: multiply; }
.g3-about-box .g3-about-h { font-family: var(--g3-serif); font-size: 24px; font-weight: 700; }
.g3-about-catch { margin: 0; font-family: var(--g3-serif); font-size: 20px; font-weight: 700; line-height: 1.7; color: var(--g3-ink); border: 0; background: none; padding: 0; }
.g3-about-catch span, .g3-story-text h2 span { display: inline-block; }
.g3-about-box .g3-btns { justify-content: center; margin-top: 6px; }

/* OUR STORY */
.g3-story { background: var(--g3-green); color: #F7F4EF; margin-top: 88px; }
.g3-story-in { padding-top: 88px; padding-bottom: 88px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.g3-story-photo { flex: 1 1 380px; min-width: 0; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #2E5E3C; }
.g3-story-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.g3-story-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.g3-story-text h2 { margin: 0; font-family: var(--g3-serif); font-size: clamp(26px, 4vw, 34px); line-height: 1.5; font-weight: 700; color: #F7F4EF; border: 0; background: none; padding: 0; }
.g3-story-text p { margin: 0; font-size: 16px; color: #E3EEE5; }
.g3-site a.g3-arrow-link { color: #F7F4EF; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }

/* ブログの切り替え */
.g3-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.g3-chip { font-family: inherit; font-size: 14px; font-weight: 700; padding: 10px 18px; border-radius: 999px; min-height: 44px; cursor: pointer; border: 1.5px solid var(--g3-green); background: transparent; color: var(--g3-ink); }
.g3-chip[aria-pressed="true"] { background: var(--g3-green); color: #FFFFFF; }

/* メディア */
.g3-band-sand { background: var(--g3-sand); }
.g3-band-sand .g3-sec { padding-top: 72px; padding-bottom: 72px; gap: 28px; }
.g3-videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(400px, 100%), 1fr)); gap: 20px; }
.g3-site a.g3-video { text-decoration: none; color: var(--g3-ink); background: #FFFFFF; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.g3-video-img { display: block; position: relative; aspect-ratio: 16 / 9; background: var(--g3-ink); }
.g3-video-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.g3-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; border-radius: 12px; background: var(--g3-red); display: flex; align-items: center; justify-content: center; }
.g3-video-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 4px; }
.g3-video-by { font-size: 13px; color: var(--g3-red); font-weight: 700; }
.g3-video-title { font-size: 17px; font-weight: 700; line-height: 1.5; }

/* もっと知る */
.g3-more-card { background: #FFFFFF; border: 1px solid var(--g3-line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; color: var(--g3-ink); }
.g3-site a.g3-more-card { text-decoration: none; }
.g3-more-card .g3-thumb, .g3-more-card .g3-kind-art { border-radius: 0; }
.g3-more-top { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; aspect-ratio: 16 / 10; text-align: center; padding: 12px; box-sizing: border-box; }
.g3-more-top img { height: 40px; width: auto; mix-blend-mode: multiply; }
.g3-more-furusato { background: #FFF4D6; font-size: 13px; color: var(--g3-ink2); }
.g3-more-top-title { font-family: var(--g3-serif); font-weight: 700; font-size: 20px; color: var(--g3-ink); }
.g3-more-christian { background: var(--g3-green); gap: 8px; }
.g3-more-logo { display: inline-flex; background: #F7F4EF; border-radius: 50%; padding: 8px; }
.g3-more-logo img { height: 36px; }
.g3-more-words { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 500; font-size: 20px; letter-spacing: 0.04em; color: #F7F4EF; }
.g3-more-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; }
.g3-more-body strong { line-height: 1.5; }
.g3-more-body > a { font-size: 14px; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.g3-green-link { font-size: 14px; font-weight: 700; color: var(--g3-green); }

/* SNS */
.g3-sns { padding-top: 72px; padding-bottom: 72px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.g3-sns-text { display: flex; flex-direction: column; gap: 6px; flex: 1 1 360px; }
.g3-sns-text h2 { margin: 0; font-family: var(--g3-serif); font-size: clamp(22px, 3.4vw, 28px); font-weight: 700; color: var(--g3-ink); border: 0; background: none; padding: 0; }
.g3-sns-text p { margin: 0; color: var(--g3-ink2); }
.g3-sns-links { display: flex; flex-wrap: wrap; gap: 12px; }
.g3-site .g3-sns-links a { text-decoration: none; background: #FFFFFF; border: 1px solid var(--g3-line); border-radius: 999px; padding: 12px 22px; font-weight: 700; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }

@media (max-width: 600px) {
	.g3-wrap { padding-left: 16px; padding-right: 16px; }
	.g3-sec { padding-top: 56px; padding-bottom: 56px; }
	.g3-story { margin-top: 56px; }
	.g3-story-in { padding-top: 56px; padding-bottom: 56px; gap: 28px; }
	.g3-about-in { padding: 24px 16px 0; }
	.g3-about-box { padding: 24px 18px; }
}

/* ===== 記事ページ ===== */
.g3-single { display: block; }
.g3-article { max-width: 760px; margin: 0 auto; padding: 32px 24px 48px; box-sizing: border-box; display: flex; flex-direction: column; gap: 18px; font-size: 16px; line-height: 1.95; background: none; box-shadow: none; }
.g3-crumb { font-size: 13px; line-height: 1.6; color: var(--g3-mute); display: flex; flex-wrap: wrap; gap: 4px 10px; }
.g3-site .g3-crumb a { color: var(--g3-mute); }
.g3-article-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 13px; }
.g3-site a.g3-cat-pill { background: #FFFFFF; border: 1px solid var(--g3-red); color: var(--g3-red); font-weight: 700; padding: 2px 12px; border-radius: 999px; text-decoration: none; line-height: 1.6; }
.g3-article-title { margin: 0; font-family: var(--g3-serif); font-size: clamp(24px, 4.2vw, 30px); line-height: 1.55; font-weight: 700; color: var(--g3-ink); border: 0; background: none; padding: 0; }
.g3-pr-label { margin: 0; font-size: 12px; color: var(--g3-mute); background: #FFFFFF; border: 1px solid var(--g3-line); border-radius: 8px; padding: 4px 12px; align-self: flex-start; line-height: 1.6; }
.g3-article-thumb img { display: block; width: 100%; height: auto; border-radius: 16px; }

/* 本文（JINの記事スタイルを、新しい色と文字に合わせる） */
.g3-article .cps-post-main-box { margin: 0; padding: 0; background: none; }
.g3-article .cps-post-main { padding: 0; margin: 0; font-size: 16px; line-height: 1.95; color: var(--g3-ink); background: none; }
.g3-article .cps-post-main p { margin: 0 0 1.4em; }
.g3-article .cps-post-main h2 {
	font-family: var(--g3-serif); font-size: 24px; font-weight: 700; line-height: 1.5; color: var(--g3-ink);
	background: none; border: 0; border-left: 4px solid var(--g3-red); padding: 4px 0 4px 14px; margin: 2em 0 1em; box-shadow: none;
}
.g3-article .cps-post-main h2::before, .g3-article .cps-post-main h2::after,
.g3-article .cps-post-main h3::before, .g3-article .cps-post-main h3::after { display: none; }
.g3-article .cps-post-main h3 {
	font-family: var(--g3-serif); font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--g3-ink);
	background: none; border: 0; border-bottom: 1px solid var(--g3-line); padding: 0 0 8px; margin: 1.8em 0 0.9em;
}
.g3-article .cps-post-main h4 { font-size: 17px; font-weight: 700; margin: 1.6em 0 0.8em; color: var(--g3-ink); background: none; border: 0; padding: 0; }
.g3-article .cps-post-main img { border-radius: 8px; }
.g3-article .cps-post-main a { color: var(--g3-green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.g3-article .cps-post-main a img { display: inline-block; }
.g3-article .cps-post-main blockquote { background: #FFFFFF; border: 0; border-left: 4px solid var(--g3-green); border-radius: 8px; padding: 14px 18px; margin: 0 0 1.4em; }
.g3-article .cps-post-main iframe { max-width: 100%; }
.g3-tags { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 13px; }
.g3-tags a { color: var(--g3-mute) !important; font-weight: 400 !important; }

/* 前後の記事・もどる */
.g3-prevnext { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--g3-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; line-height: 1.6; }
.g3-site .g3-prevnext a { flex: 1 1 240px; text-decoration: none; color: var(--g3-ink); background: #FFFFFF; border: 1px solid var(--g3-line); border-radius: 12px; padding: 12px 16px; display: flex; flex-direction: column; gap: 2px; }
.g3-prevnext a span { font-size: 12px; color: var(--g3-mute); }
.g3-site .g3-prevnext a.g3-prevnext-next { text-align: right; }
.g3-backrow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 16px; font-size: 14px; }
.g3-site .g3-backrow a { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.g3-related { padding-bottom: 72px; display: flex; flex-direction: column; gap: 20px; }
.g3-related h2 { margin: 0; font-family: var(--g3-serif); font-size: 22px; font-weight: 700; color: var(--g3-ink); border: 0; background: none; padding: 0; }

/* ===== コメント ===== */
.g3-comments { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--g3-line); display: flex; flex-direction: column; gap: 16px; }
.g3-comments h2 { margin: 0; font-family: var(--g3-serif); font-size: 22px; font-weight: 700; color: var(--g3-ink); border: 0; background: none; padding: 0; }
.g3-c-count { font-size: 16px; color: var(--g3-mute); margin-left: 8px; font-family: var(--g3-sans); }
.g3-c-list, .g3-c-list .children { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.g3-c-list .children { margin: 10px 0 0 clamp(16px, 6%, 52px); }
.g3-c { list-style: none; }
.g3-c-box { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--g3-line); background: #FFFFFF; }
.g3-c-own > .g3-c-box { border-color: #C9DCCD; background: #EEF5EF; }
.g3-c-icon { flex: none; width: 40px; height: 40px; border-radius: 999px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; color: #FFFFFF; background: #B08A64; }
.g3-c-own > .g3-c-box .g3-c-icon { background: var(--g3-green); font-size: 13px; }
.g3-c-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.g3-c-head { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 15px; line-height: 1.5; }
.g3-c-wait { color: #8A5A12; background: #FBF1DC; border-radius: 999px; padding: 0 10px; font-weight: 700; font-size: 13px; }
.g3-c-text { font-size: 15px; line-height: 1.85; overflow-wrap: anywhere; }
.g3-c-text p { margin: 0 0 0.6em; }
.g3-c-reply a { font-size: 13px; font-weight: 700; min-height: 32px; display: inline-flex; align-items: center; }
.g3-c-pages { display: flex; justify-content: space-between; font-size: 14px; }
.g3-comments .comment-respond { background: #FFFFFF; border: 1px solid var(--g3-line); border-radius: 16px; padding: 24px; margin-top: 8px; }
.g3-c-list .comment-respond { margin: 10px 0; }
.g3-c-form-title { margin: 0 0 8px; font-family: var(--g3-serif); font-size: 19px; font-weight: 700; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: var(--g3-ink); border: 0; background: none; padding: 0; }
.g3-c-form-title small a { font-family: var(--g3-sans); font-size: 13px; font-weight: 400; }
.g3-c-form { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.g3-field { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.g3-field label { font-size: 15px; font-weight: 700; }
.g3-req { color: var(--g3-red); font-weight: 400; margin-left: 6px; font-size: 13px; }
.g3-field input, .g3-field textarea { font: inherit; font-size: 16px; padding: 0 14px; border-radius: 10px; border: 1px solid #BFB5A6; background: #FFFFFF; color: var(--g3-ink); box-sizing: border-box; width: 100%; height: 48px; }
.g3-field textarea { height: 160px; padding: 12px 14px; resize: vertical; line-height: 1.7; }
.g3-comments .form-submit { margin: 0; display: flex; justify-content: center; }
.g3-c-submit { min-width: 240px; min-height: 52px; padding: 0 40px; border: 0; border-radius: 999px; background: var(--g3-red); color: #FFFFFF; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }

@media (max-width: 600px) {
	.g3-article { padding: 24px 16px 40px; }
	.g3-c-box { padding: 14px; }
	.g3-comments .comment-respond { padding: 18px; }
}

/* コメント：JINの見た目に負けないように */
.g3-site .g3-comments #respond.comment-respond { background: #FFFFFF; border: 1px solid var(--g3-line); border-radius: 16px; padding: 24px; margin-top: 8px; box-sizing: border-box; }
.g3-site .g3-comments input[type="submit"].g3-c-submit { background: var(--g3-red) !important; color: #FFFFFF !important; border: 0 !important; border-radius: 999px !important; min-width: 240px; min-height: 52px; padding: 0 40px; font-size: 16px; font-weight: 700; opacity: 1; box-shadow: none; width: auto; }
.g3-site .g3-comments input[type="submit"].g3-c-submit:hover { background: #A81A23 !important; }
.g3-site .g3-c-reply a { background: none; padding: 0; color: var(--g3-ink); text-decoration: underline; text-underline-offset: 3px; }
.g3-site .g3-c-reply a::before, .g3-site .g3-c-reply a::after { display: none !important; content: none !important; }
.g3-site .g3-comments .comment-reply-title small { display: block; }

/* ===== 記事一覧・カテゴリー・検索 ===== */
.g3-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.g3-list-in { padding-top: 32px; padding-bottom: 72px; display: flex; flex-direction: column; gap: 20px; }
.g3-list-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.g3-list-head h1 { margin: 0; font-family: var(--g3-serif); font-size: clamp(26px, 4vw, 32px); font-weight: 700; color: var(--g3-ink); border: 0; background: none; padding: 0; }
.g3-list-desc { color: var(--g3-ink2); font-size: 15px; }
.g3-list-desc p { margin: 0; }
.g3-search { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; max-width: 640px; }
.g3-search input { flex: 1 1 260px; min-width: 0; height: 48px; font: inherit; font-size: 16px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--g3-line); background: #FFFFFF; color: var(--g3-ink); box-sizing: border-box; }
.g3-search button { height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--g3-green); color: #FFFFFF; font-family: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.g3-site .g3-search a { font-size: 14px; }
.g3-site a.g3-chip { text-decoration: none; display: inline-flex; align-items: center; box-sizing: border-box; }
.g3-site a.g3-chip[aria-pressed="true"] { color: #FFFFFF; }
.g3-list-grid { margin-top: 8px; }
.g3-list-more[aria-busy="true"] { opacity: 0.5; pointer-events: none; }
.g3-list-empty { color: var(--g3-ink2); }
.g3-pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.g3-pager .page-numbers { min-width: 44px; min-height: 44px; padding: 0 12px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--g3-line); background: #FFFFFF; text-decoration: none; font-size: 14px; }
.g3-pager .page-numbers.current { background: var(--g3-green); border-color: var(--g3-green); color: #FFFFFF; font-weight: 700; }

.g3-pager[hidden] { display: none; }

/* ===== 固定ページ・お問い合わせ ===== */
.g3-page .g3-article { padding-bottom: 72px; }
.g3-note-box { background: #FFFFFF; border: 1px solid var(--g3-line); border-radius: 12px; padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.8; }
.g3-note-box span { color: var(--g3-ink2); }
.g3-site .g3-note-box a { align-self: flex-start; font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
/* Contact Form 7 */
.g3-contact .wpcf7 { background: #FFFFFF; border: 1px solid var(--g3-line); border-radius: 16px; padding: 28px; margin-top: 8px; }
.g3-contact .wpcf7 p { margin: 0 0 18px; }
.g3-contact .wpcf7 label { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 700; }
.g3-contact .wpcf7 input[type="text"], .g3-contact .wpcf7 input[type="email"], .g3-contact .wpcf7 input[type="tel"], .g3-contact .wpcf7 textarea, .g3-contact .wpcf7 select {
	font: inherit; font-size: 16px; font-weight: 400; padding: 0 14px; border-radius: 10px; border: 1px solid #BFB5A6; background: #FFFFFF; color: var(--g3-ink); box-sizing: border-box; width: 100%; height: 48px;
}
.g3-contact .wpcf7 textarea { height: 200px; padding: 12px 14px; line-height: 1.7; resize: vertical; }
.g3-site .g3-contact .wpcf7 input[type="submit"] { display: block; margin: 8px auto 0; min-width: 240px; min-height: 52px; padding: 0 40px; border: 0; border-radius: 999px; background: var(--g3-red) !important; color: #FFFFFF !important; font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: none; }
.g3-contact .wpcf7-not-valid-tip { color: var(--g3-red); font-size: 13px; font-weight: 400; }
.g3-contact .wpcf7 .wpcf7-not-valid { border: 2px solid var(--g3-red); }
.g3-contact .wpcf7-response-output { border-radius: 10px; margin: 16px 0 0 !important; padding: 12px 16px !important; font-size: 14px; }
@media (max-width: 600px) { .g3-contact .wpcf7 { padding: 20px 16px; } }

/* ===== ABOUT ===== */
.g3-person { background: #FFFFFF; border: 1px solid var(--g3-line); border-radius: 16px; padding: 24px; margin: 0 0 20px; display: flow-root; }
.g3-article .cps-post-main .g3-person-role { display: inline-block; margin: 0 0 14px; background: var(--g3-green); color: #FFFFFF; font-weight: 700; font-size: 14px; padding: 4px 16px; border-radius: 999px; line-height: 1.6; }
.g3-person > figure:first-of-type { float: left; width: min(200px, 40%); margin: 0 20px 12px 0 !important; }
.g3-person > figure:first-of-type img { width: 100% !important; height: auto !important; border-radius: 12px; }
.g3-person > p:empty { display: none; }
.g3-person .wp-block-gallery { clear: both; }
@media (max-width: 600px) { .g3-person { padding: 18px; } .g3-person > figure:first-of-type { float: none; width: min(220px, 70%); margin: 0 auto 12px !important; } }
.g3-rules { display: flex; flex-direction: column; gap: 14px; margin: 0 0 2em; }
.g3-article .cps-post-main .g3-motto { margin: 0; text-align: center; font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 24px; letter-spacing: 0.04em; }
.g3-rule { display: flex; gap: 16px; align-items: flex-start; background: #FFFFFF; border: 1px solid var(--g3-line); border-radius: 16px; padding: 20px 22px; }
.g3-rule-no { flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--g3-red); color: #FFFFFF; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; font-family: var(--g3-serif); }
.g3-rule > div { display: flex; flex-direction: column; gap: 10px; }
.g3-article .cps-post-main .g3-rule p { margin: 0; }
.g3-article .cps-post-main .g3-verse { background: var(--g3-bg); border-left: 3px solid var(--g3-green); border-radius: 6px; padding: 10px 14px; font-family: var(--g3-serif); font-weight: 700; display: flex; flex-direction: column; gap: 2px; }
.g3-verse span { font-family: var(--g3-sans); font-weight: 400; font-size: 13px; color: var(--g3-mute); }
.g3-article .cps-post-main .g3-rules-note { margin: 0; font-size: 13px; color: var(--g3-mute); text-align: center; }

.g3-contact .wpcf7 { max-width: none; width: auto; box-sizing: border-box; margin-left: 0; margin-right: 0; }
.g3-contact .wpcf7 form { max-width: none; width: auto; }

/* ===== PR欄（トップ） ===== */
.g3-pr-sec { padding-top: 56px; }
.g3-pr-sec + .g3-story { margin-top: 56px; }
.g3-nowrap { white-space: nowrap; }
.g3-pr, .g3-site a.g3-pr-latest { background: #FBF5DC; border-radius: 20px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: stretch; text-decoration: none; color: var(--g3-ink); }
.g3-pr[hidden], .g3-pr-latest[hidden] { display: none !important; }
.g3-site a.g3-pr-latest { background: #FFFFFF; border: 1px solid var(--g3-line); }
.g3-pr-img { flex: 0 1 360px; min-width: 0; width: 100%; max-height: 420px; object-fit: cover; display: block; }
.g3-pr-latest .g3-pr-img { flex-basis: 420px; max-height: 320px; }
.g3-pr-img-logo { object-fit: contain; background: var(--g3-sand); padding: 40px; box-sizing: border-box; mix-blend-mode: multiply; }
.g3-pr-body { flex: 1 1 420px; min-width: 0; padding: 32px 36px; display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; justify-content: center; }
.g3-pr-label { display: flex; align-items: center; gap: 12px; font-size: 13px; letter-spacing: 0.16em; color: var(--g3-red); font-weight: 700; }
.g3-pr-label img { height: 36px; width: auto; mix-blend-mode: multiply; }
.g3-pr-headbox { display: flex; flex-direction: column; gap: 4px; }
.g3-pr-head { margin: 0; font-family: var(--g3-serif); font-size: clamp(22px, 3.4vw, 30px); font-weight: 700; line-height: 1.4; }
.g3-pr-sub { margin: 0; font-size: 16px; color: var(--g3-ink2); display: flex; flex-wrap: wrap; gap: 0 12px; }
.g3-pr-sub span { white-space: nowrap; }
.g3-pr-sub .g3-pr-subA:only-child, .g3-pr-sub .g3-pr-subA { white-space: normal; }
.g3-pr-rows { display: flex; flex-direction: column; gap: 10px; }
.g3-pr-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; background: #FFFFFF; border-radius: 12px; padding: 12px 16px; font-size: 15px; }
.g3-pr-row strong { font-size: 17px; }
.g3-pr-badge { font-size: 13px; font-weight: 700; padding: 3px 14px; border-radius: 999px; background: var(--g3-green); color: #FFFFFF; }
.g3-pr-row.is-live .g3-pr-badge { background: var(--g3-red); }
.g3-pr-row.is-done { opacity: 0.6; }
.g3-pr-row.is-done .g3-pr-badge { background: var(--g3-line2); color: var(--g3-mute); }
.g3-pr-count { font-size: 14px; font-weight: 700; color: var(--g3-green); }
.g3-pr-row.is-live .g3-pr-count { color: var(--g3-red); }
.g3-pr-count:empty { display: none; }
.g3-site a.g3-pr-map { margin-left: auto; font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px; min-height: 40px; }
.g3-pr-latest-title { font-family: var(--g3-serif); font-size: clamp(20px, 3vw, 24px); font-weight: 700; line-height: 1.5; }
@media (max-width: 600px) {
	.g3-pr-sec { padding-top: 32px; }
	.g3-pr-body { padding: 22px 18px; }
	.g3-pr-img { max-height: 260px; }
	.g3-pr-row { flex-direction: column; align-items: flex-start; gap: 4px; }
	.g3-site a.g3-pr-map { margin-left: 0; }
}

/* もっと知る：椿・がまびろ */
.g3-more-gamabiro { background: #FBF5DC; padding: 8px; }
.g3-more-gamabiro img { height: 100%; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: normal; }
.g3-more-body > a { line-height: 1.5; padding: 6px 0; }

/* もっと知る：6枚なので3列×2段 */
.g3-more-grid { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }

/* PR欄：注意書き（最終日は17:00まで など）をいつも出す */
.g3-pr-note { flex-basis: 100%; font-size: 14px; color: var(--g3-ink2); }
.g3-pr-row.is-live .g3-pr-note { color: var(--g3-red); font-weight: 700; }
.g3-pr-row.is-done .g3-pr-note { display: none; }
