@charset "UTF-8";

/* ------------------------------------------------------------------
   日本おもと業者組合
   白を基調に、現行サイトの茶（#948768）とロゴの濃茶・金を差し色で残す。
   ------------------------------------------------------------------ */

:root {
  /* 現行サイトから受け継ぐ色 */
  --brown:        #948768;  /* 現行ヘッダの色 */
  --brown-dark:   #413223;  /* ロゴの台座の濃茶 */
  --gold:         #c49838;  /* ロゴの箔・金屏風 */

  /* 白基調のための地色 */
  --bg:           #ffffff;
  --bg-tint:      #faf9f6;  /* ほんのり温かい白。区切りの帯に使う */
  --line:         #e6e2d9;

  /* 文字 */
  --ink:          #33302b;  /* 本文。真っ黒にせず茶を含ませる */
  --ink-soft:     #6d675d;  /* 補足 */

  --serif: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "MS PMincho", serif;
  --sans:  "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;

  --measure: 1080px;   /* 本文の最大幅 */
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: var(--measure); margin-inline: auto; padding-inline: 24px; }

/* ---------- ヘッダ ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  max-width: var(--measure); margin-inline: auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; gap: 32px;
}
.site-header__logo img { height: 34px; width: auto; }

.nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 28px;
}
.nav a {
  text-decoration: none;
  font-size: 14px; letter-spacing: .08em;
  color: var(--ink); padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav a:hover, .nav a[aria-current="page"] {
  border-bottom-color: var(--brown);
  color: var(--brown-dark);
}

/* ---------- ヒーロー（固定表示） ----------
   写真は position:fixed で背面に置き、本文が上を滑っていく。
   background-attachment:fixed は iOS で効かないため、この作りにする。 */
.hero { position: relative; height: 100svh; }
.hero__media {
  position: fixed; inset: 0; z-index: -1;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {           /* 文字を乗せるための薄い覆い */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,.12) 42%, rgba(0,0,0,.30) 100%);
}
.hero__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding-inline: 24px;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(30px, 5.2vw, 56px);
  font-weight: 400; letter-spacing: .22em; text-indent: .22em;
  margin: 0; text-shadow: 0 2px 24px rgba(0,0,0,.5);
}
.hero__lead {
  font-family: var(--serif);
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: .16em; margin: 22px 0 0;
  text-shadow: 0 2px 16px rgba(0,0,0,.6);
}
.hero__rule {
  display: block;   /* span なので指定しないとインラインのまま高さが出ない */
  width: 1px; height: 54px; margin: 34px 0 0;
  background: linear-gradient(180deg, var(--gold), transparent);
}

/* 本文は白い面に載せ、ヒーローを覆い隠す */
.sheet { position: relative; z-index: 1; background: var(--bg); }

/* ---------- 見出し ---------- */
.section { padding: 88px 0; }
.section--tint { background: var(--bg-tint); }

.section-head { margin: 0 0 40px; }
.section-head__ja {
  font-family: var(--serif); font-weight: 400;
  font-size: 26px; letter-spacing: .14em; margin: 0;
}
.section-head__en {
  display: block; margin-top: 8px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--brown);
}
.section-head::after {
  content: ""; display: block; width: 44px; height: 2px;
  background: var(--brown); margin-top: 18px;
}

/* ---------- お知らせ ---------- */
.news { list-style: none; margin: 0; padding: 0; }
.news li { border-top: 1px solid var(--line); }
.news li:last-child { border-bottom: 1px solid var(--line); }
.news a {
  display: grid; grid-template-columns: 116px 92px 1fr; gap: 18px; align-items: baseline;
  padding: 20px 4px; text-decoration: none;
  transition: background .2s;
}
.news a:hover { background: var(--bg-tint); }
.news__date { font-size: 13px; color: var(--ink-soft); letter-spacing: .06em; }
.news__tag {
  font-size: 11px; letter-spacing: .1em; text-align: center;
  border: 1px solid var(--brown); color: var(--brown);
  padding: 2px 0; border-radius: 2px;
}
.news__title { font-size: 15px; }
.news a:hover .news__title { color: var(--brown-dark); text-decoration: underline; }

