@charset "utf-8";

body { 
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", "sans-serif";
  background-color: #fff;
  font-size: 16px;
  color: #333;
  margin: 0; 
  padding: 0; 
  padding-top: 80px; 
}

.body-content {
  width:100%;
  margin:0;
}

body .campaign {
  margin: 0px !important;
  padding: 0px !important;
  font-size: 16px;
  color: #333;
}

.breadcrumb {
  width:100%;
  background-color: #333;
  color: #fff;
  padding: 5px 0 5px 30px;
  margin-bottom: 0px !important;
  font-size: 0.8em;
}

.breadcrumb a,
.breadcrumb a:hover {
  font-weight:800;
}

.entry-content a,
.breadcrumb a,
p a,
table a,
h3 a,
h4 a,
h5 a,
h6 a,
.h5-title a,
li a {
  color: #008E1A !important;
  text-decoration: none !important;
  transition: 0.3s;
}

.entry-content a:hover,
.breadcrumb a:hover,
p a:hover,
table a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover,
.h5-title a:hover,
li a:hover {
  color: #ff9800 !important;
  text-decoration: none !important;
}


/* 段落設定 */

p {
  font-size: 1rem; /* 16px相当 */
  z-index: 999;
}


.kakomi {
  border: solid 2px #008E1A;
  padding: 30px;
  margin: 10px 30px 10px 10px;;
}

.text-contents {
  padding: 0 30px;
}


.small {
  font-size: 0.8rem;
  line-height: 1.5 !important; 
  display: inline-block; 
}

sup.small-ss {
  font-size: 0.6rem;
}

.commnent {
  font-size: 0.8rem;
  color : bbb;
}
.center {
  text-align : center;
  align-items: center;
}


h1 {
  font-size: clamp(1rem, 7vw, 3.9rem);
  text-align: center;
  padding-top: 30px;
  z-index: 999;
}

@media (max-width:460px){
  h1 {
    font-size: 35px !important;
    line-height: 2rem;
  }
}


.h1-title {
  color: #666;          
  font-weight: bold;
  width: 100%;
  text-align: center;
  font-size: clamp(1rem, 4vw, 3.6rem);
  padding-top:25px;
  padding-bottom: 15px;
  z-index: 999;
}


.h1-slogan-gray {
  font-size: clamp(2.2em, 4vw, 5rem);
  font-weight : bold;
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  color: #aaa;
  margin-bottom: 0px;
  padding-bottom: 0px;
  z-index: 998;
}

h2 {
  font-size: clamp(2.2em, 4vw, 3rem);
  font-weight : 500;
  margin-top : 30px;
  margin-bottom : 20px ;
  color: #333;
  z-index: 999;
}


h1 a,
h2 a,
.layout-card-title a {
  text-decoration: none; 
  color: inherit;        /* 親要素の緑色を引き継ぐ */
  display: block;
}


h3 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight : 500;
  margin-top : 20px;
  margin-bottom : 20px ;
  color: #666;
  z-index: 999;
}

h4 {
  font-size : 1.4rem;
  font-weight : 500;
  padding-bottom: 4px;      
  margin-bottom: 8px;
  color: #008E1A;
}

h5 {
  font-size : 1.1rem;
  font-weight : 500;
  padding-bottom: 4px;      
  margin-bottom: 5px;
  color: #008E1A;
}

h6 {
  font-size : 1.1rem;
  font-weight : 500;
  padding-bottom: 4px;      
  margin-bottom: 5px;
  color: #333;
}

.h5-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: normal;
}


.h3-green {
  color: #008E1A;
  display: inline-block;    /* 文字の幅に縮める */
  border-bottom: 3px solid #008E1A;
  font-weight : 500 !important;
  margin-bottom : 10px !important;
}

.h3-noborder {
  display: inline-block;    /* 文字の幅に縮める */
  font-weight : 500 !important;
  margin-bottom : 20px !important;
}

