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


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

.section{ padding: 40px 0; }
.section_bg{ background: #f6f6f6; }
.section_margin{ margin-bottom: 50px; }



.h2_style{ margin-bottom: 20px; padding-left: 10px; font-size: 30px; font-weight: bold; line-height: 1.7em;
    background-image: linear-gradient(to right, var(--main_blu) 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 #4682b4; font-size: 1.3rem; font-weight: 600; color: #2a2a2a; line-height: 1.7em; }*/
.h3_style{ margin-bottom: 20px; padding-left: 15px; border-left: 5px solid var(--main_blu); font-size: 1.3rem; font-weight: 600; color: #2a2a2a; line-height: 1.7em; }
.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; }


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

.content_text{ width: 63%; }
.content_img{ width: 33%; }

.btn_detail{ margin-top: 50px; text-align: center; }
.btn_detail a{ display: inline-block; width: 50%; padding: 5px 0; background: var(--main_blu); border-radius: 5px; font-size: 18px; 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_blu); font-size: 14px; }
	.notice_title{ margin-bottom: 5px; font-weight: bold; }
	.notice_title:before{ content: '《'; }
	.notice_title:after{ content: '》'; }

body{ height: 100%; }

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

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: 13px; line-height: 1em; }
				#logo_company{ font-size: 16px; 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_blu); font-size: 12px; 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; font-size: 18px; font-weight: bold; color: var(--main_blu); line-height: 1em; text-decoration: none; }
			#header_tel a:hover{ color: var(--main_ora); }
			#header_tel a i{ margin-right: 5px; font-size: 16px; }

			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_blu); 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: 14px; 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_blu); 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_blu); 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: 12px; 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_blu); 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-between; 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: 14px; 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_blu); }
		nav#navi_footer > ul > li > ul > li > a:before{ content: '〉'; }

		#footer_iso{ width: 176px; }
		#footer_iso img{ width: 100%; height: auto; }
		#footer_iso #iso_text1, #footer_iso #iso_text2{ font-size: 10px; color: #fff; }
		#footer_iso #iso_text1{ text-align: center; }

	#copy{ text-align: center; color: #fff; font-size: 12px; }


