@charset "UTF-8";
/*
Theme Name:VOGUE otherpage
Theme URI:
Description:WordPressテーマ「VOGUE!」の下層ページ用css
Author:Design Plus
Author URI:
Text Domain: 
Version:1.2.5
date:2020122414:37
*/

/*common & reset*/
/*min1025px*/
/*max1024px*/
/*PC*/
/*tablet*/
/*SP*/

/*common & reset*/
	.acfwrap{
		background:#fff;
	}
	input, textarea{
		outline:none;
	}
	input#s{
		width: 230px;
		height: 26px;
	}
	#searchsubmit{
		float: right;
		height: 32px;
	}
	.l-footer, .page-template .pagenavi{
		clear:both;
	}
	.page-template .pagenavi{
	    margin-bottom: 100px;
	}
	.page-template .l-contents, .page-template .l-secondary{
		background:none;
	}
	.page-numbers{
		background: #fff;
		border:1px solid #3d3d3d;
		display: inline-block;
		color: #3d3d3d;
		padding: 15px;
	}

	.page-template .l-secondary ul{
		list-style-type: none;
	}
	.page-template .l-secondary ul li, .single .l-secondary ul li{
		list-style-type:none;
	}
	.l-secondary a{
		word-break: break-all;
	}
	/*page-template-page-no-side-custom-all*/
	#allcontent{
		margin-left: auto;
		margin-right: auto;
		margin-top:90px;
		margin-bottom:50px;
		position: relative;
		width: 89.84375%;
		max-width: 1150px;
	}

	#allcontent h2{
		text-align:center;
	}
	#allcontent #defocont{
		padding-top: 80px;
	}
	#allcontent #defocont.fadeup{
		-webkit-animation-fill-mode: both;
		-ms-animation-fill-mode: both;
		animation-fill-mode: both;
		-webkit-animation-duration: 1.5s;
		-ms-animation-duration: 1.5s;
		animation-duration: 1.5s;
		-webkit-animation-name: fadeup;
		-ms-animation-name: fadeup;
		animation-name: fadeup;
	}
	@-webkit-keyframes fadeup {
		0% { opacity: 0; -webkit-transform: translateY(50px); }
		100% { opacity: 1; -webkit-transform: translateY(0); }
	}
	@keyframes fadeup {
		0% { opacity: 0; -webkit-transform: translateY(50px); -ms-transform: translateY(50px); transform: translateY(50px); }
		100% { opacity: 1; -webkit-transform: translateY(0); -ms-transform: translateY(0); transform: translateY(0); }
	}
	.p-archive-header{
		padding: 90px 0 50px;
	}
	/*blogitiran*/
	.page-template .p-article01__thumbnail, .archive .p-article01__thumbnail{
		height: 240px;
	}
	.page-template .p-article01__thumbnail img, .archive .p-article01__thumbnail img{
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.page-template .p-article01__date + .p-article01__category::before{
		display:none;
	}
	.page-template .p-article01__meta{
		display: flex;
		justify-content: space-between;
		margin-bottom: 0px;
	}
	.page-template .p-article01__category a{
		color: #ff6a00;
		border: 1px solid #ff6a00;
		padding: 3px 5px;
	}
	.page-template .l-inner h3.p-article01__title{
		margin-bottom: 5px;
	}
	.page-template .l-inner p.p-article01__excerpt{
		font-size:14px;
	}
	.r-container .p-widget__title{
		background: #ff8c00;
		font-size: 17px;
	}
	.page-template .l-secondary .widget_recent_entries ul li{
		border-bottom: 1px solid #d0d0cf;
		padding: 20px 0px;
	}
	.post-date{
		color: #999;
		display: block;
		margin-bottom: 10px;
		font-size: 14px;
	}
	.p-widget__title{
		margin-bottom:0px;
	}
	/*jisseki*/
	.categoriesselect{
		position: relative;
	}
	.jisseki_all_select{
		width: 222px;
		box-sizing: border-box;
		border: 1px solid #c5c5c5;
		padding: 15px 10px;
		margin: 0 auto;
		text-align: center;
		margin-bottom: 20px;
	}
	.display_selectedItem {
		width: 200px;
		border: 1px solid #c5c5c5;
		padding: 15px 10px;
		margin:0 auto;
		text-align: center;
	}
	.select_box {
		width: 220px;
		border: 1px solid #c5c5c5;
		margin:0 auto;
		text-align: center;
	}
	.select_box li {
		cursor: default;
		list-style-type:none;
		box-sizing: border-box;
		padding: 2px 10px;
	}
	.select_box li a{
		display:block;
	}
	.jisseki_blog_list{
		margin-top: 50px;
		clear: both;
	}
	.category-jisseki .p-blog-list{
		clear: both;
	}
	/*single-jisseki*/
	.jisseki-full-contents, .jisseki-full-contents .l-inner {
		max-width: 1150px;
		width: 100%;
		margin: 0 auto;
	}
	.jisseki-full-contents .l-contents__inner{
		display:block;
	}
	.jisseki-full-contents .p-entry__meta{
		margin-top: 50px;
	}
	.jisseki-full-contents .p-entry__meta a{
		color: #fff;
		padding: 5px 10px;
		font-size: 14px;
	}
	.jisseki-full-contents .p-entry__date{
		margin-left:20px;
		font-size: 14px;
	}
	.category-jisseki a.p-article01__title_link:hover, .category-jisseki a.p-article01__title_link:hover .p-article01__title{
		color:#000;
		opacity:0.5;
	}
	.garallymainimage li{
		display:none;
		position: relative;
	}
	.garallymainimage li.item1:first-child{
		display: table;
	}
	.garallymainimage figure{
		display: table-cell;
		vertical-align: middle;
		background: #fff;
		padding: 0 10px;
		border: 1px solid #d3d3d3;
	}
	.garallymainimage figure{
		margin: auto 0;
	}
	.thumb li {
		display: inline-block;
		width: 98px;
		height: 98px;
		overflow: hidden;
		cursor: pointer;
		vertical-align: top;
		margin-bottom: 4px;
	}
	.thumb li img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
	.thumb li:hover img {
		opacity: 0.8;
		filter: alpha(opacity=80);
		-ms-filter: "alpha(opacity=80)";
	}
	.garallymain img{
		width:100%;
		object-fit:contain;
	}
	.garallysentence{
		position:relative;
	}
	.garallysentenceheader p{
		padding-bottom: 20px;
		border-bottom: 1px solid #86807e;
	}
	.jisseki_text{
		margin-top:30px;
	}
	.jisseki_text p{
		line-height: 2;
	}
	.return_jisseki{
		margin-top: 20px;
		position: absolute;
		right: 0;
	}
	.return_jisseki a{
		display:block;
	}
	.c-share{
		clear:both;
	}
	.jissekisearch{
		clear:both;
	}
	.jissekisearch input#s {
		height: 30px;
	}
	input:focus::-webkit-input-placeholder {
		color: transparent;
	}
	input:focus::-moz-placeholder {
		color: transparent;
	}
	input:focus::-ms-input-placeholder {
		color: transparent;
	}
	input:focus::placeholder {
		color: transparent;
	}
	.jissekisearch #searchsubmit{
		border-radius: 0;
		border: 1px solid;
		padding: 6px 12px;
		height: 35px;
	}
	/*flow*/
	#flow{
		margin-top:50px;
		margin-bottom: 100px;
	}
	#flow h2{
		margin-left: auto;
		margin-right: auto;
		position: relative;
		width: 89.84375%;
		max-width: 1150px;
		font-size: 40px;
		margin-bottom: 60px;
		text-align:center;
	}
	.acwrap h2{
		font-size: 40px;
		margin-bottom: 60px;
	}
	.flowwrap img{
		width:100%;
	}
	.flowno{
		background: #000;
		color: #fff;
		padding: 5px 10px;
		margin-right: 10px;
	}
	.contact_box{
		margin-top:20px;
	}
	.contact_tel:before{
		content:"";
		display:inline-block;
		background-image:url(./images/icon_call.svg);
		width: 25px;
		height: 25px;
		background-size: contain;
		float: left;
	}
	.contact_tel{
		font-size: 23px;
		font-weight: bold;
	}
	.contact_link_title{
		margin-top:30px;
	}
	.contact_link_title a{
		padding: 10px 15px;
		border: 1px solid #000;
	}
	.contact_link_title a:after{
		content:">";
		display: inline-block;
		margin-left: 10px;
	}
	.acwrap h2{
		text-align:center;
	}
	.qcont, .acont{
	    padding: 15px;
	}
	.qcont{
		background: #f0f0f0;
		position:relative;
	}
	.qcont span.kaihei:before,
	.qcont span.kaihei:after {
		content: '';
		display: block;
		width: 15px;
		height: 3px;
		border-radius: 5px;
		background: #000;
		position: absolute;
		right: 25px;
		top: 50%;
		transform: translateY(-50%);
	}
	.qcont span.kaihei:after {
		background: #000;
		transform: translateY(-50%) rotate(90deg);
		transition: 0.5s;
	}
	.qcont.active span.kaihei:after {
		transform: rotate(0);
		transition: 0.5s;
	}
	.qcont .qaicon{
	    font-size: 17px;
		font-weight: bold;
		background: #000;
		color: #fff;
		padding: 5px 10px 10px 10px;
		position: relative;
		margin-right: 10px;
		width: 14px;
		height: 17px;
	}
	.acont .qaicon{
		font-size: 17px;
		font-weight: bold;
		background: #fff;
		color: #000;
		padding: 5px 10px 5px 10px;
		border: 1px solid #000;
		position: relative;
		margin-right: 10px;
		width: 14px;
		height: 17px;
	}
	/*recruit*/
	.page-template-page-recruit .l-inner{
		width:89.84375%;
	}
	.page-template-page-recruit .p-entry.l-inner{
		width:auto;
	}
	.maeoki{
		margin-top:60px;
		margin-bottom: 60px;
	}
	.page-template-page-recruit .maeoki{
		margin-bottom:80px;
	}
	#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: #333;
		display: block;
		float: left;
		text-align: center;
		font-weight: normal;
		/*transition: all 0.2s ease;*/
		border-radius: 6px;
		box-sizing: border-box;
	}
	.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;
	}
	/*.tab_item1{
		position: relative;
	}
	.tab_item1:after{
		content:"|";
		display: inline-block;
		color: #afafaf;
		position: absolute;
		right: 0;
	}*/
	#privacy{
		margin-bottom: 40px;
	}
	.p-entry__body table.mailform-tbl{
		width:100%;
	}
	.p-entry__body table.mailform-tbl tr{
		height: 66px;
	}
	.p-entry__body table.mailform-tbl th{
		border: none;
		background: none;
	}
	.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%;
	}
	.informationtable{
		margin-bottom: 100px;
	}
	.mw_wp_form #submit-button{
		text-align:center;
		margin: 0 auto;
		border: 1px solid #000;
		position: relative;
		margin-bottom: 100px;
		font-size: 16px;
		height: 46px;
		width: 218px;
		padding-top: 10px;
	}
	.mw_wp_form #submit-button input{
		background: #fff;
		border: none;
		position: relative;
		left: 0px;
		
	}
	.mw_wp_form #submit-button:after {
		content: "\e910";
		display: inline-block;
		position: absolute;
		right: 25px;
		font-family: "design_plus";
	}
	.mw_wp_form #submit-button-back{
		text-align:center;
		margin: 0 auto;
		border: 1px solid #000;
		position: relative;
		margin-bottom: 100px;
		font-size: 16px;
		height: 46px;
		width: 218px;
		padding-top: 10px;
	}

	.mw_wp_form #submit-button-back input{
		background: #fff;
		border: none;
		position: relative;
		left: 0px;
	}
	.mw_wp_form #submit-button-back:after {
		content: "\e90f";
		display: inline-block;
		position: absolute;
		left: 25px;
		font-family: "design_plus";
	}
	.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;
	}
	.tab_content div.recruit_koumoku_title, .infosubtitle{
		background: #f5f5f5;
	}
	.tab_content div.recruit_koumoku_title p{
		font-weight:normal;
		font-size:18px;
	}
	/*contact*/
	.formcontent, .page-template-page-contact #privacy{
		margin-left: auto;
		margin-right: auto;
		margin-top: 90px;
		margin-bottom: 50px;
		position: relative;
		width: 89.84375%;
		max-width: 1150px;
	}
	.page-template-page-contact #privacy{
		margin-bottom:90px;
	}
	.error .mw_wp_form #submit-button-back{
		display:none;
	}
	/*information*/
	.information {
		margin-top: 90px;
		margin-bottom: 50px;
	}
	.information .slick-track, .page-template-page-no-side-custom-all .slick-track{
		display: flex;
		justify-content: center;
		align-items: center;
	}
	.information .sliderwrap, .page-template-page-no-side-custom-all .sliderwrap{
		border: 1px solid #c5c5c5;
		padding: 50px 20px;
		margin-bottom:100px;
		background:#fff;
		max-width: 600px;
		margin-left: auto;
		margin-right: auto;
	}
	 .page-template-page-no-side-custom-all #slidercont, .acwrap, .freecont_article{
		margin-left: auto;
		margin-right: auto;
		margin-top: 90px;
		margin-bottom: 50px;
		position: relative;
		width: 89.84375%;
		max-width: 1150px;
	}
	.information .slick-dotted.slick-slider, .page-template-page-no-side-custom-all .slick-dotted.slick-slider{
		margin-bottom:0;
	}
	.post_box{
		margin-bottom: 100px;
	}
	.page-template-page-no-side-custom-all .post_box{
		padding-bottom:30px;
		margin-bottom:80px;
	}
	.page-template-page-recruit .informationtable{
		margin-bottom:80px;
	}
	.post_box:after{
		content:"";
		display:block;
		clear:both;
	}
	.post_box img{
		width:100%;
	}
	.sliderwrap img{
		width: auto;
		max-width: 90%;
		margin: 0 auto;
	}
	.sliderwrap li{
		list-style-type:none;
	}
	.tablewrap{
		border-bottom: 1px solid #d6d6d6;
		overflow: auto;
	}
	.infosubtitle, .infosubcont{
		float: left;
		padding: 25px;
	}
	.infosubtitle p{
		font-weight:normal;
	}
	.infosubcont iframe, .info_link_button_title{
		margin-top:25px;
	}
	.info_link_button_title a{
		text-align: center;
		padding: 10px 30px 10px 15px;
		border: 1px solid #000;
		position:relative;
		display: inline-block;
	}
	.info_link_button_title a:after{
	    content: "\e910";
		display: inline-block;
		position: absolute;
		right: 10px;
		font-family: "design_plus";
	}
	.infoadd1, .infoadd2{
		margin-bottom:50px;
	}
	.informationtable h3{
		text-align:center;
	}
	#infocustomcontent h3{
		font-size: 34px;
		line-height: 1.4;
		margin-bottom: 60px;
	}
	#infocustomcontent .post_box p{
	    line-height: 2;
		font-size: 17px;	
	}
	/*single*/
	.single .p-entry__meta{
		font-size:14px;
	}
	.single .p-entry__body p{
		margin-bottom:0;
		line-height:2;
	}
	#signature-block{
		margin: 30px 0;
		line-height: 1.5em;
	}
	.p-article03__thumbnail img {
		width: 100%;
		height: 145px;
		object-fit: contain;
	}
	.single-post .p-article03__thumbnail img {
		height: 100%;
		max-height: 163px;
		object-fit: cover;
	}
	.l-contents, .single .l-secondary{
		background:none!important;
	}
	.single .l-secondary .widget_recent_entries ul li {
		border-bottom: 1px solid #d0d0cf;
		padding: 20px 0px;
	}
	.page-template .slick-dots li button:before {
		font-size: 30px!important;
	}
	.page-template .slick-dots{
		bottom: -85px!important;
	}
