@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/


/************************************
** 子テーマ用のスタイルを書く
************************************/

:root {
  --cs-color01: #0168a9; /* メインの青 rgb(1, 104, 169) */
  --cs-color02: #e6e6e6; /* グレーの背景 */
  --cs-color03: #fcda5d; /* 黄色 */
  --cs-color04: #a0d5db; /* 水色の背景 */
  --cs-color05: #c6b9a5; /* 薄い茶色 */
  --cs-color06: #595045; /* 濃い茶色 */
  --cs-color07: #c62b71; /* ピンク */
  --cs-color08: #fff;
  --cs-color09: #fff;
  --cs-color10: #fff;

	/* --wp--preset--font-size--small: 0.875rem; default 0.875rem */
	/* --wp--preset--font-size--medium: 20px; default 20px */
	--wp--preset--font-size--large: 1.4rem; /* default 1.5rem */
	/* --wp--preset--font-size--x-large: 42px; default 42px */
	/* --wp--preset--font-size--regular: 1rem; default 1rem */
	--wp--preset--font-size--huge: 2.0rem;	 /* default 2.25rem */

}


/* --------------- 
   utility 
----------------- */
.oswald-600 {
  font-family: "Oswald", sans-serif;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}

/* --- width --- */
html,
body {
  overflow-x: clip;
}

