/*
Theme Name: Arkhe Child - Box Categories
Theme URI: https://arkhe-theme.com/
Description: Arkhe child theme with category-specific single post templates for box01-box04.
Author: Custom
Template: arkhe
Version: 1.4.4
Text Domain: arkhe-child-box
*/


/***************************** 共通css */

body {
	width: 100%;
	font-family: "メイリオ", Meiryo, "ＭＳ Ｐゴシック", Arial, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, sans-serif;
	font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro', "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "Verdana", Osaka, san-serif;
	font-size: 13px;
	line-height: 1.8;
	color: #666;
	-webkit-text-size-adjust: 100%;
}

/* =========================================================
 * Setting-frontpage
 * ========================================================= */
#ideaBoxTop {
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, "ＭＳ Ｐゴシック", Verdana, Osaka, san-serif;
}
#ideaBoxTop p{
	font-size: 13px;
	margin: 0 10px 20px 0;
}
.pagetop {
    clear: both;
    text-align: right;
    margin: 30px 12px 0 0;
    margin: 1em 12px 0 0;
    font-size: 12px;
}
.pagetop a{
	color: #666;
}

@media only screen and (min-width: 801px) {
h2#ideabox-about-title span {
        display: none;
        visibility: hidden;
    }
    .contents_logo {
        clear: both;
        text-align: left;
        margin: 0px 10px 15px 0;
        padding: 0 0 0 25px;
        height: 80px;
        background: url(../../../../img/ideabox/logo.png) no-repeat right bottom;
    }	
}
@media only screen and (max-width: 800px) {
h2#ideabox-about-title img {
        display: none;
        visibility: hidden;
    }	
h2#ideabox-about-title {

        font-weight: bold;
        font-size: 16px;
        margin: 10px 0 15px;
        padding: 10px;
        border-top: 1px solid #666;
        border-bottom: 1px solid #666;
	background: #f5f5f5;
}
    .contents_logo {
        clear: none;
        text-align: left;
        margin: 0px 10px 15px 0;
        padding: 0 0 0 25px;
        height: 80px;
        background: url(../../../../img/ideabox/logo.png) no-repeat right bottom;
    }	
}

/* =========================================================
 * Category page colors
 * ========================================================= */
:root {
    --box01-bg: #0099ff; /* 乳幼児期: soft pink */
    --box02-bg: #ff6634; /* 学童期: soft blue */
    --box03-bg: #049933; /* 思春期ほか: soft green */
    --box04-bg: #a360bf; /* 凸凹っ子: soft yellow */
}

/* =========================================================
 * from-main.css
 * ========================================================= */
@media (min-width:1200px) {
[data-sidebar=on] {
--ark-width--sidebar:270px;
--ark-gap--container:30px
}
}
	
.c-copyright {
		display: none;
		visibility: hidden;
}
	.wp-block-search {
		font-size: 14px;
	}	
.p-archive__title{
	margin-bottom: 0;
	}
	
.c-pageTitle__main {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.5;
    position: relative;
    background-color: #73451d;
    color: #fff;
    padding: 2px 15px;
	margin-top: .8em;
}

.wp-block-search__inside-wrapper{
	padding-top: 5px;
}

.p-entry__content.c-postContent {
    margin-bottom: 2rem;
}


.category-box01	.c-pageTitle__main {
    background-color: var(--box01-bg);
	}
.category-box02	.c-pageTitle__main {
    background-color: var(--box02-bg);
	}
.category-box03	.c-pageTitle__main {
    background-color: var(--box03-bg);
	}
.category-box04	.c-pageTitle__main {
    background-color: var(--box04-bg);
	}	
	
/* =========================================================
 * Category page colors
 * Change only these 4 variables when you want to adjust colors.
 * ========================================================= */

.l-container {
	padding: 0;
	max-width: 910px !important;
	
	width: 96%;
    margin: 20px auto;
	
}

@media only screen and (min-width: 801px) {
#content.l-content {
		padding-top: 30px;
}
}

/* The whole content area between header and footer gets a soft category color. */
body.box-category-box01 .l-content {
    background-color: var(--box01-bg);
	background: url(../../../../img/ideabox/02_16_bg_blue.png) top center repeat;
	
}

body.box-category-box02 .l-content {
    background-color: var(--box02-bg);
	background: url(../../../../img/ideabox/02_16_bg_orange.png) top center repeat;
}

body.box-category-box03 .l-content {
    background-color: var(--box03-bg);
	background: url(../../../../img/ideabox/02_16_bg_green.png) top center repeat;
}

body.box-category-box04 .l-content {
    background-color: var(--box04-bg);
	background: url(../../../../img/ideabox/02_16_bg_pink.png) top center repeat;
}

/* Keep the transition subtle when navigating between categories. */
body[class*="box-category-box"] .l-content {
    transition: background-color .2s ease;
}

