/* =========================================================
   styles.css — 海のごちそうWATANABE
   
   [Table of Contents]
   1.  Base / Variables / Reset
   2.  Utilities / Buttons
   3.  Side Navigation (Desktop & Mobile Drawer)
   4.  Header / Shell
   5.  Hero Section
   6.  Sec: Greeting (ご挨拶)
   7.  Sec: Cuisine Static (固定背景)
   8.  Sec: Gallery (タイルグリッド)
   9.  Sec: Origin (献立の出発点)
   10. Sec: Mosaic Cards (1+1+2カラム) ★修正統合済み
   11. Sec: Plans (おすすめプラン)
   12. Sec: Mini CTA
   13. Footer
========================================================= */

/* =========================================================
   1. Base / Variables / Reset
========================================================= */
:root {
  --side: 88px;
  --ff-sans: system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  --ff-mincho: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;

  --c-text: #222;
  --c-muted: #555;
  --c-border: #eee;
  --c-bg: #fff;
  --c-dark: #0f1115;
}

/* Mobile Root Override */
@media (max-width: 768px) {
  :root {
    --side: 0px;
  }
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

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

.site-root {
  color: var(--c-text);
  background: var(--c-bg);
  font: 16px/1.6 var(--ff-sans);
  overflow-x: hidden;
  /* 横スクロール防止 */
}

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

.site-root a {
  color: inherit;
  text-decoration: none;
}

.sr-only {
  position: absolute;
  left: -9999px;
}

.mincho {
  font-family: var(--ff-mincho);
}

/* =========================================================
   2. Utilities / Buttons
========================================================= */
.sec {
  padding: 72px 7vw;
  background: #fff;
}

@media (max-width: 768px) {
  .sec {
    padding: 56px 6vw;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Standard Buttons */
.btn {
  display: inline-block;
  padding: 12px 26px;
  letter-spacing: .08em;
  text-decoration: none;
  line-height: 1;
  border-radius: 0;
  transition: transform .15s ease, opacity .15s ease;
}

.btn-black {
  background: #000;
  color: #fff;
  -webkit-text-fill-color: #fff;
  border: 1px solid #000;
}

.btn-black:hover,
.btn-black:focus {
  opacity: .9;
  transform: translateY(-1px);
}

.btn-black:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

@media (max-width: 600px) {
  .btn {
    padding: 14px 28px;
  }
}

/* =========================================================
   3. Side Navigation (Desktop & Mobile Drawer)
========================================================= */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.side-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: auto;
  width: var(--side);
  background: #fff;
  border-right: 1px solid var(--c-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 10px;
  gap: 18px;
  z-index: 100;
}

/* Logo */
.side-nav__logo {
  display: block;
  padding: 6px 0;
}

.side-nav__logo img {
  display: block;
  width: 58px;
  height: auto;
}

/* Vertical Nav List */
.side-nav__nav {
  width: 100%;
  display: flex;
  justify-content: center;
}

.side-nav__list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.side-nav__list a {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-family: var(--ff-mincho);
  font-weight: 600;
  letter-spacing: .12em;
  padding: 6px 2px;
  border-radius: 0;
}

.side-nav__list a:hover {
  background: #f5f5f5;
}

/* Extras (Button & SNS) */
.side-nav__extras {
  margin-top: 14px;
}

.side-nav__cta {
  display: inline-block;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 0;
  padding: 14px 8px;
  font-weight: 700;
  letter-spacing: .15em;
}

/* Mobile First (Black Text) */
.side-nav__cta:link,
.side-nav__cta:visited,
.side-nav__cta:hover,
.side-nav__cta:active,
.side-nav__cta:focus {
  color: #000;
  -webkit-text-fill-color: #000;
  background: #fff;
  border-color: #000;
}

/* PC: White Text */
@media (min-width: 769px) {

  .side-nav__cta,
  .side-nav__cta:link,
  .side-nav__cta:visited,
  .side-nav__cta:hover,
  .side-nav__cta:active,
  .side-nav__cta:focus {
    color: #fff;
    -webkit-text-fill-color: #fff;
    background: #000;
    border-color: #000;
  }
}

.side-nav__sns {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.side-nav__sns .insta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border: 1px solid #ddd;
  background: #fff;
}

.side-nav__sns .icon-instagram {
  width: 22px;
  height: 22px;
  fill: #000;
  filter: none;
  transition: opacity .2s ease, transform .2s ease;
}

.side-nav__sns .insta-link:hover .icon-instagram {
  opacity: .85;
  transform: translateY(-1px);
}

/* Mobile Drawer Logic */
.nav-overlay {
  /* Default hidden, visible on mobile via JS/CSS */
}

@media (max-width: 768px) {
  .side-nav {
    width: 82vw;
    max-width: 320px;
    transform: translateX(-100%);
    transition: transform .28s ease;
    align-items: flex-start;
  }

  .nav-toggle:checked~.side-nav {
    transform: translateX(0);
  }

  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease;
    z-index: 90;
  }

  .nav-toggle:checked~.nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  /* Reset vertical writing for mobile */
  .side-nav__list a,
  .side-nav__cta {
    writing-mode: initial;
    text-orientation: initial;
  }

  .side-nav__sns .icon-instagram {
    width: 24px;
    height: 24px;
  }
}

/* =========================================================
   4. Header / Shell
========================================================= */
.site-shell {
  margin-left: var(--side);
  min-height: 100%;
  position: relative;
  width: calc(100% - var(--side));
}

@media (max-width: 768px) {
  .site-shell {
    margin-left: 0;
    width: 100%;
  }
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding: 8px 18px;
  z-index: 110;
}

/* Menu Button (Mobile Only) */
.menu-btn {
  display: none;
  width: 42px;
  height: 36px;
  border: 1px solid #ddd;
  background: #fff;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-btn__bar {
  width: 18px;
  height: 2px;
  background: #222;
  display: block;
}

@media (max-width: 768px) {
  .menu-btn {
    display: inline-flex;
  }
}

/* =========================================================
   5. Hero Section
========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #000;
}

@supports (min-height: 100dvh) {
  .hero {
    min-height: 100dvh;
  }
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.8);
}

@keyframes heroFade {
  0% {
    opacity: 0;
  }

  6% {
    opacity: 1;
  }

  30% {
    opacity: 1;
  }

  36% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.hero__slide.is-1 {
  animation: heroFade 18s infinite ease-in-out;
  animation-delay: 0s;
}

.hero__slide.is-2 {
  animation: heroFade 18s infinite ease-in-out;
  animation-delay: 6s;
}

.hero__slide.is-3 {
  animation: heroFade 18s infinite ease-in-out;
  animation-delay: 12s;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: clamp(72px, 10vh, 120px) 7vw 64px;
  color: #fff;
}

@media (max-width: 768px) {
  .hero__content {
    padding: 72px 6vw 56px;
  }
}

.hero__kicker {
  font-size: clamp(22px, 3.8vw, 36px);
  font-family: var(--ff-mincho);
  opacity: .95;
}

.hero__title {
  font-size: clamp(26px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 700;
  margin: .1em 0 .2em;
  font-family: var(--ff-mincho);
}

.hero__sub {
  font-size: 14px;
  letter-spacing: .12em;
  opacity: .9;
  font-family: var(--ff-mincho);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  font-size: 12px;
  color: #fff;
  opacity: .9;
  z-index: 1;
}

.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 36px;
  margin: 6px auto 0;
  background: #fff;
  opacity: .75;
  animation: drop 1.4s infinite;
}

@keyframes drop {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide {
    animation: none !important;
  }

  .hero__slide.is-1 {
    opacity: 1;
  }
}

/* Hero Banner (Layout) */
.hero-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: clamp(12px, 2vw, 24px);
}

.hero-stacked {
  margin: 0;
  display: grid;
  gap: 8px;
}

.hero-stacked span {
  display: inline-block;
  padding: .22em .6em;
  background: rgba(255, 255, 255, .92);
  color: #111;
  line-height: 1.08;
  font-family: var(--ff-mincho);
  font-weight: 700;
  letter-spacing: .02em;
  font-size: clamp(28px, 5.8vw, 64px);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .03);
}