.full-width {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.contents-width  {
	max-width: 1150px!important;
	margin-left: auto;
	margin-right: auto;
	padding-left: 25px!important;
	padding-right: 25px!important;
	}
  @media (max-width: 767px) {
	.contents-width  {
		padding-left: 4%!important;
		padding-right: 4%!important;
		}
  }


.w-m1520  {
	max-width: 1520px!important;
	margin-left: auto;
	margin-right: auto;
	}




.w-m760  { max-width: 760px; }
.w-m500  { max-width: 500px; }
.w-m320  { max-width: 320px; }
  @media print, screen and (min-width: 768px) {
		.w-m260-pc  { max-width: 260px!important; }
  }
  @media (max-width: 767px) {
		.w-m260-pc  { max-width: 250px!important; }
  }

/* image */
	@media print, screen and (min-width: 768px) {
    .img-sp {display: none;}
    .img-30-pc { max-width: 30%; }
  	.img-50-pc { max-width: 50%; }
  	.img-80-pc { max-width: 80%; }
	}
	@media (max-width: 767px) {
    .img-pc {display: none;}
  	.img-30-sp { max-width: 30%; }
  	.img-50-sp { max-width: 50%; }
  	.img-80-sp { max-width: 80%; }
	}


/* --- 余白 --- */
	/* margin (px) */
		.ma-a { margin: auto; }
		.mt-a { margin-top: auto; }
		.mr-a { margin-right: auto; }
		.mb-a { margin-bottom: auto; }
		.ml-a { margin-left: auto; }

		.ma-0 { margin: 0!important; }
		.mt-0 { margin-top: 0 !important; }
		.mr-0 { margin-right: 0 !important; }
		.mb-0 { margin-bottom: 0 !important; }
		.ml-0 { margin-left: 0 !important; }

	

/* --- display --- */
	.display-none { display: none; }
	.display-inline { display: inline; }
	.display-inblock { display: inline-block; }
	.display-block { display: block; }

    @media print, screen and (min-width: 768px) {
			.display-block-pc { display: block;}
      .display-none-pc { display:none; }
    }
		@media (max-width: 767px) {
			.display-block-sp { display: block;}
			.display-none-sp { display: none;}
		}
		@media (max-width: 400px) {
			.display-block-xs { display: block;}
			.display-none-xs { display: none;}
		}


  /* br */
	.br-pc { display: none;}
	.br-sp { display: none;}
	.br-xs { display: none;}
	.br-xxs { display: none;}
		@media print, screen and (min-width: 768px) {
			.br-pc { display: block;}
		}
		@media (max-width: 767px) {
			.br-sp { display: block;}
		}
		@media (max-width: 400px) {
			.br-xs { display: block;}
		}
		@media (max-width: 360px) {
			.br-xxs { display: block;}
		}


 /* --- layout --- */
	.fln { float: none; }
	.fll { float: left; }
	.flr { float: right; }
	
	.tal { text-align: left; }
	.tac { text-align: center; }
	.tar { text-align: right; }
	@media print, screen and (min-width: 768px) {
		.tac-tal-res {
			text-align: center!important; 
			}
		.tac-tar-res {
			text-align: center; 
			}
		.tal-tac-res {
			text-align: left; 
			}
		.tar-tac-res {
			text-align: right; 
			}
		.tar-tal-res {
			text-align: right; 
			}
	}
	@media (max-width: 767px) {
		.tac-tal-res {
			text-align: left!important; 
			}
		.tac-tar-res {
			text-align: right; 
			}
		.tal-tac-res {
			text-align: center; 
			}
		.tar-tac-res {
			text-align: center; 
			}
		.tar-tal-res {
			text-align: left; 
			}
	}

	/* PCの時左、781px以下で中央にするボタンなどにに使用*/
	@media (max-width: 781px){
		.sp_center { text-align: center; }
		.sp_center > * {
			margin-left: auto!important;
			margin-right: auto!important;
		}
	}
	




	.vat {vertical-align: top; }
	.vab {vertical-align: bottom; }
	.vam {vertical-align: middle; }

/* 中央揃え */
.itemscenter {
		display: -webkit-box!important;
		display: -moz-box!important;
		display: -ms-flexbox!important;
		display: -webkit-flex!important;
		display: flex!important;
		-webkit-flex-direction: column;
		flex-direction: column;
		-webkit-justify-content: center;
		justify-content: center;
		-webkit-align-items: center;
		align-items: center;
		}
		.itemscenter img {
			flex-shrink: 0;
			}
		@media print, screen and (min-width: 768px) {
			.itemscenter-pc {
				display: -webkit-box!important;
				display: -moz-box!important;
				display: -ms-flexbox!important;
				display: -webkit-flex!important;
				display: flex!important;
				-webkit-flex-direction: column;
				flex-direction: column;
				-webkit-justify-content: center;
				justify-content: center;
				-webkit-align-items: center;
				align-items: center;
				}
				.itemscenter-pc img {
					flex-shrink: 0;
					}
		}

	.itemscenter-vertical {
		display: -webkit-box!important;
		display: -moz-box!important;
		display: -ms-flexbox!important;
		display: -webkit-flex!important;
		display: flex!important;
		-webkit-flex-direction: column;
		flex-direction: column;
		-webkit-justify-content: center;
		justify-content: center;
		}
		.itemscenter-vertical img {
			flex-shrink: 0;
			}



/* 部分的にフォントサイズを指定する（レスポンシブ） */

  .fz-l { font-size: 110%!important; }
	.fz-s { font-size: 90%!important; }
	.fz-18res{ font-size: 18px!important; }
		@media print, screen and (min-width: 768px) {
			.fz-18-pc { font-size: 18px!important; }
		}
		@media (max-width: 767px) {
			.fz-18res { font-size: 16px!important; }
		}
	.fz-20res { font-size: 20px!important; }
		@media print, screen and (min-width: 768px) {
			.fz-20-pc { font-size: 20px!important; }
		}
		@media (max-width: 767px) {
			.fz-20res { font-size: 16px!important; }
		}
	.fz-22res { font-size: 22px!important; }
		@media (max-width: 767px) {
			.fz-22res { font-size: 18px!important; }
		}
	.fz-24res { font-size: 24px!important; }
		@media print, screen and (min-width: 768px) {
			.fz-24-pc { font-size: 24px!important; }
		}
		@media (max-width: 767px) {
			.fz-24res { font-size: 20px!important; }
			.fz-24-sp { font-size: 24px!important; }
		}
	.fz-26res { font-size: 26px!important; }
		@media (max-width: 767px) {
			.fz-26res { font-size: 20px!important; }
		}
	.fz-36res { font-size: 36px!important; }
		@media (max-width: 767px) {
			.fz-36res { font-size: 24px!important; }
		}
	.fz-42res { font-size: 42px!important; }
		@media (max-width: 767px) {
			.fz-42res { font-size: 28px!important; }
		}


/* --- マーカー --- */
.p-marker {
  background: linear-gradient(transparent 68%, var(--cs-color03) 68%);
  padding: 0 .15em;
	}



/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}
/*781px以下 カラムが縦になる*/
@media screen and (max-width: 781px){
  /*必要ならばここにコードを書く*/
}
/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/************************************
** サイト全体をふわっと表示させる
************************************/
body {
    -webkit-animation: fadeIn 1.5s ease 0s 1 normal;
    animation: fadeIn 1.5s ease 0s 1 normal;
  }
  @keyframes fadeIn {
    0% {
      opacity: 0
    }
    100% {
      opacity: 1
    }
  }
  @-webkit-keyframes fadeIn {
    0% {
      opacity: 0
    }
    100% {
      opacity: 1
    }
  }

