/*
Theme Name: Lightning Child
Theme URI:
Template: lightning
Description:
Author:
Tags:
Version: 0.6.1
*/
/* 子テーマ用の追加CSSはここに書きます */

/* =====共通機能===== */

/* フッター内のすべてのコピーライトを非表示 */

/* FV(ファーストビュー)スライダー背景画像 */
.vk_slider_item,
.ltg-slide-item,
.swiper-slide,
.vk_slide_item {
  background-image: url('./assets/images/fv.jpg') !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  min-height: 500px;
  max-width: 90%;
  margin: 0 auto;
}

/* スライダー内の既存画像を非表示 */
.vk_slider_item img,
.ltg-slide-item img,
.swiper-slide img,
.vk_slide_item img {
  opacity: 0 !important;
}

.ltg-slide-text-title{
  font-size: 3vw;
}

/* FV(スライダー) タイトル：mini-content 2だけ少し左寄せ */
.mini-content-container-2.container .ltg-slide-text-title{
  position: relative;
  left: -3vw;
}

@media (max-width: 768px) {
  /* FVスライダー：スマホ対応 */
  .vk_slider_item,
  .ltg-slide-item,
  .swiper-slide,
  .vk_slide_item {
    min-height: 300px;
    max-width: 95%;
  }

  .ltg-slide-text-title{
    font-size: 5vw;
  }
  .mini-content-container-2.container .ltg-slide-text-title{
    left: 0;
  }
  /* ページタイトル左寄せ */
  .page-header-title,h1.page-header-title {
    font-size: 1.5rem;
  }
  .page-header {

    min-height: 5rem;
   
  }
}

.site-footer{
  display: none;
}

