/* リセットCSS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* レイアウト全体 */
.new_lxl-itm-contents-inner {
  padding: 20px;
  position: relative;
}

.new_lxl-h1 {
  font-size: 2em;
  margin-bottom: 20px;
  text-align: center;
}

/* カタログ請求前の注意事項セクション */
.catalog-info-section {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 8px;
  background-color: #fefefe;
}

.catalog-info-section h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: black;
  /* タイトルを黒字に設定 */
}

.catalog-info-section p {
  margin-bottom: 10px;
  color: #555;
  line-height: 1.5;
  font-weight: bold;
  /* 特定の文章を太字に設定 */
}

/* カタログ請求前の注意事項セクション */
.vacation-info-section {
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  background-color: #fefefe;
}

.vacation-info-section h2 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: red;
  text-align: center;
  /* タイトルを黒字に設定 */
}

.vacation-info-section strong {
  margin-bottom: 10px;
  line-height: 1.5;
  font-weight: bold;
  /* 特定の文章を太字に設定 */
}

/* リストのみを赤線で囲む */
.catalog-info-list {
  border: 2px solid red;
  /* リスト用の赤い境界線 */
  padding: 10px;
  border-radius: 5px;
  background-color: #fff9f9;
}

.catalog-info-list ul {
  list-style-type: disc;
  padding-left: 20px;
  color: #555;
}

.catalog-info-list ul li {
  margin-bottom: 8px;
  line-height: 1.4;
}

.catalog-info-list ul li em {
  color: #000;
  font-weight: bold;
}

/* カートリスト */
.new_lxl-cart,
.new_lxl-cart-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.new_lxl-cart-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
  position: relative;
}

.catalog-thumbnail {
  flex: 0 0 150px;
  max-width: 150px;
  margin-right: 20px;
}

.catalog-thumbnail img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.catalog-details {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
}

.catalog-details .catalog-name {
  font-weight: bold;
  font-size: 1.5em;
  /* フォントサイズを大きく設定 */
  margin-bottom: 10px;
}

.catalog-details p {
  display: flex;
  margin: 5px 0;
  font-size: 1.1em;
}

.catalog-details .label {
  width: 120px;
  /* ラベルの固定幅 */
  font-weight: normal;
}

.catalog-details .value {
  flex: 1;
}

.catalog-actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

/* ボタンスタイル */
.button-grey,
.button-orange {
  color: #fff !important;
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  font-size: 1em;
}

.button-grey {
  background-color: #a3a2a2;
}

.button-orange {
  background-color: #ef7b00;
}

.button-grey:hover,
.button-orange:hover {
  opacity: 0.8;
}

/* 無効化されたボタン */
.button-orange.disabled {
  background-color: #ccc;
  /* ボタン色をグレーに */
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none;
  /* クリックを無効化 */
  text-decoration: none;
  /* 下線を消す（リンクの場合） */
}

/* ステータスメッセージ */
.catalog-status,
.error-summary,
.error-message {
  color: red;
}

.catalog-status,
.error-summary {
  margin-top: 10px;
}

.error-message {
  font-weight: bold;
}

/* ボタンコンテナ */
.new_lxl-cart-button {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  margin-top: 30px;
  gap: 20px;
}

/* カートを空にするボタン */
#empty-cart {
  margin-top: 20px;
  text-align: right;
}

/* 修正: ビジネス情報サイトでの請求セクションのスタイル */
.request-section {
  margin-top: 40px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f1f1f1;
}

.service-description {
  margin-bottom: 20px;
  font-size: 1.2em;
  color: #333;
  text-align: center;
}

.request_section-buttons {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.button-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.button-column p {
  margin-bottom: 10px;
  font-size: 1.1em;
  color: #555;
  text-align: center;
}

.request_section-buttons a.button-orange {
  padding: 10px;
  font-size: 1em;
  text-align: center;
}

/* 「カタログ選択に戻る」ボタンのスタイル調整 */
.new_lxl-cart-button {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .new_lxl-cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-thumbnail {
    margin-right: 0;
    margin-bottom: 15px;
  }

  #empty-cart {
    text-align: center;
  }

  .request_section-buttons {
    flex-direction: column;
  }

  .request_section-buttons a.button-orange {
    width: 100%;
  }

  .button-column {
    width: 100%;
  }
}