.h3-green-top {
  color: #008E1A;
  display: inline-block;
  border-bottom: 3px solid #008E1A;
  font-weight : 500 !important;
  padding-top: 0px !important;
} 

.h3-green-top-jirei {
  color: #008E1A;
  font-weight : 500 !important;
  padding-top: 20px !important;
  margin-bottom: 0px;
  display: inline-block;
  border-bottom: 3px solid #008E1A;
} 



.h4-left-green {
  border-left: 10px solid #008E1A;
  padding-left:20px;
}

.bottom-line-green {
  border-bottom: 1px solid #008E1A !important;
  font-weight : 500;
}

.bottom-line-green-min {
  display: inline-block;  
  border-bottom: 3px solid #008E1A;
}

.font-green {
  color: #008E1A !important;
}

.font-darkgreen {
  color: #051c09 !important;
}

.font-gray-default {
  color: #333;
}


.font-white {
  color: #fff !important;
}

.font-bold {
  font-weight: bold;
}


.text-shadow-white {
    text-shadow: 2px 2px 10px rgba(255, 255, 255, 0.8) !important; 
}

.text-shadow-gray {
    text-shadow: 2px 2px 10px rgba(34, 34, 34, 0.9) !important; 
}
.text-shadow-darkgray {
    text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.9) !important; 
}
.text-align-left {
  text-align: left !important;
}

.center {
  text-align: center !important;
  align-items: center !important;
}


/* ---リスト---- */

ul {
  list-style: none;
  padding-left: 0;
}

ul li {
  position: relative;
  padding-left: 25px; /* マーカーが入るスペース */
  line-height: 1.5;
}

ol li {
  position: relative;
  padding-left: 25px; 
  margin-bottom: 0px;
  line-height: 1.5;
}

.top-no-line-space {
  margin-top: 0px !important;
}

.bottom-no-liine-space {
  margin-bottom: 0px !important;
}


/* 0. 点なし */

.list-none {
  margin-bottom: 10px;
}

.list-none-nospace {
  margin-bottom: 0px;
}

.list-none::before,
.list-none-nospace::before {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
}

.list-green::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.65em; 
  transform: translateY(-50%) ;
  width: 10px;
  height: 10px;
  background-color: #008E1A;
  border-radius: 50%;
  margin-bottom: 16px;
}

.list-green-dot::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 0.75em;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background-color: #008E1A;
  margin-bottom: 0px;
}

.list-green-sq::before {
  content: "";
  position: absolute;
  left: 0.3em;  
  top: 0.6em;  
  width: 6px; 
  height: 6px;
  background-color: transparent; 
  border: 2px solid #008E1A; 
  box-sizing: border-box;
}

.list-square,
.list-square-check {
  position: relative;
  padding-left: 25px; /* 四角と文字が被らないように、文字を右に寄せる */
  display: block; 
  line-height: 1.6;
}

.list-square-check::before,
.list-square::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.3em;         /* 1行目の文字の高さに合わせて上から少し下げる */ 
  width: 14px;   
  height: 14px;  
  border: 2px solid #008E1A;
  box-sizing: border-box;
}

.list-square-check::after {
  content: "";
  position: absolute;
  left: 4px;  
  top: 0.6em;  
  transform: translateY(-50%) rotate(45deg); 
  width: 7px;    /* チェックの短い（左）側の長さ */
  height: 2px;   /* チェックの長い（右）側の長さ */
  border-left: 2px solid #008E1A; 
  border-bottom: 2px solid #008E1A;
  transform: rotate(-45deg);  
}


/* 4. ＞マーク */
.list-arrow::before,
.list-arrow-a::before  {
  content: "＞"; 
  position: absolute;
  left: 0;
  top: 48%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: #008E1A;
  border-radius: 50%;
  color: #fff; /* 白字 */
  font-size: 9px; /* ＞のサイズ */
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 1px; 
  box-sizing: border-box;
  margin-bottom: 10px;

}
.list-arrow-a:hover::before {
  background-color: #FF9800; 
}
.list-arrow,
.list-arrow-a {
  font-weight: bold;
}



