/*---------------------------------------------
 * 全ページ共通
 *---------------------------------------------*/
/* ヘッダー */
#header{
	top: 25px;
}
#header_logo img,#footer_logo img{
  width: auto !important;
  height: auto !important;
  max-width: 100%;
}
body #header_message .label{
	line-height:unset;
	padding-top:5px;
}
@media screen and (min-width: 641px){
	.head-tel-btn{
		display:none;
	}
}
/* グローバルメニュー */
#global_menu > ul > li > a { 
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* サブメニュー調整 */
#global_menu ul ul a{
	background:var(--main_color);
	color: #000;
}
#global_menu > ul ul > li:first-of-type > a:after{
	border-color:transparent transparent #fdecbf transparent;
}
/* ハンバーガー展開時調整 */
@media screen and (max-width: 1250px){
	#drawer_menu{
		background:var(--main_color);
	}
}
/* キャチコピー画像 */
/* ヘッダーキャッチ画像の共通スタイル */
#header_slider_content .catch-image {
  text-align: center;       /* 真ん中寄せ */
}

#header_slider_content .catch-image img {
  display: inline-block;
  max-width: 600px;         /* PCのときの上限。好みで調整してOK */
  width: auto;
  height: auto;
}
@media (max-width: 767px) {
  #header_slider_content .catch-image {
    padding: 0 16px;
  }

  #header_slider_content .catch-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
}
/* メイン画像調整 */
@media screen and (max-width: 430px) {
	#header_slider_wrap{
		max-height: 730px;
	}
}
@media screen and (min-width: 431px) and (max-width: 800px) {
	#header_slider_wrap{
		max-height: 930px;
	}
}
@media screen and (min-width: 801px) and (max-width: 1200px) {
	#header_slider_wrap{
		max-height: 930px;
	}
}
/* フッター */
body.home #footer_contact {
    margin-top: 0 !important;
}
#footer{
	padding-bottom:20px;
	border-top:2px solid #ffffff;
}
.footer_flex_box{
	margin-bottom:20px;
	padding-top:50px;
}
#footer_inner_left{
	width:auto;
	margin:unset;
	text-align:left;
	padding:0 30px;
}
#footer_inner_left .footer-company p{
	margin: 5px 0 35px 0;
	line-height: 1.5;
}
#footer_inner_left p.footer-company__name{
	font-size: 16px;
	font-weight: 700;
}
#footer_catch{
	padding: 0 20px;
	background:none;
	font-weight:normal;
	color: #000;
	line-height: 1.5;
}
#footer_sns{
	margin: 0;
}
.privacy_policy_pc{
	display: block;
	margin-top: 1rem;
	margin-bottom:1rem;
	text-align: center;
}
#copyright{
	position: relative;
	top: 0;
	border-top:none;
	padding: 20px;
}
.footer-company__map a {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 9999px;
	text-decoration: none;
	border: 1px solid currentColor;
	font-size: 0.9rem;
}
.footer-company__map a:hover {
	background-color: rgba(255, 255, 255, 0.3);
}
.privacy_policy_sp{
	margin-top: 50px;
	margin-bottom: 20px;
	text-align: center;
}
body.show_footer_bar #return_top.active {
	bottom: 60px;
}
#return_top .home_btn{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	margin-bottom: 10px;
}
#return_top a.home_btn::before,
#return_top .active a.home_btn::before{
	font-family: "Material Symbols Rounded" !important;
	content: "home" !important;
	font-size: 20px;
	width: 20px;
	font-feature-settings: "liga";
	-webkit-font-feature-settings: "liga";
	font-variation-settings:
		'FILL' 1,
		'wght' 400,
		'GRAD' 0,
		'opsz' 24;
	top: 0;
}
@media screen and (min-width: 641px){
#footer_inner_right .swiper ul{
	max-height:300px;
	display:flex;
	flex-direction:column;
	flex-wrap:wrap;
	justify-content:unset;
	width:auto;
}
#footer_inner_right .swiper ul li{
	margin-right:20px;
}
#footer_inner_right .swiper a{
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
}
#footer_inner_right .swiper a:hover{
	border-bottom: 1px solid var(--main_color);
}
#footer_inner_left{
	padding:0 30px;
}
#footer_inner_left p.footer-company__name{
	margin: 20px 0 35px 0;
	font-size: 18px;
}
#footer .swiper  li a{
	height:40px;
	line-height:40px;
}
.footer_flex_box{
	display:flex;
	justify-content:space-between;
	margin: 0 auto 20px;
}
.swiper-slide{
		height:auto;
}
#footer_catch{
	font-size: 16px;
}
	.p-footer-bar{
		display:none;
	}
body.show_footer_bar {
	padding-bottom: 0;
}
body.show_footer_bar #return_top.active {
	bottom: 20px;
}
#return_top .home_btn{
	margin-bottom: 20px;
}
#return_top a:before {
	font-size: 20px;
	width: 20px;
}
#return_top a.home_btn::before,
#return_top .active a.home_btn::before{
	font-size: 28px;
	width: 28px;
}
}
@media screen and (min-width: 801px){
	#footer_inner_left p.footer-company__name{
		font-size: 20px;
	}
	#footer_inner_right .swiper ul li{
		margin-right:20px;
	}
}
@media screen and (min-width: 1001px){
	.footer_flex_box{
		width: calc(100% - 100px);
	}
}
@media screen and (max-width: 640px){
	#footer .swiper{
		border-top:1px solid #ffffff;
	}
	#footer .swiper li a{
		display: block;
		padding: 20px 30px;
		border-bottom:1px solid #ffffff;
	}
	#footer .swiper li,.sub-menu li{}
	#footer .swiper li:last-child.sub-menu li:last-child{
		border:none;
	}
}
@media only screen and (max-width: 600px) {
	#container {
		transform: none;
	}
}
/* パンくずリスト */
#bread_crumb{
	margin-bottom:50px;
}
/* セクション見出し装飾 */
#page_contents h2,
#page_contents h2.rich_font {
	color:var(--main_color);
    font-size: 36px;
    font-weight: bold;
    color: #000;
    text-align: center;
    margin-top: 0;
    margin-bottom: 30px;
    line-height: 1.4;
}
#page_contents h3,
#page_contents h3.rich_font {
    font-size: 22px;
    font-weight: bold;
    color: #000;
    margin-bottom: 28px;
    padding-bottom: 12px;
    border-bottom: 3px solid #999;
    position: relative;
	margin-top: 0;
    line-height: 1.4;
}
#page_contents h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 90px;
    height: 3px;
    background-color: #cc3b42;
}
body.page-template-page-contact h3{
	margin-top:104px!important;
}
.attention-tel{
	color:#ff0000;
}
/*---------------------------------------------
 * トップページ：ページ デザイン調整
 *---------------------------------------------*/
