/* ===== 珈琲と焼き菓子 hibi ===== */
:root {
  --base: #FFFFFF;
  --tint: #F7F5F0;
  --accent: #7B8A6B;
  --ink: #3B3934;
  --ink-sub: #7A756C;
  --line: #E4E0D7;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Zen Kaku Gothic New", sans-serif;
  color: var(--ink);
  background: var(--base);
  line-height: 2;
  letter-spacing: 0.04em;
  font-size: 15px;
  padding-bottom: 76px; /* モバイル追従CTAの逃げ */
}

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

h1, h2, h3 {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  line-height: 1.7;
}

.en,
.section__en,
.hero__en,
.footer__en {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  letter-spacing: 0.28em;
}

/* ---- ボタン ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  text-align: center;
  padding: 15px 32px;
  border: 1px solid var(--accent);
  border-radius: 2px;
  min-width: 200px;
  transition: opacity 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
  opacity: 0.85;
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
}

.btn--ghost:hover {
  background: var(--accent);
  color: #fff;
  opacity: 1;
}

.btn--sm {
  font-size: 12px;
  padding: 9px 20px;
  min-width: 0;
}

.cta--center {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

/* ---- スクロール後ヘッダー ---- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  padding: 12px 40px;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
}

.topbar.is-shown {
  transform: translateY(0);
}

.topbar__brand {
  font-family: "Zen Old Mincho", serif;
  font-size: 15px;
  letter-spacing: 0.1em;
}

.topbar__actions {
  display: flex;
  gap: 10px;
}

/* ---- モバイル追従CTA ---- */
.sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  transition: transform 0.3s ease;
}

.sticky.is-hidden {
  transform: translateY(115%);
}

.btn--sticky {
  flex: 1;
  min-width: 0;
  padding: 13px 8px;
  font-size: 13px;
}

/* ---- ファーストビュー ---- */
.hero {
  display: flex;
  flex-direction: column;
}

.hero__photo img {
  width: 100%;
  height: 56vh;
  min-height: 320px;
  object-fit: cover;
}

.hero__body {
  padding: 40px 24px 48px;
  text-align: center;
}

.hero__en {
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 18px;
}

.hero__copy {
  font-size: 25px;
  margin-bottom: 18px;
}

