@charset "utf-8";
@import url(common.css);


.container{ width: 1000px; margin: 0 auto; }



body{ height: 100%; }

#wrapper{ display: block; flex-direction: column; min-height: 100vh; }

header#page_header{ padding: 5px 0; background: #fff; }
	#header_inner{ display: flex; justify-content: space-between; }

		a#header_l{ display: flex; text-decoration: none; }
			#logo{ width: 53px; margin-right: 10px; }
			h1#logo_text{ margin-top: 16px; }
				#logo_catchcopy{ margin-bottom: 5px; font-size: 0.8125rem; line-height: 1em; }
				#logo_company{ font-size: 1rem; line-height: 1em; }
			#btn_spMenu{ display: none; }


		#header_r{}
		#header_r div{ display: flex; justify-content: end; margin-bottom: 8px; }

			#header_contact{ margin-right: 20px; line-height: 1em; }
			#header_contact a{ display: inline-block; padding: 5px 18px; border-radius: 3px; background: var(--main_red); font-size: 0.75rem; color: #fff; line-height: 1em; text-decoration: none; }
			#header_contact a:hover{ background: var(--main_ora); }

			#header_tel{ text-align: right; line-height: 1em; }
			#header_tel a{ display: inline-block; padding-left: 35px; font-size: 1.125rem; font-weight: bold; color: var(--main_red); line-height: 1em; text-decoration: none;
				background-image: url(../img/icon_free.png);
				background-repeat: no-repeat;
				background-size: 28px auto;
				background-position: 0 center;
			}
			#header_tel a:hover{ color: var(--main_ora); }

			nav#navi_header{ margin-top: 5px; }
			nav#navi_header > ul{ display: flex; justify-content: end; }
			nav#navi_header > ul > li{ margin-right: 30px; padding: 2px 0 2px 3px; border-left: 2px solid var(--main_red); position: relative; }
			nav#navi_header > ul > li:last-child{ margin-right: 0; }
			nav#navi_header > ul > li a{ display: block; padding-left: 8px; font-size: 0.875rem; text-decoration: none; line-height: 1em; }
			nav#navi_header > ul > li a:hover, nav#navi_header ul > li.current-menu-item a, nav#navi_header ul > li.current-page-ancestor a{ color: var(--main_red); font-weight: bold; }

			nav#navi_header > ul > li:hover ul.sub-menu{ display: block; z-index: 9; }
			nav#navi_header > ul > li ul.sub-menu{ display: none; width: 200%; padding: 5px; background: #f3f3f3; border-top: 3px solid var(--main_red); position: absolute; top: 18px; left: 0; }
			nav#navi_header > ul > li ul.sub-menu li{ margin-bottom: 5px; padding-bottom: 5px; border-bottom: 1px solid #ccc; }
			nav#navi_header > ul > li ul.sub-menu li:last-child{ margin-bottom: 0; padding-bottom: 0; border: none; }
			nav#navi_header > ul > li ul.sub-menu li a{ display: block; font-size: 0.75rem; color: #333; line-height: 1.5em; }
			nav#navi_header > ul > li ul.sub-menu li a:hover, nav#navi_header > ul > li ul.sub-menu li.current-menu-item a{ color: var(--main_red); font-weight: bold; }
			nav#navi_header > ul > li ul.sub-menu li a:before{ content: '〉'; }



