@charset 'UTF-8';

/* Reset
-------------------------------------------------- */
*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@media (prefers-reduced-motion: reduce) {
  *,
  ::before,
  ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-delay: 0s !important;
    transition-duration: 1ms !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
  }
}
html {
  block-size: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  tab-size: 4;
}
body {
  min-block-size: 100%;
  text-rendering: optimizeSpeed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block;
}
:where(img, iframe) {
  border: none;
}
:where(img, picture, svg) {
  max-inline-size: 100%;
  block-size: auto;
}
:where(img) {
  image-rendering: -webkit-optimize-contrast;
}
:where(svg) {
  stroke: none;
  fill: currentColor;
}
:where(svg):where(:not([fill])) {
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word;
}
:where(h1, h2, h3) {
  line-height: calc(1em + .5rem);
}
ul:where([class]),
ol:where([class]),
nav ul,
nav ol {
  list-style: none;
}
ul:where(:not([class])) {
  margin-left: .875em;
}
ol:where(:not([class])) {
  margin-left: 1.25em;
}
:where(table) {
  border-collapse: collapse;
  border-spacing: 0;
}
:where(sub, sup) {
  font-size: 68.75%;
  line-height: 1.02;
}
:where(sub) {
  vertical-align: baseline;
}
:where(hr) {
  border: none;
  border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible;
}
:where(template) {
  display: none;
}
:where(a) {
  background: transparent;
  text-decoration-skip: objects;
  -webkit-tap-highlight-color: rgba(0, 0, 0, .25);
}
:where(a:active, a:hover) {
  outline-width: 0;
}
:where(a img) {
  pointer-events: none;
}
:where(a, area, button, input, label[for], select, textarea, summary, [role='button'], [tabindex]:not([tabindex*="-"])) {
  cursor: pointer;
  touch-action: manipulation;
}
:where(summary) {
  list-style: none;
}
:where(summary)::-webkit-details-marker {
  display: none;
}
:where(code, kbd, pre, samp) {
  font-family: Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace;
}
:where(pre) {
  display: block;
  overflow: auto;
}
:where(code) {
  overflow-wrap: break-word;
}
:where(pre code) {
  word-break: normal;
}
:where(dialog) {
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1000;
  width: fit-content;
  height: fit-content;
  padding: 1em;
  background: inherit;
  border: solid;
  color: inherit;
  transform: translate(-50%, -50%);
}
:where(dialog:not([open])) {
  display: none;
}
:where(fieldset) {
  border: none;
}
:where(input, textarea, select, button),
:where(input[type="file"])::-webkit-file-upload-button {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  vertical-align: bottom;
  appearance: none;
}
:where(textarea) {
  resize: vertical;
  resize: block;
  overflow: auto;
  overflow-anchor: none;
}
:where(input[type="file"])::-webkit-file-upload-button,
:where(input[type="file"])::file-selector-button {
  cursor: pointer;
}
:where(:disabled, :disabled + label),
:where(input[type="file"]):disabled::-webkit-file-upload-button,
:where(input[type="file"]):disabled::file-selector-button,
:where([disabled], [aria-disabled="true"]) {
  cursor: not-allowed;
}
:where([type="color"])::-webkit-color-swatch-wrapper {
  padding: 0;
}
:where([type="color"])::-webkit-color-swatch {
  border: none;
  border-radius: 0;
}
:where([type="color"])::-moz-color-swatch {
  border: none;
  border-radius: 0;
}
:where([hidden]) {
  display: none;
}
:where([aria-busy="true"]) {
  cursor: progress;
}
:where([aria-controls]) {
  cursor: pointer;
}



/* Foundation
-------------------------------------------------- */
:root {
  --sm-base: 375 * 100vw;

  --color-default        : #000;
  --color-gray           : #000;
  --color-primary        : #207EDB;
  --color-secondary      : #000;

  --font-sansSerif    : 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'BIZ UDPGothic', Meiryo, 'Segoe UI', 'Helvetica Neue', Helvetica, sans-serif;
  --font-serif        : 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', Garamond, 'Times New Roman', serif;
  --font-sansSerif-en : -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, sans-serif;
  --font-serif-en     : Garamond, 'Times New Roman', serif;

  --transition          : .25s ease;
  --transition-duration : .25s;
  --hover-opacity       : .6;
}

body {
  width: 100%;
  background: #fff;
  color: var(--color-default);
  font-family: var(--font-sansSerif);
  font-size: clamp(12px, calc(16 / var(--sm-base)), 22px);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}
