@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: thaimassage-jp
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;
}


/* =============================================
   massage-jp.com 無料掲載ページ スタイル
   子テーマの style.css に追記してください
   ============================================= */

#mj-listing-page {
  max-width: 680px;
  margin: 40px auto;
  padding: 0 16px 60px;
  font-family: sans-serif;
}

/* タイ語サブテキスト共通 */
.mj-th {
  display: block;
  font-size: 0.8em;
  color: #888;
  margin-top: 2px;
  line-height: 1.5;
}

/* 無料ピル */
.mj-free-pill {
  display: inline-block;
  background: #e6f4ee;
  color: #2e7d52;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
  font-weight: 500;
}

/* ヒーロー */
.mj-hero {
  background: #f8f8f6;
  border: 1px solid #e5e5e0;
  border-radius: 12px;
  padding: 36px 28px;
  text-align: center;
  margin-bottom: 20px;
}
.mj-hero h1 {
  font-size: 22px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.5;
  margin-bottom: 10px;
}
.mj-hero > p {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

/* ステップ */
.mj-steps {
  display: flex;
  border: 1px solid #e5e5e0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 16px;
}
.mj-step {
  flex: 1;
  padding: 14px 10px;
  text-align: center;
  border-right: 1px solid #e5e5e0;
}
.mj-step:last-child { border-right: none; }
.mj-step-num {
  font-size: 10px;
  color: #999;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
}
.mj-step-label {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
}
.mj-step-label .mj-th {
  font-weight: 400;
}

/* メリットリスト */
.mj-benefits {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
  padding: 0;
}
.mj-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  border: 1px solid #e5e5e0;
  border-radius: 8px;
  font-size: 13px;
  color: #1a1a1a;
  line-height: 1.5;
  background: #fff;
}
.mj-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: #e6f4ee;
  color: #2e7d52;
  border-radius: 50%;
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* フォームセクション */
.mj-form-section {
  border: 1px solid #e5e5e0;
  border-radius: 12px;
  padding: 28px 24px;
  background: #fff;
}
.mj-form-title {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.mj-form-title-th {
  font-size: 13px;
  color: #888;
  margin: 0 0 20px;
}

/* CF7フィールド上書き */
.mj-field {
  margin-bottom: 14px;
}
.mj-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.wpcf7-form label,
.mj-form-section label {
  display: block;
  font-size: 12px;
  color: #666;
  margin-bottom: 5px;
}
.mj-label-th {
  color: #aaa;
  font-size: 11px;
}
.mj-required {
  color: #c0392b;
  font-size: 10px;
  margin-left: 4px;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
  width: 100%;
  border: 1px solid #d5d5d0;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: #888;
}
.wpcf7-form input[type="submit"] {
  width: 100%;
  background: #1a1a1a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.wpcf7-form input[type="submit"]:hover {
  background: #333;
}

/* 注意書き */
.mj-note {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 12px;
  line-height: 1.8;
}

/* バリデーションメッセージ */
.wpcf7-not-valid-tip { font-size: 12px; color: #c0392b; }
.wpcf7-response-output {
  border-radius: 6px !important;
  font-size: 13px !important;
  margin-top: 12px !important;
}

/* スマホ対応 */
@media (max-width: 480px) {
  .mj-benefits,
  .mj-field-row {
    grid-template-columns: 1fr;
  }
  .mj-steps {
    flex-direction: column;
  }
  .mj-step {
    border-right: none;
    border-bottom: 1px solid #e5e5e0;
  }
  .mj-step:last-child { border-bottom: none; }
  .mj-hero h1 { font-size: 18px; }
}