/* ヘッダー */
#header{
	top: 25px;
}
#header_logo img,#footer_logo img{
  width: auto !important;
  height: auto !important;
  max-width: 100%;
}
body #header_message .label{
	line-height:unset;
	padding-top:5px;
}
@media screen and (min-width: 641px){
	.head-tel-btn{
		display:none;
	}
}
/* グローバルメニュー */
#global_menu > ul > li > a { 
    line-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* キャチコピー画像 */
/* ヘッダーキャッチ画像の共通スタイル */
#header_slider_content .catch-image {
  text-align: center;       /* 真ん中寄せ */
}

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

  #header_slider_content .catch-image img {
    max-width: 100%;
    width: 100%;
    height: auto;
  }
}
/* フッター */
#footer{
	padding-bottom:20px;
	border-top:2px solid #ffffff;
}
.footer_flex_box{
	margin-bottom:20px;
	padding-top:50px;
}
#footer_inner_left{
	width:auto;
	margin:unset;
	text-align:left;
	padding:0 30px;
}
#footer_inner_left .footer-company p{
	margin: 5px 0 35px 0;
	line-height: 1.5;
}
#footer_inner_left p.footer-company__name{
	font-size: 16px;
	font-weight: 700;
}
#footer_catch{
	padding: 0 20px;
	background:none;
	font-weight:normal;
	color: #000;
	line-height: 1.5;
}
#footer_sns{
	margin: 0;
}
.privacy_policy_pc{
	display: block;
	margin-top: 1rem;
	margin-bottom:1rem;
	text-align: center;
}
#copyright{
	position: relative;
	top: 0;
	border-top:none;
	padding: 20px;
}
.footer-company__map a {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 9999px;
	text-decoration: none;
	border: 1px solid currentColor;
	font-size: 0.9rem;
}
.footer-company__map a:hover {
	background-color: rgba(255, 255, 255, 0.3);
}
.privacy_policy_sp{
	margin-top: 50px;
	margin-bottom: 20px;
	text-align: center;
}
body.show_footer_bar #return_top.active {
	bottom: 60px;
}
#return_top .home_btn{
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	margin-bottom: 10px;
}
#return_top a.home_btn::before,
#return_top .active a.home_btn::before{
	font-family: "Material Symbols Rounded" !important;
	content: "home" !important;
	font-size: 20px;
	width: 20px;
	font-feature-settings: "liga";
	-webkit-font-feature-settings: "liga";
	font-variation-settings:
		'FILL' 1,
		'wght' 400,
		'GRAD' 0,
		'opsz' 24;
	top: 0;
}
@media screen and (min-width: 641px){
#footer_inner_right .swiper ul{
	max-height:300px;
	display:flex;
	flex-direction:column;
	flex-wrap:wrap;
	justify-content:unset;
	width:auto;
}
#footer_inner_right .swiper ul li{
	margin-right:40px;
}
#footer_inner_right .swiper a{
	padding-bottom: 2px;
	border-bottom: 1px solid transparent;
}
#footer_inner_right .swiper a:hover{
	border-bottom: 1px solid var(--main_color);
}
#footer_inner_left{
	padding:0 30px;
}
#footer_inner_left p.footer-company__name{
	margin: 20px 0 35px 0;
	font-size: 18px;
}
#footer .swiper  li a{
	height:40px;
	line-height:40px;
}
.footer_flex_box{
	display:flex;
	justify-content:space-between;
	margin: 0 auto 20px;
}
.swiper-slide{
		height:auto;
}
#footer_catch{
	font-size: 16px;
}
	.p-footer-bar{
		display:none;
	}