/************************************
** デフォルト設定のカスタマイズ
************************************/
/* ボタンのhover */
.wp-block-button__link:hover {
  opacity: 0.8;
}

/* table */
.wp-block-table > table {
  width: 100%!important;
}
.tbl-th-bold tr > td:first-child {
	font-weight: bold;
}
.tbl-nocolor tr {
	background-color: transparent!important
}
@media (min-width: 782px){
	.tbl-pad-wide td {
		padding: 15px 30px;
		}
}

.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none;
	}
@media (max-width: 1023px){
	.header-container {
		padding: 0!important;
	}
}

/************************************
 * ヘッダーカスタマイズ
************************************/
/* グローバルメニューのサイズ */
.header-container-in.hlt-top-menu {
  width:100%;
}
.header-container {
	padding: 10px 10px 10px 20px;
}

/* グローバルメニューの背景透明 */
.navi,
.navi-in {
	background-color: transparent!important;
}
/* グローバルメニューを右寄せ */
.navi-in > ul {
	justify-content: flex-end;
}
/* トップメニューの文字を白にする */
.navi-in > ul > li > a,
.navi-in > ul > li > a:hover {
	color: #fff;
}
/* 電話の画像 */
.navi-in > ul > li:last-child {
	margin-left: 30px;
}
.navi-in > ul > li:last-child a {
	pointer-events: none;
	cursor: default;
}


/************************************
**モバイルスライドインメニュー
************************************/
/*ヘッダーの色と高さ、アイコンの位置を調整*/
.search-menu-button.menu-button,
.navi-menu-button.menu-button{
	background-color: var(--cs-color01);
	color: #fff;
	height: 55px;
	padding-top: 8px;
}
.mobile-menu-buttons {
	background-color: var(--cs-color01);
}
.logo-menu-button.menu-button{
	background-color: var(--cs-color01);
	height: 55px;
}
.menu-button img {
	height: 35px;
	}
a.menu-button-in {
	margin: 0 auto 0 10px;
	}

/*スライドインメニューをカスタマイズ*/
.navi-menu-content{
	left: auto;
	right: 0;
	background-color: rgba(1, 104, 169,0.8);
	transform: translateX(101%);
}

.menu-drawer a{
	font-size: 0.9em;
	color: #fff;
	height: 3em;
}

.menu-drawer a:hover{
	color: rgba(255,255,255,1);
	background-color: rgba(30,124,209,0);
}

ul.menu-drawer:before{
	/*background-color: #fff;*/
	border-bottom: 1px dotted #fff;
	font-size:1.2em;
	text-align:left;
	color:#fff;
	margin-bottom:1em;
	padding-left: 7px;
	line-height:3em;
	content: "Contents";
	display: inline-block;
	width: 100%;
}
.menu-drawer li {
	padding: 2px;
/*	border-top:1px dotted #fff; */
}
.menu-drawer li:not(:last-child) a::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 600;
	content : "\f105";
	margin:0 .5em 0 0;
}

/* ↓↓ナビゲーションメニュー、サイドバーの×ボタン */
.menu-close-button {
  margin-right: 8%;
	margin-top: 5px;
  text-align: right;
  color: #ffffff;
  opacity: 1;
}


/************************************
** トップページのヘッダーを常にスライダーの上に重ねる
************************************/
.home .header-container {
	position: absolute!important;
	top: 0;
	left: 0;
	width: 100%!important;
	z-index: 9999;
}
/* トップページのヘッダー背景を透明にする */
/*.home .search-menu-button.menu-button,
.home .navi-menu-button.menu-button,
.home .mobile-menu-buttons, 
.home .logo-menu-button.menu-button,*/
.home .header,
.home .header-container,
.home .header-container-in {
	background-color: transparent!important;
}
/* トップページ：スクロール後の固定ヘッダー */
.home .header-container.fixed-header {
	position: fixed!important;
	background-color: var(--cs-color01)!important;
}
/*
.home .mobile-menu-buttons {
	box-shadow: none;
}*/