article.l-main__body {
	    background: #fff;
	border: 1px solid #444;
            border: 1px solid #cccccc;
	border-radius: 10px;
    padding: 2em;
	margin: 0;
}
@media only screen and (max-width: 800px) {
article.l-main__body {
padding: .2em 1em 2em .8em;
	}
}


.l-sidebar {
        background: #fff;
        padding: 1em;
	
	border: 1px solid #444;
            border: 1px solid #cccccc;
	border-radius: 10px;
}


/* =========================================================
 * Breadcrumb
 * Keep the breadcrumb white on box01-box04 single posts.
 * ========================================================= */
body.single-post[class*="box-category-box"] #breadcrumb.p-breadcrumb {
    /*background-color: #fff;*/
	padding: 0;
	    margin: 10px auto 0;
}


/* Related posts: title-only list */
.related-posts--title-only {
    margin-top: 3rem;
}

.related-posts--title-only .related-posts__title {
   background: #6b3c0f;
    padding: 10px;
    margin: 0;
    color: #fff;
}

.related-posts--title-only .related-posts__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.related-posts--title-only .related-posts__item {
    margin: 0;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.related-posts--title-only .related-posts__item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.related-posts--title-only .related-posts__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.related-posts--title-only .related-posts__link:hover {
    text-decoration: underline;
}

/* =========================================================
 * Global thumbnail suppression
 * ========================================================= */
.c-postThumb,
.p-entry__thumb,
.p-postList__thumb {
    display: none !important;
}

/* =========================================================
 * Simple archive lists (no thumbnail / date / excerpt)
 * ========================================================= */
.p-archiveSimple {
    margin: 0;
    padding: 0;
    list-style: none;
}

.p-archiveSimple__item {
    padding: 1.35rem 0;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.p-archiveSimple__item:first-child {
    /*border-top: 1px solid rgba(0, 0, 0, 0.12);*/
}

.p-archiveSimple__title {
    margin: .35rem 0;
    font-size: 1.1em;
    line-height: 1.65;
}

.p-archiveSimple__title a {
    color: inherit;
    text-decoration: none;
	
	    width: 100%;
    display: block;
}

.p-archiveSimple__title a:hover {
    text-decoration: underline;
}

.c-archiveSimple__categories,
.c-archiveSimple__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem .65rem;
    font-size: .82rem;
    font-size: .82em;
    line-height: 1.5;
}

.c-archiveSimple__category,
.c-archiveSimple__tag {
    color: inherit;
    text-decoration: none;
    opacity: .72;
}

.c-archiveSimple__category:hover,
.c-archiveSimple__tag:hover {
    opacity: 1;
    text-decoration: underline;
}

.c-archiveSimple__separator {
    margin: 0 -.35rem;
    opacity: .35;
}


/* =========================================================
 * Image category tabs (box01-box04)
 * ========================================================= */
.cateTab {
    display: flex;
    width: 98%;
    margin: 0 auto;
    padding: 0 5px;
    gap: 0;
}

.cateTab > a {
    display: block;
    flex: 1 1 25%;
    min-width: 0;
    line-height: 0;
}

.cateTab > a img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

/* =========================================================
 * Setting -page-design
 * ========================================================= */

.right_Q01,
.right_Q02,
.right_Q03,
.right_Q04 {
	clear: both;
	border : 2px #0099FF solid;
	background : #EEFBFB;
	margin : 55px 0 20px 20px;
	margin : 55px 0 20px 15px;
    padding-bottom: 10px;
}
.right_Q02 {
	border : 2px #ff6633 solid;
	background : #f9efe5;
}
.right_Q03 {
	border : 2px #009933 solid;
	background : #e9f8ee;
}
.right_Q04 {
	border : 2px #a260bf solid;
	background : #f2e6f9;
}

.Q_img {
	margin : -35px 0 0px -20px;
}
.Q_title {
	/*font-size : 1.4em;*/
	font-weight : bold;
	margin : 5px 15px 0 26px;
	padding-bottom : 3px;
	border-bottom : #0099FF 2px solid;
}
.Q_title02,
.Q_title03,
.Q_title04 {
	font-size : 1.4em;
	font-weight : bold;
	margin : 5px 15px 0 26px;
	padding-bottom : 3px;
	border-bottom : #FF6633 2px solid;
}
.Q_title03 {
	border-bottom : #009933 2px solid;
}
.Q_title04 {
	border-bottom : #a260bf 2px solid;
}	
.Q_title h1,
.Q_title02 h1,
.Q_title03 h1,
.Q_title04 h1,
.Q_title h2,
.Q_title02 h2,
.Q_title03 h2,
.Q_title04 h2 {
	font-size: 18px;
}
.Q_text {
	padding : 8px 12px 8px 30px;
}
.right_main .Q_text p {
    margin: 0 10px 5px 0;
}
.point_coach_img {
	margin : 0;
}
.right_A_yellow,
.right_A_mint,
.right_A_purple,
.right_A_orange,
.right_A_blue,
.right_A_green {
	padding : 0 1em 0 55px;
	padding : 0 0 0 55px;
	margin : 10px 0 25px 0;
	background : url(../../../../img/ideabox/02_16_02_balloon_y.png) no-repeat left top;
}
.right_A_yellow p.answerText,
.right_A_mint p.answerText,
.right_A_purple p.answerText,
.right_A_orange p.answerText,
.right_A_blue p.answerText,
.right_A_green p.answerText {
	font-size : 17px;
	font-weight : bold;
	padding-top : 5px;
	margin-bottom : 8px;
	color : #dc9d03;
}
.right_A_mint {
	background : url(../../../../img/ideabox/02_16_02_balloon_m.png) no-repeat left top;
}
.right_A_mint p.answerText {
	color : #30a7a1;
}
.right_A_purple {
	background : url(../../../../img/ideabox/02_16_02_balloon_p.png) no-repeat left top;
}
.right_A_purple p.answerText {
	color : #663399;
}
.right_A_orange { 
	background : url(../../../../img/ideabox/02_16_02_balloon_o.png) no-repeat left top;
}
.right_A_orange p.answerText {
	color : #FF6633;
}
.right_A_blue {
	background : url(../../../../img/ideabox/02_16_02_balloon_b.png) no-repeat left top;
}
.right_A_blue p.answerText {
	color : #006bb3;
}
.right_A_green {
	background : url(../../../../img/ideabox/02_16_02_balloon_g.png) no-repeat left top;
}
.right_A_green p.answerText {
	color : #009933;
}
.point01,
.point02,
.point03,
.point04{
	font-size : 1.8em;
	font-size: 22px;
	font-weight : bold;
	line-height : 120%;
	padding : 15px 0 15px 90px;
	margin : 10px 0 25px 0;
	border-bottom : #0099FF 2px solid;
	background : url(../../../../img/ideabox/02_16_02_point01.png) no-repeat left top;
}
.point02 {
	border-bottom : #FF6633 2px solid;
	background : url(../../../../img/ideabox/02_16_02_point02.png) no-repeat left top;
}
.point03 {
	border-bottom : #009933 2px solid;
	background : url(../../../../img/ideabox/02_16_02_point03.png) no-repeat left top;
	padding: 55px 0 15px 15px;
}
.point04 {
	border-bottom : #a260bf 2px solid;
	background : url(../../../../img/ideabox/02_16_02_point04.png) no-repeat left top;
	
	padding :0px 0 5px 0px;
	/*border-bottom : none;*/
	background : none;
}
.point04 p{
	margin: 0 10px 0 10px !important;
}
.point04 a img:hover{
	opacity: 0.7;
	}
.point_text {
	padding : 0;
	margin : 1em;
	background : url(../../../../img/ideabox/0.gif) no-repeat left top;
}
.link {
	padding : 0 0 0 12px;
	width : 565px;
	margin : 40px 0 -15px 32px;
}
.post {
	margin : 0 0 0 40px;
}


.menu_link {
	margin : 10px 0 30px 20px;
	padding-right : 8px;
}
.indent {
	text-indent : -15px;
	margin : 20px;
}
/*add-20150115*/
.linkBtn-know,
.linkBtn-join,
.linkBtn-talk {
	float: right;
	padding: 3px 15px;
	margin: 10px 3x 5px 25px;
	display: inline-block;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
	-moz-border-radius: 5px;
	background: #AFD83D;
	background: #B30002;
}
.linkBtn-know a,
.linkBtn-join a,
.linkBtn-talk a {
	color: #fff;
	text-decoration: none;
	line-height: 24px;
	background : url(../../../../img/ideabox/bg_linkbtn.png) right no-repeat;
	padding-right : 22px;
}
.linkBtn-know:hover,
.linkBtn-join:hover,
.linkBtn-talk:hover {
	background: #16A625;
	background: #ff3399;
}
.linkBtn-join {
	background: #B30002;
	background: #AFD83D;
	background: #ff3399;
}
.linkBtn-join:hover {
	background: #B30002;
}
.linkBtn-program{
	text-align: left;
	padding: 5px 15px;
	margin: 10px 0 10px 40px;
	margin: 10px 0 10px 10px;
	display: inline-block;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-o-border-radius: 5px;
	-ms-border-radius: 5px;
	-moz-border-radius: 5px;
	background: #AFD83D;
	background: #B30002;
	background: #ff3399;
}
.linkBtn-top {
	float: right;
	margin: 20px 0 20px 0;
	}
.linkBtn-program a{
	color: #fff;
	text-decoration: none;
	line-height: 2;
	background : url(../../../../img/ideabox/bg_linkbtn.png) right no-repeat;
	padding-right : 22px;
}
.linkBtn-program:hover {
	background: #16A625;
	background: #ff3399;
	background: #B30002;
}
	
	







.right_main p {
	margin: 0 10px 20px 0;	
}
.right_A_yellow,
.right_A_mint,
.right_A_purple,
.right_A_orange,
.right_A_blue,
.right_A_green,
.right_A_green,
.point01,
.point02,
.point03,
.point04 {
	clear: both;
}



@media only screen and (min-width: 801px) {
.point04 {
	padding :20px 0 5px 0px;
	margin-bottom:0;
	/*border-bottom : none;
	background : none;*/
}	
}
@media only screen and (max-width: 800px) {
	.right_main p {
	margin: 0 0 20px 0;	
}
	.Q_title,.Q_title02, .Q_title03, .Q_title04{
	padding: 0 5px 10px;
	margin: 0 10px;
}
	.Q_text {
        padding: 10px 15px 0px;
    }
	
	.right_main .Q_text p {
    margin: 0 0 5px;
}
}



/* =========================================================
 * Category / tag archive enhancements
 * ========================================================= */

/* Category archives use the same background image as their single posts. */
body.category[class*="box-category-box"] #breadcrumb.p-breadcrumb {
    /*background-color: #fff;*/
}