/* セクション上下padding
 * PC: 104px / タブレット: 60px / スマホ: 48px */
.home #content_builder > section,
.home #content_builder > .custom-cat-posts,
.home .cb_selling_point .sp_content_inner {
    padding-top: 104px;
    padding-bottom: 104px;
}
.home #content_builder > .cb_selling_point {
    padding-top: 0px;
    padding-bottom: 0px;
}
@media screen and (max-width: 1000px) {
    .home #content_builder > section,
    .home #content_builder > .custom-cat-posts
	.home .cb_selling_point .sp_content_inner{
        padding-top: 60px;
        padding-bottom: 60px;
    }
}
@media screen and (max-width: 800px) {
    .home #content_builder > section,
    .home #content_builder > .custom-cat-posts
	.home .cb_selling_point .sp_content_inner{
        padding-top: 48px;
        padding-bottom: 48px;
    }
}
/* コンテナ幅統一 */
#page_contents {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}
/* 本文の行間統一 */
#page_contents p,
#page_contents .plinheight {
    font-size: 16px;
    line-height: 2.4;
    color: #333;
}
/* 標準コンテンツセクション間の余白 */
#page_contents #allcontent {
    padding: 80px 0 30px;
}
/*---------------------------------------------
 * トップページ　各セクション
 *---------------------------------------------*/
/* 【トップページ】スライダーセクション - ボックス内テキストサイズ調整 */
#page_contents .slider_section {
    padding: 80px 0 30px;
}
/* 施工実績記事一覧セクション（仮） */
.custom-cat-posts {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 48px 120px;
}
.custom-cat-posts__title {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 55px;
    color: #000;
}
.custom-cat-posts__desc {
    text-align: center;
    max-width: 800px;
    margin: -30px auto 50px;
    font-size: 18px;
    line-height: 2.4;
    color: #333;
}
.custom-cat-posts__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}
.custom-cat-posts__item {
    background: #fff;
    overflow: hidden;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}
.custom-cat-posts__thumb-link {
    display: block;
    overflow: hidden;
}
.custom-cat-posts__thumb-link:hover img {
    transform: scale(1.2);
}
.custom-cat-posts__thumb img {
    width: 100%;
    aspect-ratio: 720 / 462;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.custom-cat-posts__no-thumb {
    width: 100%;
    aspect-ratio: 720 / 462;
    background: #eee;
}
.custom-cat-posts__meta {
    padding: 30px 40px;
}
.custom-cat-posts__date {
    font-size: 14px;
    color: #999;
    display: block;
    margin-bottom: 0;
}
.custom-cat-posts__name {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8;
    margin: 0 0 7px;
}
.custom-cat-posts__name a {
    color: #333;
    text-decoration: none;
    transition: color 0.25s;
}
.custom-cat-posts__name a:hover {
    color:var(--main_color);
}
/* Tablet */
@media screen and (max-width: 800px) {
    .custom-cat-posts__list {
        grid-template-columns: repeat(2, 1fr);
    }
    .custom-cat-posts__item:nth-child(3n) {
        border-right: 1px solid #ddd;
    }
    .custom-cat-posts__title {
        font-size: 28px;
    }
    .custom-cat-posts {
        padding: 0 48px 80px;
    }
    .custom-cat-posts__meta {
        padding: 20px 25px;
    }
}
/* SP */
@media screen and (max-width: 480px) {
    .custom-cat-posts__list {
        grid-template-columns: 1fr;
    }
    .custom-cat-posts {
        padding: 0 20px 60px;
    }
    .custom-cat-posts__title {
        font-size: 24px;
        margin-bottom: 35px;
    }
    .custom-cat-posts__desc {
        font-size: 14px;
        line-height: 1.8;
        margin: -15px auto 35px;
    }
    .custom-cat-posts__meta {
        padding: 15px 20px;
    }
    .custom-cat-posts__name {
        font-size: 16px;
    }
}
/*【トップページ】 ブログセクション */
.blog_list .content{
	background:#ffffff;
}
/* ブログスライド：白背景をスライド高さに揃える */
.cb_blog_list .swiper-slide {
    display: flex !important;
    flex-direction: column;
}
.cb_blog_list .swiper-slide .content {
    flex-grow: 1;
} 
.category_button{
	    background:var(--main_color);
}
.category_button:hover {
  background: #f52b28;
}
.home .blog_list .category_button{
transform:revert;
}
/*---------------------------------------------
 * お問い合わせフォーム
 *---------------------------------------------*/
/* フォーム入力欄の内側余白 */
.p-entry__body table.mailform-tbl td input[type="text"],
.p-entry__body table.mailform-tbl td input[type="email"],
.p-entry__body table.mailform-tbl td input[type="tel"],
.p-entry__body table.mailform-tbl td textarea {
    padding: 8px 12px;
    height: auto;
    box-sizing: border-box;
}
.page-template-page-contact .post_content table,.page-template-page-recruit .post_content table{
	border-top:none;
	border-left:none;
}
.p-entry__body table.mailform-tbl{
	width:100%;
	margin-top:100px;
}
.p-entry__body table.mailform-tbl tr{
	height: 66px;
}
	.p-entry__body table.mailform-tbl th{
		border: none;
		background: none;
		vertical-align:middle;
	}
	.p-entry__body table.mailform-tbl th span.attention{
		background: #dc4545;
		color: #fff;
		padding: 0 10px;
	}
	.p-entry__body table.mailform-tbl td{
		border: none;
	}
	.p-entry__body table.mailform-tbl td input, .p-entry__body table.mailform-tbl td textarea{
		border: none;
		background: #eeeeee;
	}
	.p-entry__body table.mailform-tbl td textarea{
		resize: vertical;
		min-height: 300px;
	}
	.p-entry__body table.mailform-tbl td.w90 input, .p-entry__body table.mailform-tbl td.w90 textarea{
		width:100%;
	}
	.p-entry__body table.mailform-tbl td input{
		min-height: 35px;
	}
	.p-entry__body table.mailform-tbl td .mwform-checkbox-field{
		margin-right: 10px;
	}
	.p-entry__body table.mailform-tbl td .mwform-checkbox-field label{
		font-size: 16px;
	}
	.p-entry__body table.mailform-tbl td .mwform-checkbox-field input{
		min-height: 10px;
	}
	.p-entry__body table.mailform-tbl td.w60 input{
		width:60%;
	}
	.mw_wp_form #submit-button{
		border: 1px solid var(--main_color);
		position: relative;
		font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 60px;
    margin: 40px auto 100px;
    border-radius: 60px;
    background-color: transparent;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
	}
	.mw_wp_form #submit-button input{
		border: none;
		position: relative;
		left: 0px;
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
    color: var(--main_color);
    font-size: 16px;
    font-weight:400;
    cursor: pointer;
    padding: 0 24px;
    line-height: 60px;
    text-align: center;
	}
	.mw_wp_form #submit-button:after {
		display: inline-block;
		position: absolute;
		right: 25px;
    content: "";
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--main_color);
    border-right: 2px solid var(--main_color);
    border-bottom: none;
    border-left: none;
    transform: translateY(-50%) rotate(45deg);
    left: auto;
    bottom: auto;
    background: none;
	}
