/* style.css */
html, body {
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-style: normal;
  background-color: #e6dfd7;
  color: #5c4c44;
  letter-spacing: 0.06em;
}
.container {
  padding: 0 20px;
}
main {
  margin: auto;
  background-color: #f8f5f1;
  max-width: 800px;
  width: 100%;
}
.menu {
  font-family: "Noto Serif", serif;
  font-weight: 600;
  font-style: normal;
}
.card {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 3px 3px 12px rgba(0,0,0,0.05);
}

/* SP MENU BUTTON */
.mobile-menu-button {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  font-size: 28px;
  cursor: pointer;
}

/* SP MENU */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 50%;
  max-width: 300px;
  height: 100%;
  background: #fff;
  display: none;
  z-index: 999;
  padding: 60px 20px;
}

/* 開いた時 */
.menu-toggle:checked ~ .mobile-menu {
  display: block;
}
.close-area {
  position: fixed;
  top: 0;
  right: 70%;
  width: 30%;
  height: 100%;
  display: none;
}
.menu-toggle:checked ~ .mobile-menu .close-area {
  display: block;
}
.mobile-menu a {
  display: block;
  padding: 15px 0;
  font-size: 18px;
  text-decoration: none;
  color: #5c4c44;
}
.menu-toggle {
  display: none;
}

/* ロゴ */
.header-logo {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 160px;
  height: auto;
  z-index: 10;
}

/* KV */
.kv-section {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}
.kv-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center center;
  animation: kv-zoom 5s ease-in-out forwards;
  object-fit: cover;
}
@keyframes kv-zoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.07); }
}

/* PC MENU */
nav.pc-menu {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px auto;
}
nav.pc-menu a {
  text-decoration: none;
  color: #5c4c44;
  font-size: x-large;
}

/* Section Placeholder */
section.section-block {
  text-align: center;
  padding: 30px 16px;
  border-bottom: 1px solid #e6dbd2;
}
section.section-block h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: xx-large;
  font-family: "Noto Serif", serif;
  font-weight: 600;
  font-style: normal;
}

h3.shop_list {
  font-size: x-large;
  display: inline-block;
  position: relative;
  padding: 4px 8px;
  text-align: center;
  margin: 8px auto;
}

h3.shop_list::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110%;
  height: 4px;
  background: linear-gradient(135deg, transparent 25%, #a08c8c 25%, #a08c8c 50%, transparent 50%, transparent 75%, #a08c8c 75%, #a08c8c);
  background-size: 4px 4px;
}

/* 中タイトル装飾 */
.menu-title {
  position: relative;
  padding: 8px 16px;
  letter-spacing: 0.1em;
  color: #4b4242;
  display: block;
  box-sizing: border-box;
  max-width: 500px;
  text-align: center; 
  margin: 24px;
  margin-inline: auto;
}
.menu-title::before, .menu-title::after {
  content:'';
  position: absolute;
  width: 30px;
  height: 30px;
}
.menu-title::before {
  border-left: solid 1px #4b4242;
  border-top: solid 1px #4b4242;
  top:0;
  left: 0;
}
.menu-title::after {
  border-right: solid 1px #4b4242;
  border-bottom: solid 1px #4b4242;
  bottom:0;
  right: 0;
}
.menu-title span:before, .menu-title span:after {
  content:'';
  position: absolute;
  width: 46px;
  height: 46px;
  rotate: 45deg;
}
.menu-title span:before {
  border-left: solid 1px #4b4242;
  top:2px;
  left: 2px;
}
.menu-title span:after {
  border-right: solid 1px #4b4242;
  bottom:2px;
  right: 2px;
}

/* INFO */
.shop {
  padding: 2em;
}
.schedule__item {
  display: flex;
  align-items: center;
  margin-top: 1.25em;
  margin-right: auto;
  margin-bottom: 1.25em;
  margin-left: auto;
  justify-content:flex-start;
  max-width: 440px;
}
.schedule__item-text {
  margin: 0; 
  padding-left: 2.5em;
  text-align: left;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  background: #fff;
  box-shadow: 3px 3px 0px #594a4a29;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  background-color: #a17e7e;
  color: #fff;
  border-radius: 30px;
}
.btn-wrap {
  display: flex;
  justify-content: center;
  gap: 4%;
  padding-top: 0.5em;
  padding-left: 5em;
  padding-bottom: 0.5em;
  padding-right: 5em;
}
.btn-wrap .btn {
  max-width: 230px;
  width: 100%;
  font-size: 1.125rem;
}

/* EC */
.ec {
  text-align: left;
  margin: 0 auto;        /* セクション全体では中央に配置される */
}

.ec__text {
  width: 600px; /* ←白地と揃える or 好きな幅にする */
  max-width: 100%;
  margin: 0 auto; /* ←中央寄せ */
  padding: 0 20px; /* ←文字にちょい余白 */
}

.ec a{
  color: inherit;
}

.ec__item {
  display: flex;
  align-items: flex-start;
  gap: 1.5em;
  margin: 1.25em 0;       /* ← 個別に中央寄せさせないため auto を外す */
}