/*min1025px*/
@media screen and (min-width:1025px){
	.p-page-header{
		height:0;
		padding:0;
	}
	.p-page-header__title{
		position: fixed;
		top: 0;
		left:0;
		height:auto;
		z-index:-3;
	}
	.p-page-header__title img{
		width:100%;
	}
	.p-page-header__title h1, .p-page-header__title p{
		position: absolute;
	}
	.p-page-header__title h1{
	}
	.p-page-header__title p{
		top: 65%;
	}
	.p-page-header, .p-page-header__inner, .p-page-header__title{
		background:none!important;
	}
	.p-page-header__inner{
		position:relative;
	}
	.content{
		background: #fff;
		position: relative;
		padding-bottom: 50px;
		overflow: auto;
	}
	.categoriesselect{
		display: block;
		width: 474px;
		margin: 0 auto;
		padding-bottom: 50px;
	}
	.jisseki_all_select{
		width: 222px;
		margin:0;
		margin-right: 30px;
		float: left;
	}
	.display_selectedItemwrap{
		width: 222px;
		float: left;
		margin-bottom: 30px;
	}
	.jissekisearch input#s{
		width:80%;
	}
	.jissekisearch #searchsubmit{
		border-radius: 0;
		border: 1px solid;
		padding: 6px 12px;
	}
	.display_selectedItem {
		margin:0;
	}
}
/*max1024px*/
@media screen and (max-width:1024px){
	.content{
		padding-bottom:50px;
	}
	.tel-mail, .tel-mail__child_2{
		display: none!important;
	}
	.p-page-header{
		background-attachment: scroll;
	}
	.c-menu-button {
		display: block;
	}
	.p-global-nav > li > a::after{
		display:none;
	}
	.tel-mail, .tel-mail__child_2{
		display: none!important;
	}
	.l-header nav{
		position: relative;
		width: 100%;
	}
	.p-global-nav > li{
		float:none;
		width: 100%;
		line-height:50px;
	}
	.l-header__inner{
		align-items: baseline;
	}
	.p-menu-button{
		line-height: 60px;
		color:#ffff;
		width: 60px;
		height: 60px;
		transition-delay: .3s;
	}
	.p-global-nav a{
		color:#fff ; 
		height: auto;
		line-height: 50px;
	}
	.display_selectedItemwrap {
		margin-bottom: 30px;
	}
	.jissekisearch{
		margin:0 auto;
		margin-bottom: 50px;
	}
	.jissekisearch input#s {
		width: 75%;
		height: 26px;
	}
	.qcont .qaicon, .acont .qaicon{
		display: inline-block;
	}
	.qacontent{
		display: inline-block;
		width: 90%;
	}
}
@media screen and (min-width:960px) and (max-width:1024px){
	.l-header nav{
		position:relative;
		top:60px;
	}
}
/*PC*/
@media screen and (min-width:960px){
	.jisseki-full-contents{
	    margin-left: auto;
		margin-right: auto;
		position: relative;
		width: 89.84375%;
		max-width: 1150px;
	}
	.l-footer_inner{
		width: 1150px;
		margin: 0 auto;
	}
	.page-template .p-page-header__title{
		font-weight:normal;
	}
	.page-template .l-inner p, .jissekimaeoki p{
		line-height: 2;
		font-size:17px;
	}
	.gaiyoleft h3, .gaiyoright h3, .information #infocustomcontent .post_box h3{
		font-size: 34px;
		line-height: 1.4;
		margin-bottom: 15px;
	}
	/*blogitiran*/
	.page-template-page-blog .l-container{
		width: 850px;
		float: left;
	}
	.page-template-page-blog .p-blog-list__item{
		width: 43%;
		height:435px;
		float: left;
		margin-right: 5.65217%;
	}
	.p-blog-list__item .p-article01__thumbnail{
		height: 240px;
		margin-bottom: 7px;
	}
	.p-article01__title{
		margin-bottom:7px;
	}
	.page-template .l-inner p .p-article01__category{
		font-size: 12px;
		line-height: 1.9;
		position: relative;
		top: 5px;
	}
	.page-template-page-blog .p-blog-list__item:nth-of-type(2n) {
		margin-right: 0;
	}
	/*.page-template-page-blog .p-hover-effect--type1{
		height: 242px;
	}*/
	.page-template-page-blog .r-container{
		width: 300px;
		float: left;
	}
	.page-template-page-blog .l-secondary{
		width: 100%;
		padding-top: 0;
	}
	/*jisseki*/
	.garallymain{
		width: 48%;
		overflow: hidden;
		float: left;
		margin-bottom: 60px;
	}
	.garallymainimage{
		margin-bottom:60px;
	}
	.garallymainimage li{
		width: 100%;
		height: 500px;
	}

	.garallymainimage figcaption{
		position: absolute;
		top: 510px;
		left: 0;
		width: 100%;
	}
	.garallysentence{
		float: right;
		width: 48%;
	}
	.jisseki-full-contents .p-entry__share{
		content:"";
		display:block;
		clear:both;
	}
	/*flow*/
	.flowwrap, .acwrap{
		margin-left: auto;
		margin-right: auto;
		position: relative;
		width: 89.84375%;
		max-width: 1150px;
		margin-bottom:80px;
	}
	.page-template-page-recruit .acwrap{
		width:100%;
	}
	.flowwrap{
		overflow: hidden;
	}
	.flowwrap .allflowcontent{
		display: block;
	}
	.flowwrap h3{
		font-weight:bold;
		font-size: 26px;
	}
	.flowno{
		font-size:20px;
	}
	.flowwrap .flowleft{
		margin-right:20px;
		float: left;
	}
	.flowwrap .flowright{
		float: right;
	}
	.flowwrap .flowimg{
		width:40%;
	}
	.flowwrap .flowimgnone{
		width: 58%;
		padding: 5px 0 15px;
	}
	.contact_tel{
		float: left;
		width: 210px;
		text-align: center;
	}
	.contact_attention{
	    font-size: 14px;
		padding-top: 9px;
		display: block;
	}
	.qcont, .acont{
		display: flex;
		justify-content: normal;
		margin-bottom: 20px;
		align-items: baseline;
	}
	/*recruit*/
	#privacy h2{
		text-align:center;
		font-size:40px;
		margin-bottom: 40px;
	}
	.page-template-page-recruit h2{
		font-size: 40px;
		text-align:center;
		margin-bottom: 60px;
	}
	.page-template-page-recruit h2.recruit_cont_title{
		margin-bottom: 40px;
	}
	.page-template-page-recruit .tabs{
		margin-bottom: 80px;
	}
	.gaiyoleft{
		float: left;
		width: 50%;
	}
	.gaiyoright{
	    float: right;
		width: 44%;
	}
	.gaiyo_after_cont{
		padding: 20px 0;
		display: table;
		width: 100%;
	}
	.gaiyo_after_title{
		display: table-cell;
		vertical-align: middle;
		font-weight: bold;
		font-size: 24px;
		text-align: center;
		width:30%;
	}
	.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;
	}
	.tab_content div, .recruit_koumoku_wrap{
		/*width: 50%;
		padding: 25px;
		border-bottom: 1px solid #d6d6d6;
		float:left;*/
		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;
	}
	.informationtable h3{
		font-size: 40px;
		margin-bottom:60px;
	}
	.page-template-page-recruit .informationtable h3{
		margin-bottom:40px;
	}
	/*contact*/
	.page-template-page-contact h2{
		text-align:center;
	}
	.formcontent{
		margin-left: auto;
		margin-right: auto;
		position: relative;
		width: 89.84375%;
		max-width: 1150px;
	}
	.formcontent p{
		line-height: 2;
		font-size: 17px;
	}
	#privacy p{
		line-height: 2;
		font-size: 17px;
	}
	/*information*/
	.information{
		margin-left: auto;
		margin-right: auto;
		position: relative;
		width: 89.84375%;
		max-width: 1150px;
	}
	.page-template.information{
		max-width:unset;
		width:100%;
		margin: 0;
	}
	.post_box .content_box_l{
		float: left;
		width: 55%;
	}
	.post_box .content_box_r{
		float: right;
		width: 55%;
	}
	.post_box .image_box_l{
		width:40%;
		float:left;
	}
	.post_box .image_box_r{
		width:40%;
		float:right;
	}
	.tablewrap{
	    display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-ms-flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.infosubtitle{
		width:15%;
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
	}
	.infosubtitle p{
		font-size:18px;
	}
	.infosubcont{
		width:73%;

	}
	/*#allcontent*/
	#allcontent h2{
		font-size:40px;
		margin-bottom: 50px;
	}
	.content_box_l h3, .content_box_r h3{
		font-size: 34px;
		line-height: 1.4;
		margin-bottom: 15px;
	}
	#allcontent p, p.plinheight{
		line-height: 2;
		font-size: 17px;
	}
	/*single*/
	.single .l-container {
    width: 850px;
    float: left;
	}
	.single .r-container {
    width: 300px;
    float: left;
	margin-top: 92px;
}
.single .l-secondary {
    width: 100%;
    padding-top: 0;
}
	.page-template-page-blog .p-entry.l-inner{
		margin-top:60px;
	}
}
@media screen and (max-width:959px){

	.page-template p, .archive p, .jissekimaeoki p{
		font-size: 15px;
		line-height: 2;
	}
	.maeoki{
		margin-top:30px;
		margin-bottom:30px;
	}
	#allcontent{
	    margin-top: 40px;
		margin-bottom: 40px;
	}
	.post_box {
		margin-bottom: 40px;
	}
	#allcontent h3{
		font-size: 21px;
		line-height: 39px;
		margin: 15px 0 10px 0;
		font-weight: 600;
	}
	#gaiyocont h3, .information #infocustomcontent .post_box h3{
		font-size: 26px;
		line-height: 39px;
		margin: 15px 0 10px 0;
	}
	#flow, .page-template-page-no-side-custom-all #slidercont, .acwrap, .freecont_article {
		width: 89.84375%;
		margin: 0 auto;
	}
	.acwrap{
		margin-bottom: 80px;
	}
	.page-template-page-recruit .acwrap{
		width:100%;
		margin-bottom:50px;
	}
	#flow h2, .acwrap h2{
		font-size:28px;
		margin-bottom: 40px;
		font-weight: 600;
	}
	.flowwrap h3{
		margin: 15px 0 10px 0;
	}
	.allflowcontent{
		margin-bottom:40px;
	}
	.contact_tel p{
		line-height: 1;
		font-size: 23px;
	}
	#gaiyocont{
		margin-top:40px;
	}
	.gaiyo_after_cont{
		margin-top: 25px;
	}
	.gaiyo_after_title {
		text-align: center;
		margin-bottom: 10px;
	}
	.recruit_cont_title{
		text-align: center;
		font-size:28px;
	}
	.tab_content div.recruit_koumoku_title{
		padding: 5px 20px;
	}
	.tab_content div.recruit_koumoku_title p{
		font-size:15px;
	}
	.recruit_koumoku_cont{
		padding: 10px 20px;
		margin-bottom: 10px;
	}
	.tab_item{
		padding-bottom: 8px;
	}
	.infosubtitle, .infosubcont{
		float:none;
	}
	.infosubtitle{
		padding: 5px 12px;
	}
	.infosubcont{
		padding: 10px 12px;
		margin-bottom: 10px;
	}
	.tablewrap{
		border:none;
	}
	.informationtable h3{
		font-size:22px;
		margin-bottom: 40px;
	}
	.tabs, .page-template-page-recruit .informationtable{
		margin-bottom: 40px;
	}
	.page-template-page-recruit h2.recruit_cont_title, .page-template-page-recruit .informationtable h3{
		margin-bottom:20px;
	}
	table, tr, th, td{
		display:block;
	}
	.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{
		width:100%;
		padding:0;
	}
