:root {
  --paper: #f5f2eb;
  --surface: #faf8f3;
  --ink: #1a1a1a;
  --subtle: #5e574e;
  --accent: #8a6a3a;
  --accent-dark: #5d482c;
  --line: #d4cdbf;
  --success: #eef3e9;
  --error: #f5e9e6;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.9;
}

a { color: var(--accent-dark); text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }

.site-header {
  max-width: 960px;
  margin: 0 auto;
  padding: 30px 28px 20px;
}

.site-logo {
  display: block;
  width: min(100%, 420px);
  height: auto;
  margin: 0 auto 24px;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.94rem;
  text-decoration: none;
}

.site-nav a[aria-current="page"] { color: var(--accent); border-bottom: 1px solid var(--accent); }

main { max-width: 760px; margin: 0 auto; padding: 0 32px 88px; }

.hero { padding: 64px 0 52px; text-align: center; border-bottom: 1px solid var(--line); }
.hero h1 { margin: 0 0 20px; font-size: clamp(1.75rem, 5vw, 2.65rem); font-weight: 400; line-height: 1.5; }
.hero p { max-width: 620px; margin: 0 auto; font-size: 1.1rem; }

section { padding: 52px 0; border-bottom: 1px solid var(--line); }
section:last-child { border-bottom: 0; }

h1, h2, h3 { font-weight: 400; }
h2 { margin: 0 0 24px; color: var(--accent-dark); font-size: 1.45rem; }
h3 { margin: 30px 0 12px; font-size: 1.12rem; }
p { margin: 0 0 1.3em; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.14rem; }
.note { color: var(--subtle); font-size: 0.95rem; }
.eyebrow { margin-bottom: 10px; color: var(--accent); font-size: 0.85rem; letter-spacing: 0.2em; }

.feature-photo { margin: 40px 0 0; }
.feature-photo img,
.photo-grid img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}
.feature-photo figcaption,
.photo-grid figcaption {
  margin-top: 10px;
  color: var(--subtle);
  font-size: 0.9rem;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 28px 0;
}
.photo-grid figure { margin: 0; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 18px;
  margin-top: 30px;
}
.process-step { margin: 0; }
.process-step-wide { grid-column: 1 / -1; }
.process-step img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
}
.process-step figcaption {
  margin-top: 10px;
  color: var(--subtle);
  font-size: 0.92rem;
}
.process-step figcaption span {
  display: inline-grid;
  width: 1.7em;
  height: 1.7em;
  margin-right: 0.4em;
  place-items: center;
  border-radius: 50%;
  color: var(--surface);
  background: var(--accent);
  font-size: 0.8rem;
  line-height: 1;
}

