/* ==========================================================================
   TOPページ固有スタイル（top-custom.css）
   ========================================================================== */

/* ==========================================================================
   メインビジュアル（ヒーロー）
   ========================================================================== */
.hero {
  position: relative;
  height: min(90vh, 780px);
  min-height: 520px;
  overflow: hidden;
  background: #0c1a0e;
  padding: 0;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease;
}
.hero-slide.active { opacity: 1; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,30,15,.25) 0%, rgba(10,30,15,.55) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; flex-direction: column; justify-content: center;
  color: #fff;
}
.hero-en {
  font-family: var(--font-en); font-size: 1.3rem; letter-spacing: .4em;
  opacity: .85; margin-bottom: 20px;
  display: flex; align-items: center; gap: 14px;
}
.hero-en::before { content: ""; width: 40px; height: 2px; background: var(--sub); }
.hero-catch {
  font-size: clamp(3.2rem, 6vw, 6.4rem);
  font-weight: 700; letter-spacing: .06em; line-height: 1.35;
  text-shadow: 0 4px 30px rgba(0,0,0,.4);
  max-width: 900px;
}
.hero-catch .accent { color: var(--sub); }
.hero-catch .hero-nowrap { white-space: nowrap; }
@media (max-width: 768px) {
  .hero-catch {
    font-size: clamp(1.8rem, 5.2vw, 3.2rem);
    letter-spacing: .02em;
  }
}
.hero-catch .small {
  display: block; font-size: .55em; font-weight: 500;
  letter-spacing: .14em; margin-top: 14px; opacity: .95;
}
.hero-sub {
  margin-top: 26px; font-size: 1.6rem; line-height: 1.9;
  max-width: 520px; opacity: .95;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 3; color: #fff; font-family: var(--font-en); font-size: 1.1rem; letter-spacing: .3em;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll .line {
  width: 1px; height: 50px; background: rgba(255,255,255,.7);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(.4); transform-origin: top; }
  50%       { transform: scaleY(1);  transform-origin: top; }
}
.hero-dots {
  position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
  z-index: 3; display: flex; flex-direction: column; gap: 14px;
}
.hero-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.4); transition: all .3s;
  border: none; cursor: pointer; padding: 0;
}
.hero-dots button.active { background: var(--sub); height: 28px; border-radius: 4px; }
@media (max-width: 700px) {
  .hero { height: 72vh; }
  .hero-dots,
  .hero-scroll { display: none; }
}

/* ==========================================================================
   NEWS（お知らせ）セクション
   ========================================================================== */
.haneji-news { padding: 90px 24px; background: none; }

/* 2カラムグリッド */
.haneji-news__cols {
  display: grid; grid-template-columns: 320px 1fr; gap: 60px; align-items: flex-start;
}

/* 左：見出しエリア（スクロール時に追随） */
.haneji-news__head { position: sticky; top: 120px; }
.haneji-news__en {
  font-family: var(--font-en); color: var(--accent-deep);
  letter-spacing: .3em; font-size: 1.2rem; font-weight: 600;
  display: block;
}
.haneji-news__title { font-size: 3.2rem; font-weight: 700; margin: 8px 0 20px; letter-spacing: .06em; }
.haneji-news__desc  { color: var(--ink-soft); font-size: 1.4rem; line-height: 1.9; }
.haneji-news__btn {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  max-width: none;
  padding: 14px 28px;
  border: 2px solid var(--sub);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .25s, color .25s;
}
.haneji-news__btn:hover {
  background: var(--sub);
  color: var(--ink);
  opacity: 1;
}
.haneji-news__btn svg { width: 16px; height: 16px; flex-shrink: 0; }

