/* 生成り版：背景を生成りに、上と下をこげ茶の帯に（style.css のあとに読み込む） */

:root {
  --bg: #f2ece1;        /* 生成り（背景） */
  --bg-deep: #e9e0d1;   /* 少し濃い生成り（ホバーなど） */
  --fg: #3d2a22;        /* こげ茶（文字） */
  --sub: #7d6b5e;       /* 小さな文字 */
  --line: #d9cdbc;      /* 線 */
  --accent: #c4552a;    /* 差し色（明るい背景用に少し濃く） */

  /* こげ茶の帯（ヘッダー・フッター） */
  --band: #3d2a22;
  --band-fg: #f1e9df;
  --band-sub: #b9a99a;
  --band-line: #5d4a40;
  --band-accent: #f08a5d;
}

/* ヘッダー */
/* 帯の中だけ色の役割を入れかえる（マークの線もこれで帯の色になる） */
.site-header, .site-footer { --fg: var(--band-fg); --sub: var(--band-sub); --line: var(--band-line); --accent: var(--band-accent); }
.site-header { background: rgba(61, 42, 34, .97); color: var(--band-fg); }
.global-nav a::after { background: var(--band-accent); }
.site-header a:focus-visible, .site-header button:focus-visible { outline-color: var(--band-accent); }

/* イラストは色をそのまま出す */
.panel { background: #e6dccb; }
.panel img, .panel:hover img, .panel:focus-visible img,
.about-photo img, .shop-card img, .shop-card:hover img,
.others-list img, .access-photo img { filter: none; }
.panel-label { text-shadow: 0 0 12px rgba(40, 25, 15, .6); }

.about-text p { color: var(--fg); }
.sns a:hover { background: var(--bg-deep); }

/* フッター */
.site-footer { background: var(--band); color: var(--band-fg); }
.footer-company p, .copy { color: var(--band-sub); }
.footer-company a { border-color: var(--band-line); }
.footer-company a:hover { border-color: var(--band-accent); }

/* ===== 改行：日本語を言葉の切れ目で折り返し、1〜2文字だけの行を作らない ===== */
body { word-break: auto-phrase; line-break: strict; text-wrap: pretty; }
h1, h2, h3, .ja-title, .follow-title { text-wrap: balance; }
.nw { white-space: nowrap; }

/* ===== 今風の動き ===== */

/* 1. 開いたときの幕とロゴ */
.intro { display: none; }
.js .intro {
  position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
  background: var(--band);
  transition: transform 1s cubic-bezier(.76, 0, .24, 1);
}
.js .intro img { width: min(420px, 64vw); height: auto; opacity: 0; transform: translateY(16px); animation: intro-logo .9s cubic-bezier(.2, .8, .2, 1) .15s forwards; }
@keyframes intro-logo { to { opacity: 1; transform: none; } }
.js .intro.is-done { transform: translateY(-100%); }
.js.intro-seen .intro { display: none; }

/* 2. トップのイラストは横からさっと入れ替わる */
.js .slide { opacity: 1; transition: none; clip-path: inset(0 0 0 100%); z-index: 0; }
.js .slide.is-prev { clip-path: inset(0); z-index: 1; }
.js .slide.is-active { clip-path: inset(0); z-index: 2; transition: clip-path 1.1s cubic-bezier(.76, 0, .24, 1); }
.js .slide.no-anim { transition: none; }
.js .slide.is-prev img { transform: scale(1.1); }

/* 縦書きコピーは1文字ずつ */
.js .v-main .ch { display: inline-block; opacity: 0; transform: translateY(-.4em); filter: blur(4px); transition: opacity .7s ease, transform .7s ease, filter .7s ease; transition-delay: calc(var(--i) * 70ms + var(--d, 0ms)); }
.js .v-main.is-in .ch { opacity: 1; transform: none; filter: none; }

/* 3. 見出しの英字が1文字ずつせり上がる */
.js .en-title { overflow: hidden; padding-bottom: .08em; }
.js .en-title .ch { display: inline-block; transform: translateY(105%); transition: transform 1s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i) * 55ms); }
.js .section-head.is-in .en-title .ch { transform: none; }
.js .section-head .v-label { opacity: 0; transform: translateY(8px); transition: opacity .8s ease .45s, transform .8s ease .45s; }
.js .section-head.is-in .v-label { opacity: 1; transform: none; }