/* Tag archive title: prepend a simple hash mark. */
body.tag h1.c-pageTitle__main {
    display: flex;
    align-items: center;
    gap: .3em;
}

body.tag h1.c-pageTitle__main::before {
    content: "#";
    display: inline-block;
    flex: 0 0 auto;
    font: inherit;
    line-height: 1;
}

/* Tag archive list: title on the left, category badges in a fixed right column. */
body.tag .p-archiveSimple__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 14rem;
    align-items: center;
    column-gap: 1.5rem;
}

body.tag .p-archiveSimple__title {
    min-width: 0;
    margin: .35rem 0;
}

body.tag .c-archiveSimple__categories {
    width: 100%;
    justify-content: flex-end;
    gap: .4rem;
}

body.tag .c-archiveSimple__separator {
    display: none;
}

body.tag .c-archiveSimple__category {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    padding: .22em .6em;
    border-radius: 3px;
    color: #fff;
    opacity: 1;
    line-height: 1.35;
    text-decoration: none;
}

body.tag .c-archiveSimple__category:hover {
    color: #fff;
    opacity: .85;
    text-decoration: none;
}

body.tag .c-archiveSimple__categoryIcon {
    display: inline-flex;
    width: 1em;
    height: 1em;
    flex: 0 0 1em;
}