.entry-body {
  width: auto;
  align-items: center;
  justify-items: center;
}

  /* ナビゲーションメニューのカスタマイズ */
  @media (min-width: 768px) {
    /* ログイン */
    #menu-item-31 a {
      display: inline-block;
      background-color: #fa7a33;
      color: #fff;
      display: flex;
      justify-content: center;
      padding: 10px 20px;
      margin-right: 10px;
    }
  
    /* 会員登録 */
    #menu-item-32 a {
      display: inline-block;
      border: 2px solid #fa7a33;
      padding: 10px 20px;
      display: flex;
      justify-content: center;
    }

  }
  /* ページタイトル左寄せ */
  .page-header-title {
    text-align: left;
  }
  

  /* 共通ページネーション */
  .custom-pagination {
    text-align: center; /* 中央寄せ */
    margin: 40px 0;
    font-size: 16px;
  }
  
  .custom-pagination .page-num a,
  .custom-pagination .page-num span {
    display: inline-block;
    margin: 0 5px;
    padding: 6px 10px;
    color: #000; /* 黒文字 */
    text-decoration: none;
  }
  
  /* =====ログインページ===== */
  
  #wpmem_login {
    width: 40%;
    margin: 0 auto;
  }

  @media (max-width: 768px) {
    #wpmem_login {
      width: 90%;
    }
  }
  
  .login-header {
    background: #fa7a33;
    color: #fff;
    text-align: center;
    font-size: 24px;
    padding: 40px 0;
    font-weight: bold;
  }
  
  /* 入力欄の共通スタイル */
  #wpmem_login input[type="text"],
  #wpmem_login input[type="password"] {
    width: 100%;
    padding: 12px 16px 12px 45px;
    /* ← 左に余白を作る */
    border: 1px solid #ccc;
    border-radius: 6px;
    margin-bottom: 20px;
    background-repeat: no-repeat;
    background-size: 20px;
    background-position: 15px center;
  }
  
  /* メールアドレス欄用アイコン */
  #wpmem_login input[type="text"] {
    background-image: url("https://x-site.main.jp/vehoma/wp-content/uploads/2025/11/ffec2f9a359a4562a32b90d03aa1e74ae56eca9f.png");
    opacity: 0.7;
  }
  
  /* パスワード欄用アイコン */
  #wpmem_login input[type="password"] {
    background-image: url("https://x-site.main.jp/vehoma/wp-content/uploads/2025/11/cafb6a54dd87dc17a68947a5bbcbac856846ada9.png");
    opacity: 0.7;
  }
  
  /* ログインボタン */
  #wpmem_login input[type="submit"] {
    background-color: #fa7a33;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 0;
    width: 100%;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
  
  /* 「ログイン状態を保存する」を非表示 */
  #wpmem_login input[type="checkbox"] {
    display: none;
  }
  
  /* ===== 検索フォーム（フリーテキスト検索） ===== */
  .search-tabs {
    padding: 20px 0;
    width: 100%;
  }

  .search-form {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 16px;
    margin: 0 auto;
    max-width: 800px;
    padding: 0;
  }

  /*  検索入力欄  */
  .search-input {
    flex: 1;
    padding: 0 20px;
    border: 1px solid #fa7a33;
    background-color: #fef1e9;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    height: 50px;
    color: #000000;
  }

  .search-input:focus {
    outline: none;
    border-color: #fa7a33;
    background-color: #fff;
  }

  .search-input::placeholder {
    color: #999;
  }

  /*  検索ボタン  */
  .search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #fa7a33;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    padding: 0 30px;
    height: 50px;
    transition: background 0.3s ease;
    white-space: nowrap;
  }

  .search-btn:hover {
    background-color: #e96a2d;
  }

  .search-btn .search-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  @media (max-width: 768px) {
    .search-form {
      flex-direction: column;
      gap: 10px;
      padding: 0 15px;
    }
    
    .search-input {
      width: 100%;
      font-size: 14px;
      height: 45px;
    }
    
    .search-btn {
      width: 100%;
      height: 45px;
      font-size: 16px;
    }
  }
  
  /* =====会員登録ページ===== */

  /* 会員情報入力フォーム全体 */
  #wpmem_register_form .reg-row--password,
  #wpmem_register_form .reg-row--password-confirm {
    display: table-row;
  }

  #wpmem_register_form .reg-row--password th,
  #wpmem_register_form .reg-row--password-confirm th {
    padding: 12px 20px;
    text-align: left;
    font-weight: normal;
    color: #333;
    background-color: #f9f9f9;
    border-bottom: 1px solid #e0e0e0;
  }

  #wpmem_register_form .reg-row--password td,
  #wpmem_register_form .reg-row--password-confirm td {
    padding: 12px 20px;
    border-bottom: 1px solid #e0e0e0;
  }

  #wpmem_register_form .reg-row--password input[type="password"],
  #wpmem_register_form .reg-row--password-confirm input[type="password"] {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
  }

  #wpmem_register_form,
  form[action*="/vehoma/registration/"] {
    max-width: 100%; /* フォーム全体の最大幅 */
    width: 90%; /* 画面幅に対する比率 */
    margin: 0 auto; /* 中央寄せ */
  }
  
  @media (max-width: 768px) {
    #wpmem_register_form,
    form[action*="/vehoma/registration/"] {
      width: 100%; /* スマホでは幅を100%に */
    }
  }
  
  /* フォームの見出し */
  #wpmem_register_form legend,
  form[action*="/vehoma/registration/"] legend {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
  }
  
  #wpmem_register_form .register-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    margin: 20px 0;
  }
  
  /* ===== 左側（th） ===== */
  #wpmem_register_form .register-table th {
    width: 30%;
    background: #fef1e9;
    color: #333;
    text-align: center;
    font-weight: bold;
    padding: 10px 14px;
    border-bottom: 1px solid #fef1e9;
    box-sizing: border-box;
  }
  
  /* ===== 右側（td） ===== */
  #wpmem_register_form .register-table td {
    padding: 10px 14px;
    border-bottom: 1px solid #fef1e9;
    box-sizing: border-box;
  }
  
  /* ===== 入力欄（input） ===== */
  #wpmem_register_form .register-table input[type="text"],
  #wpmem_register_form .register-table input[type="number"],
  #wpmem_register_form .register-table input[type="email"],
  #wpmem_register_form .register-table input[type="date"] {
    width: 47%;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 20px;
  }
  
  #wpmem_register_form .reg-row--birth td {
    white-space: nowrap;
  }

  #wpmem_register_form input[name="birth_year"],
  #wpmem_register_form input[name="birth_month"] {
    display: inline-block;
    width: 47%;
    text-align: center;
    margin-right: 4px;
  }

  #wpmem_register_form input[name="birth_month"] {
    margin-left: 4px;
  }
  
  /*利用規約ボックス*/
  #wpmem_register_form .terms-box {
    width: 100%;
    max-height: 180px; /* ← 高さを制限してスクロールできるように */
    overflow-y: scroll; /* 縦方向にスクロール */
    border: 1px solid #ccc;
    padding: 10px 15px;
    background: #fff;
    border-radius: 6px;
    box-sizing: border-box;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    margin: 20px 0;
  }
  
  /* 利用規約に同意する（中央寄せ） */
  #wpmem_register_form .agree-label {
    display: flex; /* 横並び（チェックボックス＋テキスト） */
    justify-content: center; /* 中央寄せ */
    align-items: center; /* 垂直方向も中央揃え */
    gap: 10px; /* チェックボックスと文字の間隔 */
    margin: 20px auto;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    font-size: 23px;
    color: #333;
  }
  
  /* チェックボックス */
  #wpmem_register_form .agree-label input[type="checkbox"] {
    width: 23px;
    height: 23px;
    cursor: pointer;
  }
  
  /* 新規会員登録するボタン */
  #wpmem_register_form #register_button {
    display: block;
    width: 365px;
    height: 70px;
    margin: 40px auto 0;
    background-color: #fa7a33;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 100%;
    cursor: pointer;
  }

  /* ===== 会員登録：スマホ最適化 ===== */
  @media (max-width: 768px) {
    #wpmem_register_form legend {
      font-size: 20px;
      margin: 16px 0;
    }

    #wpmem_register_form .register-table {
      margin: 16px 0;
    }

    #wpmem_register_form .register-table,
    #wpmem_register_form .register-table tbody,
    #wpmem_register_form .register-table tr,
    #wpmem_register_form .register-table th,
    #wpmem_register_form .register-table td {
      display: block;
      width: 100%;
    }

    #wpmem_register_form .register-table th {
      text-align: left;
      padding: 10px 12px;
    }

    #wpmem_register_form .register-table td {
      white-space: normal;
      padding: 10px 12px;
    }

    #wpmem_register_form .register-table input[type="text"],
    #wpmem_register_form .register-table input[type="number"],
    #wpmem_register_form .register-table input[type="email"],
    #wpmem_register_form .register-table input[type="date"] {
      width: 100%;
    }

    #wpmem_register_form .register-table td input[name="birth_year"] {
      display: inline-block;
      width: calc(45% - 18px);
      margin-right: 5px;
    }
    #wpmem_register_form .register-table td input[name="birth_month"] {
      display: inline-block;
      width: calc(45% - 18px);
      margin-right: 6px;
      margin-left: 5px;
    }

    #wpmem_register_form .terms-box {
      max-height: 200px;
      padding: 12px;
      margin: 16px 0;
    }

    #wpmem_register_form .agree-label {
      font-size: 16px;
      margin: 16px auto;
      gap: 8px;
    }

    #wpmem_register_form .agree-label input[type="checkbox"] {
      width: 18px;
      height: 18px;
    }

    #wpmem_register_form #register_button {
      width: 100%;
      max-width: 365px;
      height: 56px;
      font-size: 18px;
      margin-top: 24px;
    }
  }
  
  /* =====会員登録ページ終了===== */

  /* ===== 検索結果ページ ===== */
  .search-results-container {
    margin: 0 auto;
    padding: 0;
  }

  .search-results-header {
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 40px 30px 0;
    text-align: center;
  }

  .search-results-header h1 {
    font-size: 1.8rem;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
  }

  .search-results-summary {
    font-size: 1rem;
    color: #666;
    margin: 0;
  }

  .search-results-section {
    margin-bottom: 60px;
    padding: 20px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
  }

  .search-results-section:nth-child(even) {
    /* background: #fef1e9; */
  }

  .search-results-section:nth-child(odd) {
    background: #fff;
  }

  .search-results-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
  }

  .search-results-section-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    padding: 0 0 10px 0;
    border-top: 0;
    border-bottom: 2px solid #fa7a33;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-icon {
    display: none;
  }

  .result-count {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
    margin-left: auto;
  }

  .no-results {
    text-align: center;
    color: #999;
    font-size: 1.1rem;
    padding: 40px 20px;
    /* background-color: #f9f9f9; */
    border-radius: 8px;
  }

  /* セラピストカード（検索結果用） */
  .search-results-section-inner .therapist-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .search-results-section-inner .therapist-card {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    width: 100%;
    height: auto;
    padding: 20px;
    transition: box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
  }

  .search-results-section-inner .therapist-card:hover {
    transform: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .search-results-section-inner .therapist-card-image {
    flex-shrink: 0;
    margin-right: 25px;
    width: 140px;
    height: 140px;
    border-radius: 4px;
    overflow: hidden;
  }

  .search-results-section-inner .therapist-card img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 4px;
  }

  .search-results-section-inner .therapist-info {
    flex: 1;
    padding: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .search-results-section-inner .therapist-info-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 0;
  }

  .search-results-section-inner .therapist-info-header p {
    font-size: 0.85rem;
    margin: 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .search-results-section-inner .therapist-info-header svg {
    width: 14px;
    height: 14px;
    fill: #666;
  }

  .search-results-section-inner .therapist-info-name {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
  }

  .search-results-section-inner .therapist-info-name p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    color: #333;
  }

  .search-results-section-inner .therapist-info-name span {
    font-weight: normal;
    color: #666;
    margin-right: 8px;
  }

  .search-results-section-inner .therapist-info-comment {
    margin-top: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
  }

  .search-results-section-inner .therapist-info-comment p:first-child {
    font-weight: bold;
    font-size: 0.9rem;
    margin: 0 0 6px 0;
    color: #333;
  }

  .search-results-section-inner .therapist-info-comment p:last-child {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #666;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* 店舗カード（検索結果用） */
  .search-results-section-inner .store-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .search-results-section-inner .store-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }

  .search-results-section-inner .store-card-header {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
  }

  .search-results-section-inner .store-title {
    font-size: 1rem;
    margin: 0 0 5px 0;
  }

  .search-results-section-inner .store-address {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
  }

  .search-results-section-inner .store-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
  }

  .search-results-section-inner .store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .search-results-section-inner .store-footer {
    padding: 15px;
    text-align: center;
  }

  .search-results-section-inner .store-link {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
  }

  @media (max-width: 768px) {
    .search-results-container {
      padding: 20px 15px;
    }

    .search-results-header h1 {
      font-size: 1.3rem;
    }

    .search-results-section {
      margin-bottom: 40px;
    }

    .search-results-section-title {
      font-size: 1.1rem;
      padding: 0 0 8px 0;
    }

    .result-count {
      font-size: 0.9rem;
    }

    /* セラピストカード：スマホ */
    .search-results-section-inner .therapist-card {
      flex-direction: column;
      padding: 15px;
    }

    .search-results-section-inner .therapist-card-image {
      width: 100%;
      height: auto;
      margin-right: 0;
      margin-bottom: 15px;
    }

    .search-results-section-inner .therapist-card img {
      width: 100%;
      height: auto;
      max-height: 250px;
    }

    /* 店舗カード：スマホ */
    .search-results-section-inner .store-grid {
      grid-template-columns: 1fr;
    }

    .search-results-section-inner .store-image {
      height: 180px;
    }

    .search-results-section {
      padding: 20px 0;
    }

    .search-results-section-inner {
      padding: 0 15px;
    }
  }
  
  /* ===== カスタムフッター ===== */
  .custom-footer {
    background: #fef1e9;
    width: 100%;
    min-height: 150px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .footer-inner {
    width: 90%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  /* === 左側：ロゴ === */
  .footer-left .footer-logo {
    font-weight: bold;
    font-size: 20px;
    color: #333;
    margin: 0;
    display: inline-block;
  }
  
  .footer-logo-img {
    height: 40px;
    width: auto;
    vertical-align: middle;
  }
  
  /* === 中央：メニュー === */
  .footer-center .footer-menu {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-center .footer-menu a {
    text-decoration: none;
    color: #fa7a33;
    font-weight: 500;
  }
  
  /* === 右側：お問い合わせボタン === */
  .footer-right .footer-btn {
    display: inline-block;
    background: #fff;
    color: #fa7a33;
    border-radius: 4px;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* ===== スマホ対応 ===== */
  @media (max-width: 768px) {
    .custom-footer {
      height: auto;
      /* 固定高さをやめて可変に */
      padding: 20px 0;
    }
  
    .footer-inner {
      flex-direction: column;
      /* 縦並びに */
      text-align: center;
      gap: 16px;
    }
  
    .footer-center .footer-menu {
      flex-direction: column;
      /* メニューも縦並び */
      gap: 8px;
    }
  
    .footer-right .footer-btn {
      width: 100%;
      max-width: 280px;
    }
  }
  
  /* ===== カスタムフッターここまで ===== */
  
  /* ===== お問い合わせフォーム ===== */
  
  .wpcf7-form {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
  }
  .wpcf7-form h5 {
    font-size: 20px;
    text-align: center;
  }
  
  /* ===== 入力欄共通スタイル ===== */
  .wpcf7-form input[type="text"],
  .wpcf7-form input[type="email"],
  .wpcf7-form input[type="tel"],
  .wpcf7-form input[type="number"],
  .wpcf7-form textarea {
    width: 100%;
    background-color: #fef1e9;
    resize: none;
  }
  
  /* 姓＋名、セイ＋メイ を横並び */
  .name-row,
  .kana-row {
    width: 100%;
    display: flex;
    gap: 20px; /* フィールドの間隔 */
    margin-bottom: 16px;
  }
  
  /* 送信ボタン */
  .wpcf7-form input[type="submit"] {
    width: 40%;
    background-color: #fa7a33;
    color: #fff;
    text-align: center;
    display: block;
    margin: auto;
  }
  
  /* ===== セラピスト一覧全体 ===== */
  .therapist-grid {
    display: flex;
    flex-direction: column; /* 縦に並べる */
    align-items: center; /* 中央寄せ */
    gap: 20px; /* カード同士の間隔 */
    margin: 40px auto;
    max-width: 1600px; /* コンテナ幅を広げて名前・店舗名の改行を防ぐ */
    width: 95%; /* 画面幅の95%を使用 */
  }
  
  /*  各セラピストカード  */
  .therapist-card {
    display: flex;
    align-items: center; /* 写真とテキストを縦中央に */
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    width: 100%; /* コンテナ幅いっぱい */
    height: 324px; /* デザイン通りの高さ */
    padding: 20px 40px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
  }
  
  .therapist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

.therapist-info-header {
  display: block;
  gap: 5px;
}
.therapist-info-header p {
  font-size: 1.1rem;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 15px;
}
.therapist-info-name {
  display: flex;
  gap: 30px;
}
.therapist-info-name span {
  margin-right: 10px;
  font-weight: bold;
}
/*  左の写真部分  */
.therapist-card-image {
  flex-shrink: 0;
  margin-right: 40px;
}

.therapist-card img {
  height: 250px; /* 固定高さで安定 */
  width: 400px; /* 固定幅で安定 */
  object-fit: cover;
  border-radius: 8px;
  display: block;
  /* border: 1px solid #000; */
}
/*  テキスト部分  */
.therapist-card h2 {
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 10px;
}

.therapist-card p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
}

.therapist-info {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 10px 20px;
  position: relative;
}

.therapist-info-header p,
.therapist-info-name {
  white-space: nowrap;
}

.therapist-info h2 {
  border-bottom: 2px solid var(--vk-color-primary);
  border-top: 1px solid var(--vk-color-border-hr);
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.therapist-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  flex: 1;
  margin-bottom: 15px;
}

.therapist-review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background: #fa7a33;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s;
  align-self: flex-end;
  margin-top: auto;
}

.therapist-review-btn:hover {
  background: #e96a2d;
  color: #fff;
  text-decoration: none;
}


  @media (max-width: 768px) {
    
    /* ===== セラピスト一覧全体 ===== */
    .therapist-grid {
      display: flex;
      flex-direction: column; /* 縦に並べる */
      align-items: center; /* 中央寄せ */
      gap: 20px; /* カード同士の間隔 */
      margin: 40px auto;
      max-width: 100%; /* スマホは全幅 */
    }
    
    /*  各セラピストカード  */
    .therapist-card {
      display: block;
      background-color: #fff;
      border-radius: 12px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
      width: 100%; /* コンテナ幅いっぱい */
      height: auto; /* スマホは内容に合わせる */
      padding: 16px;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      box-sizing: border-box;
    }
    
    /*  左の写真部分  */
    .therapist-card img {
      width: 100%;
      max-width: 100%;
      height: auto;
      object-fit: cover;
      border-radius: 8px;
      display: block;
      margin: 0 0 12px;
      /* border: 1px solid #000; */
    }
    /*  テキスト部分  */
    .therapist-card h2 {
      font-size: 1.2rem;
      color: #333;
      margin-bottom: 10px;
      overflow-wrap: anywhere;
    }
    
    .therapist-card p {
      font-size: 0.95rem;
      color: #666;
      line-height: 1.6;
      margin: 0 0 15px;
      overflow-wrap: anywhere;
      flex: 1;
    }

    .therapist-info {
      height: auto;
      padding: 0;
      box-sizing: border-box;
      display: flex;
      flex-direction: column;
    }

    .therapist-review-btn {
      width: 100%;
      margin-top: auto;
    }
  }
  /* ===== ギャラリー全体（親コンテナ） ===== */
  .gallery-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  /*  各写真カード  */
  .gallery-item {
    width: calc((100% - 40px) / 3);
    min-width: 300px;
    max-width: 380px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background-color: #fff;
    padding: 10px;
    position: relative;
    box-sizing: border-box;
  }

  .gallery-item a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
  }

  .gallery-item img {
    width: 100%;
    height: auto;
    border: 1px solid #000;
    display: block;
  }

  /* ギャラリーアイテムのラベル（店舗・セラピスト・ギャラリー） */
  .gallery-item-label {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(250, 122, 51, 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
  }
  
  /* スマホ：写真の横幅をコンテナに合わせる */
  @media (max-width: 768px) {
    .gallery-grid {
      width: 100%;
      max-width: 100%;
      max-height: none;
      padding: 0 16px;
      box-sizing: border-box;
    }

    .gallery-item {
      width: calc((100% - 20px) / 2);
      margin: 0;
      display: block;
      box-sizing: border-box;
    }

    .gallery-item img {
      width: 100%;
      height: auto;
      display: block;
    }

    .gallery-item-label {
      font-size: 10px;
      padding: 4px 8px;
      top: 5px;
      left: 5px;
    }
  }

  
  /* ===== ギャラリーここまで ===== */
  
  /* ===== 店舗情報ショートコード（地図＋47都道府県）===== */
  .store-map-section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    position: relative;
  }

  /* スマホ用地図とモーダルは非表示 */
  .store-map-mobile-wrapper {
    display: none;
  }

  /* PC用は表示 */
  .store-map-pc,
  .prefecture-blocks-pc {
    display: block;
  }

  /* 地域ボタン（スマホ用） */
  .region-buttons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .region-btn {
    position: absolute;
    background-color: #fef1e9;
    color: rgba(243, 108, 33, 1);
    border: 0px solid #fff;
    padding: 6px 10px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 3px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    white-space: nowrap;
  }

  .store-map-container {
    position: relative; /* 地方ブロックを地図の上に配置できるようにする */
    width: 80%;
    max-width: 900px;
  }
  
  .japan-map {
    width: 100%;
    height: auto;
    display: block;
  }

  
  /*  各地方ブロック  */
  .region {
    position: absolute;
    background: #fef1e9;
    padding: 4px 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    font-size: 14px;
  }
  
  .region h3 {
    margin: 0 0 4px;
    font-size: 16px;
    color: #d35400;
    text-align: center;
  }
  
  .region ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    row-gap: 2px; /* 縦の間隔を最小限に */
    column-gap: 6px; /* 横は少し余裕を残す */
  }
  
  .region li {
    line-height: 1.2;
    font-size: 13px;
  }
  
  .region-tohoku ul,
  .region-kanto ul,
  .region-shikoku ul,
  .region-kansai ul,
  .region-kyushu ul {
    grid-template-columns: repeat(2, auto); /* 2列表示 */
  }
  
  .region-chubu ul,
  .region-chugoku ul {
    grid-template-columns: repeat(3, auto); /* 3列表示 */
  }
  
  .region a {
    display: inline-flex; /* 横中央・縦中央そろえ */
    align-items: center;
    justify-content: center;
    width: 70px; /* ← 統一サイズ（幅） */
    height: 30px; /* ← 統一サイズ（高さ） */
    background-color: #fff; /* 白背景 */
    color: #333; /* 文字色 */
    text-decoration: none;
    border: 1px solid #ddd; /* 白枠を明確に */
    text-align: center;
    font-size: 14px;
  }
  
  /*  地方ごとの位置調整 */
  .region-hokkaido {
    top: 5%;
    right: 5%;
  }
  
  .region-tohoku {
    top: 35%;
    right: 5%;
  }
  
  .region-kanto {
    top: 75%;
    right: 15%;
  }
  
  .region-chubu {
    top: 25%;
    right: 33%;
  }
  
  .region-kansai {
    top: 80%;
    right: 35%;
  }
  .region-shikoku {
    bottom: 0%;
    right: 55%;
  }
  .region-chugoku {
    bottom: 40%;
    left: 20%;
  }
  
  .region-kyushu {
    bottom: 20%;
    left: 3%;
  }
  
  .region-okinawa {
    bottom: -5%;
    left: 5%;
  }

  
  /* モーダル（スマホ用） */
  .prefecture-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
  }

  .prefecture-modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
  }

  .prefecture-modal-header {
    background-color: #f36c21;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .prefecture-modal-header h3 {
    margin: 0;
    font-size: 24px;
  }

  .prefecture-modal-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
  }

  .prefecture-modal-body {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-height: 60vh;
    overflow-y: auto;
  }

  .prefecture-modal-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    text-align: center;
    transition: background-color 0.3s;
  }

  .prefecture-modal-item:hover {
    background-color: #fef1e9;
  }

  @media (max-width: 768px) {
    
    .main-section{
      margin-bottom: 9rem;
    }

    /* PC用を非表示 */
    .store-map-pc,
    .prefecture-blocks-pc {
      display: none;
    }

    /* スマホ用地図を表示 */
    .store-map-mobile-wrapper {
      display: block;
      position: relative;
      width: 100%;
    }

    .store-map-mobile-img {
      width: 100%;
      height: auto;
      display: block;
    }

    /* 地域ボタンの配置（スマホ用） */
    .region-btn-hokkaido {
      top: 0%;
      right: 0%;
    }

    .region-btn-tohoku {
      top: 35%;
      right: 5%;
    }

    .region-btn-kanto {
      top: 66%;
      right: 12%;
    }

    .region-btn-chubu {
      top: 35%;
      left: 52%;
    }

    .region-btn-kansai {
      bottom: 1%;
      left: 48%;
    }

    .region-btn-chugoku {
      top: 45%;
      left: 25%;
    }

    .region-btn-shikoku {
      bottom: 1%;
      left: 29%;
    }

    .region-btn-kyushu {
      bottom: 20%;
      left: 5%;
    }

    .region-btn-okinawa {
      bottom: 0%;
      left: 5%;
    }

    /*  各地方ブロック  */
    .region {
      position: absolute;
      background: #fef1e9;
      padding: 0 0 0 0;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
      font-size: 14px;
    }
    
    .region h3 {
      margin: 0 0 4px;
      font-size: 16px;
      color: #d35400;
      text-align: center;
    }
    
    .region ul {
      list-style: none;
      padding: 0;
      margin: 0;
      display: grid;
      row-gap: 1px; /* 縦の間隔を最小限に */
      column-gap: 1px; /* 横は少し余裕を残す */
    }
    
    .region li {
      margin: 2px;
    }
    
    .region-tohoku ul,
    .region-kanto ul,
    .region-chubu ul,
    .region-chugoku ul,
    .region-kansai ul,
    .region-kyushu ul {
      grid-template-columns: repeat(2, auto); /* 2列表示 */
    }
    .region-shikoku ul
    {
      grid-template-columns: repeat(1, auto); /* 3列表示 */
    }
    
    .region a {
      display: inline-flex; /* 横中央・縦中央そろえ */
      align-items: center;
      justify-content: center;
      width: 40px; /* ← 統一サイズ（幅） */
      height: 30px; /* ← 統一サイズ（高さ） */
      background-color: #fff; /* 白背景 */
      color: #333; /* 文字色 */
      text-decoration: none;
      border: 1px solid #ddd; /* 白枠を明確に */
      text-align: center;
      font-size: 10px;
    }
    
    /*  地方ごとの位置調整 */
    .region-hokkaido {
      top: 0%;
      right: 0%;
    }
    
    .region-tohoku {
      top: 36%;
      right: -3%;
    }
    
    .region-kanto {
      top: 80%;
      right: 4%;
    }
    
    .region-chubu {
      top: 79%;
      right: 32%;
    }
    
    .region-kansai {
      top: 86%;
      right: 61%;
    }
    .region-shikoku {
      bottom: 50%;
      right: 34%;
    }
    .region-chugoku {
      bottom: 43%;
      left: 26%;
    }
    
    .region-kyushu {
      bottom: 36%;
      left: -2%;
    }
    
    .region-okinawa {
      bottom: -5%;
      left: -2%;
    }
  }
  
  /* ===== 店舗情報_2：一覧ページ ===== */
  .store-list-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
  }
  
  .store-list-container .store-list-heading {
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 30px;
    border-left: 13px solid #f36c21;
    padding-left: 10px;
  }
  
  /*  一覧ページ 2列グリッド  */
  .store-list-container .store-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    justify-content: center;
  }
  
  /*  一覧ページ 各店舗カード  */
  .store-list-container .store-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
  }
  
  /*  一覧ページ 上段：店舗名・住所  */
  .store-list-container .store-card-header {
    text-align: center;
    margin-bottom: 15px;
  }
  
  .store-list-container .store-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 6px;
  }
  
  .store-list-container .store-address {
    font-size: 0.95rem;
    color: #777;
  }
  
  /*  一覧ページ 中央：写真  */
  .store-list-container .store-image {
    text-align: center;
  }
  
  .store-list-container .store-image img {
    display: inline-block;
    width: 400px;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 15px;
  }
  
  /*  一覧ページ 下段：ボタン  */
  .store-list-container .store-footer {
    text-align: center;
  }

  .store-footer-therapist-detail {
    text-align: center;
  }
  
  .store-list-container .store-link {
    display: inline-block;
    color: #333;
    font-weight: bold;
    text-decoration: none;
    font-size: 1rem;
  }

  @media (max-width: 768px) {
    .store-list-container .store-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }

    .store-list-container .store-image img {
      width: 100%;
      max-width: 100%;
      height: auto;
    }

    .store-list-container .store-title {
      font-size: 1.2rem;
    }

    .store-list-container .store-address {
      font-size: 0.9rem;
    }
  }
  
  /* ======================
  ===== 店舗情報_3：詳細ページ ===== 
  ====================== */
  .store-single {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
    color: #333;
  }
  
  /* 見出し（店舗名） */
  .store-single .store-title {
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 20px;
    border-left: 5px solid #f36c21;
    padding-left: 12px;
  }
  
  /* 画像 */
  .store-single .store-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: #ddd;
    overflow: hidden;
    margin-bottom: 20px;
  }
  
  .store-single .store-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  /* 本文（紹介文など） */
  .store-single .store-content {
    line-height: 1.9;
    font-size: 14px;
    margin-bottom: 30px;
  }
  
  /* 店舗情報 */
  .store-single .store-details-wrap {
    margin-bottom: 40px;
    background: #fef1e9;
    padding: 20px;
    border-radius: 8px;
  }

  .store-details-title {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #f36c21;
    border-top: 0px;
  }

  .store-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px 30px;
  }

  .store-detail-item {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.6;
  }

  .detail-label {
    font-weight: normal;
    white-space: nowrap;
    margin-right: 8px;
  }

  .detail-value {
    flex: 1;
    word-break: break-word;
  }

  .detail-value a {
    color: #333;
    text-decoration: none;
  }

  .detail-value a:hover {
    text-decoration: underline;
  }
  
  /* 口コミセクション */
  .store-reviews-wrap {
    margin-top: 40px;
  }
  
  .store-reviews-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 20px;
    border-left: 5px solid #f36c21;
    padding-left: 12px;
  }
  
  .store-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .store-review-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .review-card-header {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .reviewer-name {
    font-weight: bold;
  }
  
  .review-label {
    color: #666;
  }
  
  .store-review-card .review-card-image {
    width: calc(100% - 30px);
    height: 120px;
    margin: 0 15px;
    background: #ddd;
    overflow: hidden;
  }
  
  .store-review-card .review-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .store-review-card .review-card-image .no-image {
    width: 100%;
    height: 100%;
    background: #ddd;
  }
  
  .review-card-body {
    padding: 15px;
  }
  
  .review-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 8px;
  }
  
  .review-rating .star {
    width: 16px;
    height: 16px;
    background: #ddd;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  }
  
  .review-rating .star.filled {
    background: #fa7a33;
  }
  
  .rating-value {
    margin-left: 8px;
    font-size: 14px;
    font-weight: bold;
  }
  
  .review-poster {
    font-size: 12px;
    color: #666;
    margin: 0 0 8px;
  }
  
  .review-text {
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    margin: 0 0 15px;
  }
  
  .review-more-btn {
    display: inline-block;
    padding: 8px 20px;
    background: #fa7a33;
    color: #fff;
    font-size: 13px;
    border-radius: 4px;
    text-decoration: none;
  }
  
  .review-more-btn:hover {
    background: #e96a2d;
    color: #fff;
  }
  
  .no-reviews {
    grid-column: 1 / -1;
    text-align: center;
    color: #666;
    padding: 40px;
  }
  
  .store-reviews-more {
    text-align: center;
    margin-top: 30px;
  }
  
  .store-reviews-more .btn-orange {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: #fa7a33;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
  }
  
  .store-reviews-more .btn-orange:hover {
    background: #e96a2d;
    color: #fff;
  }
  
  @media (max-width: 768px) {
    .store-single {
      padding: 20px 15px;
    }

    .store-details-wrap {
      padding: 15px;
    }

    .store-details-title {
      font-size: 1.1em;
      margin-bottom: 15px;
    }

    .store-details-grid {
      grid-template-columns: 1fr;
      gap: 12px;
    }

    .store-detail-item {
      flex-direction: column;
      gap: 4px;
    }

    .detail-label {
      font-weight: bold;
      margin-right: 0;
    }
    
    .store-reviews-grid {
      grid-template-columns: 1fr;
    }
  }
  
  /* =============================
   新着の口コミ一覧ページ
  ============================= */
  .review-list-container {
    width: 80%;
    margin: 0 auto;
    padding: 30px 20px;
  }

  .review-list-container .search-tabs {
    margin-bottom: 30px;
  }

  .review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .review-list-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
  }

  .review-list-header {
    padding: 20px 25px;
    font-size: 20px;
    border-bottom: 1px solid #eee;
  }

  .review-list-header .therapist-name {
    font-weight: bold;
  }

  .review-list-header .review-label {
    color: #666;
  }

  .review-list-body {
    display: flex;
    padding: 25px;
    gap: 30px;
  }

  .review-list-image {
    flex: 0 0 280px;
    height: 210px;
    background: #ddd;
    overflow: hidden;
    border-radius: 8px;
  }

  .review-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .review-list-image .no-image {
    width: 100%;
    height: 100%;
    background: #ddd;
  }

  .review-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
  }

  .review-list-content .review-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 15px;
  }

  .review-list-content .review-rating .star {
    width: 22px;
    height: 22px;
    background: #ddd;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  }

  .review-list-content .review-rating .star.filled {
    background: #fa7a33;
  }

  .review-list-content .rating-value {
    margin-left: 10px;
    font-weight: bold;
    font-size: 18px;
  }

  .review-list-content .review-poster {
    font-size: 16px;
    color: #666;
    margin-left: 15px;
  }

  .review-list-content .review-date {
    font-size: 16px;
    color: #666;
    margin-bottom: 15px;
  }

  .review-list-content .review-text {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    margin: 0 0 15px;
    flex: 1;
  }

  .review-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 30px;
    background: #fa7a33;
    color: #fff;
    font-size: 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    align-self: flex-end;
    margin-top: auto;
  }

  .review-contact-btn:hover {
    background: #e96a2d;
    color: #fff;
  }

  .review-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
  }

  .review-pagination .page-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
  }

  .review-pagination .page-num.active {
    background: #fa7a33;
    border-color: #fa7a33;
    color: #fff;
  }

  .review-pagination .page-dots {
    color: #666;
  }

  .review-pagination .page-next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    border-radius: 4px;
  }

  .review-pagination .page-next:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 6px solid #333;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
  }

  /* レスポンシブ対応 */
  @media (max-width: 768px) {
    .review-list-container {
      width: 95%;
      padding: 20px 15px;
    }

    .review-list-header {
      padding: 15px 20px;
      font-size: 18px;
    }

    .review-list-body {
      flex-direction: column;
      padding: 20px;
      gap: 20px;
    }

    .review-list-image {
      flex: none;
      width: 100%;
      height: 250px;
    }

    .review-list-content .review-rating {
      flex-wrap: wrap;
    }

    .review-list-content .review-rating .star {
      width: 20px;
      height: 20px;
    }

    .review-list-content .rating-value {
      font-size: 16px;
    }

    .review-list-content .review-poster {
      font-size: 15px;
      margin-left: 10px;
    }

    .review-list-content .review-date {
      font-size: 15px;
    }

    .review-list-content .review-text {
      font-size: 15px;
    }

    .review-contact-btn {
      width: 100%;
      justify-content: center;
      padding: 12px 20px;
      font-size: 15px;
    }
  }

  @media (max-width: 768px) {
    .review-list-container {
      padding: 20px 15px;
    }

    .review-list-body {
      flex-direction: column;
    }

    .review-list-image {
      flex: none;
      width: 100%;
      height: 180px;
    }
  }

  /* =============================
   新着の口コミ_3ステップ表示
  ============================= */
  .step {
    list-style-type: none;
    display: table;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
  }
  .step li {
    display: table-cell;
    position: relative;
    background: #FEF1E9;
    padding: 1em 0.5em 1em 2em;
    color: #ff6600;
    width: 33.33%;
  }
  .step li:last-child {
    padding-right: 1em;
  }
  .step li:last-child:before,
  .step li:last-child:after {
    display: none;
  }
  .step li:before,
  .step li:after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    margin: auto;
  }
  .step li:before {
    top: -15px;
    right: -1em;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    border-width: 40px 0 40px 1em;
    z-index: 10;
  }
  .step li:after {
    top: -15px;
    right: -.8em;
    border-style: solid;
    border-color: transparent transparent transparent #FEF1E9;
    border-width: 40px 0 40px 1em;
    z-index: 10;
  }
  .step li.is-current {
    background: #ff6600;
    font-weight: bold;
    color: #fff;
  }
  .step li.is-current:after {
    border-color: transparent transparent transparent #ff6600;
  }
  
  /* Site Reviews の送信ボタンを強制非表示 */
  form.store-review-form button[type="submit"] {
      display: none !important;
  }
  
  
  /* =====================
     VEHOMA ホーム共通設定
  ===================== */
  .vehoma-home-template {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 0 20px;
  }

  .home-therapist-section,
  .home-gallery-section,
  .home-review-section {
    margin-bottom: 60px;
    padding: 20px 20px 20px 20px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
  }

  .home-therapist-section,
  .home-review-section {
    background: #fef1e9;
  }

  .home-gallery-section {
    background: #fff;
  }

  .home-therapist-section .home-therapist-section-title,
  .home-therapist-section .home-therapist-grid,
  .home-therapist-section .home-more-btn-therapist,
  .home-gallery-section .home-gallery-section-title,
  .home-gallery-section .home-gallery-grid,
  .home-gallery-section .home-more-btn-gallery,
  .home-review-section .home-review-section-title,
  .home-review-section .home-review-slider-wrap,
  .home-review-section .home-more-btn-review {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
  }

  .home-contact-section {
    margin-bottom: 0;
    text-align: center;
  }

  /* =====================
     HOME 検索セクション
  ===================== */
  .home-search-section {
    margin: 40px 0 60px;
    padding: 0 20px;
  }

  @media (max-width: 768px) {
    .home-search-section {
      margin: 20px 0 40px;
      padding: 0 15px;
    }
  }
  
  
  
  .home-therapist-section-title,
  .home-gallery-section-title,
  .home-review-section-title {
    text-align: left;
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 30px;
    border-left: 13px solid #f36c21;
    padding-left: 10px;
  }
  
  
  .home-gallery-grid,
  .home-therapist-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    justify-content: center;
  }
  
  .home-gallery-item,
  .home-therapist-card {
    position: relative;
    max-width: 280px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
  }

  .home-therapist-card:hover {
    transform: scale(1.03);
    opacity: 0.9;
  }

  .home-therapist-card .simple-therapist-link {
    display: block;
    text-decoration: none;
  }

  .home-therapist-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
  }
  
  .home-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
  }
  
  .home-gallery-item:hover {
    transform: scale(1.03);
    opacity: 0.9;
  }
  
  .home-more-btn-therapist .btn ,
  .home-more-btn-review .btn {
    display: inline-block;
    border-radius: 6px;
    padding: 10px 24px;
    background: #fff;
    color: #fa7a33;
    margin-top: 20px;
  }

  .home-more-btn-therapist .btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
  }
  
  .home-more-btn-gallery .btn{
    display: inline-flex;
    border-radius: 6px;
    padding: 10px 48px 10px 24px;
    background-color: #fa7a33;
    width: 300px;
    color: #fff;
    margin-top: 20px;
  }

  /* スマホ版：もっと見るボタン */
  .home-more-btn-therapist,
  .home-more-btn-gallery,
  .home-more-btn-review {
    text-align: center;
    margin-top: 20px;
  }

  .home-more-btn-therapist .btn,
  .home-more-btn-review .btn {
    display: inline-flex;
    width: 300px;
    align-items: center;
    position: relative;
    justify-content: center;
    border: 1px solid #fa7a33;
  }

  .home-more-btn-review .btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
  }


  .home-more-btn-gallery .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-right: 44px;
  }
  .home-more-btn-gallery .btn::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 18px;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: translateY(-50%) rotate(45deg);
  }

  @media (max-width: 768px) {
    /* セクション共通 */
    .home-therapist-section,
    .home-gallery-section,
    .home-review-section {
      margin-bottom: 20px;
      padding: 20px 20px 20px 20px;
      border-radius: 0;
      width: 100vw;
      margin-left: calc(-50vw + 50%);
    }

    .home-therapist-section {
      background: #fef1e9;
    }

    .home-gallery-section {
      background: #fff;
    }

    .home-review-section {
      background: #fef1e9;
    }

    .home-therapist-section .home-therapist-section-title,
    .home-therapist-section .home-therapist-grid,
    .home-therapist-section .home-more-btn-therapist,
    .home-gallery-section .home-gallery-section-title,
    .home-gallery-section .home-gallery-grid,
    .home-gallery-section .home-more-btn-gallery,
    .home-review-section .home-review-section-title,
    .home-review-section .home-review-slider-wrap,
    .home-review-section .home-more-btn-review {
      padding-left: 15px;
      padding-right: 15px;
    }

    .home-therapist-section-title,
    .home-gallery-section-title,
    .home-review-section-title {
      font-size: 1.2em;
      margin-bottom: 15px;
      border-left: 5px solid #f36c21;
    }

    /* セラピスト・ギャラリー：2列グリッド */
    .home-gallery-grid,
    .home-therapist-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .home-gallery-item,
    .home-therapist-card {
      width: 100%;
      border-radius: 8px;
    }

    .home-therapist-card img {
      height: 150px;
      border-radius: 8px;
    }

    .home-gallery-item img {
      height: 150px;
      border-radius: 8px;
    }

    /* もっと見るボタン：スマホ版 */
    .home-more-btn-therapist .btn,
    .home-more-btn-review .btn {
      display: flex;
      width: 100%;
      max-width: 100%;
      margin: 15px auto 0;
      padding: 12px 20px;
      background: #fff;
      color: #fa7a33;
      border: 1px solid #eee;
      border-radius: 4px;
      text-decoration: none;
      justify-content: center;
      gap: 80px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    .home-more-btn-gallery .btn {
      display: flex;
      width: 100%;
      max-width: 100%;
      margin: 15px auto 0;
      padding: 12px 20px;
      background: #fa7a33;
      color: #fff;
      border-radius: 4px;
      text-decoration: none;
      justify-content: center;
      gap: 80px;
    }
  }

  /* =====================
     HOME 新着の口コミ スライダー
  ===================== */
  .home-review-slider-wrap {
    position: relative;
    overflow: hidden;
    padding: 0 50px; /* 矢印ボタンのスペースを確保 */
  }

  .home-review-slider {
    display: flex;
    gap: 20px;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
    scrollbar-width: none;
    scroll-behavior: smooth;
    width: 100%;
  }

  .home-review-slider::-webkit-scrollbar {
    display: none;
  }

  .home-review-card {
    flex: 0 0 350px;
    min-width: 350px;
    max-width: 350px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .home-review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }

  .home-review-link {
    text-decoration: none;
    color: inherit;
    display: block;
  }

  .review-card-image {
    width: 100%;
    height: 180px;
    background: #ddd;
    overflow: hidden;
  }

  .review-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .review-card-content {
    padding: 20px;
  }

  .review-card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0 0 12px;
    line-height: 1.4;
  }

  .review-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
  }

  .review-card-rating .star {
    width: 18px;
    height: 18px;
    background: #ddd;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  }

  .review-card-rating .star.filled {
    background: #fa7a33;
  }

  .review-card-rating .rating-value {
    margin-left: 8px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
  }

  .review-card-author {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px;
  }

  .review-card-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #fa7a33;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
  }

  .slider-nav:hover {
    background: #e66a23;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  }

  .slider-next {
    right: 10px;
  }

  .slider-prev {
    left: 10px;
  }

  @media (max-width: 768px) {
    /* 口コミセクション：スマホ版 */
    .home-review-section {
      background: #fef1e9;
      padding: 20px 15px;
    }

    .home-review-slider-wrap {
      overflow: visible;
    }

    .home-review-slider {
      flex-direction: column;
      gap: 0;
      overflow: visible;
    }

    .home-review-card {
      flex: none;
      width: 100%;
      min-width: auto;
      border-radius: 20px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .home-review-card:not(:first-child) {
      display: none;
    }

    .review-card-image {
      height: 180px;
      border-radius: 12px 12px 0 0;
      margin: 15px 15px 0;
      width: calc(100% - 30px);
    }

    .review-card-content {
      padding: 20px;
      min-height: 180px;
    }

    .home-more-btn-review {
      margin-top: 20px;
    }

    .slider-nav {
      display: none;
    }
  }

  /* =====================
     VEHOMA ホーム お問い合わせ
  ===================== */
  .home-contact-section {
    display: flex;
    flex-direction: column;   /* 縦並び（ボタン→テキスト） */
    justify-content: center;  /* 縦方向の中央揃え */
    align-items: center;      /* 横方向の中央揃え */
    background: #fa7a33;
    padding: 80px 20px;       /* 余白を広げたい場合 */
    min-height: 300px;        /* セクションの高さ（必要に応じて調整） */
    text-align: center;
  }
  
  /* お問い合わせ */
  .home-contact-section .footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 600px;
    height: 70px;
    background: #fff;
    color: #fa7a33;
    font-size: 30px;
    text-decoration: none;
    margin-bottom: 16px; /* ボタンとpタグの間 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  
  /* テキスト */
  .home-contact-section p {
    color: #fff;
    font-size: 20px;
    margin: 0;
  }

  @media (max-width: 768px) {
    /* お問い合わせセクション：スマホ版 */
    .home-contact-section {
      padding: 40px 20px;
      min-height: auto;
    }

    .home-contact-section .footer-btn {
      width: 100%;
      max-width: 280px;
      height: 50px;
      font-size: 20px;
      border-radius: 4px;
      
    }

    .home-contact-section p {
      font-size: 14px;
    }

    /* フッター：スマホ版 */
    .custom-footer {
      padding: 30px 20px;
    }

    .footer-inner {
      flex-direction: column;
      gap: 20px;
      text-align: center;
    }

    .footer-left .footer-logo {
      font-size: 18px;
    }
    
    .footer-logo-img {
      height: 30px;
    }

    .footer-center .footer-menu {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
    }

    .footer-center .footer-menu a {
      font-size: 12px;
    }

    .footer-right .footer-btn {
      width: 250px;
      padding: 10px 15px 10px 15px;
      font-size: 14px;
      border-radius: 3px;
      box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    }
  }

/* レビューカード */

.glsr-default {
  --glsr-toggle-bg-1: var(--glsr-blue);
  width: 65%;
}

.glsr-review-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  margin-bottom: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.glsr-review-header {
  background: #fff;
  padding: 12px 16px;
  /* border-bottom: 1px solid #e0e0e0; */
}

.glsr-review-header h4 {
  margin: 0;
  font-size: 20px;
  font-weight: normal;
  color: #333;
  background: #fff;
  border-bottom: 1px solid #fa7a33;
}

.glsr-review-body {
  display: flex;
  padding: 20px;
  gap: 20px;
}

.glsr-review-image {
  flex-shrink: 0;
  width: 220px;
  /* height: 150px; */
  background: #c0c0c0;
  border-radius: 4px;
  overflow: hidden;
}

.glsr-review-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glsr-review-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.glsr-review-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.glsr-rating-stars {
  display: flex;
  align-items: center;
}

.glsr-rating-value {
  font-size: 25px;
  font-weight: bold;
  color: #333;
}

.glsr-review-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 8px;
}

.glsr-review-poster {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}

.glsr-review-text {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  flex: 1;
}

.glsr-review-button {
  align-self: flex-end;
}

.glsr-review-button a {
  display: inline-block;
  background: #ff8844;
  color: #fff;
  padding: 10px 24px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: background 0.3s;
}

.glsr-review-button a:hover {
  background: #ff6622;
}

@media (max-width: 768px) {
  .glsr-review-body {
    flex-direction: column;
    padding: 15px;
  }
  
  .glsr-review-image {
    width: 100%;
    height: 200px;
  }
  
  .glsr-review-button {
    align-self: stretch;
  }
  
  .glsr-review-button a {
    display: block;
    text-align: center;
  }
}

/* 口コミカードをクリック可能に */
.glsr-review-card[data-review-url] {
  cursor: pointer;
  transition: opacity 0.3s;
}

.glsr-review-card[data-review-url]:hover {
  opacity: 0.8;
}

.glsr-review-card .glsr-review-button {
  position: relative;
  z-index: 1;
}

/* 口コミ詳細ページ */
.review-detail-page {
  background-color: #fff;
}

.review-detail-header {
  background-color: #ff8533;
  color: white;
  padding: 60px 20px;
  text-align: left;
}

.review-detail-title {
  margin: 0;
  font-size: 36px;
  font-weight: bold;
  max-width: 1200px;
  margin: 0 auto;
}

.review-detail-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 40px;
}