.list-margin-top {
  margin-top:15px !important;
}

.layout-btn-detail,
.layout-btn-detail-min,
.layout-btn-detail-min-right {
  background-color: #008E1A !important;
  color: #ffffff !important;
  display: inline-block; /* ボタンの形を維持 */
}

.btn-flex {
  padding: 8px 25px 10px 25px !important;
}

.btn-flex-left {
  padding: 8px 25px 10px 25px !important;
  margin-right:20px !important;
  margin-left:0px !important;
  margin-bottom: 0 !important;
}

.btn-flex-right {
  padding: 8px 25px 10px 25px !important;
  margin-left: 0px !important;
  margin-bottom: 0 !important;
}

.layout-btn-detail:hover,
.layout-btn-detail-min:hover,
.layout-btn-detail-min-right:hover {
  background-color: #ff9800 !important;
  color: #ffffff !important;

}

header a, 
footer a,
.site-footer-wrapper a {
  transition: 0.3s;
}

/* コンテンツ間スペース */

.space-bottom-5px {
  width: 100%;
  height:30px;
}

.space-bottom-10px {
  width: 100%;
  height:30px;
}

.space-bottom-20px {
  width: 100%;
  height:30px;
}

.space-bottom-30px {
  width: 100%;
  height:30px;
}

.space-bottom-50px {
  width: 100%;
  height:50px;
}

.space-bottom-100px {
  width: 100%;
  height:100px;
}

/* リスト全体の基本設定 */
.entry-content ul {
  list-style: none;
  padding: 0;
  margin: 1em 0; 
}

.entry-content > ul > li {
  font-weight: bold;
  margin-bottom: 0.6em; /* 1階層目同士の間隔を少し広げて読みやすく */
}

.entry-content li ul li {
  font-weight: normal;
  margin-bottom: 0.2em;
}

.entry-content li {
  position: relative;
  padding-left: 1.2em; /* ドット用の左余白 */
  line-height: 1.6;
  margin-bottom: 0.2em; /* リスト間の余白を微調整 */
  color: #444;
}

.entry-content ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 2px;
  background-color: #008E1A;
  font-weight: 600;
}

.entry-content li > ul {
  margin: 0.3em 0 0.3em 1.5em; /* 字下げの幅を調整 */
}

.entry-content ul ul > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border: 1px solid #008E1A;
  border-radius: 50%;
  background-color: #fff;
  box-sizing: border-box;
}

.entry-content ul ul ul {
  margin: 0.2em 0 0.2em 1.2em;
}

.entry-content ul ul ul > li {
  padding-left: 0; 
  margin-bottom: 0.1em;
}

.entry-content ul ul ul > li::before {
  content: none; /* ドットを非表示 */
}

.entry-content li a {
  color: inherit;
  text-decoration: none;
}
.entry-content li a:hover {
  text-decoration: underline;
}



/* 共通コンテナ */
.site-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.site-container-full {
  width:100% !important;
  margin: 0 auto;
  padding: 40px !important;
}

.site-container-inside {
  max-width:100% ;
  margin: 20 auto 20 20;
  padding: auto;
  box-sizing: border-box;
}

/* (1) 全幅ブロック */
.layout-full-block {
  margin:10px 40px 60px 40px;
  line-height: 1.8;
}

/* (2) 2分割ブロック */
.layout-flex-2 {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 40px;
  margin-top:20px;
  justify-content: flex-start;
  background-color: rgba(255, 255, 255, 0); 
}


.layout-flex-2 .layout-col {
  flex: 0 0 calc(50% - 30px); 
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0); 
  z-index: 2;
}

.layout-flex-2 .layout-col.col-1-3 {
  flex: 0 0 calc(33.333% - 40px);
  display: block;        
  z-index: 3;
  text-align: center;
  padding-top: 20px;
  padding-left:20px;
}