body.tag .c-archiveSimple__categoryIcon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

body.tag .c-archiveSimple__category--box01 { background-color: var(--box01-bg); }
body.tag .c-archiveSimple__category--box02 { background-color: var(--box02-bg); }
body.tag .c-archiveSimple__category--box03 { background-color: var(--box03-bg); }
body.tag .c-archiveSimple__category--box04 { background-color: var(--box04-bg); }

@media (max-width: 767px) {
    body.tag .p-archiveSimple__item {
        grid-template-columns: minmax(0, 1fr);
        row-gap: .55rem;
    }

    body.tag .p-archiveSimple__title {
        width: 100%;
        margin-bottom: 0;
    }

    body.tag .c-archiveSimple__categories {
        width: 100%;
        justify-content: flex-end;
    }
}


/* =========================================================
 * 2026-09-12 archive / TOP adjustments
 * ========================================================= */

/* Both category and tag archive titles are paragraph elements in the list. */
.p-archiveSimple__title {
    display: block;
}

/* Tag archives use the same structural layout as category archives. */
body.tag .l-content {
    background: #f00;
    background: #fff;
}

body.tag #breadcrumb.p-breadcrumb {
    /*background-color: #fff;*/
}

body.tag .p-archiveSimple__item {
    display: block;
}

body.tag .p-archiveSimple__title {
    width: auto;
    margin: .35rem 0;
}

body.tag .c-archiveSimple__categories {
    width: auto;
    justify-content: flex-start;
}

/* Keep all category tab images OFF on tag archive pages. Image state is generated by PHP. */
body.tag .cateTab img {
    opacity: 1;
}

/* TOP page */
.p-ideaBoxHome {
    background: #fff;
    padding: 2em;
    border: 1px solid #444;
            border: 1px solid #cccccc;
	border-radius: 10px;
}

.p-ideaBoxHome__section + .p-ideaBoxHome__section {
    margin-top: 4rem;
}

.p-ideaBoxHome__heading {
    margin: 0 0 1.5rem;
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    line-height: 1.3;
}

#ideaBoxTop .p-ideaBoxHome__heading {
		font-size: 1.5em;
}

.p-ideaBoxHome__aboutText {
display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
	margin: 30px 20px 0;
}
@media only screen and (min-width: 801px) {
.p-ideaBoxHome__aboutText div{
	width: 70%;
}
.p-ideaBoxHome__aboutText div.photo{
	width: 30%;
	text-align: left;
	margin: 0;
}	
}
.p-ideaBoxHome__aboutText div.photo{
	margin: 0 auto;
}

.p-ideaBoxHome__aboutText p {
    margin: 0 0 1.5em;
    line-height: 2;
}