.hero__sub {
  font-size: 13px;
  color: var(--ink-sub);
  line-height: 1.9;
  margin-bottom: 28px;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__cta .btn {
  width: 100%;
  max-width: 300px;
}

.hero__note {
  font-size: 11px;
  color: var(--ink-sub);
  margin-top: 18px;
}

/* ---- セクション共通 ---- */
.section {
  padding: 72px 24px;
}

.section--tint {
  background: var(--tint);
}

.section__en {
  text-align: center;
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 10px;
}

.section__title {
  text-align: center;
  font-size: 21px;
  margin-bottom: 40px;
}

/* ---- お店について ---- */
.about {
  max-width: 560px;
  margin: 0 auto;
  font-family: "Zen Old Mincho", serif;
  text-align: center;
}

.about p {
  margin-bottom: 1.6em;
}

.about p:last-child {
  margin-bottom: 0;
}

.points {
  list-style: none;
  max-width: 900px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.points__item {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.points__num {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 8px;
}

.points__title {
  font-size: 17px;
  margin-bottom: 6px;
}

.points__text {
  font-size: 13px;
  color: var(--ink-sub);
}

/* ---- メニュー ---- */
.menu {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.menu__cat {
  font-size: 16px;
  color: var(--accent);
  text-align: center;
  padding-bottom: 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.menu__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 2px;
  border-bottom: 1px dotted var(--line);
}

.menu__row dt {
  font-size: 14px;
}

.menu__row dt span {
  display: block;
  font-size: 11px;
  color: var(--ink-sub);
  line-height: 1.6;
}

.menu__row dd {
  font-family: "Jost", sans-serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.menu__note {
  text-align: center;
  font-size: 11px;
  color: var(--ink-sub);
  margin-top: 24px;
}

.menu__photo {
  max-width: 900px;
  margin: 40px auto 0;
}

.menu__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 2px;
}

/* ---- ギャラリー ---- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 900px;
  margin: 0 auto;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
}

.gallery__note {
  text-align: center;
  font-size: 12px;
  color: var(--ink-sub);
  margin-top: 24px;
}

/* ---- 店主より ---- */
.owner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.owner__photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.owner__message {
  font-family: "Zen Old Mincho", serif;
  font-size: 15px;
}

.owner__name {
  font-size: 13px;
  color: var(--ink-sub);
  margin-top: 20px;
}

.owner__name span {
  font-size: 11px;
}

/* ---- ご利用案内 ---- */
.info {
  max-width: 620px;
  margin: 0 auto;
}

.info__row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  padding: 18px 2px;
}

.info__row dt {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

.info__row dd {
  font-size: 14px;
  line-height: 1.9;
}

.info__sub {
  display: block;
  font-size: 11px;
  color: var(--ink-sub);
  line-height: 1.8;
}

.badges {
  list-style: none;
  max-width: 620px;
  margin: 28px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.badges li {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-sub);
  border: 1px solid var(--line);
  border-radius: 100px;
  padding: 4px 14px;
}

.notice {
  max-width: 620px;
  margin: 40px auto 0;
  background: var(--tint);
  border-radius: 2px;
  padding: 24px 24px 26px;
}

.notice__title {
  font-size: 15px;
  margin-bottom: 10px;
}

.notice__list {
  list-style: none;
}

.notice__list li {
  font-size: 13px;
  color: var(--ink-sub);
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}

.notice__list li::before {
  content: "・";
  position: absolute;
  left: 0;
}

.notice__list li:last-child {
  margin-bottom: 0;
}

/* ---- クロージング ---- */
.section--closing {
  text-align: center;
  padding-bottom: 88px;
}

.closing__copy {
  font-size: 23px;
  margin-bottom: 14px;
}

.closing__text {
  font-size: 13px;
  color: var(--ink-sub);
  margin-bottom: 32px;
}

/* ---- フッター ---- */
.footer {
  text-align: center;
  border-top: 1px solid var(--line);
  padding: 48px 24px;
}

.footer__brand {
  font-family: "Zen Old Mincho", serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}

.footer__en {
  font-size: 10px;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer__sample {
  font-size: 11px;
  color: var(--ink-sub);
}

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

/* ---- フェードイン ---- */
.fade {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .fade {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- PC ---- */
@media (min-width: 768px) {
  body {
    font-size: 16px;
    padding-bottom: 0;
  }

  .sticky {
    display: none;
  }

  .topbar {
    display: flex;
  }

  .hero {
    flex-direction: row;
    align-items: stretch;
    min-height: 78vh;
  }

  .hero__photo {
    flex: 1 1 56%;
  }

  .hero__photo img {
    height: 100%;
    min-height: 0;
  }

  .hero__body {
    flex: 1 1 44%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 72px 48px;
  }

  .hero__copy {
    font-size: 32px;
  }

  .hero__sub {
    font-size: 14px;
  }

  .hero__cta {
    flex-direction: row;
  }

  .hero__cta .btn {
    width: auto;
  }

  .section {
    padding: 104px 40px;
  }

  .section__title {
    font-size: 25px;
    margin-bottom: 52px;
  }

  .points {
    flex-direction: row;
    gap: 40px;
  }

  .points__item {
    flex: 1;
  }

  .menu {
    flex-direction: row;
    gap: 48px;
    align-items: flex-start;
  }

  .menu__group {
    flex: 1;
  }

  .gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .owner {
    flex-direction: row;
    align-items: flex-start;
    gap: 44px;
  }

  .owner__photo {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
  }

  .info__row {
    flex-direction: row;
    gap: 24px;
    padding: 20px 2px;
  }

  .info__row dt {
    flex: 0 0 7em;
    padding-top: 4px;
  }

  .closing__copy {
    font-size: 28px;
  }
}
