/* 親子ウェルステ：8090 のリデザイン（pages/redesign）を JIN:R に入れるための CSS（全ページ）。2026-10-22
   値はすべて design/ルールブック.md から。ここで新しい色・角・影を足さない
   - 文章・写真・ボタンの行き先・色の多くは、管理画面（カスタマイザー・固定ページ「ホーム」のブロック）で変えられる
   - この CSS がするのは「JIN:R の設定では作れない見た目」だけ：色の帯の幅、見出しの下の黄色い線、
     開閉式の箱、スマホのメニューを画面の下に固定する、など
   - トップページの部品は、ブロックの「追加 CSS クラス」（ow-band・ow-h-sec など）で見た目を付けている */

:root {
	--ow-kiiro: #ffcc00;
	--ow-kogecha: #514829;
	--ow-usucha: #7d6d50;
	--ow-midori: #a1e549;
	--ow-koimidori: #3d6b1a;
	--ow-kazumidori: #5c8a2a;
	--ow-usumidori: #e9f7de;
	--ow-marker: #d2f7c3;
	--ow-ji: #fffcf7;
	--ow-header-ji: #fffdef;
	--ow-usukiiro: #fff5d8;
	--ow-shiro: #ffffff;
	--ow-sen: #eadfc8;
	--ow-link: #006b8f;
	--ow-line: #06c755;
	--ow-r: 6px;
	--ow-pill: 999px;
	--ow-gothic: "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
	--ow-mincho: "Noto Serif JP", "Hiragino Mincho ProN", serif;
	--ow-bn-h: 65px; /* スマホの下のメニューの高さ */
}

/* ---------- お知らせバー（カスタマイザー「インフォメーション設定」の文と色はそのまま） ---------- */
.o--informationbar .c--informationbar { gap: 12px; padding: 8px 16px; min-height: 0; }
.o--informationbar .a--infomationbar-text1 { font-size: 13px; font-weight: 700; }
/* 「くわしく」はボタンではなく下線のリンクに（8090 と同じ） */
.o--informationbar .b--jinr-button { margin: 0 !important; }
.o--informationbar .o--button-inner,
.o--informationbar .a--button-hover { all: unset; }
.o--informationbar .b--jinr-button a::before, .o--informationbar .b--jinr-button a::after,
.o--informationbar .a--button-hover::before, .o--informationbar .a--button-hover::after,
.o--informationbar .o--button-inner::before, .o--informationbar .o--button-inner::after { display: none !important; content: none !important; }
.o--informationbar .b--jinr-button a {
	all: unset; cursor: pointer; color: var(--ow-kogecha) !important; font-size: 13px; font-weight: 700;
	text-decoration: underline; text-underline-offset: 3px; padding: 8px 4px;
}

/* ---------- ヘッダー（8090 と同じ：うすいクリームの地＋下に 1px の線。写真の上に重ねない） ---------- */
#commonHeader.d--commonheader-cover:not(.ow-head-fixed) { position: relative !important; }
#commonHeader, #commonHeader.d--commonheader-cover { background-color: var(--ow-header-ji) !important; border-bottom: 1px solid var(--ow-sen); }
/* ヘッダーの下の 3px の帯（JIN:R のヘッダーの形「ボーダー」）。JIN:R はヘッダーの色 #fffdef をそのまま書くので、暗い表示では白い線に見えていた（2026-11-18） */
.a--header-style-parts { background-color: var(--ow-header-ji) !important; }
#commonHeader #commonHeaderInner { height: 60px !important; min-height: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; }
#commonHeader #headerLogoImage { max-height: 48px; width: auto; }
#commonHeader #headerLogoLink { max-width: none !important; }
@media (min-width: 768px) {
	#commonHeader #commonHeaderInner { height: 72px !important; }
	#commonHeader #headerLogoImage { max-height: 56px; }
}
/* JIN:R の検索パネル（ふだんは画面の外に隠れている）で、ページが横にずれないように */
html, body { overflow-x: clip; }
/* 上のメニューは 1 段で（折り返さない） */
#commonHeader #headerLogo { width: auto !important; flex: 0 0 auto; padding-left: 0 !important; padding-right: 0 !important; }
#commonHeader #globalMenu { margin-left: auto; }
#commonHeader #globalMenuList { display: flex !important; flex-wrap: nowrap; gap: 8px; width: auto !important; }
#commonHeader #globalMenuList > li { width: auto !important; }
#commonHeader #globalMenuList > li > a { white-space: nowrap; font-size: 14px; padding-left: 16px; padding-right: 16px; }
/* 上のメニュー（黄色のまるいボタン）は、ロゴの横に入りきる 960px から。それより狭いときは三本線と下のメニュー */
@media (max-width: 959px) {
	#commonHeader #globalMenu { display: none !important; }
}

/* ---------- メインビジュアル（カスタマイザー「メインビジュアル」の写真・ことば・ボタン） ----------
   スマホ：写真の下にことば。PC：写真が左、ことばが右（8090 と同じ） */