.hero-tag {
  align-self: end;
  margin-bottom: .25em;
  color: #fff;
  letter-spacing: .18em;
  font-size: clamp(12px, 1.3vw, 14px);
  text-shadow: 0 2px 6px rgba(0, 0, 0, .35);
  white-space: nowrap;
}

.hero-lead {
  margin-top: 14px;
  display: inline-block;
  padding: 10px 14px;
  background: rgba(255, 255, 255, .9);
  color: #111;
  font-family: var(--ff-mincho);
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.9;
}

@media (max-width: 768px) {
  .hero-banner {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-stacked span {
    font-size: clamp(24px, 8vw, 40px);
  }

  .hero-tag {
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
  }
}

/* =========================================================
   6. Sec: Greeting (ご挨拶)
========================================================= */
.sec-greeting-center {
  background: #fff;
  padding: 100px 7vw;
  text-align: center;
}

.greetc-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.greetc-title {
  margin: 0 0 18px;
  font-family: var(--ff-mincho);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: clamp(26px, 3.6vw, 40px);
  line-height: 1.3;
}

.greetc-body {
  color: #444;
  font-family: var(--ff-mincho);
}

.greetc-body p {
  margin: 0 0 1.2em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 2;
}

/* =========================================================
   7. Sec: Cuisine Static (固定背景)
========================================================= */
.sec-cuisine-static {
  position: relative;
  z-index: 0;
  min-height: 100vh;
  overflow: hidden;
  padding: 0;
  background-image: url("../images/top/img_ss02_bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

@media (max-width: 768px) {
  .sec-cuisine-static {
    background-attachment: scroll;
    /* iOS対策 */
  }
}

.cuisine-inner {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  justify-content: flex-end;
  /* 右へ寄せる */
  align-items: center;
  padding: 8vh 3vw;
}

@media (min-width: 1400px) {
  .cuisine-inner {
    padding-right: 0.1vw;
  }
}

.cuisine-card {
  width: min(640px, 44vw);
  margin-left: auto;
  background: rgba(255, 255, 255, .9);
  border: 1px solid rgba(0, 0, 0, .06);
  padding: clamp(48px, 12vh, 120px) clamp(20px, 3vw, 36px);
  backdrop-filter: saturate(140%) blur(2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
}

.cuisine-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0 0 10px;
}

.cuisine-ttl {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  letter-spacing: .18em;
  font-size: 28px;
  line-height: 1;
}

.cuisine-line {
  display: inline-block;
  width: 64px;
  height: 2px;
  background: #222;
}

.cuisine-illus {
  width: 88px;
  height: auto;
  object-fit: contain;
  opacity: .95;
  flex: 0 0 auto;
}

@media (min-width: 1400px) {
  .cuisine-illus {
    width: 96px;
  }
}

.cuisine-static__text {
  margin: 0;
  font-family: var(--ff-mincho);
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.95;
  color: #333;
}

@media (max-width: 900px) {
  .cuisine-inner {
    justify-content: center;
    padding: 64px 6vw;
  }

  .cuisine-card {
    width: 88vw;
    padding: clamp(32px, 10vh, 72px) 18px;
  }

  .cuisine-ttl {
    font-size: 22px;
  }

  .cuisine-illus {
    width: 64px;
  }
}

/* =========================================================
   8. Sec: Gallery (タイルグリッド)
========================================================= */
.sec-gallery {
  /* Padding override if needed */
}

@media (max-width: 600px) {
  .sec-gallery {
    padding-top: 72px;
    padding-bottom: 72px;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.gg-item {
  position: relative;
  overflow: hidden;
  background: #f7f7f7;
  border: 1px solid #eee;
  aspect-ratio: 4 / 3;
}

.gg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .35s ease, filter .35s ease;
}

.gg-item:hover img {
  transform: scale(1.03);
  filter: brightness(1.02) contrast(1.02);
}

/* 旧マソンリ無効化 */
.gallery-masonry {
  display: none !important;
}

.gallery-cta-wrap {
  text-align: center;
  margin-block: clamp(48px, 10vh, 120px);
}

@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .gg-item {
    aspect-ratio: 16 / 10;
  }
}

/* =========================================================
   9. Sec: Origin (献立の出発点)
========================================================= */
.sec-origin {
  position: relative;
  background: #f6f6f6;
  overflow: hidden;
  padding: 84px 0;
}

/* Specific Override for #access ID */
section#access.sec-origin {
  background-color: #f5f5f5;
  padding-top: 80px;
  padding-bottom: 180px;
}

.origin-inner {
  position: relative;
  z-index: 2;
}

.origin-content {
  max-width: 720px;
}

.origin-heading {
  margin: 0 0 18px;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.5;
  letter-spacing: .06em;
}

.origin-body p {
  margin: 0 0 1.2em;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 2;
  color: #333;
}

.origin-note {
  font-size: 14px;
  color: #555;
}

/* Image & Decoration */
.origin-photo {
  margin: 28px 0 0;
  max-width: 520px;
}

.sec-origin .origin-photo {
  position: relative;
  display: inline-block;
  margin-top: 40px;
}

.origin-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.sec-origin .origin-photo::before,
.sec-origin .origin-photo::after {
  content: "";
  position: absolute;
  width: 48px;
  height: 48px;
  border-color: #ccc;
  pointer-events: none;
}

.sec-origin .origin-photo::before {
  top: 0;
  left: 0;
  border-top: 2px solid #ccc;
  border-left: 2px solid #ccc;
}

.sec-origin .origin-photo::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid #ccc;
  border-right: 2px solid #ccc;
}

/* Background Elements */
.origin-mapbox {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50vw;
  pointer-events: none;
  z-index: 1;
}

.origin-diagonal {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #eceff1 60%, transparent 60%);
  z-index: 0;
}

.origin-map {
  position: absolute;
  right: 6vw;
  top: 6vw;
  height: calc(100% - 12vw);
  width: auto;
  z-index: 1;
  pointer-events: none;
}

/* Responsive Origin */
@media (max-width: 980px) {
  .sec-origin {
    padding: 64px 0;
  }

  .origin-content {
    max-width: none;
    padding: 0 6vw;
  }

  .origin-mapbox {
    position: relative;
    width: 100%;
    height: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin-top: 24px;
  }

  .origin-diagonal {
    display: none;
  }

  .origin-map {
    position: relative;
    right: auto;
    top: auto;
    width: 90%;
    height: auto;
    max-width: 680px;
    margin: 0 auto;
  }
}

/* =========================================================
   10. Sec: Mosaic Cards (1+1+2カラム)
========================================================= */
.sec-mosaic {
  background: #fff;
  padding: 0;
  --overlay: .65;
}

.mosaic {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-areas:
    "a a"
    "b b"
    "c d";
  gap: 2px;
  background: #fff;
}

/* Card Style */
.card {
  position: relative;
  min-height: 48vh;
  background: #111;
  overflow: hidden;
}

.card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  z-index: 0;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--overlay, .65);
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 1;
}

