@charset "UTF-8";
/***
    The new CSS reset - version 1.7.2 (last updated 23.6.2022)
    GitHub page: https://github.com/elad2412/the-new-css-reset
***/
/*
    Remove all the styles of the "User-Agent-Stylesheet", except for the 'display' property
    - The "symbol *" part is to solve Firefox SVG sprite bug
 */
*:where(:not(html, iframe, canvas, img, svg, video):not(svg *, symbol *)) {
  all: unset;
  display: revert;
}

/* Reapply the pointer cursor for anchor tags */
a,
button {
  cursor: revert;
}

/* Remove list styles (bullets/numbers) */
ol,
ul,
menu {
  list-style: none;
}

/* For images to not be able to exceed their container */
img {
  max-width: 100%;
}

/* removes spacing between cells in tables */
table {
  border-collapse: collapse;
}

/* Safari - solving issue when using user-select:none on the <body> text input doesn't working */
input,
textarea {
  -webkit-user-select: auto;
}

/* revert the 'white-space' property for textarea elements on Safari */
textarea {
  white-space: revert;
}

/* minimum style to allow to style meter element */
meter {
  -webkit-appearance: revert;
  appearance: revert;
}

/* reset default text opacity of input placeholder */
::placeholder {
  color: unset;
}

/* fix the feature of 'hidden' attribute.
   display:revert; revert to element instead of attribute */
:where([hidden]) {
  display: none;
}

/* revert for bug in Chromium browsers
   - fix for the content editable attribute will work properly.
   - webkit-user-select: auto; added for Safari in case of using user-select:none on wrapper element*/
:where([contenteditable]:not([contenteditable=false])) {
  -moz-user-modify: read-write;
  -webkit-user-modify: read-write;
  overflow-wrap: break-word;
  -webkit-line-break: after-white-space;
  -webkit-user-select: auto;
}

/* apply back the draggable feature - exist only in Chromium and Safari */
:where([draggable=true]) {
  -webkit-user-drag: element;
}

:root {
  --inner-padding: 8vw;
  --hover-opacity: 0.75;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
*::before, *::after {
  pointer-events: none;
}

html {
  overflow: auto;
  font-size: 62.5%;
}

body {
  position: relative;
  overflow: hidden;
  min-width: 320px;
  line-height: 1.8;
  background-color: #ffe1d8;
  font-family: "Zen Maru Gothic", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  -webkit-text-size-adjust: 100%;
  color: #222;
  letter-spacing: 0.04em;
  font-size: clamp(1.4rem, 1.0666666667rem + 0.6944444444vw, 1.6rem);
}
body h1:has(wbr),
body h2:has(wbr),
body h3:has(wbr),
body h4:has(wbr),
body h5:has(wbr),
body h6:has(wbr),
body p:has(wbr) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
body:not(#exercise-check) main {
  border-left: 1px solid #fdf0eb;
  border-right: 1px solid #fdf0eb;
}
body#keep main {
  background-color: #e0f0e2;
}
body#start main {
  background-color: #ffd9cf;
}
body#prepare main {
  background-color: #ffe4c2;
}
body#consider main {
  background-color: #fff9c9;
}
body#before-start main {
  background-color: #eaeaea;
}

.l-wrapper {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  min-height: 100dvh;
}
.l-wrapper main {
  height: 100%;
  background-color: #fdf0eb;
}
@media (min-width: 768px) {
  .l-wrapper main {
    justify-self: center;
    max-width: 500px;
  }
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease-in;
}
@media (min-width: 768px) {
  a:not([class]) {
    text-decoration: underline;
  }
  @media not all and (pointer: coarse) {
    a:not([class]):hover {
      text-decoration: none;
    }
  }
}

span {
  font-weight: inherit;
}

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

button {
  border: none;
  appearance: none;
  caret-color: #E62E8B;
  cursor: pointer;
}
button:focus-visible {
  outline-color: #E62E8B;
}
@media (max-width: 767.98px) {
  button {
    font-size: 1.6rem;
  }
}

