/* ─────────────────────────────────────────
   aretosore — style
   paper / espresso / cobalt。アーチ型がモチーフ
   ───────────────────────────────────────── */

:root {
  --paper: #f4eee3;
  --paper-2: #ebe3d3;
  --ink: #241b16;
  --ink-soft: #5e5046;
  --night: #1a1411;
  --night-2: #261d18;
  /* ロゴのシアン(#00b0f0)を、生成り地で文字が読める濃さまで落とした色 */
  --cobalt: #0072ab;
  --caramel: #b57b45;
  --line: rgba(36, 27, 22, .22);
  --line-light: rgba(244, 238, 227, .28);

  --serif-en: "Cormorant Garamond", "Times New Roman", serif;
  --serif-ja: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --gutter: clamp(20px, 5vw, 56px);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif-ja);
  font-size: 16px;
  line-height: 2;
  letter-spacing: .06em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }

img, video, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
p, h1, h2, figure, dl, dd { margin: 0; }

.wrap { width: min(1120px, 100% - var(--gutter) * 2); margin-inline: auto; }
.center { text-align: center; }

:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }

/* ── Header ─────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  color: #fff;
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.site-header.is-solid {
  background: rgba(244, 238, 227, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
body.menu-open .site-header { background: transparent; color: var(--paper); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.brand { display: flex; align-items: center; }
.brand-logo { height: 26px; width: auto; }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 40px); font-family: var(--serif-en); font-size: 1.05rem; letter-spacing: .16em; }
.nav a { position: relative; padding: 4px 0; }
.nav a:not(.nav-insta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.nav a:not(.nav-insta):hover::after { transform: scaleX(1); }
.nav-insta svg { width: 22px; height: 22px; }

.menu-btn { display: none; width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; color: inherit; cursor: pointer; position: relative; }
.menu-btn span { position: absolute; left: 12px; right: 12px; height: 1px; background: currentColor; transition: transform .35s, top .35s; }
.menu-btn span:nth-child(1) { top: 18px; }
.menu-btn span:nth-child(2) { top: 26px; }
.menu-open .menu-btn span:nth-child(1) { top: 22px; transform: rotate(20deg); }
.menu-open .menu-btn span:nth-child(2) { top: 22px; transform: rotate(-20deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 40;
  background: var(--night); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 22px;
  font-family: var(--serif-en); font-size: 2rem; font-style: italic; letter-spacing: .16em;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.mobile-nav[hidden] { display: flex; }
.menu-open .mobile-nav { opacity: 1; visibility: visible; }
.mobile-nav .mobile-insta { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 1.15rem; font-style: normal; }
.mobile-insta svg { width: 22px; height: 22px; }

@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: block; }
}

/* ── Hero ───────────────────────────────── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 520px; background: var(--night); overflow: hidden; color: #fff; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  /* 縦長画面で中央を切り出すと、左右にあるロゴ・スタンドが欠けるので少し右へ寄せる */
  .hero-video { object-position: 56% 50%; }
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,14,11,.45) 0, rgba(20,14,11,0) 22%),
    linear-gradient(to top, rgba(20,14,11,.72) 0, rgba(20,14,11,0) 46%);
}
.hero-copy { position: absolute; left: var(--gutter); bottom: clamp(48px, 9vh, 96px); right: var(--gutter); }
.hero-sub { font-family: var(--serif-en); font-style: italic; font-size: clamp(1rem, 2vw, 1.25rem); letter-spacing: .2em; opacity: .9; }
.hero-catch { margin-top: 6px; font-size: clamp(2rem, 6.4vw, 4.4rem); line-height: 1.3; letter-spacing: .14em; font-weight: 500; }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 0; width: 44px; height: 88px; }
.hero-scroll span { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: rgba(255,255,255,.35); overflow: hidden; }
.hero-scroll span::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: #fff; animation: drip 2.4s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes drip { to { top: 100%; } }

/* ── Sections ───────────────────────────── */
.section { padding-block: clamp(88px, 14vw, 168px); }

