/*
Theme Name: Ginza Inose
Theme URI: https://ginza-inose.com
Author: Inose
Description: 銀座いのせ 公式WordPressテーマ
Version: 1.0.0
Text Domain: inose
*/

@charset "UTF-8";

/* ==========================================================================
   Variables & Base Settings
   ========================================================================== */
:root {
  --washi-bg: #fcfaf5;
  --text-black: #222;
  --gold: #a68a5c;
  --sidebar-width: 260px;
  --font-mincho: "Zen Old Mincho", serif;

  /* ロゴサイズ管理 */
  --logo-size-pc: 200px;
  --logo-size-tablet: 170px;
  --logo-size-sp: 140px;

  /* アニメーション設定 */
  --ease-luxury: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-duration: 1.2s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-mincho);
  background-color: var(--washi-bg);
  color: var(--text-black);
  line-height: 2;
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 和紙テクスチャ（オーバーレイ） */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("img/bg02.jpg") no-repeat center / cover;
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.vertical-rl {
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

/* ==========================================================================
   1. Opener & Logo Sync
   ========================================================================== */
#opener {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: url("img/bg02.jpg") no-repeat center / cover;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
}

/* ロゴの共通配置（OpenerとMVで位置を完全に一致させる） */
.opener-logo,
.mv-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  z-index: 20;
  width: var(--logo-size-pc);
  display: flex;
  justify-content: center;
  align-items: center;
}

.opener-logo img {
  width: 100%;
}

.mv-center-logo img {
  width: 100%;
  /* 背景画像の上に乗るため白く反転＋ドロップシャドウ */
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 1));
}

@media (max-width: 1024px) {
  .opener-logo,
  .mv-center-logo {
    width: var(--logo-size-tablet);
  }
}

@media (max-width: 768px) {
  .opener-logo,
  .mv-center-logo {
    width: var(--logo-size-sp);
  }
}

/* ==========================================================================
   2. PC Sidebar & Layout Shift
   ========================================================================== */
#sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-width);
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  border-right: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 0;
  box-shadow: 5px 0 20px rgba(0, 0, 0, 0.02);
  /* 初期状態：画面外 */
  transform: translateX(-100%);
  transition: transform var(--transition-duration) var(--ease-luxury);
}

#sidebar.is-active {
  transform: translateX(0);
}

.sidebar-logo img {
  width: 80px;
  margin-bottom: 30px;
}

.sidebar-nav {
  width: 100%;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sidebar-nav ul {
  padding: 0;
  list-style: none;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.sidebar-nav li {
  margin: 25px 0;
  letter-spacing: 0.2em;
  font-size: 1rem;
}

.sidebar-nav li a:hover {
  color: var(--gold);
}

.sidebar-footer {
  width: 100%;
  padding: 0 30px;
  text-align: center;
}

.tel-horizontal {
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 10px;
}

.btn-call {
  display: block;
  width: 100%;
  background: #000;
  color: #fff;
  padding: 12px 0;
  font-size: 0.8rem;
  border-radius: 2px;
}

.btn-call:hover {
  background: var(--gold);
}

/* シフト用コンテナ（メインコンテンツ全体を囲む） */
#global-container {
  transition: padding-left var(--transition-duration) var(--ease-luxury);
  width: 100%;
  position: relative;
  z-index: 10;
}

/* JSでクラスが付与されたらパディングをつける */
body.sidebar-open #global-container {
  padding-left: var(--sidebar-width);
}

/* ==========================================================================
   3. SP Header & Hamburger
   ========================================================================== */
.sp-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  padding: 0 20px;
  background: rgba(252, 250, 245, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  z-index: 200;
  justify-content: space-between;
  align-items: center;
}

.sp-text-logo {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  color: #000;
}

/* ハンバーガー（シンプル：線と文字） */
.sp-hamburger {
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hamburger-lines {
  width: 25px;
  height: 14px;
  position: relative;
}

.hamburger-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: #000;
  transition: 0.3s;
}

.hamburger-lines span:nth-child(1) {
  top: 0;
}

.hamburger-lines span:nth-child(2) {
  bottom: 0;
}

