#wrapper {
	position: relative;
}


/* 共通設定 */
:root {
  --company-green: #2ba344;
  --company-orange: #f46b16;
  --company-text: #222;
  --company-gray: #f4f4f4;
  --company-peach: #fef4ed;
  --company-palegreen: #f3faec;
}

.fCol_g {
  color: var(--company-green);
}
.fCol_o {
  color: var(--company-orange);
}
.gr{
	background: #f4f4f4;
}
.gre{
	background: #f5faed;
}
.or{
	background: #fef4ed;
}
.wh{
	background: #ffffff;
}

.kanto h4 span{
	color:#80c8e9;
}
.tokai h4 span{
	color:#9bcc85;
}
.hokuriku h4 span{
	color:#f2bd8d;
}
.tohoku h4 span{
	color:#d98caa;
}
section{
	position: relative;
	z-index: 1;
}
section::before{
	content: "";
	width: 10%;
	height: 100%;
	max-width: 150px;
	position: absolute;
	left: 0;
	top: 0;
	background: url("../img/common/l_line.svg") left top repeat-y;
	background-size: 100% auto;
	z-index: 2;
}
section::after{
	content: "";
	width: 10%;
	height: 100%;
	max-width: 150px;
	position: absolute;
	right: 0;
	top: 0;
	background: url("../img/common/r_line.svg") left top repeat-y;
	background-size: 100% auto;
	z-index: 2;
}

/* CSS Document */

/*==================================================

メインイメージ

=================================================*/
.main-image{
	margin: 0 auto;
	position: relative;
	overflow: hidden;
}
.main-image::after{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: url("../img/common/main_naname.svg") top top no-repeat;
	background-size: 100% auto;
	z-index: 10;
}
.main-image .photo{
	margin: auto;
	z-index: 1;
	position: relative;
	width: 100%;
	margin: 0 auto;
}
.main-image .Title{
	position: absolute;
	left: 5%;
  top: 50%;
  transform: translateY(-50%);
	z-index: 10;
	align-items: center;
	flex-wrap: wrap;
}
.main-image .Title .en{
	color: #fff;
	font-size: clamp(25px, 10vw, 100px);
	font-weight: 600;
	letter-spacing: 0.1em;
	font-family: "Montserrat", sans-serif;
	line-height: 1.0em;
	margin-bottom: 10px;
}
.main-image .Title h2{
	color: #fff;
	font-size: clamp(14px, 1.8vw, 18px);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-align: left;
	line-height: 1.4em;
	position: relative;
	letter-spacing: 0.05em;
	padding-left: 20px;
	margin-bottom: 10px;
}

@media print , screen and (min-width:1px) and (max-width: 960px) {
.main-image{
	position: relative;
}
.main-image .Title{
	position: absolute;
	left: 5%;
  top: 60%;
  transform: translateY(-50%);
	z-index: 10;
	align-items: center;
	flex-wrap: wrap;
}
.main-image .Title h2{
	padding-left: 10px;
}
}


@media print , screen and (min-width:1px) and (max-width: 767px) {
.main-image .photo{
	margin: auto;
	z-index: 1;
	position: relative;
	width: 140%;
	margin: 0 -20%;
}
}
@media print , screen and (min-width:1px) and (max-width: 530px) {
.main-image .photo{
	margin: auto;
	z-index: 1;
	position: relative;
	width: 150%;
	margin: 0 -25%;
}
.main-image .Title{
	position: absolute;
	left: 5%;
  top: 65%;
  transform: translateY(-50%);
	z-index: 10;
	align-items: center;
	flex-wrap: wrap;
}

.main-image .Title h2{
	padding-left: 10px;
	font-weight: 500;
}
.main-image .Title h2{
	margin-bottom: 0px;
}
.main-image .Title .en{
	padding-left: 0px;
}	
}


/*common*/
.title{
	margin: 20px auto 10px;
	padding: 10px;
}
.title h2{
	font-weight: 700;
	line-height: 1.5em;
}
.title .ti-en{
	line-height: 1.5em;
	font-size: clamp(12px, 1.4vw, 16px);
}