.label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif-en); font-style: italic; font-size: 1.15rem; letter-spacing: .2em; line-height: 1;
  color: var(--cobalt);
}
.label span { font-style: normal; font-weight: 500; }
.label::before { content: ""; order: 1; width: 40px; height: 1px; background: currentColor; }
.label span { order: 0; }
.label { flex-direction: row; }
.label.light { color: var(--paper); opacity: .85; }

.h2 { margin-top: 26px; font-weight: 500; font-size: clamp(2.1rem, 5.4vw, 3.8rem); line-height: 1.35; letter-spacing: .12em; }
.lead { margin-top: 28px; color: var(--ink-soft); }
.section-head { margin-bottom: clamp(48px, 7vw, 88px); }

/* 二重罫（フランス菓子店のラベルのような装飾） */
.prose { margin-top: 44px; padding-top: 44px; position: relative; }
.prose::before, .prose::after { content: ""; position: absolute; left: 0; width: 72px; height: 1px; background: var(--ink); opacity: .5; }
.prose::before { top: 0; }
.prose::after { top: 5px; }
.prose p + p { margin-top: 1.6em; }

/* アーチ */
.arch { border-radius: 999px 999px 0 0; overflow: hidden; background: var(--paper-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ── Concept ────────────────────────────── */
.concept-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 8vw, 112px); align-items: center; }
.concept-photo { aspect-ratio: 2 / 3; max-width: 460px; }
@media (max-width: 760px) {
  .concept-grid { grid-template-columns: 1fr; }
  .concept-photo { width: 78%; margin-inline: auto; }
}

/* ── Sweets ─────────────────────────────── */
.sweets { background: var(--night); color: var(--paper); background-image: radial-gradient(ellipse at 50% 0, var(--night-2), var(--night) 70%); }
.sweets .h2 { color: var(--paper); }
.sweets .lead { color: rgba(244,238,227,.7); }
.sweets-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2.4vw, 32px); margin-bottom: clamp(56px, 8vw, 96px); }
.sweets-grid .arch { aspect-ratio: 4 / 5; background: var(--night-2); }
.sweets-grid .arch img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.sweets-grid li:hover .arch img { transform: scale(1.05); }
.sweets-grid li:nth-child(4n+2), .sweets-grid li:nth-child(4n+4) { margin-top: clamp(24px, 5vw, 64px); }
.no { display: block; margin-top: 12px; font-family: var(--serif-en); font-style: italic; letter-spacing: .2em; font-size: .95rem; line-height: 1; color: rgba(244,238,227,.55); text-align: center; }
@media (max-width: 760px) {
  .sweets-grid { grid-template-columns: repeat(2, 1fr); }
  .sweets-grid li:nth-child(4n+2), .sweets-grid li:nth-child(4n+4) { margin-top: 0; }
  .sweets-grid li:nth-child(even) { margin-top: 36px; }
}

/* ── Buttons ────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 34px; border-radius: 999px;
  font-size: .95rem; letter-spacing: .14em; line-height: 1.4;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-light { border: 1px solid var(--line-light); color: var(--paper); }
.btn-light:hover { background: var(--paper); color: var(--night); }
.btn-cobalt { background: var(--cobalt); color: #fff; border: 1px solid var(--cobalt); }
.btn-cobalt:hover { background: transparent; color: var(--cobalt); }

/* ── Shop ───────────────────────────────── */
.shop { background: var(--paper); }
.shop-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2.4vw, 32px); align-items: start; }
.shop-grid figure { overflow: hidden; background: var(--paper-2); }
.shop-grid img { width: 100%; height: 100%; object-fit: cover; }
.s1 { grid-column: 1 / 8;  aspect-ratio: 4 / 5; }
.s2 { grid-column: 9 / 13; aspect-ratio: 2 / 3; margin-top: clamp(40px, 9vw, 120px); }
.s3 { grid-column: 1 / 9;  aspect-ratio: 800 / 348; }
.s4 { grid-column: 10 / 13; aspect-ratio: 2 / 3; margin-top: clamp(-80px, -6vw, -24px); }
.s5 { grid-column: 2 / 7;  aspect-ratio: 4 / 5; margin-top: clamp(16px, 4vw, 48px); }
.s6 { grid-column: 8 / 12; aspect-ratio: 4 / 5; margin-top: clamp(48px, 9vw, 120px); }
@media (max-width: 760px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid figure { margin-top: 0; grid-column: auto; }
  .shop-grid .s1 { grid-column: 1 / -1; aspect-ratio: 4 / 5; }
  .shop-grid .s3 { grid-column: 1 / -1; aspect-ratio: 800 / 348; }
  .shop-grid .s2, .shop-grid .s4, .shop-grid .s5, .shop-grid .s6 { aspect-ratio: 3 / 4; }
  .shop-grid .s4, .shop-grid .s6 { margin-top: 28px; }
  /* 全幅の写真（s1, s3）を先に並べ、残りを2列に */
  .shop-grid .s3 { order: 1; }
  .shop-grid .s2, .shop-grid .s4, .shop-grid .s5, .shop-grid .s6 { order: 2; }
  .shop-grid .s2 { margin-top: 0; }
}