.o--jinr-stillimage { display: grid; background: var(--ow-ji); max-width: 1200px; margin: 0 auto; }
.o--jinr-stillimage .c--stillimage { position: relative !important; inset: auto !important; height: auto !important; aspect-ratio: 4 / 3; }
.o--jinr-stillimage .a--stillimage { position: absolute; inset: 0; background-position: 55% 40% !important; background-size: cover !important; }
.o--jinr-stillimage .c--stillimage-contents {
	position: static !important; transform: none !important; inset: auto !important; width: auto !important;
	padding: 32px 16px 56px !important; text-align: center !important; color: var(--ow-kogecha);
}
.o--jinr-stillimage .a--stillimage-maincopy {
	font-family: var(--ow-mincho) !important; font-weight: 600 !important; font-size: 26px !important;
	line-height: 1.7 !important; letter-spacing: .06em !important; color: var(--ow-kogecha) !important; text-shadow: none !important;
}
.o--jinr-stillimage .a--stillimage-subcopy {
	font-size: 15px !important; line-height: 1.9 !important; margin-top: 16px !important; color: var(--ow-kogecha) !important; text-shadow: none !important;
	font-weight: 400 !important; letter-spacing: .04em !important; font-family: var(--ow-gothic) !important;
}
.o--jinr-stillimage .b--jinr-button { margin-top: 24px !important; }
.o--jinr-stillimage .o--button-inner { justify-content: center; margin-left: auto !important; margin-right: auto !important; }
@media (min-width: 768px) {
	.o--jinr-stillimage { grid-template-columns: 1.1fr 1fr; align-items: center; }
	.o--jinr-stillimage .c--stillimage { aspect-ratio: auto; height: 560px !important; }
	.o--jinr-stillimage .c--stillimage-contents { padding: 0 48px !important; text-align: left !important; }
	.o--jinr-stillimage .a--stillimage-maincopy { font-size: 34px !important; }
	.o--jinr-stillimage .o--button-inner { justify-content: flex-start; margin: 0 !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	.o--jinr-stillimage { grid-template-columns: 1fr 1fr; }
	.o--jinr-stillimage .c--stillimage { height: 480px !important; }
	.o--jinr-stillimage .c--stillimage-contents { padding: 0 24px 0 32px !important; }
	.o--jinr-stillimage .a--stillimage-maincopy { font-size: 28px !important; }
	.o--jinr-stillimage .a--stillimage-subcopy { font-size: 14px !important; }
}

/* ---------- ボタン（ルールブック 6：主＝みどり地＋こげちゃ／LINE＝LINE の緑＋白／控えめ＝線だけ）。どれも丸く、高さ 48px 以上 ---------- */
.wp-block-button .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 10px 24px;
	border-radius: var(--ow-pill); font-weight: 700; font-size: 15px; line-height: 1.5; text-decoration: none;
	background: var(--ow-midori); color: var(--ow-kogecha); border: 0; box-shadow: none;
}
.wp-block-button .wp-block-button__link:hover { background: #b4ec6c; color: var(--ow-kogecha); }
.wp-block-button.ow-btn-line .wp-block-button__link { background: var(--ow-line); color: #fff; }
.wp-block-button.ow-btn-line .wp-block-button__link::before {
	content: "\e91b"; font-family: "jin-icons" !important; font-weight: 400; font-size: 20px; line-height: 1;
}
.wp-block-button.ow-btn-line .wp-block-button__link:hover { background: #05b34c; color: #fff; }
.wp-block-button.is-style-outline .wp-block-button__link,
.wp-block-button.ow-btn-sub .wp-block-button__link { background: transparent; color: var(--ow-kogecha); border: 1.5px solid var(--ow-kogecha); }
.wp-block-button.is-style-outline .wp-block-button__link:hover,
.wp-block-button.ow-btn-sub .wp-block-button__link:hover { background: var(--ow-usukiiro); }
/* きいろの帯の中の線だけのボタン（運営者「お気軽にご連絡ください」のお問い合わせ など）：文字と線を「色の地の上の文字」（明るい表示 #3d3520・暗い表示 #1f1b14。差 8 以上）に。
   前は明るい表示で 6.0、暗い表示では明るい文字のまま 1.6 で読めなかった（2026-11-18） */
.ow-band-kiiro .wp-block-button:is(.ow-btn-sub, .is-style-outline) .wp-block-button__link { background: transparent !important; color: var(--ow-on-accent) !important; border: 1.5px solid var(--ow-on-accent) !important; }
.ow-band-kiiro .wp-block-button:is(.ow-btn-sub, .is-style-outline) .wp-block-button__link:hover { background: transparent !important; text-decoration: underline !important; text-underline-offset: 3px; }
.wp-block-button.ow-btn-white .wp-block-button__link { background: var(--ow-shiro); color: var(--ow-kogecha); }
.wp-block-buttons { gap: 12px; }

/* ---------- 色の帯（トップのブロック「グループ」に ow-band と色の名前を付ける）---------- */
/* 記事の幅（680px）の外まで、画面いっぱいに色を広げる */
.ow-band {
	margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; max-width: 100vw !important;
	padding: 56px 16px !important; margin-top: 0 !important; margin-bottom: 0 !important;
}
.ow-band > .wp-block-group__inner-container { max-width: 1040px; margin-left: auto; margin-right: auto; }
.ow-band-ji { background: var(--ow-ji); }
.ow-band-shiro { background: var(--ow-shiro); }
.ow-band-kiiro { background: var(--ow-kiiro); color: var(--ow-kogecha); }
.ow-band-usukiiro { background: var(--ow-usukiiro); }
.ow-band-usumidori { background: var(--ow-usumidori); }
@media (min-width: 768px) { .ow-band { padding: 96px 16px !important; } }
/* トップは帯が主役なので、本文の外枠の余白をなくす */
/* 帯で組んだページ（トップ・運営者・お問い合わせ。JIN:R の「カスタムテンプレート（タイトル・サイドバーなし）」）は、本文の外枠の余白をなくす */
.page-template-template-full-width #mainContentInner, .page-template-template-full-width #jinrArticle, .page-template-template-full-width #postContent { padding-top: 0 !important; padding-bottom: 0 !important; margin-top: 0 !important; max-width: none !important; }
.page-template-template-full-width #mainContent { padding-top: 0 !important; }
.page-template-template-full-width #postContent > .ow-band + .ow-band { margin-top: 0 !important; }
.page-template-template-full-width #commonFooter { margin-top: 0 !important; }

/* ---------- 見出し（日本語だけ＋きいろの短い線）・見出しの下のひとこと ---------- */
#postContent h2.ow-h-sec {
	font-size: 22px; line-height: 1.5; font-weight: 700; color: var(--ow-kogecha);
	border: 0 !important; padding: 0 !important; margin: 0 !important; background: none !important;
}
#postContent h2.ow-h-sec::before { display: none !important; }
#postContent h2.ow-h-sec::after {
	content: "" !important; display: block !important; position: static !important; width: 40px !important; height: 4px !important;
	background: var(--ow-kiiro) !important; border-radius: var(--ow-pill); margin: 12px auto 0 !important; border: 0 !important;
}
@media (min-width: 768px) { #postContent h2.ow-h-sec { font-size: 26px; } }
#postContent p.ow-lead { color: var(--ow-usucha); font-size: 14px; margin: 12px auto 0; max-width: 36em; text-wrap: balance; }

/* ---------- いま、お子さんはどんな様子ですか（ブロック「詳細」に ow-finder） ---------- */
#postContent details.ow-finder { margin-top: 8px; border: 1px solid var(--ow-sen); border-radius: var(--ow-r); background: var(--ow-ji); }
#postContent .ow-lead + details.ow-finder { margin-top: 32px; }
#postContent details.ow-finder > summary {
	list-style: none; cursor: pointer; padding: 12px 44px 12px 16px; min-height: 56px; position: relative;
	font-size: 13px; line-height: 1.6; color: var(--ow-usucha);
}
#postContent details.ow-finder > summary::-webkit-details-marker { display: none; }
#postContent details.ow-finder > summary strong { display: block; font-size: 15px; color: var(--ow-kogecha); }
#postContent details.ow-finder > summary br { display: none; }
#postContent details.ow-finder > summary::after {
	content: "\203A"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; font-size: 22px; color: var(--ow-usucha); transition: rotate .2s;
}
#postContent details.ow-finder[open] > summary { background: var(--ow-kiiro); color: var(--ow-kogecha); border-radius: var(--ow-r) var(--ow-r) 0 0; }
#postContent details.ow-finder[open] > summary::after { rotate: 90deg; color: var(--ow-kogecha); }
#postContent details.ow-finder > :not(summary) { margin: 0; padding: 0 16px; background: var(--ow-usumidori); }
#postContent details.ow-finder > summary + * { padding-top: 20px; }
#postContent details.ow-finder > :last-child { padding-bottom: 20px; border-radius: 0 0 var(--ow-r) var(--ow-r); }
#postContent details.ow-finder p { font-size: 15px; }
#postContent .ow-say { font-family: var(--ow-mincho); font-weight: 600; font-size: 17px; line-height: 1.8; padding-top: 12px !important; }
#postContent .ow-say strong { display: block; font-family: var(--ow-gothic); font-size: 12px; font-weight: 700; color: var(--ow-koimidori); }
#postContent ul.ow-links { list-style: none; padding: 12px 16px 0 !important; }
#postContent ul.ow-links li { margin: 0; padding: 0; border-top: 1px solid var(--ow-sen); }
#postContent ul.ow-links li:last-child { border-bottom: 1px solid var(--ow-sen); }
#postContent ul.ow-links li::before { display: none !important; }
#postContent ul.ow-links a { display: block; padding: 10px 0; font-size: 14px; font-weight: 700; line-height: 1.7; color: var(--ow-kogecha); text-decoration: none; }
#postContent ul.ow-links a:hover { color: var(--ow-link); }

/* ---------- はじめての方へ（番号つきリストに ow-first）。番号は「01.」の細い数字 ---------- */
#postContent ol.ow-first { list-style: none; counter-reset: owfirst; margin: 32px 0 0 !important; padding: 0 !important; display: grid; gap: 24px; border: 0 !important; background: none !important; }
#postContent ol.ow-first > li {
	counter-increment: owfirst; display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; align-items: start;
	font-size: 13px; line-height: 1.7; color: var(--ow-usucha); padding: 0 !important; margin: 0 !important;
}
#postContent ol.ow-first > li::before {
	content: counter(owfirst, decimal-leading-zero) "."; grid-row: span 3; position: static !important;
	font-weight: 300; font-size: 40px; line-height: 1; color: var(--ow-kazumidori); background: none !important; width: auto !important; height: auto !important;
}
#postContent ol.ow-first > li a { font-size: 16px; color: var(--ow-kogecha); text-decoration: none; }
#postContent ol.ow-first > li a:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 768px) {
	#postContent ol.ow-first { grid-template-columns: repeat(3, 1fr); gap: 32px; }
	#postContent ol.ow-first > li { grid-template-columns: 1fr; row-gap: 8px; }
	#postContent ol.ow-first > li::before { font-size: 56px; grid-row: auto; }
}

/* ---------- 新しい記事（JIN:R の記事リスト）---------- */
.home #articles .b--jinr-postlist { margin-top: 32px !important; }
.home #articles .wp-block-buttons { margin-top: 32px; }