.ec__item-title {
  width: 7em;
  flex-shrink: 0;
}

.ec__item-text {
  margin: 0;
  text-align: left;
}

/* NOVELTY　*/
#novelty {
  padding-bottom: 80px;
}
.novelty-wrap h3 {
  font-size: 20px;
  margin-bottom: 12px;
  font-family: "Noto Serif", serif;
  color: #4b4242;
}
.novelty-wrap p {
  line-height: 1.8;
  margin-bottom: 16px;
}
.novelty-image img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  margin: 0 auto;
  border-radius: 8px;
}

/* GOODS */
.goods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; /* 列間の余白 */
  padding: 20px 0;
}
.goods-item {
  text-align: center;
}
.goods-images {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
}
.goods-images img {
  width: 100%;
  display: none;
  cursor: pointer;
}
.goods-images img.active {
  display: block;
}
.goods-name {
  font-weight: 700;
  margin-top: 10px;
  margin-bottom: 4px;
}
.goods-price {
  font-weight: 500;
  color: #504643;
}
.goods-name {
  margin-bottom: 0px;
}
.goods-price {
  margin-top: 4px;
}

/* 矢印ボタンのスタイル */
.goods-images button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.2rem;
  line-height: 1;
  border-radius: 4px;
  transition: background 0.2s;
}
.goods-images button:hover {
  background: rgba(0, 0, 0, 0.6);
}
.prev-button {
  left: 10px;
}
.next-button {
  right: 10px;
}

/* MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8); /* 背景を暗くする */
  display: none; /* 初期状態では非表示 */
  justify-content: center; /* 画像を水平中央に */
  align-items: center; /* 画像を垂直中央に */
  z-index: 2000; /* 他の要素より手前に表示 */
  cursor: pointer;
}
.modal img {
  max-width: 90%; /* モーダル内の画像の最大幅 */
  max-height: 90%; /* モーダル内の画像の最大高さ */
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}
.modal button.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none; /* 背景なし */
  border: none;
  color: white;
  font-size: 3rem; /* 大きめのアイコン */
  cursor: pointer;
  z-index: 2010; /* 画像や背景より前面に */
  opacity: 0.8;
  transition: opacity 0.2s;
  padding: 20px;
}
.modal button.nav-button:hover {
  opacity: 1;
}
.modal .prev-modal-button {
  left: 20px;
}
.modal .next-modal-button {
  right: 20px;
}

/* ATTENTION */
.attention {
  text-align: left;
  font-size: small;
  padding: 0.5em 1.5em;
  line-height: 1.7em;
}
ul {
  list-style: none;
  padding-left: 0;
}
ul li {
  position: relative;
  padding-left: 1.2em;
}
ul li::before {
  content: "▹";
  position: absolute;
  left: 0;
  top: 0.2em;
}

/* CONTACT */
.contact-form {
  text-align: left;
}
.form-group {
  margin-bottom: 24px;
}
.form-group label {
  font-weight: bold;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
}
.required {
  color: #a17e7e;
  font-size: 12px;
  margin-left: 6px;
  border: 1px solid #a17e7e;
  padding: 2px 6px;
  border-radius: 4px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfc7c2;
  border-radius: 10px;
  background: #faf9f7;
  font-size: 15px;
  resize: vertical;
  box-sizing: border-box;
  transition: border .2s, box-shadow .2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #9d8b85;
  box-shadow: 0 0 4px rgba(157,139,133,0.4);
  outline: none;
}
.form-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}
input.btn-submit {
  background-color: #68574f;
  color: #fff !important;
  border: none;
}
input.btn-submit:hover {
  background-color: #8a746a;
  color: #fff !important;
}
.btn-submit,
.btn-reset {
  color: #333 !important;
  background: #fff;
  border: 1px solid #ccc;
  font-weight: 500;
  padding: 12px 20px;
  width: 200px;
  text-align: center;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-block;
}

/* hover */
.btn-submit:hover,
.btn-reset:hover {
  background: #f1f1f1;
  border-color: #999;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  nav.pc-menu { display: none; }
  .mobile-menu-button { display: block; }
  .header-logo { display: none !important; }
  .br768 { display: inline; }
  main {width: 100%;}
  .btn-wrap {
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
    gap: 14px;
  }
  .btn-wrap .btn {
    width: calc(100% - 40px);
    margin: 0 auto;
    max-width: 300px;
  }
  .goods-grid {
    grid-template-columns: 1fr; 
    gap: 30px;
  }
  .modal button.nav-button {
    font-size: 2rem; 
    padding: 15px 8px;
    background: rgba(0, 0, 0, 0.4); 
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    border-radius: 4px; 
  }
  .modal button.nav-button:hover {
    background: rgba(0, 0, 0, 0.6);
  }
  .modal .prev-modal-button {
    left: 10px; 
  }
  .modal .next-modal-button {
    right: 10px; 
  }
}

.br768 {
  display: none;
}

/*　footer　*/
footer {
  width: 100%;
  background-color: #5c4c44; 
  color: #fff; 
  text-align: center;
  padding: 20px 0;
  margin-top: 0;
}

footer p.copyright {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.05em;
}