.blog-modal-trigger:hover,
.blog-modal-trigger:focus,
.privacy-modal-trigger:focus,
.faq-modal-trigger:focus,
.news-modal-trigger:focus {
  background: transparent !important;
  outline: none;
}

.blog-modal-trigger:focus-visible,
.privacy-modal-trigger:focus-visible,
.faq-modal-trigger:focus-visible,
.news-modal-trigger:focus-visible {
  outline: 2px solid #d4a574;
  outline-offset: 2px;
}

/* =====================================================
   プライバシーポリシーモーダル
   ===================================================== */

/* モーダル基本構造 */
.privacy-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
}

.privacy-modal.js-modalitem_open {
    display: block;
}

/* 背景オーバーレイ */
.privacy-modal .js-modal_bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 0;
}

/* モーダルコンテンツ */
.privacy-modal .js-modal_cont {
    position: fixed;
    top: 0;
    right: 0;
    width: 90%;
    max-width: 800px;
    height: 100%;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    overflow-y: auto;
    z-index: 1;
    transform: translateX(100%);
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 開いた状態（初期位置維持） */
.privacy-modal.js-modalitem_open .js-modal_cont {
    transform: translateX(100%);
}

/* アニメーション開始 */
.privacy-modal.js-modal_animating .js-modal_cont {
    transform: translateX(0);
}

/* 閉じるアニメーション */
.privacy-modal.js-modal_closing .js-modal_cont {
    transform: translateX(100%);
}

/* 閉じるボタン */
.privacy-modal .js-modal_close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.privacy-modal .js-modal_close:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.privacy-modal .js-modal_close svg {
    width: 20px;
    height: 20px;
    stroke: #333;
}

/* コンテンツエリア */
.privacy-modal__content {
    padding: 80px 40px 40px;
    color: #333;
}

.privacy-modal__content h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    color: #333;
}

.privacy-modal__content section {
    margin-bottom: 40px;
}

.privacy-modal__content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
    color: #333;
}

.privacy-modal__content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 10px;
    color: #333;
}

.privacy-modal__content p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #333;
}

.privacy-modal__content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.privacy-modal__content ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.privacy-modal__content ul li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #333;
}

.privacy-modal__content .company-info {
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.privacy-modal__content .company-info p {
    margin-bottom: 10px;
}

/* SPレイアウト */
@media (max-width: 767px) {
    .privacy-modal .js-modal_cont {
        width: 100%;
        max-width: 100%;
    }
    
    .privacy-modal__content {
        padding: 60px 20px 40px;
    }
    
    .privacy-modal__content h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }
    
    .privacy-modal__content h3 {
        font-size: 18px;
    }
    
    .privacy-modal__content h4 {
        font-size: 15px;
    }
    
    .privacy-modal__content p,
    .privacy-modal__content ul li {
        font-size: 13px;
    }
    
    .privacy-modal .js-modal_close {
        top: 15px;
        right: 15px;
        width: 36px;
        height: 36px;
    }
}

/* モーダル表示時のbodyスクロール防止 */
body.js-modal_open {
    overflow: hidden;
}

/* Salon Modal Styles は個別CSSファイルで管理 */
/* salon-modal-pc.css, salon-modal-sp.css を参照 */

/* =====================================================
   FAQモーダル：全ページ共通スタイル
   ===================================================== */

/* FAQモーダル非表示（他モーダルと統一） */
.faq-modal.js-modal_wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  display: none;
}

.faq-modal.js-modalitem_open {
  display: block;
}

/* モーダル背景（外クリックで閉じる領域） */
.faq-modal .js-modal_bg {
  position: fixed !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
  z-index: 0 !important;
}

/* モーダルコンテンツ */
.faq-modal .js-modal_cont {
  position: fixed;
  top: 0;
  right: 0;
  width: 90%;
  max-width: 800px;
  height: 100%;
  background: rgba(255, 255, 255, 0.25) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.3) !important;
  z-index: 1;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 開いた状態（初期位置維持） */
.faq-modal.js-modalitem_open .js-modal_cont {
  transform: translateX(100%);
}

/* アニメーション開始 */
.faq-modal.js-modal_animating .js-modal_cont {
  transform: translateX(0);
}

/* 閉じるアニメーション */
.faq-modal.js-modal_closing .js-modal_cont {
  transform: translateX(100%);
}

/* ヒーロー画像エリア */
.faq-modal .modal-hero {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.faq-modal .modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-modal .modal-hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 48px;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  margin: 0;
  letter-spacing: 0.1em;
}

/* コンテンツエリア */
.faq-modal .modal-content {
  padding: 60px 40px;
}

/* =====================================================
   PRIVACYモーダル：SP版テキストカラー統一
   ===================================================== */

@media screen and (max-width: 767px) {
  .privacy-modal__content,
  .privacy-modal__content h2,
  .privacy-modal__content h3,
  .privacy-modal__content h4,
  .privacy-modal__content p,
  .privacy-modal__content ul li {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
  }
  
  .privacy-modal__content ul li::before {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
  }
}

/* =====================================================
   FAQモーダル：SP版テキストカラー統一
   ===================================================== */

@media screen and (max-width: 767px) {
  .faq-modal .faq-question {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
  }
  
  .faq-modal .faq-answer {
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7) !important;
  }
}

/* FAQ一覧 */
.faq-modal .faq-list {
  max-width: 700px;
  margin: 0 auto;
}

/* FAQ項目 */
.faq-modal .faq-item {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-modal .faq-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* 質問（Q:） */
.faq-modal .faq-question {
  font-size: 18px;
  font-weight: 700;
  color: #AC905E;
  margin: 0 0 12px 0;
  line-height: 1.7;
}

/* 回答（A:） */
.faq-modal .faq-answer {
  font-size: 15px;
  font-weight: 400;
  color: #333;
  line-height: 1.9;
  margin: 0;
  padding-left: 1.5em;
}

/* 閉じるボタン */
.faq-modal .js-modal_close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.faq-modal .js-modal_close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.faq-modal .js-modal_close svg {
  color: #333;
}

/* SP対応 */
@media (max-width: 767px) {
  .faq-modal .js-modal_cont {
    width: 100%;
    max-width: 100%;
  }
  
  .faq-modal .modal-hero {
    height: 200px;
  }
  
  .faq-modal .modal-hero-title {
    font-size: 32px;
  }
  
  .faq-modal .modal-content {
    padding: 40px 20px;
  }
  
  .faq-modal .faq-question {
    font-size: 16px;
  }
  
  .faq-modal .faq-answer {
    font-size: 14px;
  }
}