.layout-flex-2 .layout-col.col-1-3 .maru-box {
  justify-content: center;
  vertical-align: middle;
  padding:15px;
  text-align:center;
  align-items: center;
}

.layout-flex-2 .layout-col.col-1-3 .maru-box img {
  vertical-align: middle;
  background-color: #fff;
}

.layout-flex-2 .layout-col.col-2-3 {
  flex: 0 0 calc(66.666% - 20px);
  padding-right:20px;
  padding-left:20px;
  z-index: 3;
}

.layout-flex-2 .layout-col img {
  width: 100%;       
  height: auto;      /* アスペクト比を維持 */
  display: flex;    
  max-width: 100%;   
}

.layout-flex-2 .layout-col .col-1-3 img,
.layout-flex-2 .layout-col .col-2-3 img  {
  width: 100%;       
  height: auto;      /* アスペクト比を維持 */
  display: block;    
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
}

.layout-col img,
.layout-card img {
  z-index: 20;
}



/* (3) 3分割製品ブロック（Flexbox） */
.layout-flex-3 {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: flex-start;
  background-color: rgba(255, 255, 255, 0); 
}

.layout-card {
  flex: 0 0 calc(33.333% - 30px); 
  display: flex;
  flex-direction: column;
  background: #fff;
  border-bottom: 1px solid #eee;
  transition: 0.3s;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, 0); 
  padding-right:10px;
}


@media (max-width:1200px) {
  .layout-flex-3 .layout-card{
    flex: 0 0 calc(50% - 20px); 
  }

}

@media (min-width:1200px) {
  .layout-flex-2 .layout-col.col-1-3 .maru-box {
    max-width: 300px !important;
  }


}
@media (max-width:950px) {
  .layout-flex-3 .layout-card{
    flex: 0 0 100%;
  }

  .layout-flex-2 .layout-col.col-1-3 {
    flex: 0 0 100%;
    vertical-align: center;
  }
  
  .layout-flex-2 .layout-col.col-2-3 {
    flex: 0 0 100%;
  }
  .layout-flex-2 .layout-col {
    flex: 0 0 100%;
  }
  .layout-flex-2 .layout-col.col-1-3 img,
  .layout-flex-2 .layout-col.col-2-3 img  {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .layout-flex-2 .layout-col.col-1-3 .maru-box {
    max-width:400px;
  }

}

@media (max-width: 768px) {
  .layout-card {
    flex: 0 0 100%;
  }
  .layout-col {
    flex: 0 0 100%;
  }

}

/* カード内部のデザイン */
.layout-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 1;
  overflow: hidden;
  will-change: transform;
  transition: 0.3s;
}

.layout-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: 0.3s; 
  display: block;
}
/* 画像マスク */
.mask {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100% + 2px);
  height: calc(100% + 2px);
  background-color: rgba(0, 0, 0, 0.6); /* 黒の60%透明 */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;             
  transition: 0.3s;       /* 0.3秒かけて変化 */
  z-index: 30;            
  pointer-events: none;   
}

.mask-text {
  color: #fff;
  font-weight: 300;
  font-size: 1.2rem;
  padding: 5px;
  transform: translateY(10px); /* 最初は少し下 */
  transition: 0.4s;
  text-align: center;
}

.layout-card-img:hover .mask {
  opacity: 1; /* 背景を表示 */
}

.layout-card-img:hover .mask-text {
  transform: translateY(0); /* 文字を元の位置に上げる */
}


.layout-card-img:hover {
  transform: scale(1.03); /* カード全体を大きくする */
}

.layout-card-body {
  flex-grow: 1; /* 高さを揃える */
  display: flex;
  flex-direction: column;
}

.layout-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #008E1A;
  margin: 0;
  line-height: 1.4;
  height: 2.8em; /* ガタつきを防止 */
  overflow: hidden;
  }


.layout-card-title-fa {
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center !important;
  color: #008E1A;
  line-height: 1.4;
  height: 2.8em; /* 2ガタつきを防止 */
  overflow: hidden;
  margin-top: 20px;
  padding: 5px auto auto 0px;
}