#submit-button:hover {
    background-color:var(--main_color);
}
#submit-button:hover::after {
    border-top-color: #fff;
    border-right-color: #fff;
}
#submit-button:hover input[type="submit"]{
	color:#ffffff!important;
}
/* 確認画面での送信ボタンと戻るボタンの間隔調整 */
.mw_wp_form_confirm #submit-button {
    margin-bottom: 20px;
}
/* 入力画面では戻るボタンを非表示 */
.mw_wp_form_input #submit-button-back {
    display: none !important;
}
	.mw_wp_form #submit-button-back{
		text-align:center;
		font-size: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 280px;
    height: 60px;
    margin: 0 auto 40px;
    padding: 0;
    border: 1px solid #999;
    border-radius: 60px;
    background-color: transparent;
    position: relative;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
	}
	.mw_wp_form #submit-button-back input{
		background: #fff;
		border: none;
		position: relative;
		left: 0px;
    display: block;
    width: 100%;
    height: 100%;
    background: transparent;
    color: #999;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    padding: 0 24px;
    line-height: 60px;
    text-align: center;
	}
	.mw_wp_form #submit-button-back:after {
		display: inline-block;
    content: "";
    position: absolute;
    left: 24px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 2px solid #999;
    border-left: 2px solid #999;
    border-bottom: none;
    border-right: none;
    transform: translateY(-50%) rotate(-45deg);
    right: auto;
    bottom: auto;
    background: none;
	}
#submit-button-back:hover {
    background-color: #999;
}
#submit-button-back:hover::after {
    border-top-color: #fff;
    border-left-color: #fff;
}
#submit-button-back:hover input[type="submit"]{
	color:#ffffff!important;
}
	.page-template-page-contact.page-parent .mw_wp_form #submit-button-back, .page-template-page-recruit.page-parent .mw_wp_form #submit-button-back{
		display:none;
	}
	.page-template-page-contact.page-child .mw_wp_form #submit-button, .page-template-page-recruit.page-child .mw_wp_form #submit-button{
		margin-bottom:50px;
	}
	.error .mw_wp_form #submit-button-back{
		display:none;
	}