footer{ padding: 15px 0 10px; background: #333; }
	#footer_top{ display: flex; justify-content: space-evenly; margin-bottom: 10px; }
		nav#navi_footer{}
		nav#navi_footer ul{}
		nav#navi_footer ul li{ line-height: 1em; }
		nav#navi_footer ul > li > a{ display: inline-block; margin-bottom: 5px; font-size: 0.875rem; color: #fff; line-height: 1em; }
		nav#navi_footer ul li ul li a{ display: inline-block; margin: 0 0 5px 15px; }

		nav#navi_footer > ul > li > a{ padding-left: 6px; border-left: 3px solid var(--main_red); }
		nav#navi_footer > ul > li > ul > li > a:before{ content: '〉'; }

		#address_footer, #address_footer a{ font-size: 0.875rem; color: #fff; }

	#copy{ text-align: center; color: #fff; font-size: 0.75rem; }



main{ flex: 1; padding-bottom: 50px; }

/* main br{ display: none; } ※wpautopによる勝手な<br />削除する場合 */

	.h2_top{ margin-bottom: 20px; padding-left: 10px; font-size: 1.875rem; font-weight: bold; line-height: 1.7em;
	    background-image: linear-gradient(to right, var(--main_red) 30%, #ddd 30%);
	    background-size: 100% 3px;
	    background-position: 0 100%;
	    background-repeat: no-repeat;
	}

	.h3_style{ margin-bottom: 20px; padding-left: 15px; border-left: 5px solid var(--main_red); font-size: 1.3rem; font-weight: 600; color: #2a2a2a; line-height: 1.7em; }
	.h3_top{}
	.h3_top:before{ content: '■'; margin-right: 3px; font-size: 1.5rem; color: var(--main_red); }

	.h4_style{ color: var(--main_red); }
	.h4_style:before{ content: '■'; margin-right: 3px; font-size: 1.5rem; }

	.section_margin{ margin-bottom: 50px; }

	.more{ margin-top: 0px; text-align: right; font-size: 0.75rem; }

	.LRcontent{ display: flex; justify-content: space-between; }
	.LRcontent .content_text{ width: 63%; }
	.LRcontent .content_img{ width: 33%; }

	.top_section:nth-child(2n-1) .LRcontent, .kaso_section:nth-child(2n) .LRcontent{ flex-direction: row-reverse; }
	.LRcontent p:not([class]) { display: none; } /*（20250103）wpautop対策 */

	.btn_detail{ margin-top: 50px; text-align: center; }
	.btn_detail a{ display: inline-block; width: 50%; padding: 5px 0; background: var(--main_red); border-radius: 5px; font-size: 1.125rem; color: #fff; text-decoration: none; }
	.btn_detail a:hover{ background: var(--main_ora); }


	/*
	.notice_box{ padding: 10px 20px; background: #f3f8fa; border: 1px solid var(--main_red); font-size: 0.875rem; }
		.notice_title{ margin-bottom: 5px; font-weight: bold; }
		.notice_title:before{ content: '《'; }
		.notice_title:after{ content: '》'; }
	*/


	.btn_pdf{ margin-top: 5px; line-height: 1em; }
	.btn_pdf a{ display: inline-block; padding: 0 16px; border: 1px solid var(--main_red); border-radius: 5px; background: var(--main_red); font-size: 0.8125rem; color: #fff; text-decoration: none; transition: background-color 0.5s ease; }
	.btn_pdf a:hover{ background: #fff; color: var(--main_red); }
	.btn_pdf a i{ margin-right: 6px; }
	

	/* パンくず */
	.breadcrumb{ margin-bottom: 20px; padding: 5px 0 0 10px; font-size: 0.75rem; }
	.breadcrumb ol{ display: flex; list-style: none; }
	.breadcrumb ol li{ display: inline; margin-right: 5px; }
	.breadcrumb ol li:after{ content: '>'; margin: 0 5px 0 5px; color: #6c757d; }
	.breadcrumb ol li:last-child:after { content: ''; }
	.breadcrumb ol li a{ color: #007bff; text-decoration: none; }
	.breadcrumb ol li a:hover{ text-decoration: underline; }


	/* ビジュアル */
	.visual{ position: relative; }
	.visual img{ display: block; width: 100%; height: auto; }
	.visual p{ text-align: center; position: absolute; left: 50%; transform: translate(-50%, -50%); }
	.visual .text1{ width: 100%; font-size: 2.25rem; font-weight: bold; color: #fff; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); top: 50%; }
	/*.visual .text2{ display: inline-block; font-size: 0.75rem; color: var(--main_red); top: 75%; }*/


	/* フリーダイヤル */
	.free_dial{ padding: 5px 10px; background: var(--main_red_05); border: 1px solid var(--main_red_60); font-size: 0.875rem; line-height: 1.2em; }
	.free_dial span{ font-weight: bold; color: var(--main_red); }
	.free_dial a{ font-weight: bold; }


/* TOP */
.top_section{ padding: 40px 0; }
.top_section_bg{ background: #f6f6f6; }


/* お知らせ */
ul.info{ margin-bottom: 20px; }
ul.info li{ padding-left: 10px; border-bottom: 1px dotted #ccc; }
ul.info li table{ font-size: 0.875rem; }
ul.info li table td{ padding: 3px 0; }
ul.info li table td.info_ymd{ padding-right: 15px; white-space: nowrap; }
ul.info li table td.info_cate{ padding-right: 15px; white-space: nowrap; }
ul.info li table td.info_cate span{ padding: 3px 15px; font-size: 0.625rem; color: #fff; line-height: 1em; }

/*ul.info li table td.info_cate.cate_info span{ background: var(--main_ora); }*/
ul.info li table td.info_cate.cate_info span{ background: var(--main_red); }
ul.info li table td.info_cate.cate_news span{ background: var(--main_ora); }
ul.info li table td.info_cate.cate_event span{ background: var(--main_blu); }
ul.info li table td.info_title{}


/* お知らせ詳細 */
.entry-content .single-info-ymd_category{ display: flex; margin-bottom: 20px; padding: 5px; }
	.single-info-ymd{ margin-right: 20px; }
	.single-info-category{ }
	.single-info-category span{ padding: 5px 15px; font-size: 0.8em; color: #fff; }

	/*.cate_info span{ background: var(--main_ora); }*/
	.cate_info span{ background: var(--main_red); }
	.cate_news span{ background: var(--main_ora); }
	.cate_event span{ background: var(--main_blu); }


/* LPガス */
table.tbl_lpgas{ width: 100%; font-size: 0.8125rem; }
table.tbl_lpgas th, table.tbl_lpgas td{ border: 1px solid #777; vertical-align: middle; }
table.tbl_lpgas th{ padding: 3px 15px; background: var(--main_red_10); font-weight: bold; white-space: nowrap; }
table.tbl_lpgas td{ padding: 3px 5px; background: #f9f9f9; }
table.tbl_lpgas tr:hover td{ background: var(--main_red_05) !important; }


/* 会社案内 */
.tbl_company{ width: 100%; }
.tbl_company th, .tbl_company td{ padding: 20px 25px; text-align: left; }
.tbl_company th{ border-bottom: 1px solid var(--main_red); text-align: center; white-space: nowrap; }
.tbl_company td{ border-bottom: 1px solid #ccc; }


/* リフォーム事例（一覧　3列表示） */
.renovation-list{ display: flex; flex-wrap: wrap; gap: 20px; }
.renovation-item{ width: calc(33.333% - 20px); padding: 15px 15px 50px 15px; border: 1px solid #ddd; box-sizing: border-box; position: relative; }
.renovation-thumbnail img{ width: 100%; height: auto; display: block; }
.renovation-title{ font-size: 1.2em; margin-bottom: 10px; }
.renovation-link{ display: inline-block; margin-top: 10px; color: #0073aa; position: absolute; bottom: 10px; right: 10px; }


.h3_topics{ margin-bottom: 20px; padding: 8px 15px; border-left: 10px solid var(--main_blu); box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); text-align: left; font-size: 1.3rem; font-weight: bold; }


/* リフォーム事例（詳細） */
h1.entry-title{ margin-bottom: 10px; font-size: 1.5rem; border-bottom: 3px solid var(--main_red); line-height: 1.6em; }
.custom-fields-table { width: 100%; margin: 10px 0; background: #f6f6f6; }
.custom-fields-table th, .custom-fields-table td{ padding: 10px; text-align: left; border: 2px solid #fff; }
.custom-fields-table th { background: var(--main_red_05); }


/* お問合せ・・・フォーム無し */


/* おすすめリンク集 */
.tbl_link{ width: 100%; }
.tbl_link th, .tbl_link td{ padding: 10px 0; }
.tbl_link td{ padding-left: 20px; }