/* ---------- 3つの入口 ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { text-decoration: none; display: block; }
.card__media {
  display: block;   /* span なので指定しないと aspect-ratio が効かず高さが潰れる */
  overflow: hidden; aspect-ratio: 3 / 2; background: var(--line);
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.card:hover .card__media img { transform: scale(1.04); }

/* 地図は縦長なので、切らずに収める */
.card__media--map { background: var(--bg-tint); }
.card__media--map img { object-fit: contain; padding: 10px; }
.card:hover .card__media--map img { transform: none; }
.card__title {
  font-family: var(--serif); font-size: 18px; letter-spacing: .1em;
  margin: 18px 0 6px;
}
.card__text { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.8; }

/* ---------- 下層ページの共通部品 ---------- */
.page { padding: 68px 0 88px; }          /* 68px = 固定ヘッダの高さ + 余白 */

.crumb { font-size: 12px; color: var(--ink-soft); margin: 24px 0 40px; letter-spacing: .04em; }
.crumb a { color: var(--brown); text-decoration: none; }
.crumb a:hover { text-decoration: underline; }
.crumb a::after, .crumb span::before { content: "／"; margin: 0 .6em; color: var(--line); }
.crumb span::before { content: none; }
.crumb a::after { content: "／"; }

.page-head { margin: 0 0 48px; }
.page-head__ja {
  font-family: var(--serif); font-weight: 400;
  font-size: 30px; letter-spacing: .14em; margin: 0;
}
.page-head__en {
  display: block; margin-top: 8px;
  font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--brown);
}
.page-head__lead { margin: 24px 0 0; font-size: 14px; color: var(--ink-soft); }
.page-head::after {
  content: ""; display: block; width: 44px; height: 2px;
  background: var(--brown); margin-top: 24px;
}

.note { margin: 56px 0 0; font-size: 13px; color: var(--ink-soft); }
.note a { color: var(--brown); }

/* ---------- 品種の一覧 ---------- */
.vgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.vcard { text-decoration: none; display: block; }
.vcard__media {
  display: block; overflow: hidden; aspect-ratio: 1 / 1;
  background: var(--bg-tint);
}
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.vcard:hover .vcard__media img { transform: scale(1.05); }
.vcard__kei {
  display: block; margin: 14px 0 0;
  font-size: 10px; letter-spacing: .18em; color: var(--brown);
}
.vcard__name {
  font-family: var(--serif); font-weight: 400;
  font-size: 19px; letter-spacing: .1em; margin: 4px 0 0;
}
.vcard__yomi {
  display: block; margin-top: 3px;
  font-family: var(--sans); font-size: 11px; letter-spacing: .06em; color: var(--ink-soft);
}

