html,
body {
  height: 100%;
  max-width: 700px;
  margin: 0 auto;
}

a,
img {
  display: block;
  width: 100%;
}

a {
  cursor: pointer;
}

@media screen and (max-width: 767px) {
  .is-pc {
    display: none;
  }
}

@media screen and (min-width: 768px) {
  .is-sp {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  body {
    max-width: 767px;
    margin: 0 auto;
  }
}
.footer {
  font-size: 12px;
}

.company a {
  color: #b0a8a8;
}

.privacy a {
  color: #b0a8a8;
}/*# sourceMappingURL=style.css.map */

.form-container {
  max-width: 750px;
  width: 100%;
  margin: 20px auto 0;
  padding: 20px;
  background-color: #f5f5f5;
  border-radius: 5px;
  box-sizing: border-box;
  visibility: hidden;
  overflow: hidden;
  height: 0;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

input[type=text], input[type=email], input[type=tel], select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 22px;
  box-sizing: border-box;
}
@media screen and (max-width: 767px) {
  input[type=text], input[type=email], input[type=tel], select {
    font-size: 16px;
    padding: 5px;
  }
}

.submit-btn {
  background: none;
  border: none;
  text-align: center;
}

.form_header {
  display: flex;
  flex-direction: column;
  align-items: center; /* ← これで中身が中央寄せ */
  justify-content: center;
  width: 100%;
  /* 必要に応じてmax-widthやmargin: 0 auto;も */
}

.footer {
  font-size: 14px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 20px;
}

@media screen and (min-width: 768px) {
  /* .footer {
    font-size: 30px;
  } */
}
.info {
  margin-top: 10px;
  line-height: 1.5;
  font-weight: 700;
}

@media screen and (min-width: 768px) {
  .info {
    margin-top: 30px;
    font-weight: 400;
  }
}
.form_title {
  font-size: 40px;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .form_title {
    font-size: 24px;
  }
}

.form_sub_title {
  margin-top: 20px;
  font-size: 24px;
}
@media screen and (max-width: 767px) {
  .form_sub_title {
    font-size: 18px;
    line-height: 1.5;
  }
}

@media screen and (max-width: 767px) {
  .form_sub_title_2 {
    margin-top: 20px;
    font-weight: 700;
  }
}

.cta {
  text-align: center;
}

.form_main_contents {
  padding: 20px;
  background-color: #e0f3f9;
}
@media screen and (max-width: 767px) {
  .form_main_contents {
    padding: 10px;
  }
}

.form-group {
  margin-top: 22px;
}

label {
  font-size: 34px;
  margin-bottom: 8px;
}
@media screen and (max-width: 767px) {
  label {
    font-size: 22px;
  }
}

.gender-options {
  margin-top: 25px;
}
@media screen and (max-width: 767px) {
  .gender-options {
    margin-top: 10px;
  }
}

.gender-option {
  font-size: 22px;
}
@media screen and (max-width: 767px) {
  .gender-option {
    font-size: 16px;
  }
}

.navigation {
  width: 100%;
  margin-top: 20px;
}

.back-button,
.next-button,
.next-button02,
.next-button03 {
  width: 30%;
  margin: 0 auto;
  border: 1px solid #000;
  border-radius: 5px;
}

.next-button,
.next-button02,
.next-button03 {
  background-color: #5BBE5C;
}

.q-btn {
  width: 180px;                /* ボタン幅を完全固定（必要に応じて調整） */
  padding: 10px 0;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  border: 1px solid #222;
  background: #7ed957;         /* 緑色に統一（例: #7ed957） */
  color: #222;                 /* 文字色も調整 */
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  box-sizing: border-box;
}

.q-btn:hover {
  background: #6cc24a;         /* ホバー時の濃い緑 */
}

/* ボタンを横並び＆中央揃え＆間隔を統一 */
.navigation_content {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.gender-options {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.flex-btn {
  margin: 0;
}

.gender_wrapper {
  margin-top: 40px;
}
@media screen and (max-width: 767px) {
  .gender_wrapper {
    margin-top: 20px;
  }
}

.required {
  color: #FF0000;
}

.form_contents:not(:first-child) {
  margin-top: 30px;
}
@media screen and (max-width: 767px) {
  .form_contents:not(:first-child) {
    margin-top: 20px;
  }
}

button {
  cursor: pointer;
}

.hovered {
  transition: opacity 0.3s ease;
}
.hovered:hover {
  opacity: 0.5;
}

.checkbox-label {
    font-size: 16px;
    color: #333;
    margin-top: 10px;
}

.checkbox-label input[type="checkbox"] {
    width: 28px;
    height: 28px;
    cursor: pointer;
}

.checkbox-label span {
    margin-left: 5px;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px; /* 既存デザインに合わせて調整 */
}

.custom-checkbox-label input[type="checkbox"] {
  display: none; /* デフォルトのチェックボックスを非表示 */
}

.custom-checkbox {
  width: 24px;
  height: 24px;
  border: 2px solid #2196f3;
  border-radius: 4px;
  background: #fff;
  margin-right: 10px;
  position: relative;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.custom-checkbox-label input[type="checkbox"]:checked + .custom-checkbox {
  background: #2196f3;
  border-color: #1976d2;
}

.custom-checkbox::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 8px;
  height: 14px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  opacity: 0;
  transform: scale(0.7) rotate(45deg);
  transition: opacity 0.2s;
}

.custom-checkbox-label input[type="checkbox"]:checked + .custom-checkbox::after {
  opacity: 1;
}

.step-remaining {
  text-align: center;
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: bold;
  color: #2196f3;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.step-remaining .highlight {
  display: inline-block;
  background: #e3f2fd;
  border-radius: 8px;
  padding: 0 10px;
  margin: 0 4px;
  font-size: 26px;
  color: #1976d2;
  font-weight: bold;
  animation: pop 0.4s;
}

@keyframes pop {
  0% { transform: scale(1.3); background: #bbdefb; }
  60% { transform: scale(0.9); }
  100% { transform: scale(1); background: #e3f2fd; }
}

#remaining-count {
  display: inline-block;
  font-size: 26px;
  font-weight: bold;
  color: #1976d2;
  transition: color 0.2s;
}

#remaining-count.pop {
  animation: pop-bounce 0.5s cubic-bezier(.68,-0.55,.27,1.55);
  color: #ff4081; /* ポップなピンク色に一瞬変化 */
}

@keyframes pop-bounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.5) rotate(-10deg); }
  50%  { transform: scale(0.8) rotate(8deg);}
  70%  { transform: scale(1.2) rotate(-4deg);}
  100% { transform: scale(1) rotate(0);}
}

