@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: foodshop_asian
Theme URI: https://wp-cocoon.com/
Author: Asias
Author URI: https://asias9.com/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}


/* 店舗詳細ページ全体 * shop.php/
.shop-detail {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  font-family: "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
}

/* 店名タイトル */
.shop-title {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  border-bottom: 3px solid #f57c00; /* オレンジの下線 */
  padding-bottom: 10px;
}

/* アイキャッチ画像 */
.shop-thumbnail {
  margin: 20px 0;
  text-align: center;
}
.shop-thumbnail img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* 本文 */
.shop-content {
  margin: 20px 0;
  line-height: 1.8;
  font-size: 16px;
}

/* 店舗情報テーブル */
.shop-info {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 15px;
}
.shop-info th, 
.shop-info td {
  border: 1px solid #ddd;
  padding: 12px;
}
.shop-info th {
  background: #f7f7f7;
  text-align: left;
  width: 25%;
  font-weight: bold;
  color: #333;
}
.shop-info td {
  background: #fff;
}


.flag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.flag-icon {
  font-size: 1.8rem;
  line-height: 1;
  display: inline-block;
  transition: transform 0.2s ease;
}

.flag-icon:hover {
  transform: scale(1.2);
}

.shop-info th {
  white-space: nowrap;
}

/* Google Map iframeなどを綺麗に表示 */
.shop-info iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 6px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .shop-detail {
    padding: 15px;
  }
  .shop-title {
    font-size: 1.5em;
  }
  .shop-info th, .shop-info td {
    display: block;
    width: 100%;
  }
  .shop-info th {
    border-bottom: none;
  }
}

/* ========== Hero Slider ========== */
.hero-slider {
  position: relative;
  margin-bottom: 60px;
}
.hero-img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  border-radius: 12px;
}
.hero-caption {
  position: absolute;
  bottom: 20%;
  left: 10%;
  color: #fff;
  background: rgba(0,0,0,0.4);
  padding: 20px 30px;
  border-radius: 8px;
}
.hero-caption h2 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

/* ========== Load More ========== */
.load-more-wrap {
  text-align: center;
  margin-top: 30px;
}
.load-more-btn {
  background: #f45b69;
  color: #fff;
  border: none;
  padding: 10px 24px;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}
.load-more-btn:hover {
  background: #d44155;
}

/* 共通要素 */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.shop-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.shop-card:hover {
  transform: translateY(-4px);
}

.shop-card[style*="hidden"] {
  opacity: 0;
  transform: scale(0.98);
}

.shop-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
}