.p-ideaBoxHome__latestGrid,
.p-ideaBoxHome__popularGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.p-ideaBoxHome__latestCard,
.p-ideaBoxHome__popularGroup {
    min-width: 0;
    padding: 1.25rem;
    /*border: 1px solid rgba(0, 0, 0, .14);*/
    /*border-radius: 8px;*/
    background: #fff;
}

.p-ideaBoxHome__categoryLabel,
.p-ideaBoxHome__categoryHeading a {
    color: inherit;
    text-decoration: none;
}

.p-ideaBoxHome__categoryLabel {
    display: inline-block;
    margin-bottom: .75rem;
    font-size: .82rem;
    font-weight: 700;
}

.p-ideaBoxHome__postTitle {
    margin: 0;
    line-height: 1.7;
}

.p-ideaBoxHome__postTitle a,
.p-ideaBoxHome__popularList a {
    color: inherit;
    text-decoration: none;
	
	display: block;
	width: 100%;
}

.p-ideaBoxHome__postTitle a:hover,
.p-ideaBoxHome__popularList a:hover {
    text-decoration: underline;
}

/*.p-ideaBoxHome__categoryHeading {
    margin: 0 0 1rem;
    font-size: 1.05rem;
	
	    background: url(../../../../img/ideabox/icon_ideabox01.jpg) no-repeat;
        background-size: contain;
        padding-left: 40px;
}*/

.p-ideaBoxHome__popularList {
    margin: 0;
    /*padding-left: 1.5em;*/
}

.p-ideaBoxHome__popularList li + li {
    margin-top: 10px;
}

.p-ideaBoxHome__popularList li {
    line-height: 1.65;
	
	border-bottom: 1px solid #ddd;
        padding: 0 0 10px 10px;
}

