/* ===== Base ===== */
body {
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
  font-variation-settings: "wdth" 100;
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
}

html {
  scroll-behavior: smooth;
}

/* ===== Splash ===== */
.splash {
  position: fixed;
  inset: 0;
  background: #bfbfbf;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: splash-bg-fadeout 1s ease forwards;
  animation-delay: 2.5s;
}

.splash-inner {
  /* ← 22vhは足りない */
  position: relative;
  width: 100%;
  max-width: 420px;
  height: 35vh;
}

/* ===== iPhone SE2 くらいの幅から微調整 ===== */


/* 共通 */
.splash-text {
  position: absolute;
  width: clamp(30px, 45vw, 70px);
  opacity: 0;
  transform: translateX(var(--x)) translateY(12px);
  will-change: transform, opacity;
}

/* 1行目 */
.splash-text--first {
  /* ← 縦組み前提で広げる */
  top: -15vh;
  left: 60%;
  --x: -58%;
  animation: fade-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.3s;
}

/* 2行目 */
.splash-text--second {
  /* ← 縦組み前提で広げる */
  top: -2vh;
  left: 40%;
  --x: -42%;
  animation: fade-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 1s;
}

/* ===== Animations ===== */
@keyframes fade-in {
  from {
    opacity: 0;
    transform: translateX(var(--x)) translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateX(var(--x)) translateY(0);
  }

}

@keyframes fade-out {
  to {
    opacity: 0;
  }

}

@keyframes splash-bg-fadeout {
  to {
    opacity: 0;
    pointer-events: none;
  }

}

/* ===== Background ===== */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Hamburger ===== */
.hamburger {
  position: absolute;
  top: 3vw;
  right: 4vw;
  width: clamp(40px, 12vw, 48px);
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 10px;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  z-index: 10;
  cursor: pointer;
}