@media screen and (min-width:960px){
	.p-entry__body table.mailform-tbl th{
		width: 33%;
		text-align: left;
		position: relative;
		font-size:18px;
	}
	.p-entry__body table.mailform-tbl th span.attention{
		position: absolute;
		right: 20px;
		top: 20px;
		font-size:14px;
	}
	.formcontent{
		margin-left: auto;
		margin-right: auto;
		position: relative;
		width: 89.84375%;
		max-width: 1150px;
	}
	.formcontent p{
		line-height: 2;
		font-size: 17px;
	}
}
@media screen and (max-width:959px){
    .p-entry__body table.mailform-tbl,
    .p-entry__body table.mailform-tbl tbody {
        display: block !important;
        width: 100% !important;
    }
    .p-entry__body table.mailform-tbl td input{
        box-sizing: border-box !important;
    }
    .p-entry__body table.mailform-tbl td textarea {
        width: 100% !important;
        box-sizing: border-box !important;
    }
.p-entry__body table.mailform-tbl th {
    border: none;
    background: none;
    display: block;
        padding: 15px 15px 13px;
        font-size: 16px;
        line-height: 1.6;
}
	.p-entry__body table.mailform-tbl tr{
		height:auto;
		display: block !important;
        width: 100% !important;
	}
	.page-template-page-recruit .p-entry.l-inner{
		padding: 0;
	}
	.p-entry__body table.mailform-tbl th, .p-entry__body table.mailform-tbl td{
		text-align:left;
		padding: 10px 0;
	}
	.p-entry__body table.mailform-tbl td{
		padding: 15px 15px 13px;
       display: block !important;
        width: 100% !important;
	}
	.p-entry__body table.mailform-tbl th span.attention{
		padding: 0 5px;
		font-size: 13px;
		margin-left: 5px;
        line-height: 1.5;
        display: inline-block;
	}
	.p-entry__body table.mailform-tbl th{
		margin-top:10px;
	}
	.p-entry__body table.mailform-tbl tr:fast-child th{
		margin-top:0;
	}
	.p-entry__body table.mailform-tbl td .mwform-checkbox-field{
		display: inline-block;
		width: 100%;
		margin: 0;
	}
	.mw_wp_form #submit-button input{
	color:#000000!important;
	}
}
@media screen and (min-width:641px) and (max-width:959px){
	.mailform-tbl tbody{
		width:100%;
		display: block;
	}
	.p-entry__body table.mailform-tbl{
		margin:0 0 50px 0;
	}
}
@media screen and (min-width:641px){
	.p-entry__body table.mailform-tbl td input[type="text"].w40{
		width:40%;
	}
	.p-entry__body table.mailform-tbl td input[type="text"].w90{
		width:100%;
	}
}
@media screen and (max-width:640px){
    .p-entry__body table.mailform-tbl {
        margin-top: 40px;
    }
   .p-entry__body table.mailform-tbl th,
    .p-entry__body table.mailform-tbl td {
        display: block !important;
        width: 100%;
        padding: 8px 0;
        text-align: left;
    }
    .p-entry__body table.mailform-tbl th {
        font-size: 14px;
        padding-top: 16px;
        padding-bottom: 4px;
        border-bottom: none;
    }
    .p-entry__body table.mailform-tbl td {
        padding-top: 0;
        padding-bottom: 16px;
        border-bottom: 1px solid #eee;
    }
    .p-entry__body table.mailform-tbl tr {
        display: block !important;
        height: auto !important;
    }
    .p-entry__body table.mailform-tbl td input.w40 {
        width: 50% !important;
        box-sizing: border-box;
    }
    #submit-button,
    #submit-button-back {
        width: 100%;
        max-width: 280px;
    }
	.mw_wp_form #submit-button{
		margin-bottom:60px;
	}
	.p-entry__body table.mailform-tbl td.w60 input, 
	.p-entry__body table.mailform-tbl td.w90 input, 
	.p-entry__body table.mailform-tbl td.w90 textarea, 
	.p-entry__body table.mailform-tbl input.w90{
	 width:88vw;
	}
}
/*---------------------------------------------
 * 下層ページ
 *---------------------------------------------*/
#page_contents img {
    border-radius: 4px;
}
.image_box_l img,.image_box_r img{
	width:100%;
}
/* 【下層ページ】お問い合わせページ */
body .formcontent p{
	line-height:2em;
}
/* 【下層ページ】採用情報ページ */
#recruitcont .content_box_r,#recruitcont .content_box_l,#recruitcont .content_box_full{
	line-height:2.4;
}
.listcont{
	background:#eeeeee;
	padding:3%;
	border-radius:10px;
	line-height:2.4;
}
.list_text_group .list_text{
	font-weight:bold;
}
.list_text {
  list-style: none;       /* デフォルトの●を消す */
  position: relative;
  padding-left: 1.5em;    /* アイコン分の余白 */
border-bottom:1px dotted #999999;
}

.list_text::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color:var(--main_color);         /* 好きな色に変更OK */
  font-weight: bold;
}
.recruit_section {
    padding-bottom: 0;
}

@media screen and (min-width:641px){
#recruitcont .allcontentbox{
	display:flex;
    gap: 40px;
    align-items: flex-start;
	justify-content:space-between;
}
	#recruitcont .allcontentbox:has(.image_box_r){
		flex-direction: row-reverse;
	}
#recruitcont .image_box_l,#recruitcont .image_box_r,#recruitcont .content_box_l,#recruitcont .content_box_r{
		width:48%;
	}
}
@media screen and (max-width:640px){
	#recruitcont .content_box_r,#recruitcont .content_box_l{
		margin-top:50px;
	}
}
	/* 採用情報タブ切り替え */
.recruit_section .recruittabs0 {
    padding-top: 0;
}
	.page-template-page-recruit .p-entry.l-inner{
		width:auto;
	}
	.maeoki{
		margin-top:60px;
		margin-bottom: 60px;
	}
	#gaiyocont{
		margin-bottom: 120px;
	}
	.gaiyowrap img{
		width:100%;
	}
	.gaiyo_after_cont{
		margin-top:50px;
		padding: 20px;
		background: #f5f5f5;
	}
	.gaiyo_after_title{
		font-weight: bold;
	}
	.tabs {
		margin-top: 50px;
		margin: 0 auto;
		margin-bottom:80px;
	}
	.tab_item {
		height: 65px;
		line-height: 65px;
		font-size: 16px;
		text-align: center;
		color: #ffffff;
		display: block;
		float: left;
		text-align: center;
		font-weight: normal;
		border-radius: 6px;
		box-sizing: border-box;
		background:var(--main_color);
	}
	.tab_item:hover {
		opacity: 0.5;
	}
	.recruittabs1 .tab_item {
		width: 100%;
	}
	.recruittabs2 .tab_item {
		width: 48%;
	}
	.recruittabs2 .tab_item1{
		float:left;
	}
	.recruittabs2 .tab_item2{
		float:right;
	}
	.recruittabs3 .tab_item {
		width: 32%;
		margin-right: 22px;
	}
	.recruittabs3 .tab_item3{
		margin-right:0;
	}
	.recruittabs4 .tab_item {
		width: 24%;
		margin-right: 1.3%;
	}
	.recruittabs4 .tab_item4{
		margin-right:0;
	}
	input[name="tab_item"] {
		display: none;
	}
	.tab_content {
		display: none;
		padding: 40px 0 0;
		clear: both;
		overflow: hidden;
	}
	#recruit_sub_title4:checked ~ #recruit_content4,
	#recruit_sub_title3:checked ~ #recruit_content3,
	#recruit_sub_title2:checked ~ #recruit_content2,
	#recruit_sub_title1:checked ~ #recruit_content1 {
		display: block;
	}
	.tabs input:checked + .tab_item {
		color: #fff;
		padding-bottom: 5px;
		border:none;
	}
