table.defTable01 tr{
  display: flex;
  align-items: center;
}
/* セレクトボックスとラジオボタンのスタイリング */

/* セレクトボックスのスタイリング */
.defTable01 select {
  width: 100%;
  max-width: 300px;
  padding: 8px 12px;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  background-color: #fff;
  background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.3s ease;
  margin-bottom: 10px; /* 追加: マージンを設定 */
}

.defTable01 select:focus {
  border-color: #4f342c;
  outline: none;
  box-shadow: 0 0 0 2px rgba(79, 52, 44, 0.2);
}

.defTable01 select:hover {
  border-color: #999;
}

/* ラジオボタンのスタイリング */
.defTable01 input[type="radio"] {
  display: none;
}

.defTable01 label {
  display: inline-block;
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.5;
  user-select: none;
  transition: color 0.3s ease;
}

.defTable01 label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.3s ease;
}

.defTable01 label:after {
  content: '';
  position: absolute;
  left: 6px;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #4f342c;
  transform: scale(0);
  transition: transform 0.3s ease;
}

.defTable01 input[type="radio"]:checked + label:before {
  border-color: #4f342c;
}

.defTable01 input[type="radio"]:checked + label:after {
  transform: scale(1);
}

.defTable01 label:hover:before {
  border-color: #999;
}

/* ラジオボタンのグループ化 */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.radio-group label {
  margin-bottom: 0;
}

/* セレクトボックスと追加入力のコンテナ */
.select-with-other {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ラジオボタンと追加入力のコンテナ */
.radio-with-other {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .defTable01 select {
    max-width: 100%;
  }
  
  .radio-with-other {
    flex-direction: column;
    align-items: flex-start;
  }
}
