@charset "UTF-8";

/* 開花情報ページ */

body.page-template-page-kaikainfo #header-title h1 {
  display: none;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  color: #54A35D;
}

.section-sub-title {
  display: block;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #54A35D;
}

.section-explain {
  text-align: center;
  margin-top: 30px;
  font-weight: 500;
}

/* 見ごろの植物たち */

.migoro-slider-container {
  position: relative;
  overflow: visible;
  margin-top: 60px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 20px;
  overflow: hidden;
}

.migoro-slider {
  padding: 0 50px;
}

.migoro-slide-item {
  padding: 0 8px;
}

.migoro-slide {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease;
  text-align: center;
}

.migoro-slide:hover {
  transform: translateY(-10px);
  text-decoration: none;
}

.migoro-slide-img-wrap {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.migoro-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.migoro-slide h4 {
  margin: 0 0 15px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.migoro-detail-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: white;
  color: #333;
  border: 1px solid #E6E6E6;
  border-radius: 4px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.migoro-detail-icon {
  width: 14px !important;
  height: 14px !important;
}

.migoro-slide:hover .migoro-detail-icon {
  transform: none !important;
}

.migoro-more-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 60px;
  padding: 0 20px;
}

.migoro-more-buttons .more-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  max-width: 100%;
  padding: 20px 60px 20px 54px;
  background: #4a9d5f;
  color: white;
  border-radius: 100px;
  font-size: 14px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.more-btn:visited {
  color: white;
}

.more-btn span {
  text-align: center;
  flex: 1;
}

.more-btn-icon {
  position: absolute;
  right: 20px;
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.more-btn:hover {
  background: #3d8450;
  text-decoration: none;
}

.more-btn:hover .more-btn-icon {
  transform: translateX(4px);
}

#main-contents.kaikainfo-contents {
  overflow: hidden;
}

/* Slickのカスタマイズ */
.migoro-slider .slick-list {
  overflow: visible;
}

.migoro-slider .slick-track {
  display: flex;
  align-items: center;
}

.migoro-slider .slick-slide {
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.migoro-slider .slick-slide.slick-active {
  opacity: 1;
}

.migoro-slider .slick-dots,
.migoro-slider .slick-prev,
.migoro-slider .slick-next,
.migoro-slider .slick-prev:before,
.migoro-slider .slick-next:before {
  display: none !important;
}

/* 年間開花カレンダー（春夏秋冬） */

.yearly-calendar-section {
  margin: 120px 0;
}

.season-section {
  margin: 60px 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.season-section h4 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
}

.season-plant-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  align-items: start;
}

.season-plant-item {
  text-align: center;
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* min-height: 360px; */
  display: flex;
  flex-direction: column;
  align-self: start;
  height: auto;
}

.season-plant-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 5px;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.season-plant-item .plant-title {
  display: block;
  font-size: 16px;
  line-height: 1.4;
  font-weight: bold;
  padding: 0 18px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

/* 年間開花カレンダー - アンカーリンク */
.season-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0;
}

.season-link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 120px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.season-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}


.season-link-spring {
  background-image: url('../images/kaikainfopage/bg-spring-anchor.jpg');
}

.season-link-summer {
  background-image: url('../images/kaikainfopage/bg-summer-anchor.jpg');
}

.season-link-autumn {
  background-image: url('../images/kaikainfopage/bg-autumn-anchor.jpg');
}

.season-link-winter {
  background-image: url('../images/kaikainfopage/bg-winter-anchor.jpg');
}

/* 背景を暗くするオーバーレイ */
.season-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease;
}

.season-link:hover::before {
  background: rgba(0, 0, 0, 0.4);
}

.season-link-text {
  position: relative;
  z-index: 1;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}

.season-link:hover .season-link-text {
  text-decoration: none;
}

.season-link-arrow {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.season-link:hover .season-link-arrow {
  transform: translateY(-3px);
}


/* 季節セクションヘッダー */
.season-header {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 8px;
  margin-bottom: 30px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 各季節の背景画像（適切な画像パスに変更してください） */
.season-header-spring {
  background-image: url('../images/kaikainfopage/bg-spring-header.jpg');
}

.season-header-summer {
  background-image: url('../images/kaikainfopage/bg-summer-header.jpg');
}

.season-header-autumn {
  background-image: url('../images/kaikainfopage/bg-autumn-header.jpg');
}

.season-header-winter {
  background-image: url('../images/kaikainfopage/bg-winter-header.jpg');
}

.season-header-inner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 1;
  width: 100%;
}

.season-header h4 {
  color: white;
  font-size: 36px;
  margin: 0 0 -4px 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.season-subtitle {
  display: block;
  color: white;
  font-size: 18px;
  font-weight: 500;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* 植物情報表示 */

/* アコーディオンボタン */
.plant-toggle-btn {
  display: block;
  width: 100%;
  margin-top: 4px;
  margin-bottom: 10px;
  padding: 10px;
  background: transparent;
  border: none;
  color: #B1B1B1;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  text-align: center;
}

.plant-toggle-btn:hover {
  color: #54A35D;
}

.plant-toggle-btn.active {
  color: #54A35D;
}

.plant-toggle-btn.active:hover {
  color: #B1B1B1;
}

.plant-detail-content-pre {
  text-align: left;
  width: 100%;
}

/* アコーディオンコンテンツ */
.plant-detail-content {
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.plant-detail-content.active {
  display: block;
  max-height: 1000px;
}

/* 基本情報と詳細情報の区別 */
.plant-basic-info {
  margin-top: 8px;
}

.plant-detail-content .plant-info {
  margin-top: 8px;
}

.plant-info {
  margin-top: 8px;
  font-size: 12px;
  text-align: left;
  padding: 5px 18px;
}

.plant-info-label {
  font-weight: bold;
  color: #54A35D;
  display: inline-block;
  margin-right: 5px;
}

.plant-info-value {
  color: #333;
  display: inline-block;
}

.plant-description {
  margin-top: 10px;
  margin-bottom: 10px;
}

.plant-description .plant-info-label {
  display: block;
  margin-bottom: 5px;
}

.plant-description .plant-info-value {
  display: block;
  line-height: 1.6;
  color: #666;
}