.news,
.sns-movie,
.movie,
.greeting,
.rinen,
.overview,
.history {
  position: relative;
  box-sizing: border-box;
}
.overview,
.rinen,
.torikumi{
    padding: 35px 0 0;
  }

.rinen{
	background: #fef4ed;
}
.greeting,
.location {
	background: #f5f5f5;
  }

.sns-movie{
    padding: 75px 0 0;
	background: #f5faed;
	overflow: hidden;
}
.news{
    padding: 35px 0 0;
	background: #ffffff;
	overflow: hidden;
 }
.movie,
.greeting,
.location,
.business,
.sdgs,
.contact {
    padding: 75px 0 0;
	background: #f5f5f5;
	overflow: hidden;
 }

@media screen and (max-width: 960px) {

.title{
	margin: 20px auto 10px;
	padding: 10px;
}
.news,
.sns-movie,
.movie,
.greeting,
.location,
.business,
.sdgs
.torikumi,
.contact{
    padding: 35px 0 0;
  }
.overview,
.rinen,
.torikumi,
.sdgs {
    padding: 25px 0 0;
  }
}
@media screen and (max-width: 767px) {

.title{
	margin: 20px auto 10px;
	padding: 10px;
}
.news,
.sns-movie,
.movie,
.greeting,
.location,
.business,
.sdgs
.torikumi,
.overview,
.rinen,
.torikumi,
.sdgs,
.contact{
    padding: 25px 0 0;
  }
}

@media screen and (max-width: 400px) {

.title{
	margin: 20px auto 0px;
	padding: 10px;
}
.news,
.sns-movie,
.movie,
.overview,
.greeting,
.location,
.business,
.sdgs
.torikumi,	
.rinen,
.torikumi,
.sdgs,
.contact{
    padding: 20px 0 0;
  }
}


.title h2 {
  margin: 0 0 8px;
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
  color: var(--company-text);
	text-align: left;
}

.ti-en {
  font-size: clamp(16px, 1.8vw, 22px);
	font-family: "Lexend Deca", sans-serif;
  font-weight: 400;
  letter-spacing: .05em;
  color: #333;
	text-align: left;
	
}

.ti-en .fCol_g {
  color: var(--company-green);
  font-size: 15px;
  margin-right: 2px;
}

/*会社概要*/

/* ==========================================
   01 代表メッセージ
========================================== */

.greeting .Flexbox {
  gap: 5%;
}
.greeting .txt {
  flex: 1 1 62%;
  min-width: 0;
}

.greeting .txt h3 {
  margin: 0 0 5%;
  letter-spacing: .04em;
  font-weight: 700;
	text-align: left;
	padding: 10px;
}

.greeting .txt p {
  margin: 0 0 3%;
}

.greeting .txt p:last-child {
  margin-bottom: 0;
}

.greeting .photo {
  flex: 0 0 31%;
  max-width: 350px;
  margin-top: 5px;
}

.greeting .sign {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.8;
	text-align: right;
}

/* ==========================================
   02 理念・方針
========================================== */

.rinen h3 {
  max-width: 75%;
  margin: 0 0 35px;
  line-height: 1.8;
  font-weight: 700;
  letter-spacing: .05em;
	text-align: left;
}
.rinen h3 span{
	display: inline-block;
}

.rinen .managementlist {
  max-width: 65%;
}

.rinen .managementlist ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rinen .managementlist li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 14px;
  font-weight: 500;
  line-height: 1.8;
	text-align: left;
	font-size: clamp(16px, 2.2vw, 22px);
}

.rinen .managementlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .2em;
  width: 7px;
  height: 80%;
  background: #222;
}

.rinen .img {
  position: absolute;
  right: 0;
  top: 105px;
  width: 28%;
  max-width: 280px;
}

.rinen .img img {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================
   03 トラック背景画像
========================================== */

.backphoto {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: -1px;
}

/* ==========================================
   04 会社概要
========================================== */

/* 会社概要テーブル */
.overview table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  margin: 0;
}

.overview table > tbody > tr:first-child {
  border-top: none;
}

.overview table > tbody > tr > th {
  width: 25%;
  color: var(--company-orange);
  line-height: 1.8;
  text-align: left;
  vertical-align: top;
  white-space: normal;
}

