/* フォント読み込み（Google Fonts使用） */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&family=Helvetica&display=swap');

/* ベーススタイル */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "palt";
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: #555555;
  background-color: #ffffff;
  padding-top: 80px; /* メニューの高さに応じて調整 */
}
.en-title {
  font-family: "Poppins", sans-serif;
  color: #bf1a20;
  font-weight: 500;
}

.jp-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
}
/* 汎用見出し */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin: 1em 0 0.5em;
  line-height: 1.4;
}
h2 {
  position: relative;
  padding: .8rem .5rem;
}

h2:before,
h2:after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  content: '';
  background-image: -webkit-gradient(linear, right top, left top, from(#30cfd0), to(#330867));
  background-image: -webkit-linear-gradient(right, #30cfd0 0%, #330867 100%);
  background-image: linear-gradient(to left, #30cfd0 0%, #330867 100%);
}

h2:before {
  top: 0;
}

h2:after {
  bottom: 0;
}

/* 段落・リンク */
p {
  margin: 0 0 1em;
}
a {
  color: #777777;
  text-decoration: none;
}
/*
a:hover {
  text-decoration: none;
}
*/
a:hover img {
  opacity: 0.8;
}
/* レスポンシブ画像 */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 見た目確認用の簡易パーツ */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1em;
}

.container2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
}

/**********************************
/* ヘッダー全体 */
.site-header {
  position: fixed;
  background-color: #ffffff;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 110px;
  display: flex;
  align-items: center;
  opacity: 0.9;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1em;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ画像 */
.logo {
  display: flex;
  align-items: center;
  height: 80px;
  position: relative;
}

.logo-img {
  height: 80%;
  max-height: 70px;
  vertical-align: middle;
  position: relative;
  top: -15px; /* ← ここで上方向にずらします（5%相当） */
}

/* ナビゲーション */
.gnav-list {
  list-style: none;
  display: flex;
  gap: 0.5em;
  margin: 0;
  padding: 0;
}
.gnav-list li a {
  position: relative;
  color: #444444;
  text-decoration: none;
  transition: color 0.3s ease;
}
.gnav-list li a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #cccccc;
  transition: width 0.3s ease;
}
.gnav-list li a:hover {
  color: #cccccc;
}
.gnav-list li a:hover::after {
  width: 100%;
}
.gnav-list li a img {
  transition: opacity 0.3s ease; /* フェードの速度と滑らかさ */
}

.gnav-list li a:hover img {
  opacity: 0.8; /* ホバー時に透明度を下げる */
}

/* アイコン表示 */
.icon {
  font-size: 1.1em;
}

.has-submenu {
  position: relative;
}
.has-submenu > a::after {
  content: "";
  font-size: 0.6em;
  margin-left: 0.4em;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #455065;
  border: 1px solid #637591;
  padding: 0.5em 0;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 999;
}

.submenu li {
  list-style: none;
}
.submenu li a {
  display: block;
  padding: 0.6em 1.2em;
  color: #eeeeee;
  font-size: 0.9rem;
  white-space: nowrap;
}
.submenu li a:hover {
  background-color: #2e3849;
  color: #cccccc;
}

.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}
/* ハンバーガーメニュー */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: rgba(191, 26, 32, 0.9);
  border: 1px solid #7b292d;
  border-radius: 10%;
  cursor: pointer;
  z-index: 10001;
  position: relative;
  margin: 0% 0% 0% 0%;
}
.menu-toggle span {
  display: block;
  width: 5px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  width: 60%;
  margin: 0% 0% -10% 4.5%;
}
.menu-toggle.open span:nth-child(2) {
  transform: rotate(-45deg);
  width: 60%;
  margin: -10% 4.5% 0% 0%;
}
.menu-toggle.open span:nth-child(3) {
  display: none;
}

