/* =============================
   COMMON
============================= */
html{
scroll-behavior:smooth;
}
.split-inner,
.top-news-inner,
.inner{
  max-width: 1800px;
	padding: 120px 40px;
}
html,body{
  overflow-x:hidden;
}

body { 
margin:0;
font-family:
    "Hiragino Sans",
    "Noto Sans JP",
    "Yu Gothic",
    sans-serif;
color: #333;
font-size: var(--font-base);
font-weight: 600;
-webkit-font-smoothing: antialiased;
}
body.is-fixed {
  overflow:hidden;
}
body {
  line-height: 1.9;
}
:root {
--font-base: clamp(17px, 2.5vw, 18px);
--font-title: clamp(20px, 4vw, 28px);
--font-big: clamp(28px, 6vw, 52px);
--font-btn: clamp(14px, 2.5vw, 16px);
}

/* =============================
   RESET
============================= */
li::marker {
    content: none;
}
ul {
	padding-inline-start: 0;
}
h1 {
    margin-block-start: 0;
    margin-block-end: 0;
}
ul li {
	list-style: none;
	text-decoration: none;
}
/* =============================
   header
============================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: .3s;
background: transparent;
}
/* 初期：透明 */
.header {
  background: transparent;
}

.header.is-scrolled {
  position: fixed;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.header-inner {
  display:flex;
  justify-content:space-around;
  align-items:center;
}
.pc-nav li a{
  display:block;
	position: relative;
  padding:10px 20px;
}

.pc-nav li:hover > a::after{
  transform:translateY(-50%) rotate(225deg);
}

.pc-nav .sub-menu{
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:.3s;
padding: 0;
}

.pc-nav li:hover > .sub-menu{
  opacity:1;
  visibility:visible;
  transform:none;
}

/* スクロール後 */
.header.is-scrolled {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.pc-nav ul {
  display:flex;
  gap:32px;
  list-style:none;
    font-weight: bold;
}

.pc-nav ul li a:hover {
	color: #3B9E52;
}
.hamburger {
  display:none;
  background:none;
  border:none;
  width:30px;
  height:22px;
  position:relative;
}
.hamburger span {
  position:absolute;
  width:100%;
  height:2px;
  background:#000;
  transition:.3s;
}
.hamburger span:nth-child(1){top:0;}
.hamburger span:nth-child(2){top:10px;}
.hamburger span:nth-child(3){bottom:0;}

.sp-nav {
  position:fixed;
  inset:0;
  background:#fff;
  transform:translateX(100%);
  transition:.4s;
  padding:100px 24px;
}
.sp-nav.is-open { transform:translateX(0); }

.sp-nav ul li a{
	display: block;
    padding: 2%;
	color: #333;
	text-decoration: none;
}

@media(min-width:769px){
.logo img {
width: 80%;
}
}

@media(max-width:768px){
.pc-nav{
display:none;
}
	
.hamburger{
display:block;
}
	
.logo img {
width: 50%;
}
	
}

/* =========================
PCナビ
========================= */

.pc-nav ul{
display:flex;
gap:32px;
list-style:none;
}

.pc-nav li{
position:relative;
}

.pc-nav ul li a {
text-decoration: none;
	color: #333333;
}

/* サブメニュー */

.pc-nav ul ul{

position:absolute;
top:100%;
left:0;

background:#fff;
min-width:200px;

box-shadow:0 6px 15px rgba(0,0,0,.08);

opacity:0;
visibility:hidden;
transform:translateY(10px);

transition:.3s;

}

/* hoverで表示 */

.pc-nav li:hover > ul{

opacity:1;
visibility:visible;
transform:translateY(0);

}

/* サブメニュー中身 */
.pc-nav ul ul{
	display:block;
}
.pc-nav ul ul li{
padding:0;
}

.pc-nav ul ul a{
display:block;
padding:12px 18px;
white-space:nowrap;
transition:0.2s;
}

.pc-nav ul ul a:hover,
.pc-nav ul ul li:hover{
background:#f5f5f5;
}


/* PCサブメニュー */

.pc-nav li{
position:relative;
}

.pc-nav ul ul{

position:absolute;
top:100%;
left:0;

background:#fff;
min-width:220px;

box-shadow:0 8px 20px rgba(0,0,0,.08);

opacity:0;
visibility:hidden;
transform:translateY(10px);

transition:.3s;

}

.pc-nav li:hover > ul{

opacity:1;
visibility:visible;
transform:translateY(0);

}

/* =========================
スマホナビ
========================= */
/* サブメニュー */

.sp-nav ul ul{

max-height:0;
overflow:hidden;

transition:max-height .4s ease;

padding-left:16px;

}

/* 開いた状態 */

.menu-item-has-children.is-open > ul{
max-height:500px;
}


/* ===============================
  矢印トグル
=============================== */
.sp-nav .menu-item-has-children{
  position:relative;
	overflow:hidden;
}

.pc-nav .menu-item-has-children > a::after{
  content:"";
  position:absolute;
  right:6px;
  top:50%;
  width:6px;
  height:6px;
  border-right:2px solid #3B9E52;
  border-bottom:2px solid #3B9E52;
  transform:translateY(-50%) rotate(45deg);
  transition:.3s;
}

.accordion-toggle{
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  width:24px;
  height:24px;
  cursor:pointer;
right:10px;
}

/* ＋ */
.accordion-toggle::before,
.accordion-toggle::after{
  content:"";
  position:absolute;
  background:#3B9E52;
  transition:.3s;
}

.accordion-toggle::before{
  width:12px;
  height:2px;
  top:11px;
  left:6px;
}

.accordion-toggle::after{
  width:2px;
  height:12px;
  top:6px;
  left:11px;
}

/* 開いたら − */
.menu-item-has-children.is-open .accordion-toggle::after{
  opacity:0;
}




/* =============================
   MV
============================= */
.mv {
  position: relative;
  height: 100vh;

  overflow: hidden;
}

/* スライド */
.mv-swiper,
.mv-slide,
.mv-slide img {
  height: 100%;
}

.mv-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* キャッチコピー */
.mv-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.mv-catch {
  color: #fff;
  font-size: var(--font-big);
  line-height: 1.4;

  /* ふわっと出現（初回のみ） */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.mv-catch.is-show {
  opacity: 1;
  transform: translateY(0);
}

.mv-catch span {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px);
  transition: 0.6s ease;
}

.mv-catch.is-show span {
  opacity: 1;
  transform: translateY(0);
}


.sp-close {
  position:absolute;
  top:24px;
  right:24px;
  font-size:32px;
  background:none;
  border:none;
  cursor:pointer;
}


/* =============================
   無限ループ
============================= */
.loop-slider {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
	position: relative;
    z-index: 2;
    margin-bottom: -120px;
}

.loop-track {
  display: flex;
  width: max-content;
  gap: 20px;
  animation: slideLoop 35s linear infinite;
}

.loop-slide {
  width: calc(100vw / 6);
  max-width: 320px;
  flex-shrink: 0;
}

.loop-slide img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.loop-slide:nth-child(even) {
  transform: translateY(24px);
}

@keyframes slideLoop {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--loop-width)));
  }
}