@media screen and (min-width:960px){
	.tab_content div, .recruit_koumoku_wrap{
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-ms-flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.tab_content div.recruit_koumoku_title{
		width: 15%;
		float: left;
		padding: 25px;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
	}
	.tab_content div.recruit_koumoku_cont{
		width: 73%;
		float: left;
		padding: 25px;
	}
	.tab_item{
		font-size:19px;
		padding-bottom: 8px;
	}
}
@media screen and (max-width:959px){
	.recruittabs2 .tab_item{
		width: 48.5%;
		margin-right: 3%;
	}
	.recruittabs2 .tab_item2 {
		margin-right: 0;
	}
	.recruittabs3 .tab_item{
		width: 48.5%;
		margin-right: 3%;
	}
	.recruittabs3 .tab_item1 {
		margin-bottom:3%;
	}
	.recruittabs3 .tab_item2 {
		margin-right: 0;
	}
	.recruittabs4 .tab_item{
		width: 48.5%;
		margin-right: 3%;
	}
	.recruittabs4 .tab_item1, .recruittabs4 .tab_item2{
		width: 48.5%;
		margin-bottom:3%;
	}
	.recruittabs4 .tab_item2, .recruittabs4 .tab_item4{
		margin-right: 0;
	}
}
@media screen and (max-width:640px){
	.tab_item{
		height: 55px;
		line-height: 55px;
	}
	.recruittabs2 .tab_item,.recruittabs3 .tab_item,.recruittabs4 .tab_item{
		width:100%;
		margin-bottom:3%;
	}
}
/* 【下層ページ】会社概要ページ */
#infocustomcontent .content_box_r,#infocustomcontent .content_box_l,#infocustomcontent .content_box_full{
	line-height:2.4;
}
.infosubtitle{
		font-weight:bold;
	}
.informationtable{
	width:100%;
}
.infosubtitle,.infosubcont{
	padding:20px;
}
.tablewrap{
	border-bottom:1px solid #cccccc;
}
@media screen and (min-width:960px){
	.tablewrap{
		display:flex;
		align-items:center;
	}
	.infosubtitle{
		width:25%;
	}
	.infosubcont{
		width:75%;
	}
}
@media screen and (max-width:959px){
	
}
@media screen and (min-width:641px){
#infocustomcontent .allcontentbox{
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
#infocustomcontent .allcontentbox:has(.image_box_r){
		flex-direction: row-reverse;
	}
#infocustomcontent .image_box_l,#infocustomcontent .image_box_r,#infocustomcontent .content_box_l,#infocustomcontent .content_box_r{
    flex: 0 0 48%;
    padding-top: 39px;
	}
}
@media screen and (max-width:640px){
#infocustomcontent .content_box_r,#infocustomcontent .content_box_l{
		margin-top:50px;
	}
}
/* 【下層ページ】よくあるご質問ページ（仮） */
.faq-bottom-cta {
  max-width: 1030px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.faq-bottom-cta__buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.faq-bottom-cta__buttons .design_button {
    flex: 1;
    width: auto;
    min-width: 0;
}
.faq-bottom-cta__banner {
  text-align: center;
  margin-top: 3rem;
}
.faq-bottom-cta__banner img {
  max-width: 100%;
  height: auto;
  transition: opacity 0.3s;
}
.faq-bottom-cta__banner a:hover img {
  opacity: 0.8;
}

#flow .p4cont3 .faq-bottom-cta__banner {
  margin-top: 0;
}
/* SP対応 */
@media screen and (max-width: 800px) {
  .faq-bottom-cta {
    padding: 0;
  }
  .faq-bottom-cta__buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 30px;
  }
  .faq-bottom-cta__buttons .design_button {
    width: 100%;
  }
}
/* 【下層ページ】ブログページ */
.blog-signature{
	margin-top:80px;
}
.blog_list .category_button {
    top: 0;
    bottom: auto;
    transform: none;
}
@media (hover: hover) {
    .category_sort_button a:hover {
		background: var(--main_color);
	}
}
/* 【下層ページ】施工実績 */
/**
 * 実績カテゴリー投稿一覧用の検索フォームスタイル
 */
.p-jisseki-search {
  width: min(100%, 600px);
  margin-inline: auto;
  padding-inline: 20px;
}
.p-jisseki-search :where(input, select) {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  line-height: 1.4;
}
.p-jisseki-search__form {
  font-size: 16px;
  line-height: 1.4;
}
.p-jisseki-search__wrap {
  padding-bottom: 40px;
}
.p-jisseki-search__row {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  gap: 20px;
}
@media (min-width: 769px) {
  .p-jisseki-search__row {
    flex-direction: row;
  }
}
.p-jisseki-search__field {
  display: flex;
  flex: 1;
  align-items: stretch;
}
.p-jisseki-search__field.p-jisseki-search__field--keyword {
  display: flex;
}
.p-jisseki-search__button {
  flex-shrink: 0;
  padding: 10px 20px;
  border: 0;
  background-color: #000;
  color: #fff;
  cursor: pointer;
}
.p-jisseki-search__button:hover {
  background-color: #444;
}
.p-jisseki-search__all {
  display: inline-block;
  width: 100%;
  padding: 10px 20px;
  border: 1px solid #ddd;
  color: #000;
  text-align: center;
  text-decoration: none;
}
/**
 * 事例や実績紹介個別ページ用スタイル
 */