.p-ideaBoxHome__latestCard--box01,
.p-ideaBoxHome__popularGroup--box01 { border-top: 2px solid #0099ff; border-bottom: 2px solid #0099ff; }
.p-ideaBoxHome__latestCard--box02,
.p-ideaBoxHome__popularGroup--box02 { border-top: 2px solid #ff6634; border-bottom: 2px solid #ff6634; }
.p-ideaBoxHome__latestCard--box03,
.p-ideaBoxHome__popularGroup--box03 { border-top: 2px solid #049933; border-bottom: 2px solid #049933; }
.p-ideaBoxHome__latestCard--box04,
.p-ideaBoxHome__popularGroup--box04 { border-top: 2px solid #a360bf; border-bottom: 2px solid #a360bf; }

	
.p-ideaBoxHome__popularGroup--box02 .p-ideaBoxHome__categoryHeading {
	    background: url(../../../../img/ideabox/icon_ideabox02.jpg) no-repeat;
	background-size: contain;
	}
.p-ideaBoxHome__popularGroup--box03 .p-ideaBoxHome__categoryHeading {
	    background: url(../../../../img/ideabox/icon_ideabox03.jpg) no-repeat;
	background-size: contain;
	}
.p-ideaBoxHome__popularGroup--box04 .p-ideaBoxHome__categoryHeading {
	    background: url(../../../../img/ideabox/icon_ideabox04.jpg) no-repeat;
	background-size: contain;
	}	

.p-ideaBoxHome__popularGroup--box01 .p-ideaBoxHome__categoryHeading a{
	color: #0099ff;
}
.p-ideaBoxHome__popularGroup--box02 .p-ideaBoxHome__categoryHeading a{
	   color: #ff6634;
	}
.p-ideaBoxHome__popularGroup--box03 .p-ideaBoxHome__categoryHeading a{
	    color: #049933;
	}
.p-ideaBoxHome__popularGroup--box04 .p-ideaBoxHome__categoryHeading a{
	color: #a360bf;
}

	
	
@media (max-width: 767px) {
    .p-ideaBoxHome {
        padding: 15px 10px;
    }

    .p-ideaBoxHome__latestGrid,
    .p-ideaBoxHome__popularGrid {
        grid-template-columns: minmax(0, 1fr);
    }
}
\n\n/* =========================================================
 * 2026-09-13 TOP latest list / tag list
 * ========================================================= */

/*
 * Latest posts: use exactly the same title/category layout and
 * category badge appearance as the tag archive.
 */
.p-ideaBoxHome__latestList {
    margin: 0;
    padding: 0;
    list-style: none;
}

.p-ideaBoxHome__latestItem {
    /*display: grid;
    grid-template-columns: minmax(0, 1fr) 14rem;
    grid-template-columns: minmax(0, 1fr) 82%;
    align-items: center;
    column-gap: 1.5rem;*/
}

.p-ideaBoxHome__latestItem .p-archiveSimple__title {
    min-width: 0;
    margin: .35rem 0;
	margin: 0 !important;
}

.p-ideaBoxHome__latestItem .c-archiveSimple__categories {
    width: 100%;
    justify-content: flex-end;
    gap: .4rem;
}

.p-ideaBoxHome__latestItem .c-archiveSimple__separator {
    display: none;
}

.p-ideaBoxHome__latestItem .c-archiveSimple__category {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    padding: .22em .6em;
    border-radius: 3px;
    color: #fff;
    opacity: 1;
    line-height: 1.35;
    text-decoration: none;
	
	    min-width: 8em;
    text-align: center;
}

.p-ideaBoxHome__latestItem .c-archiveSimple__category:hover {
    color: #fff;
    opacity: .85;
    text-decoration: none;
}

/* Same inline folder SVG used on tag archive category badges. */
.p-ideaBoxHome__latestItem .c-archiveSimple__categoryIcon {
    display: inline-flex;
    width: 1em;
    height: 1em;
    flex: 0 0 1em;
}

.p-ideaBoxHome__latestItem .c-archiveSimple__categoryIcon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.p-ideaBoxHome__latestItem .c-archiveSimple__category--box01 { background-color: var(--box01-bg); }
.p-ideaBoxHome__latestItem .c-archiveSimple__category--box02 { background-color: var(--box02-bg); }
.p-ideaBoxHome__latestItem .c-archiveSimple__category--box03 { background-color: var(--box03-bg); }
.p-ideaBoxHome__latestItem .c-archiveSimple__category--box04 { background-color: var(--box04-bg); }

@media (max-width: 800px) {
    .p-ideaBoxHome__latestItem {
        grid-template-columns: minmax(0, 1fr);
        row-gap: .55rem;
        row-gap: 0;
    }

    .p-ideaBoxHome__latestItem .p-archiveSimple__title {
        width: 100%;
        margin-bottom: 0;
    }

    .p-ideaBoxHome__latestItem .c-archiveSimple__categories {
        width: 100%;
        justify-content:flex-start;
    }
}


.l-sidebar .wp-block-categories-taxonomy-post_tag .cat-item {
	border: none;
	line-height: 1;
	display: inline-block;
}


a.p-ideaBoxHome__tagLink,
.l-sidebar .wp-block-categories-taxonomy-post_tag .cat-item a{
	display: inline-block;
        text-decoration: none;
        padding: 6px 12px;
        border-radius: 20px;
        background: #f3f1ec;
        color: #666;
        margin-bottom: 0.6em;
        font-size: .9em;
	}
/*for-Classic Widgets*/
.tag-cloud-link {
    background: #f3f1ec;
    border: none;
    color: #666 !important;
    display: block;
    line-height: 1;
    margin: 0;
    padding: 6px 12px !important;
        border-radius: 20px;
    position: relative;
    text-decoration: none;
    transition: opacity .25s;
}
.tag-cloud-link:before {
    content: "";
    margin-right: 0;
    opacity: 0;
}

a.p-ideaBoxHome__tagLink:hover,
.l-sidebar .wp-block-categories-taxonomy-post_tag .cat-item a:hover{
        background: #73451d;
	color: #fff;
}

@media only screen and (min-width: 801px) {

.home #topicpath {
	margin-bottom: 0px;
}
.home #content.l-content {
        padding-top: 0;
    }	
	.home .l-container {
		margin-top: 10px;
	}	
}
@media (max-width: 800px) {
	.l-container {
    padding: 0;
    /*margin: 0px auto;*/
}


	.p-ideaBoxHome {
		border: none;
	}
.p-ideaBoxHome__aboutText {
	    margin: 10px 0px 0;
}	
}


/*==========================================
PAGE-02_16.html
===========================================*/

#link_ideaBox {
	margin: 0 auto;
    max-width: 700px;
}
#link_ideaBox ul {
	display: flex;
}
#link_ideaBox ul li {
	/*float: left;*/
	width: 24.5%;
}
#link_ideaBox ul li img {
	width: 100%;
	height: auto;
	/*max-width: 190px;*/
}



#sidebar #block-12 {
	    margin-top: 10px;
}
#sidebar .wp-block-categories-taxonomy-post_tag {
	border: none;
}



/*==========================================
menu_common.html
===========================================*/
#sidebar .recArea {
	margin-top: 20px;
	padding-top: 20px;
	box-sizing: border-box;
		text-align: center;
}
#sidebar .recArea ul {
	max-width: 200px;
	margin: 0 auto;
}
#sidebar .recArea ul li {
	list-style: none;
	margin: 2px;
	padding: 0;	
}
#sidebar .recArea ul li img {
	line-height: 1 !important;
}
#sidebar img:hover {
	opacity: .8;
}

#sidebar .ul_ideaBox li {
	padding-bottom: 5px !important;
}
#sidebar .ul_ideaBoxList {
	padding-top: 1.3em;
	padding-left: 1.3em;
}
#sidebar .ul_ideaBoxList li {
	text-indent: -1.3em;
	padding-bottom: 10px;
	line-height: 1.3;
	font-size: 0.9em;
}
#sidebar .ul_ideaBox {
	margin: 20px 0;
}