@media (max-width: 768px) {
  .loop-slide {
    width: 50%;
  }
}



/* =============================
   FOOTER
============================= */
footer {
	background: #3B9E52;
	color: #FFF;
    text-align: center;
	line-height: 2;
    padding: 17% 0 0;
}
footer ul {
	margin: 0 5% 6%;
}

.copy {
	text-align: center;
	font-size: 12px;
	margin: 125px 0 0;
	background: #000;
    padding: 2%;
}

/* =============================
   レイアウト
============================= */
.sp-br{
  display: inline;
}

@media (max-width:768px){
  .sp-br{
    display: block;
  }
}

.split {
  padding: 10% 0;
  overflow: hidden;
}

.split-inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.split.reverse .split-inner {
  flex-direction: row-reverse;
}

.split-img {
  flex: 1;
  position: relative;
  overflow: visible;
}

.split-img-inner {
  overflow: hidden;
transform: translateZ(0);
}

.split-img-inner img {
  width: 100%;
  display: block;
	height: 100%;
  object-fit: cover;
}

@media (max-width:768px){
 
  .fade-up.is-show .split-img img {
    transform: none !important;
    transition: none !important;
  }
}
.split-img::after {
  content: "";
  position: absolute;

  top: -110px;
  left: -40px;

  width: 500px;
  height: 500px;

  background: url("/wp-content/themes/manabe/assets/img/neji.png") no-repeat;
  background-size: contain;

  opacity: 0.08;

  z-index: -1;
  pointer-events: none;
}

.split-overlay-text {
  position: absolute;
  left: auto;
  text-align: right;
  z-index: 2;
  font-size: clamp(2rem, 1.063rem + 4.69vw, 6.688rem);
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #07BF59;
  line-height: 1.3;
}

.split-img img {
  width: 100%;
  display: block;
  transform: scale(1.1);
  transition: transform 1.5s ease;
  will-change: transform;
}

.split-content {
  flex: 1;
}

@media (max-width:768px){
  .split-content {
    padding: 0 10px;
  }
}

.section-title{
font-size: var(--font-title);
margin-bottom:25px;
position:relative;
padding-bottom:10px;
line-height: 1.5;
}

.section-title::after{
content:"";
position:absolute;
left:0;
bottom:0;
width:60px;
height:3px;
background:#1a7f4b;
}

.split-title {
  font-size: clamp(1.438rem, 1.35rem + 0.44vw, 1.875rem);
  margin-bottom: 24px;
}

.split-text {
  line-height: 1.9;
  margin-bottom: 40px;
letter-spacing: 0.04em;
}

.split-text li {
  margin-bottom: 10px;
}

