@charset "UTF-8";

/*──────────────────────────────────────────────────
  ベーススタイル（PC以上）
──────────────────────────────────────────────────*/
/* html, body の基本設定 */
html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: "Oswald", "Space Grotesk", "Noto Sans JP", sans-serif;
  background-image: url(../img/background2.jpg);
  margin: 0;
  padding: 0;
}
body.no-scroll {
  overflow: hidden;
}

section {
  background: transparent;
  padding: 0;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

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

a:hover {
  opacity: 0.7;
}

/* ──────────── */
/* 全セクション共通の背景＋余白 */
/* ──────────── */
.inner.section-wrapper {
  background-color: #fafafa; /* 中央カラム（max-width:900px）の背景色 */
  margin: 0 auto; /* 中央寄せ */
  max-width: 920px; /* お好みの最大幅 */
  padding: 120px 20px 100px; /* 上120px / 左右20px / 下100px の余白 */
  box-sizing: border-box; /* padding を幅に含める */
  gap: 40px; /* （必要があれば）内部要素間の余白など */
}

.wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 20px;
}

main {
  color: #111;
  letter-spacing: 0.1rem;
}

#header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #111;
  padding: 0 40px;
  z-index: 1000;
  letter-spacing: 0.1rem;
  transition: background-color 0.5s ease-in-out;
}
#header.transparent {
  background-color: rgba(17, 17, 17, 0.6);
}

/* ============================= */
/* ロゴ画像とテキストを切り替えるスタイル */
/* ============================= */

#header .logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: block;
  position: relative;
  width: 120px;
  height: 120px;
}
.logo-img,
.logo-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.8s ease-in-out;
}
.logo-img {
  opacity: 1;
  z-index: 2;
  transition: opacity 0.9s ease-in-out;
}
.logo-text {
  opacity: 0;
  z-index: 1;
  font-family: "Oswald", "Space Grotesk", sans-serif;
  font-size: 1.6rem;
  font-weight: bold;
  color: #ffffff;
  white-space: nowrap;
  padding-left: 30px;
  filter: drop-shadow(0 0 10px rgba(246, 246, 246, 0.5));
}

.logo-img.hidden {
  opacity: 0;
  pointer-events: none;
}
.logo-text.visible {
  opacity: 0.8;
}

/* ---------------------
ハンバーガーメニュー
--------------------- */
.hamburger {
  display: none; /* PCでは非表示 */
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
  transition: 0.4s;
  position: relative;
}

/* ハンバーガーアニメーション (JSとクラス名を統一) */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ---------------------
ナビゲーション (PC)
--------------------- */
.navi {
    /* SP用のスタイルは responsive.css で上書き */
}

/* WordPressの出力に合わせたセレクタに調整 */
.navi .menu {
  display: flex;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navi .menu > .menu-item > a {
  color: goldenrod;
  font-weight: 700;
  padding: 10px 20px;
  display: block;
}

/* Uber Eatsなどのカスタムリンクメニュー項目の調整 */
.navi .menu > .menu-item-object-custom a {
    padding: 0; /* 必要に応じて調整 */
}

.header__instagram svg {
  width: 30px;
}

.uber-eats-btn {
  width: 100px;
  padding: 5px 15px;
  color: #fff;
  font-weight: bold;
  position: relative;
  display: inline-block;
}

.uber-eats-btn svg {
  width: 60px;
  transition: all 0.8s ease;
}
.uber-eats-btn svg:hover {
  transform: scale(1.4);
  filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.5));
}
.hover-text {
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50px);
  white-space: nowrap;
  padding: 4px 8px;
  margin-top: 4px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
  color: #fff;
  font-weight: bold;
  transition: all 0.8s ease;
}

.uber-eats-btn:hover .hover-text {
  transform: translateY(-50%, -50px);
  opacity: 1;
}

/* top戻るボタン */
#page-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 70px; /* BGMボタンと幅を合わせる */
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: center;
}

#page-top a {
    display: block;
    background: none;
    padding: 0;
    color: inherit;
    text-decoration: none;
}

#page-top:hover {
    transform: scale(1.1);
}

#page-top a:hover {
    opacity: 1;
}

#page-top img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 1;
    margin-bottom: 0;
}