.step-indicator {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 24px 0 0 0;
  gap: 18px;
}

.step-dot {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e0e7ef;
  color: #7fa7e6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(127,167,230,0.08);
}

.step-dot.active {
  background: #3b7ddd;
  color: #fff;
  transform: scale(1.18);
  animation: pop-dot 0.35s;
}

.step-dot.completed {
  background: #bfc9d9;
  color: #fff;
}

@keyframes pop-dot {
  0% { transform: scale(1); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1.18); }
}

.progress-bar {
  display: flex;
  align-items: center;
  width: 100%;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2196f3;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: bold;
  box-sizing: border-box;
}

.step.completed .circle {
  background: #4caf50;
  animation: pop 0.3s;
}

.step.active .circle {
  background: #2196f3;
  animation: pop 0.3s;
}

@keyframes pop {
  0% { transform: scale(1); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.check {
  font-size: 20px;
  animation: checkAppear 0.3s;
}

@keyframes checkAppear {
  0% { opacity: 0; transform: scale(0.5);}
  100% { opacity: 1; transform: scale(1);}
}

.label {
  margin-top: 8px;
  font-size: 12px;
  text-align: center;
}

.step.completed .label,
.step.active .label {
  color: #222;
  font-weight: bold;
}

.track-link {
  color: #19b6b6;
  font-weight: bold;
  text-decoration: none;
  font-size: 15px;
}

@media screen and (max-width: 767px) {
  .progress-bar {
    margin: 20px 0 12px 0;
  }
  .circle {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }
  .label {
    font-size: 10px;
    margin-top: 4px;
  }
  .step:not(:last-child)::after {
    height: 3px;
  }
}

/* 「次へ」「送信」ボタンだけ緑色・幅統一 */
.next-button,
.next-button02,
.next-button03,
#submit-button,
.submit-button {
  width: 180px;                /* 必要に応じて調整 */
  padding: 10px 0;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  border: 1px solid #222;
  background: #7ed957;         /* 緑色 */
  color: #222;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  box-sizing: border-box;
}

.next-button:hover,
.next-button02:hover,
.next-button03:hover,
#submit-button:hover,
.submit-button:hover {
  background: #6cc24a;         /* ホバー時の濃い緑 */
}

/* 戻るボタンは灰色 */
.back-button {
  width: 180px;                /* 必要に応じて調整 */
  padding: 10px 0;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
  border: 1px solid #222;
  background: #e0e0e0;         /* 灰色 */
  color: #222;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  box-sizing: border-box;
}

.back-button:hover {
  background: #cccccc;         /* ホバー時の濃い灰色 */
}

/* ボタン横並び・中央揃え・間隔 */
.navigation_content {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.step-progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-bottom: 30px;
  margin-top: 10px; */
  padding-top: 20px;
  background-color: #e0f3f9;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  margin-bottom: 5px;
  border: 3px solid #e0e0e0;
  transition: background 0.3s, border 0.3s;
}

.step.active .circle {
  background: #97efd6;
  border: 3px solid #97efd6;
}

.step.completed .circle {
  background: #97efd6;
  border: 3px solid #97efd6;
  opacity: 0.7;
}

.label {
  font-size: 14px;
  color: #888;
  margin-top: 2px;
}

.step.active .label {
  color: #97efd6;
  font-weight: bold;
}

/* 維持する統一された定義（680行目付近） */
.bar {
  width: 60px;
  height: 4px;
  background: #e0e0e0;  /* 未完了時はグレー */
  margin: 0 8px;
  border-radius: 2px;
  transition: background 0.3s;  /* トランジション効果を追加 */
}

.bar.completed {
  background: #97efd6;  /* 完了時はミントグリーン */
}

@media screen and (max-width: 767px) {
  .label {
    font-size: 10px;
  }

  .circle {
    width: 33px;
    height: 33px;
  }
  
}

.solar-option {
    transition: all 0.3s ease;
    position: relative; /* チェックマークの位置決めのため */
}

.solar-option.selected {
    /* 選択状態の視覚的表現 */
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(151, 239, 214, 0.5); /* #97EFD6の透明度版 */
    border: 2px solid #97EFD6;
    border-radius: 8px;
}

.solar-option:hover {
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(151, 239, 214, 0.3);
}

/* チェックマークのスタイル */
.solar-option.selected::after {
    content: "✓";
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: #97EFD6;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(151, 239, 214, 0.4);
    animation: checkAppear 0.3s ease-out;
}

/* チェックマークが現れるアニメーション */
@keyframes checkAppear {
    0% {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }
    50% {
        transform: scale(1.2) rotate(0deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}