.layout-card-text {
  font-size: 1rem;
  margin-top: 10px !important;
  flex-grow: 1; /* ボタンの位置を下に押し下げる */
}


ul .layoutcard-text {
  margin: 3px auto;
}

/* 詳細情報ボタン（緑→オレンジ） */

.btn-container {
  display: flex;
  justify-content: center; 
  gap: 10px;               
  margin: 0;          
}

.btn-container .layout-btn-detail-min {
  margin-left: 0px !important;
  margin-bottom: 0px !important;
}

@media (max-width: 768px) {
  .btn-container {
    flex-direction: column; /* 横並びから縦並びに変更 */
  }
}



.layout-btn-detail {
  display: inline-block;
  background-color: #008E1A;
  color: #fff !important;
  text-align: center;
  padding: 12px;
  text-decoration: none !important;
  border-radius: 4px;
  transition: 0.3s;
  font-weight: bold;
}

/* 文字数に合わせるボタン（幅を広げない） */
.layout-btn-detail-min {
  display: block;    
  width: fit-content;
  margin: 20px auto;
  background-color: #008E1A;
  color: #fff !important;
  text-align: center;
  padding: 8px 20px;       
  text-decoration: none !important;
  border-radius: 4px;
  transition: 0.3s;
  font-weight: bold;       
  align-self: flex-start;   /* 親のflexの影響で横に伸びるのを防ぐ */
}


.layout-btn:hover,
.layout-btn-detail:hover,
.layout-btn-detail-min:hover {
  background-color: #ff9800;
  color: #fff !important;
}



.layout-btn-detail-min-right {
  display: inline-block;    
  width: fit-content;
  margin: 10px 0 0 0;
  background-color: #008E1A;
  color: #fff !important;
  padding: 8px 20px;       
  text-decoration: none !important;
  border-radius: 4px;
  transition: 0.3s;
  font-weight: bold;       
}

.layout-btn-detail-min-right:hover {
  background-color: #ff9800;
  color: #fff !important;
}



/* --------画像・テキストの2カラム（スマホで画像非表示）------------ */
.layout-media-block {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: flex-start; /* 上揃え */
  padding: 5px 10px 20px 10px;
}

.layout-media-body h4 {
  margin-top: 0;          
  border-bottom: 1px solid #008E1A;
  font-weight : 600;
  color: #008E1A;
  margin-bottom: 10px;
}

.layout-media-body .layout-btn-detail-min-right {
  margin: 15px 0 0 0; /* 右寄せ(margin-left: auto)を解除 */
}


/* 左側：
画像エリア */
.layout-media-img {
  flex: 0 0 250px; 
}
.layout-media-img img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  max-width: 250;
}

/* 右側：テキストエリア */
.layout-media-body {
  flex: 1; /* 残りの幅をすべて使う */
  display: flex;
  flex-direction: column;
}
.layout-media-block h4 {
  border-bottom: 1px solid #008E1A;
  font-weight : 600;
  color: #008E1A;
  margin-bottom:10px;
  padding-top: 10px;
}
.layout-media-block p {
  margin-top: 5px;
  margin-bottom: 5px;
  font-size: 0.95rem;
  color: #666;
}

@media (max-width: 700px) {
  .layout-media-img {
    display: block; 
  }
  .layout-media-block {
    display: block; /* フレックスを解除して通常のブロックに戻す */
  }
}



/* ---------------- TABLE ----------------------- */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid #333; 
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 10px auto 60px auto !important;
}

.spec-table th,
.spec-table td {
  padding: 1.2em 1em;
  border-bottom: 1px solid #e0e0e0; 
  text-align: left;
  vertical-align: top;
}

/* 項目名（左側）のスタイル */
.spec-table th {
  width: 30%;
  background-color: #f9f9f9;
  font-weight: 600;
  color: #444;
}

/* 2階層目のスタイル */
.spec-table tr.is-sub th {
  padding-left: 2.5em; 
  font-size: 0.85rem;
  font-weight: 500;
  color: #666;
  position: relative;
}

