/**
 * Component: panel-modal.css
 * Usage: パネルモーダル共通（WEB予約・LINE予約・電話予約）
 * Source: base.css から分割
 *
 * 構成:
 * - .bl_panelModal: モーダルコンテナ
 * - .bl_panelModal_body: ボディ
 * - .bl_panelModal_area: エリアブロック
 * - .bl_panelModal_list: リスト
 * - .bl_panelModal_item: アイテム
 */

/* ================================================
   パネルモーダル共通（モバイルファースト）
   ================================================ */
.bl_panelModal {
  position: fixed;
  overflow-y: auto;
  scrollbar-width: none;
  bottom: 0;
  left: 0;
  width: 100%;
  height: calc(100vh - 140px);
  background: #fff;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
  z-index: 1003;
  display: none;
  border-radius: 16px 16px 0 0;
  padding: 24px 20px;
}

.bl_panelModal::-webkit-scrollbar {
  display: none;
}
.bl_panelModal_overlay{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1002;
  display: none;
}
.bl_panelModal_overlay:has(+ .bl_panelModal.is_open){
  display: block;
}
.bl_panelModal.is_open {
  opacity: 1;
  visibility: visible;
  padding-bottom: 40px;
  display: flex;
  overflow-y: scroll;
}
.bl_panelModal .close_btn{
  position: absolute;
  top: -45px;
  right: 15px;
}
.bl_panelModal_title{
  display: flex;
  align-items: center;
  gap: 4px;
  flex-direction: column;
}
.bl_panelModal_title .bl_panelModal_titleIcon{
  background: var(--color-primary);
  width: 90px;
  height: 23px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.bl_panelModal_title .bl_panelModal_titleIcon.line{
  background: #06C755;
}
.bl_panelModal_title .bl_panelModal_titleIcon.phone{
  background: #BF5C00;
}
.bl_panelModal_title .el_ttl01{
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 700;
}

.bl_panelModal_body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.bl_panelModal_area {
  background: var(--color-cream-dark);
  border-radius: 12px;
  overflow: hidden;
}

.bl_panelModal_areaLabel {
  display: block;
  text-align: center;
  padding: 10px 16px;
  background: var(--color-primary-dark);
  color: #fff;
  font-size: var(--font-lg);
  font-weight: 700;
  border-radius: 12px 12px 0 0;
}

.bl_panelModal_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--color-primary);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 8px;
}

.bl_panelModal_itemInfo {
  flex: 1;
}

.bl_panelModal_itemName {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0 0 4px;
}

.bl_panelModal_itemAddr {
  font-size: var(--font-sm);  
  margin: 0;
}

.bl_panelModal_itemArrow {
  width: 20px;
  height: 40px;
  flex-shrink: 0;
  background: none;
}

/* WEB予約: 青グラデーション */


/* LINE予約: 緑グラデーション */


/* 電話予約: オレンジグラデーション */


/* ================================================
   Tablet (768px〜)
   ================================================ */
@media screen and (min-width: 768px) {
  .bl_panelModal {
    top: 112px;
    height: calc(100vh - 112px);
    border-inline: 12px solid var(--color-gold);
  }
}