/* ---------- 黄色い帯：代表のことば（グループに ow-voice） ---------- */
#postContent .ow-voice { text-align: center; }
#postContent .ow-face { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; border: 3px solid var(--ow-shiro); background: var(--ow-shiro); margin: 0 auto 20px !important; }
#postContent .ow-face > figure { width: 100%; height: 100%; margin: 0 !important; } /* 中央寄せの画像ブロックは div.ow-face の中に figure が入る */
#postContent .ow-face img { width: 100% !important; height: 100% !important; object-fit: cover; object-position: 50% 45%; transform: scale(1.9); } /* トップの「代表のことば」でも、相談・交流会の「代表から」と同じ大きさに（2026-10-27：高さが横長の画像のままで小さく写っていた） */
#postContent .ow-quote { border: 0 !important; background: none !important; padding: 0 !important; margin: 0 !important; quotes: none; }
#postContent .ow-quote::before, #postContent .ow-quote::after { display: none !important; }
#postContent .ow-quote p { font-family: var(--ow-mincho); font-weight: 600; font-size: 19px; line-height: 2; color: var(--ow-kogecha); text-wrap: balance; }
#postContent .ow-quote cite { display: block; font-style: normal; font-size: 13px; margin-top: 16px; color: var(--ow-kogecha); }
#postContent .ow-voice .wp-block-buttons { margin-top: 24px; }
@media (min-width: 768px) { #postContent .ow-quote p { font-size: 24px; } }

/* ---------- ことば帳の案内 ---------- */
#postContent .ow-kotoba { margin-top: 32px; gap: 24px 48px; }
#postContent .ow-word-tags { font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
#postContent .ow-say br, #postContent .ow-word-card .ow-say br { display: none; }
#postContent .ow-word-tags a { color: var(--ow-link); text-decoration: underline; text-underline-offset: 3px; }
#postContent .ow-word-card { background: var(--ow-shiro); border-radius: var(--ow-r); padding: 20px; }
#postContent .ow-word-card h3 { font-size: 20px; margin: 0; padding: 0; border: 0; background: none; }
#postContent .ow-word-card h3::before, #postContent .ow-word-card h3::after { display: none; }
#postContent .ow-word-card p { font-size: 14px; margin-top: 8px; }
#postContent .ow-word-card .ow-yomi { font-size: 12px; color: var(--ow-usucha); margin: 0; }
#postContent .ow-word-card .ow-say { border-top: 1px solid var(--ow-sen); margin-top: 16px; font-family: var(--ow-gothic); font-weight: 400; font-size: 14px; }

/* ---------- 話してみたくなったら ---------- */
#postContent .ow-consult { margin-top: 32px; gap: 32px 64px; }
#postContent p.ow-facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ow-sen); border-bottom: 1px solid var(--ow-sen); margin: 24px 0; }
#postContent p.ow-facts span { text-align: center; padding: 16px 4px; font-size: 12px; color: var(--ow-usucha); line-height: 1.5; }
#postContent p.ow-facts span + span { border-left: 1px solid var(--ow-sen); }
#postContent p.ow-facts strong { display: block; font-size: 20px; line-height: 1.4; color: var(--ow-kogecha); }
#postContent ol.ow-supports { list-style: none; counter-reset: owsup; padding: 0 !important; margin: 0 !important; border-top: 1px solid var(--ow-sen); background: none !important; }
#postContent ol.ow-supports > li {
	counter-increment: owsup; display: grid; grid-template-columns: 48px 1fr; column-gap: 12px; padding: 16px 0 !important; margin: 0 !important;
	border-bottom: 1px solid var(--ow-sen); font-size: 13px; color: var(--ow-usucha); line-height: 1.7;
}
#postContent ol.ow-supports > li::before {
	content: counter(owsup); grid-row: span 3; position: static !important; font-weight: 300; font-size: 32px; line-height: 1;
	color: var(--ow-kazumidori); background: none !important; width: auto !important; height: auto !important;
}
#postContent ol.ow-supports > li strong { display: block; font-size: 16px; color: var(--ow-kogecha); }
#postContent ol.ow-supports br, #postContent ol.ow-first br { display: none; }
#postContent ol.ow-first > li a { display: block; }

/* ---------- よくある質問（ブロック「詳細」に ow-qa） ---------- */
#postContent details.ow-qa { border-bottom: 1px solid var(--ow-sen); margin: 0; }
#postContent .ow-h-sec + details.ow-qa { margin-top: 32px; border-top: 1px solid var(--ow-sen); }
#postContent details.ow-qa > summary {
	list-style: none; cursor: pointer; padding: 16px 32px 16px 28px; font-weight: 700; position: relative; min-height: 44px;
}
#postContent details.ow-qa > summary::-webkit-details-marker { display: none; }
#postContent details.ow-qa > summary::before { content: "Q"; position: absolute; left: 0; color: var(--ow-koimidori); }
#postContent details.ow-qa > summary::after { content: "＋"; position: absolute; right: 4px; top: 16px; color: var(--ow-usucha); }
#postContent details.ow-qa[open] > summary::after { content: "－"; }
#postContent details.ow-qa > p { padding: 0 0 16px 28px; font-size: 14px; margin: 0; position: relative; }
#postContent details.ow-qa > p::before { content: "A"; position: absolute; left: 0; color: var(--ow-usucha); font-weight: 700; }

/* ---------- 最後のひとこと ---------- */
#postContent .ow-closing p { font-size: 16px; line-height: 2.1; text-wrap: balance; }
#postContent .ow-closing .wp-block-buttons { margin-top: 24px; }

/* ---------- スマホのメニュー（カスタマイザー「スマホ専用機能 → メニュー」の 4 つ）を画面の下に固定（8090 と同じ） ----------
   文字・リンク先・アイコンは管理画面で変えられる。いまいるページはアイコンの下にうすみどりのまるい地（redesign.js が is-current を付ける） */
@media (max-width: 1023px) {
	#headerSpMenu {
		position: fixed !important; left: 0; right: 0; bottom: 0; top: auto !important; z-index: 290; margin: 0 !important;
		background: var(--ow-header-ji); border-top: 1px solid var(--ow-sen); box-shadow: none !important;
		padding: 6px max(8px, calc((100% - 560px) / 2)) calc(6px + env(safe-area-inset-bottom));
	}
	#headerSpMenuList { display: flex; gap: 4px; margin: 0 !important; padding: 0 !important; background: none !important; }
	#headerSpMenuList .c--spmenu-item { flex: 1; border: 0 !important; }
	#headerSpMenuList .c--spmenu-item::before, #headerSpMenuList .c--spmenu-item::after { display: none !important; }
	#headerSpMenuList .a--spmenu-item-link {
		display: grid !important; justify-items: center; align-content: center; gap: 2px; min-height: 52px; padding: 0 !important;
		color: var(--ow-usucha) !important; font-size: 12px; font-weight: 700; line-height: 1.4; text-decoration: none; background: none !important;
		-webkit-tap-highlight-color: transparent;
	}
	#headerSpMenuList .a--spmenu-item-icon { width: 56px; height: 30px; display: grid; place-items: center; border-radius: var(--ow-pill); transition: background .15s; }
	#headerSpMenuList .a--spmenu-item-icon i { font-size: 20px; color: inherit; }
	#headerSpMenuList .a--spmenu-item-label { font-size: 12px; }
	#headerSpMenuList .c--spmenu-item:last-child .a--spmenu-item-icon i { color: var(--ow-line); }
	#headerSpMenuList .is-current .a--spmenu-item-link { color: var(--ow-kogecha) !important; }
	#headerSpMenuList .is-current .a--spmenu-item-icon { background: var(--ow-usumidori); color: var(--ow-koimidori); }
	#headerSpMenuList .a--spmenu-item-link:active .a--spmenu-item-icon { background: var(--ow-usukiiro); }
	body { padding-bottom: calc(var(--ow-bn-h) + env(safe-area-inset-bottom)); }
	/* 文字を入力している間は、キーボードの上に出て入力欄をかくすので、しまう */
	body.ow-typing #headerSpMenu { display: none !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
	#headerSpMenuList .a--spmenu-item-link, #headerSpMenuList .a--spmenu-item-label { font-size: 13px; }
}

/* ---------- ページの頭（運営者・お問い合わせ） ---------- */
#postContent .ow-page-hero { padding-top: 40px !important; padding-bottom: 48px !important; }
#postContent .ow-eyebrow { display: inline-block; background: var(--ow-usumidori); color: var(--ow-koimidori); font-size: 12px; font-weight: 700; border-radius: var(--ow-pill); padding: 2px 12px; line-height: 1.7; margin: 0 0 4px; }
#postContent h1.ow-hero-title { font-family: var(--ow-mincho); font-weight: 600; font-size: 26px; line-height: 1.7; letter-spacing: .06em; color: var(--ow-kogecha); margin: 0; padding: 0; border: 0; background: none; }
#postContent .ow-hero-lead { font-size: 15px; margin-top: 16px; max-width: 36em; }
/* ページの頭（運営者・お問い合わせ など）の説明は、題名と同じ左はしにそろえる（モックアップと同じ）。
   下の「帯の中のブロックをまん中に」が効いて、PC・タブレットでは説明だけがまん中に寄っていた（2026-11-18） */