.p-entry__body table.mailform-tbl th {
    border: none;
    background: none;
    display: block;
}
	.p-entry__body table.mailform-tbl tr{
		height:auto;
	}
	.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:0;
	}
	.p-entry__body table.mailform-tbl th span.attention{
		padding: 0 5px;
		font-size: 13px;
		margin-left: 5px;
	}
	.p-entry__body table.mailform-tbl th{
		margin-top:10px;
	}
	.p-entry__body table.mailform-tbl tr:fast-child th{
		margin-top:0;
	}
	.information{
		width: 89.84375%;
		margin: 0 auto;
		margin-top: 30px;
	}
	.page-template.information{
		max-width:unset;
		width:100%;
		margin: 0;
	}
	#infocustomcontent h3{
		margin-bottom: 40px;
		font-size: 26px;
	}
	#infocustomcontent .post_box p{
		font-size:15px;
	}
	.info_link_button_title a{
		font-size: 13px;
	}
	.infosubcont iframe, .info_link_button_title {
		margin-top: 12px;
	}
	.infosubcont iframe{
		width:100%;
	}
	.p-archive-header h2.p-archive-header__title{
		font-size: 26px !important;
	}
	.p-archive-header{
		padding-top:30px;
	}
	.jisseki_all_select{
		position: relative;
		right: 0;
		margin-bottom: 20px;
		width: 222px;
	}
	.jisseki-full-contents{
		width: 89.84375%;
		margin: 0 auto;
	}
	.jisseki-full-contents .p-entry__date{
		font-size:15px;
	}
	.garallymainimage figure{
		height:260px;
	}
	.garallymainimage figcaption{
		position:absolute;
		top:268px;
		left:0;
	}

	.garallymainimage{
		margin-bottom: 40px;
	}
	.garallymain img{
		height: 100%;
		max-height: 260px;
	}
	.thumb{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;

	}
	.thumb li{
		width: 19%;
		height:130px;
	}
	.jisseki_text{
		margin-top: 15px;
	}
	.jisseki_text p{
		font-size:15px;
	}
	.garallysentence{
		margin-top:22px;
	}
	.return_jisseki{
		position:relative;
		text-align: center;
		margin-bottom: 60px;
		margin-top: 30px;
	}
	.p-article03__thumbnail{
		margin-bottom:5px;
	}
	.return_jisseki a{
		display:inline-block;
	}
	.p-page-header__title{
		width:auto;
	}
	.formcontent{
		margin-top:30px;
	}
	.p-entry__body table.mailform-tbl td .mwform-checkbox-field{
		display: inline-block;
		width: 100%;
		margin: 0;
	}
	.page-template-page-blog .p-entry.l-inner{
		margin-top:30px;
	}
	.p-article01__title{
		margin-top:5px;
	}
	.page-template .p-article01__category a{
		font-size: 12px;
	}
	.l-secondary{
		padding:0;
	}
	.single .p-entry__thumbnail{
		margin:0;
		margin-bottom: 20px;
	}
	.single .p-entry__thumbnail img{
		width:100%;
	}
	.single .p-entry__body p, #signature-block{
		font-size: 15px;
	}
	.single .r-container{
		padding:0 20px;
	}
	.qacontent{
		display: inline-block;
		width: 85%;
	}
}
/*tablet*/
@media screen and (min-width:641px) and (max-width:959px){
	.p-article01__thumbnail, .p-article01__title{
		margin-bottom: 7px;
	}
	.page-template-page-recruit .l-inner {
		width: 89.84375%;
	}
	.mailform-tbl tbody{
		width:100%;
		display: block;
	}
	.p-entry__body table.mailform-tbl{
		margin:0 0 50px 0;
	}
	.p-blog-list__item{
		width: 47%;
		float: left;
		margin-right: 5.65217%;
	}
	.p-blog-list__item:nth-of-type(3n){
		margin-right:5.65217%;
	}
	.p-blog-list__item:nth-of-type(2n){
		margin-right:0;
	}
	.jissekisearch {
		width: 55%;
		margin-bottom:50px;
	}
	.page-template-page-contact #privacy{
		margin-top:0;
		margin-bottom:40px;
	}
}
@media screen and (device-width:1024px) and (device-height:768px){
	.p-article01__thumbnail, .p-article01__title{
		margin-bottom: 7px;
	}
	.p-blog-list__item .p-article01__thumbnail{
		height: auto;
	}
	.page-template-page-blog .p-blog-list__item .p-article01__thumbnail{
		height:240px;
	}
	.jisseki-full-contents{
		margin: 0 auto;
		padding: 0 20px;
		width: auto;
	}
	.page-template-page-blog .l-container{
	    width: auto;
		float: none;
	}
	.page-template-page-blog .pagenavi{
		margin-bottom:0;
	}
	.page-template-page-blog .p-blog-list__item{
		width: 47%;
	}
	.page-template-page-blog .p-blog-list__item:nth-child(2n){
		margin-right:0;
	}
	.page-template-page-blog .r-container, .single .r-container{
		width:100%;
	}
	.garallysentence {
		float: left;
		width: 45%;
		margin-left: 28px;
	}
	.thumb li{
	    width: 95px;
		height: 95px;
	}
	.garallymainimage li{
		width: 490px;
		height: 490px;
	}
	.p-article03__thumbnail img{
	    height: 210px;
		object-fit: cover;
	}
	.page-template-page-recruit .l-inner{
		width: 89.84375%;
	}
	.recruit_koumoku_cont {
		width: 74%;
	}
	.gaiyocontent{
		width: 55%;
	}
	.gaiyoimg{
		width: 40%;
	}
	.tab_content div.recruit_koumoku_cont {
		width: 74.1%;
	}
	.page-template-page-recruit .p-entry.l-inner{
		width: 100%;
	}
	input#s{
		width: 340px;
	}
	.single .r-container{
		width: 89.84375%;
		margin: 0 auto;
		float: none;
	}
	.jisseki_all_select{
		margin-bottom:20px;
	}

	.p-global-nav {
		background: #222;
		display: none;
		position: absolute;
		top: 0px;
		left: 0;
		z-index: 99;
		width: 100%;
	}
	.l-header--fixed .p-global-nav {
		position: relative;
		max-height: -webkit-calc(100vh - 60px);
		max-height: calc(100vh - 60px);
		overflow: hidden;
	}


	.hamburgerspnavi{
		display:block!important;
		width: 100%;
	}
	.hamburger{
		display:none;
	}
	.jissekisearch{
		width: 36%;
	}
}
@media screen and (min-width:769px){
	.informationtable div.tablewrap1, .recruit_koumoku_wrap, .tab_content_table div.tablewrap, .informationtable_first .tablewrap:first-child{
		border-top: 1px solid #d6d6d6;
	}
	
	.tab_content div{
		border-bottom:none;
	}
	.recruit_cont_wrap.tab_content{
		border-bottom: 1px solid #d6d6d6;
	}
}
@media screen and (min-width:1400px){
	#js-global-nav {
		display: flex!important;
		align-items: center;
	}
	.patty.active #js-global-nav {
		display: block!important;
		align-items: center;
	}
}
@media screen and (min-width:769px) and (max-width:1024px){
	.page-template-page-recruit .informationtable div.tablewrap1, .recruit_koumoku_wrap, .tab_content_table div.tablewrap, .page-template-page-recruit .informationtable_first .tablewrap:first-child{
		border:none;
	}
	.page-template-page-recruit .tablewrap, .recruit_cont_wrap.tab_content{
		border:none;
	}
}
/*max1399px*/
@media screen and (max-width:1399px){

}
@media screen and (max-width:1399px) and (min-width:1025px){
	#js-global-nav {
		display: flex!important;
		align-items: center;
	}
	.patty.active #js-global-nav {
    display: block!important;
    align-items: center;
}
}
@media screen and (min-width:1310px) and (max-width:1399px){
	.l-header__logo{
		width: auto;
		left: 11%;
		width: 20%;
	}
	.l-header__logo img{
		width: 100%;
	}
	.p-global-nav li{
		width:auto;
	}
	.tel-mail__child_2{
	}
	.tel-mail__child_2{
		width:140px!important;
	}
	/*.tel-mail, .tel-mail__child_2{
		display: none!important;
	}
	.l-header nav{
		top: 96px;
		position: relative;
		width: 100%;
	}
	.p-global-nav > li{
		float:none;
		width: 100%;
	}
	.l-header__inner{
		align-items: baseline;
	}
	.p-menu-button{
		line-height: 96px;
		width: 96px;
		height: 96px;
	}
	.p-global-nav a{
		color:#fff !important;
		height: 50px;
		line-height: 50px;
	}*/

}
@media screen and (min-width:1210px) and (max-width:1309px){
	.l-header__logo{
		width: auto;
		left: 11%;
		width: 20%;
	}
	.l-header__logo img{
		width: 100%;
	}
	.p-global-nav li{
		width:auto;
	}
	.tel-mail{
		width:200px!important;
	}
	.tel-mail__child_2{
		width:100px!important;
	}
	.p-global-nav > li > a{
		padding-right:10px;
		padding-left:10px;
	}
}
@media screen and (min-width:1025px) and (max-width:1209px){
	.l-header__logo{
		width: auto;
		left: 2%;
		width: 20%;
	}
	.l-header__logo img{
		width: 100%;
	}
	.p-global-nav li{
		width:auto;
	}
	.tel-mail{
		width:200px!important;
	}
	.tel-mail__child_2{
		width:100px!important;
	}
	.p-global-nav > li > a{
		padding-right:10px;
		padding-left:10px;
	}
}
/*SP*/
@media screen and (max-width:640px){
	.p-article03__thumbnail{
		height: 103px;
	}
	.p-article03__thumbnail img{
		object-fit:cover;
	}
	.p-page-header__title {
		position: relative;
		top: 15px;
	}
	.qacontent{
		display: inline-block;
		width: 80%;
	}
	.thumb li {
		height: 65px;
	}
	#allcontent #defocont.p4cont1{
		padding-top:40px;
	}
	.page-template-page-no-side-custom-all .post_box{
		padding-bottom:40px;
		margin-bottom:40px;
	}
	.page-template-page-recruit article#gaiyocont{
		margin-bottom:60px;
	}
	.recruit_cont_title{
		margin-bottom:40px;
	}
	.page-template-page-recruit .informationtable{
		margin-bottom:40px;
	}
	.mw_wp_form #submit-button{
		margin-bottom:60px;
	}
	.information #infocustomcontent .post_box.informationtable h3{
		margin-bottom:40px;
	}
	.page-template-page-contact #privacy{
		margin-top:0;
		margin-bottom:40px;
	}
}
@media screen and (device-width:1024px) and (device-height:1366px){
	.flowwrap .flowimgnone{
		width:56%;
	}
	.jisseki_all_select{
		margin-bottom: 30px;
	}
}
@media screen and (min-width:1025px){
	.garallymainimage li {
		width: auto;
		height: 500px;
	}
	.thumb{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.thumb li{
		width: calc(100%/5.1);
		height: 98px;
	}
}
@media screen and (min-width:960px) and (max-width:1024px){
	.thumb{
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	.thumb li{
		width: calc(100%/5.1);
		height: 98px;
	}
	.page-template-page-blog .r-container, .single .r-container {
		width: 100%;
		float: none;
	}
	.page-template-page-blog .l-container{
		width: auto;
		float: none;
	}
	.page-template-page-blog .p-blog-list__item{
		width: 47%;
	}
	.archive.category .p-blog-list__item, .archive.category .p-blog-list__item {
		margin-right: 5.65217%;
	}
	.p-blog-list__item:nth-of-type(2n){
		margin-right: 0;
	}
	.archive.category .p-blog-list__item:nth-of-type(3n){
		margin-right: 0;
	}

	.page-template-page-blog .p-blog-list__item:last-of-type {
		margin-right: 0;
	}
	input#s{
		width: 320px;
	}
	.p-entry__related-item .p-article03__thumbnail a{
		height: 163px;
		display: block;
	}
}
/*SNS*/
#twitter-widget-0 html body #widget .btn-o{
	width: 75px!important;
    height: 20px!important;
}
.line-it-button{
	width: 108px!important;
    height: 20px!important;
}
@media screen and (min-width:1186px) and (max-width:1240px){
	.recruittabs3 .tab_item{
		margin-right:21px;
	}
	.recruittabs3 .tab_item3 {
		margin-right: 0;
	}
}
@media screen and (min-width:960px) and (max-width:1186px){
	.recruittabs3 .tab_item{
		margin-right:15px;
	}
	.recruittabs3 .tab_item3 {
		margin-right: 0;
	}
}
@media screen and (max-width:768px){
	.page-template-page-recruit .l-inner{
		padding:0;
	}
}
@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;
	}
	.jissekisearch{
		/*width:auto;*/
	}
}
@media screen and (max-width:767px){
	.p-page-header__inner{
		height:110px;
	}
}
@media screen and (max-width:640px){
	.tab_item{
		height: 55px;
		line-height: 55px;
	}
	.jissekisearch input#s{
		width:75%;
	}
	.p-page-header__title h1{
		font-size:33px!important;
	}
	.p-page-header__title p{
		font-size:18px!important;
	}
	/* ▼ ローディングセンター中央 ▼ */
	.p-splash__inner.l-inner {
		top:45%!important;
	}
	/* ▼ ハンバーガーアイコン色 ▼ */
	/*.c-menu-button::before {
		color: #fdae4a!important;
	}*/
	/* ▼ ハンバーガーメニュースマホフォント色 ▼ */
	/*.p-global-nav > li > a {
		color:#444!important;
	}*/
	/* ▼ スマホメインテキスト非表示 ▼ */
	/*.p-main-header-item img {
		display:none;
	}*/
}

/*　▼　電話・メールお問い合わせ　▼　*/
h4.tel_title {
    background: #fdae4a;
    color: #fff;
    font-size: 1em;
    padding: 10px 10px;
    border-radius: 5px;
    margin: 10px auto 10px auto;
    font-weight: bold;
}

/*　▼ プライバシーポリシー ▼　*/
h4.privacy {
    background:none;
    font-weight:bold;
	padding: 0;
    margin: 0;
}

/*　▼ 見出し「BLOG」 ▼　*/
.p-content03__blog-catch {
    letter-spacing: 0.07em;
}

/*　▼ 見出し「CONTACT」 ▼　*/
/*.l-footer__catch {
	letter-spacing: 0.07em;
}*/

.p-global-nav > li {
	margin-top:0px;
}

.p-global-nav li {
    width: auto;
}

.page-template-page-no-side-custom-all .post_box{
	border-bottom: none!important;
}

/*　▼ スクロール前影 ▼　*/
#js-header.l-header.l-header_option.l-header--fixed.l-header_opition {
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

/*　▼ スクロール後影 ▼　*/
/*#js-header.l-header.l-header_option.l-header--fixed.l-after_header {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}*/

@media screen and (min-width: 960px) {
	/*　▼ 施工実績検索ボタン ▼　*/
	.p-widget {
    	width: auto;
	}
}

@media screen and (max-width:959px) and (min-width: 641px){
	/* セクション１と３画像中央・空白*/
	.p-main-image__img-image {
		margin-top:50px;
	}
	
	/* セクション２画像中央・空白*/
	.cbSlideL.scrollIn {
		/* margin-top:35px; */
	}
	/* ▼ ローディングセンター中央 ▼ */
	.p-splash__inner.l-inner {
		top:45%!important;
	}
	.l-header__logo.l-option_header__logo.c-logo img{
		width:85%;
	}
	/* ▼ ハンバーガーアイコン色 ▼ */
	/*.c-menu-button::before {
		color: #fdae4a!important;
	}*/
	/* ▼ ハンバーガーメニュースマホフォント色 ▼ */
	/*.p-global-nav > li > a {
		color:#444!important;
	}*/
	/* ▼ スマホメインテキスト非表示 ▼ */
	/*.p-main-header-item img {
		display:none;
	}*/
}

