.booking-package {
    padding: 0 300px 100px 300px;
}

.entry-title {
    text-align: center;
    margin-bottom: 15px; /* 注意事項との間に少し余白 */
}

  #asibimo-booking-loader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease-out;
  }
  
  #asibimo-booking-loader::after {
    content: '';
    width: 40px; height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #10A37F;
    border-radius: 50%;
    animation: spin 1s linear infinite;
  }
  
  @keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
  }

/* スマホ向け（画面幅600px以下） */
@media (max-width: 600px) {
    .booking-package {
        padding: 0 10px;
    }
}



/* 全体のコンテナ */
#booking-package_inputFormPanel {
    max-width: 700px;
    margin: 40px auto;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08), 0 0 1px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  #booking-package_inputFormPanel:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.12), 0 0 1px rgba(0, 0, 0, 0.1);
  }
  
  /* タイトル */
  .title_in_form {
    font-size: 28px;
    font-weight: 700;
    color: #000;
    -webkit-background-clip: text;
    background-clip: text;
    margin-bottom: 30px;
    text-align: center;
    letter-spacing: 0.5px;
    position: static !important;
  }
  
  /* 画像 */
  #booking-package_inputFormPanel img {
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  #booking-package_inputFormPanel img:hover {
    transform: scale(1.02);
  }
  
  /* 行のスタイル */
  .row {
    display: flex;
    flex-direction: column;
    margin-bottom: 24px;
    animation: fadeInUp 0.5s ease;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* ラベル */
  .row .name {
    font-size: 14px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
  }
  
  .row .name.required::after {
    content: "*";
    color: #ef4444;
    margin-left: 4px;
    font-size: 16px;
  }
  
  /* 値表示エリア */
  .row .value {
    font-size: 15px;
    color: #1e293b;
    line-height: 1.6;
  }
  
  .bookingDate,
  .bookingTime,
  .bookingSubtitle {
    display: inline-block;
    padding: 4px 0;
  }
  
  .bookingDate {
    font-weight: 600;
    color: #667eea;
    font-size: 20px;
  }
  
  .bookingTime {
    font-weight: 600;
    color: #764ba2;
    margin-left: 8px;
    font-size: 20px;
  }
  
  .bookingSubtitle {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 17px;
  }
  
  /* 入力フィールド */
  .form_text {
    width: 100%;
    padding: 14px 18px;
    font-size: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    outline: none;
    color: #1e293b;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  }
  
  .form_text:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1), 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
  }
  
  .form_text:hover {
    border-color: #cbd5e1;
  }
  
  .form_text::placeholder {
    color: #94a3b8;
  }
  
  /* 合計金額 */
  .total_amount {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 2px solid rgba(102, 126, 234, 0.2);
  }
  
  .total_amount .name {
    font-size: 16px;
    color: #475569;
  }
  
  .total_amount .value {
    font-size: 28px;
    font-weight: 700;
    color: #667eea;
    margin-top: 4px;
  }
  
  /* ボタン共通スタイル */
  button {
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
  }
  
  button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
  }
  
  button:hover::before {
    width: 300px;
    height: 300px;
  }
  
  /* 予約ボタン */
  .book_now_button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    width: 100%;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
  }
  
  .book_now_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(102, 126, 234, 0.4);
  }
  
  .book_now_button:active {
    transform: translateY(0);
  }
  
  /* 戻るボタン */
  .return_form_button {
    background: #f1f5f9;
    color: #475569;
    width: 100%;
    margin-top: 12px;
  }
  
  .return_form_button:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
  }
  
  /* ボトムパネル */
  .bottomBarPanel {
    margin-top: 32px;
  }
  
  #paymentPanel {
    margin-top: 24px;
  }
  
  /* 非表示パネル */
  .hidden_panel {
    display: none;
  }
  
  /* 説明テキスト */
  .description {
    font-size: 13px;
    color: #64748b;
    margin-top: 6px;
    font-style: italic;
  }
  
  /* レスポンシブデザイン */
  @media (max-width: 1024px) {
    .booking-package{
      padding: 0 100px 100px;
    }
  }

  @media (max-width: 834px) {
    .booking-package{
      padding: 0 50px 100px;
    }

    .booking-dynamic-image {
      max-width: 230px;
      height: 230px;
    }
  }

  @media (max-width: 768px) {
    .booking-package{
      padding: 0 30px 100px;
    }

    .booking-dynamic-image {
      max-width: 230px !important;
      height: 230px;
    }

    #booking-package_inputFormPanel {
      padding: 24px;
      margin: 20px;
      border-radius: 20px;
    }
  
    .title_in_form {
      font-size: 24px;
    }
  
    .form_text {
      padding: 12px 16px;
      font-size: 16px; /* モバイルでのズーム防止 */
    }
  
    button {
      padding: 14px 28px;
      font-size: 15px;
    }
  
    .total_amount .value {
      font-size: 24px;
    }

    .bookingDate {
      font-size: 18px;
    }
    
    .bookingTime {
      font-size: 18px;
    }
    
    .bookingSubtitle {
      font-size: 15px;
    }
  
  }

  @media (max-width: 414px) {
    .booking-package{
      padding: 0 5px 100px;
    }

  }
  
  /* フォーカス時のアクセシビリティ */
  button:focus-visible,
  .form_text:focus-visible {
    outline: 3px solid #667eea;
    outline-offset: 2px;
  }
  
  /* ローディング状態（オプション） */
  button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
  }
  
  button:disabled:hover {
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
  }
  
  /* アニメーション遅延（順番に表示） */
  .row:nth-child(1) { animation-delay: 0.1s; }
  .row:nth-child(2) { animation-delay: 0.15s; }
  .row:nth-child(3) { animation-delay: 0.2s; }
  .row:nth-child(4) { animation-delay: 0.25s; }
  .row:nth-child(5) { animation-delay: 0.3s; }
  .row:nth-child(6) { animation-delay: 0.35s; }
  .row:nth-child(7) { animation-delay: 0.4s; }


  /* booking-image-container のスタイル（追加） */
.booking-image-container {
  display: flex;
  flex-wrap: wrap; /* 小さい画面で折り返す */
  justify-content: center;
  gap: 15px; /* 画像間のスペース */
  margin: 20px auto;
  max-width: 900px; /* 必要に応じて調整 */
}

.booking-dynamic-image {
  width: 100%;
  max-width: 280px; /* 各画像の最大幅を制御 */
  height: 280px; /* ここで高さを固定します（正方形にする場合） */
  flex: 1 1 auto; /* flexアイテムとしての振る舞いを定義 */
  object-fit: cover; /* 画像が指定された領域を埋めるようにトリミング */
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  animation: fadeIn 0.5s ease-in-out; /* 既存のアニメーション */
}

.booking-dynamic-image:hover {
  transform: scale(1.02);
}

/* スマホ向けに画像サイズを調整する場合 */
@media (max-width: 768px) {
  .booking-dynamic-image {
    max-width: 100%; /* スマホでは全幅に広がるように */
    height: 200px; /* スマホ向けに高さを少し小さくする */
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}