/* トップページの上部余白を完全に削除 */
/*body.home,*/
.home .content,
.home .main,
.home .article,
.home .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
	border: none!important;
}

.home .article-header {
  display: none !important;
}



/************************************
** フッター
************************************/
footer {
	padding-bottom: 0!important;
	text-align: center;
}
footer address {
	font-style: normal!important;
}/* 2列の時
.footer-left, .footer-center, .footer-right {
	flex: auto;
}
.p-footer {
  max-width: 800px;
  margin: 0 auto;
  padding: 45px 20px 30px;
  text-align: center;
}
.p-footer-offices {
  display: flex;
  justify-content: center;
  gap: 0px;
  text-align: left;
}
*/
.p-footer-offices > * dt {
	font-weight: bold;
	font-size: 18px;
}
.p-footer-policy a {
  color: #fff;
  text-decoration: none;
}
.p-footer-policy a:hover {
  opacity: .7;
}

.footer-bottom {
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	background-color: #fff;
	text-align: center;
	color: #000;
}
.footer-bottom.fdt-left-and-right .footer-bottom-content {
  display: block!important;
	text-align: center;
}
.copyright {
	margin-top: 0!important;
}
@media (min-width: 835px) {
	.p-footer-logo  {
		margin-bottom: 50px;
	}
/* 2列の時
	.p-footer-offices {
		display: flex;
		justify-content: center;
		gap: 0px;
		text-align: left;
	}
	.p-footer-offices > * {
		width: 50%;
		padding: 5px 20px;
	}
	.p-footer-offices > *:last-child {
		border-left: 1px solid rgba(255,255,255,.5);
	} */
	.p-footer-policy {
		margin-top: 50px;
	}
}
@media (max-width: 834px) {
	.p-footer {
		padding: 20px 10px 0px 10px;
	}
	.p-footer-logo img  {
		width: 70%;
		max-width: 310px;
		margin-left: auto;
		margin-right: auto;
	}
/* 2列の時
	.p-footer-offices {
		display: block;
		max-width: 300px;
		margin: 30px auto;
	}
	.p-footer-offices > * {
		padding: 10px 10px;
		font-style: normal;
	}
	.p-footer-offices > *:last-child {
		border-top: 1px solid rgba(255,255,255,.5);
	}
	*/
}

/************************************
 * アピールエリア
************************************/
/*フロント固定ページ・採用ページ　アピールエリアを非表示*/
.page-id-692 .appeal ,/* check採用 */
.home.page #appeal {
	display: none;
}

.appeal {
  background-position: center center;
  background-size: cover;
  height: 430px;
/* height: 30vw;*/
}
  .appeal-in {
    min-height: 100%!important;
  }

.appeal-content {
	background-color: transparent
}
.appeal-content .appeal-title {
  font-size: 56px;
	letter-spacing: 0.5em;
	color: #fff;
}
@media screen and (max-width: 781px){
	.appeal {
		height: 130px;
	}
	.appeal-content .appeal-title {
		font-size: 24px;
	}
}

/* 採用情報ページのアピールエリア */
.p-recruit-appeal {
  width: 100%;
	max-width: 1150px!important;
	margin: 20px auto 0 auto!important;
}
.p-recruit-appeal img {
  display: block;
  width: 100%;
  height: auto;
}
@media screen and (max-width: 781px){
	.p-recruit-appeal {
		margin-top: 10px!important;
	}
}