@media screen and (device-height: 1366px) and (device-width: 1024px) {
	/* セクション１と３画像中央・空白*/
	.cbSlideR.scrollIn {
   	 	transform: translate(0, 0)!important;
	}
	.p-main-image__img-image{
		margin-top:50px;
	}
	/* セクション２画像中央・空白*/
	.cbSlideL.scrollIn {
		/* margin-top:50px; */
	}
	/*　iPadproメインテキスト位置　*/
	#main-header-banner {
		/* top:68%!important; */
	}
	/*　iPadproサイトバナー位置　*/
	.p-main-header-item img {
		/*top: 50%!important;*/
	}
	/* ▼ ハンバーガーアイコン色 ▼ */
	.c-menu-button::before {
		color: #ffffff!important;
	}
	/* ▼ ハンバーガーメニュースマホフォント色 ▼ */
	/*.p-global-nav > li > a {
		color:#444!important;
	}*/
	/* ▼ スマホメインテキスト非表示 ▼ */
	/*.p-main-header-item img {
		display:none;
	}*/
	/* ▼ フッターメニュー一行 ▼ */
	.l-footer li {
    	padding: 0 5px;
	}
}

/* ▼ 記事の一覧ボタン高さ ▼ */
.p-content03__blog-archive-link_option a {
	height:110%!important;
}

/* ▼ カテゴリとか新着一覧調整 ▼ */
@media screen and (min-width: 960px) and (max-width: 1279px){
	.single .r-container,.page-template-page-blog .r-container {
	width: 100%;
	}
	.p-widget{
		width:48%;
	}
	.jissekisearch input#s{
		width: 75%;
	}
}
@media screen and (min-width: 1025px) and (max-width: 1279px){
	.jissekisearch{
		width:100%;
	}
}
@media screen and (min-width:1025px){
	.page-template h2, .archive h2, .category h2, .page-child h2, .single-post h2, .informationtable h3{
		letter-spacing:0.05em;
		font-size: 37px!important;
	}
	.r-container h2.p-widget__title{
		font-size:17px!important;
	}
	h2.p-headline{
		font-size: 16px!important;
	}
}

/* お問い合わせフォーム『ご住所』横幅調整 */
@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%;
	}
}

h4 {
	border: 2px solid #000;
	color: #000;
	border-radius: 20px;
	padding: 10px 0;
	text-align: center;
	margin: 7px 0;
	font-weight: initial;
}

/* お問い合わせフォーム横幅調整 */
@media screen and (max-width: 640px){
	.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;
	}
   }
	/* スマホ時お問い合わせフォーム幅調整・ここまで */

	/* ipad pro以下head画像表示 */
@media screen and (max-width: 1024px){
	.p-page-header{
		background-image: url(https://cdn.yachi-ex.com/wp-content/uploads/head.png)!important;
	}
}

@media screen and (min-width: 1025px) and (max-width: 1366px){
	.p-page-header__title p{
	 top:68%;/* 実機検証ではこの数値が最適でした。 */
	}
   }

   /* ロゴ画像調整 */
.c-logo img{
	height:auto;
}

/* ipad以下メインスライダー調整 */
/* ===== SP（iPhone系）===== */
@media screen and (max-width: 767px) {

	.p-main-header_slider.u-hidden {
		display: block !important;
	}

	#p-main-header_slider-item1,
	#p-main-header_slider-item2,
	#p-main-header_slider-item3 {
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		min-height: 300px;
	}

	#p-main-header_slider-item1 {
		background-image: url(https://cdn.yachi-ex.com/wp-content/uploads/sp_main_sli1.png) !important;
	}

	#p-main-header_slider-item2 {
		background-image: url(https://cdn.yachi-ex.com/wp-content/uploads/sp_main_sli2.png) !important;
	}

	#p-main-header_slider-item3 {
		background-image: url(https://cdn.yachi-ex.com/wp-content/uploads/sp_main_sli3.png) !important;
	}
}


/* ===== iPad縦だけSP扱い ===== */
@media screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

	.p-main-header_slider.u-hidden {
		display: block !important;
	}

	#p-main-header_slider-item1,
	#p-main-header_slider-item2,
	#p-main-header_slider-item3 {
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		min-height: 300px;
	}

	#p-main-header_slider-item1 {
		background-image: url(https://cdn.yachi-ex.com/wp-content/uploads/sp_main_sli1.png) !important;
	}

	#p-main-header_slider-item2 {
		background-image: url(https://cdn.yachi-ex.com/wp-content/uploads/sp_main_sli2.png) !important;
	}

	#p-main-header_slider-item3 {
		background-image: url(https://cdn.yachi-ex.com/wp-content/uploads/sp_main_sli3.png) !important;
	}
}
/* ===== iPhone 12 Pro ランドスケープ：PC版スライダー表示修正 ===== */
@media screen and (max-width: 926px) and (orientation: landscape) and (max-height: 450px) {

    #p-main-slider-item {
        top: -100dvh !important;
    }
}

@media screen and (max-width: 959px){
	.mw_wp_form #submit-button input{
	color:#000000!important;
	}
	}

	/* 営業電話お断り装飾 */
.atn {
	color: red;
	font-weight: bold;
}

#signature-block img {
	max-width: 100%;
}

/* ロゴのはみ出し修正 */
@media screen and (max-width: 1024px) and (min-width: 641px) {
	.c-logo img{
		height: 90%;
	}
}

/* フッターテキスト位置調整 */
@media screen and (min-width: 960px){
	.p-copyright{
	bottom:-2em!important;
	}
}

@media screen and (max-width:640px){
	.mw_wp_form #submit-button input{
	color:#000000!important;
	}
}

@media screen and (max-width:640px){
	.mw_wp_form #submit-button input{
	color:#000000!important;
	}
}

/* 施工実績ギャラリー一覧調整 */
.thumb{
	justify-content:unset!important;
   }
   .thumb li{
	margin-right:2px;
   }
   
   /* 記事見出し調整 */
   .single h2, .single h3, .single h4, .single h5 {
	margin-bottom: 0;
	margin-top: 30px;
   }

/***** デザイナー調整ここから *****/
 /* ボタンの下線を消す */
.new-top-btn a { text-decoration: none !important;}
.sp_btn_icon::before {
     color:white !important;
}
 /* プルダウンメニュー */
