@charset "utf-8";
/* ----------------------------------------
 * みんなのこえと八尾市の考え（/kodomoiken/kangae/）
 * Figma: 八尾っこ node 2005:42 / 2026-09-24（2026-10-29・2026-11-04 先方フィードバック反映）
 * PCの文字サイズは「文字の大きさ」ボタン（#contents を 90/100/120% にする）に合わせて変わるよう em で指定。
 * calc(16em / 15.2) = 標準(100%)の #contents 15.2px のとき 16px。
 * ---------------------------------------- */
#kodomokoe {
	width: 641px;
	margin: 0 auto 40px;
	border-style: solid;
	border-width: 16px 12px 40px 12px;
	border-image: url(../img/contents/add/kodomokoe/frame.png) 16 12 40 12 fill repeat;
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "メイリオ", Meiryo, sans-serif;
	font-weight: bold;
	color: #000;
}
#kodomokoe .kk_inner {
	width: 604px;
	margin: 38px 0 0 24px;
	padding: 35px 0 60px;
	background: #f5efd9;
	box-shadow: 0 0 0 1px #ece2c4, 3px 3px 4px rgba(0, 0, 0, .12);
}
#contents #kodomokoe p,
.sp_wrap #kodomokoe p {
	margin: 0;
	font-family: inherit;
	font-size: calc(16em / 15.2);
	line-height: 1.71;
	letter-spacing: .05em;
}
#kodomokoe a {
	text-decoration: none;
}

/* 見出し（みんなのこえと八尾市の考え） */
#contents #kodomokoe .kk_title,
.sp_wrap #kodomokoe .kk_title {
	margin: 0 14px 0 16px;
	padding: 5px 0 4px;
	background: #fff;
	border: 4px solid #eedab9;
	border-radius: 10px;
	color: #8f662e;
	font-size: calc(19em / 15.2);
	line-height: 1.44;
	letter-spacing: .05em;
	text-align: center;
}

/* 案内文（気になるグループをクリックしてみよう！） */
#contents #kodomokoe .kk_lead,
.sp_wrap #kodomokoe .kk_lead {
	margin: 26px 0 0;
	color: #8f662e;
	text-align: center;
}

/* カテゴリボタン */
#kodomokoe .kk_nav {
	display: flex;
	flex-wrap: wrap;
	gap: 30px 19px;
	margin: 18px 0 0 20px;
	padding: 0;
	list-style: none;
}
#kodomokoe .kk_nav li {
	width: 175px;
	margin: 0;
	padding: 0;
	list-style: none;
	background: none;
}
#kodomokoe .kk_nav li:nth-child(3n+2) {
	width: 176px;
}
#kodomokoe .kk_nav label {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 60px;
	background: #fff;
	border: 3px solid #c9965c;
	border-radius: 8px;
	box-shadow: 0 4px 0 #c9965c;
	color: #8f662e;
	font-size: calc(15em / 15.2);
	letter-spacing: .05em;
	cursor: pointer;
}
#kodomokoe .kk_nav label:hover {
	background: #fff4e3;
}

/* タブ切替（ラジオ＋:checked。選択中のカテゴリだけ表示） */
/* ラジオは画面に固定して隠す（absoluteだとボタンを押したときフォーカスで上へスクロールする） */
#kodomokoe .kk_tab {
	position: fixed;
	top: 50%;
	left: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	opacity: 0;
	pointer-events: none;
}
#kodomokoe .kk_cat {
	display: none;
}
#tab_kk_park:checked ~ #kk_park,
#tab_kk_school:checked ~ #kk_school,
#tab_kk_safety:checked ~ #kk_safety,
#tab_kk_town:checked ~ #kk_town,
#tab_kk_human:checked ~ #kk_human,
#tab_kk_other:checked ~ #kk_other {
	display: block;
}
#tab_kk_park:checked ~ .kk_nav label[for="tab_kk_park"],
#tab_kk_school:checked ~ .kk_nav label[for="tab_kk_school"],
#tab_kk_safety:checked ~ .kk_nav label[for="tab_kk_safety"],
#tab_kk_town:checked ~ .kk_nav label[for="tab_kk_town"],
#tab_kk_human:checked ~ .kk_nav label[for="tab_kk_human"],
#tab_kk_other:checked ~ .kk_nav label[for="tab_kk_other"] {
	background: #e9648b;
	border-color: #e9648b;
	box-shadow: none;
	transform: translateY(4px);
	color: #fff;
}

/* カテゴリ見出し（ピンク枠） */
#kodomokoe .kk_cat {
	padding-top: 50px;
}
#contents #kodomokoe .kk_cat_title,
.sp_wrap #kodomokoe .kk_cat_title {
	box-sizing: border-box;
	width: 379px;
	margin: 0 auto;
	padding: 12px 0 12px;
	background: #fff;
	border: 6px solid #fbd1df;
	border-radius: 30px;
	color: #8f662e;
	font-size: calc(15em / 15.2);
	line-height: 1.824;
	letter-spacing: .05em;
	text-align: center;
}