/************************************
 * タイトル
************************************/
/* 固定ページのタイトルを非表示 */
.type-page .entry-title {
	display: none;
}

  /* -- h2 -- */
  .title-simple {
    position: relative;
    line-height: 1.4;
    font-weight: bold;
    text-align: center;
		background-color: transparent!important;
    }
  .title-simple::after {
    position: absolute;
    content: '\f068';
    font-family: 'Font Awesome 5 Free';
    font-weight: bold;
    text-align: center;
    display: block;
    width: 100%;
		left: 0;
		color: var(--cs-color01);
    }
		@media print, screen and (min-width: 768px) {
      .title-simple {
        font-size: 3.0rem!important;
				margin-bottom: 60px!important;
        }
      .title-simple::after {
        bottom: -30px;
        }
    }
    @media (max-width: 767px) {
      .title-simple {
        font-size: 2.0rem!important;
        margin-bottom: 40px!important;
        }
      .title-simple::after {
        bottom: -20px;
        }
    }


  /* -- h3-- */
    .title-sub-bd-r1 {
      display: grid!important;
      grid-template-columns: auto 1fr!important;
      column-gap: 20px!important;
      align-items: center!important;
      padding-right: 0!important;
			border: none!important;
			padding: 0!important;
      }
    .title-sub-bd-r1::after {
      min-width: 30px!important;
      height: 5px!important;
      content: ''!important;
			background-color: var(--cs-color01)!important;
      }

/************************************
**新着情報
************************************/

/* タイトル */
.entry-card-title {
  position: relative;
  line-height: 1.4;
  margin-bottom: 10px;
  padding: 6px 10px 8px 18px;
  text-align: left;
  border: none;
  display: block;
}
    .entry-card-title::before {
      content: '';
      position: absolute;
      display: block;
      left: 0;
      top: 50%;
      width: 5px;
      height: 22px;
      margin-top: -10px;
      background-color: var(--cs-color01);
      }
.entry-card-meta {
	font-size: 15px;
	}

.entry-categories-tags {
	text-align: right;
	}

@media (max-width: 480px) {
	.entry-card-title { 
		font-size: 15px; 
		padding: 4px 3px 5px 12px; 
		}
    .entry-card-title::before  {
      width: 4px;
      height: 16px;
      margin-top: -8px;
      }
	.entry-card-meta {
		font-size: 13px;
		}

}



/************************************
** トップページ
************************************/

.p-cover02 {
	background-color: var(--cs-color01)!important;
	}


.tit-homeh2 {
	font-size: 36px!important;
	line-height: 1;
	padding: 0!important;
	margin-bottom: 0!important;
	background-color: transparent!important;
	}
	@media (max-width: 767px) {
		.tit-homeh2 { font-size: 20px!important; }
	}

.tit-homeh2_sub {
	font-size: 126px!important;
	line-height: 1;
	padding: 0!important;
	margin-bottom: 0!important;
	}
	@media (max-width: 1500px) {
		.tit-homeh2_sub  { font-size: 80px!important; }
	}
	@media (max-width: 767px) {
		.tit-homeh2_sub  { font-size: 40px!important; }
	}

/* -- businessのsection -- */
.home-business-section {
  background: linear-gradient(
    to right,
    #ffffff 0,
    #ffffff calc((100% - 1200px) / 2),
    var(--cs-color01) calc((100% - 1200px) / 2),
    var(--cs-color01) calc((100% + 1200px) / 2),
    #ffffff calc((100% + 1200px) / 2),
    #ffffff 100%
  ) !important;
}
	@media screen and (max-width: 1200px) {
		.home-business-section {
			background: linear-gradient(
				to right,
				#ffffff 0,
				#ffffff 20px,
				var(--cs-color01) 20px,
				var(--cs-color01) calc(100% - 20px),
				#ffffff calc(100% - 20px),
				#ffffff 100%
			) !important;
		}
	}

.home-business-txt {
	max-width: 560px;
	padding: 0 30px;
	}

.home-business-txt h3 {
	padding-left: 0;
	}

.home-business-img-left img {
	margin: 0 0 0 auto!important;
	}
.home-business-img-right img {
	margin: 0 auto 0 0!important;
	}
@media (max-width: 781px){
	.home-business-txt {
		padding-right: 50px;
		padding-left: 50px;
		max-width: none; 
		}
	.home-business-img-left,
	.home-business-img-right {
		padding-right: 30px;
		padding-left: 30px;
		}
}


/* -- 施工実績のsection -- */
/* 施工実績カルーセル */
.home-works-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 50px;
}

.home-works-carousel-prev,
.home-works-carousel-next {
  position: absolute;
  top: auto;
  bottom: 5px;
  z-index: 10;
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background: none;
  color: #333;
  font-size: 28px;
  line-height: 30px;
  cursor: pointer;
  transform: none;
  border-radius: 0;
}

.home-works-carousel-prev {
  left: calc(50% - 35px);
}