.p-case-article {
  letter-spacing: 0.03em;
}
.p-case-article p {
  line-height: 1.8;
}
.p-case-article__title {
  font-size: 24px;
  text-align: center;
}
@media (min-width: 993px) {
  .p-case-article__title {
    font-size: 32px;
  }
}
.p-case-article__date {
  display: block;
  margin-top: 24px;
  color: #666;
  font-size: 14px;
}
@media (min-width: 993px) {
  .p-case-article__date {
    font-size: 17px;
  }
}
.p-case-article__term {
  margin-top: 8px;
}
.p-case-article__term > a {
  display: inline-block;
  padding: 0.5em 1em;
  border: 1px solid #000;
  color: #000;
  font-size: 14px;
  line-height: 1.4;
}
@media (min-width: 993px) {
  .p-case-article__term > a {
    font-size: 17px;
  }
}
.p-case-article__term > a:hover {
  background-color: #000;
  color: #fff;
}
.case-gallery-slider__image {
  height: 300px;
  background: #f5f5f5;
  text-align: center;
}
@media (min-width: 993px) {
  .case-gallery-slider__image {
    height: 500px;
  }
}
.case-gallery-slider__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.case-gallery-slider__caption {
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
}
.case-gallery-slider-thumb {
  margin-top: 40px;
}
.case-gallery-slider-thumb .splide__slide {
  opacity: 0.6;
}
.case-gallery-slider-thumb .splide__slide.is-active {
  opacity: 1;
}
.case-gallery-slider-thumb .splide__track--nav > .splide__list > .splide__slide {
  border: 0;
}
.case-gallery-slider-thumb__item {
  height: 100%;
}
.case-gallery-slider-thumb__image {
  height: 100%;
}
.case-gallery-slider-thumb__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 【下層ページ】プライバシーポリシーページ */
.page-template-page-privacy-policy .post_content .priv-h3{
	padding-top: 20px;
	margin-bottom: 10px;
	color:var(--main_color);
	font-size:130%;
}
.page-template-page-privacy-policy #page_contents{
	line-height:2em;
}
	.privacy-company-info{
		font-weight:bold;
	}
@media screen and (max-width:640px){
	
}
/*---------------------------------------------
 * 標準テンプレート
 * デフォルトテンプレート、フローテンプレート、スライダーテンプレート、Q&Aテンプレート、フリーコンテンツ
 *---------------------------------------------*/
/* デフォルトテンプレート */
#defocont .content_box_r,#defocont .content_box_l,#defocont .content_box_full{
	line-height:2.4;
	flex: 1;
}
@media screen and (min-width:641px){
#defocont .allcontentbox{
	display:flex;
    gap: 40px;
    align-items: flex-start;
	justify-content:space-between;
}
	#defocont .allcontentbox:has(.image_box_r){
		flex-direction: row-reverse;
	}
#defocont .image_box_l,#defocont .image_box_r,#defocont .content_box_l,#defocont .content_box_r{
		width:48%;
	}
}
@media screen and (max-width:640px){
	#defocont .content_box_r,#defocont .content_box_l{
		margin-top:50px;
	}
#defocont .image_box_l,#defocont .content_box_r{}
	#defocont .image_box_l img{}
	#defocont .content_box_r{
	}
}
/* フローテンプレート */
#flow .flowright.flowimg img{
	width:100%;
}
.flowwrap{
	margin-top:50px;
}
#flow .flowleft h3{
	display:flex;
	align-items:center;
}
#flow .flow-no,#flow .flow-sub-title{
	display:block;
}
#flow .flow-no{
	background:var(--main_color);
	width:50px;
	height:50px;
	border-radius:50%;
	color:#ffffff;
	display:flex;
	align-items:center;
	justify-content:center;
}
#flow .flow-sub-title{
	margin-left:10px;
}
.flowtext{
	line-height:1.5em;
}
#flow{
	margin-top: 56px;
	}
@media screen and (min-width:641px){
	#flow .flowbox .flow{
		display:flex;
		justify-content:space-between;
	}
	#flow .flow-wrap-flex,#flow .flowright.flowimg{
		width:48%;
	}
#flow .flow.no-image .flow-wrap-flex{
	width:100%;
}
}
@media screen and (max-width:640px){
	#flow .flowright.flowimg{
		margin-top:50px;
	}
#flow{
	margin-top: 36px;
	}
}
/* スライダーテンプレート */
#slidercont {
    border: 1px solid #ccc;
    padding: 60px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;

    align-items: center;
    justify-content: center;
}
#slidercont .sliderwrap {
    width: 100%;
}
#slidercont #slick1 {
    margin-bottom: 0;
}
.sliderwrap .slick-list {
    overflow: hidden;
    max-width: 70%;
    margin: 0 auto;
}
.sliderwrap .slick-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}
/* ドットナビゲーション */
.sliderwrap .slick-dots {
    position: relative;
    bottom: auto;
    margin-top: 20px;
    padding: 0;
    list-style: none;
    text-align: center;
    display: flex !important;
    justify-content: center;
    gap: 14px;
}
.sliderwrap .slick-dots li {
    width: 16px;
    height: 16px;
    margin: 0;
}
.sliderwrap .slick-dots li button {
    width: 16px;
    height: 16px;
    padding: 0;
    border: 1px solid #cc3b42;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
}
.sliderwrap .slick-dots li button:before {
    display: none;
}
.sliderwrap .slick-dots li.slick-active button {
    background: #cc3b42;
}
/* スライダー：タブレット・スマホ対応 */
@media screen and (max-width: 1024px) {
    #page_contents .sliderwrap {
        padding: 0;
    }
    #slidercont {
        border: none;
        padding: 0;
    }
    .sliderwrap .slick-list {
        max-width: 100%;
    }
}
/* Q&Aテンプレート */
#page_contents .acwrap {
    padding: 80px 0 30px;
}
#page_contents .acwrap > h2.rich_font + div {
    border: 1px solid #ddd;
    padding: 40px 40px 20px;
}
.qatxt{
	line-height:2.4
}
#page_contents .qafream {
    border: none;
    border-top: 1px solid #ddd;
    padding: 30px 0;
    margin-top: 0;
}
#page_contents .qafream:first-of-type {
    border-top: none;
}
#page_contents .qcont {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}
#page_contents .qcont .qaicon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    margin-right: 20px;
}
#page_contents .qcont .qaicon .question {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--main_color);
    border-radius: 100%;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
