/* =====================================================
   サロンモーダル SP用CSS（Angelica完全準拠版）
   ===================================================== */

/* トリガーカード */
.salon-modal-trigger {
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    position: relative;
    height: 400px;
    border-radius: 8px;
}

.salon-modal-trigger__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.salon-modal-trigger__image {
    display: block;
    width: 100%;
    flex: 1;
    min-height: 0;
}

.salon-modal-trigger__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.salon-modal-trigger__content {
    position: relative;
    padding: 20px 16px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 -1px 1px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.salon-modal-trigger__subtitle {
    font-size: 11px;
    color: #666;
    margin-bottom: 4px;
}

.salon-modal-trigger__concept {
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}

.salon-modal-trigger__name {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: #333;
    border: none !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
}

.salon-modal-trigger__name::after,
.salon-modal-trigger__name::before {
    display: none !important;
}

/* ホットペッパーロゴ */
.salon-modal-trigger__hotpepper-logo {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 16px !important;
    height: 16px !important;
    z-index: 10;
    display: block;
    text-decoration: none;
    transition: filter 0.3s ease;
}

.salon-modal-trigger__hotpepper-logo:hover {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)) brightness(1.3);
}

.salon-modal-trigger__hotpepper-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    display: block;
}

/* 住所表示 */
.salon-modal-trigger__address {
    font-size: 10px;
    color: #888;
    margin-bottom: 6px;
    line-height: 1.4;
}

/* モーダル本体（angelica方式） */
body.js-modal_open {
    overflow: hidden;
}

.js-modal_wrap {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 10;
    transition: all 0.7s ease-out;
    opacity: 0;
    pointer-events: none;
}

.js-modal_wrap.js-modalitem_open {
    opacity: 1;
    z-index: 1000;
    right: 0;
    pointer-events: auto;
}

.js-modal_wrap.js-modalitem_open .js-modal_bg {
    right: 0;
}

.js-modal_cont {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !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);
}

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

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

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

.js-modal_close.p-ico {
    position: absolute;
    top: 15px !important;
    right: 15px !important;
    left: auto !important;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: all 0.3s ease;
}

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

.js-modal_close.p-ico svg {
    width: 18px;
    height: 18px;
    color: #333;
}

/* モーダル内ホットペッパーロゴ */
.salon-modal__hotpepper-logo {
    position: absolute;
    bottom: 0;
    right: 20px;
    width: 20px;
    height: 20px;
    z-index: 101;
    display: block;
    text-decoration: none;
    transition: filter 0.3s ease;
}

.salon-modal__hotpepper-logo:hover {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.9)) brightness(1.3);
}

.salon-modal__hotpepper-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.js-modal_bg {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    right: -100%;
    transition: right 0.7s ease-out;
}

/* モーダル内コンテンツ */
.p-salon .l-modal_area {
    max-width: 100%;
    padding: 50px 20px 15px;
    margin: 0 auto;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}

.p-salon .l-modal_area .l-2col {
    display: flex;
    flex-direction: column;
    padding-top: 20px;
    gap: 15px;
}

.p-salon .l-modal_area .l-2col > * {
    width: 100%;
    max-width: 100%;
}

.p-salon .l-modal_area .l-2col > *:first-child {
    position: relative;
}

.p-salon .l-modal_area .c-name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.04em;
}

.p-salon .l-modal_area .c-copy_ja {
    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.024em;
}

.p-salon .l-modal_area .c-copy_en {
    padding-top: 4px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
}

.p-salon .l-modal_area .c-text {
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.05em;
    text-align: left;
}

.p-salon .l-modal_area .c-text.p-main {
    padding-top: 8px;
    line-height: 1.5;
}

.p-salon .l-modal_area .c-text.p-map {
    margin-top: 10px !important;
}

.p-salon .l-modal_area .c-text + .c-text {
    margin-top: 4px;
}

.p-salon .l-modal_area .c-text a[target] {
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
    text-decoration: underline;
    transition: 0.5s;
}

.p-salon .l-modal_area .c-text a[target]:hover {
    opacity: 0.5;
}

/* モーダル内スライダー（3:2アスペクト比） */
.p-salon .l-modal_slider {
    margin-top: 80px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.p-salon .l-modal_slider .c-img {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    display: block;
}

.p-salon .l-modal_slider .c-img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
}

/* ========================================
   サロンカード：Click for detailsヒント
   ======================================== */

.salon-click-hint {
  margin: 12px 0 4px 0;
  font-size: 0.85em;
  color: #666;
}

/* =====================================================
   モーダルウィンドウ内問合せボタン（SP非表示）
   ===================================================== */

/* 問合せボタンセクション */
.modal-contact-section {
  display: none;
}

/* 問合せボタン本体：ガラス調（フッター統一） */
.modal-contact-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 90% !important;
  max-width: 500px !important;
  padding: 16px 30px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6) !important;
  border-radius: 50px !important;
  font-family: 'Josefin Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.15em !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

/* ホバー効果 */
.modal-contact-btn:hover {
  background: rgba(100, 100, 100, 0.8) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.2) !important;
}