.hamburger-line {
  width: 60%;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-open .hamburger-line:nth-child(1) {
  transform: translateY(5px) rotate(45deg);
}

.hamburger.is-open .hamburger-line:nth-child(2) {
  transform: translateY(-5px) rotate(-45deg);
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(45vw, 180px);
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.drawer.is-open {
  transform: translateX(0);
}

/* ===== Hero Text ===== */
.hero-text {
  /* ←そのまま（高さ/縦位置は維持） */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 10vh;
  z-index: 5;
}

.shop-logo {
  /* ←超重要（inlineだとmargin効きにくい） */
  display: block;
  width: clamp(220px, 95vw, 300px);
  height: auto;
}

.hero-title {
  position: absolute;
  left: -9999px;
}

/* ===== Drawer Menu ===== */
/* override (2/2) for selector: .drawer */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(45vw, 180px);
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  transform: translateX(100%);
}

.drawer-menu {
  list-style: none;
  padding: 15vh 6vw 0;
  margin: 0;
}

.drawer-menu li {
  margin-bottom: 3vh;
}

.drawer-menu a {
  text-decoration: none;
  font-size: clamp(22px, 8vw, 28px);
  color: #fff;
}

.drawer-sns {
  display: flex;
  align-items: center;
  gap: 1vw;
}

.sns-icon {
  width: clamp(32px, 10vw, 42px);
  aspect-ratio: 1 / 1;
  background: url("img/インスタロゴ.png") center / contain no-repeat;
}

/* ===== Menu Page ===== */

.menu {
  padding: 5vh 6vw 4vh;
  background: #fff;
}

.menu-title img {
  width: clamp(60px, 80vw, 120px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.menu-title {
  text-align: center;
  margin-bottom: 7vh;
}

.menu-caption {
  margin-top: 4vh;
  margin-bottom: 6vh;
  text-align: center;
  font-size: clamp(16px, 5vw, 22px);
  letter-spacing: 0.05em;
  grid-column: 1 / -1;
}

/* --- Featured (期間限定) --- */

.featured-slider {
  overflow: hidden;
}

.featured-track {
  display: flex;
  transition: transform 0.6s ease;
}

.featured-track img {
  /* 正円にする */
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
}

/* --- Standard (定番) --- */
.menu-list--standard {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4vh 4vw;
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 1.2vh;
}

.menu-img {
  /* 正円にする */
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.menu-name {
  font-size: clamp(9px, 6vw, 14px);
  letter-spacing: 0.04em;
  text-align: center;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4vh 4vw;
}

.menu-featured {
  /* ← 3列分すべて */
  grid-column: 1 / -1;
}

/* override (2/2) for selector: .menu-list--standard */
.menu-list--standard {
  /* ← 親グリッドの横幅いっぱい */
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4vh 4vw;
}

/* ===== Kodawari ===== */
.kodawari {
  padding: 5vh 6vw 4vh;
  background: #fff;
}

.kodawari-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6vw;
  margin-bottom: 5vh;
}

.kodawari-text {
  flex: 1;
}

.kodawari-num {
  display: block;
  font-size: clamp(40px, 12vw, 72px);
  line-height: 1;
  margin-bottom: 1vh;
  text-align: center;
}

.kodawari-title {
  margin: 0 0 2vh;
  font-size: clamp(22px, 7vw, 32px);
  text-align: center;
}

.kodawari-desc {
  margin: 0;
  font-size: clamp(16px, 5vw, 18px);
  line-height: 1.8;
  margin-bottom: 4vh;
  text-align: center;
}

.kodawari-img {
  flex: 1;
}

.kodawari-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.feature-title img {
  width: clamp(60px, 80vw, 120px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.feature-title {
  text-align: center;
  margin-bottom: 7vh;
}

/* override (2/2) for selector: .kodawari-img */
.kodawari-img {
  overflow: hidden;
}

.kodawari-slider {
  display: flex;
  transition: transform 1s ease;
}

.kodawari-slider img {
  width: 100%;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ===== SP ===== */


/* ============================
access.css
============================ */
.access {
  padding: 1vh 6vw 2vh;
}

/* ===== Photos ===== */
.access-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2vw;
  margin-bottom: 8vw;
}

.access-photos img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* ===== Title ===== */
.access-title img {
  width: clamp(60px, 80vw, 120px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.access-title {
  text-align: center;
  margin-bottom: 10vh;
}

/* ===== Map ===== */
.access-map {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin-bottom: 8vw;
}

.access-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===== Info ===== */
.access-info {
  line-height: 1.8;
  font-size: clamp(14px, 4vw, 16px);
  text-align: center;
}

.shop-name {
  margin: 0 0 2vw;
  font-weight: bold;
  font-size: clamp(24px, 4.5vw, 28px);
  text-align: center;
}

.eigyou {
  font-weight: bold;
  text-align: center;
}

/* ============================
sns.css
============================ */
.sns {
  padding: 5vh 6vw 20vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ===== Title ===== */
.sns-title img {
  width: clamp(40px, 60vw, 80px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.sns-title {
  text-align: center;
  margin-bottom: 8vh;
}

/* ===== Instagram Section ===== */

.instagram-logo {
  display: block;
  width: clamp(80px, 30vw, 120px);
}

.instagram-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.sns-text {
  text-align: center;
  font-size: clamp(14px, 4vw, 16px);
  line-height: 1.8;
  color: #333;
}

/* ===== footer ===== */
.site-footer {
  background-color: #868686;
  padding: 40px 20px;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer-logo img {
  /* ロゴの見た目サイズ */
  width: 180px;
  height: auto;
  display: inline-block;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-nav a {
  font-size: 14px;
  color: #000000;
  text-decoration: none;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.footer-copy {
  font-size: 12px;
  color: #000000;
}

.featured-track,
.kodawari-slider {
  will-change: transform;
}

.fade-section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease,
    transform 0.8s ease;
}

/* 表示された状態 */
.fade-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

body.is-locked {
  overflow: hidden;
  touch-action: none;
}

/* override (2/2) for selector: .featured-slider */
.featured-slider {
  /* ← 他メニューに合わせる */
  /* ← これ超重要 */
  border-radius: 12px;
  overflow: hidden;
}

/* override (2/2) for selector: body.is-locked */
body.is-locked {
  overflow: hidden;
  touch-action: none;
}

/* override (2/2) for selector: .shop-logo */
.shop-logo {
  display: block;
  margin: 0 auto;
}

.menu-caption::after {
  /* ← 下線の長さ */
  /* ← 線の太さ */
  /* ← 文字との距離 */
  content: "";
  display: block;
  width: 140px;
  height: 2px;
  background: #000;
  margin: 12px auto 0;
}

/* iPhone SE2 くらいの幅から Splash文字を少し上へ */


/* =========================
   PC（デスクトップ）上書き
   ========================= */


/* =========================
   PC：ヘッダー（白帯＋右寄せナビ）確定版
   ========================= */


/* ついで：ホバーで気持ちよく */
.drawer-menu a:hover {
  opacity: 0.8;
}





/* =========================
   こだわり：スマホは1列に戻す（デフォルト）
   ========================= */
/* override (2/2) for selector: .kodawari-item */
.kodawari-item {
  /* ←スマホは縦積み固定 */
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 画像/スライダーが変に縮むのを防ぐ保険（必要なら） */
.kodawari-img,
.kodawari-text {
  width: 100%;
}

/* =========================
   こだわり：PCだけ左右2カラム＋交互
   ========================= */




.header-logo {
  display: none;
}





/* override (2/2) for selector: .header-logo */
.header-logo {
  margin-left: 0;
}

.header-logo img {
  display: block;
}

/* ===== Responsive ===== */
/* --- Small (max-width: 375px) --- */
@media (max-width: 375px) {
  /* Splashの文字（SVG画像）の位置を 2vh だけ上へ */
  .splash-text--first,
  .splash-text--second {
    transform: translate(var(--x), calc(var(--y) - 2vh));
  }

  /* hero-text の SVG を 1vh だけ上へ */
  .hero-text svg,
  .hero-text img {
    transform: translateY(-1vh);
  }

  .splash-text--first {
    top: calc(-15vh - 9vh);
  }

  /* = -17vh */
  .splash-text--second {
    top: calc(-2vh - 9vh);
  }

  /* = -4vh */
}

/* --- Tablet (max-width: 767px) --- */
@media (max-width: 767px) {
  .kodawari-item {
    flex-direction: column;
  }

  .kodawari-item:nth-child(even) {
    flex-direction: column;
  }
}

/* --- Desktop (min-width: 1024px) --- */
@media (min-width: 1024px) {
  /* --- 全体：PCは中央に“紙面”を作る --- */
  .menu,
  .kodawari,
  .access,
  .sns,
  .footer-inner {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }

  /* --- Hero：PCは余白を作ってロゴを安定させる --- */
  .hero-text {
    bottom: 12vh;
  }

  .shop-logo {
    /* PCで店名を気持ちよく見せる */
    width: 520px;
    max-width: 60vw;
  }

  /* --- ハンバーガー／ドロワー：PCでは隠す（横ナビを作るなら別途） --- */
  .hamburger {
    display: none;
  }

  /* .drawer は消さない */
  /* --- MENU：PC仕様の4列へ --- */
  .menu-grid {
    gap: 48px 48px;
  }

  .menu-list--standard {
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 48px;
  }

  /* 期間限定スライダー：PCは“正方形の大きめ”で見せる */
  .featured-slider {
    /* 仕様メモの 722px 近似 */
    /* PCは少し上品に */
    max-width: 720px;
    margin: 0 auto;
    border-radius: 16px;
  }

  /* --- こだわり：PCは文字を読みやすく --- */
  .kodawari-item {
    gap: 64px;
    margin-bottom: 72px;
  }

  .kodawari-title,
  .kodawari-desc {
    /* PCでは左揃えのほうが読みやすい */
    text-align: left;
  }

  .kodawari-num {
    text-align: left;
  }

  .kodawari-img img {
    border-radius: 16px;
  }

  /* --- Access：地図と写真の余白を整える --- */
  .access {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  .access-map {
    /* 仕様メモの 908px 近似 */
    /* 仕様メモの比率寄せ */
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
    aspect-ratio: 908 / 390;
  }

  .access-photos {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    gap: 24px;
    margin-bottom: 48px;
  }

  .access-info {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px;
  }

  /* --- SNS：余白を整える --- */
  .sns {
    padding-top: 72px;
    padding-bottom: 120px;
  }

  .instagram-logo {
    width: 180px;
  }

  /* --- フッター：PCは横並びにしてもいいが、まずは余白だけ --- */
  .site-footer {
    padding: 56px 20px;
  }

  .footer-inner {
    max-width: 1200px;
  }

  /* override (2/2) for selector: .hamburger */
  .hamburger {
    display: none;
  }

  .drawer {
    /* 念のため維持 */
    display: flex;
    position: fixed;
    top: 0;
    justify-content: flex-end;
    transform: none;
    transition: none;
    z-index: 1000;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 40px;
    align-items: center;
    background: rgba(255,255,255,0.92);
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    height: 88px;
  }

  /* --- PC: state override without important --- */
  .drawer.is-open {
    transform: none;
  }


  .drawer-menu {
    /* ←15vh paddingを殺す */
    /* ←左上固定系を殺す */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
    margin: 0;
    padding: 0;
    list-style: none;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
  }

  .drawer-menu li {
    margin: 0;
  }

  .drawer-menu a {
    /* ←スマホのclampを上書き */
    color: #111;
    font-size: 16px;
    letter-spacing: 0.08em;
    text-decoration: none;
    line-height: 1;
    white-space: nowrap;
  }

  body {
    padding-top: 88px;
  }

  .hero-bg img {
    /* 例：center top にすると上寄せ */
    object-fit: cover;
    object-position: center;
  }

  /* 既存のimgはPCでは隠す */
  .hero-text .shop-logo {
    opacity: 0;
    pointer-events: none;
  }

  /* PC用SVGを疑似要素で表示 */
  .hero-text::before {
    /* PC仕様メモの幅感に寄せるならこのへん */
    /* 高さ比率（メモの200px）に寄せる */
    content: "";
    display: block;
    width: min(1174px, 70vw);
    aspect-ratio: 1174 / 200;
    background: url("../img/店名PC.svg") center / contain no-repeat;
  }

  /* hero-text自体の位置（PC仕様メモの left:320 / top:465 的なノリに寄せる） */
  /* override (2/2) for selector: .hero-text */
  .hero-text {
    /* 左50%センター寄せを解除 */
    left: 320px;
    bottom: auto;
    top: 465px;
    transform: none;
  }

  /* override (2/2) for selector: .kodawari-item */
  .kodawari-item {
    /* ←PCは横並び */
    flex-direction: row;
    align-items: center;
    gap: 64px;
  }

  .kodawari-item:nth-of-type(even) {
    /* ←偶数だけ反転 */
    flex-direction: row-reverse;
  }

  .kodawari-text,
  .kodawari-img {
    width: 50%;
  }

  .drawer {
    /* ←左右に分ける */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
  }

  /* 左ロゴ */
  .header-logo img {
    /* 好きなサイズに調整 */
    height: 40px;
    width: auto;
    display: block;
  }

  /* 右ナビ */
  .drawer-menu {
    display: flex;
    gap: 28px;
  }

  .drawer .header-logo {
    display: block;
  }

  /* override (2/3) for selector: .drawer */
  .drawer {
    /* 右だけ余白 */
    /* 左はゼロ */
    padding-right: 40px;
    padding-left: 0;
  }

  /* ヘッダー全体 */
  /* override (3/3) for selector: .drawer */
  .drawer {
    /* 左余白ゼロ */
    /* 右は残す（好みで） */
    /* まず左詰め */
    padding-left: 0;
    padding-right: 40px;
    justify-content: flex-start;
    gap: 24px;
  }

  /* ロゴを左端に固定 */
  .header-logo {
    margin: 0;
    padding: 0;
    flex: 0 0 auto;
  }

  /* ナビは右側へ押し出す */
  /* override (2/2) for selector: .drawer-menu */
  .drawer-menu {
    margin-left: auto;
  }

  /* 画像の余白でズレて見えるの防止 */
  /* override (2/3) for selector: .header-logo img */
  .header-logo img {
    display: block;
  }

  /* override (3/3) for selector: .header-logo img */
  .header-logo img {
    /* ←ここを微調整 */
    margin-left: 60px;
  }

  .kodawari-item:nth-of-type(even) .kodawari-text {
    text-align: right;
  }

  .kodawari-item:nth-of-type(2) .kodawari-text,
  .kodawari-item:nth-of-type(2) .kodawari-text * {
    text-align: right;
  }

  .kodawari-item:nth-of-type(2) .kodawari-text {
    margin-left: auto;
    display: block;
  }
}