.js-modal {
  cursor: pointer;
}

.js-modal-content {
  position: fixed;
  z-index: 9999;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.75);
  opacity: 0;
  transform-origin: center;
  transition: opacity 0.3s;
}
.js-modal-content.is-shown {
  opacity: 1;
}
.js-modal-content.is-shown .js-modal-content__inner {
  transform: translateY(0) scale(1);
}
.js-modal-content__inner {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: auto;
  background-color: #FDF0EB;
  transform: translateY(50px) scale(0.9);
  transition: transform 0.3s;
}
@media (max-width: 956px) and (orientation: landscape) {
  .js-modal-content__inner {
    overflow-y: auto;
  }
}
@media (min-width: 768px) {
  .js-modal-content__inner {
    width: 500px;
  }
}

.js-modal-close {
  position: absolute;
  z-index: 1000;
  top: 10px;
  right: 10px;
  display: inline-block;
  width: 45px;
  height: 45px;
  cursor: pointer;
  text-indent: -100vw;
  overflow: hidden;
}
.js-modal-close::before, .js-modal-close::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 0;
  margin-top: -1px;
  width: 100%;
  height: 2px;
  background-color: #222;
  transform-origin: center;
  transition: all 0.3s ease-in;
}
.js-modal-close::before {
  transform: rotate(45deg);
}
.js-modal-close::after {
  transform: rotate(-45deg);
}
@media not all and (pointer: coarse) {
  .js-modal-close:hover::before, .js-modal-close:hover::after {
    opacity: var(--hover-opacity);
  }
}

/*  .l-header
================================================ */
.l-header {
  width: 100vw;
  height: 45px;
  background-color: #fff;
}
.l-header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding-left: 15px;
  padding-right: 15px;
}
.l-header__logo {
  width: 84px;
}
.l-header__company {
  width: 72px;
}
@media (min-width: 768px) {
  .l-header {
    height: 90px;
  }
  .l-header__inner {
    width: min(100%, 690px);
    margin: auto;
    padding: 0;
  }
  .l-header__logo {
    width: 167px;
  }
  .l-header__company {
    width: 143px;
  }
}

/*  .l-footer
================================================ */
.l-footer {
  padding-top: 30px;
  padding-bottom: 25px;
  background-color: #fff;
  border-top: 4px solid #ff9600;
}
.l-footer__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}
.l-footer__item {
  margin-left: 10px;
  margin-right: 10px;
}
.l-footer__item:first-of-type {
  width: 100px;
}
.l-footer__item:last-of-type {
  width: 220px;
}
.l-footer__credit {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 1rem;
  text-align: center;
}
@media (max-width: 767.98px) {
  .l-footer__list {
    flex-direction: column;
  }
}
@media (min-width: 768px) {
  .l-footer {
    padding-top: 60px;
    padding-bottom: 50px;
    border-top-width: 8px;
  }
  .l-footer__list {
    margin-bottom: 50px;
  }
  .l-footer__item {
    margin-left: 20px;
    margin-right: 20px;
  }
  .l-footer__item:first-of-type {
    width: 126px;
  }
  .l-footer__item:last-of-type {
    width: 250px;
  }
  .l-footer__credit {
    font-size: 1.2rem;
  }
}

.c-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 275px;
  margin-left: auto;
  margin-right: auto;
  padding: 14px 10px 16px 10px;
  border-radius: 100px;
  background: #E62E8B;
  color: #fff;
  margin-top: min(8vw, 40px);
  transition: all 0.3s ease-in;
}
@media not all and (pointer: coarse) {
  .c-button:hover {
    opacity: var(--hover-opacity);
  }
}
.c-button::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  content: "";
  display: inline-block;
  height: 0;
  width: 0;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  border-width: 5px 0 5px 7px;
}

