*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #5a4e44;
  background: #faf7f3;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
p,
ul {
  margin: 0;
  padding: 0;
}

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

button {
  font-family: inherit;
}

.shindan {
  width: 100%;
}
.shindan__inner {
  max-width: 1280px;
  margin-inline: auto;
  padding: clamp(32px, -4px + 4.6875vw, 56px) clamp(16px, 10px + 0.78125vw, 20px) clamp(56px, -4px + 7.8125vw, 96px);
}
@media (max-width: 767px) {
  .shindan__inner {
    padding: 16px 16px 48px;
  }
}
.shindan__noscript {
  margin-top: 24px;
  text-align: center;
  font-size: 14px;
}

.quiz {
  max-width: 1200px;
  margin-inline: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(90, 78, 68, 0.1);
  overflow: hidden;
}
.quiz__step {
  display: none;
}
.quiz__step.is-active {
  display: block;
  animation: quiz-fade 0.35s ease;
}
@media (prefers-reduced-motion: reduce) {
  .quiz__step.is-active {
    animation: none;
  }
}
.quiz__sky {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.quiz__hero {
  position: relative;
}
.quiz__hero-img {
  width: 100%;
  aspect-ratio: 5/3;
  object-fit: cover;
}
@media (max-width: 767px) {
  .quiz__hero-img {
    aspect-ratio: 5/4;
  }
}
.quiz__hero-copy {
  position: absolute;
  left: 0;
  bottom: clamp(14px, -1px + 1.953125vw, 24px);
}
.quiz__hero-title {
  display: inline-block;
  padding: 5px 40px 8px 30px;
  background: linear-gradient(135deg, rgb(209, 189, 173) 0%, rgb(126, 104, 82) 100%);
  color: #fff;
  font-size: clamp(24px, -37.5px + 8.0078125vw, 65px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.06em;
}
.quiz__hero-lines {
  margin-top: clamp(16px, 4px + 1.5625vw, 24px);
}
.quiz__hero-line {
  display: block;
  width: fit-content;
  margin-top: clamp(8px, -4px + 1.5625vw, 16px);
  padding: 5px 30px 8px 30px;
  background: #fff;
  color: #5a4e44;
  font-size: clamp(20px, -25px + 5.859375vw, 50px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.04em;
}
.quiz__intro {
  position: relative;
  isolation: isolate;
  padding: clamp(28px, 10px + 2.34375vw, 40px) clamp(14px, -25px + 5.078125vw, 40px);
  background: #f7f4ef;
  text-align: center;
}
.quiz__intro-title {
  position: relative;
  z-index: 2;
  display: inline-block;
  color: #928272;
  font-size: clamp(20px, -47.5px + 8.7890625vw, 65px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
}
.quiz__intro-title span {
  position: relative;
  padding-bottom: 5px;
  border-bottom: 1px solid #928272;
}
.quiz__intro-text {
  position: relative;
  z-index: 2;
  margin-top: clamp(14px, 5px + 1.171875vw, 20px);
  color: #000;
  font-size: clamp(12px, -45px + 7.421875vw, 50px);
  line-height: 1.9;
}
.quiz__body {
  padding: clamp(28px, 4px + 3.125vw, 44px) clamp(20px, -34px + 7.03125vw, 56px) clamp(32px, 8px + 3.125vw, 48px);
}
.quiz__body-inner {
  max-width: 1000px;
  margin-inline: auto;
}
.quiz__question {
  display: flex;
  align-items: flex-start;
  gap: clamp(8px, -1px + 1.171875vw, 14px);
  font-size: clamp(15px, -52.5px + 8.7890625vw, 60px);
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: #928272;
}
.quiz__question:focus {
  outline: none;
}
.quiz__num {
  flex-shrink: 0;
  margin-top: 0.1em;
  padding: 0 0.8em;
  border-radius: 999px;
  background: #a39482;
  color: #fff;
  font-size: 0.85em;
  line-height: 1.6;
}
.quiz__q-text {
  flex: 1;
}
.quiz__choices {
  display: grid;
  gap: clamp(10px, 1px + 1.171875vw, 16px);
  margin-top: clamp(18px, 3px + 1.953125vw, 28px);
}

@keyframes quiz-fade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.choice {
  --r: clamp(36px, -18px + 7.03125vw, 72px);
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: var(--r);
  padding: 0 20px 0 calc(var(--r) + 14px);
  border: 0;
  background: none;
  color: #5a4e44;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 767px) {
  .choice {
    --r: 36px;
    padding-left: calc(var(--r) + 12px);
  }
}
.choice::before {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  left: calc(var(--r) / 2);
  right: 0;
  border-radius: 0 999px 999px 0;
  background: #f1ede8;
  transition: background 0.2s;
}
.choice__radio {
  position: absolute;
  top: 50%;
  left: 0;
  width: var(--r);
  height: var(--r);
  transform: translateY(-50%);
  border: 4px solid #928272;
  border-radius: 50%;
  background: #fff;
}
.choice__radio::after {
  content: "";
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: #928272;
  transform: scale(0);
  transition: transform 0.15s;
}
.choice__text {
  position: relative;
  padding: 8px 0;
  line-height: 1.5;
  font-size: clamp(18px, -30px + 6.25vw, 50px);
}
@media (hover: hover) {
  .choice:hover::before {
    background: #ebe4dc;
  }
}
.choice.is-selected::before {
  background: #e7d9c8;
}
.choice.is-selected .choice__radio::after {
  transform: scale(1);
}
.choice:focus-visible {
  outline: 3px solid #928272;
  outline-offset: 2px;
  border-radius: 999px;
}
@media (prefers-reduced-motion: reduce) {
  .choice::before, .choice__radio::after {
    transition: none;
  }
}

footer {
  background: #947f61;
  padding: clamp(36px, 15px + 2.734375vw, 50px) 0;
}
footer img {
  display: block;
  margin: 0 auto;
}
@media (max-width: 767px) {
  footer {
    padding: 28px 16px;
  }
  footer img {
    max-width: 60%;
  }
}

/*# sourceMappingURL=shindan.css.map */
