/*
Theme Name:はな街道
Template:muum_tcd085
Version:3.8
*/

/*********************************
 * デザイン変更に関わるCSS
**********************************/
/*body{background-color: #f5f5ee;}*/
/*黄色背景の場合：#ffffdb*/
body{background-color: #fff0f1}

*{border-radius: 5px;}
body a{color: #5e3f0f !important;}

#global_menu{background-color: #fff !important;}
#global_menu > ul > li > a,
#global_menu > ul > li:first-of-type a{border-color: #c8c8c8 !important; border-radius: 0;}
#global_menu ul ul a{border-radius: 0;}
#global_menu > ul > li.active > a,
#global_menu > ul > li.current-menu-item > a,
#header.active #global_menu > ul > li.current-menu-item.active_button > a,
#global_menu > ul > li > a:hover{color: #fff !important;}

#header_slider .button{color: #fff !important;}

#index_tab_post_list .post_list.type2 .image_wrap,
#index_tab_post_list .post_list.type2 .image,
.blog_list.type2 .image_wrap,
.blog_list.type2 .image,
.styled_post_list1 .image_wrap,
.styled_post_list1 .image{border-radius: 5px 0 0 5px;}
#index_tab_post_list .post_list.type2 .category,
.blog_list.type2 .category,
.styled_post_list1 .category{border-radius: 5px 5px 5px 0; color: #fff !important;}
#index_tab_post_list .post_list.type2 .content,
.blog_list.type2 .content,
.styled_post_list1 .title_area{background-color: #fff; border-radius: 0 5px 5px 0;}

#page_header{border-radius: 0;}

/*.post_content a, .custom-html-widget a,
#bread_crumb, #bread_crumb li.last,
#post_title .date{color: #4a7e56 !important;}*/
.post_content a, .custom-html-widget a,
#bread_crumb, #bread_crumb li.last,
#post_title .date{color: #855559 !important;}
.post_content .about__table th,
.post_content .about__table td{border-radius: 0;}
.post_content a.q_custom_button1,
.kawara__list-years .term_list .current a{background-color: #d95984 !important; border: none; color: #fff !important;}/*採用されたら下の方に適用*/

#post_image .category,
.single_share li:not(.default) a{color: #fff !important;}
.single_share .share-type1 .note_button a,
.single_share .share-type3 .note_button a{color: #000 !important;}

.post_content,
#post_title .title,
.widget_headline,
.widget .wp-block-heading,
.design_headline1,
.widget_tab_post_list_button a:hover,
.page_navi span.current,
.p-dropdown__title{color: #5e3f0f !important;}

#footer_bottom,
#copyright{border-radius: 0;}
#footer_bottom a{color: #fff !important;}

#drawer_menu #close_menu a{color: #000 !important;}
#mobile_menu a,
.drawer_sns li a{color: #fff !important;}

/*********************************
 * WordPress標準仕様上書き
**********************************/
.wp-block-table.is-style-stripes table{margin-bottom: 0;}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd){background-color: #f8ffd9;}

/*********************************
 * TCD標準仕様上書き
**********************************/
body, input, textarea,
.post_content, #next_prev_post,
.rich_font, .p-vertical, .widget_headline, .widget_tab_post_list_button a, .search_box_headline, #global_menu, .megamenu_blog_list, .megamenu_b_wrap, .megamenu_b_wrap .headline, #index_tab,
.rich_font_1{font-family: "Zen Maru Gothic", sans-serif !important;}

.post_content h3 { font-size:24px !important;}
.post_content h4 { font-size:20px !important;}
.post_content h5 { font-size:18px !important;}
.post_content h6 { font-size:16px !important;}

.post_content p{line-height: 1.75 !important}

.author_profile,
#bottom_post_list{display: none;}

/*********************************
 * VK標準仕様上書き
**********************************/
.is-style-vk-heading-background_fill_lightgray{border-radius: 100px;}
.post_content h2.is-style-vk-heading-background_fill_lightgray,
.post_content h3.is-style-vk-heading-background_fill_lightgray{padding: .6em 1em .5em;}
.is-style-vk-heading-solid_bottomborder_black{border-color: #24b584;  color: #24b584; position: relative;}
.post_content h2.is-style-vk-heading-solid_bottomborder_black,
.post_content h3.is-style-vk-heading-solid_bottomborder_black{padding: .6em 1em .25em 1.1em;}
.post_content h2.is-style-vk-heading-solid_bottomborder_black::before,
.post_content h3.is-style-vk-heading-solid_bottomborder_black::before{content: ""; width: 0.8em; height: 0.8em; background-color: #24b584; position: absolute; left: 0;}
.post_content h2.is-style-vk-heading-solid_bottomborder_black::before{top: 0.87em;}
.post_content h3.is-style-vk-heading-solid_bottomborder_black::before{top: 1.08em;}

/*********************************
 * SM FAQ上書き
**********************************/
/*.smb-faq,
.smb-faq__item{border-color: #ff007b;}*/
.smb-faq__item{padding: 50px 0;}
.smb-faq__item__question__label{margin-top: -0.25em;}
.smb-faq__item__question__body{/*padding-top: 0.35em;*/ line-height: 2.4;}
.smb-faq__item__answer{color: #c80060;}
/*.smb-faq__item__answer__body{margin-top: -0.65em;}*/

/*********************************
 * ヘッダー
**********************************/
#header_logo img{max-height: 80px;}
#site_description{position: relative;}
#site_description::before{content: ""; background: url('http://testrs1.hanakaido.life/wp-content/uploads/2026/02/logo2_after.png') no-repeat; background-size: 100%; width: 637px; height: 81px; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -44%);}
#header_search,
#header_sns{display: none;}

/*********************************
 * はな街道とは
**********************************/
.page-id-268 .q_button_wrap{margin-bottom: 0.5em;}

.is-style-vk-heading-solid_bottomborder_black.green-dark{border-color: #005929;}
.post_content h3.is-style-vk-heading-solid_bottomborder_black.green-dark::before{background-color: #005929;}

.about__table{border: none;}
.post_content .about__table th,
.post_content .about__table td{background-color: transparent; border: none; padding: 0.5em 0; font-weight: 500; line-height: 1.75;}
.post_content .about__table th{text-align: left;}
.post_content .about__table td{padding-left: 1em;}

/*********************************
 * かわらばん
**********************************/
.post-type-archive-kawara #main_contents.layout_type1 .blog_list.type1 .item,
.tax-years #main_contents.layout_type1 .blog_list.type1 .item{width: 100%; height: auto; margin: 0;}
.post-type-archive-kawara #main_contents.layout_type1 .blog_list.type1 .item:nth-child(n+2) .content,
.tax-years #main_contents.layout_type1 .blog_list.type1 .item:nth-child(n+2) .content{border-top: none;}
.post-type-archive-kawara .blog_list.type1 .image_wrap,
.tax-years .blog_list.type1 .image_wrap{display: none;}
.post-type-archive-kawara .blog_list.type1 .content,
.tax-years .blog_list.type1 .content{height: auto; border: 1px solid #ddd;}
.post-type-archive-kawara .blog_list.type1 .content_inner,
.tax-years .blog_list.type1 .content_inner{display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 2%;}
.post-type-archive-kawara .blog_list.type1 .date,
.tax-years .blog_list.type1 .date{position: relative; bottom: auto; left: auto;}

.post-type-archive-kawara #main_contents.layout_type1 .blog_list.type2 .item,
.tax-years #main_contents.layout_type1 .blog_list.type2 .item{width: 100%; height: auto; margin: 0 0 30px;}
.post-type-archive-kawara .blog_list.type2 .image_wrap,
.tax-years .blog_list.type2 .image_wrap{display: none;}
.post-type-archive-kawara .blog_list.type2 .content,
.tax-years .blog_list.type2 .content{width: 100%; height: auto; border-left: 1px solid #ddd;}
.post-type-archive-kawara .blog_list.type2 .content_inner,
.tax-years .blog_list.type2 .content_inner{display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; gap: 2%; padding: 30px; position: relative; top: auto; transform: translate(0);}
.post-type-archive-kawara .blog_list.type2 .date,
.tax-years .blog_list.type2 .date{margin-top: 0;}

.kawara__list-years{margin: 0 0 50px;}
.kawara__list-years .term_list{display: flex; gap: 10px; flex-wrap: wrap;}
.kawara__list-years .term_list a{display: inline-block; background-color: #e5e5e5; padding: 0.5em 1em; border-radius: 3px; text-align: center;}
.kawara__list-years .term_list .current a{background-color: var(--wp--preset--color--vk-color-custom-2); color: #fff;}



/*********************************
 * レスポンシブ
**********************************/
@media screen and (max-width: 1250px) {
	#header_logo .mobile_logo_image{max-height: 50px !important;}
	#site_description::before{display: none;}
}
@media screen and (max-width: 1100px) {
	.post-type-archive-kawara #main_contents.layout_type1 .blog_list.type2 .item{width: 100% !important; margin: 0 0 30px !important;}
}
@media screen and (max-width: 750px) {
	/* デザイン変更に関わるCSS */
	#footer_bottom a{color: #5e3f0f !important;}
	
	/* WordPress標準仕様上書き */
	:where(.wp-block-columns.is-layout-flex){gap: 1em;}
	
	/* TCD標準仕様上書き */
	.post_content h3 { font-size:20px !important;}
	.post_content h4 { font-size:18px !important;}
	.post_content h5 { font-size:16px !important;}
	.post_content h6 { font-size:14px !important;}
	
	#post_list_id0 .post_list .title,
	#post_list_id1 .post_list .title,
	#post_list_id2 .post_list .title,
	#post_list_id3 .post_list .title,
	#post_list_id4 .post_list .title{font-size: 13px !important;}
	
	/* VK標準仕様上書き */
	.post_content h2.is-style-vk-heading-background_fill_lightgray,
	.post_content h3.is-style-vk-heading-background_fill_lightgray{padding: .6em 1.5em .7em; line-height: 1.4;}
	
	/* はな街道とは */
	.post_content .about__table th,
	.post_content .about__table td{width: 100%; display: block;}
	.post_content .about__table th{padding: 0 0 0.25em; margin-bottom: 0.25em; border-bottom: 1px solid #000;}
	.post_content .about__table td{padding: 0 0 1.5em;}
	
	/* かわらばん */
	.post-type-archive-kawara #main_contents.layout_type1 .blog_list.type2 .item,
	.tax-years #main_contents.layout_type1 .blog_list.type2 .item{ margin: 0 0 10px !important;}
	.post-type-archive-kawara .blog_list.type2 .content_inner,
	.tax-years .blog_list.type2 .content_inner{flex-direction: column-reverse; align-items: flex-start; gap: 5px; padding: 20px;}
	.post-type-archive-kawara .blog_list.type2 .content,
	.tax-years .blog_list.type2 .content{float: none !important;}
	.kawara__list-years{margin-bottom: 30px; font-size: 14px;}
}
@media screen and (max-width: 550px) {
	#header_slider_wrap{width: 90%; margin-right: auto !important; margin-left: auto !important;}
}