@charset "UTF-8";


/*  
	設計のポイント
	クラス命名規則 (FLOCSSベース)
	c- : 共通パーツ（Component）→ style.css で管理
	p- : 固有ページ用パーツ（Project）→ front-page.css で管理

	& の使用箇所を限定
	:hover や :last-child などの擬似クラス指定のみに & を使い、クラスの囲い込み（ネスト）は使わない。
	CSS Nestingの最大のメリットである「その要素のブレイクポイント処理を直下に書く」構造のみを残しているため、スマホ版とPC版の表示切り替えが一目で分かります。
	BEMクラスの直感性
	.p-news__title や .p-blog__card など、どの要素のスタイルかが検索しやすく、他の作業者がコードを見ても一瞬で理解できます。

*/

/* ==========================================================================
   Front Page Styles (ブルーベリーファーム伊賀 TOPページ専用)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Main Visual Section (メインビジュアル)
   -------------------------------------------------------------------------- */
.p-fv {
  position: relative;
  width: 100%;
}

.p-fv__copy {
  position: absolute;
  top: 50%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 10;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.p-fv__title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.5rem;

  @media (min-width: 768px) {
    font-size: 3rem;
  }
}

.p-fv__sub {
  font-size: 1rem;

  @media (min-width: 768px) {
    font-size: 1.25rem;
  }
}

/* --------------------------------------------------------------------------
   2. News Section (お知らせ - カテゴリ: news)
   -------------------------------------------------------------------------- */
.p-news {
  padding: 40px 0;
  background-color: #f8f9fa;
}

.p-news__inner {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);

  @media (min-width: 768px) {
    display: flex;
    align-items: center;
    padding: 24px 32px;
  }
}

.p-news__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;

  @media (min-width: 768px) {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
    margin-right: 40px;
    min-width: 120px;
  }
}

.p-news__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.p-news__more {
  font-size: 0.85rem;
  color: #666666;
  text-decoration: none;

  &:hover {
    color: #2b4c7e;
    text-decoration: underline;
  }
}

.p-news__list {
  flex-grow: 1;
}

.p-news__item {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
  border-bottom: 1px dashed #eee;

  &:last-child {
    border-bottom: none;
  }

  @media (min-width: 600px) {
    flex-direction: row;
    align-items: center;
  }
}

.p-news__date {
  font-size: 0.85rem;
  color: #888888;
  margin-bottom: 4px;

  @media (min-width: 600px) {
    margin-bottom: 0;
    margin-right: 16px;
    min-width: 90px;
  }
}

.p-news__link {
  color: #333333;
  text-decoration: none;

  &:hover {
    color: #2b4c7e;
    text-decoration: underline;
  }
}

/* --------------------------------------------------------------------------
   3. Features Section (当園のこだわり・3つの特徴)
   -------------------------------------------------------------------------- */
.p-features {
  padding: 60px 0;
}

.p-features__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;

  @media (min-width: 768px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-features__card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.p-features__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.p-features__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-features__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  padding: 16px 16px 8px;
  margin: 0;
  color: #2b4c7e;
}

.p-features__card-text {
  font-size: 0.9rem;
  color: #555555;
  padding: 0 16px 16px;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------------------------------
   4. Guide Section (営業案内・オープンCV)
   -------------------------------------------------------------------------- */
.p-guide {
  padding: 60px 0;
  background: linear-gradient(135deg, #eef3f9 0%, #e2ebf5 100%);
}

.p-guide__box {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);

  @media (min-width: 768px) {
    padding: 48px;
  }
}

.p-guide__title {
  font-size: 1.6rem;
  color: #2b4c7e;
  margin-bottom: 16px;
}

.p-guide__text {
  font-size: 0.95rem;
  color: #444444;
  line-height: 1.7;
  margin-bottom: 24px;
}

.p-guide__info {
  display: inline-block;
  text-align: left;
  background: #f8f9fa;
  padding: 16px 24px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.p-guide__info dl {
  display: flex;
  margin: 8px 0;
}

.p-guide__info dt {
  font-weight: 700;
  width: 90px;
  color: #2b4c7e;
}

.p-guide__info dd {
  margin: 0;
  color: #333333;
}

/* --------------------------------------------------------------------------
   5. Blog Section (農園ブログ - カテゴリ: blog)
   -------------------------------------------------------------------------- */
.p-blog {
  padding: 60px 0;
}

.p-blog__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;

  @media (min-width: 768px) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.p-blog__card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;

  &:hover {
    transform: translateY(-4px);
  }
}

.p-blog__link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.p-blog__thumb {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #eee;
}

.p-blog__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-blog__content {
  padding: 16px;
}

.p-blog__date {
  font-size: 0.8rem;
  color: #888888;
}

.p-blog__title {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 6px;
  line-height: 1.4;
  color: #333333;
}

.p-blog__more-wrap {
  text-align: center;
  margin-top: 40px;
}