a {
  color: var(--color-default);
  text-decoration: none;
  text-underline-offset: .275em;
}
a:where(:not([class])) {
  color: var(--color-primary);
  text-decoration: underline;
}
@media (hover: hover) and (pointer: fine) {
  a:where(:not([class])):hover {
    text-decoration: none;
  }
  a img,
  button img {
    transition: opacity var(--transition);
  }
  a:hover img,
  button:hover img {
    opacity: var(--hover-opacity);
  }
}
input, textarea, button, select, option, optgroup {
  font-size: min(32px, calc(16 / var(--sm-base)));
}
::selection {
  background-color: var(--color-primary);
  color: #fff;
  text-shadow: none;
}
::placeholder {
  color: #999;
  opacity: 1;
}

.quiz-prologue {
  width: min(100%, 540px);
  margin-inline: auto;
}
.quiz-prologue-head {
  height: min(590px, calc(410 / var(--sm-base)));
  background: url(../images/bg_prologue_01.png) 0 0 / contain no-repeat;
}
.quiz-prologue-label {
  padding: min(20px, calc(14 / var(--sm-base))) min(32px, calc(22 / var(--sm-base))) 0;
}
.quiz-prologue-heading {
  margin: max(-16px, calc(-12 / var(--sm-base))) min(36px, calc(25 / var(--sm-base))) 0;
}
.quiz-prologue-foot {
  padding-bottom: min(40px, calc(30 / var(--sm-base)));
  background: url(../images/bg_prologue_02.png) 0 0 / 100% auto repeat-y;
}
.quiz-prologue-text01 {
  padding: min(20px, calc(13 / var(--sm-base))) min(110px, calc(77 / var(--sm-base))) 0;
}
.quiz-prologue-text02 {
  padding: min(2px, calc(1 / var(--sm-base))) min(100px, calc(70 / var(--sm-base))) 0;
}
.quiz-prologue-button {
  padding: min(2px, calc(1 / var(--sm-base))) min(8px, calc(5 / var(--sm-base))) 0;
}
.quiz-prologue-button a {
  display: block;
  animation: prologue-button-anim 1.3s ease infinite;
}
@keyframes prologue-button-anim {
  0%, 30%, 70% { transform: scale(1); }
  15%, 45% { transform: scale(1.0375); }
}

.quiz-question {
  width: min(100%, 540px);
  margin-inline: auto;
  background: url(../images/bg_question_01.png) 0 0 / 100% auto repeat-y;
}
.quiz-question-step {
  margin-bottom: min(35px, calc(20 / var(--sm-base)));
}
.quiz-question-container {
  position: relative;
  width: 100%;
  min-height: min(1640px, calc(1133 / var(--sm-base)));
  overflow: hidden;
}
.quiz-page {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform .5s ease, opacity .5s ease;
  transform: translateX(100%);
  opacity: 0;
  z-index: 1;
}
.quiz-page.active {
  transform: translateX(0);
  opacity: 1;
  /* z-indexはjs制御 */
}
.quiz-page.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}
.quiz-question-row {
  margin-inline: min(22px, calc(16 / var(--sm-base)));
  padding-block: min(14px, calc(10 / var(--sm-base))) min(30px, calc(20 / var(--sm-base)));
  border-bottom: min(2px, calc(1 / var(--sm-base))) solid var(--color-primary);
}
.quiz-question-title {
  display: flex;
  align-items: center;
  font-weight: 700;
}
.quiz-question-title::before {
  content: '';
  display: block;
  width: min(46px, calc(32 / var(--sm-base)));
  height: min(56px, calc(39 / var(--sm-base)));
  background: url(../images/icn_question_01.png) 0 0 / contain no-repeat;
}
.quiz-question-title span {
  display: block;
  flex: 1;
  padding-left: min(4px, calc(2 / var(--sm-base)));
  line-height: 1.4;
  letter-spacing: .025em;
}
[data-question-number="1"] .quiz-question-title span {
  margin-right: -.5em;
}
.quiz-question-select {
  display: flex;
  justify-content: center;
  gap: min(8px, calc(5 / var(--sm-base)));
  margin-top: min(25px, calc(18 / var(--sm-base)));
}
.quiz-question-select label {
  position: relative;
  width: min(135px, calc(94 / var(--sm-base)));
  cursor: pointer;
}
.quiz-question-select label input[type="radio"] {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: none;
  border: none;
  border-radius: 0;
  appearance: none;
  opacity: 0;
  cursor: pointer;
}
.quiz-question-select label span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding-block: min(12px, calc(8 / var(--sm-base)));
  background: #fff;
  border: min(4px, calc(3 / var(--sm-base))) solid var(--color-primary);
  border-radius: min(8px, calc(6 / var(--sm-base)));
  box-shadow: 0 min(6px, calc(4 / var(--sm-base))) 0 rgba(0, 0, 0, .3);
  color: var(--color-primary);
  line-height: 1;
  font-weight: 700;
  text-align: center;
  transition: background var(--transition), color var(--transition);
}
.quiz-question-select label input[type="radio"]:checked + span {
  position: relative;
  top: min(6px, calc(4 / var(--sm-base)));
  background: var(--color-primary);
  box-shadow: none;
  color: #fff;
}
.quiz-question-button {
  margin: min(20px, calc(14 / var(--sm-base))) min(12px, calc(8 / var(--sm-base))) 0;
}
.quiz-question-button button {
  display: block;
  animation: question-button-anim 2s linear infinite;
}
@keyframes question-button-anim {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(-5%) }
 }