.card:hover::after {
  opacity: calc(var(--overlay, .65) + .10);
}

/* Grid Areas & Height (PC) */
.mosaic>.card:nth-child(1) {
  grid-area: a;
  min-height: 90vh;
}

.mosaic>.card:nth-child(2) {
  grid-area: b;
  min-height: 90vh;
}

.mosaic>.card:nth-child(3) {
  grid-area: c;
  min-height: 46vh;
}

.mosaic>.card:nth-child(4) {
  grid-area: d;
  min-height: 46vh;
}

/* Caption / Text */
.card__cap {
  position: absolute;
  z-index: 2;
  max-width: 560px;
  color: #fff;
  line-height: 1.9;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
  font-size: 14px;
  /* Default Position */
  left: 6%;
  bottom: 8%;
  text-align: left;
}

.card__ttl {
  margin: 0 0 .4em;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 700;
  letter-spacing: .06em;
}

.card__txt {
  margin: 0 0 .8em;
  color: #f2f4f6;
}

.card__link {
  display: inline-block;
  color: #fff;
  opacity: .92;
  letter-spacing: .08em;
  border-bottom: 1px solid rgba(255, 255, 255, .7);
  padding-bottom: 2px;
}

.card__link:hover {
  opacity: 1;
}

/* PC: Position Variations */
.card--tr .card__cap {
  top: 12%;
  right: 6%;
  left: auto;
  bottom: auto;
  text-align: right;
}

