@charset "utf-8";

/* ===========================================
 * Questionnaire
 * ======================================== */

/* anchor
 * ---------------------------------------- */
.pg-section-anchor {
  padding: 70px 0 80px 0;
}

@media screen and (max-width: 767px) {
  .pg-section-anchor {
    padding: 45px 0 25px 0;
  }
}

.pg-anchorItem-qn_wrapper {
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.pg-anchorItem-qn_wrapper > li {
  width: calc(320 / 1020 * 100%);
  margin: calc(33 / 1020 * 100%) calc(30 / 1020 * 100%) 0 0;
}

.pg-anchorItem-qn_wrapper > li:nth-child(3n) {
  margin-right: 0;
}

.pg-anchorItem-qn_wrapper > li:nth-child(-n + 3) {
  margin-top: 0;
}

@media screen and (max-width: 1040px) {
  .pg-anchorItem-qn_wrapper {
    justify-content: space-between;
  }

  .pg-anchorItem-qn_wrapper > li,
  .pg-anchorItem-qn_wrapper > li:nth-child(-n + 3) {
    width: calc(478 / 985 * 100%);
    margin: calc(33 / 1020 * 100%) 0 0 0;
  }

  .pg-anchorItem-qn_wrapper > li:nth-child(-n + 2) {
    margin-top: 0;
  }
}

@media screen and (max-width: 767px) {
  .pg-anchorItem-qn_wrapper {
    display: block;
    padding: 0 6%;
    max-width: 500px;
    margin: 0 auto;
  }

  .pg-anchorItem-qn_wrapper > li,
  .pg-anchorItem-qn_wrapper > li:nth-child(3n),
  .pg-anchorItem-qn_wrapper > li:nth-child(-n + 3),
  .pg-anchorItem-qn_wrapper > li:nth-child(-n + 2) {
    width: 100%;
    margin: 20px 0 0 0;
  }

  .pg-anchorItem-qn_wrapper > li:first-child {
    margin-top: 0;
  }
}

.pg-anchorItem-qn {
  color: #000;
  text-align: center;
  font-size: 14px;
  display: block;
  height: 50px;
  padding: 10px 0 0 0;
  position: relative;
}

.pg-anchorItem-qn.-i-2 {
  padding-right: calc(25 / 316 * 100%);
}

.pg-anchorItem-qn:before {
  content: '';
  display: block;
  width: 100%;
  height: calc(30 / 50 * 100%);
  border-radius: 0 0 14px 14px;
  border-bottom: 1px solid #37a5ff;
  border-right: 1px solid #37a5ff;
  border-left: 1px solid #37a5ff;
  position: absolute;
  bottom: 0;
  left: 0;
}

.pg-anchorItem-qn_arrow {
  display: block;
  width: 34px;
  height: 34px;
  position: absolute;
  top: 0;
  right: calc(13 / 316 * 100%);
}

.pg-anchorItem-qn_arrow svg {
  transform: rotate(90deg);
}

@media (any-hover: hover) {
  .pg-anchorItem-ov:hover {
    opacity: 1;
  }
}

/* questionnaire
 * ---------------------------------------- */

/*
 * section
 */
.pg-section-questionnaire {
  padding: 50px 0 100px 0;
}

.pg-section-questionnaire-last {
  padding: 50px 0 150px 0;
}

@media screen and (max-width: 767px) {
  .pg-section-questionnaire {
    padding: 50px 6% 25px 6%;
  }

  .pg-section-questionnaire-last {
    padding: 50px 6% 80px 6%;
  }
}

/*
 * questionnaire
 */
.pg-questionnaire_title {
  font-weight: normal;
  font-size: 29px;
  line-height: 1.4;
  margin: 0 0 90px 0;
}

@media screen and (max-width: 767px) {
  .pg-questionnaire_title {
    font-size: 32px;
    line-height: 1.5;
    margin: 0 0 40px 0;
  }
}

.pg-questionnaire_img {
  border-radius: 20px;
  overflow: hidden;
}

/* img-fit */
.pg-questionnaire_img-fit {
  height: auto;
  background: transparent;
  position: relative;
}

.pg-questionnaire_img-fit:before {
  content: '';
  width: 102%;
  height: 102%;
  background: #fff;
  position: absolute;
  top: -1%;
  left: -1%;
}

.pg-questionnaire_img-fit img {
  display: block;
  position: relative;
}

@media screen and (min-width: 768px) and (max-width: 1259px) {
  .pg-questionnaire_img-fit {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }

  .pg-questionnaire_img-fit:before {
    opacity: 0;
  }

  .pg-questionnaire_img-fit img {
    display: none;
  }
}

/* .pg-questionnaire_img-fit {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.pg-questionnaire_img-fit img {
  display: none;
}

@media screen and (max-width: 767px) {
  .pg-questionnaire_img-fit {
    height: auto;
    background: none !important;
  }

  .pg-questionnaire_img-fit img {
    display: block;
  }
} */

.pg-questionnaireItem {
  font-size: clamp(12px, calc(14 / 1260 * 100vw), 14px);
  line-height: 1.8;
  text-align: justify;
  border-radius: 20px;
  background: rgba(158, 212, 255, 0.25);
  padding: min(calc(28 / 1260 * 100vw), 28px) min(calc(25 / 1260 * 100vw), 25px);
}

@media screen and (max-width: 767px) {
  .pg-questionnaireItem {
    font-size: 14px;
    padding: min(calc(60 / 650 * 100%), 30px) calc(60 / 650 * 100%);
  }
}

.pg-questionnaireItem.-color-a {
  background: rgba(158, 212, 255, 0.25);
}

.pg-questionnaireItem.-color-b {
  background: rgba(102, 163, 255, 0.25);
}

.pg-questionnaireItem.-color-c {
  background: rgba(102, 178, 255, 0.25);
}

.pg-questionnaireItem_name {
  font-weight: bold;
  margin: 0.1em 0 0 0;
}

.pg-questionnaireContainer {
  display: grid;
  gap: min(calc(35 / 1260 * 100vw), 35px);
}

@media screen and (max-width: 767px) {
  .pg-questionnaireContainer {
    display: block;
  }

  .pg-questionnaireContainer > * + * {
    /* margin-top: calc(30 / 650 * 100%); */
    margin-top: 15px;
  }
}

.pg-questionnaireContainer + .pg-questionnaireContainer {
  margin-top: min(calc(60 / 1260 * 100vw), 60px);
}

@media screen and (max-width: 767px) {
  .pg-questionnaireContainer + .pg-questionnaireContainer {
    /* margin-top: calc(30 / 650 * 100%); */
    margin-top: 15px;
  }
}

.pg-questionnaireContainer.-lyt-aa {
  grid-template-columns: 1fr 1fr;
}

.pg-questionnaireContainer.-lyt-aaa {
  grid-template-columns: 1fr 1fr 1fr;
}

.pg-questionnaireContainer.-lyt-b-sw {
  grid-template-columns: calc(388 / 1020 * 100%) 1fr;
}

.pg-questionnaireContainer.-lyt-b-ws {
  grid-template-columns: 1fr calc(388 / 1020 * 100%);
}

.pg-questionnaireContainer.-lyt-c-ws {
  grid-template-columns: 1fr calc(316 / 1020 * 100%);
}

/* 12-3 */
.pg-questionnaireContainer.-arrangement-12-3 > *:nth-child(1) {
  grid-row: 1/2;
  grid-column: 1/2;
}

.pg-questionnaireContainer.-arrangement-12-3 > *:nth-child(2) {
  grid-row: 2/3;
  grid-column: 1/2;
}

.pg-questionnaireContainer.-arrangement-12-3 > *:nth-child(3) {
  grid-row: 1/3;
  grid-column: 2/3;
}

/* 1-23 */
.pg-questionnaireContainer.-arrangement-1-23 > *:nth-child(1) {
  grid-row: 1/3;
  grid-column: 1/2;
}

.pg-questionnaireContainer.-arrangement-1-23 > *:nth-child(2) {
  grid-row: 1/2;
  grid-column: 2/3;
}

.pg-questionnaireContainer.-arrangement-1-23 > *:nth-child(3) {
  grid-row: 2/3;
  grid-column: 2/3;
}

/* 123-4 */
.pg-questionnaireContainer.-arrangement-123-4 > *:nth-child(1) {
  grid-row: 1/2;
  grid-column: 1/2;
}

.pg-questionnaireContainer.-arrangement-123-4 > *:nth-child(2) {
  grid-row: 2/3;
  grid-column: 1/2;
}

.pg-questionnaireContainer.-arrangement-123-4 > *:nth-child(3) {
  grid-row: 3/4;
  grid-column: 1/2;
}

.pg-questionnaireContainer.-arrangement-123-4 > *:nth-child(4) {
  grid-row: 1/4;
  grid-column: 2/3;
}

/* qnc3-8 */
.pg-questionnaireContainer.-i-qnc3-8 {
  grid-template-columns: calc(316 / 1020 * 100%) 1fr calc(252 / 1020 * 100%);
}

.pg-questionnaireContainer.-i-qnc3-8 > *:nth-child(1) {
  grid-row: 1/3;
  grid-column: 1/2;
}

.pg-questionnaireContainer.-i-qnc3-8 > *:nth-child(2) {
  grid-row: 1/2;
  grid-column: 2/4;
}

.pg-questionnaireContainer.-i-qnc3-8 > *:nth-child(3) {
  grid-row: 3/4;
  grid-column: 1/2;
}

.pg-questionnaireContainer.-i-qnc3-8 > *:nth-child(4) {
  grid-row: 2/4;
  grid-column: 2/4;
}

.pg-questionnaireContainer.-i-qnc3-8 > *:nth-child(5) {
  grid-row: 4/5;
  grid-column: 1/3;
}

.pg-questionnaireContainer.-i-qnc3-8 > *:nth-child(6) {
  grid-row: 4/5;
  grid-column: 3/4;
}

/*
 * inview
 */
.pg-questionnaireItem {
  transition: all 600ms;
  transform: translateY(50px);
  opacity: 0;
}

.pg-questionnaireContainer.is-inview > .pg-questionnaireItem {
  transform: translateY(0);
  opacity: 1;
}

.pg-questionnaireContainer.is-inview > *:nth-child(1) {
  transition-delay: 0.1s;
}

.pg-questionnaireContainer.is-inview > *:nth-child(2) {
  transition-delay: 0.3s;
}

.pg-questionnaireContainer.is-inview > *:nth-child(3) {
  transition-delay: 0.5s;
}

.pg-questionnaireContainer.is-inview > *:nth-child(4) {
  transition-delay: 0.7s;
}

.pg-questionnaireContainer.is-inview > *:nth-child(5) {
  transition-delay: 0.9s;
}

.pg-questionnaireContainer.is-inview > *:nth-child(6) {
  transition-delay: 1.1s;
}

.pg-questionnaireContainer.is-inview > *:nth-child(7) {
  transition-delay: 1.3s;
}

.pg-questionnaireContainer.is-inview > *:nth-child(8) {
  transition-delay: 1.5s;
}

.pg-questionnaireContainer.is-inview > *:nth-child(9) {
  transition-delay: 1.7s;
}

.pg-questionnaireContainer.is-inview > *:nth-child(10) {
  transition-delay: 1.9s;
}

.pg-questionnaireContainer_item.-inview-r {
  transition: all 600ms;
  transform: translateX(80px);
  opacity: 0;
}

.pg-questionnaireContainer_item.-inview-l {
  transition: all 600ms;
  transform: translateX(-80px);
  opacity: 0;
}

.pg-questionnaireContainer.is-inview > .pg-questionnaireContainer_item.-inview-r,
.pg-questionnaireContainer.is-inview > .pg-questionnaireContainer_item.-inview-l {
  transform: translateX(0);
  opacity: 1;
}
