@charset "utf-8";
html {
  font-size: 100%;
  background-color: #fff;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  margin: 0;
  /* padding: 0; */
}

/* ハンバーガーメニューが開いているときにbodyのスクロールを無効にする */
body.nav-open {
  overflow: hidden;
}

a {
  text-decoration: none; /*リンク貼り付け時の線消し*/
}

/* ヘッダー */
.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 {
  display: inline-block;
  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;
}

body {
  font-size: 16px; /* フォントサイズを調整 */
}

.menu {
    display: block; /* ナビゲーションを縦に配置 */
}

.main {/*親div*/
  position: relative;
  margin-top: 84px; /* ヘッダーの高さ分調整 */
  }

.main-text {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-weight: bold; color: #fff; font-size: 32px;
  background: rgba(255,255,255,0.1); backdrop-filter: blur(5px);
  padding: 18px 26px; border-radius: 10px; text-align: center;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.main-img {
  width: 100%;
  object-fit: cover;
  height: 20rem;
  }

  section {
  margin-bottom: 20px;
  }

  section h2 {
  font-size: 1.8em;/* フォントサイズ */
  font-weight: bold;/* フォント太さ */
  padding-top: .5em;
  padding-bottom: .5em;
  margin-bottom: 2em;
  border-bottom: dashed 2px #238264;/* 線 */
  color: #238264;/* フォント色 */
  text-align: center;
  }

  /* 店舗写真 */
.bl_searchResultBlock img {
  width: 330px;
  object-fit: cover;
  height: 220px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* 店舗カード全体 */
.bl_searchResultBlock_item {
  margin-top: 0 ;
  margin-bottom: 30px;
  padding-left: 81px;
  width: 100%;
  background: #fff;
  border: 1px solid #238264;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
  border-radius: 10px;
  }

/* 店舗カード右側 */
.shopdata{
  padding-left: 50px;
  }

.container {
  width: 100%;  /* 固定幅の代わりに全幅を使用 */
  padding: 10px;
  }

.search-box_label {
  font-weight: bold;
  }

  /* 緑ボタン */
button {
  display: inline-block;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  width: 125px;
  margin-right: 8px;
  margin-bottom: 10px;
  padding: 10px 0rem;
  font-weight: bold;
  font-size: 15px;
  border: 2px solid #238264;
  background: #238264;
  color: #fff;
  border-radius: 100vh;
  transition: 0.5s;
    }

:root {
  --link_color: #9F1783;
  }

  *, ::before, ::after {
  box-sizing: border-box;
  }

  /* 詳しくはこちら、特集はこちら */
.link_wrap {
  padding: 0;
  margin: 20px 0;
  position: relative;
  font-size: 15px;
  }

.link_wrap a{
  margin-right: 10px;
  text-align: center;
  }

/* 詳しくはこちら、特集はこちらデザイン */
.bd_style {
  display: inline-block;
  background-color: #f3f0c0;
  color: #333;
  padding: 14px 21px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  width: 150px;
}

h2{
  font-size: 28px;
}
  
.bd_style:hover {
  background: linear-gradient(90deg, #f6e58d, #ffbe76); /* ヘッダーナビと同じホバー色 */
  color: #444;
  transform: scale(1.05);
  box-shadow: 0 3px 6px rgba(0,0,0,0.15); /* ヘッダーナビと同じホバー影 */
}

input{
  display: none;
}

/* 検索ページ全体 */
.searchpage{
  margin-bottom: 60px;
  }

.searchpage_inner{
  width: 82.9%;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  }

  /* 検索ボックスタイトル */
.searchpage_ttl{
  text-align: center;
  margin: 20px 0;
  }

.searchpage_ttl_main{
  font-size: 27px;
  color: #238264;
  margin-bottom: 15px;
  font-weight: bold;
  font-family:  "Noto Sans JP",sans-serif;
  }

.searchpage_ttl_sub{
  font-size: 16px;
  color: #238264;
  letter-spacing: 0.15em;
  }

  /* 検索ボックス　件数表示 */
.el_searchResult{
  text-align: center;
  color: #238264;
  }

.js_target{
  display: none;
  }

.js_target.js_selected{
  display: block;
  }

/* 検索ボックス項目 */
.selectbox_content{
  display: grid;
  grid-template-columns: repeat(4,1fr);
  row-gap: 5px;
   }

.selectbox label{
  display: inline;
  }

  /* チェックボックス */
.selectbox_check label .el_checkbox{
  position: relative;
  vertical-align: 0.15rem;
  top: 3px;
  width: 14px;
  height: 14px;
  display: inline-block;
  margin-right: 5px;
  border: 1px solid #238264;
    }

/* チェックボックス　押した後 */
.selectbox_check label .el_checkbox:after{
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: 4px;
  right: 4px;
  }

.selectbox_check input[type=checkbox]:checked + label .el_checkbox:after{
  background-color: #238264;
  }

.el_searchResult{
  margin-bottom: 5px;
 }

 /* チェックボックス */
.selectbox{
  border: 1px solid #238264;
  border-radius: 10px;
  padding: 25px;
  box-sizing: border-box;
  margin-bottom: 30px;
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 0.1em;
  width: 100%;  /* 90％から100％に変更 */
  }

.selectbox_wrapper_wrapper{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 30px;
  display: block;
  }

.selectbox_check label{
  cursor: pointer;
  }

.selectbox_ttl{
  width: 185px;
  color: #238264;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
  }

.selectbox_release{
  text-align: center;
  color: #fff;
  background-color: #bdbdbd;
  padding: 15px 0;
  cursor: pointer;
  }

  /* ================================
 ハンバーガーメニュー
================================ */
.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;
}

/* フッター */
.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: 1100px){

  /* 店舗カード */
.bl_searchResultBlock_item{
  margin:auto
  }

.bl_searchResultBlock_item {
  padding: 20px 20px;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 30px;
  }

.selectbox{
  width: 100%;
  }
 }

 /*　タブレット対応  */
@media (max-width: 1000px){
  .shopbutton{
  display: grid;
  grid-template-columns: repeat(2,1fr);
  }

/* 詳細はこちら、特集はこちら */
.link_wrap{
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  justify-items: center;
  }

.selectbox{
  width: 100%;
  }
 }

 /* スマホ対応 */
@media screen and (max-width: 800px){
.selectbox_ttl{
  width: 100%;
  margin-bottom: 20px;
  }
  /* メインビジュアル */
.main-img{
  height: 10rem;
}

.main-text{
  font-size: 20px;
  white-space: nowrap;
  }

.selectbox{
  padding-left: 10px;
  padding-right: 10px;
  width: 100%;
  }

.selectbox label{
  font-size: 14px;
 }
   
.selectbox_content{
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2,1fr);
  row-gap: 5px;
    }
    
.bl_searchResultBlock{
  font-size: 18px;
  border-top: 1px solid #bdbdbd;
  }

.bl_searchResultBlock_item{
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 30px;
  }

.bl_searchResultBlock_item td{
  padding-left: 20px;
  }

.shoptx{
  text-align: left;
  }

.bl_searchResultBlock_item span{
  display: inline-block;
  }

.bd_style span{
  white-space: nowrap;
  }

.selectbox_check{
  display: inline-block;
  margin-right: 25px;
  display: inline-block;
  margin-bottom: 20px;
  }

.selectbox_check:last-child{
  margin-right: 0;
  }

.selectbox_release{
  text-align: center;
  color: #fff;
  background-color: #bdbdbd;
  padding: 15px 0;
  cursor: pointer;
  }

.js_release{
  cursor: pointer;
  }

html {
  scroll-behavior: smooth;
  }

.hamburger {
  display: flex;
  }

.site-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 70%;
  max-width: 300px; 
  height: 100%;
  background: #fffef8;
  transform: translateX(100%);
  box-shadow: -3px 0 8px rgba(0,0,0,0.2);
  padding-top: 80px;
  z-index: 9999; /* ヘッダーより下、ハンバーガーアイコンより下 */
  transition: transform 0.4s ease;
  overflow-y: auto; /* メニューが多い場合にスクロール可能にする */
  }