.p-global-nav .sub-menu a{background: #fff!important;}
/***** デザイナー調整ここまで *****/
/****** セクション1 *****/
/* PC・スマホ共通のベース設定 */
.sec1-img-wrap {
  display: flex;
  gap: 20px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.sec1-img-1,
.sec1-img-2 {
  width: calc(50% - 10px);
}

.sec1-img-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* PC等、画面が広い時は4枚横並びにしたい場合（必要に応じて） */
@media (min-width: 768px) {
  .sec1-img-1, .sec1-img-2 {
    width: calc(25% - 15px); /* 4列計算 */
  }
}
.p-content03__news-tag {
    flex-shrink: 0;
    width: auto; /* 固定幅をやめて内容に合わせる */
    max-width: 200px; /* 最大幅は制限 */
}

.p-content03__news-tag p {
    white-space: nowrap;
}
/*下層ブログ記事内の調整*/
.single-post .l-footer__title h2.l-footer__catch {
    margin-top: 15px!important;
    margin-bottom: 45px!important;
}
.p-headline{
	margin-bottom: 4.79452%!important;
}
.p-article03__title{
	margin-bottom: 29px!important;
	margin-top: 0 !important;
}

.p-global-nav ul.sub-menu a{
	background:; /*【PC・スマホ】プルダウンメニュー背景色*/
}
.p-global-nav .sub-menu a:hover{
	background:; /*【PC・スマホ】プルダウンメニューホバー背景色*/
	color:#000000; /*【PC・スマホ】プルダウンメニューホバー文字色*/
}
.p-global-nav ul.sub-menu{
	margin-top:20px;
}
@media screen and (min-width:1025px){
.p-global-nav ul.sub-menu a{
	padding-left:10px;
}
}
@media screen and (max-width:1024px){
	.p-global-nav ul.sub-menu a{
		color:#000000;
	}
}
@media screen and (max-width:959px){
	.p-global-nav .menu-item-has-children > a > span::before{
		right:auto;
		left:100px;
	}
}
@media screen and (min-width:641px) and (max-width:959px){
	.p-global-nav ul.sub-menu a{
		padding-left:2%;
	}
}

/*menu*/
#js-global-nav {
    flex-wrap: wrap !important;
}
@media print, screen  and (min-width: 1025px){
		.p-global-nav > li > a{
		max-width: 175px!important;
		padding-top: 5px;
       padding-bottom: 5px;
	}
	.p-global-nav > li > a::after{
		    bottom: -3px!important;
	}

}
@media print, screen  and (max-width: 1785px) and (min-width: 1025px){
	.l-header__logo{
		   display: contents!important;
	}
}
@media screen and (max-width: 959px) {
    .p-global-nav .menu-item-has-children > a > span::before {
        left: 150px!important;
    }
}
/*Footer*/
html .p-global-nav li:last-child,html .l-footer li:last-child{
	display: revert !important;
}
@media print, screen and (min-width: 960px) {
    #footer ul.menu {
        column-count: 3 !important;
    }
	.l-footer li{
		display: grid !important;
        padding: 7px 0px !important;
        text-align: left;
        gap: 6%;
	}
	.p-fotter-nav ul>li a::after{
		height: 2px!important;
    bottom: -4px!important;
	}
	html .l-footer li:last-child{
		display: grid !important;
	}
	.l-footer li.menu-item-969{
		    display: inline-block !important;
		padding-right: 32% !important;
	}
	.l-footer li.menu-item-969 .sub-menu li:first-child,.l-footer li.menu-item-484 .sub-menu li:first-child{
		padding-top: 14px !important;
	}

	


@media only screen and (max-width: 1024px) {
	.p-global-nav .menu-item-has-children > a > span::before{
		border: 1px solid #ffffff!important;
        color: #d3b974!important;
	}
	header .p-global-nav ul.sub-menu {
    margin-top: 0px;
}
	.l-after_header__logo a:hover, .p-after_global-nav > li > a:hover{
		color:#b6ffb6!important;
	}
}
.footer-poll {
    font-size: 100%;
    bottom: 0em !important;
}

/* ヘッダー：スマホ・タブレット時のメニューボタン（メールアイコン・ハンバーガーボタン）を白色に設定 */
@media only screen and (max-width: 1024px) {
    .p-menu-button,
    .c-menu-button,
	.sp_btn_icon::before,
    .c-option_menu-button {
        color: #ffffff !important;
    }
}
@media (min-width: 768px) {
  h2 {
    line-height: 1.5;
  }
}
/*業務案内*/
    .work-section {
        padding: 60px 20px;
        background-color: #ffffff;
        color: #333333;
    }

    .work-container {
        max-width: 1150px;
        margin: 0 auto;
    }

    .work-title {
        text-align: center;
    }

    .work-image-wrapper {
        margin-bottom: 50px;
        text-align: center;
    }

    .work-image {
        max-width: 100%;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        /* 画像に少し影をつけて立体感を出します */
    }

    .work-text {
        max-width: 800px;
        margin: 0 auto;
        font-size: 1.05rem;
        line-height: 2.2;
        letter-spacing: 0.03em;
    }

    .work-text p {
        margin-bottom: 2em;
    }

    .work-text p:last-child {
        margin-bottom: 0;
    }
.post_box img.work-image {
    width: fit-content;
}

    /* モバイル向けの調整 */
    @media screen and (max-width: 768px) {
        .work-section {
            padding: 40px 15px;
        }

        .work-image-wrapper {
            margin-bottom: 30px;
        }

        .work-text {
            font-size: 1rem;
            line-height: 1.9;
        }
    }

    /*こんなお悩みにお応えしますセクション */
    /*各項目のブロック */
    .worry-block {
        display: flex;
        margin-bottom: 30px;
        border: 1px solid #333;
        box-sizing: border-box;
        overflow: hidden;
    }

    /* 左側のタイトル部分 */
    .worry-title {
        width: 35%;
        flex-shrink: 0;
        box-sizing: border-box;
        background-color: #dfdfdf;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 30px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        font-weight: bold;
        text-align: center;
        border-right: 1px solid #333;
    }

    /* 右側のリスト全体 */
    .worry-list {
        width: 65%;
        box-sizing: border-box;
        list-style: none;
        padding: 25px 30px;
        margin: 0;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* リストの各行 */
    .worry-list li {
        position: relative;
        padding-left: 1.2em;
        /* ■の分の余白 */
        margin-bottom: 10px;
        line-height: 1.5;
        font-size: 0.95rem;
    }

    /* 最後の行は下の余白をなくす */
    .worry-list li:last-child {
        margin-bottom: 0;
    }

    /* リスト先頭の黒四角（■）を自動で付ける設定 */
    .worry-list li::before {
        content: "■";
        position: absolute;
        left: 0;
        color: #333;
        font-size: 0.85em;
        /* 文字と揃うように少しだけ小さく */
        top: 0.2em;
        /* ■の縦位置を微調整 */
    }

    /* スマートフォン向けのレスポンシブ対応 */
    @media (max-width: 600px) {
        .worries-header h2 {
            font-size: 1.2rem;
            padding: 15px 0;
        }

        .worry-block {
            flex-direction: column;
            /* 縦並びに変更 */
        }

        .worry-title {
            width: 100%;
            border-right: none;
            border-bottom: 1px solid #333;
        }

        .worry-list {
            width: 100%;
            padding: 20px;
        }
    }

    /* ボタン */
    .worry-btn-wrap {
        text-align: center;
        margin-top: 30px;
    }

    .worry-btn {
        display: inline-block;
        padding: 14px 40px;
        background-color:#35322d;
        color: #fff;
        text-decoration: none;
        font-size: 1rem;
        font-weight: bold;
        border-radius: 4px;
        letter-spacing: 0.05em;
        transition: background-color 0.2s;
    }

    .worry-btn:hover {
        background-color:#35322d;
        color: #fff;
    }

    @media (max-width: 600px) {
        .worry-btn {
            width: 100%;
            text-align: center;
            padding: 14px 20px;
            box-sizing: border-box;
        }
    }


    /* 対応工事例セクション */
    .works-cases-section {
        padding: 60px 20px;
    }

    .works-cases-title {
        text-align: center;
        font-size: 1.4rem;
        font-weight: bold;
        margin: 0 0 40px;
        padding-bottom: 15px;
        border-bottom: 2px solid #333;
    }

    .works-cases-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 24px;
        max-width: 1000px;
        margin: 0 auto;
    }

    .works-case-card {
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 4px;
        overflow: hidden;
        width: calc(50% - 12px);
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .works-case-img-wrap {
        width: 100%;
        aspect-ratio: 4 / 3;
        overflow: hidden;
        background: #eee;
    }

    .works-case-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .works-case-body {
        padding: 18px 20px;
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .works-case-name {
        font-size: 1.05rem;
        font-weight: bold;
        margin: 0 0 10px !important;
        padding: 0;
    }

    .works-case-desc {
        font-size: 0.9rem;
        line-height: 1.7;
        color: #444;
        margin: 0;
    }

    @media (max-width: 600px) {
        .works-cases-section {
            padding: 40px 15px;
        }

        .works-case-card {
            width: 100%;
        }
    }
  

/* ナビボタングループ */
.nav-btns-section {
    padding: 50px 20px;
    background-color: #ffffff;
}
.nav-btns-grid {
    display: grid;
    grid-template-columns: repeat(3, calc((860px - 16px) / 3));
    gap: 8px;
    max-width: 860px;
    margin: 0 auto 8px;
    justify-content: center;
}
.nav-btns-grid br,
.nav-btns-grid-row2 br {
    display: none;
}
.nav-btns-grid-row2 {
    display: grid;
    grid-template-columns: repeat(2, calc((860px - 16px) / 3));
    gap: 8px;
    max-width: 860px;
    margin: 0 auto 20px;
    justify-content: center;
}
.nav-btn {
    display: block;
    padding: 16px 12px;
    background-color: #35322d;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 0;
    text-align: center;
    letter-spacing: 0.03em;
    transition: background-color 0.2s;
    box-sizing: border-box;
}
.nav-btn:hover {
    background-color: #184130;
    color: #fff;
}
/* CTAボタン */
.nav-cta-wrap {
    text-align: center;
    max-width: 860px;
    margin: 0 auto;
}
.nav-cta-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 60px;
    background-color: #35322d;
    color: #fff;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.2s;
    width: 100%;
    box-sizing: border-box;
}
.nav-cta-btn:hover {
    background-color: #184130;
    color: #fff;
}
.nav-cta-sub {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.nav-cta-main {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}
@media (max-width: 600px) {
    .nav-btns-grid,
    .nav-btns-grid-row2 {
        grid-template-columns: 1fr;
    }
    .nav-cta-btn {
        padding: 18px 20px;
    }
}
/*選ばれる理由*/
.reason-section {
        padding: 60px 20px;
        background-color: #ffffff;
        color: #333333;
    }

    .reason-container {
        max-width: 1150px;
        margin: 0 auto;
    }

    .reason-title {
        text-align: center;
    }

    .reason-image-wrapper {
        margin-bottom: 50px;
        text-align: center;
    }

    .reason-image {
        max-width: 100%;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .reason-text {
        max-width: 800px;
        margin: 0 auto;
        font-size: 1.05rem;
        line-height: 2.2;
        letter-spacing: 0.03em;
    }

    .reason-text p {
        margin-bottom: 2em;
    }

    .reason-text p:last-child {
        margin-bottom: 0;
    }

    @media screen and (max-width: 768px) {
        .reason-section {
            padding: 40px 15px;
        }

        .reason-image-wrapper {
            margin-bottom: 30px;
        }

        .reason-text {
            font-size: 1rem;
            line-height: 1.9;
        }
    
}
    /* 数字で見るセクション */
    .reason-stats-section {
        padding: 80px 20px;
        background-color: #ffffff;
    }

    .reason-stats-title {
        text-align: center;
        font-size: 1.8rem;
        font-weight: bold;
        margin: 0 0 50px;
        color: #555;
        letter-spacing: 0.05em;
    }

    .reason-stats-grid {
        display: flex;
        gap: 20px;
        justify-content: center;
        max-width: 1000px;
        margin: 0 auto;
    }

    .reason-stat-card {
        flex: 0 0 calc(25% - 15px);
        width: calc(25% - 15px) !important;
        border: 1px solid #888;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 10px 30px;
        box-sizing: border-box;
        text-align: center;
    }

    .reason-stat-label {
        width: 80%;
        background-color: #555;
        color: #fff;
        font-size: 0.95rem;
        font-weight: bold;
        padding: 10px 0;
        margin-bottom: 40px;
        letter-spacing: 0.05em;
        box-sizing: border-box;
    }

    .reason-stat-num {
        font-size: 3.5rem;
        font-weight: bold;
        color: #555;
        line-height: 1;
        margin-bottom: 40px;
        display: flex;
        align-items: baseline;
        justify-content: center;
        font-family: 'Helvetica Neue', Arial, sans-serif;
    }

    .reason-stat-unit {
        font-size: 1rem;
        font-weight: normal;
        margin-left: 4px;
        color: #555;
    }

    .reason-stat-subtext {
        font-size: 0.9rem;
        color: #555;
        letter-spacing: 0.05em;
        margin-top: auto;
    }

    @media screen and (max-width: 768px) {
        .reason-stats-grid {
            flex-wrap: wrap;
            gap: 16px;
        }

        .reason-stat-card {
            flex: calc(50% - 8px);
            min-width: calc(50% - 8px);
            padding: 30px 10px 20px;
        }

        .reason-stat-label {
            margin-bottom: 25px;
            width: 90%;
            font-size: 0.85rem;
        }

        .reason-stat-num {
            font-size: 2.5rem;
            margin-bottom: 25px;
        }

        .reason-stat-subtext {
            font-size: 0.8rem;
        }
    }

    /* REASON 6つの理由 セクション */
    /* 数字で見るセクション */
    .reason-stats-section {
        padding: 80px 20px;
        background-color: #ffffff;
    }

    .reason-stats-title {
        text-align: center;
        font-size: 1.8rem;
        font-weight: bold;
        margin: 0 0 50px;
        color: #555;
        letter-spacing: 0.05em;
    }

    .reason-stats-grid {
        display: flex;
        gap: 20px;
        justify-content: center;
        max-width: 1000px;
        margin: 0 auto;
    }

    .reason-stat-card {
        flex: 0 0 calc(25% - 15px);
        width: calc(25% - 15px) !important;
        border: 1px solid #888;
        background-color: #fff;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 10px 30px;
        box-sizing: border-box;
        text-align: center;
    }

    .reason-stat-label {
        width: 80%;
        background-color: #555;
        color: #fff;
        font-size: 0.95rem;
        font-weight: bold;
        padding: 10px 0;
        margin-bottom: 40px;
        letter-spacing: 0.05em;
        box-sizing: border-box;
    }

    .reason-stat-num {
        font-size: 3.5rem;
        font-weight: bold;
        color: #555;
        line-height: 1;
        margin-bottom: 40px;
        display: flex;
        align-items: baseline;
        justify-content: center;
        font-family: 'Helvetica Neue', Arial, sans-serif;
    }

    .reason-stat-unit {
        font-size: 1rem;
        font-weight: normal;
        margin-left: 4px;
        color: #555;
    }

    .reason-stat-subtext {
        font-size: 0.9rem;
        color: #555;
        letter-spacing: 0.05em;
        margin-top: auto;
    }

    @media screen and (max-width: 768px) {
        .reason-stats-grid {
            flex-wrap: wrap;
            gap: 16px;
        }

        .reason-stat-card {
            flex: calc(50% - 8px);
            min-width: calc(50% - 8px);
            padding: 30px 10px 20px;
        }

        .reason-stat-label {
            margin-bottom: 25px;
            width: 90%;
            font-size: 0.85rem;
        }

        .reason-stat-num {
            font-size: 2.5rem;
            margin-bottom: 25px;
        }

        .reason-stat-subtext {
            font-size: 0.8rem;
        }
    }

 /* REASON 6つの理由 セクション */
    .six-reasons-section {
        padding: 80px 20px;
        background-color: #ffffff;
        color: #333333;
    }

    .six-reasons-container {
        max-width: 1000px;
        margin: 0 auto;
    }

    .six-reasons-main-title {
        text-align: center;
    }

    .six-reasons-main-title .en {
        display: block;
        font-size: 1.1rem;
        color: #555;
        letter-spacing: 0.15em;
        font-weight: bold;
    }

    .six-reasons-main-title .ja {
        display: block;
        font-size: 2rem;
        font-weight: bold;
        color: #333;
        margin-top: 10px;
    }

    .reason-block {
        margin-bottom: 120px;
    }

    .reason-block:last-child {
        margin-bottom: 0;
    }

    .reason-header {
        text-align: center;
        margin-bottom: 40px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .reason-num {
        font-size: 8rem;
        font-weight: bold;
        font-style: italic;
        color: #555;
        line-height: 1;
        font-family: 'Georgia', 'Times New Roman', serif;
        margin-bottom: 10px;
        z-index: 0;
    }

    .reason-subtitle {
        font-size: 1.8rem;
        color: #555;
        font-weight: bold;
        line-height: 1.4;
        z-index: 1;
        margin: 0;
    }

    .reason-content {
        display: flex;
        gap: 50px;
        align-items: center;
    }

    /* 画像を左、テキストを右固定 */
    .reason-image-box {
        flex: 1;
        max-width: 50%;
    }

    .reason-image-box img {
        width: 100%;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    .reason-text-box {
        flex: 1;
        font-size: 1.05rem;
        line-height: 1.9;
        letter-spacing: 0.03em;
    }

    .reason-text-box p {
        margin-bottom: 1.5em;
    }

    .reason-text-box p:last-child {
        margin-bottom: 0;
    }

    /* ボタンとバナー */
    .reason-btn-wrap {
        margin-top: 30px;
        text-align: center;
    }

    .reason-btn {
        display: inline-block;
        background-color: #555;
        color: #fff;
        padding: 16px 50px;
        border-radius: 50px;
        text-decoration: none;
        font-weight: bold;
        letter-spacing: 0.05em;
        transition: background-color 0.3s;
        font-size: 1.05rem;
    }

    .reason-btn:hover {
        background-color: #333;
    }

    .reason-banner {
        margin-top: 30px;
        text-align: center;
    }

    .reason-banner img {
        max-width: 100%;
        height: auto;
        border-radius: 4px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    @media screen and (max-width: 768px) {
        .six-reasons-section {
            padding: 60px 15px;
        }

        .reason-content {
            flex-direction: column;
        }

        .reason-image-box {
            max-width: 100%;
        }

        .reason-num {
            font-size: 6rem;
            margin-bottom: 4px;
            color: #555;
        }

        .reason-subtitle {
            font-size: 1.4rem;
        }

        .reason-block {
            margin-bottom: 80px;
        }

        .six-reasons-main-title .ja {
            font-size: 1.6rem;
        }

        .reason-text-box {
            font-size: 1rem;
            line-height: 1.8;
        }

        .reason-btn-wrap,
        .reason-banner {
            text-align: center;
        }
	
}
		
 /* 初心者向け安心セクション */
    .reassurance-section {
        padding: 0 20px 60px;
        background-color: #ffffff;
    }

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

    .reassurance-title {
        background-color: #e6e6e6;
        text-align: center;
        padding: 15px;
        font-size: 1.4rem;
        font-weight: bold;
        border: 1px solid #333;
        margin: 0 0 20px 0;
        color: #333;
        letter-spacing: 0.1em;
    }

    .reassurance-table {
        display: flex;
        border-top: 1px solid #333;
        border-right: 1px solid #333;
    }

    .reassurance-col {
        flex: 1;
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid #333;
        border-left: 1px solid #333;
    }

    .reassurance-col-header {
        background-color: #e6e6e6;
        text-align: center;
        font-weight: bold;
        padding: 12px 10px;
        border-bottom: 1px solid #333;
        color: #333;
        font-size: 1.1rem;
    }

    .reassurance-col-body {
        padding: 20px 15px;
        background-color: #ffffff;
        font-size: 0.95rem;
        line-height: 1.8;
        color: #333;
        flex-grow: 1;
        text-align: center;
    }

    @media screen and (max-width: 768px) {
        .reassurance-section {
            padding: 0 15px 40px;
        }

        .reassurance-title {
            font-size: 1.2rem;
            margin-bottom: 20px;
            padding: 12px;
        }

        .reassurance-table {
            flex-direction: column;
            border-top: none;
            border-right: none;
            gap: 20px;
        }

        .reassurance-col {
            border: 1px solid #333;
        }

        .reassurance-col-header {
            font-size: 1rem;
        }
    }
    }


/*行動指針*/
.koudo-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 2px solid #c8b89a;
  box-sizing: border-box;
  width: 100%;
}

.koudo-col {
  padding: 24px 20px;
  border-right: 1px solid #e0d4c0;
  box-sizing: border-box;
  min-width: 0;
}

.koudo-col:last-child {
  border-right: none;
}

/* CMSが挿入する空pタグを潰す */
.koudo-columns > p,
.koudo-col > p:empty {
  display: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 680px) {
  .koudo-columns {
    grid-template-columns: 1fr;
  }
  .koudo-col {
    border-right: none;
    border-bottom: 1px solid #e0d4c0;
  }
  .koudo-col:last-child {
    border-bottom: none;
  }
}




/*金額*/
.price-comparison-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 40px 20px;
    flex-wrap: nowrap;
    box-sizing: border-box;
}

/* カード */
.price-comparison-wrap .price-card {
    position: relative;
    flex: 1;
    max-width: 320px;
    border-radius: 20px;
    padding: 32px 24px 28px;
    text-align: center;
    box-sizing: border-box;
}

.price-comparison-wrap .price-card--red    { background: #fdf0f0; border: 2px solid #f0d0d0; }
.price-comparison-wrap .price-card--orange { background: #fdf8f0; border: 2px solid #f0e0c0; }
.price-comparison-wrap .price-card--green  { background: #eef5ea; border: 2px solid #7c9a6e; }

/* おすすめバッジ */
.price-comparison-wrap .price-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #4a6741;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

/* タイトル */
.price-comparison-wrap .price-card-title-wrap { margin-bottom: 20px; }

.price-comparison-wrap .price-card-title {
    display: inline-block;
    border: 2px solid #1a1a1a;
    border-radius: 30px;
    padding: 6px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a1a1a;
}

/* フロー */
.price-comparison-wrap .price-flow {
    margin-bottom: 20px;
    line-height: 1;
}

.price-comparison-wrap .price-flow-item {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
}

.price-comparison-wrap .price-card--red    .price-flow-item { color: #c0392b; }
.price-comparison-wrap .price-card--orange .price-flow-item { color: #c07830; }
.price-comparison-wrap .price-card--green  .price-flow-item { color: #444; }

.price-comparison-wrap .price-flow-arrow {
    margin: 0;
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.4;
}

/* マージンラベル */
.price-comparison-wrap .price-margin-label {
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.price-comparison-wrap .price-margin-label--red    { background: #f5d8d8; color: #b53030; }
.price-comparison-wrap .price-margin-label--orange { background: #f5e8c8; color: #b06820; }
.price-comparison-wrap .price-margin-label--green  { background: #dcecd6; color: #3d6634; }

/* 金額 */
.price-comparison-wrap .price-amount {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 6px;
    line-height: 1.1;
}

.price-comparison-wrap .price-amount--red    { color: #c0392b; }
.price-comparison-wrap .price-amount--orange { color: #c07830; }
.price-comparison-wrap .price-amount--green  { color: #3d6634; }

/* 注記 */
.price-comparison-wrap .price-note {
    font-size: 0.75rem;
    color: #888;
    margin: 0;
}

.price-comparison-wrap .price-note--green {
    font-size: 0.82rem;
    font-weight: 700;
    color: #3d6634;
}

/* 比較区切り（PC：縦並び → ） */
.price-comparison-wrap .price-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    flex-shrink: 0;
}

.price-comparison-wrap .price-divider-arrow {
    font-size: 1.2rem;
    color: #aaa;
    line-height: 1;
}

.price-comparison-wrap .price-divider-text {
    font-size: 0.72rem;
    color: #aaa;
    letter-spacing: 0.05em;
}

/* ============================================================
   スマホ：カードを縦積み、比較区切りは横向き文字で維持
   ============================================================ */
@media (max-width: 700px) {
    .price-comparison-wrap {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .price-comparison-wrap .price-card {
        max-width: 100%;
    }

    /* 比較区切り：横並び・矢印を↓に切り替え・rotateなし */
    .price-comparison-wrap .price-divider {
        flex-direction: row;
        justify-content: center;
        padding: 4px 0;
        gap: 6px;
    }

    .price-comparison-wrap .price-divider-arrow {
        font-size: 1rem;
    }

    /* スマホ用に矢印を↓へ切り替え */
    .price-comparison-wrap .price-divider-arrow::before {
        content: "↓";
    }
    .price-comparison-wrap .price-divider-arrow {
        font-size: 0;  /* 元の→を非表示 */
    }
    .price-comparison-wrap .price-divider-arrow::before {
        font-size: 1rem;
        color: #aaa;
    }
}

.ywp-cards-wrap {
    padding: 40px 20px;
	 width:fit-content;
      margin:0 auto;
	  box-sizing: border-box;
}

.ywp-cards-wrap .ywp-cards-grid {
    display: grid;
	 margin:0,auto;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.ywp-cards-wrap .ywp-card {
    border: 1px solid #ccc;
    box-sizing: border-box;
    overflow: hidden;
}

.ywp-cards-wrap .ywp-card-title {
    background: #fff;
    border-bottom: 1px solid #ccc;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    color: #1a1a1a;
}

.ywp-cards-wrap .ywp-card-img-wrap {
    border-bottom: 1px solid #ccc;
    overflow: hidden;
}

.ywp-cards-wrap .ywp-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.ywp-cards-wrap .ywp-card-table {
    width: 100%;
    border-collapse: collapse;
}

.ywp-cards-wrap .ywp-card-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.ywp-cards-wrap .ywp-card-table tr:last-child {
    border-bottom: none;
}

.ywp-cards-wrap .ywp-card-table th,
.ywp-cards-wrap .ywp-card-table td {
    padding: 9px 14px;
    font-size: 0.85rem;
    vertical-align: middle;
    text-align: left;
}

.ywp-cards-wrap .ywp-card-table th {
    width: 55%;
    font-weight: 600;
    color: #333;
    background: #fafafa;
    border-right: 1px solid #e0e0e0;
    line-height: 1.4;
}

.ywp-cards-wrap .ywp-card-table th small {
    font-size: 0.75em;
    font-weight: 400;
    color: #777;
}

.ywp-cards-wrap .ywp-card-table td {
    font-weight: 700;
    color: #1a1a1a;
    white-space: nowrap;
}

.ywp-cards-wrap .ywp-card-note {
    font-size: 0.75rem;
    color: #1a6fc4;
    padding: 7px 14px;
    margin: 0;
    border-top: 1px solid #e8e8e8;
    line-height: 1.5;
}

.ywp-cards-wrap .ywp-price-disclaimer {
    border: 1px solid #d0d8e8;
    background: #f5f8ff;
    border-radius: 6px;
    padding: 20px 24px;
    font-size: 0.85rem;
    line-height: 1.8;
    color: #444;
}

.ywp-cards-wrap .ywp-price-disclaimer-title {
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px;
    font-size: 0.9rem;
}

.ywp-cards-wrap .ywp-price-disclaimer p:last-child {
    margin: 0;
}

@media (max-width: 500px) {
    .ywp-cards-wrap {
        padding: 20px 16px;
	}
}
.ycf-wrap {
    padding: 60px 20px;
    max-width: 900px;
    box-sizing: border-box;
	margin: 0 auto;
}

.ycf-header {
    text-align: center;
    margin-bottom: 48px;
}

.ycf-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: #35322d;
    font-weight: 600;
    margin: 0 0 6px;
}

.ycf-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #35322d;
    margin: 0;
    position: relative;
    display: inline-block;
    padding-bottom: 14px;
}



.ycf-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.ycf-item {
    border: 1px solid #e4ecdc;
    border-radius: 10px;
    padding: 28px 24px 24px;
    background: #fff;
    box-sizing: border-box;
}

.ycf-icon {
    width: 48px;
    height: 48px;
    color: #7c9a6e;
    margin: 0 auto 16px;
    display: block;
}

.ycf-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.ycf-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #35322d;
    margin: 0 0 10px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #35322d;
}
.ycf-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background:#35322d;
    margin: 12px auto 0;
}
.ycf-item-desc {
    font-size: 0.85rem;
    line-height: 1.75;
    color: #555;
    margin: 0;
}

.ycf-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.ycf-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    box-sizing: border-box;
    transition: background 0.2s, color 0.2s;
}

.ycf-btn--outline {
    border: 2px solid #7c9a6e;
    color: #4a6741;
    background: #fff;
}

.ycf-btn--outline:hover {
    background: #7c9a6e;
    color: #fff;
}

@media (max-width: 560px) {
    .ycf-grid {
        grid-template-columns: 1fr;
    }
    .ycf-btns {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ===== お悩みセクション ===== */
/* ===== リセット（テーマ干渉防止） ===== */
.yct-nav p,
.yct-wrap p {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

/* ===== Yachiyo Trouble Nav ===== */
.yct-nav {
  max-width: 860px;
  margin: 0 auto 40px;
  padding: 0 16px;
  box-sizing: border-box;
}

.yct-nav__header {
  text-align: center;
  margin-bottom: 28px;
}

.yct-nav__label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: #35322d;
  font-weight: 700;
  margin: 0 0 6px;
}

.yct-nav__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #35322d;
  margin: 0;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}

.yct-nav__title::after {
  content: "";
  display: block;
  width: 36px;
  height: 3px;
  background: #35322d;
  margin: 10px auto 0;
}

.yct-nav__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.yct-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 14px 18px;
  border: 1px solid #d8d5d1;
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: #35322d;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  transition: background 0.18s, box-shadow 0.18s, transform 0.15s;
  box-sizing: border-box;
}

.yct-nav__icon {
  width: 44px;
  height: 44px;
  display: block;
  flex-shrink: 0;
}

.yct-nav__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.yct-nav__item-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .yct-nav__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Yachiyo Trouble Cards ===== */
.yct-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 16px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* カード本体 */
.yct-card {
  border: 1px solid #d8d5d1;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  box-sizing: border-box;
}

/* ヘッダー部 */
.yct-card__head {
  background: #35322d;
  padding: 18px 24px 16px;
  text-align: center;
}

.yct-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.5;
}

.yct-card__sub {
  font-size: 0.85rem;
  color: #b5b0a8;
  margin: 0;
  font-weight: 500;
}

/* ボディ */
.yct-card__body {
  padding: 24px;
}

/* リード文 */
.yct-card__lead {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #444;
  margin: 0 0 20px;
}

/* 画像エリア */
.yct-card__img {
  text-align: center;
  margin-bottom: 20px;
  background: #f5f4f2;
  border-radius: 8px;
  overflow: hidden;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yct-card__img img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* おすすめセクション */
.yct-card__rec {
  background: #f5f4f2;
  border-left: 4px solid #35322d;
  border-radius: 0 8px 8px 0;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.yct-card__rec-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #35322d;
  margin: 0 0 10px;
}

.yct-card__rec-body {
  font-size: 0.875rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

/* こんな方におすすめ */
.yct-card__who {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  border: 1px solid #e0ddd9;
  border-radius: 8px;
  padding: 14px 18px;
  background: #faf9f8;
}

.yct-card__who-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: #35322d;
  padding: 4px 10px;
  border-radius: 4px;
  white-space: nowrap;
  line-height: 1.6;
  flex-shrink: 0;
}

.yct-card__who-list {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
  color: #444;
  line-height: 1.75;
}

.yct-card__who-list li {
  padding-left: 1.2em;
  position: relative;
}

.yct-card__who-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #35322d;
}

/* その他カード */
.yct-card--other .yct-card__head {
  background: #4a453d;
}

.yct-card__other-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.yct-card__img--other {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
}

.yct-card__other-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.85;
  color: #444;
}

.yct-card__other-text p {
  margin: 0 0 12px;
}

.yct-card__other-text p:last-child {
  margin-bottom: 0;
}

.yct-card__other-closing {
  color: #35322d;
  font-weight: 600;
}

/* レスポンシブ */
@media (max-width: 600px) {
  .yct-card__body {
    padding: 18px 16px;
  }

  .yct-card__who {
    flex-direction: column;
    gap: 10px;
  }

}

/* ===== こんな選び方はご注意ください ===== */
        .caution-section {
            padding: 60px 20px;

        }

        .caution-inner {
            max-width: 860px;
            margin: 0 auto;
        }

        .section-title {
            font-size: 1.35rem;
            font-weight: bold;
            text-align: center;
            margin: 0 0 10px;
            letter-spacing: 0.05em;
        }

        .section-title-border {
            width: 60px;
            height: 3px;
            background-color: #35322d;
            margin: 0 auto 36px;
            border-radius: 2px;
        }

        .caution-lead {
            font-size: 0.97rem;
            line-height: 2;
            margin-bottom: 32px;
        }

        .caution-lead p {
            margin: 0;
        }

        /* 注意カード */
        .caution-list {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .caution-item {
            display: flex;
            background-color: #fff;
            border: 1px solid #d8dde6;
            border-radius: 4px;
            overflow: hidden;
        }

        .caution-badge {
            flex-shrink: 0;
            width: 96px;
            background-color: #35322d;
            color: #fff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 20px 8px;
            font-weight: bold;
            text-align: center;
            line-height: 1.5;
            font-size: 0.9rem;
            letter-spacing: 0.04em;
        }

        .caution-badge-num {
            font-size: 1.3rem;
            display: block;
        }

        .caution-body {
            padding: 20px 24px;
            flex: 1;
        }

        .caution-heading {
            font-weight: bold;
            font-size: 1rem;
            color: #35322d;
            margin: 0 0 10px;
            line-height: 1.5;
        }

        .caution-body p {
            margin: 0;
            font-size: 0.95rem;
            line-height: 1.9;
            color: #444;
        }

        /* ===== 目的別「業者の選び方」 ===== */
        .purpose-section {
            padding: 60px 20px;
            background-color: #fff;
        }

        .purpose-inner {
            max-width: 860px;
            margin: 0 auto;
        }

        .purpose-lead {
            font-size: 0.97rem;
            line-height: 2.1;
            text-align: center;
        }

        .purpose-lead p {
            margin: 0 0 1.4em;
        }

        .purpose-lead p:last-child {
            margin-bottom: 0;
        }

        /* ===== レスポンシブ ===== */
        @media (max-width: 640px) {
            .hero-section,
            .caution-section,
            .purpose-section {
              
            }

            .hero-title {
                font-size: 1.2rem;
                padding: 0px 16px;
            }

            .caution-item {
                flex-direction: column;
            }

            .caution-badge {
                width: 100%;
                flex-direction: row;
                gap: 8px;
                padding: 12px 16px;
                justify-content: flex-start;
            }

            .caution-badge-num {
                font-size: 1.1rem;
            }

            .caution-body {
                padding: 16px;
            }

            .purpose-lead {
                text-align: left;
            }
        }


    /* ===== チェックポイントセクション ===== */
        .checklist-section {
            padding: 60px 20px;
            background-color: #fff;
        }

        .checklist-inner {
            max-width: 860px;
            margin: 0 auto;
        }

        /* 2カラム表レイアウト */
        .checklist-table {
            display: flex;
            border: 1px solid #c8c4be;
            border-radius: 4px;
            overflow: hidden;
        }

        .checklist-table-left {
            flex-shrink: 0;
            width: 200px;
            background-color: #fff;
            color: #35322d;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 30px 20px;
            text-align: center;
            border-right: 1px solid #c8c4be;
        }

        .checklist-table-left h1 {
            font-size: 1.1rem;
            font-weight: bold;
            line-height: 1.9;
            letter-spacing: 0.08em;
            margin: 0;
        }

        .checklist-table-right {
            flex: 1;
            background-color: #faf9f7;
            padding: 24px 28px;
        }

        .checklist-items {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin: 0;
            padding: 0;
            list-style: none;
        }

        .checklist-items li {
            font-size: 0.97rem;
            line-height: 1.7;
            padding: 8px 0;
            border-bottom: 1px solid #e0dcd6;
        }

        .checklist-items li:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

        /* ===== 八千代エクステリアの考え方 ===== */
        .yachi-section {
            padding: 60px 20px;
          
        }

        .yachi-inner {
            max-width: 860px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            font-size: 1.35rem;
            font-weight: bold;
            margin: 0 0 10px;
            letter-spacing: 0.05em;
        }

        .section-title-border {
            width: 60px;
            height: 3px;
            background-color: #35322d;
            margin: 0 auto 36px;
            border-radius: 2px;
        }

        .yachi-img-wrap {
            margin-bottom: 28px;
            border-radius: 4px;
            overflow: hidden;
        }

        .yachi-img-wrap img {
            width: 100%;
            object-fit: cover;
        }

        .yachi-lead {
            font-size: 0.97rem;
            line-height: 2;
            text-align: center;
            margin-bottom: 44px;
        }

        .yachi-lead p {
            margin: 0 0 0.4em;
        }

        .yachi-lead p:last-child {
            margin-bottom: 0;
        }

        /* ===== カードグリッド ===== */
        .cards-grid-3 {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
            margin-bottom: 16px;
        }

        .cards-grid-2 {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
        }

        .card {
            background-color: #fff;
            border-radius: 4px;
            overflow: hidden;
            border: 1px solid #ddd8d2;
        }

        .card-header {
            background-color: #35322d;
            color: #fff;
            text-align: center;
            padding: 12px 16px;
            font-weight: bold;
            font-size: 0.95rem;
            letter-spacing: 0.05em;
            line-height: 1.4;
        }

        .card-body {
            padding: 18px 20px;
            font-size: 0.9rem;
            line-height: 1.85;
            color: #444;
        }

        .card-body p {
            margin: 0;
        }

        /* ===== レスポンシブ ===== */
        @media (max-width: 640px) {
            .checklist-section,
            .yachi-section {
                padding: 40px 16px;
            }

            .checklist-table {
                flex-direction: column;
            }

            .checklist-table-left {
                width: 100%;
                padding: 20px 16px;
            }

            .checklist-table-left h1 {
                font-size: 1.05rem;
            }

            .checklist-table-right {
                padding: 20px 16px;
            }

            .cards-grid-3 {
                grid-template-columns: 1fr;
                margin-bottom: 12px;
            }

            .cards-grid-2 {
                grid-template-columns: 1fr;
            }

            .yachi-lead {
                text-align: left;
            }
        }

/* サブメニュー スクロール前後で黒背景＋白文字に統一 */
@media screen and (min-width:960px) {
  .p-global-nav .sub-menu {
    z-index: 1000 !important;
    background-color: #35322d !important;
  }
  .p-global-nav .sub-menu a {
    background-color: #35322d !important;
    color: #ffffff !important;
  }
  .p-global-nav .sub-menu a:hover {
    background-color: #4a4640 !important;
    color: #ffffff !important;
  }
}

  @media (max-width: 768px) {
        .lifestyle-cards-section {
            padding: 40px 16px !important;
        }
        .lifestyle-cards-grid {
            grid-template-columns: 1fr !important;
            gap: 20px !important;
        }
        .lifestyle-card-content {
            padding: 20px !important;
        }
        .lifestyle-card-title {
            font-size: 1.15rem !important;
        }
        .lifestyle-card-subtitle {
            font-size: 0.85rem !important;
        }
        .lifestyle-card-text {
            font-size: 0.9rem !important;
            line-height: 1.7 !important;
        }
        .lifestyle-card-button {
            padding: 10px 20px !important;
            font-size: 0.85rem !important;
        }
    }

	/* セクション全体のラッパー */
.section-wrapper {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	background-image: url('https://cdn.yachi-ex.com/wp-content/uploads/bg_sec3.png');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	box-sizing: border-box;
	display: block;
	position: relative;
}

	/* ヒーローセクション */
.hero-section {
	width: 100%;
	background: #fff;
}

.hero-container {
	display: flex;
	flex-direction: column;
	width: 100%;
}

.hero-text-area {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 65px 40px;
	box-sizing: border-box;
	min-height: 400px;
}

.hero-text-content {
	text-align: center;
	max-width: 600px;
	width: 100%;
	word-break: keep-all;
	overflow-wrap: break-word;
}

.hero-title {
	font-size:44px;
	font-weight: 700;
	color: #fff;
	margin: 0 0 30px;
	line-height: 1.5;
}

.hero-text {
	font-size: 1rem;
	color: #fff;
	line-height: 2;
	margin: 0 0 20px;
	word-break: keep-all;
	overflow-wrap: break-word;
	white-space: normal;
}

.hero-button {
	display: inline-block;
	margin-top: 30px;
	padding: 12px 30px;
	border: 1px solid #fff;
　　color: #35322d;
　　background-color: #184130;
	text-decoration: none;
	font-size: 0.95rem;
	transition: background-color 0.3s, color 0.3s;
}

.hero-button:hover {
background-color: #184130;
	color: #fff;
}

.hero-image-area {
	width: 100%;
	overflow: hidden;
	position: relative;
	height: 400px;
}

.hero-image-wrapper {
	display: flex;
	width: fit-content;
	height: 100%;
	animation: hero-slide-right-to-left 30s linear infinite;
	will-change: transform;
}

.hero-image-slide {
	display: flex;
	flex-direction: row;
	flex-shrink: 0;
	height: 100%;
	align-items: stretch;
}

.hero-image {
	width: 33.333vw;
	min-width: 400px;
	height: 400px;
	object-fit: cover;
	display: block;
	flex-shrink: 0;
}

@keyframes hero-slide-right-to-left {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

@media (max-width: 768px) {
	.section-wrapper {
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0;
		background-image: url('https://cdn.yachi-ex.com/wp-content/uploads/bg_sec3.png');
		background-size: cover;
		background-position: center;
		background-repeat: no-repeat;
		box-sizing: border-box;
	}
	
	.hero-text-area {
		padding: 40px 20px;
		min-height: 300px;
		width: 100%;
	}
	
	.hero-image-area {
		height: 250px;
	}
	
	.hero-image {
		width: 100vw;
		min-width: 300px;
		height: 250px;
	}
	
	.hero-image-slide::after {
		background-size: 100vw 100%, 100vw 100%, 100vw 100%, 100vw 100%, 100vw 100%, 100vw 100%;
		background-position: 0 0, 100vw 0, 200vw 0, 300vw 0, 400vw 0, 500vw 0;
		min-width: 600vw;
	}
	
	.hero-title {
		font-size: 1.5rem;
		margin-bottom: 20px;
	}
	
	.hero-text {
		font-size: 0.9rem;
		line-height: 1.8;
	}
	
	.jisseki-btn-area {
		width: 100%;
		margin-top: 35px;
		/* max-width: 100%; */
		padding-bottom: 70px;
		padding-left: 15px;
		padding-right: 15px;
		text-align: center;
		box-sizing: border-box;
		display: block;
	}
	
	.jisseki-btn-area #cb_1,
	.jisseki-btn-area #cb_text_1 {
		width: 100%;
		text-align: center;
		display: block;
		margin: 0;
		padding: 0;
	}
	
	.jisseki-btn-area .p-main-image_btn-link {
		display: inline-block;
		text-align: center;
		position: relative;
		width: auto;
		min-width: 140px;
		margin: 0;
		padding: 0;
	}
	
	.jisseki-btn-area .p-main-image_btn-link.u-clearfix {
		display: inline-block;
		text-align: center;
	}
	
	.jisseki-btn-area #cb_1 .p-main-image_btn-link a {
		padding: 8px 20px;
		font-size: 0.8rem;
		min-width: 140px;
	}
	
	.jisseki-btn-area #cb_1 .p-main-image_btn-link {
		min-width: 140px;
	}
}

	/* ボタンエリア */
.jisseki-btn-area {
	width: 100%;
	max-width: 100%;
	padding: 15px 20px;
	padding-bottom:80px;
	text-align: center;
	box-sizing: border-box;
	margin: 0;
	display: block;
}

.jisseki-btn-area #cb_1,
.jisseki-btn-area #cb_text_1 {
	width: 100%;
	text-align: center;
	display: block;
	margin: 0;
	padding: 0;
}

.jisseki-btn-area .p-main-image_btn-link {
	display: inline-block;
	text-align: center;
	position: relative;
	width: auto;
	min-width: 200px;
	margin: 0;
	padding: 0;
}

.jisseki-btn-area .p-main-image_btn-link.u-clearfix {
	display: inline-block;
	text-align: center;
}

/* ボタンリンクの装飾 */
.jisseki-btn-area #cb_1 .p-main-image_btn-link {
	position: relative;
	display: inline-block;
	min-width: 200px;
}

.jisseki-btn-area #cb_1 .p-main-image_btn-link a {
	overflow: hidden;
	z-index: 1;
	color:35322d; !important;
	position: relative;
	top: 0;
	left: 0;
	padding: 12px 30px;
	box-sizing: border-box;
	background:#FFFFFF;
	border: 1px solid #35322d !important;
	text-decoration: none;
	font-size: 0.95rem;
	display: inline-block;
	text-align: center;
	width: 100%;
	min-width: 200px;
	margin: 0;
}

.jisseki-btn-area #cb_1 .p-main-image_btn-link a:hover {
	top: 0;
	left: 0;
	padding: 12px 30px;
	box-sizing: border-box;
	font-weight: normal;
	color: #ffffff !important;
	border: 1px solid #184130 !important;
}

.jisseki-btn-area #cb_1 .p-main-image_btn-link a:hover {
	color: #ffffff !important;
	background-color:#184130 !important;
}

.jisseki-btn-area #cb_1 .p-main-image_btn-link a::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 100%;
	top: 0;
	left: -102%;
	background: rgba(24,65,48,1);
	transition: .3s;
	z-index: -1;
}

.jisseki-btn-area #cb_1 .p-main-image_btn-link a:hover::before {
	left: 0;
	overflow: hidden;
	z-index: -1;
}

	/* ループ用CSS */
.loop-container {
	background-color: transparent;
	padding: 1rem 0;
	overflow: hidden;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding-left: 0;
	padding-right: 0;
	box-sizing: border-box;
}

.loop-wrapper {
	display: flex;
	width: fit-content;
	animation: loop-slide 40s linear infinite;
}

.loop-slide {
	display: flex;
	gap: 0;
	padding-right: 0;
	flex-shrink: 0;
	min-width: max-content;
}

.loop-slide img {
	height: 200px;
	width: auto;
	object-fit: cover;
	display: block;
}

/* アニメーション */
@keyframes loop-slide {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(-50%);
	}
}

.p-content05 {
	padding: 0 !important;
	padding-top: 0px !important;
}

@media (max-width: 1180px){
#cb_5.p-content05{
    padding: 60px 0px !important;
}
}

/* スマホ */
@media (max-width: 820px) {
#cb_5.p-content05{
    padding: 50px 0px !important;
}
	.loop-slide img {
		height: 180px; 
	}
	.loop-slide {
		gap: 0;
		padding-right: 0; 
	}
}