.quiz-loading {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100svh;
}
.quiz-loading-inner {
  position: relative;
  width: min(100%, 540px);
  margin-inline: auto;
}
.quiz-loader {
  position: absolute;
  top: 24.5%;
  left: 50%;
  width: 1em;
  height: 1em;
  font-size: .6em;
  border-radius: 50%;
  text-indent: -9999em;
  animation: loader-circle 1.1s infinite ease;
  transform: translateX(-50%);
}
@keyframes loader-circle {
  0%,
  100% {
    box-shadow:
      0 -2.1em 0 0 #207edb,
      1.4em -1.5em 0 0 rgba(32, 126, 219, .2),
      2em -.1em 0 0 rgba(32, 126, 219, .2),
      1.5em 1.2em 0 0 rgba(32, 126, 219, .2),
      0 1.8em 0 0 rgba(32, 126, 219, .2),
      -1.5em 1.2em 0 0 rgba(32, 126, 219, .2),
      -2em -.1em 0 0 rgba(32, 126, 219, .5),
      -1.4em -1.5em 0 0 rgba(32, 126, 219, .7)
    ;
  }
  12.5% {
    box-shadow:
      0 -2.1em 0 0 rgba(32, 126, 219, .7),
      1.4em -1.5em 0 0 #207edb,
      2em -.1em 0 0 rgba(32, 126, 219, .2),
      1.5em 1.2em 0 0 rgba(32, 126, 219, .2),
      0 1.8em 0 0 rgba(32, 126, 219, .2),
      -1.5em 1.2em 0 0 rgba(32, 126, 219, .2),
      -2em -.1em 0 0 rgba(32, 126, 219, .2),
      -1.4em -1.5em 0 0 rgba(32, 126, 219, .5)
    ;
  }
  25% {
    box-shadow:
      0 -2.1em 0 0 rgba(32, 126, 219, .5),
      1.4em -1.5em 0 0 rgba(32, 126, 219, .7),
      2em -.1em 0 0 #207edb,
      1.5em 1.2em 0 0 rgba(32, 126, 219, .2),
      0 1.8em 0 0 rgba(32, 126, 219, .2),
      -1.5em 1.2em 0 0 rgba(32, 126, 219, .2),
      -2em -.1em 0 0 rgba(32, 126, 219, .2),
      -1.4em -1.5em 0 0 rgba(32, 126, 219, .2)
    ;
  }
  37.5% {
    box-shadow:
      0 -2.1em 0 0 rgba(32, 126, 219, .2),
      1.4em -1.5em 0 0 rgba(32, 126, 219, .5),
      2em -.1em 0 0 rgba(32, 126, 219, .7),
      1.5em 1.2em 0 0 #207edb,
      0 1.8em 0 0 rgba(32, 126, 219, .2),
      -1.5em 1.2em 0 0 rgba(32, 126, 219, .2),
      -2em -.1em 0 0 rgba(32, 126, 219, .2),
      -1.4em -1.5em 0 0 rgba(32, 126, 219, .2)
    ;
  }
  50% {
    box-shadow:
      0 -2.1em 0 0 rgba(32, 126, 219, .2),
      1.4em -1.5em 0 0 rgba(32, 126, 219, .2),
      2em -.1em 0 0 rgba(32, 126, 219, .5),
      1.5em 1.2em 0 0 rgba(32, 126, 219, .7),
      0 1.8em 0 0 #207edb,
      -1.5em 1.2em 0 0 rgba(32, 126, 219, .2),
      -2em -.1em 0 0 rgba(32, 126, 219, .2),
      -1.4em -1.5em 0 0 rgba(32, 126, 219, .2)
    ;
  }
  62.5% {
    box-shadow:
      0 -2.1em 0 0 rgba(32, 126, 219, .2),
      1.4em -1.5em 0 0 rgba(32, 126, 219, .2),
      2em -.1em 0 0 rgba(32, 126, 219, .2),
      1.5em 1.2em 0 0 rgba(32, 126, 219, .5),
      0 1.8em 0 0 rgba(32, 126, 219, .7),
      -1.5em 1.2em 0 0 #207edb,
      -2em -.1em 0 0 rgba(32, 126, 219, .2),
      -1.4em -1.5em 0 0 rgba(32, 126, 219, .2)
    ;
  }
  75% {
    box-shadow:
      0 -2.1em 0 0 rgba(32, 126, 219, .2),
      1.4em -1.5em 0 0 rgba(32, 126, 219, .2),
      2em -.1em 0 0 rgba(32, 126, 219, .2),
      1.5em 1.2em 0 0 rgba(32, 126, 219, .2),
      0 1.8em 0 0 rgba(32, 126, 219, .5),
      -1.5em 1.2em 0 0 rgba(32, 126, 219, .7),
      -2em -.1em 0 0 #207edb,
      -1.4em -1.5em 0 0 rgba(32, 126, 219, .2)
    ;
  }
  87.5% {
    box-shadow:
      0 -2.1em 0 0 rgba(32, 126, 219, .2),
      1.4em -1.5em 0 0 rgba(32, 126, 219, .2),
      2em -.1em 0 0 rgba(32, 126, 219, .2),
      1.5em 1.2em 0 0 rgba(32, 126, 219, .2),
      0 1.8em 0 0 rgba(32, 126, 219, .2),
      -1.5em 1.2em 0 0 rgba(32, 126, 219, .5),
      -2em -.1em 0 0 rgba(32, 126, 219, .7),
      -1.4em -1.5em 0 0 #207edb
    ;
  }
}