.review-detail-author {
  font-size: 22px;
  margin-bottom: 40px;
  color: #333;
  font-weight: normal;
}

.review-detail-main {
  display: flex;
  gap: 50px;
  margin-bottom: 0;
}

.review-detail-image {
  flex-shrink: 0;
  width: 335px;
  height: 250px;
  background-color: #ccc;
  overflow: hidden;
}

.review-detail-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-detail-info {
  flex: 1;
}

.review-detail-rating-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.review-detail-stars {
  display: flex;
  gap: 3px;
}

.review-detail-rating-value {
  font-size: 36px;
  font-weight: bold;
  color: #333;
}

.review-detail-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.review-detail-reviewer {
  font-size: 14px;
  color: #666;
  margin-bottom: 25px;
}

.review-detail-text {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  white-space: pre-wrap;
}

.review-detail-button-wrapper {
  text-align: center;
  padding: 60px 20px 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.review-detail-contact-btn {

  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-right: 44px;

  gap: 15px;
  background-color: #ff8533;
  color: white;
  padding: 18px 80px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 18px;
  font-weight: normal;
  transition: background-color 0.3s;
  min-width: 280px;
}

.review-detail-contact-btn:hover {
  background-color: #e67429;
  color: white;
  text-decoration: none;
}

.review-detail-contact-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 18px;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
}