.spec-table tr.is-sub th::before {
  content: "";
  position: absolute;
  left: 1.5em;
  top: 1.5em;
  width: 8px;
  height: 8px;
  border-left: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

@media (max-width: 768px) {
  .spec-table, 
  .spec-table tbody, 
  .spec-table tr, 
  .spec-table th, 
  .spec-table td {
    display: block; /* 全てブロック要素にして縦に並べる */
    width: 100%;
  }

  .spec-table th {
    padding-bottom: 0;
    border-bottom: none; /* 項目名の下の線は消す */
    background-color: #f9f9f9;
  }

  .spec-table td {
    padding-top: 0.5em;
  }

  .spec-table tr.is-sub th {
    padding-left: 1.5em; 
  }
}

/* ニュースコンテナ */
.news-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* PC画面では横2分割 */
  column-gap: 40px; 
  row-gap: 0;       /* 上下の隙間なし */
  border-top: 1px solid #e0e0e0;
}

.news-card {
  display: flex;
  align-items: flex-start; /* 文字数が多い場合に画像を上部固定 */
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 24px 8px; 
  text-decoration: none;
  color: #333333;
  transition: background-color 0.3s ease; /
}

.news-card:hover {
  background-color: #f9f9f9; /
}

.news-thumbnail {
  position: relative;
  flex-shrink: 0;
  width: 100px;
  aspect-ratio: 1 / 1; 
  border-radius: 6px;
  overflow: hidden;
  background-color: #f5f5f5; 
}

.news-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像を枠に合わせてトリミング */
}

.news-thumbnail .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;             
  transition: 0.3s;       
  z-index: 10;            
  pointer-events: none;   
}

.news-card:hover .mask {
  opacity: 1;
}

.news-card:hover .mask-text {
  transform: translateY(0); 
}



/* news category */
.news-content {
  flex-grow: 1;
  margin-left: 20px;
  display: flex;
  flex-direction: column;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  flex-wrap: wrap; /* 画面が狭い時は折り返す */
}

.cat-margin {
  margin-bottom:10px;
}

.cat-margin-in-line {
  margin-left: 0px;
}

.news-category {
  font-size: 0.75rem; /* 12px相当 */
  font-weight: 500;
  padding: 2px 10px 4px 10px;
  border-radius: 4px;
  line-height: 1;
  vertical-align: middle;
  margin-left:5px;
}

