*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: #fffef8;
  color: #333;
  font-family: "Noto Sans JP", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { max-width: 1200px; margin: 0 auto; padding: 100px 20px 60px;padding-top: 100px; }

/* ヘッダー */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: #fff;
  border-bottom: 2px solid #e0e0c0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 10000;
}

.logo { display: flex; align-items: center; gap: 12px; text-decoration: none;}
.logo__img { height: 60px; }
.logo__title { height: 40px; }
.logo:hover {opacity: 0.8;}

/* ナビ */
.site-nav .main-nav {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav .main-nav a {
  text-decoration: none;
  background: #f3f0c0;
  color: #333;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
}
.site-nav .main-nav a:hover {
  background: linear-gradient(90deg, #f6e58d, #ffbe76);
  color: #444;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

:root {
  --slider-width: 70%;
  --slider-height: 450px;
  --nav-bg: rgba(0, 0, 0, 0.45);
}

.slider-wrapper {
  position: relative;
  width: var(--slider-width);
  height: var(--slider-height);
  margin: 40px auto;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.16);
  background: #000;
  top: 40px;
}

.slider {
  display: flex;
  height: 100%;
  transition: transform 0.6s ease;
}

.slide { min-width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev { left: 12px; }
.next { right: 12px; }

.nav {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  line-height: 1;
}


.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--nav-bg);
  border: none;
  color: #fff;
  font-size: 22px;
  padding: 10px 16px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(4px);
}

.section__title {
  font-size: 22px;
  display: inline-block;
  padding: 10px 20px;
  border-top: 2px dashed #16a085;
  border-bottom: 2px dashed #16a085;
  margin-bottom: 20px;
  background: rgba(22,160,133,0.05);
  border-radius: 1px;
}

.special-intro {
  background-color: #f9fdfb; 
  border-radius: 16px;
  padding: 20px 20px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  max-width: 900px;
  margin: 20px auto;
}

.special-intro p {
  font-size: 1.1rem;
  color: #444;
  line-height: 1.8;
}

.special-intro p br {
  margin-bottom: 8px;
}

/* カードコンテナ */
.shop-card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* カード間のスペース */
  justify-content: center; /* カードを中央寄せに */
  padding: 0 10px; /* 左右の余白を追加して、端のカードが詰まらないように調整 */
}

/* ショップカード */
.shop-card {
  flex: 0 0 calc(33.333% - (20px * 2 / 3)); 
  max-width: calc(33.333% - (20px * 2 / 3)); /* flex-basisと同じ値を設定 */
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d9d9d9;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.03);
  padding: 16px;
  box-sizing: border-box; /* paddingとborderをwidthに含める */
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

/* 画像 */
.shop-card__figure {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px;
  margin: 0;
}
.shop-card__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  background-color: #f0f9f5; 
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* カード本文 */
.shop-card__body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}
.shop-card__title { font-size: 22px; margin: 6px 0 12px;text-align: center; }
.shop-card__desc { font-size: 18px; line-height: 1.6; margin-bottom: 16px; }

.detail-btn {
  display: none;
  text-decoration: none;
  color: inherit;
}

.section.about {
  background-color: #f9faf7;
  padding: 40px 18px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  margin: 60px auto;
  max-width: 900px;
}

/* タグ */
.shop-card__tags { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.tag {
  background: #2f835f; color: #fff; border: 0;
  padding: 10px 22px; border-radius: 999px; cursor: pointer; font-weight: 700; font-size: 15px;
}
.tag:active { transform: translateY(1px); }

/* フッター */
.site-footer {
  padding: 18px;
  text-align: center;
  font-size: 14px;
  color: #666;
  border-top: 2px solid #e0e0c0;
}

.site-footer a {
  color: #666;
  text-decoration: none;
  display: block;   
}

/* レスポンシブ */
@media (max-width: 1024px) {
  .shop-card {
    /* 2列表示の場合: (100% - (ギャップの数 * ギャップ幅)) / 1列あたりのカード数 */
    /* 20pxのギャップが1つなので、合計20pxを引く */
    flex: 0 0 calc(50% - (20px / 2)); /* 2列表示 */
    max-width: calc(50% - (20px / 2));
  }
}
@media (max-width: 680px) {
  .shop-card {
    flex: 0 0 100%; /* 1列表示 */
    max-width: 100%;
  }
  /* スマホでのカードコンテナのパディング調整 */
  .shop-card-container {
    padding: 0 15px; /* スマホでは左右の余白を少し増やす */
  }
  .detail-btn {
    display: inline-block;
    padding: 10px 16px;
    margin-top: 12px;
    background: #f3f0c0;
    color: #333;
    border-radius: 6px;
    text-align: center;
    font-size: 14px;
  }
}

/* ハンバーガーメニュー */
.nav-toggle { display: none; }
.hamburger {
  display: none; flex-direction: column; justify-content: space-between;
  width: 28px; height: 22px; cursor: pointer; z-index: 10001;
}
.hamburger span { display: block; height: 3px; width: 100%; background: #333; border-radius: 2px; transition: all 0.3s ease; }
.close-btn { display: none; position: absolute; top: 16px; right: 22px; font-size: 28px; cursor: pointer; color: #333; }

/* スマホ対応 */
@media (max-width: 800px) { /* このブレークポイントは680pxと重複する部分があるので注意 */
  .hamburger { display: flex; }
  .site-nav { position: fixed; top:0; right:0; width:70%; height:100%; background:#fffef8; transform:translateX(100%); box-shadow:-3px 0 8px rgba(0,0,0,0.2); padding-top:80px; transition:0.4s; z-index:10000; }
  .site-nav .main-nav { flex-direction: column; align-items: flex-start; padding-left:30px; gap:20px; }
  .nav-toggle:checked ~ .site-nav { transform: translateX(0); }
  .special-intro p {
  font-size: 0.9rem;
  line-height: 1.8;
}
  .nav-toggle:checked ~ .site-nav .close-btn { display:block; }
  .nav-toggle:checked + .hamburger span:nth-child(1) { transform: rotate(45deg) translateY(8px); }
  .nav-toggle:checked + .hamburger span:nth-child(2) { opacity:0; }
  .nav-toggle:checked + .hamburger span:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }

  /* スライダー：スマホは全幅 */
  :root {
    --slider-width: 100%;
    --slider-height: 280px;
  }

  .slider-wrapper {
    margin-top: 100px;
    border-radius: 8px;
    top: 0%;
    }
    
  .shop-card { flex-direction: column; align-items: center; text-align: center; }
  .shop-card__figure { width: 95%; height: auto; }
  .shop-card__title { font-size: 24px; }
  .shop-card__desc { font-size: 15px; }
  .shop-card__tags { justify-content: center; }
}