/* レスポンシブ対応 */
@media (max-width: 768px) {
  .review-detail-header {
    padding: 40px 20px;
  }
  
  .review-detail-title {
    font-size: 28px;
  }
  
  .review-detail-content {
    padding: 40px 20px 30px;
  }
  
  .review-detail-author {
    font-size: 20px;
    margin-bottom: 30px;
  }
  
  .review-detail-main {
    flex-direction: column;
    gap: 30px;
  }
  
  .review-detail-image {
    width: 100%;
    max-width: 335px;
    margin: 0 auto;
  }
  
  .review-detail-button-wrapper {
    padding: 40px 20px 60px;
  }
  
  .review-detail-contact-btn {
    padding: 16px 60px;
    min-width: 240px;
    font-size: 16px;
  }
}

/* =============================
   口コミ登録フォーム
============================= */
.page-header-title h1 {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 30px;
  text-align: center;
}

.review-form-container {
  width: 60%;
  margin: 0 auto;
  padding: 20px;
}

.review-form-login-required {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin: 40px auto;
  max-width: 500px;
}

.review-form-login-required p {
  font-size: 16px;
  margin-bottom: 30px;
  color: #333;
}

.btn-login {
  display: inline-block;
  background: #007bff;
  color: #fff;
  padding: 12px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn-login:hover {
  background: #0056b3;
  color: #fff;
  text-decoration: none;
}

.review-step-content {
  display: none;
}

.review-step-content.active {
  display: block;
}

.review-form-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ddd;
  margin-top: 30px;
}