.overview table > tbody > tr > td {
  width: 75%;
  color: #222;
  vertical-align: top;
}

/* 営業所・店舗のリスト */
.overview .office-list {
  display: grid;
  grid-template-columns: minmax(110px, 30%) minmax(0, 1fr);
  column-gap: 15px;
  row-gap: 8px;
  margin: 0;
  padding: 0;
}

.overview .office-list dt,
.overview .office-list dd {
  margin: 0;
  padding: 0;
  line-height: 1.8;
}

.overview .office-list dt {
  font-weight: 600;
}

.overview .office-list dd {
  overflow-wrap: anywhere;
}

/* ==========================================
   05 会社沿革
========================================== */

.history {
  background: var(--company-palegreen);
  padding: 15% 0 0;
  clip-path: polygon(
    0 8%,
    100% 0,
    100% 100%,
    0 100%
  );
  overflow: hidden;
}

.history::before {
  top: 10%;
  left: 8%;
}

.history::after {
  top: 5%;
  right: 12%;
}

/* 沿革テーブル */
.history table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
}

.history table th {
  width: 25%;
  color: var(--company-green);
  font-weight: 700;
  line-height: 1.9;
  vertical-align: top;
}

.history table td {
  width: 75%;
  line-height: 1.9;
  vertical-align: top;
}

/* ==========================================
   レスポンシブ 1000px以下
========================================== */

@media screen and (max-width: 1000px) {

  .greeting .Flexbox {
    gap: 5%;
  }

  .greeting .txt {
    flex-basis: 60%;
  }

  .greeting .photo {
    flex-basis: 35%;
  }

  .history {
    padding: 140px 0 0;
  }
}

/* ==========================================
   スマートフォン 767px以下
========================================== */