.page-template-page-no-side-custom-all .post_box {
    padding-bottom: 0!important;
}
	
@media (max-width: 960px) {
  #cb_9 {
    background-position: right !important;
  }
}

/*フッターナビゲーション修正 */
/* テキスト折り返し修正・区切り線追加 */

/* PC（960px以上）での追加設定 */
@media screen and (min-width: 960px) {
    .l-footer li {
        display: block !important;
        white-space: normal !important;
        word-break: break-all !important;
        overflow-wrap: break-word !important;
   
     
    }
    .l-footer ul > li:last-child {
        border-bottom: none !important;
    }
    .l-footer li.menu-item-969 {
        display: block !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 768px) {
  .l-footer a:hover {
    color: inherit;
	    border-bottom: none !important;
  }
	.l-footer a:active {
    color: inherit;
	    border-bottom: none !important;
  }
}
 .yachiyo-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 1rem 0;
  }

  .yachiyo-card {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
  }

  .yachiyo-card-header {
    background: #35322d;
    padding: 10px 12px;
    text-align: center;
  }

  .yachiyo-card-header span {
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.02em;
  }

  .yachiyo-card-body {
    padding: 10px 12px;
    font-size: 12px;
    color: #666;
    line-height: 1.6;
  }


/*ボタン*/
.ycf-custom-btn-wrap {
    text-align: center;
    margin-top: 40px;
}
.ycf-custom-btn {
    display: inline-block;
    margin: 0 10px;
    height: 63px;
}
.ycf-custom-btn span {
    display: inline-block;
    font-size: 16px;
    height: 63px;
    line-height: 63px;
    min-width: 218px;
    box-sizing: border-box;
    text-align: center;
    vertical-align: middle;
    position: relative;
}
.ycf-custom-btn span a {
    overflow: hidden;
    z-index: 1;
    position: relative;
    color: #ffffff !important;
    background: #35322d;
    border: 1px solid #35322d;
    height: 100%;
    width: 100%;
    display: block;
    padding: 0 35px;
    box-sizing: border-box;
    text-decoration: none;
}
.ycf-custom-btn span a::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: -102%;
    background: #184130;
    transition: 0.3s;
    z-index: -1;
}
.ycf-custom-btn span a:hover {
    color: #ffffff !important;
    border: 1px solid #184130 !important;
}
.ycf-custom-btn span a:hover::before {
    left: 0;
}