.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button {
  display: inline-block;
  padding: 11px 20px;
  border: 1px solid var(--accent);
  color: var(--surface);
  background: var(--accent);
  text-decoration: none;
}
.button.secondary { color: var(--accent-dark); background: transparent; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { padding: 24px; border: 1px solid var(--line); background: var(--surface); }
.card h3 { margin-top: 0; }
.card p { font-size: 0.98rem; }

.details { margin: 0; }
.details div { display: grid; grid-template-columns: 7em 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.details div:last-child { border-bottom: 1px solid var(--line); }
.details dt { color: var(--accent-dark); }
.details dd { margin: 0; }

.breadcrumb { padding: 18px 0 0; font-size: 0.9rem; color: var(--subtle); }
.breadcrumb a { color: var(--subtle); }

.event-status { margin: 26px 0 18px; padding: 14px; border-block: 1px solid var(--line); text-align: center; }
.event-status strong { color: var(--accent); font-size: 1.3rem; }

.event-form { display: none; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.event-form.visible { display: block; }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #b9b09f;
  border-radius: 0;
  background: #fff;
  color: #1a1a1a;
  font: inherit;
}
.field textarea { min-height: 100px; resize: vertical; }
.required { color: var(--accent-dark); font-size: 0.82rem; }
.form-button { width: 100%; cursor: pointer; font: inherit; }
.form-button:disabled { cursor: default; opacity: 0.5; }
.form-message { display: none; margin-top: 18px; padding: 14px; }
.form-message.visible { display: block; }
.form-message.success { background: var(--success); }
.form-message.error { background: var(--error); }

.contact-list { padding: 0; list-style: none; }
.contact-list li { padding: 12px 0; border-top: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }

.site-footer { max-width: 760px; margin: 0 auto; padding: 30px 32px 60px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 0.9rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0 0 16px; padding: 0; list-style: none; }

@media (max-width: 600px) {
  .site-header { padding: 24px 20px 16px; }
  .site-logo { margin-bottom: 18px; }
  .site-nav ul { gap: 7px 16px; }
  main { padding: 0 20px 64px; }
  .hero { padding: 46px 0 38px; }
  section { padding: 40px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step-wide { grid-column: auto; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
  .site-footer { padding: 26px 20px 46px; }
}

/* NUKADOKO DESIGN 2026 START */

/* カラーパレット */
:root {
  --paper: #f5f0e5;
  --surface: #fffdf8;
  --ink: #29362d;
  --subtle: #647066;
  --accent: #365b43;
  --accent-dark: #284632;
  --line: #ddd9cd;
}

/* 全体 */
body {
  background:
    radial-gradient(ellipse at top, #fffaf0 0%, transparent 55%),
    var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

/* ヘッダーと既存ロゴ */
.site-header {
  max-width: 1100px;
  padding-top: 22px;
  padding-bottom: 20px;
}

.site-logo {
  width: min(100%, 340px);
  margin-bottom: 20px;
}

.site-nav ul {
  gap: 10px 28px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 253, 248, .76);
  box-shadow: 0 8px 24px rgba(35,55,40,.05);
}

.site-nav a {
  display: inline-block;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .9rem;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}

.site-nav a:hover {
  border-color: var(--line);
  color: var(--accent-dark);
  background: #eef2eb;
  transform: translateY(-1px);
}

.site-nav a[aria-current="page"] {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

/* コンテンツ */
main {
  max-width: 850px;
}

.hero {
  padding: 65px 0 70px;
  border: 0;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.15rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .045em;
}

.hero > p:not(.eyebrow) {
  max-width: 620px;
  line-height: 2.1;
}

.eyebrow {
  color: #a57847;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .22em;
}

h2 {
  color: var(--accent-dark);
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.5;
}

h3 {
  color: var(--accent-dark);
}

section {
  padding: 68px 0;
}

/* 写真 */
.feature-photo {
  margin-top: 46px;
}

.feature-photo img,
.photo-grid img,
.process-step img {
  border: 0;
  border-radius: 18px;
  box-shadow: 0 15px 38px rgba(38, 55, 39, .13);
}

.feature-photo figcaption {
  padding: 4px 8px;
  text-align: center;
}

/* ボタン */
.button {
  padding: 14px 27px;
  border-radius: 100px;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
  text-align: center;
  transition: background .2s, transform .2s, box-shadow .2s;
}

.button:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 7px 18px rgba(40,70,50,.18);
}

.button.secondary {
  color: var(--accent);
  background: transparent;
}

.button.secondary:hover {
  background: #e9eee7;
  color: var(--accent-dark);
}

/* カード */
.card {
  padding: 32px;
  border: 1px solid #e5e1d7;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 9px 28px rgba(35,55,40,.055);
}

.card-grid {
  gap: 22px;
}

/* 日程・料金 */
.details {
  padding: 8px 24px;
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 24px rgba(35,55,40,.05);
}

/* フォーム */
.field input,
.field select,
.field textarea {
  border-radius: 10px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* フッター */
.site-footer {
  color: var(--subtle);
}

/* スマホ */
@media (max-width: 600px) {
  .site-header {
    padding: 14px 18px 12px;
  }

  .site-logo {
    width: min(100%, 270px);
    margin-bottom: 12px;
  }

  .site-nav ul {
    gap: 7px;
    padding: 10px;
    border-radius: 18px;
  }

  .site-nav a {
    font-size: .82rem;
    padding: 7px 11px;
  }

  main {
    padding: 0 20px 64px;
  }

  .hero {
    padding: 40px 0 46px;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 7vw, 2.3rem);
  }

  .hero > p:not(.eyebrow) {
    font-size: 1rem;
    line-height: 2;
  }

  .feature-photo {
    margin-top: 34px;
  }

  .feature-photo img {
    border-radius: 14px;
  }

  section {
    padding: 48px 0;
  }

  .card {
    padding: 25px 23px;
  }

  .button-row {
    gap: 12px;
  }

  .button {
    padding: 13px 20px;
    min-height: 48px;
  }

  .details {
    padding: 8px 18px;
  }
}

/* 動きを減らす設定への対応 */
@media (prefers-reduced-motion: reduce) {
  .button, .site-nav a {
    transition: none;
  }
  .button:hover {
    transform: none;
  }
}

/* トップの申込みフォーム */
.home-event-signup {
  margin-top: 24px;
  padding: 42px;
  border: 1px solid #d6dfd4;
  border-radius: 26px;
  background: linear-gradient(145deg, #fffdf8 0%, #eef3ea 100%);
  box-shadow: 0 16px 42px rgba(35,55,40,.11);
}
.home-event-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 30px;
  align-items: end;
}
.home-event-intro h1 { margin: 0; color: var(--accent-dark); font-size: clamp(1.85rem, 5vw, 2.65rem); font-weight: 500; line-height: 1.35; }
.home-event-intro h1 span { font-size: .72em; }
.home-event-intro > p { margin-bottom: 2px; }
.home-event-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin: 30px 0 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: var(--line); }
.home-event-details div { padding: 15px 17px; background: var(--surface); }
.home-event-details dt { color: var(--accent-dark); font-size: .85rem; }
.home-event-details dd { margin: 2px 0 0; font-size: .94rem; }
.home-event-signup .event-status { margin: 24px 0; border: 0; border-radius: 14px; background: rgba(255,255,255,.72); }
.home-signup-form { padding-top: 26px; border-top: 1px solid var(--line); }
.home-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.home-signup-form .form-button { max-width: 360px; }
.home-event-more { margin-top: 22px; text-align: center; }

@media (max-width: 600px) {
  .home-event-signup { margin-top: 12px; padding: 28px 20px; border-radius: 20px; }
  .home-event-intro { grid-template-columns: 1fr; gap: 14px; }
  .home-event-details { grid-template-columns: 1fr; }
  .home-form-grid { grid-template-columns: 1fr; }
  .home-signup-form .form-button { max-width: none; }
}

/* NUKADOKO DESIGN 2026 END */

/* 発酵だより */
.letter-section { padding-top: 42px; }
.letter-tools {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}
.letter-tools label { display: block; margin-bottom: 8px; color: var(--accent-dark); }
.letter-tools input {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid #b9b09f;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.letter-tools input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.category-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.category-button {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-dark);
  background: transparent;
  cursor: pointer;
  font: inherit;
}
.category-button.active { border-color: var(--accent); color: #fff; background: var(--accent); }
.article-list { display: grid; gap: 20px; margin-top: 18px; }
.article-card {
  padding: 28px;
  border: 1px solid #e5e1d7;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 9px 28px rgba(35,55,40,.055);
}
.article-card h2 { margin-bottom: 14px; }
.article-card h2 a { color: inherit; text-decoration: none; }
.article-card h2 a:hover { text-decoration: underline; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; color: var(--subtle); font-size: .9rem; }
.article-meta a { color: var(--accent-dark); }
.text-link { font-weight: 600; }
.empty-message { padding: 28px 0; text-align: center; color: var(--subtle); }
.letter-article { padding: 36px 0 60px; }
.article-header { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.article-header h1 { margin: 12px 0 20px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.45; }
.letter-article > h2 { margin-top: 50px; }

@media (max-width: 600px) {
  .letter-tools, .article-card { padding: 20px; }
  .article-header h1 { font-size: 1.9rem; }
}

/* 発酵を知る */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}
.topic-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: center;
  min-height: 132px;
  padding: 24px;
  border: 1px solid #e5e1d7;
  border-radius: 20px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 0 9px 28px rgba(35,55,40,.055);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.topic-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 0 14px 34px rgba(35,55,40,.1); }
.topic-card span { grid-row: 1 / 3; color: #a57847; font-size: .8rem; letter-spacing: .12em; }
.topic-card strong { color: var(--accent-dark); font-size: 1.25rem; font-weight: 500; }
.topic-card small { color: var(--subtle); font-size: .88rem; }
.topic-card:last-child { grid-column: 1 / -1; }
.guide-hero { position: relative; }
.guide-hero::after { content: ""; display: block; width: 52px; margin: 36px auto 0; border-bottom: 1px solid #a57847; }
.guide-article section:first-child { padding-top: 20px; }
.guide-next { padding: 42px; border: 0; border-radius: 20px; background: var(--surface); box-shadow: 0 9px 28px rgba(35,55,40,.055); }
.safety-note { margin-top: 32px; padding: 24px; border-left: 3px solid var(--accent); background: var(--surface); }
.safety-note h3 { margin-top: 0; }
.blueberry-process .process-step img { aspect-ratio: 3 / 4; }
.blueberry-process .process-step-wide img { max-height: 720px; }

@media (max-width: 600px) {
  .topic-grid { grid-template-columns: 1fr; }
  .topic-card:last-child { grid-column: auto; }
  .topic-card { min-height: 112px; padding: 20px; }
  .guide-next { padding: 28px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .topic-card { transition: none; }
  .topic-card:hover { transform: none; }
}