.menu-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 51, 51, 1);
  z-index: 10000;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-sizing: border-box;
  padding: 0% 10% 0% 0%;
}
.menu-screen.open {
  transform: translateY(0);
}
.menu-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #eeeeee;
  border-radius: 10%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.menu-close span {
  color: #eeeeee;
  font-size: 24px;
  line-height: 1;
}
.menu-screen-list {
  width: 100%;
  list-style: none;
  padding: 0;
  margin-top: 40px;
}
.menu-screen-list li {
  margin: 18px 0px 18px 0px;
}
.menu-screen-list li a {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
}
.menu-screen-list li a i {
  margin-right: 0.6em;
}
.menu-screen-list hr {
  border: none;
  border-bottom: 1px solid #666666;
  margin: 6px 0;
  width: 100%;
}

.menu-sns {
  display: flex;
  gap: 14px;
  margin: 0px 10px 0px 20px;
}
.menu-sns a {
  color: #fff;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.menu-sns2 {
  display: flex;
  gap: 14px;
  margin: 0px 10px 0px 20px;
}
.menu-sns2 a {
  color: #000000;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.menu-brand {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 10px 0px 0px 20px;
  opacity: 0.7;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
    position: static;
    margin-left: auto;
  }
  .menu-toggle span {
    width: 70%;
    height: 3px;
  }
}

@media (max-width: 768px) {
  .menu-screen-list {
    padding: 20px;
    margin-top: 60px; /* トグルを避けるため適宜調整 */
  }
  .menu-screen-list li a {
    font-size: 1.1rem;
    line-height: 1.5;
  }
}

@media (max-width: 768px) {
  .gnav-list {
    display: none;
  }
}