/* ===== YWP CARDS ===== */
/* こげ茶:#35322d  濃い緑:#184130  金(ポイント):#d3b974 */
 
.ywp-cards-wrap {
  font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 16px;
}
 
/* ── カードリスト：縦1列 ── */
.ywp-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
 
/* ── カード本体 ── */
.ywp-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(211, 185, 116, 0.22);
  box-shadow: 0 2px 10px rgba(53, 50, 45, 0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
 
.ywp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(53, 50, 45, 0.13);
}
 
/* ── 画像エリア：上部に大きく ── */
.ywp-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #ece8e3;
}
 
.ywp-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
 
.ywp-card:hover .ywp-card-img {
  transform: scale(1.04);
}
 
/* ── タイトルバー ── */
.ywp-card-title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #fff;
  background: #184130;
  padding: 11px 20px;
  border-bottom: 2px solid #d3b974;
}
 
/* ── 価格エリア ── */
.ywp-card-body {
  padding: 16px 20px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
 
.ywp-card-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
 
.ywp-card-table tr {
  border-bottom: 1px solid #e8e3db;
}
 
.ywp-card-table tr:last-child {
  border-bottom: none;
}
 
.ywp-card-table th {
  text-align: left;
  font-weight: 500;
  color: #35322d;
  padding: 9px 0;
  width: 58%;
  vertical-align: middle;
}
 
.ywp-card-table th small {
  font-size: 11px;
  color: #9a9590;
  display: block;
}
 
.ywp-card-table td {
  text-align: right;
  font-size: 17px;
  font-weight: 700;
  color: #35322d;
  padding: 9px 0;
  letter-spacing: 0.02em;
  vertical-align: middle;
}
 
/* 注意書き */
.ywp-card-note {
  font-size: 11px;
  color: #b0aba4;
  margin: 8px 0 0;
  line-height: 1.7;
}
 
/* ── 料金注意事項 ── */
.ywp-price-disclaimer {
  background: #f4f7f5;
  border: 1px solid rgba(24, 65, 48, 0.14);
  border-left: 3px solid #d3b974;
  border-radius: 10px;
  padding: 20px 24px;
  margin-top: 4px;
}
 
.ywp-price-disclaimer-title {
  font-size: 13px;
  font-weight: 700;
  color: #184130;
  margin: 0 0 8px;
  letter-spacing: 0.07em;
}
 
.ywp-price-disclaimer p:last-child {
  font-size: 12px;
  color: #5a5650;
  line-height: 1.9;
  margin: 0;
}

/* ===== SP・タブレット メインキャッチコピー画像 ===== */

/* --- 縦向きのみ（SP＋タブレット）--- */
@media only screen and (max-width: 1024px) and (orientation: portrait) {
  /* キャッチコピー画像① 右上 */
  #sp-catchcopy-top-right {
    display: block;
    position: absolute;
    top: 100px;
    right: 10px;
    z-index: 900;
    pointer-events: none;
  }
  /* キャッチコピー画像② 左下 */
  #sp-catchcopy-bottom-left {
    display: block;
    position: absolute;
    bottom: 30px;
    left: 10px;
    z-index: 900;
    pointer-events: none;
  }
  #sp-catchcopy-bottom-left img {
    display: block;
    width: 70%;
    height: auto;
  }
}