#page-top .hover-text-top {
    display: block;
    margin-top: 5px;
    color: #fff;
    font-family: "Oswald", "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7), 0 0 10px rgba(255, 215, 0, 0.6);
    opacity: 1;
    transform: none;
    line-height: 1.2;
}


.mainvisual {
  position: relative; /* ★★★ これが重要です ★★★ */
  width: 100%;
  padding-top: 50%;
  overflow: hidden;
}

.mv__background-l,
.mv__background-r {
  position: absolute;
  top: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 6;
  pointer-events: none;
}
.mv__background-l {
  left: 0;
  width: 30%;
}
.mv__background-r {
  right: 0;
  width: 70%;
}

.mv__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 1400px;
  z-index: 7;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  pointer-events: none;
}
.mv__text__inner {
  color: #fff;
  width: 50%;
  padding-left: 20px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
.mv__title {
  font-size: 4.6rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  line-height: 1.4;
  letter-spacing: 0.1rem;
}
.mv__subtitle {
  font-size: 6.4rem;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.1rem;
}

.mainvisual .fade-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mainvisual .fade-img li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: fade-mainvisual 30s infinite; /* 6枚用にアニメーション時間を変更 */
  z-index: 5;
}
.mainvisual .fade-img li:nth-child(1) {
  animation-delay: 0s;
}
.mainvisual .fade-img li:nth-child(2) {
  animation-delay: 5s;
}
.mainvisual .fade-img li:nth-child(3) {
  animation-delay: 10s;
}
.mainvisual .fade-img li:nth-child(4) {
  animation-delay: 15s; /* 4枚目の遅延を追加 */
}
.mainvisual .fade-img li:nth-child(5) {
  animation-delay: 20s; /* 5枚目の遅延を追加 */
}
.mainvisual .fade-img li:nth-child(6) {
  animation-delay: 25s; /* 6枚目の遅延を追加 */
}

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

