:root {
  --bg: #fff;
  --fg: #111;
  --muted: #6b6b6b;
  --line: #e3e3e3;
  --soft: #f5f5f5;
  --ink: #000;
  --accent: #000;
  --maxw: 1080px;
  --font-en: "Oswald", "Helvetica Neue", Arial, sans-serif;
  --font-ja: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.7;
  /* 中身が短いページでもフッターを画面下に固定 */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
main { flex: 1 0 auto; }
.site-header, .site-footer { flex-shrink: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  background: var(--ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 56px;
}
.site-logo img { height: 20px; width: auto; }
.site-nav { display: flex; gap: 24px; }
.site-nav a {
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .08em;
  text-decoration: none;
  color: #bdbdbd;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: #fff; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #bdbdbd;
  margin-top: 80px;
  padding: 48px 0 32px;
  text-align: center;
  font-size: 12px;
}
.follow { font-family: var(--font-en); letter-spacing: .12em; color: #fff; font-size: 14px; }
.social { display: flex; justify-content: center; gap: 20px; margin: 14px 0 28px; }
.social a { display: inline-flex; width: 28px; height: 28px; color: #fff; }
.social svg { width: 100%; height: 100%; fill: currentColor; }
.footer-logo { width: 110px; margin: 0 auto 20px; }
.copyright { line-height: 1.8; }

/* Top */
.hero { max-width: var(--maxw); margin: 32px auto 0; padding: 0 16px; }
.hero > a { display: block; }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 48px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  font-family: var(--font-en);
  font-size: 16px;
  line-height: 1;
  letter-spacing: .08em;
  text-box: trim-both cap alphabetic;
  text-decoration: none;
  background: var(--ink);
  color: #fff;
}
.btn.ghost { background: transparent; color: var(--ink); }
.btn:hover { opacity: .8; }

/* Page title */
.page-title { text-align: center; padding: 40px 0 8px; }
.page-title img { margin: 0 auto; width: 280px; }
.page-title h1 {
  font-family: var(--font-en);
  font-weight: 500;
  letter-spacing: .1em;
  margin: 0;
  font-size: 28px;
}
.page-title p { color: var(--muted); margin: 8px 0 0; font-size: 13px; }

/* Prefecture select (SP only) */
.pref-select { display: none; }

/* Prefecture index */
.pref-index { margin-top: 28px; }
.region { display: grid; grid-template-columns: 110px 1fr; gap: 8px 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.region:first-child { border-top: 1px solid var(--line); }
.region-name { font-weight: bold; font-size: 13px; padding-top: 4px; }
.region-prefs { display: flex; flex-wrap: wrap; gap: 6px; }
.region-prefs a, .region-prefs span {
  font-size: 13px;
  padding: 3px 10px;
  border: 1px solid var(--line);
  text-decoration: none;
  white-space: nowrap;
}
.region-prefs a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.region-prefs span { color: #bbb; }
.region-prefs small { color: var(--muted); margin-left: 3px; }
.region-prefs a:hover small { color: #ccc; }

/* Store list */
.pref-block { margin-top: 48px; scroll-margin-top: 72px; }
.pref-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 6px;
}
.pref-head h2 { margin: 0; font-size: 20px; }
.pref-head .en { font-family: var(--font-en); letter-spacing: .1em; color: var(--muted); font-size: 13px; }
.pref-head .num { margin-left: auto; font-size: 12px; color: var(--muted); }

.stores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.store { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: start; }
.store h3 { margin: 0; font-size: 15px; grid-column: 1 / -1; }
.store .addr { margin: 0; font-size: 13px; color: #444; }
.store .tel { font-size: 13px; }
.store .tel a { text-decoration: none; }
.store .tel a:hover { text-decoration: underline; }
.store .map {
  grid-row: 2 / span 2;
  grid-column: 2;
  align-self: center;
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .08em;
  text-decoration: none;
  border: 1px solid var(--ink);
  padding: 6px 12px;
  white-space: nowrap;
}
.store .map:hover { background: var(--ink); color: #fff; }


.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-family: var(--font-en);
  font-size: 12px;
  z-index: 60;
}

/* About */
.about-img { max-width: 960px; margin: 32px auto 0; padding: 0 16px; }
.about-table { width: 100%; max-width: 720px; margin: 40px auto 0; border-collapse: collapse; }
.about-table th, .about-table td { text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 14px; }
.about-table th { width: 32%; font-weight: bold; }

@media (max-width: 760px) {
  .stores { grid-template-columns: 1fr; }
  .pref-index { display: none; }
  .pref-select {
    display: block;
    position: sticky;
    top: 56px;
    z-index: 40;
    margin: 20px -16px 0;
    padding: 10px 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .pref-select select {
    width: 100%;
    height: 44px;
    padding: 0 44px 0 14px;
    border: 1px solid var(--ink);
    border-radius: 0;
    -webkit-appearance: none;
    appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center / 12px 8px;
    color: var(--fg);
    font: inherit;
    font-size: 16px;
  }
  .site-nav { gap: 16px; }
  .site-logo img { height: 16px; }
  .pref-block { scroll-margin-top: 136px; margin-top: 32px; }
  .about-table th, .about-table td { display: block; width: 100%; border: 0; padding: 4px 0; }
  .about-table tr { display: block; border-bottom: 1px solid var(--line); padding: 10px 0; }
}

/* Motion */
@media (prefers-reduced-motion: no-preference) {
  .motion :is(.page-title, .pref-index .region, .pref-head, .store, .hero-cta, .about-img, .about-table tr) {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms), transform .8s cubic-bezier(.2,.7,.2,1) var(--d, 0ms);
  }
  .motion :is(.page-title, .pref-index .region, .pref-head, .store, .hero-cta, .about-img, .about-table tr).is-in { opacity: 1; transform: none; }

  .hero > a { overflow: hidden; }
  .hero > a img { animation: hero-in 1.6s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes hero-in {
    from { opacity: 0; transform: scale(1.06); }
    to { opacity: 1; transform: none; }
  }

  .motion .to-top { opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s; }
  .motion .to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }

  .btn, .store .map, .region-prefs a { transition: background-color .2s, color .2s, opacity .2s; }
}

@media (max-width: 760px) {
  .to-top { display: none; }
}
