/* =========================================================
   あきばこ v2 — プリセット 06 クラフト・ナチュラル
   ========================================================= */

:root {
  --bg: #F4EFE5;        /* エクリュ（麻布） */
  --bg-alt: #EAE2D3;
  --ink: #33372E;       /* 深い苔色寄りの黒 */
  --ink-soft: #6E7263;
  --accent: #3F5A45;    /* 深緑 */
  --accent-warm: #B5772A;/* 山吹・蜂蜜色（ワンポイントのみ） */
  --line: #D6CDBA;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: 'Zen Kaku Gothic New', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  letter-spacing: 0.03em;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.8; }

.sp-only { display: none; }
.pc-only { display: inline; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.6rem;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(6px);
  border-bottom: 2px dashed var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
}

.brand-icon { border-radius: 50%; }

.brand-name {
  font-family: 'Klee One', cursive;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
}

.nav { display: flex; gap: 1.4rem; }

.nav a {
  font-size: 0.86rem;
  color: var(--ink);
  letter-spacing: 0.06em;
  padding-bottom: 2px;
}

.nav a:hover {
  opacity: 1;
  border-bottom: 2px solid var(--accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 3rem;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 5.5rem 1.6rem 7rem;
}

.hero-place {
  font-size: 0.82rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
}

.hero-title {
  font-family: 'Klee One', cursive;
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin-bottom: 1.6rem;
}

.hero-lead {
  color: var(--ink-soft);
  font-size: 0.95rem;
  max-width: 26em;
  margin-bottom: 2.2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-photo img {
  width: 100%;
  border-radius: 8px;
  animation: hero-in 1.1s ease both;
}

@keyframes hero-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.7rem;
  border-radius: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.btn-primary {
  background: var(--accent);
  color: #F6F3EA;
}

.btn-ghost {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: transparent;
}

/* ---------- Sections ---------- */

.section {
  padding: 6.5rem 1.6rem;
  max-width: 1160px;
  margin: 0 auto;
}

.section-alt {
  max-width: none;
  background: var(--bg-alt);
  padding-left: max(1.6rem, calc((100% - 1160px) / 2));
  padding-right: max(1.6rem, calc((100% - 1160px) / 2));
}

.section-en {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Klee One', cursive;
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: 0.08em;
  margin-bottom: 2.8rem;
  display: table;
  background: linear-gradient(transparent 62%, var(--bg) 62%);
}

.section-alt .section-title {
  background: linear-gradient(transparent 62%, var(--bg-alt) 0);
  border-bottom: 2px dashed var(--line);
  padding-bottom: 0.3rem;
}

.section-lead {
  color: var(--ink-soft);
  margin: -1.4rem 0 2.6rem;
  max-width: 38em;
}

/* ---------- Guide ---------- */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.guide-card {
  border: 2px dashed var(--line);
  border-radius: 8px;
  padding: 1.8rem 1.6rem;
  background: var(--bg);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.guide-q {
  font-family: 'Klee One', cursive;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

/* ---------- Menu ---------- */

.menu-list {
  list-style: none;
  max-width: 720px;
}

.menu-list li {
  display: flex;
  gap: 1.4rem;
  align-items: baseline;
  padding: 1.4rem 0.2rem;
  border-bottom: 2px dashed var(--line);
}

.menu-no {
  font-family: 'Klee One', cursive;
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
}

.menu-list h3 {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.menu-list p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.okinagaki {
  margin-top: 3.5rem;
  max-width: 720px;
  border: 2px dashed var(--line);
  border-radius: 8px;
  padding: 2rem 2.2rem;
  background: var(--bg);
}

.okinagaki-title {
  font-family: 'Klee One', cursive;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  display: table;
  background: linear-gradient(transparent 62%, var(--bg-alt) 62%);
}

.okinagaki-list {
  list-style: none;
  columns: 2;
  column-gap: 2.5rem;
  font-size: 0.92rem;
}

.okinagaki-list li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
  break-inside: avoid;
}

.okinagaki-note {
  margin-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

/* ---------- 作り手の言葉 ---------- */

.maker { text-align: center; }

.maker-quote {
  font-family: 'Klee One', cursive;
  font-weight: 600;
  font-size: 1.9rem;
  letter-spacing: 0.1em;
  line-height: 1.9;
  margin-bottom: 1.8rem;
}

.maker-text {
  max-width: 34em;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-align: left;
}

/* ---------- 買い方 ---------- */

.buy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
}

.buy-card {
  background: var(--bg);
  border-radius: 8px;
  padding: 2rem 2rem 1.4rem;
}

.buy-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.buy-badge {
  font-family: 'Klee One', cursive;
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--accent-warm);
  border: 1.5px solid var(--accent-warm);
  border-radius: 999px;
  padding: 0.1rem 0.7rem;
  flex-shrink: 0;
}

.buy-steps {
  list-style: none;
  counter-reset: step;
}

.buy-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 1.4rem 2.4rem;
}

.buy-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  color: var(--accent);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.buy-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0.78rem;
  top: 2.1rem;
  bottom: 0.3rem;
  border-left: 2px dashed var(--line);
}

.buy-steps strong { font-weight: 500; }

.buy-steps p {
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.buy-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

/* ---------- Gallery ---------- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.gallery-grid img:nth-child(2) { border-radius: 50% / 42%; }
.gallery-grid img:nth-child(4) { border-radius: 50% / 42%; }

.gallery-more {
  aspect-ratio: 4 / 3;
  border: 2px dashed var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Klee One', cursive;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

/* ---------- Location ---------- */

.location-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 3rem;
  align-items: start;
}

.location-text h3 {
  font-family: 'Klee One', cursive;
  font-weight: 600;
  font-size: 1.15rem;
  margin: 1.6rem 0 0.6rem;
}

.location-text h3:first-child { margin-top: 0; }

.location-text p {
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.info-list {
  margin-top: 2.2rem;
  font-size: 0.92rem;
}

.info-list div {
  display: flex;
  gap: 1.5rem;
  padding: 0.7rem 0.2rem;
  border-bottom: 2px dashed var(--line);
}

.info-list dt {
  width: 6.5em;
  flex-shrink: 0;
  color: var(--ink-soft);
}

.map-wrap iframe {
  border-radius: 8px;
  filter: sepia(0.12);
}

/* ---------- Contact ---------- */

.contact { text-align: center; }

.contact .section-title,
.contact .section-en { margin-left: auto; margin-right: auto; }

.contact .section-title { display: table; }

.contact .section-lead {
  max-width: none;
  margin-bottom: 2.4rem;
}

.contact-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 2px dashed var(--line);
  text-align: center;
  padding: 3.5rem 1.6rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-name {
  font-family: 'Klee One', cursive;
  font-weight: 600;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin-bottom: 0.8rem;
}

.footer-copy { margin-top: 1.4rem; font-size: 0.75rem; }

/* ---------- Responsive ---------- */

@media (max-width: 840px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 2px dashed var(--line);
    padding: 0.6rem 0 1rem;
  }

  .nav.open { display: flex; }

  .nav a {
    padding: 0.9rem 1.8rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a:hover { border-bottom: 1px solid var(--line); }

  .nav-toggle { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding: 3.5rem 1.4rem 4.5rem;
  }

  .hero-title { font-size: 2rem; }

  .section { padding: 4.5rem 1.4rem; }

  .guide-grid,
  .buy-grid,
  .location-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }

  .okinagaki { padding: 1.6rem 1.4rem; }
  .okinagaki-list { columns: 1; }

  .maker-quote { font-size: 1.45rem; }

  .contact-actions { flex-direction: column; align-items: stretch; }
}