@media(min-width:769px) {
.split-overlay-text {
  position: absolute;
  right: -20%;
}
.about .split-overlay-text {
  bottom: -20%;
}
.product .split-overlay-text {
  bottom: -13%;
}
}
@media(max-width:768px) {
.split-overlay-text {
  position: absolute;
  bottom: 0;
  right: 0;
}
}
.split-title {
	line-height: 1.5;
  letter-spacing: 0.1em;
}
.mv-catch {
line-height: 1.4;
  letter-spacing: 0.08em;
}
.split-title,
.mv-catch {
  font-family: "Noto Serif JP", serif;
  font-weight: 900;
}

/*見出し*/
.service-heading,
.about-heading,
.product-heading,
.company-heading{
position: relative;
  font-size: var(--font-title);
  line-height: 1.5;
  font-weight: 600;
  z-index: 1;
padding: 5% 0 0 5%;
}

.service-heading,
.company-heading{
text-align: left;
}

.about-heading,
.product-heading{
text-align: right;
padding-right: 5%;
}

.service-heading::before,
.about-heading::before,
.company-heading::before,
.product-heading::before,
.recruit-heading::before,
.contact-heading::before,
.news-heading::before{
  position: absolute;
  bottom: 0; 
  font-size: clamp(2.813rem, 0.375rem + 12.19vw, 15rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(0, 0, 0, 0.05);
  z-index: -1;
  pointer-events: none;
letter-spacing: 0.1em;
}
.recruit-heading::before,
.contact-heading::before{
margin: auto;
right: 0;
left: 0;
}
.service-heading::before,
.company-heading::before {
	left: 5%;
	color: #FFF;
}
.about-heading::before,
.product-heading::before{
	right: 5%;
}
.service,
.company-home{
	background: #07BF59;
}
.service .split-title,
.service .split-text,
.company-home .split-title,
.company-home .split-text{
	color: #FFF;
}
.home-en {
	font-family: "Montserrat", sans-serif;
  font-weight: 900;
}

/* =============================
   ボタンアニメーション
============================= */

.split-btn,
.split-btn-wh{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 24px 50px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.1em;
  overflow: hidden;
  transition: 0.3s;
	border: none;
font-size: var(--font-btn);
}

@media (max-width:768px){
  .split-btn,
  .split-btn-wh{
    padding: 18px 32px;
    font-size: 16px;
    gap: 10px;
  }
}

.split-btn{
	background: #07BF59;
  color: #fff;
}

.split-btn-wh{
	background: #fff;
  color: #3B9E52;
}

.split-btn .arrow,
.split-btn-wh .arrow{
  width: 20px;
  height: 2px;
  position: relative;
  transition: 0.3s;
}

.split-btn .arrow::after,
.split-btn-wh .arrow::after{
  content: "";
  position: absolute;
  right: 0;
  top: -4px;
  width: 8px;
  height: 8px;
  transform: rotate(45deg);
}

.split-btn .arrow::after{
	border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}

.split-btn-wh .arrow::after{
	border-top: 2px solid #3B9E52;
  border-right: 2px solid #3B9E52;
}

.split-btn-wh:hover .arrow::after {
  border-top: 2px solid #FFF;
  border-right: 2px solid #FFF;
}

.split-btn:hover,
.split-btn-wh:hover{
  background: #2f7d41;
	color: #FFF;
}

.split-btn:hover .arrow,
.split-btn-wh:hover .arrow{
  transform: translateX(8px);
}
.btn {
text-align: center;
}

/* =============================
   フェードアップ
============================= */

.fade-up {
  opacity: 0;
  transform: translateY(60px);
  transition: 1s ease;
}

.fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.is-show .split-img img {
  transform: scale(1);
}

/* =============================
   レスポンシブ
============================= */

@media (max-width: 768px) {
  .split-inner {
    flex-direction: column;
    gap: 40px;
	padding: 60px 20px;
  }

  .split.reverse .split-inner {
    flex-direction: column;
  }
}

/* =============================
   初期状態（隠す）段階的に出す 内部も時間差
============================= */


.reveal-text,
.reveal-title,
.reveal-img,
.reveal-btn{
  opacity:0;
  transform:translateY(40px);
}

.reveal-text.is-show,
.reveal-title.is-show,
.reveal-img.is-show{
  opacity:1;
  transform:translateY(0);
  transition:.8s ease;
}
.reveal-btn.is-show{
	opacity:1;
  transform:translateY(0);
  transition: opacity .8s ease, transform .8s ease;
}


/* 時間差 */

.is-show .reveal-img{transition-delay:.1s}
.is-show .reveal-title{transition-delay:.3s}
.is-show .reveal-text{transition-delay:.5s}
.is-show .reveal-btn{transition-delay:.7s}



/* =============================
   下層MV
============================= */
.page-mv{

position:relative;
height:40vh;
  min-height:260px;
overflow:hidden;
color:#fff;
}

@media (max-width:768px){

.page-mv-inner{
padding:80px 20px 0;
}

.page-mv-title{
font-size:26px;
}

}


/* 背景 */

.page-mv-bg{
background-position:center;
background-size:cover;
background-repeat:no-repeat;
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
transform:scale(1.1);
animation:mvZoom 8s ease forwards;

}
@media (max-width:768px){

.page-mv-bg{
animation:none;
transform:none;
}

}

@keyframes mvZoom{

0%{
transform:scale(1.15);
}

100%{
transform:scale(1);
}

}


/* overlay */

.page-mv-overlay{

position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:linear-gradient(
120deg,
rgba(0,0,0,0.65),
rgba(0,0,0,0.25)
);

}


/* 斜めライン */

.page-mv::after{

content:"";
position:absolute;
right:-120px;
bottom:-80px;
width:420px;
height:220px;
background:#1a7f4b;
transform:rotate(-20deg);
opacity:.8;

}


/* text */

.page-mv-inner{

position:relative;
z-index:2;
max-width:1100px;
margin:auto;
padding:0 20px;
display:flex;
flex-direction:column;
justify-content:center;
height:100%;
}


.mv-en{

font-size:14px;
letter-spacing:3px;
margin-bottom:10px;
opacity:.8;

}

.page-mv-title{

font-size:36px;
font-weight:700;
margin-bottom:20px;

}

/* =============================
   ABOUT
============================= */

.about-heading::before {
  content: "ABOUT";
    color: #07BF59;
}

/* =============================
   SERVICE
============================= */
.service {
	padding-top: 300px;
}

.service-heading::before {
  content: "SERVICE";
}

@media (max-width:768px){
	.service {
	padding-top: 30%;
}
}
/* =============================
   PRODUCT
============================= */
.product-heading::before {
  content: "PRODUCT";
    color: #07BF59;
}

/* =============================
   COMPANY
============================= */
.company-heading::before {
  content: "COMPANY";
  color: #FFF;
}

/* =============================
   RECRUIT
============================= */
.recruit {
background-image: url("/wp-content/themes/manabe/assets/img/top-img-4.jpg");
text-align: center;
color: #FFF;
background-size: cover;
}

.recruit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.recruit > * {
  position: relative;
  z-index: 2;
}
.recruit .font {
font-size: clamp(1.313rem, 1.2rem + 0.56vw, 1.875rem);
}

.recruit-heading::before {
  content: "RECRUIT";
  color: #585858;
}

.recruit ul {
padding: 5%;
line-height: 2;
}

.recruit .pdb {
	padding-bottom: 2%;
}

@media (max-width:768px){
.recruit .pdb {
	padding-bottom: 5%;
}
}

/* =============================
   NEWS-TOP
============================= */
.top-news {
background-image: url("/wp-content/themes/manabe/assets/img/home-company-bg.jpg");
}
.news-heading {
  position: relative;
  font-weight: 600;
  margin: 0 0 60px;
  z-index: 1;
}

.news-heading::before {
  content: "NEWS";
  left: 0;
  color: #EFEFEF;
}

/* 一覧 */
.news-item {
  border-bottom: 1px solid #3B9E52;
  padding: 2% 0;
}

.news-list {
  list-style: none;
  padding: 0 0 8%;
  margin: 0;
  border-top: 1px solid #3B9E52;
}

.news-link {
  display: flex;
  gap: 40px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity .3s ease;
}

.news-link:hover {
  opacity: .7;
}

.news-thumb {
  width: 125px;
  height: 83px;
  overflow: hidden;
  flex-shrink: 0; /* 横並び崩れ防止 */
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* テキスト側 */
.news-title{
  font-size: 16px;
  line-height: 1.6;

  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;

  overflow: hidden;
}
.news-body {
  flex: 1;
}

.news-date{
  font-size: 14px;
  color: #3B9E52;
  display: block;
  margin-bottom: 5px;
}

.news-title {
  font-size: 20px;
  margin: 0;
}
.news-link{
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  color: #222;
  padding: 18px 0;

  transition: 0.3s;
}

.news-link:hover{
  opacity: 0.7;
}
.news-thumb img{
  transition: 0.4s;
}

.news-link:hover .news-thumb img{
  transform: scale(1.08);
}

/* ボタン */


.news-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 40px;
  border: 1px solid #000;
  text-decoration: none;
  color: #000;
  transition: 0.3s;
}

.news-btn:hover {
  background: #000;
  color: #fff;
}

.news-btn .arrow {
  width: 20px;
  height: 1px;
  background: currentColor;
  position: relative;
}

.news-btn .arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 8px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.top-news {
	padding-top: 10%;
}
/* =================
NEWSsingle
================= */

.news-single{
padding:120px 0;
}

.news-single-inner{
max-width:900px;
margin:auto;
}

.news-single-title{
font-size:28px;
margin-top:10px;
}

.news-single-line{
width:0;
height:2px;
background:#3B9E52;
margin:20px 0 40px;
transition:0.8s;
}

.news-single.is-show .news-single-line{
width:80px;
}

.news-single-thumb{
margin-bottom:40px;
}

.news-single-thumb img{
width:100%;
height:auto;
}

.news-content{
line-height:2;
}

.back-link{
margin-top:60px;
}

.back-link a{
text-decoration:none;
border-bottom:1px solid #333;
}


/* =====================
news archive
===================== */

.news-archive{
padding:220px 0 90px;
background:#f7f9f8;
}


/* 見出し */

.news-archive .news-heading{
font-size:36px;
font-weight:700;
margin-bottom:60px;
text-align:center;
}


/* リスト */

.news-archive .news-list{

list-style:none;
padding:0;
margin:0;

display:grid;
grid-template-columns:1fr;
gap:26px;

}


/* PC 2列 */

@media(min-width:900px){

.news-archive .news-list{
grid-template-columns:1fr 1fr;
gap:34px;
}

}


/* カード */

.news-archive .news-card{

display:flex;
gap:24px;
align-items:center;

background:#fff;

padding:26px;

border-radius:10px;

box-shadow:0 8px 24px rgba(0,0,0,.05);

text-decoration:none;
color:#222;

position:relative;

transition:.35s;

}


/* 左ライン */

.news-archive .news-card::before{

content:"";

position:absolute;
left:0;
top:0;

width:4px;
height:100%;

background:#3B9E52;

transform:scaleY(.4);
transform-origin:top;

transition:.4s;

}

.news-archive .news-card:hover::before{
transform:scaleY(1);
}


/* hover */

.news-archive .news-card:hover{

transform:translateY(-6px);

box-shadow:0 16px 36px rgba(0,0,0,.08);

}


/* 画像 */

.news-archive .news-thumb{

width:160px;
height:110px;

overflow:hidden;

border-radius:6px;

flex-shrink:0;

}

.news-archive .news-thumb img{

width:100%;
height:100%;
object-fit:cover;

transition:.5s;

}

.news-archive .news-card:hover img{
transform:scale(1.08);
}


/* meta */

.news-archive .news-meta{

display:flex;
gap:10px;

margin-bottom:6px;

}

.news-archive .news-date{

font-size:13px;
color:#3B9E52;
font-weight:600;

}

.news-archive .news-cat{

font-size:12px;

padding:3px 10px;

border-radius:20px;

background:#eef6f1;

color:#3B9E52;

}


/* title */

.news-archive .news-title{

font-size:18px;
line-height:1.6;
margin:0;

display:-webkit-box;
-webkit-line-clamp:2;
-webkit-box-orient:vertical;

overflow:hidden;

}


/* スマホ */

@media(max-width:768px){

.news-archive .news-card{
flex-direction:column;
align-items:flex-start;
}

.news-archive .news-thumb{
width:100%;
height:180px;
}

}

/*pagination*/
.news-archive .news-pagination{
margin-top:60px;
text-align:center;
}

.news-archive .page-numbers{

display:inline-block;

padding:10px 16px;
margin:4px;

background:#fff;

border-radius:6px;

box-shadow:0 3px 10px rgba(0,0,0,.06);

text-decoration:none;
color:#333;

}

.news-archive .current{
background:#3B9E52;
color:#fff;
}

/* =============================
   取扱商材
============================= */
.page-id-239 #material,
.page-id-239 #machine,
.page-id-239 #equipment,
.page-id-239 #tool{
	text-align: center;
}
.page-id-239 .inner {
  text-align: left;
}
.page-id-239 .item-section h3{

font-size:20px;
font-weight:600;

margin:50px 0 20px;
padding-bottom:8px;

border-bottom:2px solid #1a7f4b;

display:inline-block;

}