.home-works-carousel-next {
  right: calc(50% - 35px);
}

.home-works-carousel-prev:hover,
.home-works-carousel-next:hover {
  background: none;
  color: #0168a9;
}

.home-works-carousel-track {
  display: flex;
  transition: transform 1s ease-in-out;
	gap: 10px;
}

.home-works-carousel-item {
  flex: 0 0 300px;
  width: 300px;
  display: block;
}

.home-works-carousel-image {
  display: block;
  width: 300px;
  height: 300px;
  object-fit: cover;
}


/* タブレット */
@media screen and (max-width: 1024px) {
  .home-works-carousel-item {
    flex: 0 0 200px;
    width: 200px;
  }
  .home-works-carousel-image {
    width: 200px;
    height: 200px;
  }
}

/* スマートフォン */
@media screen and (max-width: 767px) {
  .home-works-carousel-item {
    flex: 0 0 150px;
    width: 150px;
  }
  .home-works-carousel-image {
    width: 150px;
    height: 150px;
  }
}



/* -- companyのsection -- */
.home-company-section {
  background: linear-gradient(
    to bottom,
    var(--cs-color02) 0,
    var(--cs-color02) calc(100% - 200px),
    #ffffff calc(100% - 200px),
    #ffffff 100%
  ) !important;
}
	@media (max-width: 1400px) {
		.home-company-section {
			background: var(--cs-color02)!important;
		}
	}

.home-company-txt {
	max-width: 560px;
	padding: 50px 30px 0 30px;
	}

.home-company-img img {
	margin: 0 0 0 auto!important;
	}
@media (max-width: 781px){
	.home-company-txt {
		padding-top: 0px;
		max-width: none; 
		}
	.home-company-img {
		padding-right: 30px;
		padding-left: 30px;
		}
}


/* -- 総合製造業の皆様へ -- */
.home-tel-box {
  display: flex;
  border: 1px solid #000;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.home-tel-left {
  position: relative;
  flex-shrink: 0;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
	padding-top: 10px;
	padding-bottom: 10px;
}
.home-tel-number {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
	padding-top: 10px;
	padding-bottom: 10px;
}
.home-tel-time {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
	padding-top: 10px;
	padding-bottom: 10px;
}

/*781px以下 カラムが縦になる*/
@media (min-width: 781px){
	.home-tel-left {
		clip-path: polygon(0 0, calc(100% - 35px) 0, 100% 100%, 0 100%);
	}
}
@media (max-width: 780px){
	.home-tel-right {
		gap: 0;
	}
	.home-tel-number {
		padding-bottom: 0px;
	}
	.home-tel-time {
		padding-top: 0px;
	}
}


/************************************
** 会社案内
************************************/
/* 写真グリッド */
.p-photo-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 200px 160px 140px 120px;
  gap: 12px;
}
/* 画像ブロックとリンクをグリッド枠いっぱいにする */
.p-photo-grid > .wp-block-image {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
}
.p-photo-grid > .wp-block-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.p-photo-grid > .wp-block-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
/* 1枚目：左側で上段から中段まで */
.p-photo-grid > .p-photo-grid__item--1 {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
}
/* 2枚目：右上 */
.p-photo-grid > .p-photo-grid__item--2 {
  grid-column: 6 / 9;
  grid-row: 1;
}
/* 3枚目：右上 */
.p-photo-grid > .p-photo-grid__item--3 {
  grid-column: 9 / 13;
  grid-row: 1;
}
/* 4枚目：左中段 */
.p-photo-grid > .p-photo-grid__item--4 {
  grid-column: 1 / 4;
  grid-row: 3;
}
/* 5枚目：左中段 */
.p-photo-grid > .p-photo-grid__item--5 {
  grid-column: 4 / 6;
  grid-row: 3;
}
/* 6枚目：右側で上段から中段まで */
.p-photo-grid > .p-photo-grid__item--6 {
  grid-column: 6 / 13;
  grid-row: 2 / 4;
}
/* 7枚目：下段 */
.p-photo-grid > .p-photo-grid__item--7 {
  grid-column: 1 / 4;
  grid-row: 4;
}
/* 8枚目：下段 */
.p-photo-grid > .p-photo-grid__item--8 {
  grid-column: 4 / 7;
  grid-row: 4;
}
/* 9枚目：下段 */
.p-photo-grid > .p-photo-grid__item--9 {
  grid-column: 7 / 10;
  grid-row: 4;
}
/* 10枚目：下段 */
.p-photo-grid > .p-photo-grid__item--10 {
  grid-column: 10 / 13;
  grid-row: 4;
}