.card--br .card__cap {
  right: 6%;
  bottom: 8%;
  left: auto;
  text-align: right;
}

.card--bl .card__cap {
  left: 6%;
  bottom: 8%;
}

/* ★ SP Override (修正適用済み) ★ */
@media (max-width: 900px) {

  /* 1. セクション全体を画面幅100%に強制拡張 */
  .sec-mosaic {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
    box-sizing: border-box;
  }

  .mosaic {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c" "d";
    width: 100%;
  }

  /* 2. すべてのカードを強制的にリセットして16:9にする */
  .mosaic>.card:nth-child(n) {
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }

  /* 3. 文字の余白調整（px指定で確保） */
  .card__cap {
    left: 20px !important;
    right: 20px !important;
    bottom: 20px !important;
    width: auto !important;
    max-width: none;
    text-align: left !important;
    /* 全て左揃え */
    top: auto !important;
    /* PC設定のリセット */
  }
}

/* =========================================================
   11. Sec: Plans (おすすめプラン)
========================================================= */
.sec-plans {
  background: #fff;
  padding-top: 96px;
  padding-bottom: 96px;
}

.plans-head {
  text-align: center;
  margin-bottom: 28px;
}

.plans-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: .18em;
  color: #666;
}

.plans-title {
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: .08em;
  font-size: clamp(24px, 3.6vw, 36px);
}