#page_contents .qcont .qacontent {
    flex: 1;
    min-width: 0;
}
#page_contents .qcont .qatxt,
#page_contents .qcont .qatxt.qaborder {
    font-size: 20px;
    font-weight: 600;
    color: var(--main_color);
    line-height: 1.5;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}
#page_contents .acont .qaicon {
    display: none;
}
#page_contents .acont .qacontent {
    padding-left: 0;
}
#page_contents .acont .qatxt {
    font-size: 16px;
    font-weight: 400;
    color: #000;
    line-height: 2.0;
}
/* フリーコンテンツ */
/* 最後のfreecont_article（ボタンバナー直前）の上余白を詰める */
#page_contents .freecont_article:last-of-type {
    padding-top: 20px;
}
@media screen and (max-width: 959px) {
    #page_contents .freecont_article:last-of-type {
        padding-top: 10px;
    }
}
@media screen and (max-width: 640px) {
    #page_contents .freecont_article:last-of-type {
        padding-top: 0;
        padding-bottom: 0;
    }
}






/*ここから  */
/* フローセクション */
#page_contents .article {
    padding: 80px 0 30px;
}
#page_contents .flow-no {
    width: 44px;
    height: 44px;
    font-size: 18px;
    background: #cc3b42;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
#page_contents .flow-sub-title {
    font-size: 20px;
    font-weight: 600;
}
#page_contents .flowwrap {
    margin-top: 40px;
    padding-bottom: 40px;
    border-bottom: none;
}
#page_contents .flowwrap:last-child {
    border-bottom: none;
}

/* スライダーセクション */
#page_contents #slidercont {
    padding: 0;
}
#page_contents .sliderwrap {
    padding: 0 0 30px;
}



/* フリーコンテンツセクション */
#page_contents .freecont_article {
    padding: 0;
}

/* /work レスポンシブ - タブレット */
@media screen and (max-width: 800px) {
    #page_contents {
        padding: 0 48px;
    }
    #page_contents h2,
    #page_contents h2.rich_font {
        font-size: 28px !important;
        margin-top: 0;
        margin-bottom: 24px;
        line-height: 1.4;
    }
    #page_contents h3,
    #page_contents h3.rich_font {
        margin-bottom: 20px;
    }
    #page_contents .content_box_r,
    #page_contents .content_box_l {
        padding-top: 0;
    }

    #page_contents .allcontentbox {
        flex-direction: column !important;
        gap: 12px;
        align-items: stretch;
    }
    #page_contents .image_box_l,
    #page_contents .image_box_r {
        flex: none;
        width: 100%;
        padding-top: 0;
    }
    #page_contents .content_box_l,
    #page_contents .content_box_r {
        width: 100%;
    }
    #page_contents #allcontent,
    #page_contents .p4cont3,
    #page_contents .sliderwrap,
    #page_contents .acwrap,
    #page_contents .freecont_article {
        padding: 0;
    }
    /* Q&A tablet */
    #page_contents .acwrap > h2.rich_font + div {
        border-left: none;
        border-right: none;
        padding-left: 0;
        padding-right: 0;
    }
    #page_contents .qcont .qaicon {
        width: 36px;
        height: 36px;
        margin-right: 15px;
    }
    #page_contents .qcont .qaicon .question {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }
    #page_contents .qcont .qatxt,
    #page_contents .qcont .qatxt.qaborder {
        font-size: 18px;
    }
    #page_contents .acont .qacontent {
        padding-left: 0;
    }
}

/* /work レスポンシブ - スマホ */
@media screen and (max-width: 480px) {
    #page_contents {
        padding: 0 20px;
    }
    #page_contents h2,
    #page_contents h2.rich_font {
        font-size: 24px !important;
        margin-top: 0;
        margin-bottom: 20px;
        line-height: 1.4;
    }
    #page_contents h3,
    #page_contents h3.rich_font {
        font-size: 18px;
        margin-bottom: 16px;
        padding-bottom: 10px;
        line-height: 1.4;
    }
    #page_contents h3::after {
        width: 24px;
    }
    #page_contents #allcontent,
    #page_contents .p4cont3,
    #page_contents .sliderwrap,
    #page_contents .acwrap,
    #page_contents .freecont_article {
        padding: 0;
    }
    /* Q&A smartphone */
    #page_contents .qafream {
        padding: 20px 0;
    }
    #page_contents .qcont .qaicon {
        width: 32px;
        height: 32px;
        margin-right: 12px;
    }
    #page_contents .qcont .qaicon .question {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    #page_contents .qcont .qatxt,
    #page_contents .qcont .qatxt.qaborder {
        font-size: 16px;
        line-height: 1.4;
    }
    #page_contents .acont .qacontent {
        padding-left: 0;
    }
    #page_contents .acont .qatxt {
        font-size: 14px;
        line-height: 1.8;
    }
    /* 会社概要テーブル SP余白調整 */
    .informationtable .infosubtitle {
        padding-bottom: 4px;
    }
    .informationtable .infosubcont {
        padding-top: 4px;
    }
}

/* 会社概要テーブル SP余白調整 タブレット含む */
@media screen and (max-width: 959px) {
    .informationtable .infosubtitle {
        padding-bottom: 4px;
    }
	    .informationtable .infosubcont {
        padding-top: 4px;
    }
}