/* ── Access ─────────────────────────────── */
.access { background: var(--paper-2); }
.access-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 96px); align-items: start; }

.info { margin: 48px 0 44px; border-top: 1px solid var(--line); }
.info > div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.info dt { font-size: .85rem; color: var(--ink-soft); letter-spacing: .14em; padding-top: .2em; }
.info dd { line-height: 1.9; }
.hours { font-size: 1.1rem; }
.hours b { font-family: var(--serif-en); font-weight: 600; font-size: 1.35em; letter-spacing: .1em; margin-left: .4em; }
.week { display: flex; gap: 6px; margin-top: 10px; }
.week li { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; line-height: 1; border: 1px solid var(--line); color: rgba(36,27,22,.4); }
.week li.on { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.link { display: inline-block; margin-top: 4px; color: var(--cobalt); font-size: .92rem; border-bottom: 1px solid currentColor; line-height: 1.6; transition: opacity .3s; }
.link:hover { opacity: .65; }

.map { position: relative; aspect-ratio: 4 / 5; background: var(--paper); border-radius: 999px 999px 0 0; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.55) sepia(.18) contrast(.95); }
@media (max-width: 860px) {
  .access-grid { grid-template-columns: 1fr; }
  .map { aspect-ratio: 1 / 1; border-radius: 0; }
  .info > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ── Footer ─────────────────────────────── */
.footer { background: var(--night); color: var(--paper); padding-top: clamp(64px, 9vw, 112px); }
/* 外観写真：遠景の雰囲気を活かすため、切り抜かず元の縦横比のまま角形で見せる。アーチはロゴだけにする */
.footer-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 8vw, 112px); align-items: end; }
.footer-photo { max-width: 540px; width: 100%; margin-inline: auto; background: var(--night-2); }
.footer-photo img { width: 100%; height: auto; }
.footer-body { padding-bottom: 8px; }
.footer-logo { width: 104px; height: auto; }
.footer-name { margin-top: 28px; font-size: 1.3rem; letter-spacing: .18em; }
.footer-name span { font-family: var(--serif-en); font-style: italic; font-size: 1.1rem; opacity: .7; margin-left: .6em; }
.footer-addr { margin-top: 12px; color: rgba(244,238,227,.7); font-size: .92rem; }
.footer-insta { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding-bottom: 3px; border-bottom: 1px solid var(--line-light); font-family: var(--serif-en); font-size: 1.1rem; letter-spacing: .1em; transition: opacity .3s; }
.footer-insta:hover { opacity: .65; }
.footer-insta svg { width: 20px; height: 20px; }
.copy { margin-top: clamp(56px, 8vw, 96px); padding: 22px var(--gutter); border-top: 1px solid var(--line-light); text-align: center; font-family: var(--serif-en); font-size: .9rem; letter-spacing: .2em; color: rgba(244,238,227,.5); }
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-body { text-align: center; }
  .footer-logo { margin-inline: auto; }
}

/* ── Reveal ─────────────────────────────── */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.1s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .sweets-grid li.reveal:nth-child(4n+2) { transition-delay: .08s; }
.js .sweets-grid li.reveal:nth-child(4n+3) { transition-delay: .16s; }
.js .sweets-grid li.reveal:nth-child(4n+4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll span::after { animation: none; }
  .sweets-grid .arch img { transition: none; }
}