.review-form-table th,
.review-form-table td {
  padding: 20px;
  border-bottom: 1px solid #ddd;
  vertical-align: middle;
}

.review-form-table th {
  width: 25%;
  text-align: left;
  font-weight: normal;
  color: #333;
  background: #fff;
}

.review-form-table td {
  width: 75%;
}

.review-form-table input[type="text"],
.review-form-table textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fef1e9;
  font-size: 14px;
  box-sizing: border-box;
}

.review-form-table textarea {
  resize: vertical;
  min-height: 200px;
}

.review-form-table .comment-row th,
.review-form-table .comment-row td {
  vertical-align: top;
}

/* 星評価入力 */
.star-rating-input {
  display: flex;
  gap: 4px;
}

.star-input {
  width: 24px;
  height: 24px;
  background: #ddd;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  cursor: pointer;
  transition: background 0.2s;
}

.star-input:hover,
.star-input.filled {
  background: #fa7a33;
}

/* 星評価表示 */
.star-rating-display {
  display: flex;
  gap: 4px;
}

.star-display {
  width: 24px;
  height: 24px;
  background: #ddd;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.star-display.filled {
  background: #fa7a33;
}

/* ボタン */
.review-form-button {
  text-align: center;
  margin-top: 40px;
}

.review-form-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.btn-confirm,
.btn-submit {
  display: inline-block;
  padding: 15px 60px;
  background: #fa7a33;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-confirm:hover,
.btn-submit:hover {
  background: #e96a2d;
}

.btn-back {
  display: inline-block;
  padding: 15px 60px;
  background: #fff;
  color: #fa7a33;
  border: 2px solid #fa7a33;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-back:hover {
  background: #fef1e9;
}

/* 確認画面のテキスト表示 */
.review-form-table td span {
  display: block;
  padding: 12px;
  background: #fef1e9;
  border-radius: 4px;
  min-height: 20px;
}

.review-form-table .comment-row td span {
  min-height: 200px;
  white-space: pre-wrap;
}

/* 投稿完了 */
.review-complete {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
  border: 1px solid #ddd;
  margin-top: 30px;
}

.review-complete p {
  font-size: 18px;
  color: #333;
  margin: 0 0 10px;
}

.btn-back-list {
  display: inline-block;
  margin-top: 30px;
  padding: 15px 40px;
  background: #fa7a33;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  transition: background 0.3s;
}

.btn-back-list:hover {
  background: #e96a2d;
  color: #fff;
}

@media (max-width: 768px) {
  .review-form-container {
    padding: 15px;
  }

  .review-form-table th,
  .review-form-table td {
    display: block;
    width: 100%;
    padding: 15px;
  }

  .review-form-table th {
    border-bottom: none;
    padding-bottom: 5px;
  }

  .review-form-table td {
    padding-top: 0;
  }

  .review-form-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-confirm,
  .btn-submit,
  .btn-back {
    width: 100%;
    padding: 15px 20px;
  }

  .step li {
    font-size: 12px;
    padding: 0.8em 0.3em 0.8em 1.5em;
  }
}

/* =====================
   セラピスト詳細ページ
===================== */
.therapist-detail-page {
  width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.therapist-detail-header {
  background-color: #fa7a33;
  padding: 25px 30px;
  margin-bottom: 40px;
  border-radius: 0;
}

.therapist-detail-title {
  color: #fff;
  font-size: 1.6rem;
  margin: 0;
  text-align: left;
  font-weight: normal;
}

.therapist-detail-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.therapist-detail-card {
  background-color: #fff;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  /* border: 1px solid #e0e0e0; */
}

.therapist-detail-info-header {
  background-color: var(--vk-color-primary);
  padding: 20px 30px;
  margin: 0;
  border-radius: 0;
}

.therapist-store-name {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 8px 0;
  font-weight: normal;
}

.therapist-name {
  color: #333;
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0;
}

.therapist-name-detail {
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  margin: 0;
}

.therapist-detail-content {
  display: flex;
  gap: 30px;
  margin-bottom: 0;
  padding: 30px;
  background-color: #fff;
}

.therapist-detail-image {
  flex-shrink: 0;
  width: 280px;
}

.therapist-detail-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: cover;
  border: 1px solid #e0e0e0;
}

.therapist-detail-profile {
  flex: 1;
}

.therapist-detail-profile h2 {
  border: none;
  font-size: 1.2rem;
  background-color: #fef1e9;
  color: #333;
  margin: 0 0 20px 0;
  padding: 20px;
  border-bottom: none;
  font-weight: bold;
}

.therapist-profile-content {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #333;
}

.therapist-detail-button {
  text-align: center;
  padding: 30px;
  border-top: none;
  background-color: #fff;
}

.btn-store-detail {
  display: inline-block;
  background-color: #FF7F50;
  color: #fff;
  padding: 15px 80px;
  border-radius: 0;
  text-decoration: none;
  font-size: 1rem;
  font-weight: normal;
  transition: background-color 0.3s ease;
}

.btn-store-detail:hover {
  background-color: #ff6a3d;
  transform: none;
  color: #fff;
}

.btn-store-detail span {
  margin-left: 15px;
  font-size: 1.2rem;
}

/* 口コミセクション */
.therapist-reviews-section {
  background-color: #fff;
  border-radius: 0;
  box-shadow: none;
  padding: 40px 0;
  border: 1px solid #e0e0e0;
  border-top: none;
}

.therapist-reviews-title {
  font-size: 1.3rem;
  color: #333;
  margin: 0 0 30px 0;
  padding: 0 30px 15px 30px;
  border-top: none;
  border-bottom: 2px solid #ff6a3d;
  font-weight: bold;
}

.therapist-reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0 30px 30px 30px;
}

