
.individual_top_title_row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bookmark-btn-show {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #bbb;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

.bookmark-btn-show.bookmarked {
  color: #f0a500;
}

.bookmark-btn-show:hover {
  color: #f0a500;
}

  /* トップ部分 */
.individual_top_box {
  max-width: 100%;
  margin:10px;
  margin-bottom: 0px;
  padding: 10px;
}

.individual_top_box ul{
  margin:0px 0px;
  padding:0;
}

.individual_top_box li{
  list-style: none;
  margin:0px;
  padding:0px;
}


.lightbox-trigger {
  cursor: zoom-in;
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}

.share-buttons {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.share-icon svg {
  width: 11px;
  height: 11px;
}

.share-icon:hover {
  opacity: 0.8;
  color: #fff;
}

.share-line     { background-color: #06C755; }
.share-facebook { background-color: #1877F2; }
.share-x        { background-color: #000000; }

@media (max-width: 768px) {
  .share-buttons {
    gap: 5px;
  }

  .share-icon {
    width: 24px;
    height: 24px;
  }

  .share-icon svg {
    width: 12px;
    height: 12px;
  }
}

  /* ミドル部分 */
.individual_middle_box {
  display: flex;
  max-width: 100%;
  background-color: #fff;;
  border-radius: 4px;
  margin:10px;
  margin-bottom: 50px;
  padding: 15px;
}


.individual_img {
  width: 40%;
  height:300px;
  margin-right: 20px;
}

.show_img_none {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #efefef;
  color: #bbb;
  font-size: 0.8rem;
}

.individual_img img {
  width:100%;
  height:100%;
  object-fit: cover;
  object-position: top;
}

.thumbnail_box {
    display: flex;
    justify-content: space-between; /* 両端をメイン画像と合わせる */
    gap: 5px;                       /* 画像間の隙間 */
    margin-top: 10px;
}

.thumb_img {
    /* 3枚の合計 ＋ 隙間2つ分が100%になるよう計算 */
    width: calc((100% - 10px) / 3); 
    aspect-ratio: 4 / 3;
    object-fit: cover;
    cursor: pointer;
}


.individual_description {
    max-width: 50%;
}

.individual_description p {
    margin-top: 0;
    margin-bottom: 0.8em;
    padding-top: 0;
    line-height: 1.6;
}

.individual_description p:last-child {
    margin-bottom: 0;
}

.desc-short,
.desc-full {
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.indivisdual_shop_title {
  border-top: 1px solid #ddd;
  max-width: 100%;
  margin:10px 20px;
  padding-top:20px;
}

.individual_history_description {
   margin:0px 20px;
}

.individual_history_description p {
  margin-top: 0;
  margin-bottom: 0.8em;
  line-height: 1.6;
}

.individual_history_description p:last-child {
  margin-bottom: 0;
}

.individual_shop_box {
  display:flex;
  flex-wrap: wrap;
}


.individual_shop_link {
  text-decoration: none;
  color: inherit;
  padding:0px;
  margin:10px 30px;
  border:1px solid #eeee;
  box-shadow: 2px 2px 4px #bebebe, 
             -2px -2px 4px #ffffff;
  border-radius:4px;
}


.individual_shop_exp_box {
 margin:15px 10px;
 width:400px;
}


.individual_shop_exp_box h4 {
  text-decoration: none;
  color: inherit;
  padding:0px 0px;
  margin:5px;
}


.individual_shop_exp_box ul {
  margin:0px 15px;
  padding:0px;
}


.individual_shop_exp_box li {
  list-style: none;
  margin:0px;
  padding:0px;
}


.individual_shop_link:hover {
  color: #2d2d2d;
}


.individual_shop_recommend_box {
  border-top: 1px solid #ddd;
  margin:10px 0px;
  max-width: 100%;
}


.list_card {
  position: relative;
}

.bookmark-btn,
.culture-bookmark-btn,
.nature-bookmark-btn,
.market-bookmark-btn,
.food-bookmark-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #bbb;
  cursor: pointer;
  padding: 2px 4px;
  line-height: 1;
  z-index: 1;
}

.bookmark-btn.bookmarked,
.culture-bookmark-btn.bookmarked,
.nature-bookmark-btn.bookmarked,
.market-bookmark-btn.bookmarked,
.food-bookmark-btn.bookmarked {
  color: #f0a500;
}

.bookmark-btn:hover,
.culture-bookmark-btn:hover,
.nature-bookmark-btn:hover,
.market-bookmark-btn:hover,
.food-bookmark-btn:hover {
  color: #f0a500;
}

.info_table {
  width: 100%;
  border-collapse: collapse; /* 枠線を1本にまとめる */
  margin-bottom: 20px;
}

/* ラベル列（左側）の調整 */
.info_table th {
  width: 15%;                /* ラベル幅の指定 */
  text-align: left;
  padding: 12px 15px;
  background-color: #f8f9fa; /* 薄いグレーの背景 */
  border: 1px solid #ddd;    /* 枠線の色 */
  white-space: nowrap;       /* 改行させない */
}

/* データ列（右側）の調整 */
.info_table td {
  width: 70%;
  white-space: pre-wrap;
  padding: 12px 15px;
  border: 1px solid #ddd;
  line-height: 1.6;
}

/* 公式サイトリンクの色 */
.individual_official_link {
  color: #2d2d2d;
  text-decoration: underline;
}

/* マップの高さ比率（もしiframeなら） */
.individual_map iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9; /* マップも一定比率に */
  margin-top:20px;
  border: 0;
}

.slider-wrapper {
  display: none;
}
.slider-track {
  display: flex;
  gap: 0;
}
.slider-slide {
  width: 33%;
}
.slider-slide img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* PC では短縮版を非表示・全文を表示 */
.desc-short {
  display: none;
}

.description-toggle {
  display: none;
}

@media (max-width: 768px) {
  .desc-short {
    display: block;
  }

  .desc-full {
    display: none;
  }

  .description-text.expanded .desc-short {
    display: none;
  }

  .description-text.expanded .desc-full {
    display: block;
  }

  .description-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 4px;
    padding: 4px 0;
    background: none;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    font-size: 1.6rem;
    color: #888;
    cursor: pointer;
    transform: rotate(90deg);
  }

  .description-toggle.expanded {
    transform: rotate(-90deg);
  }
}

@media (max-width: 768px) {
  .individual_middle_box {
    flex-direction: column;
  }

  .individual_img {
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 15px;
    overflow: hidden;
    background-color: transparent;
  }

  .show_img_none {
    height: 160px;
  }

  .individual_description {
    max-width: 100%;
  }

  .individual_img .list_img {
    display: none;
  }

  .individual_img .thumbnail_box {
    display: none !important;
  }

  .slider-wrapper {
    display: block;
    overflow: hidden;
    width: 100%;
    position: relative;
  }

  .slider-track {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    transition: transform 0.3s ease;
    will-change: transform;
  }

  .slider-slide {
    min-width: 100%;
    max-width: 100%;
    flex-shrink: 0;
    overflow: hidden;
  }

  .slider-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
  }
  .slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
}

  .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
  }

  .dot.active {
    background-color: #333;
  }

  .info_table,
  .info_table tbody,
  .info_table tr,
  .info_table th,
  .info_table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .post-code,
  .address {
    display: block;
  }

  .info_table {
    border: 1px solid #ddd;
    border-bottom: none;
  }

  .info_table tr {
    margin-bottom: 0;
    border: none;
    border-bottom: 1px solid #ddd;
  }

  .info_table th {
    border: none;
    border-bottom: 1px solid #ddd;
    padding: 8px 12px;
    white-space: normal;
  }

  .info_table td {
    border: none;
    padding: 8px 12px;
  }
}