.cat-notice { background-color: #008E1A; color: #ffffff;} /* お知らせ */
.cat-product { background-color: #d9534f; color: #ffffff; } /* 新製品: 赤系 */
.cat-recruit { background-color: #6c757d; color: #ffffff; } 
.cat-release { background-color: #0056b3; color: #ffffff; } 
.cat-event { background-color: #8fdd09; color: #333; } /* イベント: 黄緑系 */
.red { background-color: #d9534f; color: #ffffff; } /* 赤系 */
.gray { background-color: #6c757d; color: #ffffff; } /* グレー系 */
.green { background-color: #008E1A; color: #ffffff; } /* メインカラー */
.dark-blue { background-color: #0d3e88; color: #ffffff; }  /* 青系 */


.news-date {
  font-size: 0.875rem; /* 14px相当 */
  color: #666666;
}

.news-title {
  line-height: 1.6;
  font-weight: 400;
  margin: 0;
  margin-bottom: 12px; /* ★リンクとの間に余白を追加 */
}
.news-link {
  margin-top: auto; 
  align-self: flex-end; /* ★右寄せ */
  font-size: 0.875rem; /* 14px相当 */
  font-weight: 500;
  color: #008E1A;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.news-link h4 {
  font-size: 0.9rem;
  color: #666 !important;
}

.news-link::after {
  content: '>>'; 
  margin-left: 6px;
  color: #008E1A; 
  font-weight: bold;
  transition: transform 0.3s ease;
}

.news-card:hover .news-link {
  color: #ff9800;
  font-weight: 800;
}

.news-card:hover .news-link::after {
  transform: translateX(4px);
  color: #ff9800;
}

@media screen and (max-width: 1400px) {
  .site-container {
    padding: 0px 40px !important;
  }
}

@media screen and (max-width: 1150px) {
  .news-wrapper {
    grid-template-columns: 1fr; /* 1カラム（縦並び）に変更 */
  }
  .site-container {
    padding: 0px 40px !important;
  }

}

@media (max-width: 768px) {
  .site-container {
    padding: 0px 20px;
  }
}

@media screen and (max-width: 600px) {
  .news-card {
    padding: 16px;
  }
  
  .news-thumbnail {
    width: 100px; 
  }
  
  .news-content {
    margin-left: 16px;
  }
  
  .news-title {
    font-size: 0.9375rem; /* 15px相当 */
  }
}



/* ----------全幅box------------- */

.full-wide {
  margin-top:0px !important;
  height: auto; 
  margin-bottom:0px !important; 
  padding-top:30px !important;
  padding-bottom:30px !important;
  z-index: 0;
}

.full-wide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit; 
  background-size: cover;
  background-position: center;
  animation: zoomBg 6s ease-out forwards; 
}

.full-wide.over-green {
  background-color: rgba(29, 31, 26, 0.9) ;
  z-index: 0;
}

.full-wide.over-green::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(29, 31, 26, 0.9) ;
  z-index: 0;
}

.full-wide-bnr {
  margin-top:0px !important; 
  margin-bottom:0px !important; 
  position: relative;   /* 疑似要素の基準位置 */
  overflow: hidden;    /* はみ出した部分をカットオフ */
  min-height: 350px;   
  z-index: 0;
}


.full-wide-bnr::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: inherit;  /* 背景を親要素から引継 */  
  background-size: cover;
  background-position: center;
  animation: zoomBg 6s ease-out forwards; 
}

@keyframes zoomBg {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.12); }
  }


.full-wide-green {
  position: relative; 
  width: 100%; 
  height: auto;  
  padding-top: 30px;
  background-color: #e7f3e7;
  box-sizing: border-box;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  display: block;
  flex-wrap: wrap;
}


.full-wide-gray {
  position: relative; 
  width: 100%; 
  height: auto;  
  padding-top: 30px;
  background-color: #eee;
  box-sizing: border-box;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  display: flex;
}

.full-wide-dark {
  position: relative; 
  width: 100%; 
  height: auto;  
  padding-top: 30px;
  background-color: #333;
  box-sizing: border-box;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
  display: flex;
}

.full-wide-dark p,
.full-wide-dark li,
.full-wide-dark h1,
.full-wide-dark h2,
.full-wide-dark h5,
.full-wide-dark .h1-title,
.full-wide-dark .h5-title {
  color:#fff ;
}





.full-wide-box {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
}

@media (min-width: 1400px) {
  .full-wide-box {
    max-width: 1400px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}


/* ----------全幅Image------------- */
.full-wide-img { 
	position: relative; 
	width: 100vw;
	overflow: hidden; 
  background-position: center;
  background-color: #e7f3e7; 
  padding: 40px 20px; 
  box-sizing: border-box;
  margin-bottom: 0px !important;
} 

.full-wide-img-600 { 
	position: relative; 
	width: 100%; 
	min-height: 600px; 
	overflow: hidden; 
  background-position: center;
  background-color: #e7f3e7; 
  padding: 60px 20px; 
  box-sizing: border-box;
  margin-bottom: 0px !important;
}

.full-wide-img-relative { 
  position: relative; 
  width: 100%; 
  background-size: cover; /* 子要素に合わせ伸縮 */
  background-repeat: no-repeat; 
  background-position: center center;
  overflow: hidden; 
  box-sizing: border-box;
}

.full-wide-img-repeat {
    width: 100%;
    min-height: 600px;        
    height: auto;    
    background-repeat: repeat; 
    background-position: top left;
    background-color: #ddd;
    display: flex;            
    align-items: center; 
    justify-content: center; 
    padding: 40px 0;   
    box-sizing: border-box;
}

.full-wide-img-repeat .full-wide-img-contents {
    position: relative;  
    top: auto;
    left: auto;
    transform: none;    
    width: calc(100% - 40px); 
    max-width: 1200px;
    padding: 0;
    box-sizing: border-box;
    z-index: 10;
}



.full-wide-form { 
	position: relative; 
	width: 100%; 
	height: auto;
  min-height:1500px; 
	overflow: hidden; 
  background-color: #EAEAE9; 
}

.full-wide-form img {
  width: 100%;
  height:100%; 
  object-fit: cover;
}

.full-wide-img-contents,
.full-wide-form-contents {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 真中に固定 */
  width: calc(100% - 120px); /* 左右の余白 */
  max-width: 1200px;
  padding:30px;
  z-index: 10;
}

.full-wide-img-contents h2,
.full-wide-form-contents h2{
  color:#fff;
  font-size: clamp(1.5rem, 4vw, 3rem);
  text-shadow: 2px 2px 10px rgba(65, 65, 65, 0.8); /* 影 */
}

.full-wide-img-contents h3,
.full-wide-img-form h3
{
  color:#fff;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.5); /* 影 */
}

@media (max-width: 768px) {
  .full-wide-img,
    .full-wide-form  {
    height: auto;      
    min-height: 400px;  
    display: flex;         
    flex-direction: column; /* 縦並びに強制 */
    position: relative;     /* absoluteの基準は維持 */
  }

  .full-wide-img img,
  .full-wide-form img {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;  
  }

  .full-wide-img-contents,
  .full-wide-form-contents {
    position: relative; 
    z-index: 10;  
    transform: none;       /* 中央配置解除 */
    top: 0;
    left: 0;
    width: 100%;   
    box-sizing: border-box; /* paddingを含めた幅計算 */
    padding: 40px 20px;  
  }
  
  .layout-flex-2 {
    gap: 20px; 
    width: 100%;
  }
  
  .layout-flex-2 .layout-col {
    flex: 0 0 100%; 
    margin-left:auto;
    margin-right:auto;
  }

  .layout-flex-2 .layout-col.col-1-3 img,
  .layout-flex-2 .layout-col.col-2-3 img  {
    flex: 0 0 100%; 
    margin-left:auto;
    margin-right:auto;
    align-items: center !important;
  }
}

.img-fit-box img {
  width: 100%;
  height: 100% ;
  object-fit: contain; 
}


/* flex-4 */
.layout-flex-4 {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.layout-cell {
  box-sizing: border-box;
  width: 25%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* 原則として上付 */
  padding: 15px;
}

.layout-cell.val-center {
  justify-content: center;  
}

.layout-cell.val-bottom {
  justify-content: flex-end; 
}


/* リンク全体の共通設定（マスクのベース） */
.cell-link-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  text-decoration: none;
  z-index: 20; 
}

.cell-link-mask::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.6); 
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1; 
}

.cell-link-mask .layout-mask-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 確実に上下左右中央に配置 */
  color: #ffffff !important;
  font-size: 16px;
  font-weight: bold;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2; 
}

.cell-link-mask:hover::before,
.cell-link-mask:hover .layout-mask-text {
  opacity: 1 !important; 
}


.maru-box-inner {
  width: 100%;
  aspect-ratio: 1 / 1;  
  border-radius: 40px;
  overflow: hidden; 
  display: block;
}

.maru-box-inner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media screen and (max-width: 980px) {
  .layout-cell {
    width: calc(100% / 3);
  }
}

@media screen and (max-width: 700px) {
  .layout-cell {
    width: 50%;
  }
}

@media screen and (max-width: 450px) {

.layout-mask-text {
  white-space: normal;
}
.layout-mask-text p,
.layout-mask-text span {
  font-size: 10px !important;
}
}