/* 右：記事一覧 */
.haneji-news__list { display: flex; flex-direction: column; list-style: none; }
.haneji-news__link {
  display: grid; grid-template-columns: 140px 100px 1fr; gap: 20px; align-items: center;
  padding: 22px 6px; border-bottom: 1px solid var(--line);
  transition: background .2s, padding .2s;
  text-decoration: none; color: inherit;
}
.haneji-news__link:hover { background: var(--bg-soft); padding-left: 16px; }
.haneji-news__item:first-child .haneji-news__link { border-top: 1px solid var(--line); }

/* 日付 */
.haneji-news__date {
  font-family: var(--font-en); font-size: 1.4rem;
  color: var(--ink-mute); font-weight: 500;
}

/* カテゴリバッジ */
.haneji-news__badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 1.1rem; font-weight: 600; text-align: center; letter-spacing: .06em;
}
.haneji-news__badge--info   { background: var(--accent); color: #fff; }
.haneji-news__badge--doc    { background: var(--sub); color: var(--ink); }
.haneji-news__badge--event  { background: var(--warm); color: #7a5a1a; }
.haneji-news__badge--notice { background: #e8e8e8; color: var(--ink-soft); }

/* 記事タイトル */
.haneji-news__text { font-size: 1.5rem; font-weight: 500; line-height: 1.6; color: var(--ink); }

/* レスポンシブ */
@media (max-width: 900px) {
  .haneji-news { padding: 60px 24px; }
  .haneji-news__cols  { grid-template-columns: 1fr; gap: 30px; }
  .haneji-news__head  { position: static; }
  .haneji-news__link  { grid-template-columns: 100px 90px 1fr; gap: 12px; padding: 16px 4px; }
  .haneji-news__date  { font-size: 1.2rem; }
  .haneji-news__text  { font-size: 1.35rem; }
}

@media (max-width: 600px) {
  .haneji-news { padding: 50px 16px; }

  /* 上段：日付（左）＋バッジ（右）、下段：タイトル（全幅） */
  .haneji-news__link {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "date badge"
      "text text";
    gap: 8px 12px;
    padding: 16px 0;
    align-items: center;
  }
  .haneji-news__date  { grid-area: date; font-size: 1.3rem; }
  .haneji-news__badge { grid-area: badge; }
  .haneji-news__text  { grid-area: text; font-size: 1.45rem; line-height: 1.7; }
}

/* ==========================================================================
   ごあいさつ
   ========================================================================== */
[data-page="top"] .bg-soft { padding: 80px 0; }
.greeting {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.greeting-visual {
  position: relative; aspect-ratio: 4/5;
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(30,60,30,.18);
}
.greeting-visual img { width: 100%; height: 100%; object-fit: cover; }
.greeting-visual::before {
  content: ""; position: absolute; inset: auto -30px -30px auto;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--sub); opacity: .7; z-index: -1;
}
.greeting-visual-wrap { position: relative; }
.greeting-visual-wrap::before {
  content: ""; position: absolute; inset: -30px -30px auto auto;
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--accent); opacity: .35; z-index: 0;
}
.greeting-body .tag {
  font-family: var(--font-en); letter-spacing: .3em; color: var(--accent-deep);
  font-size: 1.2rem; font-weight: 600;
}
.greeting-body h2 {
  font-size: clamp(2.4rem, 3.2vw, 3.2rem);
  font-weight: 700; margin: 8px 0 28px; letter-spacing: .08em; line-height: 1.5;
}
.greeting-body h2 .thin {
  font-weight: 400; color: var(--ink-soft); font-size: .7em; display: block; margin-top: 6px;
}
.greeting-body p    { color: var(--ink-soft); margin-bottom: 20px; }
.greeting-body .sign { text-align: right; margin-top: 30px; font-size: 1.4rem; color: var(--ink-soft); }
.greeting-body .sign strong {
  display: block; font-size: 1.8rem; color: var(--ink);
  letter-spacing: .1em; font-weight: 700; margin-top: 4px;
}
@media (max-width: 900px) {
  .greeting { grid-template-columns: 1fr; gap: 40px; }
  .greeting-visual { aspect-ratio: 4/3; }
}

/* ==========================================================================
   わたしたちの使命
   ========================================================================== */

/* セクション全体 */
.haneji-mission {
  padding: 100px 24px;
  background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 60%, var(--bg-soft) 100%);
  position: relative; overflow: hidden;
}
/* 円形装飾（右上） */
.haneji-mission::before {
  content: ""; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: var(--accent); opacity: .14;
}
/* 円形装飾（左下） */
.haneji-mission::after {
  content: ""; position: absolute; left: -100px; bottom: -100px;
  width: 260px; height: 260px; border-radius: 50%;
  background: var(--sub); opacity: .3;
}

/* ヘッダー */
.haneji-mission__head {
  text-align: center; margin-bottom: 50px; position: relative; z-index: 1;
}
.haneji-mission__en {
  font-family: var(--font-en); color: var(--accent-deep);
  letter-spacing: .3em; font-size: 1.2rem; font-weight: 600; display: block; margin-bottom: 12px;
}
.haneji-mission__title {
  font-size: 3.2rem; font-weight: 700; letter-spacing: .06em; color: var(--ink); margin: 0;
}
.haneji-mission__title::after {
  content: ""; display: block; width: 40px; height: 3px;
  background: var(--sub); border-radius: 2px; margin: 16px auto 0;
}
.haneji-mission__lead { font-size: 1.5rem; color: var(--ink-soft); margin-top: 16px; }

/* カードグリッド */
.haneji-mission__list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 1;
}