body.show_footer_bar {
	padding-bottom: 0;
}
body.show_footer_bar #return_top.active {
	bottom: 20px;
}
#return_top .home_btn{
	margin-bottom: 20px;
}
#return_top a:before {
	font-size: 20px;
	width: 20px;
}
#return_top a.home_btn::before,
#return_top .active a.home_btn::before{
	font-size: 28px;
	width: 28px;
}
}
@media screen and (min-width: 801px){
	#footer_inner_left p.footer-company__name{
		font-size: 20px;
	}
	#footer_inner_right .swiper ul li{
		margin-right:40px;
	}
}
@media screen and (min-width: 1001px){
	.footer_flex_box{
		width: calc(100% - 100px);
	}
}
@media screen and (max-width: 640px){
	#footer .swiper{
		border-top:1px solid #ffffff;
	}
	#footer .swiper li a{
		display: block;
		padding: 20px 30px;
		border-bottom:1px solid #ffffff;
	}
	#footer .swiper li,.sub-menu li{}
	#footer .swiper li:last-child.sub-menu li:last-child{
		border:none;
	}
}
@media only screen and (max-width: 600px) {
	#container {
		transform: none;
	}
}
/* パンくずリスト */
#bread_crumb{
	margin-bottom:50px;
}
/* 見出し装飾 */
#page_contents h2.rich_font{
	color:var(--main_color);
	margin:80px 0 20px;
	text-align:center;
}
#page_contents h3{
	font-weight:bold;
	font-size:130%;
	border-bottom:2px solid #000000;
	padding-bottom:10px;
	margin-bottom:20px;
}
.attention-tel{
	color:#ff0000;
}
body.page-template-page-contact h3{
	margin-top:104px!important;
}
/**
 * 実績カテゴリー投稿一覧用の検索フォームスタイル
 */
.p-jisseki-search {
  width: min(100%, 600px);
  margin-inline: auto;
  padding-inline: 20px;
}
.p-jisseki-search :where(input, select) {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  line-height: 1.4;
}

.p-jisseki-search__form {
  font-size: 16px;
  line-height: 1.4;
}

.p-jisseki-search__wrap {
  padding-bottom: 40px;
}

.p-jisseki-search__row {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  gap: 20px;
}
@media (min-width: 769px) {
  .p-jisseki-search__row {
    flex-direction: row;
  }
}

.p-jisseki-search__field {
  display: flex;
  flex: 1;
  align-items: stretch;
}
.p-jisseki-search__field.p-jisseki-search__field--keyword {
  display: flex;
}

.p-jisseki-search__button {
  flex-shrink: 0;
  padding: 10px 20px;
  border: 0;
  background-color: #000;
  color: #fff;
  cursor: pointer;
}
.p-jisseki-search__button:hover {
  background-color: #444;
}

.p-jisseki-search__all {
  display: inline-block;
  width: 100%;
  padding: 10px 20px;
  border: 1px solid #ddd;
  color: #000;
  text-align: center;
  text-decoration: none;
}

/**
 * 事例や実績紹介個別ページ用スタイル
 */
.p-case-article {
  letter-spacing: 0.03em;
}
.p-case-article p {
  line-height: 1.8;
}

.p-case-article__title {
  font-size: 24px;
  text-align: center;
}
@media (min-width: 993px) {
  .p-case-article__title {
    font-size: 32px;
  }
}

.p-case-article__date {
  display: block;
  margin-top: 24px;
  color: #666;
  font-size: 14px;
}
@media (min-width: 993px) {
  .p-case-article__date {
    font-size: 17px;
  }
}

.p-case-article__term {
  margin-top: 8px;
}
.p-case-article__term > a {
  display: inline-block;
  padding: 0.5em 1em;
  border: 1px solid #000;
  color: #000;
  font-size: 14px;
  line-height: 1.4;
}
@media (min-width: 993px) {
  .p-case-article__term > a {
    font-size: 17px;
  }
}
.p-case-article__term > a:hover {
  background-color: #000;
  color: #fff;
}

.case-gallery-slider__image {
  height: 300px;
  background: #f5f5f5;
  text-align: center;
}
@media (min-width: 993px) {
  .case-gallery-slider__image {
    height: 500px;
  }
}
.case-gallery-slider__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.case-gallery-slider__caption {
  margin-top: 8px;
  font-size: 14px;
  text-align: center;
}

.case-gallery-slider-thumb {
  margin-top: 40px;
}
.case-gallery-slider-thumb .splide__slide {
  opacity: 0.6;
}
.case-gallery-slider-thumb .splide__slide.is-active {
  opacity: 1;
}
.case-gallery-slider-thumb .splide__track--nav > .splide__list > .splide__slide {
  border: 0;
}

.case-gallery-slider-thumb__item {
  height: 100%;
}

