* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #1a3a5f;
  justify-content: center;
  align-items: center;
  overflow-x: hidden;
}

.header-logo {
  background-color: #fff;
  height: 60px;
  padding: 0 100px;
}
.header-logo .header-logo-content {
  display: inline-block;
}
@media (max-width: 640px) {
  .header-logo .header-logo-content {
    display: flex;
    justify-content: center;
  }
}
.header-logo img {
  height: 60px;
}

.questionnaire-image {
  position: relative;
  aspect-ratio: 16/5;
}
@media (max-width: 992px) {
  .questionnaire-image {
    aspect-ratio: 16/9;
  }
}
.questionnaire-image img {
  width: 100%;
  height: 100%;
  position: absolute;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: right 25%;
     object-position: right 25%;
}
@media (max-width: 992px) {
  .questionnaire-image img {
    -o-object-position: center right;
       object-position: center right;
  }
}

.image-overlay-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 100px;
  z-index: 1;
  background: linear-gradient(to right, rgba(26, 58, 95, 0.7) 0%, rgba(26, 58, 95, 0.4) 50%, transparent 100%);
}
@media (max-width: 1200px) {
  .image-overlay-text {
    padding: 50px 60px;
  }
}
@media (max-width: 992px) {
  .image-overlay-text {
    padding: 40px 40px;
    background: linear-gradient(to right, rgba(26, 58, 95, 0.8) 0%, rgba(26, 58, 95, 0.5) 60%, transparent 100%);
  }
}
@media (max-width: 640px) {
  .image-overlay-text {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px;
    background: linear-gradient(to right, rgba(26, 58, 95, 0.85) 0%, rgba(26, 58, 95, 0.6) 70%, transparent 100%);
  }
}