@keyframes fade-mainvisual {
  0% {
    opacity: 0;
  }
  8.3% { /* (5s / 30s) / 2 */
    opacity: 1;
  }
  16.6% { /* 5s / 30s */
    opacity: 1;
  }
  25% { /* (5s + 2.5s) / 30s */
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/*―――――――――――――――――
  .about セクション共通
―――――――――――――――――*/

.about__title,
.menu__title,
.news-title,
.access__title {
  font-family: "Oswald", "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: bold;
  color: #111;
  margin: 0 auto;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
  --underline-progress: 0;
}

.about__title::after,
.menu__title::after,
.news-title::after,
.access__title::after {
  content: "";
  display: block;
  width: calc(var(--underline-progress) * 100%);
  height: 4px;
  background-color: #9f7916;
  margin: 10px auto 0;
  transition: width 0.1s ease;
}

.about__title.is-active::after,
.menu__title.is-active::after,
.news-title.is-active::after,
.access__title.is-active::after {
  width: 50%;
}
.about__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: #333;
  margin: 20px auto 0;
  max-width: 800px;
  text-align: center;
  padding: 20px 40px 20px;
}

/*―――――――――――――――――
  photo セクション
―――――――――――――――――*/
.loop_wrap {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.loop {
  display: flex;
  width: max-content;
  animation: scrollLoop 90s linear infinite;
}
.loop img {
  height: auto;
  width: 300px;
  object-fit: cover;
}

@keyframes scrollLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*―――――――――――――――――
  menu セクション
―――――――――――――――――*/
.menu__images {
  display: flex;
  justify-content: center;
  gap: 20px; /* 画像間のスペース */
  margin-top: 40px;
  flex-wrap: wrap; /* 画面が小さい場合に折り返す */
}

.menu__image-item {
  width: 100%;
  max-width: 350px; /* PCでの画像の最大幅を小さく変更 */
}

.menu__image-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu__image-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/*―――――――――――――――――
  news セクション
―――――――――――――――――*/
.news-section {
  margin-bottom: -20px;
}
.card-wrap {
  margin-top: 40px;
}
.news-card {
  width: 70%;
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 20px;
}
.news-card img {
  width: 100%;
  height: 0 auto;
  object-fit: cover;
  padding: 5px 10px;
}
.news-content {
  max-width: 500px;
  padding: 20px 20px;
}
.news-heading {
  font-size: 1.2rem;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: bold;
  margin-bottom: 10px;
}
.news-text {
  font-size: 1rem;
  font-family: "Noto Sans JP", sans-serif;
  margin-bottom: 10px;
}

.news-button {
  min-width: 100px;
  font-family: "Oswald";
  display: inline-block;
  padding: 6px 10px;
  background: #9f7916;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  position: relative;
  z-index: 10;
}
.news-button:hover {
  background: #8a6e14;
  opacity: 1;
}
.news-button::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -10;
  background: rgba(239, 217, 74, 0.339);
  border-radius: 4px;
  transform-origin: 100% 50%;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.news-button:hover::before {
  transform-origin: 0% 50%;
  transform: scaleX(1);
}

/*―――――――――――――――――
  access セクション
―――――――――――――――――*/
.access__title {
  font-family: "Oswald", "Space Grotesk", sans-serif;
  font-size: 2.4rem;
  font-weight: bold;
  color: #111;
  text-align: center;
  position: relative;
  --underline-progress: 0;
}

.access__title::after {
  content: "";
  display: block;
  width: calc(var(--underline-progress) * 100%);
  height: 4px;
  background-color: #9f7916;
  margin: 10px auto 0;
  transition: width 0.1s ease;
}
.access__flex {
  display: flex;
  flex-wrap: wrap;
  margin-top: 50px;
  justify-content: center;
}

.access__info {
  flex: 1 1 200px;
  max-width: 300px;
  padding: 16px 12px;
  box-sizing: border-box;
}
.access__list dt {
  font-weight: bold;
  margin-top: 8px;
  font-size: 1rem;
  color: #111;
}
.access__list dt:first-of-type {
  margin-top: 0;
}
.access__list dd {
  margin-left: 0;
  margin-bottom: 4px;
  color: #222;
  font-size: 0.9rem;
  line-height: 1.5;
}

.access__map {
  flex: 1 1 200px;
  max-width: 350px;
  position: relative;
}

.access__map iframe {
  width: 100%;
  height: 210px;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ──────────── */
/* パララックス用セクション */
/* ──────────── */
.parallax {
  background-image: url("../img/grass.jpg");
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
  width: 100%;
  height: 500px;
  position: relative;
}

/*―――――――――――――――――
  footer セクション
―――――――――――――――――*/
.footer-col--info br.sp-only {
  display: none;
}
#footer {
  background-color: #111;
  color: #fff;
  padding: 40px 20px;
  letter-spacing: 0.1rem;
}

.footer-inner {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col--logo {
  text-align: left;
  margin-top: 20px;
  margin-left: 30px;
}
.footer-logo {
  max-width: 120px;
  margin-bottom: 12px;
  padding-left: 15px;
}
.footer-logo-text {
  font-family: "Oswald", "Space Grotesk", sans-serif;
  font-size: 2rem;
  font-weight: bold;
  align-items: center;
  color: #ffffff;
  white-space: nowrap;
}

.footer-copy {
  font-size: 0.6rem;
  color: #aaa;
  margin-top: 20px;
  margin-bottom: 10px;
}

.footer-col--info {
  line-height: 1.4;
  font-family: "Oswald", "Space Grotesk", sans-serif;
  margin-left: 10px;
  padding-top: 35px;
  font-size: 0.6rem;
  font-weight: bold;
}
.footer-col--nav {
  margin-top: auto;
  margin-bottom: 10px;
}
.footer-col--info p {
  display: flex;
  align-items: center;
  color: #ddd;
  transition: color 0.3s;
  font-weight: bold;
}
.footer-col--info p svg {
  width: 18px;
  height: 18px;
  color: #ddd;
}

.footer-menu {
  display: flex;
  flex-direction: column;
  margin-left: 140px;
  padding: 0;
  list-style: none;
}
.footer-menu li a {
  color: #9f7916;
  font-weight: bold;
  font-size: 0.7rem;
  text-decoration: none;
  transition: color 0.3s;
}
.footer-menu li a:hover {
  color: #fff;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 20px;
  list-style: none;
}
.footer-col--social {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}

.footer-col--social .footer-social {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.footer-social li a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #9f7916;
  text-decoration: none;
  transition: color 0.8s;
}
.footer-social li a:hover {
  color: #fff;
  transition: color 0.8s;
}
.footer-social svg {
  width: 20px;
  height: 20px;
}

.footer-line-qr {
  margin-top: 10px;
}

.footer-line-qr p {
  font-size: 0.6rem;
  font-weight: bold;
  color: #ddd;
  margin-bottom: 8px;
}

.footer-line-qr img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background-color: #fff;
  padding: 5px;
  box-sizing: border-box;
}

/* WordPress管理バーが表示されている時のヘッダー位置調整 */
body.admin-bar #header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar #header {
        top: 46px;
    }
}

