/* saji — 雑誌のページのような、写真を散らした見せ方 */
:root {
  --bg: #f8eee3;        /* 桃がかった生成り */
  --paper: #fffaf3;
  --mint: #c4dfca;      /* sajiのカレンダーの色 */
  --mint-deep: #9cc6a7;
  --plum: #6a3945;      /* 紫キャベツ */
  --carrot: #e8742c;    /* にんじん（手書きの英字） */
  --ink: #3a3325;
  --ink-soft: #6f6553;
  --leaf: #4d7a3a;
  --line: #06c755;
  --c-open: #2d4274;
  --c-clinic: #e0508a;
  --c-yasai: #3a9a4a;
  --c-off: #d9453a;
  --script: "Caveat Brush", cursive;
  --serif-en: "EB Garamond", serif;
  --mincho: "Zen Old Mincho", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .06em;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.5; }
.script { font-family: var(--script); color: var(--carrot); margin: 0; line-height: 1; letter-spacing: .02em; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: 15px; text-decoration: none; letter-spacing: .08em;
  transition: transform .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-line { background: var(--line); color: #fff; }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,.8); color: #fff; }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 18px 44px; font-size: 17px; }
.text-link { font-family: var(--sans); font-size: 14px; font-weight: 500; text-underline-offset: 5px; }

/* ヘッダー */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; gap: 22px;
  padding: 14px clamp(16px, 4vw, 44px);
  transition: background .3s ease, padding .3s ease;
}
.site-header.scrolled { background: rgba(248, 238, 227, .94); backdrop-filter: blur(8px); padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 8px; margin-right: auto; text-decoration: none; }
.brand img { width: 36px; height: auto; }
.brand span { font-family: var(--serif-en); font-style: italic; font-size: 26px; line-height: 1; }
.nav { display: flex; gap: 26px; }
.nav a { font-family: var(--serif-en); font-style: italic; font-size: 17px; text-decoration: none; }
.nav a:hover { color: var(--carrot); }
.icon-link { display: grid; place-items: center; color: var(--ink); }
.icon-link:hover { color: var(--carrot); }

/* 最初の画面 */
.hero {
  position: relative; min-height: max(100vh, 680px);
  display: grid; place-items: center; overflow: hidden;
}
.hero-photos { position: absolute; inset: 0; }
.hp { position: absolute; object-fit: cover; box-shadow: 0 10px 30px rgba(58, 51, 37, .12); }
.hp-a { left: 5%;   top: 15%;    width: 14%; aspect-ratio: 3 / 4; }
.hp-b { left: 9%;   bottom: 7%;  width: 25%; aspect-ratio: 4 / 3; }
.hp-c { right: 10%; top: 11%;    width: 17%; aspect-ratio: 3 / 4; }
.hp-d { right: 13%; bottom: 6%;  width: 23%; aspect-ratio: 4 / 3; }
.hp-e { left: 39%;  bottom: 3%;  width: 10%; aspect-ratio: 3 / 4; }
.js .hp { opacity: 0; transform: translateY(24px); animation: rise 1s ease forwards; }
.js .hp-a { animation-delay: .1s; } .js .hp-c { animation-delay: .25s; }
.js .hp-b { animation-delay: .4s; } .js .hp-d { animation-delay: .55s; } .js .hp-e { animation-delay: .7s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-copy { position: relative; z-index: 2; text-align: center; margin-top: -4vh; }
.hero-kicker { font-family: var(--serif-en); font-style: italic; font-size: clamp(18px, 2vw, 24px); margin: 0 0 6px; }
.hero-title {
  font-family: var(--script); color: var(--carrot);
  font-size: clamp(64px, 10vw, 150px); line-height: .92; font-weight: 400;
  transform: rotate(-4deg);
}
.hero-place { margin: 22px 0 0; font-size: 14px; font-weight: 500; letter-spacing: .14em; }
.hero-vertical {
  position: absolute; right: clamp(14px, 3vw, 40px); top: 90px; z-index: 2; margin: 0;
  writing-mode: vertical-rl; font-family: var(--mincho); font-size: 17px; letter-spacing: .3em; line-height: 2.1;
}

/* ごあいさつ */
.intro { text-align: center; padding: 110px 20px 90px; }
.intro-mark { width: 64px; margin: 0 auto 26px; }
.intro p { margin: 0; font-family: var(--mincho); font-size: clamp(16px, 1.8vw, 19px); line-height: 2.4; }

/* 見出し共通 */
.sec-title { text-align: center; margin-bottom: 56px; }
.sec-title .script { font-size: clamp(44px, 6vw, 68px); transform: rotate(-3deg); display: inline-block; }
.sec-title h2 { font-size: clamp(20px, 2.4vw, 24px); letter-spacing: .2em; margin-top: 10px; }
.sec-sub { margin: 8px 0 0; font-size: 14px; color: var(--ink-soft); }

/* お品書き */
.menu { padding: 40px clamp(16px, 5vw, 64px) 110px; max-width: 1180px; margin: 0 auto; }
.dish { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(28px, 6vw, 80px); margin-bottom: 70px; }
.dish-rev .dish-photo { order: 2; }
.dish-photo { margin: 0; overflow: hidden; }
.dish-photo img { width: 100%; height: 100%; object-fit: cover; }
.dish-photo.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; }
.dish-photo.oval { aspect-ratio: 4 / 5; border-radius: 50%; max-width: 440px; justify-self: center; width: 100%; }
.dish-text .script, .dish-card .script { font-size: 46px; transform: rotate(-3deg); display: inline-block; margin-bottom: 8px; }
.dish-text h3, .dish-card h3 { font-family: var(--mincho); font-size: clamp(28px, 3.4vw, 38px); letter-spacing: .12em; }
.dish-text h3 small, .dish-card h3 small { font-family: var(--sans); font-size: 12px; margin-left: 10px; letter-spacing: .1em; opacity: .7; }
.price { font-family: var(--serif-en); font-size: 30px; margin: 10px 0 4px; letter-spacing: .04em; }
.note { margin: 0; font-size: 14px; line-height: 1.9; color: var(--ink-soft); }

.dish-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0 0 70px; }
.dish-card { padding: 44px 40px; border-radius: 18px; }
.card-plum { background: var(--plum); color: #fff; }
.card-plum .note { color: rgba(255,255,255,.8); }
.card-plum .script { color: #f6b27a; }
.card-mint { background: var(--mint); }

/* 写真の帯 */
.gallery { padding: 0 0 110px; }
.gallery-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 0 clamp(16px, 5vw, 64px) 22px; }
.gallery-head .script { font-size: clamp(38px, 5vw, 56px); transform: rotate(-3deg); }
.gallery-strip {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 clamp(16px, 5vw, 64px) 12px; scrollbar-width: thin;
}
.gallery-strip img {
  flex: 0 0 auto; height: clamp(220px, 30vw, 340px); width: auto; aspect-ratio: 3 / 4;
  object-fit: cover; scroll-snap-align: start; border-radius: 6px;
}
.gallery-strip img:nth-child(even) { margin-top: 28px; }

/* さじ座 */
.kura { background: var(--plum); color: #fff; padding: 110px clamp(16px, 5vw, 64px); }
.kura-inner { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 200px 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.kura-logo { width: 180px; height: auto; border-radius: 50%; justify-self: center; box-shadow: 0 0 0 8px rgba(255,255,255,.1); }
.kura-text .script { font-size: clamp(42px, 5vw, 60px); color: #f6b27a; transform: rotate(-3deg); display: inline-block; }
.kura-text h2 { font-family: var(--mincho); font-size: clamp(24px, 3vw, 32px); letter-spacing: .14em; margin: 12px 0 18px; }
.kura-text p { margin: 0 0 14px; }
.kura-note { font-size: 14px; opacity: .8; }
.kura-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* 営業カレンダー */
.schedule { background: var(--mint); padding: 110px clamp(12px, 4vw, 48px); }
.cal { max-width: 920px; margin: 0 auto; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.cal-month { margin: 0; display: flex; align-items: baseline; gap: 14px; color: var(--c-open); }
.cal-year { font-family: var(--script); font-size: 30px; }
.cal-num { font-family: var(--script); font-size: 76px; line-height: .8; }
.cal-en { font-family: var(--script); font-size: 26px; letter-spacing: .08em; }
.cal-nav {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--paper); color: var(--c-open); font-size: 26px; line-height: 1;
}
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-w { background: var(--paper); text-align: center; font-family: var(--script); font-size: 18px; color: var(--c-open); padding: 4px 0; letter-spacing: .08em; }
.cal-w.sun { color: var(--plum); }
.cal-d { background: var(--paper); min-height: 104px; padding: 6px 8px 8px; display: flex; flex-direction: column; gap: 4px; }
.cal-d.empty { background: transparent; }
.cal-d.today { outline: 3px solid var(--carrot); outline-offset: -3px; }
.cal-n { font-family: var(--script); font-size: 24px; line-height: 1; color: var(--c-open); }
.cal-d.sun .cal-n { color: var(--plum); }
.tag { display: block; font-size: 11px; line-height: 1.45; font-weight: 700; letter-spacing: .02em; padding-left: 8px; border-left: 3px solid; }
.tag i { font-style: normal; }
.tag .short { display: none; }
.t-open   { color: var(--c-open);   border-color: var(--c-open); }
.t-clinic { color: var(--c-clinic); border-color: var(--c-clinic); }
.t-yasai  { color: var(--c-yasai);  border-color: var(--c-yasai); }
.t-off, .t-kenshu { color: var(--c-off); border-color: var(--c-off); }
.cal-legend { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; }
.cal-legend li { display: flex; align-items: center; gap: 8px; }
.dot { width: 14px; height: 14px; border-radius: 50%; flex: 0 0 auto; }
.d-open { background: var(--c-open); } .d-clinic { background: var(--c-clinic); }
.d-yasai { background: var(--c-yasai); } .d-off { background: var(--c-off); }
.cal-foot { margin: 14px 0 0; font-size: 14px; }

/* ご案内とアクセス */
.access { padding: 110px clamp(16px, 5vw, 64px); }
.access-grid { max-width: 1040px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.info { margin: 0; }
.info div { display: grid; grid-template-columns: 6em 1fr; padding: 16px 0; border-bottom: 1px solid rgba(58, 51, 37, .15); }
.info dt { font-weight: 700; }
.info dd { margin: 0; }
.map iframe { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: 12px; display: block; margin-bottom: 12px; background: #e8dfd2; }

/* ご予約 */
.reserve { text-align: center; padding: 100px 20px 110px; background: var(--paper); }
.reserve .script { font-size: clamp(42px, 5vw, 60px); transform: rotate(-3deg); display: inline-block; }
.reserve h2 { font-family: var(--mincho); font-size: clamp(22px, 3vw, 30px); letter-spacing: .14em; margin: 14px 0 8px; }
.reserve p { margin: 0 0 30px; }
.reserve .reserve-sub { margin: 22px 0 0; font-size: 14px; color: var(--ink-soft); }

/* フッター */
.site-footer { text-align: center; padding: 64px 16px 120px; font-size: 14px; }
.site-footer img { width: 48px; margin: 0 auto 8px; }
.site-footer p { margin: 0 0 4px; }
.foot-name { font-family: var(--serif-en); font-style: italic; font-size: 28px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 14px !important; }
.site-footer small { display: block; margin-top: 18px; color: var(--ink-soft); }

.sticky-cta { display: none; }

/* スクロールでふわっと */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .hp, .js .reveal { opacity: 1; transform: none; animation: none; transition: none; }
}

/* タブレット */
@media (max-width: 900px) {
  .nav { display: none; }
  .dish, .dish-pair { grid-template-columns: 1fr; }
  .dish-rev .dish-photo { order: 0; }
  .dish-photo.arch { max-width: 460px; justify-self: center; width: 100%; }
  .dish-text { text-align: center; }
  .dish-pair { max-width: 520px; margin-inline: auto; }
  .kura-inner, .access-grid { grid-template-columns: 1fr; }
  .kura-inner { text-align: center; }
  .kura-actions { justify-content: center; }
  .kura-logo { width: 140px; }
}

/* スマホ */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .site-header .btn-sm { display: none; }
  .hero { min-height: auto; display: flex; flex-direction: column; align-items: stretch; padding: 100px 0 40px; }
  .hero-copy { order: -1; margin: 0 0 34px; padding: 0 16px; }
  .hero-vertical { top: auto; bottom: 56px; right: 20px; font-size: 13px; }
  .hero-photos { position: relative; height: 112vw; margin: 0 16px; }
  .hp-a { left: 0;   top: 0;     width: 42%; }
  .hp-c { right: 0;  top: 10%;   width: 50%; }
  .hp-b { left: 4%;  bottom: 2%; width: 66%; }
  .hp-d, .hp-e { display: none; }
  .hero-title { font-size: 68px; }
  .hero-place { font-size: 12px; letter-spacing: .08em; }
  .intro { padding: 70px 20px 60px; }
  .intro p { font-size: 15px; }
  .menu, .access { padding-bottom: 80px; }
  .dish-card { padding: 34px 28px; }
  .kura, .schedule, .access { padding-top: 80px; padding-bottom: 80px; }
  .schedule { padding-inline: 8px; }
  .cal-grid { gap: 3px; }
  .cal-w { font-size: 12px; letter-spacing: 0; }
  .cal-d { min-height: 64px; padding: 4px 3px; gap: 3px; }
  .cal-n { font-size: 18px; }
  .tag { font-size: 9.5px; padding: 1px 2px; border-left: 0; border-radius: 3px; color: #fff !important; text-align: center; }
  .t-open { background: var(--c-open); } .t-clinic { background: var(--c-clinic); }
  .t-yasai { background: var(--c-yasai); } .t-off, .t-kenshu { background: var(--c-off); }
  .tag .full { display: none; } .tag .short { display: inline; }
  .cal-legend { padding: 0 8px; font-size: 13px; }
  .cal-foot { padding: 0 8px; }
  .cal-num { font-size: 60px; }
  .info div { grid-template-columns: 5em 1fr; }
  .sticky-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
}