.plans-desc {
  margin: 0 auto;
  color: #555;
  line-height: 1.9;
  max-width: 60ch;
  font-size: 14px;
}

/* Grid System */
.plan-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 18px;
}

/* PC Override for 4 columns */
@media (min-width: 1024px) {
  .sec-plans .plan-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 32px;
  }
}

@media (max-width: 1100px) and (min-width: 701px) {
  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .plan-grid {
    grid-template-columns: 1fr;
  }
}

/* Plan Card */
.plan-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: var(--h, 42vh);
  background: #111;
  border: 1px solid #eee;
  text-decoration: none;
  color: inherit;
}

.plan-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}

.plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #000;
  opacity: .40;
  transition: opacity .25s ease;
  z-index: 1;
  pointer-events: none;
}

.plan-card:hover::after {
  opacity: .86;
}

/* Badge */
.plan-badge {
  position: absolute;
  z-index: 2;
  left: 10px;
  top: 10px;
  display: inline-block;
  padding: 6px 10px;
  background: #fff;
  color: #111;
  border: 1px solid #111;
  border-radius: 0;
  font-size: 12px;
  letter-spacing: .08em;
}

/* Caption */
.plan-cap {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .35);
}

.plan-ttl {
  margin: 0 0 6px;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: clamp(18px, 2.2vw, 20px);
}

.plan-txt {
  margin: 0 0 10px;
  color: #f2f4f6;
  font-size: 14px;
  line-height: 1.85;
}

.plan-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.plan-price {
  font-family: var(--ff-mincho);
  font-size: 16px;
  letter-spacing: .02em;
  background: rgba(0, 0, 0, .25);
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, .22);
}

.plan-cta {
  display: inline-block;
  padding: 8px 12px;
  background: #000;
  color: #fff;
  border: 1px solid #000;
  border-radius: 0;
  letter-spacing: .08em;
  font-size: 13px;
}

