@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        : #F6A5A0;
  --color-secondary      : #000;
  --color-bg : #FFF8F6;

  --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;
}

.l-container {
  width: min(100%, 520px);
  margin-inline: auto;
}

.diagnosis-prologue {
  background: url(../images/bg_prologue_01.webp) 50% 0 / cover no-repeat;
}
.diagnosis-prologue div {
  width: 97.33333%;
  margin: min(24px, calc(16 / var(--sm-base))) auto 0;
}
.diagnosis-prologue div a {
  display: block;
  font-size: 0;
  animation: prologue-button-anim 2s linear infinite;
}
@keyframes prologue-button-anim {
  0%, 100% { transform: translateY(0) }
  50% { transform: translateY(-5%) }
}
.diagnosis-prologue p:nth-of-type(2) {
  width: 18.22222%;
  margin-inline: auto;
  padding-block: min(30px, calc(22 / var(--sm-base))) min(18px, calc(14 / var(--sm-base)));
  font-size: 0;
}

.diagnosis-question-container {
  position: relative;
  width: 100%;
  min-height: min(1220px, calc(885 / var(--sm-base)));
  overflow: hidden;
}
.diagnosis-question-container.--loading {
  min-height: 100svh;
}
.diagnosis-question-contents {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  transition: transform .5s ease, opacity .5s ease;
  transform: translateX(100%);
  opacity: 0;
}
.diagnosis-question-contents.--active {
  transform: translateX(0);
  opacity: 1;
}
.diagnosis-question-contents.slide-out-left {
  transform: translateX(-100%);
  opacity: 0;
}
.diagnosis-question-head {
  position: relative;
  z-index: 2;
}
.diagnosis-question-step {
  position: absolute;
  bottom: 9%;
  left: 50%;
  width: 40.53333%;
  transform: translateX(-50%);
}
.diagnosis-question-body {
  position: relative;
  margin-top: max(-7px, calc(-5 / var(--sm-base)));
  padding: min(45px, calc(30 / var(--sm-base))) min(20px, calc(15 / var(--sm-base))) min(30px, calc(20 / var(--sm-base)));
  background: var(--color-bg);
}
.diagnosis-question-item:not(:first-child) {
  margin-top: 2em;
}
.diagnosis-question-title {
  position: relative;
  padding-left: min(45px, calc(32 / var(--sm-base)));
  font-weight: 700;
}
.diagnosis-question-title::before {
  content: '';
  position: absolute;
  top: 0;
  left: min(2px, calc(2 / var(--sm-base)));
  width: min(27px, calc(20 / var(--sm-base)));
  height: min(32px, calc(24 / var(--sm-base)));
  background: url(../images/icn_question_01.webp) 0 0 / contain no-repeat;
  pointer-events: none;
}
.diagnosis-question-select {
  display: flex;
  gap: min(6px, calc(5 / var(--sm-base)));
  margin-top: min(18px, calc(12 / var(--sm-base)));
}
.diagnosis-question-select label {
  position: relative;
  width: calc(33.33334%);
  cursor: pointer;
}
.diagnosis-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;
}
.diagnosis-question-select label span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: .7em .25em;
  background: #fff;
  border: min(4px, calc(3 / var(--sm-base))) solid var(--color-primary);
  border-radius: 100vmax;
  color: var(--color-default);
  font-size: min(16px, calc(12 / var(--sm-base)));
  line-height: 1;
  font-weight: 700;
  text-align: center;
  transition: background var(--transition), color var(--transition);
}
.diagnosis-question-select label input[type="radio"]:checked + span {
  position: relative;
  background: var(--color-primary);
  color: #fff;
}
.diagnosis-question-button {
  width: min(278px, calc(199 / var(--sm-base)));
  margin: min(28px, calc(20 / var(--sm-base))) auto 0;
}
.diagnosis-question-button.--step02 {
  width: min(414px, calc(299 / var(--sm-base)));
}
.diagnosis-question-button.--step03 {
  width: min(494px, calc(355 / var(--sm-base)));
}
.diagnosis-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%) }
}

.diagnosis-loading {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.diagnosis-loading.--active {
  opacity: 1;
  visibility: visible;
}
.diagnosis-loading-inner {
  position: relative;
}
.diagnosis-loading-inner img {
  display: block;
  width: 78.93333%;
  height: auto;
  margin-inline: auto;
}

.diagnosis-result-cta {
  position: relative;
}
.diagnosis-result-cta-action {
  position: absolute;
  top: 53.5%;
  left: 50%;
  z-index: 2;
  width: 97.06667%;
  transform: translateX(-50%);
}
.diagnosis-result-cta-action a {
  display: block;
  font-size: 0;
  animation: result-button-anim 2s infinite;
}
@keyframes result-button-anim {
  0%, 10%, 20% { transform: translateY(3%) }
  5%, 15%, 25% { transform: translateY(-3%) }
  30% { transform: translateY(0) }
}
.diagnosis-result-media {
  position: relative;
}
.diagnosis-result-media img:nth-of-type(2) {
  position: absolute;
  top: 42.2%;
  left: 50%;
  z-index: 2;
  width: 92%;
  height: auto;
  transform: translateX(-50%);
}



/* ===== Footer fix ===== */

.footer {
  padding: 2em 0;
  text-align: center;
  color: #666;
  line-height: 1.2;
  background-color: #f4f4f4;
  font-size: 12px;
}

.footer ul {
  padding: 0 0 1.5em 0;
  margin: 0;
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5%;
}

.footer ul li {
  padding: 0;
  display: inline-block;
}

.footer ul li:last-child {
  border-right: none;
}

.footer ul a {
  color: #666;
  text-decoration: none;
}

.diagnosis-result-body .bd-none{
  border-bottom: none;
}

@media (hover: hover) and (pointer: fine) {
  .footer ul a:hover {
    text-decoration: underline;
  }
}



@media (hover: hover) and (pointer: fine) {
  footer ul a:hover {
    text-decoration: underline;
  }
}