/* --- スマホ縦向き（〜767px）--- */
@media only screen and (max-width: 767px) and (orientation: portrait) {
  #sp-catchcopy-top-right img {
    display: block;
    width: auto;
    height: auto;
    max-width: 110px;
    max-height: 500px;
  }
}

/* --- タブレット縦向き（768px〜1024px）--- */
@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  #sp-catchcopy-top-right img {
    display: block;
    width: auto;
    height: auto;
    max-width: 200px;
    max-height: 580px;
  }
}

/* デスクトップ・横向き では非表示 */
@media only screen and (min-width: 1025px),
only screen and (orientation: landscape) {
  #sp-catchcopy-top-right,
  #sp-catchcopy-bottom-left {
    display: none;
  }
}
}
/* ============================================================
   スマホ・タブレット対応修正（統合版）
   共通      : ~959px（スマホ＋タブレット両方）
   タブレット : 768px ~ 959px
   スマホ    : ~767px
   ============================================================ */

/* ----------------------------------------------------------
   共通（959px以下 = スマホ＋タブレット両方に適用）
   ---------------------------------------------------------- */
@media screen and (max-width: 959px) {

  /* ---- work-section ---- */
  .work-section {
    padding: 30px 16px;
  }

  .work-container {
    margin: 0 auto;
    text-align: center;
  }

  .work-title {
    text-align: center;
  }

  .work-image-wrapper {
    margin-bottom: 24px;
    text-align: center;
  }

  .work-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  }

  .work-text {
    font-size: 0.95rem;
    line-height: 2;
    letter-spacing: 0.02em;
    max-width: 100%;
    margin: 0 auto;
    text-align: left;
  }

  /* ---- 「こんなお悩みに」セクション ---- */
  .worry-block {
    display: flex;
    margin-bottom: 20px;
    border: 1px solid #333;
    box-sizing: border-box;
    overflow: hidden;
  }

  .worry-title {
    width: 35%;
    flex-shrink: 0;
    box-sizing: border-box;
    background-color: #dfdfdf;
    padding: 20px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    border-right: 1px solid #333;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  .worry-list {
    width: 65%;
    box-sizing: border-box;
    list-style: none;
    padding: 16px;
    margin: 0;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .worry-list li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.85rem;
  }

  .worry-list li:last-child {
    margin-bottom: 0;
  }

  .worry-list li::before {
    content: "■";
    position: absolute;
    left: 0;
    color: #333;
    font-size: 0.85em;
    top: 0.2em;
  }

  .worry-btn-wrap {
    text-align: center;
    margin-top: 24px;
  }

  .worry-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #35322d;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 4px;
    letter-spacing: 0.05em;
  }

  /* ---- 対応工事例セクション ---- */
  .works-cases-section {
    padding: 30px 16px;
  }

  .works-cases-title {
    font-size: 1.2rem;
    margin-bottom: 24px;
  }

  .works-cases-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 100%;
    margin: 0 auto;
  }

  .works-case-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .works-case-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eee;
  }

  .works-case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 100%;
  }

  .works-case-body {
    padding: 14px 16px;
  }

  .works-case-name {
    font-size: 1rem;
    font-weight: bold;
    margin: 0 0 8px !important;
  }

  .works-case-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #444;
    margin: 0;
  }
}

/* ----------------------------------------------------------
   タブレットのみ（768px ~ 959px）= カードを2列
   ---------------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 959px) {

  .works-cases-grid {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }

  .works-case-card {
    width: calc(50% - 10px);
  }
}

/* ----------------------------------------------------------
   スマホのみ（~767px）= カードを1列
   ---------------------------------------------------------- */
@media screen and (max-width: 767px) {

  .works-cases-grid {
    flex-direction: column;
    gap: 16px;
  }

  .works-case-card {
    width: 100%;
  }

  .work-title {
    text-align: center;
    font-size: 1.1rem;
  }
}
/* ===== 選ばれる理由ページ スマホ・タブレット対応 (追記) ===== */
@media screen and (max-width: 959px) {

  /* ---- 共通 ---- */
  .reason-section {
    padding: 60px 20px;
    background-color: #ffffff;
    color: #333333;
  }
  .reason-container {
    max-width: 100%;
    margin: 0 auto;
  }
  .reason-title { text-align: center; }
  .reason-image-wrapper { margin-bottom: 50px; text-align: center; }
  .reason-image {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  }
  .reason-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 2.2;
    letter-spacing: 0.03em;
  }
  .reason-text p { margin-bottom: 2em; }
  .reason-text p:last-child { margin-bottom: 0; }

  /* ---- 数字で見る ---- */
  .reason-stats-section {
    padding: 60px 20px;
    background-color: #ffffff;
  }
  .reason-stats-title {
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    margin: 0 0 40px;
    color: #555;
    letter-spacing: 0.05em;
  }
  .reason-stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    max-width: 100%;
    margin: 0 auto;
  }
  .reason-stat-card {
    flex: 1 1 calc(50% - 8px);
    min-width: calc(50% - 8px);
    border: 1px solid #888;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 10px 20px;
    box-sizing: border-box;
    text-align: center;
    width: auto !important;
  }
  .reason-stat-label {
    width: 80%;
    background-color: #555;
    color: #fff;
    font-size: 0.85rem;
    font-weight: bold;
    padding: 8px 0;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    box-sizing: border-box;
  }
  .reason-stat-num {
    font-size: 2.8rem;
    font-weight: bold;
    color: #555;
    line-height: 1;
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
  }
  .reason-stat-unit {
    font-size: 1rem;
    margin-left: 4px;
  }

  /* ---- REASON 6つの理由 ---- */
  .six-reasons-section {
    padding: 60px 20px;
    background-color: #ffffff;
    color: #333333;
  }
  .six-reasons-container {
    max-width: 100%;
    margin: 0 auto;
  }
  .six-reasons-main-title { text-align: center; }
  .six-reasons-main-title .en {
    display: block;
    font-size: 1rem;
    color: #555;
    letter-spacing: 0.15em;
    font-weight: bold;
  }
  .six-reasons-main-title .ja {
    display: block;
    font-size: 1.6rem;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
  }
  .reason-block { margin-bottom: 80px; }
  .reason-block:last-child { margin-bottom: 0; }
  .reason-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .reason-num {
    font-size: 6rem;
    font-weight: bold;
    font-style: italic;
    color: #555;
    line-height: 1;
    font-family: Georgia, "Times New Roman", serif;
    margin-bottom: 4px;
    z-index: 0;
  }
  .reason-subtitle {
    font-size: 1.4rem;
    color: #555;
    font-weight: bold;
    line-height: 1.4;
  }
  .reason-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }
  .reason-image-box {
    flex: unset;
    max-width: 100%;
    width: 100%;
  }
  .reason-image-box img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  }
  .reason-text-box {
    flex: unset;
    width: 100%;
    font-size: 1rem;
    line-height: 1.8;
    letter-spacing: 0.03em;
  }
  .reason-text-box p { margin-bottom: 1.5em; }
  .reason-text-box p:last-child { margin-bottom: 0; }
  .reason-btn-wrap { margin-top: 25px; text-align: center; }
  .reason-btn {
    display: inline-block;
    background-color: #555;
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 0.05em;
    font-size: 1rem;
  }
  .reason-banner { margin-top: 25px; text-align: center; }
  .reason-banner img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
  }

  /* ---- ナビゲーションボタン ---- */
  .nav-btns-section {
    padding: 50px 20px;
    background-color: #ffffff;
  }
  .nav-btns-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 100%;
    margin: 0 auto 8px;
  }
  .nav-btns-grid br,
  .nav-btns-grid-row2 br { display: none; }
  .nav-btns-grid-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    max-width: 100%;
    margin: 0 auto 20px;
    justify-content: center;
  }
  .nav-btn {
    display: block;
    padding: 16px 12px;
    background-color: #35322d;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: bold;
    border-radius: 0;
    text-align: center;
    letter-spacing: 0.03em;
    box-sizing: border-box;
  }
  .nav-cta-wrap {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }
  .nav-cta-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 20px;
    background-color: #35322d;
    color: #fff;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-cta-sub {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
  }
  .nav-cta-main {
    font-size: 1.2rem;
    font-weight: bold;
    letter-spacing: 0.05em;
  }
}
/* タブレット用（641px〜1024px）PCと同じ体裁・見出し同じ */
@media screen and (min-width: 641px) and (max-width: 1024px) {
    .reassurance-section {
        padding: 0 20px 60px;
    }

    .reassurance-col-body {
        padding: 18px 12px;
        font-size: 0.9rem;
    }
}

/* スマホ用（〜640px）PCと同じ体裁・見出し同じ・3列横並び維持 */
@media screen and (max-width: 640px) {
    .reassurance-section {
        padding: 0 15px 40px;
    }

    .reassurance-table {
        flex-wrap: nowrap;
    }

    .reassurance-col {
        flex: 1 1 0;
        min-width: 0;
    }

    .reassurance-col-body {
        padding: 15px 10px;
        font-size: 0.85rem;
    }
}

    }
body #cb_4.p-main-image{
	background:#ebebea!important;
}
/*#cb_img_4{
background-color:#ebebea !important;
}
#cb_text_4{
background-color:#ebebea !important;
}*/

//* セクション余白統一 - 65px基準 */
.hero-text-area {
  padding-top: 65px !important;
  padding-bottom: 65px !important;
}
.p-main-image__img-image {
  margin-top: 65px !important;
}
.p-main-image__content {
  padding-top: 65px !important;
  padding-bottom: 65px !important;
}

.ycf-custom-btn-wrap {
  margin-top: 16px !important;
}
.bannersection {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* ================================
   個別設定
================================ */

#cb_10.p-content03 {
  padding-top: 65px !important;
}

#cb_5 .lifestyle-cards-section {
  padding-bottom: 10px !important;
}
/*ボタンの余白対応================================ */
.ycf-custom-btn-wrap {
	margin-top: 16px; 
}
.bannersection {
	margin-top: 0 !important; 
	margin-bottom: 0 !important; 
}
#cb_5 .lifestyle-cards-section {
  padding-bottom: 10px !important;
}

/* ===== 余白・表示修正（2025年指摘対応） ===== */

/* ① Sec1上・Sec5上：h2直前の空p要素（16px）を潰してmargin重複を解消 */
#cb_1 .l-inner > p:first-child,
#cb_5 .l-inner > p:first-child {
  font-size: 0 !important;
  line-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
@media screen and (max-width: 959px) {
  #cb_1 .l-inner > p:first-child,
  #cb_5 .l-inner > p:first-child {
    font-size: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* ② Sec1囲みの下：wish-sectionのpadding-bottomを除去 */


/* ③ Sec3(section-wrapper)の上：上セクションと空きを揃える */
/* hero-text-area の padding構文エラー修正（65px40px→65px 40px）および余白設定 */
.hero-text-area {
  padding: 65px 40px !important;
}

/* ④ SP時(max-width:959px)は65pxではなく40pxで調整 */
@media screen and (max-width: 959px) {
  /* 各セクションpadding */
  .hero-text-area {
    padding: 0 20px !important;
  }
  .p-main-image__img-image {
    margin-top: 40px !important;
  }
  .p-main-image__content {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .p-content01 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  .p-content03 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }
  #cb_2.p-content01 {
    padding-bottom: 40px !important;
  }
  #cb_10.p-content03 {
    padding-top: 40px !important;
  }
  .section-wrapper {
    padding-top: 40px !important;
  }
  /* ② SP時もwish-sectionのpadding-bottomを除去 */

/* ⑤ SurfaceDuo横(720×540)でキャッチコピー画像が非表示になる問題を修正 */
/* SurfaceDuo横 = 720×540 → landscapeかつmax-width:720px以下 */
@media only screen and (max-width: 720px) and (orientation: landscape) {
  #sp-catchcopy-top-right {
    display: block !important;
    position: absolute;
    top: 60px;
    right: 10px;
    z-index: 900;
    pointer-events: none;
  }
  #sp-catchcopy-top-right img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100px;
    max-height: 300px;
  }
  #sp-catchcopy-bottom-left {
    display: block !important;
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 900;
    pointer-events: none;
  }
  #sp-catchcopy-bottom-left img {
    display: block;
    width: 55%;
    height: auto;
  }
}


/* ===== Samsung Galaxy S8 ランドスケープ（幅740px）：PC版スライダー表示 ===== */
@media screen and (min-width: 720px) and (max-width: 767px) and (orientation: landscape) {
  .p-main-header_slider.u-hidden {
    display: none !important;
  }
  .p-main-slider {
    display: block !important;
  }
}