#postContent .ow-band.ow-page-hero > .wp-block-group__inner-container > .ow-hero-lead { margin-left: 0 !important; margin-right: auto !important; }
/* 題名と小さなラベルも、帯の幅いっぱいの左はしから（お問い合わせは帯の幅が 680px の設定で、題名だけ中に寄っていた） */
#postContent .ow-band.ow-page-hero > .wp-block-group__inner-container > :is(.ow-eyebrow, .ow-hero-title) { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
@media (min-width: 768px) { #postContent h1.ow-hero-title { font-size: 34px; } #postContent .ow-page-hero { padding-top: 72px !important; padding-bottom: 72px !important; } }
#postContent .ow-band .ow-h-sec + * { margin-top: 32px; }

/* ---------- 運営者 ---------- */
#postContent .ow-profile { gap: 16px; margin-bottom: 28px; align-items: center; }
#postContent .ow-profile .ow-face { flex: 0 0 96px; margin: 0 !important; border-color: var(--ow-kiiro); }
#postContent .ow-profile p { font-size: 14px; margin: 0; }
#postContent .ow-profile small { font-size: 12px; color: var(--ow-usucha); }
#postContent .ow-profile strong { font-size: 18px; }
#postContent p.ow-q { font-family: var(--ow-mincho); font-weight: 600; font-size: 19px; line-height: 1.9; padding: 8px 0 8px 16px; border-left: 4px solid var(--ow-kiiro); }
#postContent ol.ow-timeline { list-style: none; padding: 0 !important; margin: 0; background: none !important; border: 0 !important; }
#postContent ol.ow-timeline > li { position: relative; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 0 0 24px !important; margin: 0 !important; font-size: 14px; color: var(--ow-usucha); line-height: 1.7; }
#postContent ol.ow-timeline > li::before { display: none !important; }
#postContent ol.ow-timeline > li:not(:last-child)::after { content: ""; position: absolute; left: 23px; top: 48px; bottom: 0; width: 2px; background: var(--ow-sen); }
#postContent ol.ow-timeline .ow-tl-n { grid-row: span 3; width: 48px; height: 48px; border-radius: 50%; background: var(--ow-kiiro); color: var(--ow-kogecha); font-weight: 700; font-size: 12px; display: grid; place-items: center; line-height: 1.2; position: relative; z-index: 1; }
#postContent ol.ow-timeline strong { display: block; font-size: 16px; color: var(--ow-kogecha); padding-top: 8px; }
#postContent ol.ow-timeline br { display: none; }
#postContent ul.ow-dots { list-style: none; padding: 0 !important; margin: 0; display: grid; gap: 4px; background: none !important; border: 0 !important; }
#postContent ul.ow-dots > li { padding: 0 0 0 1.3em !important; margin: 0 !important; position: relative; }
#postContent ul.ow-dots > li::before { content: "\25CF" !important; position: absolute !important; left: 0; top: .2em; color: var(--ow-kiiro) !important; font-size: .8em; background: none !important; width: auto !important; height: auto !important; }
#postContent .ow-info-table { margin: 0; }
#postContent .ow-info-table table { width: 100%; border-collapse: collapse; font-size: 15px; border-top: 1px solid var(--ow-sen); }
#postContent .ow-info-table th, #postContent .ow-info-table td { text-align: left; padding: 14px 8px; border: 0; border-bottom: 1px solid var(--ow-sen); vertical-align: top; background: none; }
#postContent .ow-info-table th { width: 30%; font-weight: 700; white-space: nowrap; }
#postContent .ow-info-table a { color: var(--ow-link); text-decoration: underline; }
#postContent h2.ow-letter-h { font-size: 20px; margin: 0 0 8px; padding: 0; border: 0; background: none; color: var(--ow-kogecha); }
#postContent h2.ow-letter-h::before, #postContent h2.ow-letter-h::after { display: none !important; }

/* ---------- お問い合わせ（Contact Form 7） ---------- */
#postContent .ow-line-first { background: var(--ow-usumidori); border-radius: var(--ow-r); padding: 18px; margin-bottom: 32px; }
#postContent .ow-line-first p { font-size: 14px; margin: 0 0 12px; }
#postContent .ow-line-first strong { display: block; font-size: 16px; margin-bottom: 4px; }
#postContent .ow-line-first br { display: none; }
#postContent .wpcf7-form { display: grid; gap: 24px; }
#postContent .wpcf7-form > p { margin: 0; }
#postContent .ow-field { display: grid; gap: 6px; }
#postContent .ow-field > label, #postContent .ow-lbl { display: grid; gap: 6px; font-weight: 700; font-size: 15px; }
/* 2026-11-18 お問い合わせフォームの見た目（とくに暗い表示）：
   ・「お問い合わせの種類」の 必須 が横いっぱいにのびていた（.ow-lbl が grid）→ 文字のとなりに
   ・必須 の文字がこげちゃ（暗い表示では明るい色）で、きいろの上で読みにくかった → 色の地の上の文字（差 8 以上）
   ・項目と説明（ニックネームでも…）のあいだが 24px＋24px あいていた → 6px
   ・ラジオボタン・送信ボタン・まちがいの表示が、暗い表示で見えにくい色のままだった */
#postContent .ow-lbl { display: block !important; }
#postContent .wpcf7-form .ow-field > p { margin: 0 !important; }
#postContent .ow-req, #postContent .ow-opt { display: inline-block; font-size: 12px; font-weight: 700; border-radius: var(--ow-pill); padding: 0 8px; line-height: 1.8; margin-left: 6px; vertical-align: 2px; }
#postContent .ow-req { background: var(--ow-kiiro); color: var(--ow-on-accent) !important; }
#postContent .ow-opt { border: 1px solid var(--ow-field-line); color: var(--ow-usucha) !important; }
#postContent .ow-hint { font-size: 13px; color: var(--ow-usucha); margin: 0; }
#postContent .wpcf7-form input[type="text"], #postContent .wpcf7-form input[type="email"], #postContent .wpcf7-form textarea {
	width: 100%; min-height: 48px; border: 1px solid var(--ow-sen); border-radius: var(--ow-r); background: var(--ow-shiro); padding: 10px 14px; font-weight: 400; font-size: 16px; color: var(--ow-kogecha); box-shadow: none;
}
#postContent .wpcf7-form textarea { min-height: 180px; line-height: 1.8; }
#postContent .wpcf7-form input:focus, #postContent .wpcf7-form textarea:focus { outline: 3px solid var(--ow-marker); border-color: var(--ow-kogecha); }
#postContent .wpcf7-radio { display: grid; gap: 8px; }
#postContent .wpcf7-radio .wpcf7-list-item { margin: 0; }
#postContent .wpcf7-radio label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--ow-sen); border-radius: var(--ow-r); background: var(--ow-shiro); cursor: pointer; font-size: 15px; font-weight: 400; }
#postContent .wpcf7-radio label:has(input:checked) { border-color: var(--ow-kiiro); background: var(--ow-usukiiro); font-weight: 700; }
#postContent .wpcf7-radio input, #postContent .ow-agree input { width: 20px; height: 20px; accent-color: var(--ow-kogecha); }
#postContent .ow-agree label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; }
#postContent .ow-agree a { color: var(--ow-link); text-decoration: underline; }
#postContent .wpcf7-submit { min-height: 48px; padding: 10px 32px; border-radius: var(--ow-pill); border: 0; background: var(--ow-midori); color: var(--ow-on-accent) !important; font-weight: 700; font-size: 15px; cursor: pointer; }
#postContent .wpcf7-not-valid-tip { color: var(--ow-error) !important; font-size: 13px; font-weight: 700; }
#postContent .wpcf7-response-output { border-radius: var(--ow-r); margin: 0 !important; }
@media (min-width: 768px) { #postContent .wpcf7-radio { grid-template-columns: 1fr 1fr; } }

/* ---------- 記事一覧（/article/）・カテゴリ・検索 ---------- */
/* 記事一覧は JIN:R では「ホーム」扱いで、トップの写真が出てしまうので隠す */
body.blog .o--jinr-mainvisual { display: none !important; }
/* 記事一覧の頭（ウィジェット「トップページ上部」）は、トップには出さない */
body.home .ow-blog-head { display: none !important; }
/* 英語の小見出し（CATEGORY など）は使わない（ルールブック 5・8） */
.d--archive-subtitle { display: none !important; }
.ow-blog-head { padding: 32px 0 8px; }
.ow-blog-head h1.ow-page-title, .archive #jinrPostTitle, .search #jinrPostTitle {
	font-size: 26px; font-weight: 700; line-height: 1.5; color: var(--ow-kogecha); margin: 0; padding: 0; border: 0; background: none;
}
.ow-blog-head h1.ow-page-title::after, .archive #jinrPostTitle::after, .search #jinrPostTitle::after {
	content: ""; display: block; width: 40px; height: 4px; background: var(--ow-kiiro); border-radius: var(--ow-pill); margin-top: 12px;
}
.archive #postHeaderInner, .search #postHeaderInner { text-align: left; }
.ow-blog-head p { font-size: 15px; margin: 16px 0 0; max-width: 36em; }
.ow-cat-tabs { gap: 8px; margin: 24px 0 8px; }
.ow-cat-tabs .wp-block-button__link {
	min-height: 44px; padding: 6px 16px; font-size: 13px; background: transparent; color: var(--ow-usucha); border: 1px solid var(--ow-sen);
}
.ow-cat-tabs .wp-block-button__link:hover { background: var(--ow-usukiiro); color: var(--ow-kogecha); }
.ow-cat-tabs .is-current .wp-block-button__link { background: var(--ow-kiiro); border-color: var(--ow-kiiro); color: var(--ow-kogecha); }
/* 一覧のカード：影なし・角 6px・題名はこげちゃの太字 */
.o--postlist-item .c--post-image, .o--postlist-item .c--post-image img { border-radius: var(--ow-r) !important; }
.o--postlist-item .a--post-title, .o--postlist-item .c--post-title { color: var(--ow-kogecha); font-weight: 700; }

/* ---------- 記事の最後の「相談の案内」（ウィジェット「記事おわり」） ---------- */
.ow-cta { background: var(--ow-usumidori); border-radius: var(--ow-r); padding: 22px 18px; margin: 32px 0; }
.ow-cta h2.ow-cta-h, #postContent .ow-cta h2.ow-cta-h {
	font-size: 18px; line-height: 1.5; color: var(--ow-kogecha); margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; background: none !important;
}
.ow-cta h2.ow-cta-h::before, .ow-cta h2.ow-cta-h::after { display: none !important; }
.ow-cta p { font-size: 14px; margin: 0 0 12px; }
.ow-cta .wp-block-buttons { gap: 8px; }