.therapist-review-card {
  background-color: #fff;
  border-radius: 0;
  padding: 20px;
  border: 1px solid #ddd;
}

.review-card-header {
  margin-bottom: 15px;
  font-size: 1rem;
  color: #333;
}

.reviewer-name {
  font-weight: bold;
}

.review-label {
  font-weight: normal;
}

.review-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.review-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}

.review-rating .star {
  font-size: 1.2rem;
  color: #ddd;
}

.review-rating .star.filled {
  color: #FFD700;
}

.review-rating .rating-value {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  margin-left: 5px;
}

.review-card-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.9rem;
  color: #666;
}

.review-card-meta p {
  margin: 0;
}

.review-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 10px 0;
}

.review-more-btn {
  display: inline-block;
  background-color: #FF7F50;
  color: #fff;
  padding: 10px 30px;
  border-radius: 0;
  text-decoration: none;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  text-align: center;
  width: 100%;
}

.review-more-btn:hover {
  background-color: #ff6a3d;
  color: #fff;
}

.therapist-review-post-button {
  text-align: center;
  padding: 40px 30px 30px 30px;
}

.btn-review-post {
  display: inline-block;
  background-color: #FF7F50;
  color: #fff;
  padding: 15px 60px;
  border-radius: 0;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: normal;
  transition: background-color 0.3s ease;
}

