@charset "UTF-8";

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

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

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

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

/*グローバルナビを右寄せ*/
#navi ul {
  display: flex;
  justify-content: flex-end;
}

/* ヘッダー上部に背景を追加 */
#navi::before {
  content: "";
  display: block;
  width: 100%;
  height: 80px; /* イラストの高さ */
  background: url('https://www.vege-labo.com/wp-content/uploads/2025/10/il_fruits.png') no-repeat center top;
  background-size: contain; /* または cover */
}



/* タイトルを中央寄せ */
.pickup-title {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.pickup-title h2 {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

/* タイトル下のライン */
.pickup-title::after {
  content: "";
  display: block;
  width: 60px;          /* ラインの長さ */
  height: 3px;          /* ラインの太さ */
  background-color: #ff6600;  /* ラインの色 */
  margin: 8px auto 0;   /* 上下の余白と中央寄せ */
  border-radius: 2px;
}

/* ピックアップコンテンツの横並び */
.pickup-contents {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  margin-top: 15px;
}

/* 各アイテム */
.pickup-item {
  width: 23%; /* 4列に並べる */
  text-align: center;
}

.pickup-item img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 8px;
}

.pickup-item span {
  display: block;
  font-size: 0.95em;
  color: #333;
  font-weight: bold;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .pickup-item {
    width: 100%;
  }
  .pickup-title {
    font-size: 1.5em;
  }
}



/* ヘッダー下に動画を追加 */
.header-video {
  max-width: 1000px;   /* 横幅を1000pxに制御 */
  margin: 20px auto;   /* 中央寄せ */
}

.header-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px; /* 任意で角丸 */
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); /* 任意で影 */
}


/* ナビゲーション全体を横並びにする */
#navi-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴとサイト名をナビ左に追加するためのボックス */
.navi-logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ロゴ画像 */
.navi-logo-area img {
  height: 40px;
  width: auto;
}

/* サイト名 */
.navi-logo-area .site-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

/* メニューを右寄せ */
#navi ul {
  margin-left: auto;
  display: flex;
  align-items: center;
}




/* ===== EVENTセクション ===== */
.event-section {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid #ddd;
}

.event-section .inner {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.event-title-area {
  margin-bottom: 50px;
}

.event-title .en {
  font-size: 32px;
  font-weight: bold;
  color: #3a7a3d;
  letter-spacing: 3px;
}

.event-title .jp {
  font-size: 20px;
  color: #333;
  margin-left: 10px;
}

.event-title-line {
  width: 60px;
  height: 2px;
  background: #3a7a3d;
  margin: 15px auto 0;
}

.event-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 50px;
}

/* 幅を調整して3列に */
.event-item {
  width: calc(33.333% - 20px); /* 3列にするため幅を調整 */
  margin-bottom: 30px; /* 下の間隔 */
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  text-align: left;
}

.event-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.event-thumb img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.event-content {
  padding: 20px;
}