/* 意見ブロック */
#kodomokoe .kk_item {
	width: 526px;
	margin: 43px 0 0 33px;
}
#kodomokoe .kk_item + .kk_item {
	margin-top: 87px;
}
#kodomokoe .kk_who {
	display: flex;
	align-items: center;
}
#kodomokoe .kk_who_icon {
	position: relative;
	flex: none;
	box-sizing: border-box;
	width: 100px;
	height: 100px;
	background: #fff;
	border: 1px solid #000;
	border-radius: 50%;
}
#kodomokoe .kk_who_icon img {
	position: absolute;
	display: block;
	max-width: none;
}
#contents #kodomokoe .kk_who_name,
.sp_wrap #kodomokoe .kk_who_name {
	font-size: calc(15em / 15.2);
	line-height: 1.824;
	letter-spacing: .05em;
}
/* こども側：名前＋アイコンを右寄せ */
#kodomokoe .kk_who.kids {
	justify-content: flex-end;
	padding-right: 16px;
}
#kodomokoe .kk_who.kids .kk_who_name {
	margin-top: 36px;
}
#kodomokoe .kk_who.kids .kk_who_icon img {
	left: 18.87px;
	top: 16.54px;
	width: 61.524px;
	height: auto;
}
/* 市側：アイコン＋名前を左寄せ */
#kodomokoe .kk_who.city {
	margin-top: 27px;
}
#kodomokoe .kk_who.city .kk_who_name {
	margin: 2px 0 0 8px;
}
/* PC：名前とアイコンの間隔を両側とも11px（スマホの8px × アイコン比100/72）。
 * テーマの #contents #kodomokoe p { margin:0 } より強くするため #contents を付ける */
#contents #kodomokoe .kk_who.kids .kk_who_name {
	margin-right: 11px;
}
#contents #kodomokoe .kk_who.city .kk_who_name {
	margin-left: 11px;
}
#kodomokoe .kk_who.city .kk_who_icon img {
	left: 9px;
	top: 8px;
	width: 74px;
	height: auto;
}
#kodomokoe .kk_who.city .kk_who_icon img.woman {
	left: 13.75px;
	top: 8px;
	width: 70.71px;
}

/* 吹き出し */
#kodomokoe .kk_voice,
#kodomokoe .kk_answer {
	position: relative;
	box-sizing: border-box;
	border-radius: 30px;
}
#kodomokoe .kk_voice {
	margin-top: 16px;
	padding: 35px 0 34px 25px;
	background: #fbd1df;
}
#kodomokoe .kk_voice::before {
	content: "";
	position: absolute;
	top: -16px;
	left: 475px;
	width: 23.451px;
	height: 26px;
	background: url(../img/contents/add/kodomokoe/tail_kids.png) no-repeat 0 0 / 100% 100%;
}
#kodomokoe .kk_answer {
	margin-top: 27px;
	padding: 23px 15px 18px 26px;
	background: #fff;
	border: 1px solid #000;
}
#kodomokoe .kk_answer::before {
	content: "";
	position: absolute;
	top: -18px;
	left: 25px;
	width: 23px;
	height: 22px;
	background: url(../img/contents/add/kodomokoe/tail_city.png) no-repeat 0 0 / 100% 100%;
}

/* 八尾市はこのように受け止めました */
#kodomokoe .kk_receive {
	box-sizing: border-box;
	margin-top: 32px;
	padding: 25px 9px 39px 18px;
	background: #fff;
	border: 7px solid #fbd1df;
}
#contents #kodomokoe .kk_receive_title,
.sp_wrap #kodomokoe .kk_receive_title {
	margin-bottom: 11px;
	color: #8f662e;
	font-size: calc(20em / 15.2);
	line-height: 1.368;
	letter-spacing: .05em;
	text-align: center;
}
/* テーマ共通の p span { color: red } を打ち消し、後ろの文字と同じ色にする */
#kodomokoe .kk_receive_title span {
	color: inherit;
}
#kodomokoe .kk_ready {
	color: #999;
}

/* 上に戻る */
#contents #kodomokoe .kk_pagetop,
.sp_wrap #kodomokoe .kk_pagetop {
	margin: 19px 8px 0 0;
	text-align: right;
	font-size: calc(21em / 15.2);
	line-height: calc(35 / 21);
}
#kodomokoe .kk_pagetop a {
	color: #8f662e;
	text-decoration: underline;
	letter-spacing: .05em;
}
#kodomokoe .kk_pagetop a:hover {
	opacity: .7;
}

/* 締めのことば（ページの一番下に1回だけ） */
#kodomokoe .kk_closing {
	box-sizing: border-box;
	width: 526px;
	margin: 70px 0 0 33px;
	padding: 23px 15px 18px 26px;
	background: #fff;
	border: 1px solid #000;
	border-radius: 30px;
}