.btn-review-post span {
  margin-left: 10px;
  font-size: 1.2rem;
}

.btn-review-post:hover {
  background-color: #ff6a3d;
  color: #fff;
}

.no-reviews {
  text-align: center;
  color: #999;
  font-size: 1.1rem;
  padding: 40px 0;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .therapist-detail-page {
    padding: 20px 10px;
  }

  .therapist-detail-card {
    padding: 20px;
  }

  .therapist-detail-info-header {
    margin: -20px -20px 20px -20px;
    padding: 15px 20px;
  }

  .therapist-detail-title {
    font-size: 1.5rem;
  }

  .therapist-name {
    font-size: 1.3rem;
  }

  .therapist-detail-content {
    flex-direction: column;
    gap: 20px;
  }

  .therapist-detail-image {
    width: 100%;
  }

  .therapist-reviews-grid {
    grid-template-columns: 1fr;
  }

  .therapist-reviews-section {
    padding: 20px;
  }

  .btn-store-detail {
    padding: 12px 40px;
    font-size: 1rem;
  }
}

/* ===== マイページ ===== */
.mypage-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
}

.mypage-header {
  text-align: center;
  margin-bottom: 40px;
}

.mypage-avatar {
  position: relative;
  display: inline-block;
}

.mypage-avatar img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  background-color: #d3d3d3;
}

.mypage-avatar img.custom-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.avatar-edit-btn {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #fa7a33;
  border: 3px solid #fff;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
  padding: 0;
}

.avatar-edit-btn:hover {
  background-color: #e66a23;
}

.avatar-edit-btn svg {
  width: 20px;
  height: 20px;
}

.mypage-section {
  background: #fff;
  /* border: 1px solid #e0e0e0; */
  border-radius: 0;
  padding: 0;
  margin-bottom: 30px;
}

.mypage-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0 0 20px 0;
  padding: 0;
  border: none;
  border-left: 4px solid #fa7a33;
  padding-left: 12px;
  min-height: 40px;
}

.mypage-section-header h2 {
  border: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.mypage-section-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0;
  padding: 0;
  border: none;
  border-left: 4px solid #fa7a33;
  padding-left: 12px;
  line-height: 1.4;
}