/* カード */
.haneji-mission__item {
  background: #fff; border-radius: 18px; padding: 36px 28px;
  box-shadow: 0 8px 22px rgba(30,60,30,.06); transition: transform .25s;
}
.haneji-mission__item:hover { transform: translateY(-4px); }

/* アイコン */
.haneji-mission__icon {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent) 0%, var(--sub) 100%);
  margin-bottom: 20px; color: #fff;
}
.haneji-mission__icon svg { width: 32px; height: 32px; }

/* カードタイトル */
.haneji-mission__item-title { font-size: 1.8rem; font-weight: 700; margin-bottom: 12px; letter-spacing: .04em; }

/* カードテキスト */
.haneji-mission__text { font-size: 1.45rem; line-height: 1.9; color: var(--ink-soft); }

/* レスポンシブ */
@media (max-width: 900px) {
  .haneji-mission__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .haneji-mission { padding: 60px 24px; }
  .haneji-mission__list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   コンテンツメニュー
   ========================================================================== */

/* セクション全体 */
.haneji-contents { padding: 120px 24px; }

/* ヘッダー */
.haneji-contents .section-head { text-align: center; margin-bottom: 60px; }
.haneji-contents .section-head .en {
  font-family: var(--font-en); color: var(--accent-deep);
  letter-spacing: .3em; font-size: 1.2rem; font-weight: 600; display: block; margin-bottom: 12px;
}
.haneji-contents .section-head h2 {
  font-size: 3.2rem; font-weight: 700; letter-spacing: .06em; color: var(--ink); margin: 0;
}
.haneji-contents .section-head h2::after {
  content: ""; display: block; width: 40px; height: 3px;
  background: var(--sub); border-radius: 2px; margin: 16px auto 0;
}

/* カードグリッド */
.content-menu {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.cm-card {
  position: relative; display: block;
  border-radius: 18px; overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: 0 10px 30px rgba(30,60,30,.1);
  transition: transform .3s ease, box-shadow .3s ease;
  background: #333;
}
.cm-card:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(30,60,30,.2); }
.cm-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.cm-card:hover img { transform: scale(1.08); }
.cm-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 30%, rgba(0,0,0,.75) 100%);
}
.cm-card .body {
  position: absolute; inset: auto 0 0 0; padding: 24px; z-index: 1; color: #fff;
}
.cm-card .en {
  font-family: var(--font-en); font-size: 1.1rem; letter-spacing: .24em;
  opacity: .9; margin-bottom: 6px; font-weight: 500;
}
.cm-card .ja {
  font-size: 2rem; font-weight: 700; letter-spacing: .06em;
  display: flex; align-items: center; justify-content: space-between;
}
.cm-card .ja svg { width: 22px; height: 22px; transition: transform .2s; }
.cm-card:hover .ja svg { transform: translateX(6px); }
@media (max-width: 900px) {
  .haneji-contents { padding: 80px 24px; }
  .content-menu { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 500px) {
  .haneji-contents { padding: 60px 24px; }
  .content-menu { grid-template-columns: 1fr; }
  .cm-card { aspect-ratio: 16/9; }
}

/* ==========================================================================
   数字で見る
   ========================================================================== */
.stats {
  padding: 120px 24px;
  background:
    linear-gradient(135deg, rgba(47,69,40,.92) 0%, rgba(30,50,25,.92) 100%),
    url('https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/27945/2.jpg') center/cover;
  background-blend-mode: multiply;
  color: #fff;
  text-align: center;
}
.stats .section-head { margin-bottom: 50px; }
.stats .section-head h2  { color: #fff; }
.stats .section-head .en { color: var(--sub); }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 30px;
  max-width: var(--maxw); margin: 0 auto;
}
.stat { padding: 20px; }
@media (max-width: 800px) {
  .stats { padding: 80px 24px; }
}
.stat .num {
  font-family: var(--font-en); font-weight: 700;
  font-size: clamp(3.2rem, 5.5vw, 6.4rem);
  color: var(--sub); line-height: 1; letter-spacing: -.02em;
}
.stat .unit       { font-size: 1.6rem; margin-left: 6px; opacity: .9; }
.stat .label      { font-size: 1.4rem; margin-top: 10px; opacity: .9; letter-spacing: .08em; }
.stat .stat-prefix { font-family: inherit; font-size: .45em; vertical-align: .15em; letter-spacing: 0; }
.stat .stat-note   { display: block; font-size: 1.1rem; opacity: .7; margin-top: 4px; letter-spacing: .04em; }
@media (max-width: 800px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* ==========================================================================
   地域の農産物
   ========================================================================== */
.crops { background: var(--bg-soft); padding: 120px 24px; }

/* ヘッダー */
.crops .section-head { text-align: center; margin-bottom: 60px; }
.crops .section-head .en {
  font-family: var(--font-en); color: var(--accent-deep);
  letter-spacing: .3em; font-size: 1.2rem; font-weight: 600; display: block; margin-bottom: 12px;
}
.crops .section-head h2 {
  font-size: 3.2rem; font-weight: 700; letter-spacing: .06em; color: var(--ink); margin: 0;
}
.crops .section-head h2::after {
  content: ""; display: block; width: 40px; height: 3px;
  background: var(--sub); border-radius: 2px; margin: 16px auto 0;
}
.crops .section-head .sub {
  font-size: 1.45rem; color: var(--ink-soft); margin-top: 16px;
}

.crops-list {
  display: grid; grid-template-columns: repeat(6,1fr); gap: 16px;
  max-width: 1000px; margin: 0 auto;
}
.crop {
  text-align: center; padding: 24px 10px; background: #fff; border-radius: 14px;
  box-shadow: 0 6px 18px rgba(30,60,30,.06); transition: transform .2s;
}
.crop:hover { transform: translateY(-3px); }
.crop__img {
  width: 56px; height: 56px; object-fit: contain;
  display: block; margin: 0 auto 10px;
}
.crop .name  { font-size: 1.3rem; font-weight: 600; letter-spacing: .1em; }
@media (max-width: 700px) {
  .crops { padding: 70px 24px; }
  .crops-list { grid-template-columns: repeat(3,1fr); }
}

/* haneji-top-cta は site.css で定義 */
