:root {
  --brown: #594337;
  --brown-dark: #35281f;
  --beige: #ede6dd;
  --gold: #bea680;
  --paper: #fbfaf8;
  --ink: #4e4038;
  --line: #d8cec3;
  --serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", Georgia, serif;
  --sans: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
  --script: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--serif);
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.wrap { width: min(1120px, calc(100% - 72px)); margin-inline: auto; }
.section { position: relative; }

/* HERO */
.hero {
  min-height: 520px;
  height: min(52vw, 650px);
  position: relative;
  color: #fff;
  background: url("assets/hero-clean.webp") center center / cover no-repeat;
  overflow: hidden;
}
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(24,15,8,.34) 0%, rgba(24,15,8,.14) 42%, rgba(20,18,12,.03) 72%);
}
.topbar {
  position: relative; z-index: 3;
  display: flex; align-items: flex-start; justify-content: space-between;
  padding-top: 26px;
}
.brand { color: #fff; display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.brand__script { font-family: var(--script); font-size: clamp(27px,3.2vw,42px); font-style: italic; letter-spacing: -.03em; white-space: nowrap; }
.brand__sub { font-family: var(--sans); font-size: 10px; letter-spacing: .32em; margin-top: 10px; padding-left: .32em; }
.nav { display: flex; align-items: center; gap: clamp(18px,2.1vw,30px); padding-top: 16px; }
.nav a { font-family: var(--sans); font-size: 11px; letter-spacing: .20em; transition: opacity .2s ease; }
.nav a:hover { opacity: .68; }
.nav__icon { width: 18px; height: 18px; display: grid; place-items: center; margin-left: -3px; }
.nav__icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.menu-toggle { display: none; }
.hero__copy {
  position: relative; z-index: 2;
  height: calc(100% - 95px);
  display: flex; flex-direction: column; justify-content: center;
  padding-bottom: 8px;
}
.hero__lead { margin: 0 0 26px 55px; font-size: clamp(30px, 3.2vw, 45px); line-height: 1.55; letter-spacing: .1em; text-shadow: 0 2px 12px rgba(0,0,0,.18); }
.hero__text { margin: 0 0 0 55px; font-size: clamp(13px,1.25vw,17px); line-height: 2.05; letter-spacing: .08em; text-shadow: 0 2px 10px rgba(0,0,0,.18); }

/* ABOUT */
.about { background: #fff; padding: 70px 0 60px; }
.about__inner { min-height: 305px; display: grid; grid-template-columns: 39% 1fr; gap: 80px; align-items: center; padding-inline: 85px 58px; }
.arch-photo { width: 100%; aspect-ratio: 1.03 / 1; overflow: hidden; border-radius: 48% 48% 0 0 / 42% 42% 0 0; }
.arch-photo img { width: 100%; height: 100%; object-fit: cover; }
.about__content { align-self: center; max-width: 540px; }
.script-heading { margin: 0; color: #6c4937; font-family: var(--script); font-size: 38px; line-height: 1.25; font-style: italic; letter-spacing: -.03em; }
.about h2 { margin: 14px 0 18px; font-size: 22px; font-weight: 500; letter-spacing: .08em; }
.about__content > p:not(.script-heading) { margin: 0 0 27px; font-size: 12px; line-height: 2.15; }
.button { display: inline-flex; min-width: 124px; justify-content: center; align-items: center; background: var(--gold); color: #fff; font-family: var(--sans); font-size: 11px; letter-spacing: .15em; padding: 8px 20px; transition: transform .2s ease, opacity .2s ease; }
.button:hover { opacity: .86; transform: translateY(-1px); }
.leaf { position: absolute; right: max(5vw, 40px); bottom: 35px; width: 78px; height: 78px; fill: none; stroke: #b99b73; stroke-width: 1.3; stroke-linecap: round; }

/* MENU */
.menu-section { background: linear-gradient(90deg, #f0eae4 0%, #eee7df 45%, #efeae5 100%); padding: 25px 0 50px; }
.section-title { text-align: center; margin-bottom: 25px; }
.section-title .script-heading { font-size: 40px; }
.section-title span { display: block; width: 26px; height: 1px; background: #b8a58f; margin: 8px auto 0; }
/* MENUは横スクロール。PCは4枚見えて、5枚目以降はスクロールで送る */
.menu-grid {
  display: flex; gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 14px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #c2ae97 rgba(120,100,80,.10);
}
.menu-grid::-webkit-scrollbar { height: 6px; }
.menu-grid::-webkit-scrollbar-track { background: rgba(120,100,80,.10); border-radius: 999px; }
.menu-grid::-webkit-scrollbar-thumb { background: #c2ae97; border-radius: 999px; }
.menu-card {
  flex: 0 0 calc((100% - 24px * 3) / 4);
  scroll-snap-align: start;
  text-align: center;
}
/* 前後の矢印ボタン。画像の高さの中央あたりに来るよう少し上に寄せる */
.menu-carousel { position: relative; }
.menu-arrow {
  position: absolute; top: calc(50% - 38px);
  transform: translateY(-50%);
  z-index: 2;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.92);
  color: var(--brown);
  box-shadow: 0 2px 10px rgba(60,42,28,.14);
  cursor: pointer;
  transition: background .2s, color .2s, opacity .2s, box-shadow .2s;
}
.menu-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.menu-arrow:hover { background: var(--brown); color: #fff; box-shadow: 0 4px 14px rgba(60,42,28,.22); }
.menu-arrow:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.menu-arrow--prev { left: -22px; }
.menu-arrow--next { right: -22px; }
.menu-arrow[disabled] { opacity: 0; pointer-events: none; }
.menu-card img { width: 100%; aspect-ratio: 1.12 / 1; object-fit: cover; }
.menu-card h3 { margin: 13px 0 2px; font-family: var(--sans); font-size: 12px; letter-spacing: .14em; font-weight: 500; }
.menu-card p { margin: 0; font-size: 10px; line-height: 1.9; letter-spacing: .04em; }

/* CALENDAR */
.calendar { background: linear-gradient(180deg, #f6f1ea 0%, #efe7dc 100%); padding: 62px 0 70px; overflow: hidden; }
/* 背景は元カンプ（assets/calendar.webp）の葉の部分だけを切り出して使う。
   月表記が写り込まないので、カレンダーを更新しても背景は差し替え不要。 */
.calendar__bg {
  position: absolute; inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.calendar__bg::before,
.calendar__bg::after {
  content: ""; position: absolute;
  background-image: url("assets/calendar.webp");
  background-size: 820px 1025px;
  background-repeat: no-repeat;
  opacity: .5;
}
.calendar__bg::before {
  top: 0; left: 0; width: 205px; height: 250px;
  background-position: 0 0;
  -webkit-mask-image: radial-gradient(farthest-side at 0 0, #000 50%, transparent 100%);
  mask-image: radial-gradient(farthest-side at 0 0, #000 50%, transparent 100%);
}
/* 右下は同じ葉を180度回して使う（元画像の右下には日付とマス目が入っているため） */
.calendar__bg::after {
  right: 0; bottom: 0; width: 205px; height: 250px;
  background-position: 0 0;
  transform: rotate(180deg);
  -webkit-mask-image: radial-gradient(farthest-side at 0 0, #000 50%, transparent 100%);
  mask-image: radial-gradient(farthest-side at 0 0, #000 50%, transparent 100%);
}
.calendar__inner { position: relative; z-index: 1; text-align: center; }
.calendar .section-title { margin-bottom: 14px; }
.calendar__lead { margin: 0 0 10px; font-size: 22px; font-weight: 500; letter-spacing: .1em; color: var(--brown-dark); }
.calendar__note { margin: 0 auto 30px; font-size: 12px; line-height: 1.9; color: var(--ink); }

.cal-card {
  width: min(560px, 100%); margin: 0 auto;
  background: rgba(255,255,255,.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px 30px 24px;
  box-shadow: 0 18px 45px -28px rgba(80,60,40,.5);
  backdrop-filter: blur(2px);
}
.cal-head { margin-bottom: 16px; }
.cal-month { margin: 0; font-size: 30px; letter-spacing: .04em; color: var(--brown-dark); }
.cal-month span { font-size: 17px; margin: 0 1px; }
.cal-month-en { margin: 6px 0 0; font-family: var(--sans); font-size: 10px; letter-spacing: .34em; color: var(--gold); }

.cal-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.cal-table th { padding: 8px 0; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .1em; color: var(--ink); border-bottom: 1px solid var(--gold); }
.cal-table td { height: 46px; border-bottom: 1px solid #ece3d8; font-size: 15px; vertical-align: middle; position: relative; }
.cal-table .d { display: inline-block; line-height: 1; }
.cal-table .is-sun, .cal-table th.is-sun { color: #b4553f; }
.cal-table .is-sat, .cal-table th.is-sat { color: #4a6b93; }
.cal-table .is-empty { background: transparent; }
.cal-table .is-closed { color: #a8836a; }
.cal-table .is-closed .d { position: relative; }
.cal-table .is-closed::after {
  content: ""; position: absolute; inset: 5px 8px;
  background: rgba(190,166,128,.16); border-radius: 5px; z-index: -1;
}
.cal-table .mk { display: block; margin-top: 2px; font-family: var(--sans); font-size: 8px; letter-spacing: .05em; color: #b08a5a; }
.cal-table .is-temp { color: #b4553f; }
.cal-table .is-temp::after {
  content: ""; position: absolute; inset: 5px 8px;
  background: rgba(180,85,63,.14); border-radius: 5px; z-index: -1;
}
.cal-table .is-temp .mk { color: #b4553f; }
.cal-table .mk--temp { font-size: 6.5px; letter-spacing: 0; white-space: nowrap; }

.cal-legend { list-style: none; display: flex; justify-content: center; gap: 26px; margin: 20px 0 0; padding: 0; }
.cal-legend li { display: inline-flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .04em; }
.cal-legend .dot { width: 13px; height: 13px; border-radius: 4px; }
.cal-legend .dot--open { border: 1px solid var(--line); background: #fff; }
.cal-legend .dot--closed { background: rgba(190,166,128,.28); border: 1px solid rgba(176,138,90,.5); }
.cal-legend .dot--temp { background: rgba(180,85,63,.22); border: 1px solid rgba(180,85,63,.5); }

.cal-hours { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; margin: 34px 0 0; }
.cal-hours div { display: inline-flex; align-items: baseline; gap: 14px; }
.cal-hours dt { font-family: var(--sans); font-size: 13px; letter-spacing: .16em; color: var(--gold); }
.cal-hours dd { margin: 0; font-size: 19px; letter-spacing: .04em; }

/* INFO */
.info { background: #fff; padding: 36px 0 50px; }
.info__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; }
.instagram-panel, .access-panel { min-height: 215px; padding: 0 32px; }
.instagram-panel { padding-left: 0; border-right: 1px solid var(--line); }
.access-panel { padding-right: 0; }
.panel-heading { display: flex; justify-content: space-between; align-items: center; min-height: 42px; margin-bottom: 13px; }
.panel-heading .script-heading, .access-panel > .script-heading { font-size: 30px; }
.panel-heading a, .panel-heading span { font-family: var(--sans); font-size: 8px; letter-spacing: .07em; }
.insta-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 4px; }
.insta-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.access-panel > .script-heading { margin-bottom: 14px; }
.access-wrap { display: grid; grid-template-columns: max-content 230px; gap: 26px; align-items: end; }
.access-copy { font-size: 9px; line-height: 1.9; }
.access-copy p { margin: 0 0 10px; }
.button--small { margin-top: 2px; min-width: 125px; font-size: 9px; padding: 6px 15px; }
.map-card img { width: 100%; height: 160px; object-fit: cover; object-position: center; opacity: .92; }

@media (max-width: 1040px) {
  .wrap { width: min(100% - 44px, 1000px); }
  .nav { gap: 14px; }
  .nav a { font-size: 9px; }
  .about__inner { padding-inline: 40px; gap: 55px; }
  .info__grid { grid-template-columns: 1fr; }
  .access-panel { border-top: 1px solid var(--line); padding: 26px 0 0; margin-top: 26px; }
  .instagram-panel { padding: 0; border-right: none; }
  .access-wrap { grid-template-columns: 1fr 250px; }
}

@media (max-width: 820px) {
  .wrap { width: min(100% - 32px, 720px); }
  .hero { height: 680px; min-height: 680px; background-image: url("assets/hero-mobile.webp"); background-position: 55% center; }
  .hero__veil { background: linear-gradient(90deg, rgba(25,17,10,.58), rgba(25,17,10,.18) 72%); }
  .topbar { padding-top: 20px; align-items: center; }
  .brand__script { font-size: 30px; }
  .brand__sub { font-size: 8px; margin-top: 7px; }
  .menu-toggle { display: inline-flex; width: 40px; height: 40px; padding: 9px; background: rgba(0,0,0,.18); border: 1px solid rgba(255,255,255,.45); border-radius: 999px; flex-direction: column; justify-content: center; gap: 5px; color: #fff; cursor: pointer; z-index: 5; }
  .menu-toggle span { width: 100%; height: 1px; background: currentColor; transition: .25s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav { position: fixed; z-index: 4; top: 0; right: 0; width: min(330px, 82vw); height: 100dvh; padding: 105px 36px 40px; background: rgba(47,36,29,.97); backdrop-filter: blur(14px); transform: translateX(102%); transition: transform .28s ease; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
  .nav.is-open { transform: translateX(0); }
  .nav a { font-size: 12px; }
  .nav__icon { display: none; }
  .hero__copy { height: calc(100% - 90px); justify-content: center; }
  .hero__lead { margin-left: 14px; font-size: 38px; }
  .hero__text { margin-left: 14px; font-size: 13px; }
  .about { padding: 52px 0; }
  .about__inner { display: grid; grid-template-columns: 1fr; gap: 34px; padding: 0; }
  .about__photo { width: min(430px, 86%); justify-self: center; }
  .about__content { text-align: center; margin-inline: auto; }
  .about__content > p:not(.script-heading) { font-size: 11px; }
  .leaf { opacity: .45; right: 20px; bottom: 20px; }
  .menu-grid { gap: 18px; }
  .menu-card { flex-basis: calc((100% - 18px * 1.3) / 2.3); }
  .menu-arrow--prev { left: -14px; }
  .menu-arrow--next { right: -14px; }
  .info__grid { grid-template-columns: 1fr; }
  .instagram-panel, .access-panel { padding: 0; border-right: none; }
  .access-panel { border-top: 1px solid var(--line); margin-top: 30px; padding-top: 30px; }
  .access-wrap { grid-template-columns: 1fr 230px; }
}

@media (max-width: 540px) {
  .calendar { padding: 48px 0 54px; }
  .cal-card { padding: 22px 16px 20px; }
  .cal-month { font-size: 26px; }
  .cal-table td { height: 42px; font-size: 14px; }
  .cal-hours { flex-direction: column; gap: 8px; }
  .hero { height: 650px; min-height: 650px; background-position: 58% center; }
  .hero__lead { margin-left: 0; font-size: 34px; line-height: 1.58; }
  .hero__text { margin-left: 0; font-size: 12px; line-height: 1.95; }
  .menu-grid { gap: 16px; }
  .menu-card { flex-basis: calc((100% - 16px) / 1.25); }
  /* 画面端に張り付かないよう、スマホではカードに少し重ねる */
  .menu-arrow { width: 44px; height: 44px; top: calc(50% - 44px); }
  .menu-arrow svg { width: 19px; height: 19px; }
  .menu-arrow--prev { left: 6px; }
  .menu-arrow--next { right: 6px; }
  .menu-card p { font-size: 11px; }
  .info { padding-top: 28px; }
  .access-wrap { grid-template-columns: 1fr; }
  .map-card { order: -1; max-width: 290px; }
  .map-card img { height: auto; }
}