main{ flex: 1; padding-bottom: 50px; }
	/* パンくず */
	.breadcrumb{ margin-bottom: 20px; padding: 5px 0 0 10px; font-size: 12px; }
	.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: 36px; color: #fff; top: 50%; }
	.visual .text2{ display: inline-block; width: 100%; font-size: 12px; color: var(--main_blu); top: 75%; }


	/* Topics */
	ul.topics{}
	ul.topics li{ padding-left: 10px; border-bottom: 1px dotted #ccc; }
	ul.topics li table{ font-size: 14px; }
	ul.topics li table td{ padding: 3px 0; vertical-align: top; }
	ul.topics li table td.topics_ymd{ padding-right: 15px; white-space: nowrap; }
	ul.topics li table td.topics_cate{ padding-right: 15px; white-space: nowrap; }
	ul.topics li table td.topics_cate span{ padding: 3px 15px; font-size: 10px; color: #fff; line-height: 1em; }

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

		/*.cate_info span{ background: var(--main_ora); }*/
		.cate_info span{ background: var(--logo_blu); }
		.cate_news span{ background: var(--logo_pur); }
		.cate_event span{ background: var(--logo_grn); }

	ul.topics li table td.topics_title{}


	/* お問合せ */
	.wpcf7-form{ max-width: 600px; margin: 0 auto 30px; padding: 40px 50px 30px; background: #f9f9f9; border-radius: 8px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); }
	.wpcf7-form label span.must{ color: #900; }
	.wpcf7-form label span.must:before{ content: '【'; }
	.wpcf7-form label span.must:after{ content: '】'; }
	.wpcf7-form p{ margin-bottom: 30px; }

	.wpcf7-form input[type="text"],
	.wpcf7-form input[type="email"],
	.wpcf7-form input[type="tel"],
	.wpcf7-form input[type="url"],
	.wpcf7-form input[type="password"],
	.wpcf7-form input[type="date"],
	.wpcf7-form select,
	.wpcf7-form textarea{ width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; background: #fff; font-size: 16px; box-sizing: border-box; transition: border-color 0.3s ease, box-shadow 0.3s ease; }
	.wpcf7-form select{ padding: 20px 12px; } /* オーバーライド（selectの縦方向のpadding修正） */

	/* フォーカス時 */
	.wpcf7-form input[type="text"]:focus,
	.wpcf7-form input[type="email"]:focus,
	.wpcf7-form input[type="tel"]:focus,
	.wpcf7-form input[type="url"]:focus,
	.wpcf7-form input[type="password"]:focus,
	.wpcf7-form input[type="date"]:focus,
	.wpcf7-form select:focus,
	.wpcf7-form textarea:focus{ border-color: var(--logo_grn); box-shadow: 0 0 8px rgba(76, 176, 52, 0.3); outline: none; }

	.wpcf7-form input[type="submit"]{ display: block; width: 100%; padding: 12px 20px; border: none; border-radius: 6px; background: var(--main_blu); color: #fff; font-size: 18px; cursor: pointer; transition: background 0.3s ease, transform 0.2s ease; }
	.wpcf7-form input[type="submit"]:hover{ background: var(--main_ora); transform: translateY(-2px); }


	/* メッセージ */
	.wpcf7-validation-errors, .wpcf7-mail-sent-ok{ padding: 10px; border-radius: 6px; font-size: 14px; }
	.wpcf7-validation-errors{ background: #f2dede; border: 1px solid #ebccd1; color: #d9534f; }
	.wpcf7-mail-sent-ok{ background: #dff0d8; border: 1px solid #d6e9c6; color: #3c763d; }
	/* オーバーライド */
	/*.wpcf7 form .wpcf7-response-output{ margin: 0 !important; }*/ /* エラーメッセージが「送信」ボタンから離れすぎのため  */


	/* プライバシーポリシー */
	.privacy_box *{ font-size: 14px; }
	.privacy_box dl{}
	.privacy_box dl dt{ margin-bottom: 5px; font-weight: bold; }
	.privacy_box dl dd{ margin: 0 0 25px 10px; }


	/* 会社概要 */
	.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_blu); text-align: center; }
	.tbl_company td{ border-bottom: 1px solid #ccc; }


	/* 製品情報 */
	.ul_product-info{ display: flex; justify-content: space-between; flex-wrap: wrap; }
	.ul_product-info li{ flex: 0 0 49%; margin-bottom: 20px; box-sizing: border-box; position: relative; }
	.ul_product-info li a{ display: block; }

	.overlay{ width: 100%; border-radius: 20px; transition: opacity 0.3s; overflow: hidden; position: relative; z-index: 0; }
	.overlay:hover{ opacity: 0.8; }
	.overlay:before{ content: ""; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); top: 0; left: 0; position: absolute; z-index: 1; }
	.overlay img{ width: 100%; height: auto; }
	.overlay p{ color: #fff; left: 20px; margin: 0; position: absolute; }
	.overlay p.title{ font-size: 32px; text-align: center; top: 50%; left: 50%; margin: 0; position: absolute; transform: translate(-50%, -50%); z-index: 2; }

	.separator{ width: 80%; height: 1px; background: #fff; top: calc(50% + 28px); left: 50%; position: absolute; transform: translateX(-50%); z-index: 1; }

	.overlay p.subtitle{ font-size: 1em; top: calc(50% + 35px); left: 50%; margin: 0; position: absolute; transform: translateX(-50%); z-index: 2; }


	/* 製品情報（詳細） */
	.ul_product{}
	.ul_product li{ display: flex; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dotted; #ccc; }
	.ul_product li:last-child{ border-bottom: none; }
	.ul_product li .product_img{ flex: 0 0 50px; }
	.ul_product li .product_img img{ width: 100%; vertical-align: top; }
	.ul_product li .product_r{ padding-left: 25px; }
	.ul_product li .product_r .h3_product_title{ margin-bottom: 8px; font-size: 18px; font-weight: bold; color: var(--main_blu); line-height: 1em; }
	.ul_product li .product_r .h3_product_title:before{ content: '■'; margin-right: 2px; font-size: 30px; }
	.ul_product li .product_r .product_text{}