.menu-label {
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  margin: 0;
  font-weight: 500;
}

/* SP Menu Overlay */
.sp-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--washi-bg);
  z-index: 150;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
}

.sp-menu-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.sp-menu-overlay ul {
  padding: 0;
  list-style: none;
  text-align: center;
}

.sp-menu-overlay li {
  margin: 30px 0;
  font-size: 1.2rem;
}

@media (max-width: 1024px) {
  #sidebar {
    display: none;
  }

  .sp-header {
    display: flex;
  }

  #global-container {
    padding-left: 0 !important;
  }
}

/* ==========================================================================
   4. Main Visual
   ========================================================================== */
#mv {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  /* スマホのアドレスバー対策 */
  overflow: hidden;
  background: var(--washi-bg);
}

.mv-slider,
.mv-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.mv-img {
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease;
}

.mv-copy-area {
  position: absolute;
  bottom: 15%;
  right: 15%;
  color: #fff;
  z-index: 10;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.2em;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  /* ロゴの位置は共通設定(.mv-center-logo)で中央固定 */

  /* コピー位置を下げてロゴとの被りを回避 */
  .mv-copy-area {
    bottom: 10%;
    /* 15% -> 10% に変更 */
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    writing-mode: horizontal-tb;
    font-size: 1.1rem;
  }

  .vertical-rl {
    writing-mode: horizontal-tb;
    display: inline-block;
  }
}

.scroll-sign {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  z-index: 10;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
}

.scroll-sign .line {
  width: 1px;
  height: 50px;
  background: #fff;
  margin: 10px auto 0;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
  }

  51% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ==========================================================================
   5. News Section
   ========================================================================== */
.news-section {
  padding: 60px 20px;
  background: var(--washi-bg);
  position: relative;
  z-index: 10;
}
.news-section .container {
  width: 100%;
}
.news-block {
  text-align: left;
  border-top: 1px solid #ccc;
  padding: 25px 0;
  max-width: 800px;
  margin: 0 auto;
}

.news-block:last-child {
  border-bottom: 1px solid #ccc;
}

.news-date {
  color: #888;
  margin-right: 15px;
  font-size: 0.9rem;
}

.news-cat {
  display: inline-block;
  background: #000;
  color: #fff;
  font-size: 0.7rem;
  padding: 3px 10px;
  margin-right: 15px;
  vertical-align: middle;
}

.news-title {
  display: inline-block;
  font-size: 1rem;
  margin: 0;
  vertical-align: middle;
}

@media (max-width: 768px) {
  .news-block {
    text-align: left;
    padding: 20px 0;
  }

  .news-date,
  .news-cat {
    margin-bottom: 5px;
  }
  .news-title {
    line-height: 1.5;
  }
}

/* ==========================================================================
   6. Content Styles (About, Teaser, etc)
   ========================================================================== */
.section-padding {
  padding: 120px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 60px 0;
    /* スマホの余白を短縮 */
  }
}

.bg-light-trans {
  background-color: rgba(255, 255, 255, 0.4);
}

/* About (Story) */
.story-block {
  display: flex;
  align-items: center;
  gap: 80px;
}

.story-block.reverse {
  flex-direction: row-reverse;
}

.mt-large {
  margin-top: 150px;
}

.story-txt {
  height: 400px;
}

.story-title {
  font-size: 2rem;
  margin-left: 30px;
  line-height: 1.5;
}

.story-img {
  flex: 1;
  height: 500px;
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 900px) {
  .story-block,
  .story-block.reverse {
    flex-direction: column;
    gap: 30px;
    /* 要素間の隙間を縮める */
  }

  .mt-large {
    margin-top: 60px;
    /* セクション間の隙間を縮める */
  }

  .story-txt {
    height: auto;
    writing-mode: horizontal-tb;
    text-align: center;
  }

  .story-title {
    margin-left: 0;
    margin-bottom: 20px;
  }

  .story-img {
    width: 100%;
    height: 300px;
  }
}