/* ---------- フッター ---------- */
#commonFooter { background: var(--ow-usukiiro) !important; color: var(--ow-kogecha) !important; }
#commonFooter a { color: var(--ow-kogecha) !important; }
/* フッターのリンク集（ウィジェット「フッター」） */
.ow-footer { gap: 24px; font-size: 13px; text-align: left; margin: 0 0 24px; }
.ow-footer h4 { font-size: 13px; margin: 0 0 4px; padding: 0; border: 0; background: none; color: var(--ow-kogecha); }
.ow-footer h4::before, .ow-footer h4::after { display: none; }
.ow-footer ul { list-style: none; padding: 0 !important; margin: 0; }
.ow-footer li { margin: 0; padding: 0; }
.ow-footer li::before { display: none !important; }
.ow-footer li a { display: block; padding: 4px 0; text-decoration: none; }
.ow-footer li a:hover { text-decoration: underline; }
.ow-footer-brand { line-height: 1.8; }
.ow-footer-brand strong { font-size: 17px; letter-spacing: .08em; }
@media (min-width: 782px) { .ow-footer > .wp-block-column:first-child { flex-basis: 34%; } }

/* ---------- 相談・交流会（/lp/service-page/。中身は tools/redesign-8083-service.html。2026-10-27） ---------- */
/* 頭：ことば（左）と写真（右）。スマホは写真が下 */
#postContent .ow-service-hero-cols { gap: 32px 48px; margin: 0; }
#postContent .ow-service-hero .wp-block-buttons { margin-top: 24px; }
#postContent p.ow-since { font-size: 13px; color: var(--ow-usucha); margin-top: 16px; }
/* 写真（ルールブック 4：角 6px・影なし） */
#postContent .ow-photo { margin: 0; }
#postContent .ow-photo img { width: 100%; height: auto; border-radius: var(--ow-r); display: block; }
/* これまでに聞いてきた声（吹き出し。ルールブック 6：枠は線だけ。相談員だけ右に寄せ、うすみどりの地） */
#postContent .ow-fuki { position: relative; max-width: 560px; margin: 0 0 20px !important; padding: 16px 20px; border: 1px solid var(--ow-sen); border-radius: var(--ow-r); background: var(--ow-shiro); }
#postContent .ow-fuki::after { content: ""; position: absolute; left: 24px; bottom: -7px; width: 12px; height: 12px; background: inherit; border-right: 1px solid var(--ow-sen); border-bottom: 1px solid var(--ow-sen); transform: rotate(45deg); }
#postContent .ow-fuki p { margin: 0; font-size: 15px; }
#postContent .ow-fuki p.ow-fuki-who { font-size: 12px; font-weight: 700; color: var(--ow-usucha); margin-bottom: 4px; }
#postContent .ow-fuki-staff { margin-left: auto !important; background: var(--ow-usumidori); border-color: var(--ow-usumidori); }
#postContent .ow-fuki-staff::after { left: auto; right: 24px; border-color: var(--ow-usumidori); }
#postContent .ow-fuki-staff p.ow-fuki-who { color: var(--ow-koimidori); }
/* 3つの特徴（同じ種類のものを 3 つ並べる。枠・影なし） */
#postContent .ow-features { gap: 40px 32px; margin-top: 32px; }
#postContent .ow-feature > * + * { margin-top: 12px; }
#postContent p.ow-num { font-family: var(--ow-gothic); font-weight: 300; font-size: 40px; line-height: 1; color: var(--ow-kazumidori); margin-top: 16px; }
#postContent h3.ow-feature-h { font-size: 18px; line-height: 1.6; margin: 8px 0 0; padding: 0; border: 0; background: none; color: var(--ow-kogecha); }
#postContent h3.ow-feature-h::before, #postContent h3.ow-feature-h::after { display: none !important; }
#postContent .ow-feature p:not(.ow-num):not(.ow-labels) { font-size: 15px; }
#postContent mark.ow-mark { background: linear-gradient(transparent 58%, var(--ow-marker) 58%); color: inherit; font-weight: 700; padding: 0; }
/* ラベル（ルールブック 6：うすみどり地＋こいみどりの文字、まるい） */
#postContent p.ow-labels { display: flex; flex-wrap: wrap; gap: 6px; }
#postContent p.ow-labels span { background: var(--ow-usumidori); color: var(--ow-koimidori); font-size: 12px; font-weight: 700; border-radius: var(--ow-pill); padding: 2px 12px; line-height: 1.7; }
/* 料金 */
#postContent .ow-price { text-align: center; background: var(--ow-shiro); border-radius: var(--ow-r); padding: 24px 16px; margin-top: 32px !important; }
#postContent .ow-price p { margin: 0; }
#postContent p.ow-price-per { font-size: 14px; font-weight: 700; }
#postContent p.ow-price-yen { font-family: var(--ow-gothic); font-weight: 300; font-size: 48px; line-height: 1.3; color: var(--ow-kogecha); }
#postContent p.ow-price-yen small { font-size: 18px; font-weight: 700; margin-left: 4px; }
#postContent p.ow-price-note { font-size: 13px; color: var(--ow-usucha); margin-top: 8px; }
#postContent .ow-price + p.ow-facts { margin-top: 24px; }
#postContent .ow-price + p.ow-facts strong { font-size: 16px; }
#postContent .ow-band .ow-timeline + .wp-block-buttons { margin-top: 8px; }
/* 代表から：運営者ページへのリンク */
#postContent p.ow-more a { color: var(--ow-link); text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
#postContent p.ow-more a::after { content: " ›"; }
@media (min-width: 768px) {
	#postContent p.ow-num { font-size: 56px; }
	#postContent p.ow-price-yen { font-size: 64px; }
}

/* ---------- 記事の題名・見出し（8090 の記事と同じ。ルールブック 5：見出しの下にきいろの短い線＝幅 40px・太さ 4px。2026-10-27） ----------
   JIN:R の「見出しのデザイン」（H2 スタイル４・H3 スタイル１）の線の長さ・太さ・大きさだけを、記事のページで上書きする */
body.single #jinrPostTitle { font-size: 24px !important; line-height: 1.6 !important; letter-spacing: .03em; }
body.single #postContent h2.wp-block-heading { font-size: 22px !important; line-height: 1.6 !important; padding: 0 0 16px !important; }
body.single #postContent h2.wp-block-heading::before { display: none !important; } /* JIN:R の灰色の長い線（8090 にはない） */
body.single #postContent h2.wp-block-heading::after { width: 40px !important; height: 4px !important; left: 0 !important; bottom: 0 !important; border-radius: var(--ow-pill) !important; background: var(--ow-kiiro) !important; }
body.single #postContent h3.wp-block-heading { font-size: 19px !important; line-height: 1.6 !important; padding: 0 0 0 12px !important; border-left: 4px solid var(--ow-kiiro) !important; background: none !important; }
body.single #postContent h3.wp-block-heading::before, body.single #postContent h3.wp-block-heading::after { display: none !important; }
@media (min-width: 768px) {
	body.single #jinrPostTitle { font-size: 30px !important; }
	body.single #postContent h2.wp-block-heading { font-size: 26px !important; }
	body.single #postContent h3.wp-block-heading { font-size: 22px !important; }
}

/* ---------- 記事の一覧の文字（JIN:R の記事リスト：トップ・記事一覧・カテゴリ・検索。2026-10-27） ----------
   JIN:R のままだと題名 10.5px・日付 8〜10px で小さすぎた。題名は 8090 と同じ 15px（PC 16px）、日付はルールブック 3 の 13px */
/* JIN:R の .d--postlist-rectangle-sp .a--post-title（!important）より強くするため、クラスを 2 回書く */
body .a--post-title.a--post-title { font-size: 15px !important; line-height: 1.7 !important; display: block !important; -webkit-line-clamp: unset !important; overflow: visible !important; max-height: none !important; } /* 題名を「…」で切らない（8090 と同じ） */
body .a--post-date.a--post-date, body .a--post-date.a--post-date time { font-size: 13px !important; }
@media (min-width: 768px) { body .a--post-title.a--post-title { font-size: 16px !important; } }

/* ---------- ヘッダー（8090 と同じ。2026-10-27） ----------
   ロゴはカスタマイザー「ロゴ画像」に、丸いアイコン＋「親子ウェルステ」の画像（ow-header-logo-8090.png）を入れる。
   スマホ（768px 未満）はヘッダーの虫めがねを出さない（検索は下のメニュー「さがす」から。8090 と同じ） */