/* ---------- 品種の詳細 ---------- */
.variety { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.variety__photo { background: var(--bg-tint); }
.variety__photo img { width: 100%; height: auto; }
.variety__kei { margin: 0; font-size: 11px; letter-spacing: .2em; color: var(--brown); }
.variety__name {
  font-family: var(--serif); font-weight: 400;
  font-size: 38px; letter-spacing: .12em; margin: 10px 0 0;
}
.variety__yomi {
  display: block; margin-top: 8px;
  font-family: var(--sans); font-size: 12px; letter-spacing: .1em; color: var(--ink-soft);
}

.spec { margin: 32px 0 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.spec__row { display: grid; grid-template-columns: 84px 1fr; gap: 12px; font-size: 13px; }
.spec__row + .spec__row { margin-top: 8px; }
.spec dt { color: var(--brown); letter-spacing: .08em; }
.spec dd { margin: 0; }

.variety__text { margin: 32px 0 0; }
.variety__text p { margin: 0 0 1.1em; text-indent: 1em; }
.variety__text p:last-child { margin-bottom: 0; }

.caveat { margin: 20px 0 0; font-size: 12px; color: var(--ink-soft); }
.source { margin: 28px 0 0; font-size: 11px; color: var(--ink-soft); letter-spacing: .04em; }

.pager {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin: 72px 0 0; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 13px;
}
.pager a { text-decoration: none; color: var(--ink-soft); }
.pager a:hover { color: var(--brown-dark); }
.pager__index { color: var(--brown); }

/* ---------- 過去の特志賞品種（アーカイブ） ---------- */
/* 一覧カードは系統・よみを持たないため、品種名の上に少し余白を足す */
.vgrid--archive .vcard__name { margin-top: 14px; }
/* 詳細は1カラム。データ欄と本文は読みやすい幅に抑える */
.spec--wide, .variety__text--wide { max-width: 760px; }
.gtitle {
  font-family: var(--serif); font-weight: 400;
  font-size: 20px; letter-spacing: .1em; color: var(--ink);
  margin: 64px 0 28px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.gtitle--first { margin-top: 8px; }
/* 名品展の受賞作品（第69〜76回）。株は縦長なので枠に収める（contain） */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.gitem { margin: 0; }
.gitem img {
  display: block; width: 100%; aspect-ratio: 3 / 4;
  object-fit: contain; background: var(--bg-tint);
}
.gitem figcaption {
  margin-top: 10px; text-align: center;
  font-size: 12px; letter-spacing: .08em; color: var(--ink-soft);
}

/* ---------- 組合について ---------- */
.about-sec { max-width: 760px; }
.about-h2 {
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; letter-spacing: .1em; color: var(--ink);
  margin: 0 0 32px; padding-bottom: 16px; border-bottom: 1px solid var(--line);
}
.about-block + .about-block { margin-top: 36px; }
.about-block__h {
  font-family: var(--serif); font-weight: 400; font-size: 16px;
  letter-spacing: .08em; color: var(--brown); margin: 0 0 12px;
}
.about-block p { margin: 0 0 1em; line-height: 2; }
.about-block p:last-child { margin-bottom: 0; }

.about-photo { margin: 64px 0; }
.about-photo img { display: block; width: 100%; height: auto; background: var(--bg-tint); }
.about-photo figcaption {
  margin-top: 12px; text-align: center;
  font-size: 12px; letter-spacing: .08em; color: var(--ink-soft);
}

.about-note { margin: 0 0 4px; font-size: 13px; color: var(--ink-soft); letter-spacing: .06em; }
.roster { max-width: 760px; margin: 20px 0 0; border-top: 1px solid var(--line); }
.roster__row {
  display: grid; grid-template-columns: 148px 1fr; gap: 16px;
  padding: 14px 2px; border-bottom: 1px solid var(--line); font-size: 14px;
}
.roster dt { color: var(--brown); letter-spacing: .06em; }
.roster dd { margin: 0; }

/* ---------- 加盟店 ---------- */
.members-map { max-width: 500px; margin: 0 auto 64px; }
.members-map img { display: block; width: 100%; height: auto; }
.shops { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.shop {
  border: 1px solid var(--line); background: var(--paper);
  padding: 26px 28px 30px;
}
.shop__name { margin: 0 0 18px; line-height: 1; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.shop__logo { display: block; height: 54px; width: auto; max-width: 100%; }
/* 田哲園の円形バッジ（マーク）は園号ロゴの隣に少し大きめで置く */
.shop__logo--mark { height: 60px; }
.shop__addr { margin: 0 0 10px; font-size: 13px; line-height: 1.9; color: var(--ink); }
.shop__meta { margin: 0 0 2px; font-size: 13px; color: var(--ink-soft); letter-spacing: .02em; }
.shop__link {
  display: inline-block; margin-top: 16px;
  font-size: 13px; color: var(--brown); text-decoration: none; letter-spacing: .04em;
}
.shop__link:hover { text-decoration: underline; }

/* ---------- 展示会 ---------- */
/* 回の一覧（サムネ＋回） */
.exgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 24px; }
.excard { text-decoration: none; display: block; color: inherit; }
.excard__media {
  display: block; overflow: hidden; aspect-ratio: 1 / 1; background: var(--bg-tint);
}
.excard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.excard:hover .excard__media img { transform: scale(1.05); }
.excard__media--none { background: var(--bg-tint); }
.excard__label {
  display: block; margin-top: 12px; text-align: center;
  font-family: var(--serif); font-size: 16px; letter-spacing: .1em;
}

/* 入賞作品ギャラリー */
.exhibits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 28px; }
.exhibit { margin: 0; }
.exhibit__photo { background: var(--bg-tint); aspect-ratio: 1 / 1; overflow: hidden; }
.exhibit__photo img { width: 100%; height: 100%; object-fit: cover; }
.exhibit__photo--none {
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--ink-soft); letter-spacing: .1em;
}
.exhibit figcaption { margin-top: 14px; text-align: center; }
.exhibit__award {
  display: block; font-size: 11px; letter-spacing: .06em; color: var(--brown);
  margin-bottom: 6px; line-height: 1.5;
}
.exhibit__variety {
  display: block; font-family: var(--serif); font-size: 17px; letter-spacing: .08em;
}
.exhibit__credit {
  display: block; margin-top: 5px; font-size: 12px; color: var(--ink-soft); line-height: 1.6;
}

/* ---------- 帯（写真を挟んで間を作る） ---------- */
.band { position: relative; height: 46vh; overflow: hidden; }
.band img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- フッタ ---------- */
.site-footer {
  position: relative; z-index: 1;   /* .sheet と同じ層に上げ、固定ヒーローを確実に覆う */
  background: var(--brown-dark); color: #e8e3d8;
  padding: 56px 0 32px; font-size: 13px;
}
.site-footer a { color: #e8e3d8; }
.site-footer__top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.site-footer__name { font-family: var(--serif); font-size: 17px; letter-spacing: .14em; margin: 0 0 12px; }
.site-footer__addr { margin: 0; font-size: 11px; color: #b8b0a0; letter-spacing: .04em; }
.site-footer__mail { margin: 8px 0 0; font-size: 13px; }
.site-footer__copy {
  margin: 40px 0 0; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 11px; letter-spacing: .06em; color: #a89f8d;
}

/* ---------- スマホ ---------- */
@media (max-width: 820px) {
  .site-header__inner { height: 56px; gap: 12px; }
  .site-header__logo img { height: 24px; }
  .nav ul { gap: 14px; }
  .nav a { font-size: 12px; letter-spacing: .02em; white-space: nowrap; }

  /* ヒーロー（スマホ）: 全画面をやめて少し低く。字間を詰め、強制改行を外して自然に流す */
  .hero { height: 82svh; }
  .hero__title { font-size: 27px; letter-spacing: .12em; text-indent: .12em; }
  .hero__lead {
    font-size: 12.5px; letter-spacing: .02em; line-height: 2; margin-top: 16px;
    max-width: 20em;
  }
  .hero__lead br { display: none; }        /* 「ため、」「ます。」の孤立を防ぐ */
  .hero__rule { height: 40px; margin-top: 24px; }

  .section { padding: 56px 0; }
  .cards { grid-template-columns: 1fr; gap: 32px; }
  /* 1カラムでは枠が横長になり、縦長の地図の左右に大きな余白が出る。
     スマホだけ枠を地図の縦横比に合わせ、余白をなくして地図を大きく見せる。 */
  .card__media--map { aspect-ratio: 593 / 660; }
  .card__media--map img { padding: 0; }
  .news a { grid-template-columns: 88px 76px; row-gap: 4px; padding: 16px 4px; }
  .news__title { grid-column: 1 / -1; }
  .band { height: 32vh; }

  .page { padding: 56px 0 64px; }
  .page-head__ja { font-size: 24px; }
  .vgrid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .vcard__name { font-size: 17px; }
  .variety { grid-template-columns: 1fr; gap: 32px; }
  .variety__name { font-size: 30px; }
  .pager { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .gtitle { font-size: 18px; margin-top: 48px; }
  .about-h2 { font-size: 19px; }
  .roster__row { grid-template-columns: 96px 1fr; gap: 12px; font-size: 13px; }
  .shops { grid-template-columns: 1fr; gap: 16px; }
  .members-map { max-width: 340px; margin-bottom: 48px; }
  .exgrid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
  .exhibits { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
  .exhibit__variety { font-size: 15px; }
}