.overlay-headline {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 60px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 16px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
@media (max-width: 1200px) {
  .overlay-headline {
    font-size: 52px;
  }
}
@media (max-width: 992px) {
  .overlay-headline {
    font-size: 48px;
    margin-bottom: 12px;
  }
}
@media (max-width: 640px) {
  .overlay-headline {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
  }
}
@media (max-width: 450px) {
  .overlay-headline {
    font-size: 28px;
  }
}

.overlay-subheadline {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
@media (max-width: 1200px) {
  .overlay-subheadline {
    font-size: 28px;
  }
}
@media (max-width: 992px) {
  .overlay-subheadline {
    font-size: 24px;
    margin-bottom: 16px;
  }
}
@media (max-width: 640px) {
  .overlay-subheadline {
    font-size: 20px;
    margin-bottom: 12px;
  }
}
@media (max-width: 450px) {
  .overlay-subheadline {
    font-size: 18px;
  }
}

.overlay-message {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 32px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}
@media (max-width: 1200px) {
  .overlay-message {
    font-size: 26px;
  }
}
@media (max-width: 992px) {
  .overlay-message {
    font-size: 26px;
    margin-bottom: 24px;
  }
}
@media (max-width: 640px) {
  .overlay-message {
    font-size: 20px;
    margin-bottom: 10px;
  }
}
@media (max-width: 450px) {
  .overlay-message {
    font-size: 16px;
  }
}

.overlay-features {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 992px) {
  .overlay-features {
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .overlay-features {
    gap: 16px;
    align-items: flex-start;
  }
}

.feature-item {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  white-space: nowrap;
}
@media (max-width: 1200px) {
  .feature-item {
    font-size: 16px;
  }
}
@media (max-width: 992px) {
  .feature-item {
    font-size: 15px;
  }
}
@media (max-width: 640px) {
  .feature-item {
    font-size: 14px;
  }
}
@media (max-width: 450px) {
  .feature-item {
    font-size: 13px;
  }
}

.questionnaire-container {
  width: 100%;
  max-width: 1024px;
  display: flex;
  flex-direction: column;
  margin: 80px auto;
}
@media (max-width: 1200px) {
  .questionnaire-container {
    padding: 0 20px;
    margin: 40px auto;
  }
}
@media (max-width: 992px) {
  .questionnaire-container {
    margin: 40px auto;
  }
}

@media (max-width: 640px) {
  .questionnaire-wrapper {
    background-color: #fff;
    padding: 20px 16px;
    border-radius: 20px;
  }
}

.progress-bar {
  display: flex;
  gap: 6px;
  flex: 1;
  margin-top: 20px;
}
@media (max-width: 640px) {
  .progress-bar {
    gap: 3px;
  }
}

.progress-segment {
  flex: 1;
  height: 12px;
  background-color: #4a5f7a;
  transition: background-color 0.3s ease;
}
@media (max-width: 640px) {
  .progress-segment {
    background-color: #CCC;
  }
}
.progress-segment.filled {
  background-color: #5dade2;
}
.progress-segment:first-child {
  border-radius: 9999px 0 0 9999px;
}
.progress-segment:last-child {
  border-radius: 0 9999px 9999px 0;
}

.progress-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: 1px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .progress-text {
    font-size: 18px;
    color: #000;
  }
}

.question-step {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.question-step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.question-step.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.question-text {
  color: #ffffff;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  margin: 24px 0;
}
@media (max-width: 640px) {
  .question-text {
    color: #000;
    font-size: 20px;
  }
}

.options-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.options-section.three-columns {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 992px) {
  .options-section.three-columns {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .options-section {
    grid-template-columns: 1fr;
  }
  .options-section.three-columns {
    grid-template-columns: 1fr;
  }
}

.checkbox-section {
  grid-template-columns: 1fr;
  gap: 12px;
}

.checkbox-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background-color: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  font-weight: 600;
  color: #000000;
}
@media (max-width: 640px) {
  .checkbox-option {
    font-size: 16px;
    padding: 12px 16px;
  }
}
.checkbox-option:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.checkbox-option input[type=checkbox] {
  width: 24px;
  height: 24px;
  cursor: pointer;
  accent-color: #5dade2;
}
.checkbox-option input[type=checkbox]:checked + span {
  color: #5dade2;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.form-notes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  margin-bottom: 8px;
}
@media (max-width: 640px) {
  .form-notes {
    gap: 4px;
  }
}
.form-notes small {
  color: #ffffff;
  font-size: 14px;
  opacity: 0.8;
}
@media (max-width: 640px) {
  .form-notes small {
    color: #000;
    font-size: 12px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}
@media (max-width: 640px) {
  .form-group label {
    color: #000;
    font-size: 14px;
  }
}
.form-group label .required {
  background-color: #ff6b6b;
  margin-left: 4px;
  font-size: 12px;
  padding: 2px 4px;
  border-radius: 4px;
}
@media (max-width: 640px) {
  .form-group label .required {
    font-size: 10px;
    padding: 2px 4px;
    border-radius: 4px;
    color: #fff;
  }
}
.form-group input {
  font-family: "Noto Sans JP", sans-serif;
  padding: 12px;
  font-size: 16px;
  border: 2px solid #4a5f7a;
  border-radius: 6px;
  background-color: #ffffff;
  color: #000000;
  transition: all 0.3s ease;
}
.form-group input:focus {
  outline: none;
  border-color: #5dade2;
  box-shadow: 0 0 0 3px rgba(93, 173, 226, 0.1);
}
.form-group input::-moz-placeholder {
  color: #999;
}
.form-group input::placeholder {
  color: #999;
}

.option-btn {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #ffffff;
  color: #000000;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  padding: 16px 4px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (max-width: 640px) {
  .option-btn {
    font-size: 16px;
    padding: 12px 16px;
    border: 1px solid #000;
    border-radius: 9999px;
  }
}
.option-btn:hover {
  background-color: #d0d0d0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.option-btn:active {
  transform: translateY(0);
}
.option-btn.selected {
  background-color: #5dade2;
  color: #ffffff;
}

.navigation-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
@media (max-width: 640px) {
  .navigation-section {
    gap: 10px;
  }
}

.prev-btn {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #4a5f7a;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.5s ease;
  min-width: 250px;
}
@media (max-width: 640px) {
  .prev-btn {
    font-size: 16px;
    padding: 12px 16px;
    min-width: 150px;
  }
}
.prev-btn:hover {
  background-color: #5a6f8a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.prev-btn:active {
  transform: translateY(0);
}

.next-btn {
  font-family: "Noto Sans JP", sans-serif;
  background-color: #6c757d;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  padding: 16px 48px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 250px;
}
@media (max-width: 640px) {
  .next-btn {
    font-size: 16px;
    padding: 12px 16px;
    min-width: 150px;
  }
}
.next-btn:hover:not(:disabled) {
  background-color: #5a6268;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.next-btn:active:not(:disabled) {
  transform: translateY(0);
}
.next-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.next-btn:not(:disabled) {
  background-color: #5dade2;
}
.next-btn:not(:disabled):hover {
  background-color: #4a9fd1;
}

.thanks-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}
.thanks-container::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(93, 173, 226, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.thanks-content {
  max-width: 600px;
  width: 100%;
  text-align: center;
  background-color: #ffffff;
  padding: 60px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}
@media (max-width: 640px) {
  .thanks-content {
    padding: 40px 24px;
  }
}
@media (max-width: 450px) {
  .thanks-content {
    padding: 30px 18px;
  }
}

.thanks-title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 32px;
  line-height: 1.4;
}
@media (max-width: 640px) {
  .thanks-title {
    font-size: 24px;
    margin-bottom: 24px;
  }
}
@media (max-width: 450px) {
  .thanks-title {
    font-size: 20px;
    margin-bottom: 24px;
  }
}

.thanks-message {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 1.8;
  margin-bottom: 40px;
}
@media (max-width: 640px) {
  .thanks-message {
    font-size: 14px;
    margin-bottom: 32px;
  }
}
@media (max-width: 450px) {
  .thanks-message {
    font-size: 13px;
    margin-bottom: 24px;
  }
}
.thanks-message p {
  margin-bottom: 16px;
}
.thanks-message p:last-child {
  margin-bottom: 0;
}

.thanks-button-wrapper {
  margin-top: 40px;
}
@media (max-width: 640px) {
  .thanks-button-wrapper {
    margin-top: 32px;
  }
}

.thanks-button {
  font-family: "Noto Sans JP", sans-serif;
  display: inline-block;
  background-color: #28a745;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  padding: 16px 48px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}
@media (max-width: 640px) {
  .thanks-button {
    font-size: 16px;
    padding: 14px 40px;
  }
}
.thanks-button:hover {
  background-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}
.thanks-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(40, 167, 69, 0.2);
}

.footer {
  background-color: #2a4a6a;
  width: 100%;
  padding: 20px 100px;
  margin-top: auto;
}
@media (max-width: 992px) {
  .footer {
    padding: 20px 40px;
  }
}
@media (max-width: 768px) {
  .footer {
    padding: 20px 20px;
  }
}
@media (max-width: 640px) {
  .footer {
    padding: 16px 20px;
  }
}
.footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
}
@media (max-width: 640px) {
  .footer .footer-content {
    flex-direction: column;
    gap: 12px;
    align-items: center;
    flex-direction: column-reverse;
  }
}
.footer .footer-copyright {
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 400;
}
@media (max-width: 640px) {
  .footer .footer-copyright {
    font-size: 13px;
  }
}
.footer .footer-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
@media (max-width: 992px) {
  .footer .footer-nav {
    gap: 20px;
  }
}
.footer .footer-link {
  color: #e0e0e0;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.5s ease;
}
.footer .footer-link:hover {
  text-decoration: underline;
}
@media (max-width: 640px) {
  .footer .footer-link {
    font-size: 13px;
  }
}
.footer .footer-link:hover {
  color: #ffffff;
}/*# sourceMappingURL=style.css.map */