@media (max-width: 767px) { #headerSearch { display: none !important; } }
/* 三本線（ハンバーガー）はこげちゃ（8090 と同じ）。カスタマイザー「ヘッダーメニューの色」はメニューのボタンのきいろに使うので、三本線だけここで変える */
#commonHeader .a--menu-bar { background: var(--ow-kogecha) !important; }
/* PC の上のメニュー：きいろの地＋こげちゃの太字のまるいボタン（8090 と同じ。メニューの項目に CSS クラスを付けなくてもこの形になる）。いまいるページはみどり */
#commonHeader #globalMenuList > li > a { background: var(--ow-kiiro) !important; color: var(--ow-kogecha) !important; border: 0 !important; border-radius: var(--ow-pill) !important; padding: 6px 16px !important; font-weight: 700; line-height: 1.6; text-decoration: none; }
#commonHeader #globalMenuList > li > a:hover, #commonHeader #globalMenuList > li.current-menu-item > a { background: var(--ow-midori) !important; }

/* ---------- トップの結び：前のロゴ（ロゴ3.jpg）をサイトの名札として置く（2026-10-27） ---------- */
#postContent .ow-closing-logo { max-width: 280px; margin: 0 auto 24px !important; }
#postContent .ow-closing-logo img { width: 100%; height: auto; border-radius: var(--ow-r); }
@media (min-width: 768px) { #postContent .ow-closing-logo { max-width: 320px; } }

/* ---------- ui-ux-pro-max の点検で直した所（2026-10-27：文字と地の色の差 4.5 以上・押せる所 44px 以上） ---------- */
/* 記事の囲みの題名（JIN:R シンプルボックス）・記事の下のプロフィールの見出し：みどり／きいろの地に白い文字（1.5）→ こげちゃ（6.0。ルールブック 2） */
#postContent .a--simple-box-title, .jinr-profile-label, .jinr-profile-label span { color: var(--ow-kogecha) !important; }
/* フッターのリンク（ウィジェットのリンク集・JIN:R のフッターメニュー）とお知らせバーの「くわしく」を、指で押しやすい高さに */
#commonFooter .ow-footer li a, #footerMenuList a { display: inline-flex !important; align-items: center; min-height: 44px; }
.c--informationbar .a--button-hover a { display: inline-flex !important; align-items: center; min-height: 44px; }

/* =====================================================================================
   見やすさ（弱視の方への配慮：WCAG 2.2 の AAA＝文字と地の色の差 7 以上）と、表示モード（自動／ライト／ダーク）・文字の大きさ。2026-10-27
   - 色の値は design/ルールブック.md 2 章（版 1.3）の「見やすさのための色」「暗い表示」
   - 表示モード：ふだんは「自動」＝端末の設定（ライト／ダーク）に合わせる。ハンバーガーメニューの中で切りかえられる（redesign.js）
   - 文字の大きさ：標準／大／特大（同じくハンバーガーメニューの中）
   ===================================================================================== */
:root {
	--ow-kogecha: #514829;   /* 本文（地との差 8.9） */
	--ow-on-accent: #3d3520; /* きいろ・みどり・お知らせの地の上の文字（8.0） */
	--ow-usucha: #574a31;    /* 日付・注釈（地 8.5・うすみどり 7.8） */
	--ow-link: #00506a;      /* リンク（地 8.7・うすみどり 8.0） */
	--ow-koimidori: #2f5513; /* ラベルの文字（8.5） */
	--ow-kazumidori: #3d6b1a;/* 大きな数字（28px 以上。6.2） */
	--ow-error: #962015;     /* エラー（8.4） */
	--ow-field-line: #8a7a5e;/* 入力欄の線（白との差 4.2。線は 3 以上） */
	--ow-oshirase: #fcb200;
	--ow-focus: #3d3520;     /* キーボードで操作しているときの枠 */
	color-scheme: light;
}
/* 暗い表示（8090 と同じ色）。端末がダークで「自動」のとき、または「ダーク」を選んだとき */
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--ow-kiiro: #e0b400; --ow-kogecha: #efe6d6; --ow-on-accent: #1f1b14; --ow-usucha: #c9bda6; --ow-midori: #a1e549;
		--ow-koimidori: #a8dd7c; --ow-kazumidori: #a8dd7c; --ow-usumidori: #26331c; --ow-marker: #3c5a2a; --ow-ji: #1f1b14;
		--ow-header-ji: #24201a; --ow-usukiiro: #2b261d; --ow-shiro: #29241c; --ow-sen: #463d2f; --ow-link: #7ccfe8;
		--ow-error: #ff9b8f; --ow-field-line: #857660; --ow-oshirase: #c98f00; --ow-focus: #e0b400; color-scheme: dark;
	}
}
:root[data-theme="dark"] {
	--ow-kiiro: #e0b400; --ow-kogecha: #efe6d6; --ow-on-accent: #1f1b14; --ow-usucha: #c9bda6; --ow-midori: #a1e549;
	--ow-koimidori: #a8dd7c; --ow-kazumidori: #a8dd7c; --ow-usumidori: #26331c; --ow-marker: #3c5a2a; --ow-ji: #1f1b14;
	--ow-header-ji: #24201a; --ow-usukiiro: #2b261d; --ow-shiro: #29241c; --ow-sen: #463d2f; --ow-link: #7ccfe8;
	--ow-error: #ff9b8f; --ow-field-line: #857660; --ow-oshirase: #c98f00; --ow-focus: #e0b400; color-scheme: dark;
}

/* JIN:R 本体の地の色・文字の色を、上の色にそろえる（カスタマイザーで決めた色は、明るい表示ではそのまま同じ色） */
html body { background-color: var(--ow-ji) !important; color: var(--ow-kogecha) !important; }
.o--jinr-mainvisual, #mainContent, #jinrArticle, .c--jinr-post-content { background-color: var(--ow-ji) !important; }
#commonFooter { background-color: var(--ow-usukiiro) !important; }
#jinrRelatedPost, #jinrRelatedPostsection { background-color: var(--ow-usumidori) !important; } /* 関連記事の帯。JIN:R の id は #jinrRelatedPost（2026-11-18 に足した。それまで暗い表示でも明るい緑のままだった） */
.o--informationbar, .c--informationbar { background: var(--ow-oshirase) !important; }
.o--informationbar *, .c--informationbar * { color: var(--ow-on-accent) !important; }
#searchFormText, #JinrSearchSubmit, input[type="text"], input[type="email"], input[type="search"], input[type="tel"], textarea, select {
	background-color: var(--ow-shiro) !important; color: var(--ow-kogecha) !important; border: 1.5px solid var(--ow-field-line) !important;
}
/* 文字の色：JIN:R が決めているこげちゃを、表示モードに合わせる */
body :is(h1, h2, h3, h4, h5, h6, p, li, dt, dd, th, td, span, strong, b, small, label, summary, figcaption, cite, blockquote, time, div):not([class*="jif"]):not([class*="jin-ifont"]):not(.wp-block-button *):not(#globalMenuList *) { color: var(--ow-kogecha); }
.a--post-date, .a--post-date time, .a--post-category, .ow-lead, p.ow-since, p.ow-price-note { color: var(--ow-usucha) !important; opacity: 1 !important; }
/* きいろ・みどりの地の上の文字は、どの表示でも暗い色（ボタン・メニューのボタン・黄色い帯・タブ・タイムラインの番号） */
.wp-block-button:not(.ow-btn-line):not(.is-style-outline):not(.ow-btn-sub):not(.ow-btn-white) .wp-block-button__link,
#commonHeader #globalMenuList > li > a, .ow-cat-tabs .is-current .wp-block-button__link, .ow-band-kiiro, .ow-band-kiiro :is(p, h2, h3, cite, span, strong, small),
#postContent ol.ow-timeline .ow-tl-n, #postContent details.ow-finder[open] > summary, #postContent details.ow-finder[open] > summary * {
	color: var(--ow-on-accent) !important;
}
.wp-block-button.ow-btn-white .wp-block-button__link { background: var(--ow-shiro) !important; color: var(--ow-kogecha) !important; }
/* 記事の中のリンクは下線つき（色だけで見分けない。WCAG 1.4.1）。ボタンは除く */
#postContent a:not(.wp-block-button__link):not([class*="a--"]):not([class*="c--"]) { color: var(--ow-link) !important; text-decoration: underline !important; text-underline-offset: 3px; }
/* 記事のマーカー（JIN:R のマーカー1）：JIN:R はカスタマイザーの色 #d2f7c3 をそのまま書くので、暗い表示でも明るい緑のまま明るい文字と重なって読めなかった。
   表示モードに合わせてルールブックのマーカー（明るい表示 #d2f7c3／暗い表示 #3c5a2a）にする（2026-11-18） */
.d--marker1 { background: linear-gradient(transparent 60%, var(--ow-marker) 60%) !important; }

/* ホーム「ご支援いただいた皆さま」：画像の下にお名前を文字で（弱視の方も読めるように）。● はきいろ（ルールブック 6）、PC は 2 列（2026-11-18） */
.ow-thanks .ow-thanks-names { margin: 24px 0 0 !important; padding: 0 !important; list-style: none !important; display: grid; gap: 4px 24px; }
.ow-thanks .ow-thanks-names li { position: relative; padding-left: 1.3em !important; margin: 0 !important; line-height: 1.9; }
.ow-thanks .ow-thanks-names li::before { content: "●"; position: absolute; left: 0; top: 0; color: var(--ow-kiiro); font-size: .8em; line-height: 2.4; }
.ow-thanks .ow-thanks-names + p { margin-top: 16px !important; }
@media (min-width: 600px) { .ow-thanks .ow-thanks-names { grid-template-columns: 1fr 1fr; } }