.page-id-239 .item-nav{

position:sticky;
top:80px;
z-index:20;

background:#fff;
padding:20px;

box-shadow:0 10px 30px rgba(0,0,0,0.08);

display:flex;
justify-content:center;
gap:20px;

border-radius:8px;
margin-bottom:80px;

}

.page-id-239 .item-nav a{

text-decoration:none;

padding:10px 18px;

border-radius:30px;

background:#f5f5f5;

font-weight:600;
font-size:14px;

color:#333;

transition:.3s;

position:relative;

}


.page-id-239 .item-nav a:hover{

background:#1a7f4b;
color:#fff;

}


.page-id-239 .item-nav a.active{

background:#1a7f4b;
color:#fff;
box-shadow:0 6px 20px rgba(26,127,75,0.3);

}

@media(max-width:768px){

.page-id-239 .item-nav{

overflow-x:auto;
justify-content:flex-start;

}

.page-id-239 .item-nav a{
white-space:nowrap;
}

}

.maker-list{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 24px;
  margin: 20px 0 40px;
}

.maker-list li{
  list-style: none;
  position: relative;
  line-height: 1.6;
  white-space: normal;
  word-break: break-word;

  padding-left: 16px;

  display: flex;
  align-items: flex-start;
}

/* 緑の・ */
.maker-list li::before{
  content: "";
  width: 6px;
  height: 6px;
  background: #1a7f4b;
  position: absolute;
  left: 0;
  top: 0.6em;
  border-radius: 50%;
}

