/* ===============================
   基本設定
=============================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.7;
  color: #3f4f63;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  padding-top: 85px;
}
.inner {
    max-width: 900px;
}
.form-note {
    margin: 30px 0;
}
.form-note a {
    border-bottom: 1px solid;
}
/* ===============================
   ステップ表示
=============================== */
ul.casual-info {
    text-align: center;
    margin-top: 20px;
}
.form-steps {
  display: flex;
  margin: 40px 0;
  border-radius: 5px;
  border: 1.5px solid #f15a24;
}

.form-steps div {
  position: relative;
  flex: 1;
  text-align: center;
  padding: 5px 0;
}

.form-steps div:not(:first-child) {
  margin-left: 20px;
}

.step1 {
  background: #f15a24;
  color: #fff;
}

.step1::after,
.step2::after {
  content: "";
  position: absolute;
  top: 0;
  right: -20px;
  border-top: 32px solid transparent;
  border-bottom: 32px solid transparent;
  border-left: 20px solid #f15a24;
  z-index: 2;
}

.step2::before {
  content: "";
  position: absolute;
  top: 2px;
  right: -18px;
  border-top: 30px solid transparent;
  border-bottom: 30px solid transparent;
  border-left: 18px solid #fff;
  z-index: 3;
}

.step3::after {
  display: none;
}

/* ===============================
   フォーム全体
=============================== */
.contact-form {
  max-width: 800px;
  margin: 40px auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.form-group {
  display: flex;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

.form-group label {
  width: 200px;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  flex: 1;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #254a73;
}

/* ===============================
   ラジオボタン（←ここ重要）
=============================== */
.radio-group,.checkbox-group {
  display: flex;
  flex-wrap: wrap;
}

.radio-group input[type="radio"] {
  margin-right: 5px; /* ←ここで調整 */
}

/* ===============================
   日付入力
=============================== */
.date-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.date-row span {
  width: 70px;
  text-align: center;
}

input[type="date"],
input[type="time"] {
  background: #fff;
  border: 1px solid #ddd;
  -webkit-appearance: auto;
  appearance: auto;
}

/* ===============================
   ボタン
=============================== */
.form-button {
  text-align: center;
  margin: 30px 0 50px;
}

.form-button button,
.form-button a {
  position: relative;
  background: #f15a24;
  color: #fff;
  padding: 16px 50px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 0 #c44717;
  transition: 0.2s;
	margin:0 30px;
}

.form-button button:hover {
  background: #d94e1f;
  transform: translateY(2px);
}
.casual-text {
    text-align: center;
	margin-top:20px;
}
.date-group p {
    text-align: center;
    padding: 20px;
}
.date-group {
    width: 80%;
}
.contact-p {
 	text-align:center;
}
ul.contact-p li a {
    text-decoration: underline;
}

/* ===============================
   スマホ対応
=============================== */
@media (max-width: 768px) {

  .form-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .form-group label {
    width: 100%;
  }

  .radio-group,.checkbox-group {
    gap: 8px;
	flex-direction: column;
  }

  .date-row {
    align-items: flex-start;
	flex-direction: column;
  }

  .date-row input {
    width: 100%;
  }

  .form-steps {
    font-size: 13px;
  }

  .form-card {
    padding:0;
  }

  .form-button button {
    width: 100%;
	margin-left:0;
  }
    .inner {
        padding: 0;
    }
h2.section-title {
        font-size: 28px;
    }
.section-subtitle {
    font-size: 18px;
}
.step1::after, .step2::after {
    right: -19px;
    border-top: 28px solid transparent;
    border-bottom: 28px solid transparent;
}
.step2::before {
    top: -2px;
    right: -16px;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 18px solid #fff;
}
 .form-group select, .form-group textarea {
    width: 80%;
    margin: 0 auto;
}
.casual-text {
    font-size: 16px;
}
.footer-top {
    padding: 60px 20px;
}
label.checkbox {
    font-size: 14px;
}
    p.form-note {
        margin-top: 20px;
        margin-bottom: 20px;
        font-size: 14px;
    }
.casual-entry {
    padding-bottom: 50px;
}
.date-group {
    width: 100%;
}
.form-group input, .form-group select, .form-group textarea {
    width: 90%;
    margin: 0 auto;
}
.date-group p {
    font-size: 14px;
    padding: 0 0 10px;
}
input[type="radio"] {
	width: fit-content;
}
.contact-p {
    font-size: 14px;
}
.contact-p li {
    margin: 10px 0;
}
}