.site-nav .main-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-left: 30px;
  gap: 20px;
  }

.nav-toggle:checked ~ .site-nav {
    transform: translateX(0);
  }
  
  /* ハンバーガーアイコンのアニメーション */
  .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);
  }

  /* メニューが開いているときにbodyのスクロールを無効にする */
  .nav-toggle:checked ~ body {
    overflow: hidden;
  }

  /* ロゴの調整 */
  .logo__img {
    height: 45px; /* スマホでのロゴ画像を小さく */
  }
  .logo__title {
    height: 30px; /* スマホでのロゴタイトルを小さく */
  }

  .main {
    margin-top: 70px; /* スマホヘッダーの高さに合わせて調整 */
  }

  .bl_searchResultBlock_item table {
  margin: auto;  
  }

  .bl_searchResultBlock_item tr {
      display: flex;
      flex-direction: column; /* 行の要素を縦に並べる */
      align-items: center; /* 中央寄せ */
      margin: auto;
  }

  .bl_searchResultBlock_item td {
      padding-left: 0; /* 左のパディングをリセット */
      text-align: center; /* テキストを中央寄せ */
  }

  .bl_searchResultBlock_item img {
      width: 100%; /* 画像を親要素の幅に合わせる */
      height: auto; /* 高さを自動調整 */
  }

  .bl_searchResultBlock_item h2 {
      font-size: 1.5rem; /* スマホでのh2サイズ調整 */
      margin-top: 10px;
  }

  .bl_searchResultBlock_item p {
      font-size: 0.9rem; /* スマホでのpタグのフォントサイズ調整 */
      margin-bottom: 5px;
      margin-top: 5px;

  }

  button {
      width: auto; /* ボタンの幅を自動調整 */
      padding: 8px 15px; /* パディングを調整 */
      font-size: 1rem; /* フォントサイズを調整 */
      margin-right: 5px;
      margin-top: 15px;
      margin-bottom: 5px;
  }

  .link_wrap {
      margin-top: 15px;
      margin-bottom: 0;
      text-align: center;
      display: grid;
      grid-template-columns: repeat(2,1fr);
      gap: 18px;
  }

  .bd_style{
    width: auto;
  }

  .link_wrap a{
    white-space: nowrap;
    margin-right: 0;
  }
}

/* メニューが開いたときにbodyにoverflow: hidden;を適用する */
#nav-toggle:checked ~ body {
  overflow: hidden;
}