/* スマホ */
@media (max-width:768px){
  .maker-list{
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
  }
}

.page-id-239 .item-heading{

position:relative;
display:inline-block;

margin-bottom:40px;

}

.page-id-239 .heading-en{

display:block;
font-size:12px;
letter-spacing:4px;
color:#1a7f4b;

margin-bottom:6px;

}

.page-id-239 .heading-main{

display:block;
font-size:34px;
font-weight:700;

}

.page-id-239 .heading-sub{

display:block;
font-size:14px;
color:#777;

margin-top:4px;

}


/* 斜めライン */

.page-id-239 .item-heading::after{

content:"";

position:absolute;

right:-50px;
bottom:10px;

width:36px;
height:3px;

background:#1a7f4b;

transform:skewX(-35deg);

}

.page-id-239 .item-hero{

margin-bottom:40px;
overflow:hidden;
}

.page-id-239 .item-hero img{

width:100%;
height:260px;
object-fit:cover;
display:block;

}

.page-id-239 .item-intro{
margin:0 auto 40px;
line-height:1.9;
color:#333333;
font-size:15px;
text-align: left;
}

.page-id-239 .parallax{
position:relative;
height:260px;
overflow:hidden;
}

.page-id-239 .parallax img{
width:100%;
height:120%;
object-fit:cover;

position:absolute;
top:-10%;
left:0;
}