@media (max-width: 767px) {
  .p-photo-grid {
    grid-template-rows: repeat(5, 110px);
    gap: 8px;
  }
  .p-photo-grid > .p-photo-grid__item--1 {
    grid-column: 1 / 8;
    grid-row: 1 / 3;
  }
  .p-photo-grid > .p-photo-grid__item--2 {
    grid-column: 8 / 13;
    grid-row: 1;
  }
  .p-photo-grid > .p-photo-grid__item--3 {
    grid-column: 8 / 13;
    grid-row: 2;
  }
  .p-photo-grid > .p-photo-grid__item--4 {
    grid-column: 1 / 7;
    grid-row: 3;
  }
  .p-photo-grid > .p-photo-grid__item--5 {
    grid-column: 7 / 13;
    grid-row: 3;
  }
  .p-photo-grid > .p-photo-grid__item--6 {
    grid-column: 1 / 7;
    grid-row: 4;
  }
  .p-photo-grid > .p-photo-grid__item--7 {
    grid-column: 7 / 13;
    grid-row: 4;
  }
  .p-photo-grid > .p-photo-grid__item--8 {
    grid-column: 1 / 5;
    grid-row: 5;
  }
  .p-photo-grid > .p-photo-grid__item--9 {
    grid-column: 5 / 9;
    grid-row: 5;
  }
  .p-photo-grid > .p-photo-grid__item--10 {
    grid-column: 9 / 13;
    grid-row: 5;
  }
}


/************************************
** 施工実績一覧
************************************/
.p-works-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 20px;
}

/* 各項目 */
.p-works-list__item {
  min-width: 0;
}

/* 画像 */
.p-works-list__image {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.p-works-list__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
}

/* 件名 */
.p-works-list__title {
  margin: 10px 0 0;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}

/* タブレット */
@media screen and (max-width: 1023px) {
  .p-works-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* スマートフォン */
@media screen and (max-width: 599px) {
  .p-works-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }
}



/************************************
** 事業案内
************************************/
@media (min-width: 1150px){
	.page-id-7 {
		background-color: var(--cs-color01)!important;
	}
}

  /* -- 冒頭テキスト部分-- */
    .p-business_lead {
			display: inline-block!important;
			margin-left: auto!important;
			margin-right: auto!important;
			font-size: 34px!important;
			text-align: center!important;
      }
    .p-business_lead span {
			display: inline-block;
			font-size: 38px!important;
      }
		@media (max-width: 767px) {
			.p-business_lead {
				font-size: 18px!important;
				text-align: left!important;
				}
			.p-business_lead span {
				font-size: 22px!important;
				}
		}

  /* -- title-- */
    .title-business {
			background-color: transparent!important;
			border: 2px solid var(--cs-color01)!important;
			padding: 0!important;
			line-height: 50px!important;
      }
    .title-business span {
			display: inline-block;
			height: 50px;
			width: 50px;
			background-color: var(--cs-color01)!important;
			color: #fff;
			text-align: center;
      }





/************************************
** 採用情報
************************************/
.page-id-692 .main {
  padding-top: 0 !important;
}

	/* -- title-- */
    .title-recruit {
			background: transparent url("https://www.mochi-ss.co.jp/wp-mochiss/wp-content/uploads/2026/10/recruit-h2.webp") no-repeat!important;
			background-position: right 10px bottom!important;
			padding: 60px 0 20px 30px !important;
			height: 105px!important;
			max-width: 823px!important;
			font-size: 24px;
			margin: 0 auto 10px 0!important;
      }
		@media (max-width: 530px) {
			.title-recruit {
				padding: 32px 10px 20px 10px !important;
				background-size: auto 60px!important;
				height: 60px!important;
				font-size: 18px!important;
				}
		}


/* 背景 */
.bg-recruit01 {
	background: url("https://www.mochi-ss.co.jp/wp-mochiss/wp-content/uploads/2026/10/recruit-bg01.webp") no-repeat!important;
	background-position: center center!important;
}