/* ==========================================
   全固定ページ 見出しデザイン統一
   ========================================== */

/* h2: recruit_cont_title → styled_h2 風に */
.recruit_cont_title {
    font-size: 28px !important;
    text-align: center !important;
    font-weight: 600 !important;
    color: #000 !important;
    border: none !important;
    background-color: transparent !important;
    margin-top: 84px;
    margin-bottom: 36.4px;
}

/* h3: テンプレート出力のh3 → styled_h3 風に */
.content_box_r h3,
.content_box_l h3,
.content_box_full h3,
.informationtable > h3,
#infotabletitle {
    font-size: 26px !important;
    font-weight: 600 !important;
    text-align: left !important;
    color: #000 !important;
    border-bottom: 3px solid #999;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    padding-left: 0 !important;
    padding-top: 13px;
    padding-bottom: 13px;
    margin-top: 0;
    margin-bottom: 28px;
    background-color: transparent !important;
}

@media (max-width: 800px) {
    .recruit_cont_title {
        font-size: 22px !important;
    }
    .content_box_r h3,
    .content_box_l h3,
    .content_box_full h3,
    #infotabletitle {
        font-size: 20px !important;
    }
}

/* 全固定ページ セクション間余白（上下均等） */
#page_contents .slider_section,
#page_contents #allcontent,
#page_contents .p4cont3,
#page_contents .sliderwrap,
#page_contents .acwrap,
#page_contents .maeoki,
#page_contents .tabs,
#page_contents .freecont_article,
#page_contents .recruit_section,
#page_contents .post_box {
    padding: 60px 0;
}

/* 空のfreecont_articleのpadding除去 */
#page_contents .freecont_article:not(:has(*)) {
    padding: 0;
}
@media screen and (max-width: 800px) {
    #page_contents .slider_section,
    #page_contents #allcontent,
    #page_contents .p4cont3,
    #page_contents .sliderwrap,
#page_contents .acwrap,
    #page_contents .maeoki,
    #page_contents .tabs,
    #page_contents .freecont_article,
    #page_contents .recruit_section,
    #page_contents .post_box {
        padding: 48px 0;
    }
}

@media screen and (max-width: 480px) {
    #page_contents .slider_section,
    #page_contents #allcontent,
    #page_contents .p4cont3,
    #page_contents .sliderwrap,
    #page_contents .acwrap,
    #page_contents .maeoki,
    #page_contents .tabs,
    #page_contents .freecont_article,
    #page_contents .recruit_section,
    #page_contents .post_box {
        padding: 36px 0;
    }
}

/* ==========================================
   パンくず↔コンテンツ / コンテンツ↔フッター余白
   ========================================== */

/* パンくず → コンテンツ開始（セクション間より広め） */
#bread_crumb {
    margin-bottom: 80px;
}

/* コンテンツ → footer_contact（セクション間より広め） */
#footer_contact {
    margin-top: 80px;
}

@media screen and (max-width: 800px) {
    #bread_crumb {
        margin-bottom: 60px;
    }
    #footer_contact {
        margin-top: 60px;
    }
}

@media screen and (max-width: 480px) {
    #bread_crumb {
        margin-bottom: 48px;
    }
    #footer_contact {
        margin-top: 48px;
    }
}


/* 全固定ページ 画像角丸統一 */
#page_contents img {
    border-radius: 4px;
}






/* 標準コンテンツ内の各ブロック間余白 */
#page_contents .post_box + .post_box {
    margin-top: 60px;
}
/* フロー（ご相談から施工完了までの流れ）セクション内の余白調整 */
#page_contents .flowwrap {
    margin-top: 16px;
    padding-bottom: 16px;
}
#page_contents .flowwrap h3 {
    margin-top: 0 !important;
    margin-bottom: 12px;
}




/* 会社概要ページ セクション間隔 */
.information .greeting_section {
    padding: 0 0 60px;
}
.information .info_section {
    padding: 60px 0;
}

/* ===== 下層：よくあるご質問ページ修正 ===== */

/* archive_descベタ打ちテキストを非表示（#page_header内の直接テキストノード） */
#archive_faq + .faq-bottom-cta,
body.tax-faq_category #page_header,
body.post-type-archive-faq #page_header {
    /* page_headerはoverflow:hiddenで350px固定なので、はみ出しテキストは見えないはずだが念のため */
}
body.post-type-archive-faq #page_header {
    font-size: 0 !important;
    line-height: 0 !important;
}
body.post-type-archive-faq #page_header .headline {
    font-size: 36px !important;
    line-height: 1.4 !important;
}
#archive_desc {
    line-height: 2.4 !important;
}
/* ボタンの上マージン追加 */
.faq-bottom-cta__buttons {
    margin-top: 1.5rem !important;
}


/* 999px以下でFAQとボタンバナーに左右パディング追加 */
@media screen and (max-width: 999px) {
    #archive_faq {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    .faq-bottom-cta {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    /* ボタンが縦並びになった時の間隔を広げる */
    .faq-bottom-cta__buttons {
        gap: 15px !important;
    }
    .faq-bottom-cta__buttons .design_button {
        margin-bottom: 0 !important;
    }
}

/* iPad Air縦(820px)でFAQリスト項目の上下パディングを均等に */
@media screen and (max-width: 999px) {
    .item.faq_list {
        padding-top: 25px !important;
        padding-bottom: 25px !important;
    }
    .item.faq_list .question {
        margin-bottom: 0 !important;
    }
}


/* FAQページ: .faq-bottom-cta左右パディング拡大 */
body.post-type-archive-faq .faq-bottom-cta {
    padding-left: 48px !important;
    padding-right: 48px !important;
}

/* スマホ時: .faq-bottom-cta上下パディング0 */
@media screen and (max-width: 480px) {
    .faq-bottom-cta {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}