/* ===============================================
   商品詳細モーダル
=============================================== */
.burger-item {
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.burger-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.product-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.product-modal-content {
  background-color: #fff;
  border-radius: 10px;
  position: relative;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .product-modal-content {
    flex-direction: row;
  }
}

.product-modal-img-wrapper {
  width: 100%;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .product-modal-img-wrapper {
    width: 50%;
  }
}

#product-modal-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px 10px 0 0;
}
@media (min-width: 768px) {
  #product-modal-img {
    border-radius: 10px 0 0 10px;
    height: 100%;
    object-fit: cover;
  }
}

.product-modal-details {
  padding: 20px 30px;
  text-align: left;
}

#product-modal-name {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  margin: 0 0 10px;
}
#product-modal-price {
  font-size: 20px;
  font-weight: bold;
  color: #e0a912;
  margin: 0 0 20px;
}
#product-modal-desc {
  font-size: 16px;
  line-height: 1.7;
  color: #555;
}

.product-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 35px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  cursor: pointer;
  border: none;
  background: transparent;
  z-index: 10;
}
@media (min-width: 768px) {
  .product-modal-close {
    color: #333;
    text-shadow: none;
  }
}

/* ===============================================
   MENU画像拡大用モーダル
=============================================== */
.menu-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s 0.3s;
}

.menu-modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

.menu-modal-content {
  position: relative;
  width: auto; /* 幅を自動調整に変更 */
  max-width: 90vw; /* 画面幅の90%を最大幅に設定 */
  max-height: 85vh; /* 画面高さの85%を最大高さに設定 */
}

.menu-modal-content img {
  width: auto; /* 幅を自動調整に変更 */
  height: auto; /* 高さを自動調整に変更 */
  max-width: 100%; /* コンテナの幅に合わせる */
  max-height: 85vh; /* 画面高さの85%を最大高さに設定 */
  object-fit: contain; /* アスペクト比を保ちつつコンテナに収める */
  border-radius: 8px;
}

.menu-modal-close {
  position: absolute;
  top: -35px; /* 画像の上、少し余白を持たせる */
  right: -5px; /* 右端に配置 */
  font-size: 35px;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
  border: none;
  background: transparent;
  transition: transform 0.2s ease;
}

.menu-modal-close:hover {
    transform: scale(1.2);
}


/* style.css の .mainvisual セレクタと、末尾のBGMスタイルを以下のように修正・差し替えてください */

/* ... 他のスタイルはそのまま ... */

.mainvisual {
  position: relative; /* ★★★ これが重要です ★★★ */
  width: 100%;
  padding-top: 50%;
  overflow: hidden;
}

/* ... 他のスタイルはそのまま ... */


/* ★★★ BGM再生ボタンのスタイル (PCは左下固定) - 最終修正 ★★★ */
#bgm-controller {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    width: 60px;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-align: center;
}

#bgm-controller:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* SP用のアイコンはPCでは常に非表示 */
#bgm-controller .bgm-icon-sp {
    position: absolute;
    bottom: 10px;
    right: 0px;
    display: none;
}

#bgm-controller .bgm-icon-pc img {
    width: 100%;
    height: auto;
    display: block;
}

#bgm-controller.is-playing .bgm-icon-pc {
    animation: pulse 1.2s ease-in-out infinite;
    background-color: rgba(0, 0, 0, 0.4);

}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

#bgm-controller .bgm-text {
    display: block;
    margin-top: -5px;
    color: #fff;
    font-family: "Oswald", "Space Grotesk", sans-serif;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.7), 0 0 10px rgba(255, 215, 0, 0.6);
}