.case-gallery-slider-thumb__image {
  height: 100%;
}
.case-gallery-slider-thumb__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* トップページ */
/* 各セクション余白 */
body .cb_blog_list,body .cb_design_carousel,body .cb_news_list,body .cb_free_space{
	padding-top:80px!important;
}
/* ブログセクション */
.blog_list .content{
	background:#ffffff;
}
.home .blog_list .category_button{
transform:revert;
}
/* お問い合わせフォーム */
.page-template-page-contact .post_content table,.page-template-page-recruit .post_content table{
	border-top:none;
	border-left:none;
}
.p-entry__body table.mailform-tbl{
	width:100%;
	margin-top:100px;
}
.p-entry__body table.mailform-tbl tr{
	height: 66px;
}
	.p-entry__body table.mailform-tbl th{
		border: none;
		background: none;
		vertical-align:middle;
	}
	.p-entry__body table.mailform-tbl th span.attention{
		background: #dc4545;
		color: #fff;
		padding: 0 10px;
	}
	.p-entry__body table.mailform-tbl td{
		border: none;
	}
	.p-entry__body table.mailform-tbl td input, .p-entry__body table.mailform-tbl td textarea{
		border: none;
		background: #eeeeee;
	}
	.p-entry__body table.mailform-tbl td textarea{
		resize: vertical;
		min-height: 300px;
	}
	.p-entry__body table.mailform-tbl td.w90 input, .p-entry__body table.mailform-tbl td.w90 textarea{
		width:100%;
	}
	.p-entry__body table.mailform-tbl td input{
		min-height: 35px;
	}
	.p-entry__body table.mailform-tbl td .mwform-checkbox-field{
		margin-right: 10px;
	}
	.p-entry__body table.mailform-tbl td .mwform-checkbox-field label{
		font-size: 16px;
	}
	.p-entry__body table.mailform-tbl td .mwform-checkbox-field input{
		min-height: 10px;
	}
	.p-entry__body table.mailform-tbl td.w60 input{
		width:60%;
	}
	.mw_wp_form #submit-button{
		text-align:center;
		margin: 0 auto;
		border: 1px solid #000;
		position: relative;
		margin-bottom: 100px;
		font-size: 16px;
		height: 46px;
		width: 218px;
		line-height:46px;
	}
	.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;
	}
	.error .mw_wp_form #submit-button-back{
		display:none;
	}
@media screen and (min-width:960px){
	.p-entry__body table.mailform-tbl th{
		width: 33%;
		text-align: left;
		position: relative;
		font-size:18px;
	}
	.p-entry__body table.mailform-tbl th span.attention{
		position: absolute;
		right: 20px;
		top: 20px;
		font-size:14px;
	}
	.formcontent{
		margin-left: auto;
		margin-right: auto;
		position: relative;
		width: 89.84375%;
		max-width: 1150px;
	}
	.formcontent p{
		line-height: 2;
		font-size: 17px;
	}
}
@media screen and (max-width:959px){
	.p-entry__body table.mailform-tbl 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;
	}
	.p-entry__body table.mailform-tbl td .mwform-checkbox-field{
		display: inline-block;
		width: 100%;
		margin: 0;
	}
	.mw_wp_form #submit-button input{
	color:#000000!important;
	}
}
@media screen and (min-width:641px) and (max-width:959px){
	.mailform-tbl tbody{
		width:100%;
		display: block;
	}
	.p-entry__body table.mailform-tbl{
		margin:0 0 50px 0;
	}
}
@media screen and (min-width:641px){
	.p-entry__body table.mailform-tbl td input[type="text"].w40{
		width:40%;
	}
	.p-entry__body table.mailform-tbl td input[type="text"].w90{
		width:100%;
	}
}
@media screen and (max-width:640px){
	.mw_wp_form #submit-button{
		margin-bottom:60px;
	}
	.p-entry__body table.mailform-tbl td.w60 input, 
	.p-entry__body table.mailform-tbl td.w90 input, 
	.p-entry__body table.mailform-tbl td.w90 textarea, 
	.p-entry__body table.mailform-tbl input.w90{
	 width:88vw;
	}
}
/* 【下層ページ】お問い合わせページ */
body .formcontent p{
	line-height:2em;
}
/* 【下層ページ】採用情報ページ */
#defocont .content_box_r,#defocont .content_box_l,#defocont .content_box_full{
	line-height:1.5em;
}
.listcont{
	background:#eeeeee;
	padding:3%;
	border-radius:10px;
	line-height:2.4;
}
.list_text_group .list_text{
	font-weight:bold;
}
.list_text {
  list-style: none;       /* デフォルトの●を消す */
  position: relative;
  padding-left: 1.5em;    /* アイコン分の余白 */
border-bottom:1px dotted #999999;
}

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