/* ----------------------------------------
 * スマートフォン（テーマ yaokko_sp：.sp_wrap の中に入る）
 * ---------------------------------------- */
/* 上部のQ&Aバナー：width/height属性の高さが残らないよう比率を保って縮める */
.sp_wrap img.kk_banner {
	display: block;
	width: 100%;
	max-width: 663px;
	height: auto;
	margin: 0 auto;
}
.sp_wrap #kodomokoe {
	width: auto;
	margin: 15px 0 10px;
	border-width: 8px 6px 20px 6px;
}
.sp_wrap #kodomokoe .kk_inner {
	width: auto;
	margin: 12px 4px 0 4px;
	padding: 18px 10px 30px;
	box-shadow: 0 0 0 1px #ece2c4, 2px 2px 3px rgba(0, 0, 0, .12);
}
.sp_wrap #kodomokoe p {
	font-size: 14px;
	line-height: 1.95;
	letter-spacing: .03em;
}
.sp_wrap #kodomokoe .kk_title {
	margin: 0;
	padding: 4px 0;
	border-width: 3px;
	border-radius: 8px;
	font-size: 15px;
	letter-spacing: 0;
	line-height: 1.7;
}
.sp_wrap #kodomokoe .kk_nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin: 18px 0 0;
}
.sp_wrap #kodomokoe .kk_nav li,
.sp_wrap #kodomokoe .kk_nav li:nth-child(3n+2) {
	width: auto;
}
.sp_wrap #kodomokoe .kk_nav label {
	height: 48px;
	padding: 0 4px;
	border-width: 3px;
	font-size: 13px;
	line-height: 1.3;
	text-align: center;
	letter-spacing: 0;
	word-break: keep-all;
}
.sp_wrap #kodomokoe .kk_lead {
	margin-top: 14px;
	font-size: 14px;
}
.sp_wrap #kodomokoe .kk_nav {
	margin-top: 10px;
}
.sp_wrap #kodomokoe .kk_cat {
	padding-top: 24px;
}
.sp_wrap #kodomokoe .kk_closing {
	width: auto;
	margin: 40px 0 0;
	padding: 16px 14px;
	border-radius: 20px;
}
.sp_wrap #kodomokoe .kk_cat_title {
	width: auto;
	max-width: 100%;
	padding: 8px 10px;
	border-width: 4px;
	font-size: 15px;
	line-height: 1.6;
}
.sp_wrap #kodomokoe .kk_item {
	width: auto;
	margin: 26px 0 0;
}
.sp_wrap #kodomokoe .kk_item + .kk_item {
	margin-top: 48px;
}
.sp_wrap #kodomokoe .kk_who_icon {
	width: 72px;
	height: 72px;
}
.sp_wrap #kodomokoe .kk_who_name {
	font-size: 13px;
	line-height: 1.6;
}
.sp_wrap #kodomokoe .kk_who.kids {
	padding-right: 10px;
}
.sp_wrap #kodomokoe .kk_who.kids .kk_who_name {
	width: auto;
	margin: 24px 8px 0 0;
}
.sp_wrap #kodomokoe .kk_who.kids .kk_who_icon img {
	left: 13.6px;
	top: 11.9px;
	width: 44.3px;
}
.sp_wrap #kodomokoe .kk_who.city .kk_who_name {
	margin: 0 0 0 8px;
}
.sp_wrap #kodomokoe .kk_who.city .kk_who_icon img {
	left: 6.5px;
	top: 5.8px;
	width: 53.3px;
}
.sp_wrap #kodomokoe .kk_who.city .kk_who_icon img.woman {
	left: 9.9px;
	width: 50.9px;
}
.sp_wrap #kodomokoe .kk_voice {
	margin-top: 14px;
	padding: 18px 16px 18px;
	border-radius: 20px;
}
.sp_wrap #kodomokoe .kk_voice::before {
	top: -14px;
	left: auto;
	right: 34px;
	width: 18px;
	height: 20px;
}
.sp_wrap #kodomokoe .kk_answer {
	margin-top: 20px;
	padding: 16px 14px;
	border-radius: 20px;
}
.sp_wrap #kodomokoe .kk_answer::before {
	top: -15px;
	left: 26px;
	width: 18px;
	height: 17px;
}
.sp_wrap #kodomokoe .kk_receive {
	margin-top: 24px;
	padding: 14px 12px 18px;
	border-width: 5px;
}
.sp_wrap #kodomokoe .kk_receive_title {
	margin-bottom: 8px;
	font-size: 16px;
	line-height: 1.6;
	letter-spacing: 0;
	word-break: keep-all;
}
.sp_wrap #kodomokoe .kk_who.city {
	margin-top: 20px;
}
.sp_wrap #kodomokoe .kk_pagetop {
	margin: 14px 4px 0 0;
	font-size: 16px;
	line-height: 1.6;
}