.maker-index{
background:#fff;
}

.kana-nav{
display:flex;
flex-wrap:wrap;
gap:10px;
margin-bottom:40px;
font-size: 22px;
}

.kana-nav a{
padding:8px 14px;
background:#f5f5f5;
text-decoration:none;
color:#333;
font-weight:bold;
}

.kana-nav a:hover{
background:#1a7f4b;
color:#fff;
}

.kana-group{
margin-bottom:60px;
}

.kana-group h3{
font-size:22px;
margin-bottom:20px;
border-bottom:2px solid #1a7f4b;
display:inline-block;
}

.kana-group ul{
display:grid;
grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
gap:10px 20px;
padding:0;
list-style:none;
}

.kana-group li{
font-size:14px;
line-height:1.6;
}

/* =============================
   お問い合わせ
============================= */

.contact-heading::before {
  content: "CONTACT";
    color: #1F6F3D;
}

/*------------------------------------------------------------------------------------------------下層*/


/* =============================
   私たちについて
============================= */
.philosophy{
padding:120px 0;
background:#fff;
}

/* HERO */
.philosophy-hero{
text-align:center;
margin-bottom:120px;
position:relative;

height: 300px;
}

/* 文字を分割後のスタイル */
.hero-en span,
.vision-en span{
display:inline-block;
opacity:0;
transform:translateY(20px);
}

/* 表示状態 */
.hero-en.show span,
.vision-en.show span{
opacity:1;
transform:translateY(0);
transition:all .6s ease;
}

.hero-en,
.vision-en{
font-size:140px;
letter-spacing:10px;
    font-weight: 800;
}
.hero-title{
font-size:36px;
margin-top:-60px;
}


/* 代表挨拶 */
.philosophy-message{
margin-bottom:120px;
}

.message-inner{
display:grid;
grid-template-columns:1fr 1fr;
gap:80px;
align-items:center;
width:1100px;
max-width:90%;
margin:auto;
}

.message-image img{
width:100%;
box-shadow:0 20px 40px rgba(0,0,0,0.1);
}

.message-text h3{
font-size:24px;
margin-bottom:20px;
}

.lead{
font-size:18px;
font-weight:600;
margin-bottom:20px;
color:#3B9E52;
}

.message-text p{
line-height:2;
margin-bottom:20px;
}

.sign{
margin-top:40px;
text-align:right;
font-weight:600;
}


/* 理念 */
.philosophy-block{
text-align:center;
margin-bottom:120px;
}

.block-title{
font-size:28px;
margin-bottom:20px;
}

.block-lead{
font-size:20px;
color:#3B9E52;
margin-bottom:20px;
}

.block-text{
max-width:700px;
margin:auto;
line-height:2;
}


/* ビジョン */
.vision-block{
text-align:center;
padding:100px 20px;
background:#f5f5f5;
position:relative;
}

.vision-en{
font-size:100px;
opacity:.05;
font-weight:800;
}

.vision-title{
font-size:32px;
margin:-40px 0 20px;
}

.vision-text{
max-width:700px;
margin:auto;
line-height:2;
}

/* 英字ベース */
.hero-en,
.vision-en{
position:absolute;
left:50%;
top:0;
transform:translate(-50%,-50%);
white-space:nowrap;
pointer-events:none;
will-change:transform;
	filter:blur(1px);
}

/* HEROだけ少し上 */
.philosophy-hero{
position:relative;
overflow:hidden;
height:300px;
}

.hero-en{
font-size:160px;
opacity:.06;
letter-spacing:10px;
}

.hero-en span{
display:inline-block;
transition:.6s;
}

/* タイトルは前面 */
.hero-title{
position:relative;
z-index:2;
}

/* VISION */
.vision-block{
position:relative;
overflow:hidden;
}

.vision-en{
font-size:140px;
opacity:.04;
}

