@charset "UTF-8";

/* mitsumori_start.php 専用スタイル */

.form-container {
  max-width: 480px;
  margin: 30px auto;
  padding: 30px 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: none;
  box-sizing: border-box;
}

@media (max-width: 500px) {
  .form-container {
    margin: 0 auto;
    border-radius: 0;
    padding: 24px 16px;
  }
}

.form-title {
  font-size: 24px;
  font-weight: bold;
  color: #ffa011;
  text-align: center;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.form-subtitle {
  font-size: 15px;
  color: #333;
  text-align: center;
  line-height: 1.5;
  margin: 0 0 24px 0;
}

/* ステップバー画像 */
.step-box {
  border: 1px solid #ffa011;
  border-radius: 6px;
  padding: 30px 12px;
  margin-bottom: 30px;
  text-align: center;
  background-color: #fff;
}

.step-img {
  width: 100%;
  height: auto;
  display: block;
}

/* フォーム項目 */
.field-group {
  margin-bottom: 20px;
}

.field-label {
  display: block;
  font-size: 15px;
  font-weight: bold;
  color: #333;
  margin-bottom: 8px;
}

.field-input,
.field-select {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  font-size: 15px;
  color: #333;
  border: 1px solid #707070;
  border-radius: 6px;
  box-sizing: border-box;
  background-color: #fff;
  transition: border-color 0.2s ease;
}

.field-input:focus,
.field-select:focus {
  outline: none;
  border-color: #ffa011;
}

.field-input::placeholder {
  color: #a6a6a6;
}

.field-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23707070" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.field-select:invalid,
.field-select option[value=""] {
  color: #a6a6a6;
}

.field-select option {
  color: #333;
}

/* 送信ボタン */
.btn-submit {
  display: block;
  width: 100%;
  max-width: 347px;
  height: 48px;
  margin: 90px auto 0;
  background-color: #ffca00;
  color: #333;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.1s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-submit:hover {
  opacity: 0.9;
}

.btn-submit:active {
  transform: scale(0.99);
}