/* 追加: フォームスタイル */
.billing-form {
  margin-top: 40px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f1f1f1;
}

.billing-form h2 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 2.5em;
  /* 文字サイズを大きく */
}

.billing-form fieldset {
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 10px 20px 20px 20px;
  margin-bottom: 20px;
}

.billing-form legend {
  font-weight: bold;
  padding: 0 10px;
  font-size: 1.2em;
  /* 文字サイズを大きく */
}

/* 一般的なフォームグループのスタイルを保持 */
.billing-form .form-group {
  margin-bottom: 15px;
}

/* 入力フィールドのみ幅を100%に設定（ラジオボタンは除外） */
.billing-form input:not([type="radio"]),
.billing-form select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-left: 8px;
  margin-right: 8px;
}

.billing-form input[type="radio"] {
  margin-left: 8px;
}

.billing-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.billing-form .required {
  color: red;
  margin-left: 5px;
}

.billing-form .flex-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.billing-form .flex-row .form-group {
  flex: 1 1 300px;
  /* 最小幅を設定してレスポンシブ調整 */
}

.billing-form button {
  width: 100%;
  padding: 10px;
  background-color: #ef7b00;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1em;
}

.billing-form button:hover {
  opacity: 0.9;
}

/* スタイルの調整: 一般的なフォームグループ */
.form-section {
  margin-bottom: 20px;
}

/* ラジオボタン専用のグループに適用 */
.radio-group {
  display: flex;
  flex-direction: column;
  /* 縦に並べる */
  gap: 8px;
  /* ラジオボタン間のスペースを縮小 */
  max-width: 60%;
  /* 必要に応じて調整 */
}

.radio-group .form-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  /* 余白を削除 */
  width: 100%;
}

.radio-group .form-group label {
  white-space: nowrap;
  /* テキストの折り返しを防止 */
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  /* ラベルが必要以上のスペースを取らないように */
}

/* 追加: 項目説明用 */
.item-description {
  margin: 10px 0;
  font-size: 1em;
  color: #555;
}

/* 追加: 電話番号入力のスタイル（単一入力用に調整済み） */
.phone-inputs {
  display: flex;
  align-items: center;
  /* レイアウト調整 */
  gap: 5px;
  margin-top: 8px;
}

.phone-inputs input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* 不要になったセパレーターのスタイルを削除 */
.phone-separator {
  display: none;
}

/* 確認画面用のスタイル */
.confirm-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.confirm-container h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 1.2em;
}

.confirm-description {
  text-align: center;
  margin-bottom: 20px;
}

.confirm-section {
  margin-bottom: 20px;
}

.confirm-section h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
  border-bottom: 1px solid #ccc;
  padding-bottom: 5px;
}

.confirm-section p {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1.1em;
}

.confirm-section p strong {
  width: 150px;
  /* ラベルの固定幅を設定 */
  display: inline-block;
  font-weight: bold;
}

.confirm-section p span {
  flex: 1;
}

.confirm-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.button-grey,
.button-orange {
  color: #fff !important;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  display: inline-block;
  font-size: 1em;
}

.button-grey {
  background-color: #a3a2a2;
}

.button-orange {
  background-color: #ef7b00;
}

.button-grey:hover,
.button-orange:hover {
  opacity: 0.8;
}

.alert-message {
  color: red;
  font-weight: bold;
  margin-top: 20px;
  text-align: center;
}

.cart-top-section {
  border: 2px solid #ccc;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 5px;
  background-color: #f9f9f9;
  border-color: #ef7a00;
}

.cart-content {
  display: flex;
  padding-top: 10px;
}

.cart-left {
  width: 30%;
  font-weight: bold;
}

.cart-right {
  width: 70%;
}

.cart-right ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 0;
}

.cart-right p {
  margin-top: 10px;
  font-weight: bold;
}