.event-date {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.event-item-title {
  font-size: 18px;
  color: #333;
  font-weight: bold;
  margin-bottom: 10px;
}

.event-excerpt {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.6;
}

.event-more {
  font-size: 13px;
  color: #3a7a3d;
  font-weight: bold;
}

.event-btn-area {
  text-align: center;
}

.event-btn {
  display: inline-block;
  background: #3a7a3d;
  color: #fff;
  padding: 12px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.event-btn:hover {
  background: #2f6231;
}

.no-event {
  color: #777;
  font-size: 15px;
}

/* レスポンシブ */
@media screen and (max-width: 1024px) {
  .event-item {
    width: calc(50% - 15px); /* タブレットでは2列 */
  }
}

@media screen and (max-width: 768px) {
  .event-item {
    width: 100%; /* スマホでは1列 */
  }
}

/* ===== NEWSセクション ===== */
.news-section {
  background: #fff;
  padding: 80px 0;
  border-top: 1px solid #ddd;
}

.news-title-area {
  text-align: center;
  margin-bottom: 40px;
}

.news-title .en {
  font-size: 32px;
  font-weight: bold;
  color: #3a7a3d;
  letter-spacing: 3px;
}

.news-title .jp {
  font-size: 20px;
  color: #333;
  margin-left: 10px;
}

.news-title-line {
  width: 60px;
  height: 2px;
  background: #3a7a3d;
  margin: 10px auto 0;
}

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-item {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.news-item a {
  display: flex;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.news-thumb img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 15px;
}

.news-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-date {
  font-size: 13px;
  color: #999;
  margin-bottom: 5px;
}

.news-title-text {
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

.news-btn-area {
  text-align: center;
  margin-top: 30px;
}

.news-btn {
  display: inline-block;
  background: #3a7a3d;
  color: #fff;
  padding: 12px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.news-btn:hover {
  background: #2f6231;
}

/* レスポンシブ */
@media screen and (max-width: 768px) {
  .news-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .news-thumb img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }
}


/* アクセスマップ全幅対応 */
.access-map iframe {
  width: 100% !important;  /* 親コンテナ幅いっぱいに広げる */
  max-width: 100% !important;
  height: 400px;           /* 高さは必要に応じて調整 */
  border: 0;
}



/* フッターSNSリンク */
.footer-sns-links {
  text-align: center;
  padding: 30px 0;
  background: #f5f5f5; /* フッター背景色に合わせる */
}

.footer-sns-links .sns-link {
  display: inline-flex;
  align-items: center;
  margin: 0 15px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-sns-links .sns-link img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.footer-sns-links .sns-link:hover {
  opacity: 0.8;
}

/* 作物紹介レイアウト（生成り色の背景） */
.crop-item {
  background: #faf8f2; /* 生成り色 */
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  text-align: center;
}
/* メイン画像 */

.crop-item img {
  width: 100%;
  max-width: 80%; /* 画像の最大幅 */
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 15px; /* 文章との間隔 */
}

.crop-content h3 {
  margin: 0 0 10px 0;
  font-size: 1.6em;
  color: #333;
  background: none; /* 背景色なし */
}

.crop-content p {
  line-height: 1.7;
  color: #555;
}

/* スマホ対応 */
@media (max-width: 768px)

/* 品種リスト */
.crop-varieties {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  justify-content: flex-start;
}
/* 品種名 */
.crop-variety span {
  display: block;
  text-align: center;
  font-size: 1em;
  color: #333;
}

/* 品種名の下に余白 */
.crop-variety .variety-name {
  display: block;
  margin-top: 5px;
  font-weight: bold;
  font-size: 1.2em;
  text-align: center;
}

/* 品種リストを縦1列にして中央寄せ */
.crop-varieties {
  display: flex;
  flex-direction: column; /* 縦並び */
  align-items: center;    /* 中央寄せ */
  gap: 20px;              /* アイテム間のスペース */
}
/* 品種画像 */
.crop-variety img {
  width: 90%;            /* カード幅に合わせる */
  height: auto;
  margin-top: 50px;
  border-radius: 8px;
}

/* 説明文を画像幅と同じに */
.variety-description {
  display: block;
  width: 80%;            /* 親の幅に合わせる */
  margin: 5px auto 0 auto;
  font-size: 0.9em;
  color: #555;
  line-height: 1.4;
}


/* 作物カードを縦1列に */
.front-feature-boxes,  /* ホームの横並びボックス */
.crop-varieties,       /* 作物の品種リスト */
.crops-container {     /* もし親コンテナがこのクラスなら */
  display: block !important; /* 横並びを解除 */
}

/* スマホ対応 */
@media (max-width:768px) {
  .crop-variety {
    width: 45%;
  }
}

/* --- 施設情報セクション --- */
.access-info {
  border-radius: 12px;
  padding: 40px 30px;
  margin: 40px 0;
  text-align: center;
}

.access-info h2 {
  font-size: 1.6rem;
  color: #3b3b3b;
  margin-bottom: 20px;
  border-bottom: 2px solid #c7b98c;
  display: inline-block;
  padding-bottom: 5px;
}

.access-info p {
  margin: 8px 0;
  line-height: 1.7;
  font-size: 1.05rem;
}

.page-access {
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  color: #333;
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.page-access h1 {
  font-size: 2.2rem;
  text-align: center;
  font-weight: bold;
  margin-bottom: 0.2em;
}

.page-access .subtitle {
  text-align: center;
  color: #888;
  margin-bottom: 2.5em;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.page-access .access-map {
  width: 100%;
  margin-bottom: 3em;
}

.page-access section {
  margin-bottom: 2.5em;
}

.page-access h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5em;
  border-left: 5px solid #8ac14b;
  padding-left: 0.6em;
}

.page-access p {
  margin-bottom: 0.6em;
}

/* ▼ 2カラムレイアウト設定 ▼ */
/* アクセス2カラムレイアウト */
.access-columns {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  justify-content: space-between;
  align-items: flex-start;
  margin: 40px 0;
}

.access-column {
  flex: 1 1 45%;
  padding: 25px;
  border-radius: 10px;
}

.access-column h3 {
  font-size: 1.3rem;
  color: #555;
  margin-bottom: 0.8em;
}

/* ▼ スマホ対応 ▼ */
@media (max-width: 768px) {
  .access-columns {
    flex-direction: column;
  }
  .access-column {
    flex: 1 1 100%;
  }
}

/* 施設案内 */
.facility-circle-links {
  text-align: center;
  padding: 80px 20px;
  background: #fff;
}

/* タイトル */
.facility-circle-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 50px;
  line-height: 1.4;
}
.facility-circle-title span {
  font-size: 1rem;
  color: #666;
}

/* 丸いリンク部分 */
.facility-circle-items {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
}

/* 各丸リンク */
.facility-circle-item {
  text-align: center;
  transition: transform 0.3s ease;
}
.facility-circle-item img {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.facility-circle-item p {
  margin-top: 15px;
  font-size: 1.1rem;
  font-weight: bold;
  color: #333;
}

/* ホバー時 */
.facility-circle-item:hover img {
  transform: scale(1.05);
  border-color: #89c13b; /* 緑などに変更可能 */
}
.facility-circle-item:hover p {
  color: #89c13b;
}