#sidebar .boxMenu {
	padding-left: 5px;
	/*width: 230px;*/
}



@media (max-width: 800px) {
	#sidebar .recArea{
    display: flex;
		    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
	}
		#sidebar .recArea ul{
			width: 50%;
	}

	
}


/*@media only screen and (max-width: 230px) {
#sidebar .recArea {
}
#sidebar .recArea li {
			float: none !important;
		}
}
@media only screen and (min-width: 231px) {
#sidebar .recArea {
	border-top: none !important;
	padding: 20px 0 20px 0px;
	margin: 0 auto !important;
}
#sidebar .recArea ul li {
		width: auto;
		margin: 2% 5px;
		box-sizing: border-box;
}
#sidebar .recArea ul.leftPosition {
		float: left;
		margin: 0 5px;
	}
#sidebar	.recArea ul li img {
			width: 100%;
			max-width: 200px;
			height: auto;
		}
#sidebar .boxMenu {
	width: 100% !important;
}
}*/


/* =========================================================
 * 2026-09-21 Search results / single sidebar position
 * ========================================================= */

/* Search results use the same list presentation as the tag archive. */
body.search .p-archiveSimple__item {
    display: block;
}

body.search .p-archiveSimple__title {
    width: auto;
    margin: .35rem 0;
}

body.search .c-archiveSimple__categories,
body.search .c-archiveSimple__tags {
    width: auto;
	display: inline-block;
}

body.search .c-archiveSimple__tags a{
	padding: 0 0 0 8px;
}

body.search .c-archiveSimple__separator {
    display: none;
}

body.search .c-archiveSimple__category {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    padding: .22em .6em;
    border-radius: 3px;
    color: #fff;
    opacity: 1;
    line-height: 1.35;
    text-decoration: none;
}

body.search .c-archiveSimple__category:hover {
    color: #fff;
    opacity: .85;
    text-decoration: none;
}

body.search .c-archiveSimple__categoryIcon {
    display: inline-flex;
    width: 1em;
    height: 1em;
    flex: 0 0 1em;
}

body.search .c-archiveSimple__categoryIcon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

body.search .c-archiveSimple__category--box01 { background-color: var(--box01-bg); }
body.search .c-archiveSimple__category--box02 { background-color: var(--box02-bg); }
body.search .c-archiveSimple__category--box03 { background-color: var(--box03-bg); }
body.search .c-archiveSimple__category--box04 { background-color: var(--box04-bg); }

/* Two-column layout: sidebar on the left, main content on the right (desktop only). */
@media (min-width: 1000px) {
    html[data-sidebar="on"] .l-content__body > .l-sidebar {
        order: 1;
    }

    html[data-sidebar="on"] .l-content__body > .l-main {
        order: 2;
    }
}


/* =========================================================
 * Single post footer: category / tag styling
 * - Category: same colored treatment as tag archive categories
 * - Tags: same #tag treatment as category archive tags
 * ========================================================= */
body.single-post .p-entry__terms--archiveStyle {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .55rem .9rem;
    margin-bottom: 1.25rem;
}

body.single-post .p-entry__terms--archiveStyle .c-archiveSimple__categories,
body.single-post .p-entry__terms--archiveStyle .c-archiveSimple__tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .4rem;
}

body.single-post .p-entry__terms--archiveStyle .c-archiveSimple__separator {
    display: none;
}

body.single-post .p-entry__terms--archiveStyle .c-archiveSimple__category {
    display: inline-flex;
    align-items: center;
    gap: .35em;
    padding: .22em .6em;
    border-radius: 3px;
    color: #fff;
    opacity: 1;
    line-height: 1.35;
    text-decoration: none;
}

body.single-post .p-entry__terms--archiveStyle .c-archiveSimple__category:hover {
    color: #fff;
    opacity: .85;
    text-decoration: none;
}

body.single-post .p-entry__terms--archiveStyle .c-archiveSimple__categoryIcon {
    display: inline-flex;
    width: 1em;
    height: 1em;
    flex: 0 0 1em;
}

body.single-post .p-entry__terms--archiveStyle .c-archiveSimple__categoryIcon svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: currentColor;
}

body.single-post .p-entry__terms--archiveStyle .c-archiveSimple__category--box01 { background-color: var(--box01-bg); }
body.single-post .p-entry__terms--archiveStyle .c-archiveSimple__category--box02 { background-color: var(--box02-bg); }
body.single-post .p-entry__terms--archiveStyle .c-archiveSimple__category--box03 { background-color: var(--box03-bg); }
body.single-post .p-entry__terms--archiveStyle .c-archiveSimple__category--box04 { background-color: var(--box04-bg); }

body.single-post .p-entry__terms--archiveStyle .c-archiveSimple__tag {
    color: inherit;
    opacity: .72;
    text-decoration: none;
}

body.single-post .p-entry__terms--archiveStyle .c-archiveSimple__tag:hover {
    opacity: 1;
    text-decoration: underline;
}


