.container {
	height: fit-content;
}
.page {
  width: 100%;
  max-width: 1080px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
}

select {
  	max-width: 300px;
  }

@media (max-width: 767px) {
  .page {
  width: 100%;
  max-width: unset;
    padding-inline: 10px;
    padding-bottom: 50px;
  }
  .wpcf7-form-control-wrap {
    width: 100%;
    display: flex;
  }
  .wpcf7,
  input,
  select {
    width: 100%;
  }
  .wpcf7 {
  	margin-bottom: 50px;
  }
  select {
  	max-width: 200px;
  }
  .wpcf7-radio {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 300px !important;
  }
  .wpcf7-list-item {
    display: flex !important;
    align-items: center;
    margin: 0 !important;
    gap: 10px;
  }
  .wpcf7-list-item-label {
    min-width: fit-content;
  }
}
/* お問い合わせ確認画面 */
.confirm-list {
  width: 100%;
  max-width: 600px;
  margin: 20px 0 30px;
  border-top: 1px solid #ddd;
}

.confirm-list dt {
  padding: 12px 0 4px;
  font-weight: bold;
  font-size: 14px;
  color: #666;
}

.confirm-list dd {
  padding: 0 0 12px;
  margin: 0;
  border-bottom: 1px solid #eee;
  font-size: 16px;
  line-height: 1.6;
  word-break: break-all;
}

.confirm-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.confirm-buttons input[type="submit"] {
  padding: 12px 32px;
  border: none;
  cursor: pointer;
  font-size: 15px;
}

.confirm-buttons input[value*="戻る"] {
  background: #fff;
  border: 1px solid #E8481C;
  color: #E8481C;
}

.confirm-buttons input[value*="送信"] {
  background: #E8481C;
  color: #fff;
}

@media (max-width: 767px) {
  .confirm-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .confirm-buttons input[type="submit"] {
    width: 100%;
  }
}
/* 20260726追加  資料請求ページの下部が見切れるのを調整 */
.page {
  padding-bottom: 60px;
}

.confirm-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  margin-bottom: 80px;
}
/* 20260726追加  資料請求ページのレイアウト調整 */
.wpcf7 form p {
  margin-bottom: 32px;
}

.wpcf7-form-control-wrap {
  display: block;
  margin-top: 8px;
}
/* 20260726追加  資料請求ページの入力ボタンをオレンジに */
.wpcf7-form input[type="submit"] {
  padding: 12px 32px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  background: #E8481C;
  color: #fff;
}