/* 5. イラストの奥行き（スクロールで少しずれる） */
.shop-row img, .about-photo img, .access-photo img { transform: translateY(var(--py, 0)) scale(var(--sc, 1.12)); }
.shop-row:hover img { --sc: 1.16; }
.about-photo, .access-photo { overflow: hidden; }

/* 6. ヘッダーとリンク */
.site-header { transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.site-header.is-hidden { transform: translateY(-100%); }
.more span, .nav-issei span, .footer-company a span { display: inline-block; transition: transform .3s ease; }
.more:hover span, .nav-issei:hover span, .footer-company a:hover span { transform: translate(4px, -1px); }

@media (prefers-reduced-motion: reduce) {
  .js .intro { display: none; }
  .js .slide, .js .slide.is-active { transition: none; }
  .js .v-main .ch, .js .en-title .ch, .js .section-head .v-label { opacity: 1; transform: none; filter: none; transition: none; }
  .shop-row img, .about-photo img, .access-photo img { transform: none; }
  .site-header { transition: none; }
}

/* ===== ロゴ（横1行の画像） ===== */
.logo-img { display: block; height: 40px; width: auto; }
.site-footer .logo-img { height: 48px; }
@media (max-width: 760px) {
  .logo-img { height: 30px; }
  .site-footer .logo-img { height: 36px; }
}

/* ===== Event：少しだけイベント感 ===== */
.event .v-label { color: var(--accent); }
.event-list li { position: relative; padding-left: 12px; padding-right: 12px; margin: 0 -12px; transition: background .3s; }
.event-list li:hover { background: rgba(196, 85, 42, .05); }
.ev-tag {
  justify-self: start; border: 1px solid var(--accent); border-radius: 999px;
  padding: 0 12px; font-size: 12px; line-height: 2; letter-spacing: .16em;
}
.ev-what small { white-space: nowrap; }
.ev-num { font-style: normal; color: var(--accent); font-size: 1.2em; font-weight: 600; margin: 0 .1em; }
/* 今日あてはまるイベント */
.event-list li.is-today { background: rgba(196, 85, 42, .08); }
.event-list li.is-today .ev-tag { background: var(--accent); color: #fff; }
.ev-today {
  display: inline-block; margin-right: 10px; padding: 0 10px; border-radius: 999px;
  background: var(--fg); color: var(--bg); font-size: 11px; letter-spacing: .2em; line-height: 2;
  vertical-align: 2px; animation: today-pop 2.4s ease-in-out infinite;
}
@keyframes today-pop { 0%, 70%, 100% { transform: none; } 80% { transform: translateY(-2px); } 90% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ev-today { animation: none; } }

/* ===== トップ：大きなイラストの切り替え ===== */
.hero-stage { align-items: start; padding-top: 24px; grid-template-columns: 1fr clamp(170px, 17vw, 250px); }
.hero-stage .hero-copy { padding-top: 8px; }
.hero-stage .v-main { font-size: clamp(32px, 3.6vw, 52px); line-height: 1.7; letter-spacing: .32em; font-weight: 500; }
.stage { min-width: 0; }
.slides {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - var(--header-h) - 120px);
  width: 100%;
  background: #e6dccb;
}
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.4s ease; }
.slide.is-active { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
/* 表示中の絵はゆっくり寄っていく */
.slide.is-active img { animation: drift 7s ease-out forwards; }
@keyframes drift { from { transform: scale(1.02); } to { transform: scale(1.1); } }

.slide-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 16px; margin-top: 16px; }
.slide-tabs button {
  position: relative; display: grid; gap: 2px; justify-items: start;
  padding: 12px 0 10px; border: 0; background: none; cursor: pointer; text-align: left;
  font-family: var(--f-en); font-size: clamp(15px, 1.6vw, 20px); letter-spacing: .12em; color: var(--sub);
  border-top: 1px solid var(--line); transition: color .3s;
}
.slide-tabs button span { font-family: var(--f-ja); font-size: 11px; letter-spacing: .2em; }
.slide-tabs button:hover, .slide-tabs button[aria-pressed="true"] { color: var(--fg); }
/* 次に切り替わるまでの線 */
.slide-tabs button::before {
  content: ""; position: absolute; left: 0; top: -1px; height: 2px; width: 100%;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
}
.slide-tabs button[aria-pressed="true"]::before { animation: progress var(--slide-ms, 6000ms) linear forwards; }
.stage.is-paused .slide-tabs button[aria-pressed="true"]::before { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }

/* ===== 売り場：大きなイラストを左右交互に ===== */
.shop-rows { display: grid; gap: clamp(64px, 9vw, 128px); }
.shop-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.shop-row:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.shop-row:nth-child(even) figure { order: 2; }
.shop-row figure { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: #e6dccb; }
.shop-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.shop-row-text { max-width: 26em; }
.shop-row h3 { display: grid; font-weight: 500; font-size: 15px; letter-spacing: .2em; line-height: 1.6; }
.shop-row .en { font-family: var(--f-en); font-weight: 400; font-size: clamp(36px, 4.4vw, 56px); letter-spacing: .08em; line-height: 1.2; }
.shop-row p { margin-top: 18px; font-size: 14px; line-height: 2.1; color: var(--sub); }

/* スクロールで、イラストが幕を開けるように出てくる */
.js .shop-row figure { clip-path: inset(0 100% 0 0); transition: clip-path 1.3s cubic-bezier(.7, 0, .2, 1); }
.js .shop-row:nth-child(even) figure { clip-path: inset(0 0 0 100%); }
.js .shop-row.is-in figure { clip-path: inset(0 0 0 0); }
.js .shop-row .shop-row-text { opacity: 0; transform: translateY(20px); transition: opacity 1s ease .5s, transform 1s ease .5s; }
.js .shop-row.is-in .shop-row-text { opacity: 1; transform: none; }

.others-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .slide.is-active img { animation: none; }
  .slide-tabs button::before { display: none; }
  .js .shop-row figure, .js .shop-row:nth-child(even) figure { clip-path: none; transition: none; }
  .js .shop-row .shop-row-text { opacity: 1; transform: none; transition: none; }
  .shop-row img { transition: none; }
}

@media (max-width: 760px) {
  .hero-stage { padding-top: 12px; grid-template-columns: 1fr 96px; }
  .hero-stage .v-main { font-size: 22px; letter-spacing: .24em; }
  .slides { aspect-ratio: 4 / 3; max-height: none; }
  .slide-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 8px; }
  .slide-tabs button { font-size: 12px; letter-spacing: .04em; padding-top: 8px; }
  .slide-tabs button span { display: none; }
  .shop-row, .shop-row:nth-child(even) { grid-template-columns: 1fr; gap: 20px; }
  .shop-row:nth-child(even) figure { order: 0; }
}

/* スマホのメニューも帯の色に */
@media (max-width: 760px) {
  .menu-btn { color: var(--band-fg); }
  .menu-lines, .menu-lines::before, .menu-lines::after { background: var(--band-fg); }
  .menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
  .global-nav { background: var(--band); border-bottom-color: var(--band-line); }
  .global-nav a { border-bottom-color: var(--band-line); }
}

/* ---------- ロゴ横の小さな見出し（検索エンジン向けのお店の説明） ---------- */
.hd-brand { display: flex; align-items: center; gap: 16px; min-width: 0; }
.hd-tag { margin: 0; font-size: 11px; font-weight: 400; line-height: 1.4; letter-spacing: .1em; color: var(--band-sub); padding-left: 16px; border-left: 1px solid var(--band-line); white-space: nowrap; }
@media (max-width: 1100px) { .hd-brand { flex-direction: column; align-items: flex-start; gap: 3px; } .hd-tag { padding-left: 0; border-left: 0; font-size: 10px; letter-spacing: .06em; } }
@media (max-width: 760px) { .hd-tag { font-size: 9.5px; letter-spacing: .03em; } }
/* Narrow screens: keep the shop description clear of the menu. */
@media(max-width:480px){.site-header{gap:12px}.hd-brand{flex:1}.hd-tag{white-space:normal;max-width:100%}.menu-btn{flex-shrink:0}}