/* TOP: search form beside the latest consultations heading */
.p-ideaBoxHome__latestHeader {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin-bottom: 1.5rem;
}
#ideaBoxTop .p-ideaBoxHome__latestHeader .p-ideaBoxHome__heading,
.p-ideaBoxHome__latestHeader .p-ideaBoxHome__heading { margin: 0; }
.p-ideaBoxHome__search {
    display: flex;
    align-items: stretch;
    width: min(100%, 290px);
    width: min(100%, 220px);
    min-height: 42px;
    border: 1px solid #bbb;
    border-radius: 5px;
    overflow: hidden;
    background: #fff;
}
.p-ideaBoxHome__search:focus-within { outline: 2px solid #555; outline-offset: 2px; }
.p-ideaBoxHome__search input[type="search"] {
    flex: 1 1 auto;
    width: 0;
    min-width: 0;
    padding: .55rem .75rem;
    margin: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #333;
    font: inherit;
    box-shadow: none;
}
.p-ideaBoxHome__search button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: #444;
    color: #fff;
    cursor: pointer;
}
.p-ideaBoxHome__search button:hover { background: #222; }
@media (max-width: 320px) {
    .p-ideaBoxHome__search { width: 100%; }
}


/* 2026-10-31: TOP grouped latest consultations and search below */
.p-ideaBoxHome__latestGroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem; margin: 1.5rem 0; }
.p-ideaBoxHome__latestGroup {
	min-width: 0; 
display: flex;
    flex-wrap: wrap;
    /*justify-content: space-between;*/
	
	align-items: normal;
	    align-items: center;
	min-height: 100px;
	
	
}

.p-ideaBoxHome__latestGroup .p-ideaBoxHome__categoryHeading { 
	margin: 0;
    width: 20%;
    color: #fff;
    font-size: .8em;
    text-align: center;
	
	/*padding-top: 5em;*/
}

/* TOP: category colors for the latest consultation headings. */

@media (min-width: 768px) {
.p-ideaBoxHome__latestGroup.p-ideaBoxHome__categoryHeading--box01 { background: url(../../../../img/ideabox/bg_line_box01.png) top left repeat-y; background-size: contain; }
.p-ideaBoxHome__latestGroup.p-ideaBoxHome__categoryHeading--box02 { background: url(../../../../img/ideabox/bg_line_box02.png) top left repeat-y; background-size: contain; }
.p-ideaBoxHome__latestGroup.p-ideaBoxHome__categoryHeading--box03 { background: url(../../../../img/ideabox/bg_line_box03.png) top left repeat-y; background-size: contain; }
.p-ideaBoxHome__latestGroup.p-ideaBoxHome__categoryHeading--box04 { background: url(../../../../img/ideabox/bg_line_box04.png) top left repeat-y; background-size: contain; }
}
@media (max-width: 767px) {
.p-ideaBoxHome__latestGroup.p-ideaBoxHome__categoryHeading--box01 { background: #0099ff; }
.p-ideaBoxHome__latestGroup.p-ideaBoxHome__categoryHeading--box02 { background: #ff6634; }
.p-ideaBoxHome__latestGroup.p-ideaBoxHome__categoryHeading--box03 { background: #049933; }
.p-ideaBoxHome__latestGroup.p-ideaBoxHome__categoryHeading--box04 { background: #a360bf; }
}


.p-ideaBoxHome__latestGroup .p-ideaBoxHome__latestList {
	margin: 0;
    width: 80%;
	padding-left: 2%;
	    background: #fff;
	box-sizing: border-box;
}

#ideaBoxTop .p-ideaBoxHome__search { margin: 1.5rem 0 0; }
@media (max-width: 767px) { .p-ideaBoxHome__latestGroups { grid-template-columns: 1fr; gap: 1.4rem; } }

/* Category sorting and progressive loading */
.heartful-category-sort { display: flex; gap: .65rem; flex-wrap: wrap; margin: 1em 0 0; 
    justify-content: end;
}
.heartful-category-sort button,
.heartful-category-more { appearance: none;
    border: 1px solid #c2c2c2;
    border-radius: 4px;
    background: #fff;
    color: #666666;
    padding: 3px 1em;
    font: inherit;
    cursor: pointer; }
.heartful-category-sort button[aria-pressed="true"] { background: #444; border-color: #444; color: #fff; }
.heartful-category-sort button:hover, .heartful-category-more:hover { border-color: #333; }
.heartful-category-sort button:focus-visible, .heartful-category-more:focus-visible { outline: 2px solid #333; outline-offset: 3px; }
.heartful-category-sort button:disabled, .heartful-category-more:disabled { opacity: .5; cursor: wait; }
.heartful-category-more { display: block; margin: 2rem auto; min-width: 190px; text-align: center; }
.heartful-category-more[hidden], .heartful-category-status[hidden] { display: none !important; }
.heartful-category-status { margin: .75rem 0; }