/* ---------- 記事の下（モックアップ article.css の .author・.share・.related に合わせる。2026-11-18） ---------- */
/* この記事を書いた人：JIN:R のプロフィール（カスタマイザー「プロフィール」の名前・肩書・紹介文・ラベル）。上下に線、絵はなし */
#postContent .jinr-profile-label { margin: 40px 0 0 !important; padding: 16px 0 0 !important; border-top: 1px solid var(--ow-sen); font-size: 13px !important; }
#postContent .jinr-profile-label::before { display: none !important; }
#postContent .jinr-profile-label span { position: static !important; display: block; background: none !important; padding: 0 !important; color: var(--ow-usucha) !important; font-weight: 400; letter-spacing: .04em; }
#postContent .b--jinr-profile { margin: 4px 0 0 !important; padding: 0 0 16px !important; border-bottom: 1px solid var(--ow-sen); }
#postContent .b--jinr-profile .o--profile-contents { display: block !important; padding: 0 !important; }
/* プロフィール画像を入れていないとき（JIN:R の仮の画像）は出さない。画像を入れれば出る */
#postContent .b--jinr-profile .a--profile-image:has(img[src*="image_setting.png"]) { display: none !important; }
#postContent .b--jinr-profile .a--profile-name { font-size: 17px !important; letter-spacing: .04em !important; color: var(--ow-kogecha) !important; }
#postContent .b--jinr-profile .a--profile-job { font-size: 13px !important; letter-spacing: .04em !important; color: var(--ow-usucha) !important; }
#postContent .b--jinr-profile .a--profile-introduction { margin-top: 8px !important; font-size: 15px !important; line-height: 1.9 !important; letter-spacing: .04em !important; text-align: left !important; }
/* シェア：X・LINE・URL コピーだけ（Facebook と「SHARE」の英語は出さない）。線だけのまるいボタン、押せる大きさ 44px */
#snsShareBottom { border: 0 !important; padding: 16px 0 0 !important; background: transparent !important; }
#snsShareBottom ul.o--sns-share-inner { justify-content: flex-start !important; gap: 8px; }
#snsShareBottom #snsShareLabel, #snsShareBottom li:has(> a.d--facebook) { display: none !important; }
#snsShareBottom li { flex: 0 0 auto !important; width: auto !important; margin: 0 !important; border: 0 !important; }
#snsShareBottom li > a { width: 44px !important; height: 44px !important; display: grid !important; place-items: center; border-radius: var(--ow-pill) !important; border: 1px solid var(--ow-field-line) !important; background: var(--ow-shiro) !important; color: var(--ow-kogecha) !important; }
#snsShareBottom li > a i { font-size: 18px !important; color: var(--ow-kogecha) !important; }
#snsShareBottom li > a:hover { border-color: var(--ow-kiiro) !important; }
/* あわせて読みたい：見出しは左そろえ、下にきいろの短い線（ルールブック 5）。サブタイトルと左右の線は出さない */
.c--relatedpost-headline { text-align: left !important; margin-bottom: 16px !important; }
.c--relatedpost-headline .a--relatedpost-maincopy { display: block !important; font-family: var(--ow-gothic) !important; font-size: 19px !important; font-weight: 700 !important; letter-spacing: .04em !important; color: var(--ow-kogecha) !important; }
.c--relatedpost-headline .a--relatedpost-maincopy::before { display: none !important; }
.c--relatedpost-headline .a--relatedpost-maincopy::after { width: 40px !important; height: 4px !important; background: var(--ow-kiiro) !important; border-radius: var(--ow-pill); display: block !important; margin: 10px 0 0 !important; }
.c--relatedpost-headline .a--relatedpost-subcopy { display: none !important; }
/* 記事の頭のカテゴリ（きいろの文字だった）：ルールブック 6 のラベル（うすみどり地＋こいみどりの文字、まるい） */
.a--post-cat a { display: inline-flex !important; align-items: center; min-height: 32px; padding: 0 12px !important; border-radius: var(--ow-pill); background: var(--ow-usumidori) !important; color: var(--ow-koimidori) !important; font-size: 13px !important; font-weight: 700; text-decoration: none !important; }
/* キーボードで操作しているときの枠（WCAG 2.4.7・2.4.13：太さ 3px、地との差 3 以上） */
:focus-visible { outline: 3px solid var(--ow-focus) !important; outline-offset: 2px !important; }
/* 動きを減らす設定の人には、動きを止める */
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ヘッダーのロゴ：暗い表示では文字が明るい版にする（メディアの ow-header-logo-8090-dark.png。この CSS から見た場所で書く） */
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) #headerLogoImage { content: url("../../../uploads/2026/11/ow-header-logo-8090-dark.png"); } }
:root[data-theme="dark"] #headerLogoImage { content: url("../../../uploads/2026/11/ow-header-logo-8090-dark.png"); }

/* 文字の大きさ（大＝1.125 倍、特大＝1.25 倍）。本文・ページの中身・フッター */
:root[data-size="l"] #mainContent, :root[data-size="l"] #commonFooter { zoom: 1.125; }
:root[data-size="xl"] #mainContent, :root[data-size="xl"] #commonFooter { zoom: 1.25; }

/* ハンバーガーメニューの中の「表示の切りかえ」（redesign.js が入れる） */
.ow-display { margin: 24px 0 8px; padding: 16px; border-top: 1px solid var(--ow-sen); display: grid; gap: 16px; }
.ow-display fieldset { border: 0; margin: 0; padding: 0; }
.ow-display legend { font-size: 14px; font-weight: 700; color: var(--ow-kogecha); margin-bottom: 8px; padding: 0; }
.ow-display .ow-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ow-display .ow-seg button {
	min-height: 44px; border-radius: var(--ow-pill); border: 1.5px solid var(--ow-field-line); background: var(--ow-shiro);
	color: var(--ow-kogecha); font: 700 14px/1.3 var(--ow-gothic); cursor: pointer;
}
.ow-display .ow-seg button[aria-pressed="true"] { background: var(--ow-kiiro); border-color: var(--ow-kiiro); color: var(--ow-on-accent); }
.ow-display .ow-hint { font-size: 13px; color: var(--ow-usucha); margin: 6px 0 0; }

/* お知らせバー「元教員に40分、相談できます　くわしく」：1 行・高さ 44px（8090 は 36px。「くわしく」を指で押せる 44px にしたぶん高い）
   「くわしく」の色は、暗い表示でも黄色の地の上なので暗い色 */
html body .o--informationbar { padding: 0 !important; min-height: 0 !important; }
html body .o--informationbar .c--informationbar { padding: 0 16px !important; min-height: 44px !important; margin: 0 auto !important; flex-wrap: nowrap; justify-content: center; align-items: center; }
html body .o--informationbar .c--informationbar .b--jinr-button a { padding: 0 4px !important; min-height: 44px; line-height: 1.5; color: var(--ow-on-accent) !important; }