@media screen and (max-width: 767px) {

  .greeting .Flexbox {
    display: flex;
    flex-direction: column;
    gap: 35px;
  }

  .greeting .txt,
  .greeting .photo {
    width: 100%;
    max-width: none;
    flex: auto;
  }

  .greeting .txt h3 {
    margin-bottom: 25px;
  }

  .greeting .txt h3 br {
    display: none;
  }

  .greeting .txt p {
    line-height: 2;
    margin-bottom: 20px;
  }

  .greeting .photo {
    max-width: 320px;
    margin: 0 auto;
  }

  .greeting .sign {
    margin-top: 15px;
    font-size: 16px;
  }

  .rinen h3 {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .rinen .managementlist {
    max-width: 100%;
  }

  .rinen .managementlist li {
    margin-bottom: 12px;
  }

  .rinen .img {
    position: static;
    width: 180px;
    max-width: 60%;
    margin: 40px auto 0;
  }

  /* 会社概要 */

  .overview .office-list {
    grid-template-columns: 1fr;
    row-gap: 2px;
  }

  .overview .office-list dt {
    margin-top: 8px;
  }

  .overview .office-list dt:first-child {
    margin-top: 0;
  }

  .overview .office-list dd {
    margin-bottom: 5px;
  }

  /* 会社沿革 */
  .history {
    padding: 110px 0 0;
    clip-path: polygon(
      0 3%,
      100% 0,
      100% 100%,
      0 100%
    );
  }
}

/* locaiton */

.location .areamap{
	width: 90%;
	margin: 3% auto 5%;
}
.kanto{
	background: #fff;
    padding: 30px 0 0;
}
.tokai,
.hokuriku{
    padding: 30px 0 30px;
}
.tohoku{
    padding: 30px 0 30px;
}
.location h4{
	text-align: left;
	border-bottom: 2px solid #555;
	margin-bottom: 5%;
}
.location th{
	border-bottom: none;
	position: relative;
	vertical-align: middle;
}
.location th::after{
	width: 90%;
	content: "";
	left: 0;
	bottom: 0;
	height: 1px;
	background: #111;
	position: absolute;
}
.location td{
	vertical-align: middle;
}
.location td a{
	font-size: 0.9em;
	color: #111;
	text-decoration: none;
}

@media screen and (max-width: 767px) {
	.location th::after{
		content: none;
	}
}

/* sdgs */

.sns-movie .catch,
.movie .catch,
.business .catch,
.torikumi .catch,
.sdgs .catch{
	color: #30993a;
	margin-bottom: 30px;
	text-align: left;
	font-size: clamp(22px, 3.5vw, 35px);
	padding: 10px;
	font-weight: 700;
}
.business p,
.sdgs p{
	margin-bottom: 35px;
}

h3.line{
	border-bottom: 1px solid #000000;
	padding: 10px;
	text-align: left;
	margin: 30px 0;
	position: relative;
}
h3.line::after{
	content: "";
	border-bottom: 6px solid #30993a;
	left: 0;
	bottom: -3px;
	width: 25%;
	position: absolute;	
}
h3.fg{
	color: #30993a;
	padding: 10px;
	text-align: left;
	margin: 0px 0 20px;
	position: relative;
}
h4.fg{
	color: #30993a;
	padding: 5px 10px;
	text-align: left;
	margin: 20px 0 10px;
	position: relative;
	background: #fff;
	font-size: clamp(16px, 2.0vw, 20px);
}
h4.fo{
	color: #eb6102;
	padding: 5px 10px;
	text-align: left;
	margin: 20px 0 10px;
	position: relative;
	font-size: clamp(16px, 2.0vw, 20px);
}
h5.fg{
	padding: 5px 10px;
	text-align: left;
	margin: 20px 0 10px;
	position: relative;
	border-bottom: 1px solid #111;
}
.sdgs .sdgs_zu{
	width: 90%;
	margin: 5% auto;
}

.torikumi ul.sdgs_list{
	margin: 3% auto;
}
.torikumi ul.sdgs_list li{
	width: 48%;
	list-style: disc;
	text-align: left;
	margin: 0 0 0 2%;
	font-size: 1.5rem;
}
.sdgs_ico ul li{
	width: 16.666%;
	padding: 5px;
}
.business .w3{
	width: 33.3333%;
	padding: 5px;
}
.business .w4{
	width: 25%;
	padding: 5px;
}
.business .photolist p{
	font-size: 1.5rem;
	padding: 5px 10px 0 0;
	margin-bottom: 10px;
	line-height: 1.5em;
}
.strength .txt{
	width: 55%;
	padding-right: 20px;
}
.strength .photo{
	width: 45%;
	padding: 10px;
}

@media screen and (max-width: 767px) {	
.sdgs_ico ul li{
	width: 20%;
	padding: 5px;
}
	
	.torikumi ul.sdgs_list {
		margin-left: 20px;
	}
.torikumi ul.sdgs_list li{
	width: 98%;
	margin: 0 0 0 2%;
	font-size: 1.4rem;
}
	
.business .w3{
	width: 50%;
	padding: 5px;
}
.business .w4{
	width: 50%;
	padding: 5px;
}
.business .photolist p{
	font-size: 1.4rem;
}
.strength .txt{
	width: 100%;
	padding-right: 0px;
}
.strength .photo{
	width: 90%;
	padding: 10px;
}
}

@media screen and (max-width: 400px) {
.sdgs_ico ul li{
	width: 20%;
	padding: 2px;
}	
.business .w3{
	width: 100%;
	padding: 5px;
}
.business .w4{
	width: 100%;
	padding: 5px;
}
}


/*お問い合わせ*/


.form th{
	color: #000;
}

.form p{
	margin: 0 auto 5%;
}
.form .fCol_r,
.form .need{
	color: #ff3333;
	
}
.contact .wh{
	background: #fff;
	padding: 30px;
	margin: 3% auto;
}

.form .w30{
	width: 25%;
	padding: 5px;
}
.form .w60{
	width: 60%;
	padding: 5px;
}
.form .w100{
	width: 100%;
	padding: 5px;
}

.form input {
	font-size: 1.6rem;
}
.form input[type="text"],
.form textarea {
	color: #000!important;
	border: 1px solid #ccc;
	background: #FFF;
	margin: 5px 0;
}
.form input[type="email"] {
	border: 1px solid #999;
	background: #FFF;
	margin: 5px 0;
}
.form select {
	font-size: 1.6rem;
	border: 1px solid #999;
	margin: 10px 0;
}
.form .Sendbtn{
	margin: 5% auto;
	width: 70%;
	display: flex;
	justify-content: center;
}
.form .Sendbtn .btnsend,
.form .Sendbtn .btnback{
	width: 50%;
	display: block;
	text-align: center;
}

.form .Sendbtn .btnsend input{
	background: #30993a;
	color: #fff;
	display: block;
	padding: 15px 10px;
	width: 100%;
	border:none;
}
.form .Sendbtn .btnback input{
	background: #cccccc;
	color: #333;
	display: block;
	padding: 15px 10px;
	width: 100%;
	border:none;
}
.form .Sendbtn .btnsend:hover
.form .Sendbtn .btnback:hover{
	opacity: 0.7;
}


@media only screen and (min-width:1px) and (max-width: 768px) {	
.form .w30{
	width: 50%;
	padding: 8px 5px;
}
.form .w60{
	width: 100%;
	padding: 8px 5px;
}
.form .w100{
	width: 100%;
	padding: 8px 5px;
}
.form .Sendbtn{
	margin: 5% auto 8%;
	width: 90%;
	display: flex;
	justify-content: center;
}	

.form th{
	color: #013fa1;
}
	
}



.pagenav{
	padding: 3% 0;
	text-align: center;
	margin: auto;
}
.pagenav ul{
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
}
.pagenav ul li{
	width: 33.3333%;
	padding: 5px 10px;
}

.pagenav a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
	font-size: 0.9em;
  flex: 1;
  min-width: 0;
  min-height: 70px;
  padding: 5px 35px 5px 10px;

  background: #000;
  color: #fff;
  font-weight: 700;
  letter-spacing: .05em;
  text-align: center;
  text-decoration: none;

  transition: background .3s;
}
.pagenav.gr a {
  background: #299e38;
}