.mypage-section-account .mypage-section-title {
  display: flex;
  align-items: center;
  min-height: 40px;
  border-left: 4px solid #fa7a33;
  padding-left: 12px;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

/* ログアウトセクション */
.mypage-logout-section {
  text-align: center;
  padding: 30px 0;
  margin-top: 20px;
}

.mypage-logout-btn {
  display: inline-block;
  padding: 12px 40px;
  background-color: #fff;
  color: #666 !important;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s;
}

.mypage-logout-btn:hover {
  background-color: #f9f9f9;
  border-color: #999;
  color: #333 !important;
}

.mypage-edit-btn {
  background-color: #999;
  color: #fff !important;
  border: none;
  padding: 8px 24px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s;
}

.mypage-edit-btn:hover {
  background-color: #777;
  color: #fff !important;
}

.mypage-save-btn {
  background-color: #fa7a33 !important;
}

.mypage-save-btn:hover {
  background-color: #e66a23 !important;
}

.mypage-info-form {
  padding: 30px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;

}

.mypage-form-group {
  margin-bottom: 25px;
}

.mypage-form-group:last-child {
  margin-bottom: 0;
}

.mypage-form-label {
  display: block;
  font-size: 14px;
  font-weight: normal;
  color: #666;
  margin-bottom: 8px;
}

.mypage-form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  background-color: #fff;
  color: #333;
}

.mypage-form-input:focus {
  outline: none;
  border-color: #fa7a33;
}

.mypage-form-input[readonly] {
  background-color: #f9f9f9;
  color: #666;
}

.mypage-form-input.editing {
  background-color: #fff;
  border-color: #fa7a33;
  color: #333;
}

.mypage-form-group-inline {
  margin-bottom: 25px;
}

.mypage-form-inline {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mypage-form-input-year {
  width: 120px;
}

.mypage-form-input-month {
  width: 100px;
}

.mypage-form-unit {
  font-size: 15px;
  color: #333;
}

.mypage-settings {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mypage-settings{
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.setting-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.setting-info {
  flex: 1;
}

.setting-title {
  font-size: 18px;
  border: none;
  font-weight: bold;
  color: #333;
  margin: 0 0 8px 0;
}

.setting-info ::after{
  border: none;
}

.setting-desc {
  font-size: 14px;
  color: #666;
  margin: 0;
}

.setting-btn {
  background-color: #fa7a33;
  color: #fff !important;
  border: none;
  padding: 12px 32px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 15px;
  font-weight: normal;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s;
  white-space: nowrap;
  min-width: 120px;
  text-align: center;
}

.setting-btn:hover {
  background-color: #e66a23;
  color: #fff !important;
}

.setting-btn-danger {
  background-color: #fa7a33;
  color: #fff !important;
}

.setting-btn-danger:hover {
  background-color: #e66a23;
  color: #fff !important;
}

.mypage-login-required {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.mypage-login-required p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.btn-login {
  display: inline-block;
  background-color: #fa7a33;
  color: #fff !important;
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn-login:hover {
  background-color: #e66a23;
  color: #fff !important;
}

/* マイページ：スマホ最適化 */
@media (max-width: 768px) {
  .mypage-container {
    padding: 20px 15px;
  }

  .mypage-section-header {
    padding: 15px 20px;
  }

  .mypage-section-title {
    font-size: 16px;
  }

  .mypage-edit-btn {
    padding: 6px 18px;
    font-size: 13px;
  }

  .mypage-info-form {
    padding: 20px;
  }

  .mypage-form-group {
    margin-bottom: 20px;
  }

  .mypage-form-label {
    font-size: 13px;
  }

  .mypage-form-input {
    padding: 10px 12px;
    font-size: 14px;
  }

  .mypage-form-input-year,
  .mypage-form-input-month {
    width: auto;
    flex: 1;
  }

  .mypage-settings {
    padding: 20px;
    gap: 15px;
  }

  .setting-item {
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    gap: 15px;
  }

  .setting-title {
    font-size: 16px;
  }

  .setting-desc {
    font-size: 13px;
    margin-bottom: 5px;
  }

  .setting-btn {
    width: 100%;
    text-align: center;
    min-width: auto;
  }

  .mypage-avatar img {
    width: 120px;
    height: 120px;
  }

  .avatar-edit-btn {
    width: 38px;
    height: 38px;
  }

  .avatar-edit-btn svg {
    width: 18px;
    height: 18px;
  }

  .mypage-logout-section {
    padding: 20px 0;
  }

  .mypage-logout-btn {
    padding: 10px 30px;
    font-size: 14px;
  }
}

.menu-item-mypage {
  text-wrap: nowrap;
}

/* ヘッダーメニュー：マイページリンクのスタイル */
@media (min-width: 768px) {
  .menu-item-mypage a,
  #global-nav .menu-item-mypage a,
  #menu-item-406 a,
  header#site-header #global-nav #menu-item-406 a,
  nav#global-nav ul li#menu-item-406 a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #fa7a33 !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    transition: background-color 0.3s !important;
    box-shadow: none !important;
    border: none !important;
    line-height: 1 !important;
  }

  .menu-item-mypage a:hover,
  #global-nav .menu-item-mypage a:hover,
  #menu-item-406 a:hover,
  header#site-header #global-nav #menu-item-406 a:hover,
  nav#global-nav ul li#menu-item-406 a:hover {
    background-color: #e66a23 !important;
    color: #fff !important;
  }
}

/* スマホメニュー：マイページリンクのスタイル */
@media (max-width: 767px) {
  .menu-item-mypage a,
  #global-nav .menu-item-mypage a,
  #menu-item-406 a {
    color: #fa7a33 !important;
    font-weight: bold;
  }
}

/* ===== パスワード変更ページ ===== */
.password-change-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.password-change-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin-bottom: 15px;
  text-align: center;
}

.password-change-desc {
  font-size: 14px;
  color: #666;
  text-align: center;
  margin-bottom: 40px;
}

.password-change-form {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 30px;
}

.password-form-group {
  margin-bottom: 25px;
}

.password-form-label {
  display: block;
  font-size: 14px;
  font-weight: normal;
  color: #666;
  margin-bottom: 8px;
}

.password-input-wrapper {
  position: relative;
}

.password-form-input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
  background-color: #fff;
  color: #333;
}

.password-form-input:focus {
  outline: none;
  border-color: #fa7a33;
}

.password-toggle {
  display: flex;
  align-items: center;
  margin-top: 8px;
  cursor: pointer;
  user-select: none;
}

.password-show-checkbox {
  margin-right: 6px;
  cursor: pointer;
}

.password-show-text {
  font-size: 13px;
  color: #666;
  cursor: pointer;
}

.password-submit-btn {
  width: 100%;
  background-color: #fa7a33;
  color: #fff !important;
  border: none;
  padding: 14px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.password-submit-btn:hover {
  background-color: #e66a23;
}

.password-change-login-required {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.password-change-login-required p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

/* ===== 退会ページ ===== */
.withdrawal-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 60px 20px;
  text-align: center;
}

.withdrawal-title {
  font-size: 18px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 60px;
  font-weight: normal;
}

.withdrawal-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 500px;
  margin: 0 auto;
}

.withdrawal-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  position: relative;
  border: none;
  width: 100%;
}

.withdrawal-btn-cancel {
  background-color: #fff;
  color: #fa7a33 !important;
  border: 2px solid #fa7a33;
}

.withdrawal-btn-cancel:hover {
  background-color: #fff5f0;
}

.withdrawal-btn-confirm {
  background-color: #fa7a33;
  color: #fff !important;
}

.withdrawal-btn-confirm:hover {
  background-color: #e66a23;
}

.btn-arrow {
  margin-left: 8px;
  font-size: 20px;
}

.withdrawal-login-required {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  text-align: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.withdrawal-login-required p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .password-change-container {
    padding: 20px 15px;
  }

  .password-change-title {
    font-size: 20px;
  }

  .password-change-form {
    padding: 20px;
  }

  .withdrawal-container {
    padding: 40px 20px;
  }

  .withdrawal-title {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .withdrawal-btn {
    padding: 16px 30px;
    font-size: 15px;
  }
}

/* =====================
   ヘッダーロゴ画像
===================== */
/* ヘッダーロゴ画像のスタイル */
.site-header-logo-image,
.custom-logo,
img.site-header-logo-image {
  height: 50px !important;
  width: auto !important;
  max-width: none !important;
  vertical-align: middle !important;
  display: inline-block !important;
  text-indent: 0 !important;
  font-size: initial !important;
  line-height: normal !important;
}

/* ヘッダーロゴのリンク */
.site-header .site-header-logo a,
.site-header .site-title a,
header .site-title a,
.site-header-logo-link {
  display: inline-block !important;
  line-height: 0 !important;
}

/* 画像が含まれている場合はテキストインデントをリセット */
.site-header .site-header-logo a:has(img),
.site-header .site-title a:has(img) {
  text-indent: 0 !important;
  font-size: initial !important;
  overflow: visible !important;
}

@media (max-width: 768px) {
  .site-header-logo-image,
  .custom-logo,
  img.site-header-logo-image {
    height: 40px !important;
  }
}

/* =====================
   site-body-bottom の不要な文言を非表示
===================== */
.site-body-bottom {
  display: none !important;
}
  
  