.c-share-button__inner {
  position: relative;
  font-size: 1.8rem;
  text-align: center;
  padding-top: min(8vw, 40px);
  padding-bottom: min(8vw, 40px);
}
.c-share-button__inner::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 1px;
  border-top: 1px dashed #222;
  width: min(84vw, 420px);
}
.c-share-button__head {
  margin-bottom: min(5.3vw, 26.6px);
}
.c-share-button__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: min(13.3vw, 66.6px);
}
.c-share-button__item {
  width: 40px;
}
.c-share-button__back {
  color: #E62E8B;
  text-decoration: underline;
}
@media not all and (pointer: coarse) {
  .c-share-button__back:hover {
    text-decoration: none;
  }
}

.c-check {
  height: 100%;
}
.c-check__question {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  gap: min(8vw, 40px);
}
.c-check__text-area {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 0 auto;
  aspect-ratio: 1/1;
  gap: min(5.3vw, 26.6px);
  width: min(84vw, 420px);
}
.c-check__text-area::before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #fff;
}
.c-check__number, .c-check__text {
  position: relative;
  z-index: 2;
}
.c-check__number {
  font-size: 4rem;
  line-height: 1.4;
  color: #8f82bc;
  text-align: center;
}
.c-check__text {
  text-align: center;
  font-size: clamp(1.8rem, 1.6091603053rem + 0.5089058524vw, 2rem);
}
.c-check__text em {
  color: #E62E8B;
}
.c-check__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.c-check__button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 153px;
  height: 60px;
  gap: 10px;
  border-radius: 100px;
  background-color: #E62E8B;
  color: #fff;
  transition: all 0.3s ease-in;
}
@media not all and (pointer: coarse) {
  .c-check__button:hover {
    opacity: var(--hover-opacity);
  }
}
.c-check__button::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  content: "";
  display: inline-block;
  height: 0;
  width: 0;
  border-style: solid;
  border-color: transparent transparent transparent #fff;
  border-width: 5px 0 5px 7px;
}
.c-check__button--no {
  background-color: #8f82bc;
}
.c-check__attention {
  font-size: 0.7em;
}
.c-check__back {
  color: #E62E8B;
  text-decoration: underline;
  text-align: center;
}
@media not all and (pointer: coarse) {
  .c-check__back:hover {
    text-decoration: none;
  }
}

/* ------------------------------
Device-only Break Classes
主にbrで使用することを想定
その場合、ソースコードはbrの後ろで改行しないこと（改行すると不要なスペースが入る）
使用例：
<p>吾輩は<br class="u-only-sp">猫である</p>
------------------------------ */
@media (max-width: 767.98px) {
  .u-only-sp {
    display: block;
  }
}
@media (min-width: 768px) {
  .u-only-sp {
    display: none !important;
  }
}

@media (max-width: 767.98px) {
  .u-only-pc {
    display: none !important;
  }
}
@media (min-width: 768px) {
  .u-only-pc {
    display: block;
  }
}

/* ------------------------------
Link
------------------------------ */
.u-link {
  display: block;
}
@media not all and (pointer: coarse) {
  .u-link:hover {
    opacity: var(--hover-opacity);
  }
}

/* ------------------------------
 Layout
------------------------------ */
.u-inner {
  width: 100%;
  padding-left: var(--inner-padding);
  padding-right: var(--inner-padding);
}
@media (min-width: 768px) {
  .u-inner {
    max-width: 500px;
    margin: auto;
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* ------------------------------
 Font
------------------------------ */
.u-uppercase {
  text-transform: uppercase;
}

.u-capitalize {
  text-transform: capitalize;
}

.p-intro__inner {
  padding-top: min(8vw, 40px);
  padding-bottom: min(16vw, 80px);
}
.p-intro__image {
  margin-bottom: min(8vw, 40px);
}

.p-result__inner {
  padding-top: min(8vw, 40px);
  padding-bottom: min(16vw, 80px);
}
.p-result__image {
  margin-bottom: min(8vw, 40px);
}
.p-result__enquete {
  text-align: center;
  margin-top: min(12.8vw, 64px);
}