@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.4
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/
.header-in {width: 100%;}
.header-in img {width: 100%;}
.logo-image span, .logo-image a {width: 100%;}
.logo-image, .logo-image a {padding: 0;}

/* 価格改定のお知らせはTOP・店舗ページとも非表示にする */
.home .price-notice-banner-link,
.home #modal-price-notice,
.price-notice-box {
  display: none !important;
}

.home .menu-update-banner {
  display: block;
  margin-bottom: 12px;
  color: inherit;
  text-decoration: none;
}

.home .menu-update-banner .price-notice-banner-box {
  cursor: default;
}

.home .menu-update-banner-guide {
  margin: 10px 0 8px;
  color: #fff;
  font-size: 0.9em;
  line-height: 1.6;
}

.home .menu-update-store-links {
  display: flex;
  gap: 10px;
}

.home .menu-update-store-link {
  flex: 1 1 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  background: #fff;
  color: #263249;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.home .menu-update-store-link:hover,
.home .menu-update-store-link:focus-visible {
  background: #f5a623;
  color: #172033;
}

@media screen and (max-width: 480px) {
  .home .menu-update-store-links {
    gap: 6px;
  }

  .home .menu-update-store-link {
    padding: 8px 6px;
    font-size: 0.86em;
  }
}

/* 店舗別メニュー */
.store-menu-gallery {
  --menu-ink: #28231f;
  --menu-red: #9f221d;
  --menu-paper: #fffaf0;
  max-width: 760px;
  margin: 12px auto 38px;
  padding: 24px;
  color: var(--menu-ink);
  background: linear-gradient(145deg, #fffdf7, var(--menu-paper));
  border: 1px solid #ded2bd;
  border-top: 5px solid var(--menu-red);
  box-shadow: 0 12px 30px rgba(62, 45, 30, 0.09);
}

.store-menu-gallery__heading {
  margin-bottom: 20px;
  text-align: center;
}

.store-menu-gallery__heading h2 {
  margin: 2px 0 4px;
  color: var(--menu-ink);
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.12em;
}

.store-menu-gallery__heading p {
  margin: 0;
  color: #6d6257;
  font-size: 0.9rem;
}

.store-menu-gallery__heading .store-menu-gallery__eyebrow {
  color: var(--menu-red);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.store-menu-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.store-menu-gallery__thumbnail {
  display: block;
  width: 100%;
  padding: 7px 7px 10px;
  overflow: hidden;
  color: var(--menu-ink);
  font: inherit;
  background: #fff;
  border: 1px solid #d7ccba;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(40, 35, 31, 0.08);
  cursor: zoom-in;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.store-menu-gallery__thumbnail:hover,
.store-menu-gallery__thumbnail:focus-visible {
  border-color: var(--menu-red);
  box-shadow: 0 9px 22px rgba(40, 35, 31, 0.16);
  transform: translateY(-3px);
}

.store-menu-gallery__thumbnail:focus-visible {
  outline: 3px solid rgba(159, 34, 29, 0.28);
  outline-offset: 3px;
}

.store-menu-gallery__thumbnail img {
  display: block;
  width: 100%;
  aspect-ratio: 1.414 / 1;
  object-fit: contain;
  background: #fff;
}

.store-menu-gallery__thumbnail span {
  display: block;
  padding-top: 8px;
  color: var(--menu-red);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.store-menu-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.store-menu-modal.is-open {
  display: flex;
}

.store-menu-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: rgba(18, 15, 13, 0.9);
  border: 0;
  cursor: zoom-out;
}

.store-menu-modal__panel {
  position: relative;
  z-index: 1;
  max-width: min(1180px, 96vw);
  max-height: 92vh;
}

.store-menu-modal__panel img {
  display: block;
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.45);
}

.store-menu-modal__close {
  display: block;
  margin: 0 0 8px auto;
  padding: 8px 15px;
  color: #fff;
  font: inherit;
  font-weight: 700;
  background: #9f221d;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 3px;
  cursor: pointer;
}

body.store-menu-modal-open {
  overflow: hidden;
}

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  .store-menu-gallery {
    margin-top: 4px;
    padding: 18px 10px;
  }

  .store-menu-gallery__grid {
    gap: 8px;
  }

  .store-menu-gallery__thumbnail {
    padding: 4px 4px 8px;
  }

  .store-menu-gallery__thumbnail span {
    font-size: 0.72rem;
  }

  .store-menu-modal {
    padding: 8px;
  }
}