@media screen and (min-width:641px){
#defocont .allcontentbox{
	display:flex;
	justify-content:space-between;
}
	#defocont .allcontentbox:has(.image_box_r){
		flex-direction: row-reverse;
	}
#defocont .image_box_l,#defocont .image_box_r,#defocont .content_box_l,#defocont .content_box_r{
		width:48%;
	}
}
@media screen and (max-width:640px){
	#defocont .content_box_r,#defocont .content_box_l{
		margin-top:50px;
	}
}
	/* 採用情報タブ切り替え */
	.page-template-page-recruit .p-entry.l-inner{
		width:auto;
	}
	.maeoki{
		margin-top:60px;
		margin-bottom: 60px;
	}
	#gaiyocont{
		margin-bottom: 120px;
	}
	.gaiyowrap img{
		width:100%;
	}
	.gaiyo_after_cont{
		margin-top:50px;
		padding: 20px;
		background: #f5f5f5;
	}
	.gaiyo_after_title{
		font-weight: bold;
	}
	.tabs {
		margin-top: 50px;
		margin: 0 auto;
		margin-bottom:80px;
	}
	.tab_item {
		height: 65px;
		line-height: 65px;
		font-size: 16px;
		text-align: center;
		color: #ffffff;
		display: block;
		float: left;
		text-align: center;
		font-weight: normal;
		border-radius: 6px;
		box-sizing: border-box;
		background:var(--main_color);
	}
	.tab_item:hover {
		opacity: 0.5;
	}
	.recruittabs1 .tab_item {
		width: 100%;
	}
	.recruittabs2 .tab_item {
		width: 48%;
	}
	.recruittabs2 .tab_item1{
		float:left;
	}
	.recruittabs2 .tab_item2{
		float:right;
	}
	.recruittabs3 .tab_item {
		width: 32%;
		margin-right: 22px;
	}
	.recruittabs3 .tab_item3{
		margin-right:0;
	}
	.recruittabs4 .tab_item {
		width: 24%;
		margin-right: 1.3%;
	}
	.recruittabs4 .tab_item4{
		margin-right:0;
	}
	input[name="tab_item"] {
		display: none;
	}
	.tab_content {
		display: none;
		padding: 40px 0 0;
		clear: both;
		overflow: hidden;
	}
	#recruit_sub_title4:checked ~ #recruit_content4,
	#recruit_sub_title3:checked ~ #recruit_content3,
	#recruit_sub_title2:checked ~ #recruit_content2,
	#recruit_sub_title1:checked ~ #recruit_content1 {
		display: block;
	}
	.tabs input:checked + .tab_item {
		color: #fff;
		padding-bottom: 5px;
		border:none;
	}
@media screen and (min-width:960px){
	.tab_content div, .recruit_koumoku_wrap{
		display: -webkit-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-ms-flex-wrap: wrap;
		-webkit-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	.tab_content div.recruit_koumoku_title{
		width: 15%;
		float: left;
		padding: 25px;
		display: flex;
		-webkit-box-align: center;
		-ms-flex-align: center;
		-webkit-align-items: center;
		align-items: center;
	}
	.tab_content div.recruit_koumoku_cont{
		width: 73%;
		float: left;
		padding: 25px;
	}
	.tab_item{
		font-size:19px;
		padding-bottom: 8px;
	}
}
@media screen and (max-width:959px){

	.recruittabs2 .tab_item{
		width: 48.5%;
		margin-right: 3%;
	}
	.recruittabs2 .tab_item2 {
		margin-right: 0;
	}
	.recruittabs3 .tab_item{
		width: 48.5%;
		margin-right: 3%;
	}
	.recruittabs3 .tab_item1 {
		margin-bottom:3%;
	}
	.recruittabs3 .tab_item2 {
		margin-right: 0;
	}
	.recruittabs4 .tab_item{
		width: 48.5%;
		margin-right: 3%;
	}
	.recruittabs4 .tab_item1, .recruittabs4 .tab_item2{
		width: 48.5%;
		margin-bottom:3%;
	}
	.recruittabs4 .tab_item2, .recruittabs4 .tab_item4{
		margin-right: 0;
	}
}
@media screen and (max-width:640px){
	.tab_item{
		height: 55px;
		line-height: 55px;
	}
	.recruittabs2 .tab_item,.recruittabs3 .tab_item,.recruittabs4 .tab_item{
		width:100%;
		margin-bottom:3%;
	}
}
/* 【下層ページ】会社概要ページ */
#infocustomcontent .content_box_r,#infocustomcontent .content_box_l,#infocustomcontent .content_box_full{
	line-height:1.5em;
}
.infosubtitle{
		font-weight:bold;
	}