@media (max-width: 700px) {
  .plan-card {
    min-height: 56vw;
  }

  .plan-cap {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}

/* =========================================================
   12. Sec: Mini CTA
========================================================= */
.sec-mini-cta {
  background-color: #f5f5f5;
}

.sec-mini-cta .mini-cta-grid {
  display: flex;
  justify-content: center;
}

.sec-mini-cta .mini-cta {
  text-align: center;
}

/* =========================================================
   13. Footer
========================================================= */
.site-footer {
  background: var(--c-dark);
  color: #e9edf2;
  padding: 60px 7vw;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr .9fr;
  gap: 28px;
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-name {
  margin: 0 0 10px;
  font-family: var(--ff-mincho);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: clamp(18px, 2.4vw, 22px);
}

.footer-address {
  margin: 0;
  font-style: normal;
  color: #c9d2dc;
  line-height: 1.9;
}

.footer-address a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-links a {
  display: inline-block;
  color: #e9edf2;
  font-size: 14px;
  letter-spacing: .03em;
  padding: 4px 0;
  border-bottom: 1px dashed transparent;
  transition: opacity .2s ease, border-color .2s ease;
}

.footer-links a:hover {
  opacity: .9;
  border-color: rgba(233, 237, 242, .25);
}

.footer-notes {
  color: #b5c0cb;
  font-size: 12px;
  line-height: 1.8;
}

.footer-note {
  margin: 0 0 10px;
}

.footer-copy {
  margin: 0;
  opacity: .85;
}

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

  .footer-notes {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: 48px 6vw;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

/* ========================================================
   SP表示（768px以下）
   1. ハンバーガーボタンを右上に配置
   2. メニューの区切り線をきれいに修正
   ======================================================== */
@media (max-width: 768px) {

  /* --- 1. ヘッダーとボタンの配置 --- */

  .site-header {
    position: relative;
    height: 64px;
    /* ヘッダーの高さを確保 */
    display: block;
    /* Flexboxを解除して単純な箱にする */
  }

  .menu-btn {
    position: absolute;
    /* 場所を自由に指定できるモード */

    /* 右上に固定する指定 */
    right: 18px !important;
    left: auto !important;
    /* 左の指定を解除 */

    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 120;
    display: inline-flex;
    /* ボタンの中身（3本線）を崩さない */
  }

  /* --- 2. メニュー（ドロワー）の破線修正 --- */
  /* テキストと線が重ならないように、余白（padding）で空間を作ります */

  .side-nav__list {
    width: 100%;
    margin-top: 20px;
    gap: 0;
  }

  .side-nav__list a {
    /* ブロック要素にすることで、padding（余白）が効くようになります */
    display: block !important;

    /* 縦書きを解除 */
    writing-mode: horizontal-tb !important;

    width: 100%;
    text-align: center;

    /* 文字の上下に余白を確保（これで線と被らなくなります） */
    padding-top: 18px !important;
    padding-bottom: 18px !important;

    /* 下に破線 */
    border-bottom: 1px dashed #ccc;
    background: transparent;
  }

  /* 一番上の項目にも線を入れる */
  .side-nav__list li:first-child a {
    border-top: 1px dashed #ccc;
  }
}

/* --- 3. 予約ボタンとSNSアイコンの中央寄せ修正 --- */

/* 予約ボタンのエリア */
.side-nav__extras {
  width: 100%;
  text-align: center;
  /* 中身を中央揃え */
  margin-top: 30px !important;
  /* 上のメニューとの間隔 */
}

/* 予約ボタン本体のスタイル修正 */
.side-nav__cta {
  display: inline-block !important;
  /* 横並びブロックとして扱う */

  /* 縦書き設定を解除して横書きに */
  writing-mode: horizontal-tb !important;
  text-orientation: initial !important;

  /* サイズと配置 */
  width: 80% !important;
  /* 幅を広めにとって押しやすく */
  max-width: 260px;
  /* 広がりすぎ防止 */
  margin: 0 auto !important;
  padding: 14px 0 !important;
  text-align: center;
}

/* インスタアイコンのエリア */
.side-nav__sns {
  width: 100%;
  margin-top: 24px !important;

  /* Flexboxで中央寄せ */
  display: flex !important;
  justify-content: center !important;
}

/* ========================================================
   スマホメニュー内の宿情報（PCでは非表示）
   ======================================================== */

/* 1. 基本設定：PCでは表示しない（邪魔になるため） */
.side-nav__info {
  display: none;
}

/* 2. スマホ表示時だけ表示する設定 */
@media (max-width: 768px) {

  .side-nav__info {
    display: block;
    /* ここで表示させる */
    width: 100%;
    text-align: center;
    /* 中央揃え */
    margin-top: 32px;
    /* インスタアイコンからの距離 */
    padding-bottom: 40px;
    /* 一番下の余白（スクロールしやすく） */

    /* フォント設定 */
    font-family: "Shippori Mincho", serif;
    /* 明朝体で上品に */
    font-size: 11px;
    /* 小さめの文字 */
    line-height: 1.6;
    /* 行間を少し広めに */
    color: #444;
    /* 真っ黒すぎないグレー */

    /* 念のため縦書き解除 */
    writing-mode: horizontal-tb;
  }

  /* 宿名だけ少し太く */
  .nav-info-name {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 12px;
  }

  /* 電話番号リンクの色と消去 */
  .nav-info-tel a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    margin-top: 4px;
  }
}

/* ========================================================
   スマホメニューのスクロール対応（あふれたらスクロール）
   ======================================================== */
@media (max-width: 768px) {

  .side-nav {
    /* 1. 縦方向のスクロールを許可する */
    overflow-y: auto;

    /* 2. iPhoneなどでスクロールを滑らかにする */
    -webkit-overflow-scrolling: touch;

    /* 3. 閉じた時にスクロールバーが見えないように隠しておく（見栄え調整） */
    scrollbar-width: none;
    /* Firefox用 */
    -ms-overflow-style: none;
    /* IE/Edge用 */

    /* 4. 一番下に指一本分の余白を確保（これがないとギリギリで切れます） */
    padding-bottom: 80px !important;

    /* 念のため高さの基準を画面いっぱいにする */
    height: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    /* アドレスバーの変化に対応 */
  }

  /* Chrome/Safariでスクロールバーを完全に消すおまじない（見た目重視） */
  .side-nav::-webkit-scrollbar {
    display: none;
  }
}

/* ========================================================
   SP表示（768px以下）最終調整
   - ヘッダー：ロゴなし、ボタン右上
   - メニュー：ロゴあり、破線区切り、スクロール対応
   ======================================================== */
@media (max-width: 768px) {

  /* --- 1. ヘッダー設定（ボタンのみ） --- */
  .site-header {
    height: 64px;
    background: transparent;
    /* 背景なし（または #fff） */
    position: relative;
    /* ロゴの中央寄せ設定は不要なので削除 */
  }

  /* ハンバーガーボタン（右上に配置） */
  .menu-btn {
    position: absolute;
    right: 18px !important;
    /* 右端 */
    left: auto !important;
    /* 左指定解除 */
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    z-index: 120;
  }

  /* --- 2. メニュー（ドロワー）の設定 --- */
  .side-nav {
    padding-top: 20px;
    /* 上の余白 */
    overflow-y: auto;
    /* スクロール許可 */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 80px;
    /* 下の余白 */
  }

  /* ★メニュー内のロゴを表示（中央寄せ）★ */
  .side-nav__logo {
    display: block !important;
    /* 復活 */
    margin: 0 auto 20px;
    /* 中央寄せ＆下に余白 */
    text-align: center;
  }

  .side-nav__logo img {
    margin: 0 auto;
  }

  /* メニューリスト（破線区切り） */
  .side-nav__list {
    width: 100%;
    gap: 0;
  }

  .side-nav__list a {
    display: block !important;
    writing-mode: horizontal-tb !important;
    width: 100%;
    text-align: center;
    padding: 18px 0 !important;
    border-bottom: 1px dashed #ccc;
    background: transparent;
  }

  .side-nav__list li:first-child a {
    border-top: 1px dashed #ccc;
  }

  /* --- 3. 予約ボタン・SNS・宿情報 --- */
  .side-nav__extras {
    width: 100%;
    text-align: center;
    margin-top: 32px !important;
  }

  .side-nav__cta {
    display: inline-block !important;
    writing-mode: horizontal-tb !important;
    text-orientation: initial !important;
    width: 80% !important;
    max-width: 260px;
    padding: 14px 0 !important;
    text-align: center;
  }

  .side-nav__sns {
    width: 100%;
    margin-top: 24px !important;
    display: flex !important;
    justify-content: center !important;
  }

  /* 宿情報 */
  .side-nav__info {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 32px;
    font-family: "Shippori Mincho", serif;
    font-size: 11px;
    line-height: 1.6;
    color: #444;
    writing-mode: horizontal-tb;
  }

  .nav-info-name {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 12px;
  }

  .nav-info-tel a {
    text-decoration: none;
    color: inherit;
    display: inline-block;
    margin-top: 4px;
  }
}

/* =========================================
   スマホだけで改行するクラス (.spbr)
   ========================================= */

/* PC・タブレット（基本）：改行を無効化 */
.spbr {
  display: none;
}

/* スマホ（768px以下）：改行を有効化 */
@media (max-width: 768px) {
  .spbr {
    display: block;
  }
}

/* =========================================
   スマホ表示時のフォントサイズ微調整
   ========================================= */
@media (max-width: 768px) {

  /* 1. サイト全体のベース文字サイズを小さく */
  .site-root {
    font-size: 14px;
    /* PCは16pxなので、少し小さく */
  }

  /* 2. 各セクションの本文（pタグ）を一括で調整 */
  /* 元のCSSで「最低15px」等の指定が強いため、ここで上書きします */
  p,
  .greetc-body p,
  .origin-body p,
  .cuisine-txt,
  .card__txt,
  .plan-txt {
    font-size: 14px !important;
    /* 14pxに強制統一（もっと小さくするなら13px） */
    line-height: 1.7;
    /* 行間は少し広めにして読みやすく */
  }

  /* 3. 見出し（h2など）も少し小さくしたい場合 */
  .greetc-title,
  .cuisine-ttl,
  .origin-heading,
  .plans-title {
    font-size: 24px !important;
    /* 元は26px〜40pxなので、少し控えめに */
  }
}