/* ページ全体の背景とマージン設定 */
body {
    background-color: rgb(255, 255, 255);
    margin: 1rem 5%;
  }
  
  /* 見出しの装飾 */
  h2 {
    border-bottom: solid #1e366a 1px; /* 線を描画 (solid:1本線, #1e366a: 16進数カラーコード, 1px: 文字の太さ) */
  }
  h1, h2, h3 {
    font-family: sans-serif, "游ゴシック体", "YuGothic", "游ゴシック", "Yu Gothic"; /* 左から優先して見つかったフォントを適用する(游ゴシック) */
  }
  
  /* 支払方法リスト全体の設定 */
  ul.payment-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  ul.payment-list li {
    margin-bottom: 12px;
  }
  
  /* 各支払方法の枠デザイン */
  ul.payment-list label {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    padding: 0px 0px;
    margin: 0;
    cursor: pointer;
    width: 100%;
    height: 6vh;
    box-sizing: border-box;
  }
  
  ul.payment-list label:hover {
    background-color: #f0f0f0;
  }
  
  /* ラジオボタンのスタイル */
  ul.payment-list input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: #0078d4;
  }
  
  /* 支払方法テキスト部分 */
  .payment-texts {
    display: flex;
    flex-direction: column;
  }
  
  .payment-title {
    font-size: 14px;
    font-weight: bold;
  }
  
  .payment-note {
    font-size: 12px;
    color: #666;
  }
  
  /* フッターに固定する送信ボタンのデザイン */
  button.fixed-submit-button {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6vh;
    box-sizing: border-box;
    padding: 1rem;
    background-color: rgb(242, 31, 31);
    color: white;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    text-decoration: none;
    z-index: 99999;
    border: none;
    outline: none;
    cursor: pointer;  
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .table-style {
    margin: 1rem 0 1rem;
    border-collapse: collapse;
    border: 2px solid rgb(140, 140, 140);
    font-family: sans-serif;
    font-size: 0.8rem;
    letter-spacing: 1px;
    background-color: rgb(255, 255, 255);
    width: 100%;
}
.table-style th,
.table-style td {
    border: 1px solid rgb(140, 140, 140);
    padding: 8px;
    text-align: left;
}

.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

#total p {
  margin-top: 0;
  margin-bottom: 0;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}