/* レスポンシブ */
@media(max-width:768px){

.message-inner{
grid-template-columns:1fr;
gap:40px;
}

.hero-en{
font-size:60px;
}

.vision-en{
font-size:60px;
}

}
/* =============================
   沿革
============================= */
:root{
--line-x:50%;
}

@media(max-width:768px){
:root{
--line-x:10%; 
}
}


/* ===============================
  全体
=============================== */

.history{
position:relative;
padding:120px 0;
background:#f9f9f9;
z-index: -2;
}

.history-container{
width:1100px;
max-width:90%;
margin:auto;
position:relative;
}

.history-title{
text-align:center;
font-size:38px;
margin-bottom:120px;
}


/* ===============================
  縦ライン
=============================== */

.history-line{
position:absolute;
left:var(--line-x);
top:0;
width:3px;
height:100%;
background:#ddd;
}

.history-progress{
position:absolute;
left:var(--line-x);
top:0;
width:3px;
height:0;
background:#3B9E52;
z-index:0;
}

.history-line,
.history-progress{
transform:translate(-50%);
margin-left:0;
	z-index: -1;
}


/* ===============================
  ストーリー
=============================== */

.history-story{
position:relative;
z-index:10;
background:#f9f9f9;
padding:20px 30px;
margin-bottom:80px;
}

.history-story h3{
font-size:26px;
margin-bottom:20px;
}

.history-story span{
font-size:16px;
color:#3B9E52;
margin-left:10px;
}

.history-story p{
line-height:1.9;
}


/* ===============================
  アイテム
=============================== */

.history-item{
position:relative;
margin:120px 0;
transform:translateY(60px);
}

.history-item.show{
opacity:1;
transform:none;
}

.history-year,
.history-content{
opacity:0;
transition:all .8s;
}

/* 表示時 */
.history-item.show .history-year,
.history-item.show .history-content{
opacity:1;
transform:none;
}


/* ===============================
  年号
=============================== */
.history-year{
position:relative;
text-align:center;
margin:80px 0;
z-index:30;
font-size: 60px;
font-weight: 800;
color: #3B9E52;
background:#f9f9f9;
}

.history-year::before{
content:"";
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
width:200px;  
height:80px;
  padding:0 40px;
  background:#f9f9f9;
  z-index:-1;

}

/* 文字 */
.history-year span{
position:relative;
z-index:2;
}

.history-year.main{
font-size:140px;
font-weight:800;
margin:80px 0;
line-height:1;
}

.history-year.main::before{
height:120px;
}

/* ===============================
  コンテンツ（PC）
=============================== */

.history-content{
display:grid;
grid-template-columns:1fr 1fr;
gap:60px;
align-items:center;
position:relative;
z-index:3;
}

/* 偶数だけ反転 */
.history-item:nth-child(even) .history-text{
order:2;
}

.history-item:nth-child(even) .history-image{
order:1;
}


/* ===============================
  テキスト
=============================== */

.history-text h4{
font-size:20px;
margin-bottom:10px;
}

.history-text p{
line-height:1.8;
}


/* ===============================
  写真
=============================== */

.history-image{
width:320px;
opacity:0.8;
justify-self:end;
}

.history-item:nth-child(even) .history-image{
justify-self:start;
}

.history-image img{
width:100%;
display:block;
box-shadow:0 10px 20px rgba(0,0,0,0.1);
transition:0.6s;
}

.history-item:hover .history-image img{
transform:scale(1.05);
}

.history-item:nth-child(odd) .history-image{
transform:translateX(20px);
}

.history-item:nth-child(even) .history-image{
transform:translateX(-20px);
}


/* ===============================
  丸
=============================== */

.history-item::before,
.history-item::after{
content:"";
position:absolute;
left:var(--line-x);
top:65%;
width:14px;
height:14px;
background:#3B9E52;
border-radius:50%;
transform:translate(-50%,-50%);
z-index:5;
margin-left:0;
}

.history-item::after{
animation:pulse 2s infinite;
opacity:.5;
margin-left:0;
}

@keyframes pulse{
0%{
transform:translate(-50%,-50%) scale(1);
opacity:.5;
}
70%{
transform:translate(-50%,-50%) scale(2);
opacity:0;
}
100%{
opacity:0;
}
}


/* ===============================
  スマホ
=============================== */

@media(max-width:768px){

/* 1カラム */
.history-content{
grid-template-columns:1fr;
padding-left:70px; 
}

/* 年号左寄せ */
.history-year{
text-align:left;
padding-left:70px;
font-size:40px;
}

.history-year.main{
font-size:60px;
}

.history-image{
width:100%;
margin-top:20px;
transform:none !important;
justify-self:start;
}

.history-item::before,
.history-item::after{
left:calc(var(--line-x) + -4.5%); 

}

}

/* =============================
   会社概要
============================= */
/*私たちについてCTA*/
.company-visual{

position:relative;
margin-bottom:80px;
margin: 12% auto 0;
display:block;
text-decoration:none;
color:inherit;
}

@media (min-width:1071px){
.company-visual{
	width:75%;
	}
}

@media (max-width:1070px){
.company-visual-img img{
	height: 420px;
	}
}