/* 表示モードの切りかえ「自動・太陽・月」（8090 と同じ形）。パソコンはヘッダーの検索の左、スマホはハンバーガーメニューの中（redesign.js が入れる） */
.ow-theme-switch { display: inline-flex; align-items: center; flex: 0 0 auto; border: 1px solid var(--ow-sen); border-radius: var(--ow-pill); padding: 2px; background: var(--ow-ji); }
.ow-theme-switch button {
	position: relative; border: 0; background: transparent; cursor: pointer; color: var(--ow-usucha); height: 32px; min-width: 32px; padding: 0 8px;
	border-radius: var(--ow-pill); display: inline-flex; align-items: center; justify-content: center; gap: 4px; font: 700 12px/1 var(--ow-gothic); white-space: nowrap;
}
.ow-theme-switch button::after { content: ""; position: absolute; left: 0; right: 0; top: -6px; bottom: -6px; } /* 押せる範囲は縦 44px */
.ow-theme-switch svg { width: 17px; height: 17px; }
.ow-theme-switch button span, .ow-theme-switch button[data-mode="auto"] svg { display: none; }
.ow-theme-switch button[data-mode="auto"] span { display: inline; }
.ow-theme-switch button[aria-checked="true"] { background: var(--ow-kiiro); color: var(--ow-on-accent); }
#commonHeader .ow-theme-switch { margin: 0 12px 0 8px; }
@media (max-width: 767px) { #commonHeader .ow-theme-switch { display: none; } }
.ow-display .ow-theme-switch { display: flex; width: 100%; }
.ow-display .ow-theme-switch button { flex: 1; height: 44px; font-size: 14px; }
.ow-display .ow-theme-switch button::after { content: none; }
.ow-display .ow-theme-switch button span, .ow-display .ow-theme-switch button[data-mode="auto"] svg { display: inline; }
/* 上の「文字の色」の決まり（span・p をこげちゃ）より、ボタンの色を優先する */
.ow-theme-switch button span { color: inherit !important; }
.ow-display p.ow-hint { color: var(--ow-usucha) !important; }
/* ハンバーガーメニューの地：すりガラス（白 75%）では暗い表示で文字が読めないので、ヘッダーと同じ色でぬる */
#commonHeader .ow-display .ow-theme-switch { display: flex; }
#owHamburgerPanel { background: var(--ow-header-ji) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
#owHamburgerPanel #hamburgerMenuList a, #owHamburgerPanel .a--hamburger-menu-title { color: var(--ow-kogecha) !important; }
#owHamburgerPanel #hamburgerMenuList li { border-color: var(--ow-sen) !important; }
/* 点検で 7 に足りなかった所（2026-10-27） */
/* お知らせバーの文字：きいろの地（明るい表示 #fcb200・暗い表示 #c98f00）の上で 7 以上（9.4／7.4） */
:root { --ow-on-oshirase: #1f1b14; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --ow-on-oshirase: #000; } }
:root[data-theme="dark"] { --ow-on-oshirase: #000; }
html body .o--informationbar *, html body .o--informationbar .c--informationbar .b--jinr-button a { color: var(--ow-on-oshirase) !important; }
/* トップの写真の下の「相談について」（JIN:R のボタン。みどりの地にこげちゃ 6.0 → 8.0） */
.c--stillimage-contents .d--button-solid a { color: var(--ow-on-accent) !important; }
/* LINE のボタン：白い文字は LINE の緑との差 2.3 で読みにくいので、暗い文字（7.6） */
.wp-block-button.ow-btn-line .wp-block-button__link, .wp-block-button.ow-btn-line .wp-block-button__link:hover { color: #1f1b14 !important; }
/* トップのカテゴリのタブ（えらんでいないもの）：地は白なので、文字はこげちゃ（暗い表示で 1.1 だった） */
.ow-cat-tabs .wp-block-button:not(.is-current) .wp-block-button__link { color: var(--ow-kogecha) !important; }

/* 相談の流れ（1 分でわかる、相談の流れ）の丸：「5分ほど」「LINEで」が丸からはみ出していたので、丸を 56px にして 1 行で収める */
#postContent ol.ow-timeline > li { grid-template-columns: 56px 1fr; }
#postContent ol.ow-timeline > li:not(:last-child)::after { left: 27px; top: 56px; }
#postContent ol.ow-timeline .ow-tl-n { width: 56px; height: 56px; padding: 0 2px; letter-spacing: 0 !important; white-space: nowrap; font-size: 12px; }

/* 文字の大きさ「大」「特大」：中身を拡大（zoom）すると、画面いっぱいの色の帯（50vw で広げている）も拡大されて
   画面の外にはみ出していた。帯の広げ方を拡大の倍率で割って、画面の幅に収める */
:root[data-size="l"] { --ow-z: 1.125; }
:root[data-size="xl"] { --ow-z: 1.25; }
:root[data-size] .ow-band {
	margin-left: calc(50% - 50vw / var(--ow-z, 1)) !important; margin-right: calc(50% - 50vw / var(--ow-z, 1)) !important; max-width: calc(100vw / var(--ow-z, 1)) !important;
}
:root[data-size] #mainContent, :root[data-size] #commonFooter { overflow-x: clip; }

/* ハンバーガーメニュー：ボタン（右上）の側から出す。スマホ・タブレット・パソコンとも右に寄せる（8090 と同じ：幅 320px、画面の 86% まで）
   左の残りはうす暗くして、押すと閉じる（redesign.js） */
#owHamburgerPanel { left: auto !important; right: 0 !important; width: min(320px, 86vw) !important; max-width: none !important; overflow-y: auto; border-left: 1px solid var(--ow-sen); }
#owHamburgerPanel .o--hamburger-menu-inner { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0 16px !important; }
.ow-hb-shade { display: none; position: fixed; inset: 0; z-index: 399; background: rgba(40, 30, 10, .5); }
html.js--hamburger-hidden .ow-hb-shade { display: block; }

/* トップの「新しい記事」のしぼりこみ（redesign.js）：記事がないときだけ、ことわりとカテゴリのページへのリンクを出す */
.ow-cat-status { margin: 0; font-size: 15px; color: var(--ow-kogecha); text-align: center; }
.ow-cat-status:not(.is-empty) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ow-cat-status.is-empty { padding: 24px 0; }
.ow-cat-status a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 8px; }
/* ブログ記事・カテゴリのページの一覧の前の「カテゴリの説明（○本）」（redesign.js。8090 と同じ） */
.ow-cat-lead { font-size: 15px; color: var(--ow-usucha) !important; margin: 0 0 16px !important; }
/* ブログ記事のページ：カテゴリのボタンと「すべての記事を…」のあいだを、モックアップと同じ 32px に（ボタンの下 16px＋本文の上 16px）。
   前は JIN:R の本文の上の余白（スマホ 18px・PC 45px）に 32px が足されて、スマホ 66px・PC 93px あいていた（2026-11-18） */
body.blog #mainContentInner { padding-top: 16px !important; }
/* カテゴリのボタン：えらんでいないものは「記事をもっと見る」と同じ形（線だけ・こげちゃの 1px の線と文字）。えらんでいるものはきいろでぬる */
.ow-cat-tabs .wp-block-button .wp-block-button__link { min-height: 44px; padding: 6px 20px !important; font-size: 15px !important; font-weight: 700; border-radius: var(--ow-pill) !important; }
.ow-cat-tabs .wp-block-button.ow-tab:not(.is-current) .wp-block-button__link.wp-element-button { background: transparent !important; border: 1px solid var(--ow-kogecha) !important; color: var(--ow-kogecha) !important; }
.ow-cat-tabs .wp-block-button:not(.is-current) .wp-block-button__link:hover { background: var(--ow-usukiiro) !important; }
.ow-cat-tabs .wp-block-button.is-current .wp-block-button__link { background: var(--ow-kiiro) !important; border: 1px solid var(--ow-kiiro) !important; color: var(--ow-on-accent) !important; }

/* 相談ページ「これまでに聞いてきた声」の吹き出し：8090 と同じく、左（相談員は右）に丸いアイコンと名前を出す（2026-10-27）
   アイコンは CSS で描く（保護者＝人のマーク、相談員＝代表の似顔絵 mo2）。管理画面では今までどおり、グループ ow-fuki（相談員は ow-fuki-staff）に「名前」と「ことば」の段落を入れるだけ */
/* アイコンを入れた全体の幅は 680px（8090 と同じ）で、まん中に置く */
#postContent .ow-fuki { max-width: 612px; margin: 0 auto 28px max(68px, calc(50% - 272px)) !important; }
#postContent .ow-fuki-staff { margin: 0 max(68px, calc(50% - 272px)) 28px auto !important; }
#postContent .ow-fuki::before { content: ""; position: absolute; top: 0; left: -68px; width: 52px; height: 52px; box-sizing: border-box; border-radius: 50%; background: var(--ow-usukiiro); border: 1px solid var(--ow-sen); }
#postContent .ow-fuki-staff::before { left: auto; right: -68px; background: var(--ow-shiro) url("../../../uploads/2025/01/mo2-1024x256.png") 50% 30% / 360% auto no-repeat; border: 2px solid var(--ow-kiiro); }
#postContent .ow-fuki p.ow-fuki-who { position: absolute; top: 56px; left: -70px; width: 56px; margin: 0; text-align: center; font-size: 12px; line-height: 1.3; color: var(--ow-usucha) !important; }
#postContent .ow-fuki-staff p.ow-fuki-who { left: auto; right: -70px; }
#postContent .ow-fuki:not(.ow-fuki-staff) p.ow-fuki-who::before {
	content: ""; position: absolute; left: 13px; top: -44px; width: 30px; height: 30px; background: var(--ow-usucha);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3Cpath d='M6 21v-2a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v2'/%3E%3C/svg%3E") center / contain no-repeat;
}
/* しっぽはアイコンの方へ向ける */
#postContent .ow-fuki::after { left: -7px; right: auto; top: 20px; bottom: auto; border: 0; border-left: 1px solid var(--ow-sen); border-bottom: 1px solid var(--ow-sen); }
#postContent .ow-fuki-staff::after { left: auto; right: -7px; border: 0; border-right: 1px solid var(--ow-usumidori); border-top: 1px solid var(--ow-usumidori); }

/* 色の帯の中で、JIN:R が幅を 680px にしぼったもの（「いま、お子さんはどんな様子ですか」などの見出し・代表のことばの引用・相談でできることのリスト）が
   左に寄っていたので、まん中に置く。文字のそろえ方（まん中・左）はそのまま。吹き出し（ow-fuki）は左右の位置を決めているので除く */
#postContent .ow-band > .wp-block-group__inner-container > :not(.ow-fuki) { margin-left: auto !important; margin-right: auto !important; }

/* ---------- 影は使わない（ルールブック 4） ---------- */
.b--jinr-postlist .o--postlist-item, .b--jinr-postlist .o--postlist-item:hover, .o--postlist-item .c--post-thumbnail { box-shadow: none !important; }
.d--postlist-hover-up:hover { transform: none !important; }