/* Menu Teaser */
.menu-visual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.menu-visual-card {
  background: #fff;
  display: block;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.menu-visual-card:hover {
  transform: translateY(-5px);
}

.img-box {
  aspect-ratio: 3/2;
  overflow: hidden;
}

.img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.menu-visual-card:hover .img-box img {
  transform: scale(1.05);
}

.txt-box {
  padding: 30px;
  text-align: center;
}

.btn-border {
  display: inline-block;
  border: 1px solid #000;
  padding: 15px 50px;
  margin-top: 30px;
  transition: 0.3s;
  background: #fff;
}

.btn-border:hover {
  background: #000;
  color: #fff;
}

.btn-area {
  text-align: center;
  /* ボタン中央寄せ */
}

@media (max-width: 768px) {
  .menu-visual-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Instagram */
.en-title {
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: #888;
  text-align: center;
  margin-bottom: 5px;
}

.ja-title {
  font-size: 2rem;
  text-align: center;
  margin-top: 0;
  margin-bottom: 50px;
}

.insta-grid {
width:100%;
}

.ph {
  background: #ddd;
  aspect-ratio: 1/1;
}

@media (max-width: 768px) {
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Access */
.access-map {
  width: 100%;
  height: 350px;
  margin-bottom: 60px;
}

.access-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.access-layout {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.access-left {
  flex: 1;
}

.access-right {
  flex: 1;
}

.access-logo-area {
  margin-bottom: 30px;
}

.logo-img {
  width: 100px;
}

.tel-display {
  font-size: 2rem;
  display: inline-block;
  margin: 10px 0;
}

.hours-dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
}

.hours-dl dt {
  font-weight: bold;
}

.note {
  margin-top: 20px;
  color: #888;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .access-map {
    height: 250px;
    margin-bottom: 40px;
  }

  .access-layout {
    flex-direction: column;
    gap: 40px;
  }

  .access-left {
    width: 100%;
  }

  .access-right {
    width: 100%;
  }

  .logo-img {
    width: 80px;
  }

  .tel-display {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.site-footer {
  background: #111;
  color: #fff;
  padding: 80px 0 30px;
}

.footer-container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-info {
  text-align: left;
}

.footer-logo img {
  width: 100px;
  filter: invert(1);
  margin-bottom: 20px;
}

.footer-address {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 20px;
  line-height: 1.8;
}

.footer-address span {
  display: block;
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  writing-mode: vertical-rl;
  text-orientation: upright;
  height: 150px;
}

.footer-nav li {
  margin-left: 30px;
  letter-spacing: 0.15em;
  font-size: 0.9rem;
}

.footer-nav a {
  color: #888;
  transition: 0.3s;
}

.footer-nav a:hover {
  color: #fff;
}

.copyright {
  text-align: center;
  color: #444;
  font-size: 0.7rem;
  margin-top: 60px;
  border-top: 1px solid #222;
  padding-top: 20px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 50px;
  }

  .footer-info {
    text-align: center;
  }

  .footer-logo img {
    margin: 0 auto 20px;
    width: 80px;
  }

  .footer-nav ul {
    height: auto;
    writing-mode: horizontal-tb;
  }

  .footer-nav li {
    display: block;
    margin: 15px 0;
    text-align: center;
    margin-left: 0;
  }
}

/* ==========================================================================
   7b. Menu Page – Sidebar always visible on desktop
   ========================================================================== */
@media (min-width: 1025px) {
  body.page-menu #sidebar {
    transform: translateX(0) !important;
  }
  body.page-menu #global-container {
    padding-left: var(--sidebar-width) !important;
  }
}

/* ==========================================================================
   8. Menu Page Styles (Full)
   ========================================================================== */
.page-header {
  height: 40vh;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 80px;
  background: url("img/menu-mv.jpg") no-repeat center / cover;
}

.page-title {
  position: relative;
  z-index: 2;
  font-size: 2.2rem;
  letter-spacing: 0.2em;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
}

.header-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.header-content p {
  font-size: 1rem;
  margin-top: 15px;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
  font-weight: bold;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

.menu-card {
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.menu-layout {
  display: flex;
  align-items: stretch;
}

.menu-layout.reverse {
  flex-direction: row-reverse;
}

.menu-img-side {
  width: 50%;
  min-height: 450px;
  position: relative;
  overflow: hidden;
}

.menu-img-side img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.menu-card:hover .menu-img-side img {
  transform: scale(1.05);
}

.menu-txt-side {
  width: 50%;
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cat-title {
  font-size: 1.6rem;
  border-bottom: 1px solid #000;
  padding-bottom: 10px;
  display: inline-block;
  margin-bottom: 20px;
}

.cat-desc {
  margin-bottom: 40px;
  color: #444;
}

.price-list,
.grid-prices {
  width: 100%;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px dotted #ccc;
  padding: 10px 0;
}

.price-name {
  font-weight: bold;
  font-size: 1.1rem;
}

.price-val {
  font-size: 1.1rem;
}

.price-sub {
  font-size: 0.8rem;
  color: #555;
  display: block;
  margin-top: 5px;
  margin-bottom: 15px;
}

.col-head {
  font-size: 1rem;
  border-left: 3px solid #000;
  padding-left: 10px;
  margin-bottom: 20px;
}

.grid-prices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.item-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.item-name {
  display: block;
  padding: 8px 0;
  border-bottom: 1px dotted #ccc;
  font-size: 1.05rem;
  letter-spacing: 0.05em;
}

.mt-4 {
  margin-top: 2rem;
}

.delivery-box {
  text-align: center;
  padding: 60px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #ddd;
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.delivery-list {
  max-width: 400px;
  margin: 0 auto 30px;
  text-align: left;
}

.center-btn {
  margin: 0 auto;
  max-width: 300px;
}

@media (max-width: 900px) {
  .menu-layout,
  .menu-layout.reverse {
    flex-direction: column;
  }

  .menu-img-side,
  .menu-txt-side {
    width: 100%;
  }

  .menu-img-side {
    height: 400px;
    min-height: auto;
  }

  .menu-txt-side {
    padding: 30px 20px;
  }

  .grid-prices {
    grid-template-columns: 1fr;
  }

  .menu-card {
    margin-bottom: 60px;
  }
}
@media (max-width: 480px) {
  .page-title {
    font-size: 2rem;
  }

  .menu-img-side {
    height: 350px;
    min-height: auto;
  }
}

/* ==========================================================================
   9. Sushi Photo Slider (Infinite CSS Marquee)
   ========================================================================== */
.sushi-slider-section {
  width: 100%;
  overflow: hidden;
  padding: 0;
  margin-bottom: 80px;
  position: relative;
}



.sushi-slider-track {
  display: flex;
  gap: 16px;
  animation: sushi-scroll 50s linear infinite;
  width: max-content;
}

.sushi-slider-track img {
  height: 280px;
  width: auto;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@keyframes sushi-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    /* 11枚分 + 11gap分をスクロール（複製前半分） */
    transform: translateX(calc(-50% - 8px));
  }
}

@media (max-width: 768px) {
  .sushi-slider-section {
    margin-bottom: 50px;
  }

  .sushi-slider-track img {
    height: 180px;
  }


}

/* ==========================================================================
   10. Full-Width Menu Card (No Image Variant)
   ========================================================================== */
.menu-card--full {
  background: rgba(255, 255, 255, 0.92);
  border-top: 3px solid var(--gold);
  margin-bottom: 60px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04);
  position: relative;
  transition: box-shadow 0.4s, transform 0.4s;
}

.menu-card--full:hover {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.menu-card-inner {
  padding: 60px 80px;
}

.menu-card--full .cat-title {
  font-size: 1.8rem;
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.menu-card--full .cat-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin-top: 12px;
}

.menu-card--full .cat-desc {
  margin-bottom: 40px;
  color: #444;
  font-size: 0.95rem;
}

.menu-card--full .price-row {
  padding: 12px 0;
}

.menu-card--full .price-name {
  font-size: 1.15rem;
}

.menu-card--full .price-val {
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 500;
}

.menu-card--full .col-head {
  border-left-color: var(--gold);
}

@media (max-width: 900px) {
  .menu-card-inner {
    padding: 40px 30px;
  }

  .menu-card--full .cat-title {
    font-size: 1.5rem;
  }

  .menu-card--full {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .menu-card-inner {
    padding: 30px 20px;
  }
}