.company-visual-img img{

width:100%;
object-fit:cover;
transition:.6s;
}

.company-visual:hover img{
transform:scale(1.05);
}

.company-visual-copy{

position:absolute;

left:6%;
bottom:40px;

max-width:520px;

}

.visual-en{

font-size:clamp(48px,5vw,50px);

font-weight:800;
color:#3B9E52;

line-height:1.05;
margin-bottom:20px;

}

.visual-text{

color:#fff;

font-size:15px;

line-height:1.8;

margin-bottom:20px;

max-width:420px;

}


/* リード */

.lead{
font-size:20px;
font-weight:600;
margin-bottom:60px;
line-height:1.7;
}

/* 会社概要 */

.company-table{
width:100%;
border-collapse:collapse;
margin-bottom:80px;
}

.company-table th,
.company-table td{
padding:18px 20px;
border-bottom:1px solid #e5e5e5;
text-align:left;
}

.company-table th{
width:220px;
background:#f7f7f7;
font-weight:600;
}


/* 拠点カード */

.office-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:50px;
}

.office-card{
background:#fff;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.05);
	display:flex;
  flex-direction:column;
  height:100%;
}

.office-card img{
width:100%;
height:220px;
object-fit:cover;
}

.office-body{
padding:25px;
	flex:1;
}

.office-body h3{
font-size:20px;
margin-bottom:10px;
}

.office-body p{
line-height:1.8;
}


/* map */
.office-map{
  margin-top:auto;
}

.office-map iframe{
width:100%;
height:260px;
border:0;
}



/* responsive */

@media(max-width:900px){

.office-grid{
grid-template-columns:1fr;
}

.company-table th{
width:140px;
}

}

/*取扱い商材CTA*/
.kana-nav{
  position: sticky;
  top: 80px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  justify-content:center;
  background:#fff;
  padding:15px;
  z-index:10;
}

.kana-section{
  margin-bottom:60px;
}

.kana-title{
  font-size:28px;
  margin-bottom:20px;
  border-bottom:2px solid #1a7f4b;
}

.cta-products{

margin:120px auto;

padding:90px 40px;

background:#f5f7f6;

text-align:center;

}

.cta-products-inner{
max-width:900px;
margin:auto;
}

/* 英字 */

.cta-en{

font-size:70px;

font-weight:800;

color:#3B9E52;

opacity:.1;

letter-spacing:.1em;

margin-bottom:-20px;

}

/* 日本語 */

.cta-title{

font-size:32px;

margin-bottom:16px;

}

/* 説明 */

.cta-text{

margin-bottom:32px;

}



/* =============================
   環境方針
============================= */
.policy-block{

background:#fff;
padding:50px;
margin-bottom:40px;
border-radius:6px;
box-shadow:0 5px 20px rgba(0,0,0,0.05);

}

/* list */

.policy-list{

list-style:none;
padding:0;

}

.policy-list li{

padding:18px 0;
border-bottom:1px solid #eee;
display:flex;
gap:20px;
line-height:1.8;

}

.policy-list span{

color:#1a7f4b;
font-weight:bold;
min-width:40px;

}


/* table */

.policy-table .row{

display:flex;
border-bottom:1px solid #eee;
padding:15px 0;

}

.policy-table .head{

width:150px;
font-weight:bold;

}

.policy-table .data{

flex:1;

}

.policy-date{
margin-top:30px;
font-size:14px;
color:#666;
text-align:right;
}

.policy-date p{
margin:4px 0;
}

/* SP */

@media(max-width:768px){

.policy-block{

padding:30px;

}

.policy-table .row{

flex-direction:column;
gap:5px;

}

.policy-table .head{

width:auto;

}

}

/* =============================
   お問い合わせ下層
============================= */
.contact-form{
max-width: 900px;
    width: 80%;
    margin: 0 auto;
    padding: 5%;
}

.form-group{
display:grid;
grid-template-columns:1fr;
gap:10px;
margin-bottom:35px;
}

.form-group label{
display:block;
color: #333333;
    font-weight: bold;
letter-spacing:.08em;
margin-bottom:10px;
}

@media(min-width:768px){
.form-group{
grid-template-columns:200px 1fr;
align-items:center;
}
.form-group label{
margin-bottom:0;
}
}

/* input */
.contact-form input,
.contact-form textarea{
width:100%;
border:none;
background: #f1f2f2 !important;
padding:10px 0;
font-size:16px;
transition:.4s;
}

/* textarea */
.contact-form textarea{
height:160px;
resize:vertical;
}

/* フォーカス */
.contact-form input:focus,
.contact-form textarea:focus{
outline:none;
}

/* 下ラインアニメ */


.form-group span::after{
content:"";
position:absolute;
left:0;
bottom:0;
width:0;
height:2px;
background:#3B9E52;
transition:.8s;
}

.form-group span:focus-within::after{
width:100%;
}

/* ボタン */
.form-submit{
margin-top:60px;
text-align:center;
}

/* CF7のデフォルトボタン消す */
.wpcf7 input[type="submit"]{
display:none;
}