.quiz-thanks {
  width: min(100%, 540px);
  margin-inline: auto;
}
.quiz-thanks-contents {
  height: min(838px, calc(582 / var(--sm-base)));
  background: url(../images/bg_thanks_01.png) 0 0 / contain no-repeat;
}
.quiz-thanks-label {
  padding: min(41px, calc(28 / var(--sm-base))) min(33px, calc(22 / var(--sm-base))) 0;
}
.quiz-thanks-heading {
  padding: min(55px, calc(38 / var(--sm-base))) min(90px, calc(62 / var(--sm-base))) 0;
}
.quiz-thanks-result {
  padding: min(220px, calc(153 / var(--sm-base))) min(54px, calc(38 / var(--sm-base))) 0;
}
.quiz-thanks-button {
  position: relative;
  padding-inline: min(8px, calc(5 / var(--sm-base)));
}
.quiz-thanks-button span {
  position: absolute;
  top: 8%;
  left: 50%;
  z-index: 2;
  width: 92%;
  height: 77%;
  border-radius: 100vmax;
  transform: translateX(-50%);
  overflow: hidden;
  pointer-events: none;
}
.quiz-thanks-button span::before {
  position: absolute;
  content: '';
  display: inline-block;
  top: -180px;
  left: 0;
  width: 10%;
  height: 100%;
  background-color: rgba(255, 255, 255, .75);
  animation: thanks-button-anim 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes thanks-button-anim {
  0%, 53%, 100% { transform: scale(0) rotate(45deg); opacity: 0; }
  20% { transform: scale(0) rotate(45deg); opacity: 0.5; }
  23% { transform: scale(4) rotate(45deg); opacity: 1; }
  50% { transform: scale(50) rotate(45deg); opacity: 0; }
}

footer {
  padding-block: 1.5em;
  background: #F4F4F4;
  color: #666;
  font-size: min(14px, calc(12 / var(--sm-base)));
  text-align: center;
}
footer ul {
  display: flex;
  justify-content: center;
  list-style: none;
}
footer ul li:first-child {
  margin-right: 2em;
}
footer ul li a {
  color: #666;
}