.informationtable{
	width:100%;
}
.infosubtitle,.infosubcont{
	padding:20px;
}
.tablewrap{
	border-bottom:1px solid #cccccc;
}
@media screen and (min-width:960px){
	.tablewrap{
		display:flex;
		align-items:center;
	}
	.infosubtitle{
		width:25%;
	}
	.infosubcont{
		width:75%;
	}
}
@media screen and (max-width:959px){
	
}
@media screen and (min-width:641px){
#infocustomcontent .allcontentbox{
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
#infocustomcontent .allcontentbox:has(.image_box_r){
		flex-direction: row-reverse;
	}
#infocustomcontent .image_box_l,#infocustomcontent .image_box_r,#infocustomcontent .content_box_l,#infocustomcontent .content_box_r{
    flex: 0 0 48%;
    padding-top: 39px;
	}
}
@media screen and (max-width:640px){
#infocustomcontent .content_box_r,#infocustomcontent .content_box_l{
		margin-top:50px;
	}
}
/* 【下層ページ】プライバシーポリシーページ */
.page-template-page-privacy-policy .post_content .priv-h3{
	padding-top: 20px;
	margin-bottom: 10px;
	color:var(--main_color);
	font-size:130%;
}
.page-template-page-privacy-policy #page_contents{
	line-height:2em;
}
	.privacy-company-info{
		font-weight:bold;
	}
@media screen and (max-width:640px){
	
}
/* /////////////////// 標準テンプレート ///////////////////////// */
/* デフォルトテンプレート */
#defocont .content_box_r,#defocont .content_box_l,#defocont .content_box_full{
	line-height:1.5em;
}
@media screen and (min-width:641px){
#defocont .allcontentbox{
	display:flex;
	justify-content:space-between;
}
	#defocont .allcontentbox:has(.image_box_r){
		flex-direction: row-reverse;
	}
#defocont .image_box_l,#defocont .image_box_r,#defocont .content_box_l,#defocont .content_box_r{
		width:48%;
	}
}
@media screen and (max-width:640px){
	#defocont .content_box_r,#defocont .content_box_l{
		margin-top:50px;
	}
#defocont .image_box_l,#defocont .content_box_r{}
	#defocont .image_box_l img{}
	#defocont .content_box_r{
	}
}
/* フローテンプレート */
#flow .flowright.flowimg img{
	width:100%;
}
.flowwrap{
	margin-top:50px;
}
#flow .flowleft h3{
	display:flex;
	align-items:center;
}
#flow .flow-no,#flow .flow-sub-title{
	display:block;
}
#flow .flow-no{
	background:var(--main_color);
	width:50px;
	height:50px;
	border-radius:50%;
	color:#ffffff;
	display:flex;
	align-items:center;
	justify-content:center;
}
#flow .flow-sub-title{
	margin-left:10px;
}
.flowtext{
	line-height:1.5em;
}
@media screen and (min-width:641px){
	#flow .flowbox .flow{
		display:flex;
		justify-content:space-between;
	}
	#flow .flow-wrap-flex,#flow .flowright.flowimg{
		width:48%;
	}
#flow .flow.no-image .flow-wrap-flex{
	width:100%;
}
}
@media screen and (max-width:640px){
	#flow .flowright.flowimg{
		margin-top:50px;
	}
}
/* スライダーテンプレート */



/* Q&Aテンプレート */
.question,.answer{
	font-weight:bold;
	font-size:110%;
}
.question{
	color:#ff0000;
}
.qatxt{
	line-height:1.5em;
}
.qafream{
	border:1px solid #999999;
	padding:3%;
	margin-top:30px;
}
.qaborder{
	border-bottom:1px solid #cccccc;
	padding-bottom:10px;
	margin-bottom:10px;
	font-weight:bold;
}

.blog-signature{
	margin-top:80px;
}
