/* 全体のスタイル */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 800px;
    width: 90%;
    margin-top: 20px;
}
@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 800px;
        width: 80%;
    }
}

h1 {
    font-size: 22px;
    color: #008EC0;
    text-align: center;
    margin-bottom: 10px;
}

h6 {
    font-size: 16px;
    color: #555;
    margin-top: 20px;
    margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="radio"],
input[type="checkbox"],
select {
    width: 100%;
    padding: 10px;
    margin: 5px 0 20px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="radio"],
input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

input[type="radio"] + label,
input[type="checkbox"] + label {
    display: inline-block;
    margin-right: 20px;
}

button {
    width: 100%;
    background-color: #008EC0;
    color: white;
    padding: 14px 20px;
    margin: 8px 0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

button:hover {
    background-color: #008EC0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

.themed-grid-col {
    padding: 15px;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.mb-3 {
    margin-bottom: 1rem !important;
}

.h-adr {
    margin-top: 20px;
}

.h-adr .row {
    margin-bottom: 10px;
}

.h-adr input[type="text"] {
    margin-bottom: 10px;
}

/* 必須項目のスタイル */
.required {
    background-color: #D70035;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
}

/* プログレスバーの固定表示用スタイル */
.sticky-progress-container {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #fff;
  padding: 10px 0;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* プログレスバーのサイズ調整 */
.sticky-progress-container .progress {
  height: 25px;
  border-radius: 5px;
}

/* プログレスバーのテキスト調整 */
.sticky-progress-container .progress-bar {
  font-size: 14px;
  font-weight: bold;
  line-height: 25px;
}
.required {
    margin-left: 10px;
}

/* 画面幅が狭い場合にラジオボタンを縦に並べる */
@media (max-width: 576px) {
  .btn-group.w-100 {
    display: flex;
    flex-direction: column;
  }

  .btn-group.w-100 > label {
    width: 100%; /* ラベルの幅を100%にする */
    margin-bottom: 0.5rem; /* ラベルの下に余白を追加 */
  }
}