:root {
  --ink: #2b2420;
  --paper: #faf7f2;
  --accent: #b23b3b;
  --sakura: #f3d9d9;
  --line: #e4dcd0;
  --maxw: 960px;
  --maxw-wide: 1180px;
}

* { box-sizing: border-box; }

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

a { color: var(--accent); }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--line);
  max-width: var(--maxw-wide);
  margin: 0 auto;
}
.site-header .brand {
  font-size: 1.3rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  white-space: pre-line;
  line-height: 1.3;
}
.site-header nav > ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.8rem;
  margin: 0;
  padding: 0;
}
.site-header nav a { text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.site-header nav a:hover { color: var(--accent); }

.has-dropdown { position: relative; }
.has-dropdown .caret { font-size: 0.7rem; }
.has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0.5rem 0;
  min-width: 220px;
  z-index: 20;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { display: block; }
.has-dropdown .dropdown li { white-space: nowrap; }
.has-dropdown .dropdown a { display: block; padding: 0.5rem 1rem; }
.has-dropdown .dropdown a:hover { background: var(--sakura); }

main {
  max-width: var(--maxw-wide);
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

h1 { font-size: 1.8rem; border-bottom: 3px solid var(--sakura); padding-bottom: 0.5rem; }
h2 { font-size: 1.4rem; margin-top: 2.5rem; }
h3 { font-size: 1.1rem; }

.hero { text-align: center; }
.hero img { max-width: 100%; height: auto; border-radius: 8px; }
.hero .lead { color: #6b5f52; }

.eyebrow {
  text-align: center;
  letter-spacing: 0.2em;
  color: #b3a396;
  font-size: 0.85rem;
  margin: 0 0 0.3rem;
}
.news h2, .locations-preview h2 {
  text-align: center;
  display: block;
  width: fit-content;
  margin: 0 auto 2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--sakura);
}

.kodawari {
  position: relative;
  background-image: url('/assets/img/img-010.webp');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 2rem 0;
}
.kodawari-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
  position: absolute;
  left: -1.5rem;
  top: 2rem;
}
.kodawari-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin: 0 auto 3rem;
  max-width: 100%;
  padding-left: 2.5rem;
}
.kodawari-row.reverse { direction: rtl; }
.kodawari-row.reverse > * { direction: ltr; }
.kodawari-text p { margin: 0 0 1rem; }
.kodawari-img img { width: 100%; height: auto; border-radius: 8px; display: block; }

@media (max-width: 760px) {
  .kodawari-row, .kodawari-row.reverse { grid-template-columns: 1fr; direction: ltr; }
  .kodawari-label { position: static; writing-mode: horizontal-tb; margin-bottom: 1rem; }
}

.news-list { list-style: none; padding: 0; max-width: 70ch; margin: 0 auto; }
.news-list li { padding: 0.6rem 0; border-bottom: 1px dashed var(--line); }
.news-list time { display: inline-block; min-width: 6.5rem; color: #8a7d6d; font-variant-numeric: tabular-nums; }

.location-block { margin-bottom: 2.5rem; }
.location-block h3 { text-align: center; font-size: 1.3rem; margin-bottom: 1rem; }
.location-row {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.2rem;
}
.map-embed { width: 100%; height: 320px; border: 0; border-radius: 6px; }
.location-info p { margin: 0; }
@media (max-width: 760px) {
  .location-row { grid-template-columns: 1fr; }
}

.locations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.location-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem; }

.product-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.product-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1rem; }
.product-card img { width: 100%; height: 180px; object-fit: cover; border-radius: 6px; }
.product-card .no-photo {
  width: 100%; height: 180px; display: flex; align-items: center; justify-content: center;
  background: var(--sakura); color: #8a5a5a; border-radius: 6px; font-size: 0.9rem;
}
.product-card h3 { margin: 0.6rem 0 0.2rem; font-size: 1rem; }
.product-card .award { color: var(--accent); font-size: 0.8rem; margin: 0.2rem 0; }
.product-card .desc { font-size: 0.85rem; color: #555; margin: 0.2rem 0; }
.product-card .price { font-weight: 700; margin: 0.4rem 0 0; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 480px; }
.contact-form label { display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.9rem; }
.contact-form input, .contact-form textarea { padding: 0.6rem; border: 1px solid var(--line); border-radius: 4px; font-family: inherit; }
.contact-form .checkbox { flex-direction: row; align-items: center; }
.contact-form button {
  padding: 0.7rem; background: var(--accent); color: #fff; border: 0; border-radius: 4px;
  font-size: 1rem; cursor: pointer; width: fit-content;
}
.form-note { font-size: 0.8rem; color: #8a7d6d; }

.site-footer {
  background: #3a2a2a;
  color: #eee2d8;
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 3rem;
}
.footer-cols {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.site-footer h2 { color: #fff; font-size: 1rem; margin-top: 0; }
.site-footer a { color: #eee2d8; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: 0.4rem; }
.copyright { text-align: center; max-width: var(--maxw); margin: 2rem auto 0; font-size: 0.8rem; color: #b3a396; }

@media (prefers-color-scheme: dark) {
  :root { --paper: #1c1712; --ink: #eee2d8; --line: #3a3229; }
  .product-card, .location-card, .location-row { background: #241d17; }
  .has-dropdown .dropdown { background: #241d17; }
  .has-dropdown .dropdown a:hover { background: #3a2a2a; }
  .site-header .brand, .site-header nav a { color: var(--ink); }
}