/* 白い三角矢印 */
.pagenav a::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;

  width: 12px;
  height: 12px;
  background: #fff;

  clip-path: polygon(0 0, 100% 50%, 0 100%);
  transform: translateY(-50%);

  transition: right .3s;
}

/* ホバー */
.pagenav a:hover {
  background: #299e38;
  color: #fff;
}

.pagenav.gr a:hover {
  background: #8ad000;
}
.pagenav a:hover::after {
  right: 10px;
}


@media print , screen and (min-width:1px) and (max-width: 960px) {
	
.pagenav ul li{
	width: 50%;
	padding: 5px 10px;
}
.pagenav a {
  min-height: inherit;
  padding: 12px 35px 12px 10px;
	}
}
@media print , screen and (min-width:1px) and (max-width: 530px) {

.pagenav ul li{
	width: 80%;
	padding: 5px 10px;
	margin: auto;
}
}

.contact-tel dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  margin: 50px 0;
	text-align: left;
}

.contact-tel dt {
  font-weight: 500;
  white-space: nowrap;
}

.contact-tel dd {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.contact-tel dd .num {
  color: #299c3d;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

ul.dot{
	margin:10px 30px;
	text-align: left;
}
ul.dot li{
	list-style: disc;
	margin: 10px 0;
	line-height: 1.6em;
}

/* スマートフォン */

@media screen and (max-width: 767px) {

  .contact-tel dl {
    flex-direction: column;
    gap: 15px;
    margin: 35px auto;
    text-align: center;
  }

  .contact-tel dt {
    font-size: 16px;
  }

  .contact-tel dd {
    font-size: 14px;
  }

  .contact-tel dd .num {
    font-size: clamp(24px, 6vw, 34px);
    letter-spacing: 0.02em;
  }

}

.movie-content{
	margin: 5% auto;
}
.youtube {
    width: 96%;
	margin: 3% auto;
    aspect-ratio: 16 / 9;
}

.youtube iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}
.sns-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.sns-grid-1 {
    grid-template-columns: 1fr;
}

.sns-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.sns-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.sns-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* 画像・紹介文 */

.sns-item {
    min-width: 0;
}

.sns-item img {
    display: block;
    width: 100%;
    height: auto;
}

.sns-item p {
    margin-top: 10px;
	line-height: 1.6em;
}

.sns-item a {
    display: block;
    overflow: hidden;
}

.sns-item a img {
    transition: transform .4s ease;
}

.sns-item a:hover img {
    transform: scale(1.1);
}
.snsico{
	margin: 0px auto;
	padding: 10px;
}
.snsico li{
	width: 33.3333%;
	padding: 10px;
	max-width: 50px;
}


/* スマートフォン
---------------------------------------- */

@media screen and (max-width: 767px) {

    .sns-grid {
        gap: 15px;
    }

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

    .sns-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .sns-project h3 {
        margin: 40px 0 20px;
    }

    .sns-item p {
        font-size: 14px;
    }

}


/* お知らせ
---------------------------------------- */

.news .news_main{
	width: 80%;
	padding: 20px;
}
.news .news_nav{
	width: 20%;
	padding: 10px 0 10px 10px;
	background: #f5faed;
}

.news .news_main .date{
	text-align: right;
	margin: 15px 0 5% auto;
}

.newscontent{
	margin: 3% auto;
}
.newscontent p{
	margin: 3% auto;
}
.news .news_nav h4{
	line-height: 1.4em;
	text-align: left;
	border:none;
	font-size: clamp(15px, 1.6vw, 18px);
	font-weight: 700;
	margin: 20px auto 10px;
	padding: 0 10px;
	color: #6ab900;
	
}
.news .news_nav ul{
	margin: 10px;
}
.news .news_nav ul li{
	text-align: left;
	list-style: disc;
	margin-left: 18px;
}
.news .news_nav ul li a{
	  position: relative;
  display: inline-block;
	color: #333;
	text-decoration: none;
	font-size: 1.5rem;
}

@media only screen and (max-width:768px) {
.news .news_main{
	width: 100%;
	padding: 10px;
}
.news .news_nav{
	width: 100%;
	padding: 10px;
}
.news .news_nav ul{
	display: flex;
	flex-wrap: wrap;
}
.news .news_nav ul li{
	width: 50%;
	}
}

.news-box {
    margin-bottom: 60px;
}

.news-box p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* 画像レイアウト */

.news-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 25px;
}