@media (min-width: 769px) {
  .menu-toggle,
  .menu-screen {
    display: none;
  }
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12  {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
  float: left;
  padding: 0% 0% 0% 0%;
}
.col-12 {
  width: 100%;
}
.col-11 {
  width: 91.66666667%;
}
.col-10 {
  width: 83.33333333%;
}
.col-9 {
  width: 72%;
}
.col-8 {
  width: 66%;
}
.col-7 {
  width: 58.33333333%;
}
.col-6 {
  width: 47%;
}
.col-5 {
  width: 41.66666667%;
}
.col-4 {
  width: 31%;
}
.col-3 {
  width: 25%;
}
.col-2 {
  width: 16.66666667%;
}
.col-1 {
  width: 8.33333333%;
}

.blank {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
  float: left;
}
.blank {
  float: left;
  padding: 0% 0% 0% 0%;
}

.blank {
  width: 4%;
}

@media screen and (max-width: 768px) {
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .blank {
    width: 100%;
  }
}

.news-text {
  text-align: center; /* デフォルトはPC（大きな画面）向けに中央揃え */
}
@media screen and (max-width: 768px) {
  .news-text {
    text-align: left; /* スマホでは左揃え */
  }
}

/* トップへ戻るボタン */
.back-to-top {
  position: fixed;
  bottom: 50px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #000000;
  color: white;
  font-size: 16px;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  text-decoration: none;
  background-color: #245825;
}

.footer {
  background-color: #bf1a20;
  padding: 20px 20px;
  text-align: center;
}

.footer__copyright {
  color: #ffffff;
  font-size: 14px;
  margin: 0;
}

.bg-full-image {
  background-image: url("../images/back_kinen.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
  min-height: 100%;
  display: block;
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-up.active {
  opacity: 1;
  transform: translateY(0);
}

.banner {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.banner img {
  display: block;
}

/* オーバーレイ初期状態 */
.banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff; /* 色はお好みで */
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

/* hoverでオーバーレイがふわっと出る */
.banner:hover .overlay {
  opacity: 0.3; /* ← お好みで調整。0.8はかなり濃いので */
}

.new {
  font-size: 120%;
  font-weight: bold;
  position: relative;
  top: -2px;
}
/*
.new::before {
  content: url("../images/new.png");
  width: 25px;
  height: 25px;
  margin: 0px 10px 0px 0px;
  vertical-align: top;
  position: relative;
  top: 5px;
}
*/

#gaiheki::before { display: block; height: 8rem; margin-top: -6rem; content: ""; }
#gaiso::before { display: block; height: 8rem; margin-top: -6rem; content: ""; }
#fukikae::before { display: block; height: 8rem; margin-top: -6rem; content: ""; }
#gaiko::before { display: block; height: 8rem; margin-top: -6rem; content: ""; }
#cha00::before { display: block; height: 9rem; margin-top: -6rem; content: ""; }

.box1 {
    padding: 0.5em 1em;
    margin: 0px 0px 3% 0px;
    font-size: 120%;
    font-weight: bold;
    color: #347fe4;/*文字色*/
    background: #FFF;
    border: solid 3px #6091d3;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.box2 {
    margin: 0px 0px 0px 0px;
    font-size: 110%;
    color: #222222;/*文字色*/
    background: #FFF;
    border: solid 1px #aaaaaa;/*線*/
    border-radius: 5px;/*角の丸み*/
}
.box3{
	font-size: 110%;
    margin:2em 0;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 2px #cccccc;
    border-bottom: solid 2px #cccccc;
}
.box3:before, .box3:after{
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: #cccccc;
}
.box3:before {left: 10px;}
.box3:after {right: 10px;}
.box3 p {
    margin: 0; 
    padding: 0;
}
.box_news{
	font-size: 100%;
    padding: 1em 1em;
    margin: 2em 0;
    border: solid 1px #cccccc;
}

.asterisk-list {
  list-style-type: none;   /* 黒丸を消す */
  padding-left: 1.5em;     /* ← インデントを復活させる */
}

.asterisk-list li::before {
  content: "※";           /* 頭に※を追加 */
  color: #666666;              /* 必要なら色指定 */
  position: absolute;       /* インデントの調整用 */
  margin-left: -1.0em;      /* 左にずらして配置 */
}
.midashi1 {
  font-size: 120%;
  font-weight: bold;
  line-height: 200%;
  background: linear-gradient(transparent 92%, #bf1a20 92%);
  margin: 0px 0px 10px 0px;
}
.midashi2 {
  font-size: 115%;
  font-weight: bold;
  background: #fadbda;
  box-shadow: 0px 0px 0px 5px #fadbda;
  border: solid 1px #bc565a;
  padding: 0.4em 0.5em;
  color: #bf1a20;
  line-height: 140%;
}

.hr1 {
  height: 1px;
  border: none;
  border-top: 1px #aaaaaa solid;
}
.hr2 {
  border: none;
  border-top: 3px dotted #bc565a;
  
}
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider img {
  display: block;
  width: 100%;
  height: auto; /* ← 高さを成り行きにする */
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.slider img.active {
  opacity: 1;
  z-index: 1;
  position: relative; /* ← 表示画像だけ通常の流れで表示 */
}

.video-wrapper {
  width: 100%;
  overflow: hidden;
}

.video-wrapper video {
  width: 100%;
  height: auto; /* ← 高さは自動（成り行き） */
  display: block;
}

/*外部サイトのサムネイルの天地を強制操作*/
.agrifact-thumb {
  width: 100%;
  height: 160px;             /* ← お好みで調整：例えば 180px / 220px でもOK */
  overflow: hidden;
  border-radius: 10px;
}

.agrifact-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* 画像中心を起点にトリミング */
  object-position: center;   /* 中央寄せ */
  transition: opacity 0.25s ease;
}

.agrifact-card:hover .agrifact-thumb img {
  opacity: 0.5;
}

/*グレーのリンクボタン*/
.link-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 91%;                 /* 横幅（必要に応じて変更） */
  background: #bf1a20;          /* ボタン背景色 */
  color: #fff;                  /* 文字色 */
  padding: 12px 16px;
  margin: 8px 0;
  border-radius: 10px;           /* 角丸：画像通りなら4px前後 */
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s ease, color 0.2s ease;
  font-weight: bold;
}

/* 右側の矢印 */
.link-btn::after {
  content: "＞";
  font-weight: bold;
  color: #fff;
  transition: transform 0.2s ease, color 0.2s ease;
}

/* hover 時の動き */
.link-btn:hover {
  background: #e1373d;          /* 少し濃く */
  color: #ffffff;             /* テキストをほんのり薄く */
}

.link-btn:hover::after {
  color: #ffffff;
  transform: translateX(4px);   /* 矢印を右にスライドさせる */
}

.kadomaru {
  border-radius: 10px; 	
  background: #ffffff;
}
span.under_line {
  background: linear-gradient(transparent 60%, #ffff00 60%);
  font-size: 1.0em;
  font-weight: bold;
  text-shadow: 1px 1px 1px #fff;
}

.footer_sns{
  display:flex;
  gap:14px;
  margin-top:20px;
}

.footer_sns a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:32px;
  background:#222;
  border-radius:8px;
  text-decoration:none;
}

.footer_sns i{
  font-family:"Font Awesome 6 Brands" !important;
  font-weight:400 !important;
  font-style:normal;
  font-size:20px;
  line-height:1;
  color:#fff;
}

.floating-contact {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 共通 */
.fc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: bold;
    box-sizing: border-box;
    transition:
        transform 0.22s ease,
        opacity 0.22s ease,
        box-shadow 0.22s ease;
}

/* PC版 */
.fc-btn {
    width: 58px;
    height: 170px;
    border-radius: 14px 0 0 14px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,0.14);
}

.fc-btn .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 1;
    display: block;
    width: 22px;
    height: 22px;
}

.fc-btn .label {
    display: inline-block;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* ホバー時は少しだけ拡大 */
.fc-btn:hover {
    transform: scale(1.04);
    opacity: 0.96;
    box-shadow: 0 8px 20px rgba(0,0,0,0.18);
}

/* 色 */
.fc-mail {
    background: #bf1a20;
    color: #fff;
}

.fc-line {
    background: #05c755;
    color: #fff;
}

.fc-instagram {
    background: linear-gradient(135deg,
        #f58529,
        #dd2a7b,
        #8134af,
        #515bd4
    );
    color: #fff;
}

/* スマホ版 */
@media screen and (max-width: 768px) {
    .floating-contact {
        right: 0;
        left: 0;
        bottom: 0;
        top: auto;
        transform: none;
        width: 100%;
        flex-direction: row;
        gap: 0;
    }

    .fc-btn {
        flex: 1;
        width: auto;
        height: 64px;
        border-radius: 0;
        writing-mode: horizontal-tb;
        text-orientation: initial;
        text-align: center;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.12);
        font-size: 14px;
        padding: 0 8px;
    }

    .fc-btn .icon {
        margin-bottom: 0;
        margin-right: 8px;
        font-size: 18px;
    }

    .fc-btn .label {
        line-height: 1;
        letter-spacing: 0.02em;
    }

    .fc-btn:hover {
        transform: scale(1.02);
    }

    .fc-mail {
        border-radius: 16px 0 0 0;
    }

    .fc-instagram {
        border-radius: 0 16px 0 0;
    }
}
/* スマホ最適化 */
@media screen and (max-width: 768px) {
    .fc-btn {
        width: 60px;
        height: 40px;
        font-size: 12px;
    }
}

/*スマホ*/
.pc{ display: none; }
.sp{ display: block; }

/*1025px〜 PC*/
@media screen and (min-width:1025px) {
.pc{ display: block; }
.sp{ display: none; }
}

/*768px〜1024px TABLET*/
@media screen and (min-width:768px) and (max-width:1025px) {
.pc{ display: block; }
.sp{ display: none; }
}

/*480px〜 SURFACE*/
@media screen and (min-width:480px) {
.pc{ display: block; }
.sp{ display: none; }
}