.news-grid-1 {
    grid-template-columns: 1fr;
}

.news-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.news-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-grid img {
    display: block;
    width: 100%;
    height: auto;
}

.news-item p {
    margin-top: 10px;
}

/* ギャラリー */

.news-gallery a {
    display: block;
    overflow: hidden;
}

.news-gallery img {
    transition: transform .4s ease;
}

.news-gallery a:hover img {
    transform: scale(1.08);
}

/* スマートフォン
---------------------------------------- */

@media screen and (max-width: 767px) {

    .news-box {
        margin-bottom: 40px;
    }

    .news-grid {
        gap: 15px;
    }

    .news-grid-2,
    .news-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-item p {
        font-size: 14px;
    }

}

/*WP追加*/
.news-images > br {
    display: none;
}
/* エラーメッセージ */
.mw_wp_form .error {
    display: block;
    color: #d93025;
    font-size: 0.85em;
    margin-top: 5px;
}

/* 確認画面ではリセットボタンを非表示 */
.mw_wp_form_confirm .form-reset {
    display: none;
}

/* 確認画面のテーブル */
.mw_wp_form_confirm table.resp td {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

/* プライバシーポリシー */
.mw_wp_form .privacy-check a {
    text-decoration: underline;
}

.mw_wp_form .privacy-check input[type="checkbox"] {
    accent-color: #299c3d;
}

/* 送信完了画面 */
.contact-complete {
    text-align: center;
    padding: 50px 20px;
    line-height: 1.9;
}

.contact-complete h3 {
    color: #299c3d;
    font-size: clamp(20px, 2.5vw, 28px);
    margin-bottom: 30px;
}

.contact-complete p {
    margin-bottom: 25px;
}

.contact-complete .Sendbtn {
    margin-top: 40px;
}

/* 固定ページのブロック化に伴う補助CSS */
.business .wp-block-image, .strength .wp-block-image, .greeting .wp-block-image, .rinen .wp-block-image, .sdgs .wp-block-image, .torikumi .wp-block-image, .naname .wp-block-image, .footer-bottom .wp-block-image, .backphoto .wp-block-image { margin: 0; }
.sf-icon-row { display: flex; flex-wrap: wrap; gap: 10px; }
.sf-icon-row > .wp-block-image { width: min(14%, 100px); margin: 0; }
.history .wp-block-table { margin: 0; }
.history .wp-block-table table { width: 100%; }

/* Native Gutenberg columns: scoped to converted layouts */
.wp-block-columns.sf-photo-columns,
.wp-block-columns.sf-text-photo-columns,
.wp-block-columns.sf-icon-columns { display:flex; gap:20px; }
.wp-block-columns.sf-photo-columns > .wp-block-column,
.wp-block-columns.sf-icon-columns > .wp-block-column { flex:1 1 0; min-width:0; margin:0; }
.wp-block-columns.sf-text-photo-columns > .wp-block-column { min-width:0; width:auto; margin:0; }
.sf-photo-columns .wp-block-image, .sf-text-photo-columns .wp-block-image, .sf-icon-columns .wp-block-image { margin:0; }
.sf-photo-columns img, .sf-text-photo-columns img, .sf-icon-columns img { display:block; width:100%; height:auto; }
.wp-block-columns.sf-icon-columns { gap:10px; }
.sf-icon-columns > .wp-block-column { max-width:100px; }
@media (max-width:781px) {
 .wp-block-columns.sf-photo-columns, .wp-block-columns.sf-icon-columns { flex-wrap:wrap !important; }
 .wp-block-columns.sf-photo-columns > .wp-block-column { flex:0 0 calc((100% - 20px)/2) !important; }
 .wp-block-columns.sf-icon-columns > .wp-block-column { flex:0 0 calc((100% - 20px)/3) !important; }
 .wp-block-columns.sf-text-photo-columns { flex-wrap:wrap !important; }
 .wp-block-columns.sf-text-photo-columns > .wp-block-column { flex-basis:100% !important; }
}
/* WordPressテーブル：会社沿革 */
.history .wp-block-table {
    width: 100%;
    margin: 0;
    overflow: visible;
}

.history .wp-block-table table {
    width: 100%;
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    margin: 0;
}

/* WordPress標準の罫線を解除 */
.history .wp-block-table th{
    border: none;
	border-bottom: 2px solid #2ba344;
    padding: 15px 20px;
    vertical-align: top;
    text-align: left;
}
.history .wp-block-table td {
    border: none;
    border-bottom: 1px solid #dfdfdf;
    padding: 15px 20px;
    vertical-align: top;
    text-align: left;
}

/* 年月 */
.history .wp-block-table tr > :first-child {
    width: 25%;
    color: var(--company-green);
    font-weight: 700;
    line-height: 1.9;
}

/* 内容 */
.history .wp-block-table tr > :last-child {
    width: 75%;
    line-height: 1.9;
}

/* スマートフォン：従来のrespと同じ表示 */
@media screen and (max-width: 768px) {

    .history .wp-block-table th,
    .history .wp-block-table td {
        display: block;
        box-sizing: border-box;
        width: 100%;
        padding: 8px 10px;
        text-align: left;
        line-height: 1.8em;
        font-size: 1.4rem;
    }

    .history .wp-block-table tr > :first-child {
        width: 100%;
        background: #f3f3f3;
    }

    .history .wp-block-table tr > :last-child {
        width: 100%;
    }
}

/* 数字で見る：カラムの余白・幅調整 */
.recruit .sf-data-columns.wp-block-columns { display:grid !important; gap:10px; margin:0 0 10px; }
.recruit .sf-data-columns.cols-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.recruit .sf-data-columns.cols-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.recruit .sf-data-columns > .wp-block-column { min-width:0; margin:0; }
.recruit .sf-data-columns .wp-block-image { margin:0; }
.recruit .sf-data-columns img { display:block; width:100%; height:auto; }
.recruit .sf-data-box { margin:0 0 35px; }
@media (max-width:767px) {
 .recruit .sf-data-columns.cols-3 { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.footer-bottom .wp-block-image { margin:0; }
