/* LESS Document */
@keyframes opacity {
  to {
    opacity: 1;
  }
}
section {
  margin: 70px 0 100px;
}
/*+++++++++++++++++++++++++++++++++++++++++++
  dataArea
+++++++++++++++++++++++++++++++++++++++++++ */
.dataArea {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 38px;
}
@media (width <= 1023px) {
  .dataArea {
    display: block;
    padding: 0 10px;
  }
}
.dataArea .dataItem {
  max-width: 650px;
  width: 100%;
  min-width: 0;
  padding: 16px;
  background: #FFF;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.03);
}
@media (width <= 1023px) {
  .dataArea .dataItem {
    max-width: none;
    margin: 0 auto 24px;
  }
}
.dataArea .dataItem h2 {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 25px;
  align-items: center;
  justify-content: flex-start;
  font-size: 3.6rem;
  font-weight: 900;
}
@media (width <= 767px) {
  .dataArea .dataItem h2 {
    font-size: 7.2vw;
  }
}
.dataArea .dataItem h2 span {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: linear-gradient(90deg, #DD0F41, #182BA3);
  color: #FFF;
  font-family: "Rubik", sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
}
@media (width <= 767px) {
  .dataArea .dataItem h2 span {
    width: 15vw;
    height: 15vw;
    font-size: 6.4vw;
  }
}
/*+++++++++++++++++++++++++++++++++++++++++++
  dataArea
+++++++++++++++++++++++++++++++++++++++++++ */
.num {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}
@media (width <= 767px) {
  .num {
    font-size: 8vw;
  }
}
.num span {
  display: inline-block;
  font-size: 12.8rem;
  font-family: "Rubik", sans-serif;
  font-weight: 700;
}
@media (width <= 767px) {
  .num span {
    font-size: 24vw;
  }
}
/*+++++++++++++++++++++++++++++++++++++++++++
  q1
+++++++++++++++++++++++++++++++++++++++++++ */
.q1 {
  text-align: center;
}
.q1 .num {
  color: #DD0F41;
}
/*+++++++++++++++++++++++++++++++++++++++++++
  q2
+++++++++++++++++++++++++++++++++++++++++++ */
.q2 .graf_wrap {
  max-width: 346px;
  margin: 15px auto 0;
  position: relative;
}
.q2 .graf_wrap .q2_text {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  inset: 0;
  text-align: center;
  opacity: 0;
  animation: opacity 1s 2s forwards;
}
.q2 .graf_wrap .q2_text .num {
  color: #C5124D;
}
/*+++++++++++++++++++++++++++++++++++++++++++
  q3
+++++++++++++++++++++++++++++++++++++++++++ */
.q3 h2 {
  margin: 0 0 54px;
}
.q3_wrap {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
}
.q3_wrap .num {
  color: #AD1659;
  position: absolute;
  top: 32px;
  right: 28px;
}
@media (width <= 767px) {
  .q3_wrap .num {
    position: static;
  }
}
@media (width <= 767px) {
  .q3_wrap img {
    display: block;
    margin: 0 auto;
  }
}
/*+++++++++++++++++++++++++++++++++++++++++++
  q4
+++++++++++++++++++++++++++++++++++++++++++ */
.q4 .num {
  text-align: center;
  color: #951965;
}
/* 親要素：5個×2列のグリッド配置 */
.rating-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 10px 32px;
  max-width: 528px;
  margin: 25px auto 15px;
}
.rating-container .icon {
  max-width: 80px;
  width: 100%;
  height: 80px;
  -webkit-mask-image: url('../img/umbrella-beach.png.png');
  mask-image: url('../img/umbrella-beach.png.png');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  background-color: #AFAFAF;
  position: relative;
}
@media (width <= 767px) {
  .rating-container .icon {
    height: 12vw;
  }
}
.rating-container .icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(to top, #F3C8E2, #D289B6);
  /* 変更後の色 */
  /* 左から右へ塗るアニメーション設定 */
  transition: width 0.2s linear;
  /* 1番目から10番目まで順番に遅延させる（上段➔下段の順） */
  transition-delay: calc((var(--i) - 1) * 0.15s);
}
/* --------------------------------------------------
  指定した値（--val）に応じて色を塗りつぶす判定
-------------------------------------------------- */
.rating-container.is-active .icon::before {
  width: var(--fill-width, 0%);
}
/*+++++++++++++++++++++++++++++++++++++++++++
  q5
+++++++++++++++++++++++++++++++++++++++++++ */
.q5 h2 {
  margin: 0 0 70px;
}
.q5_wrap {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: right;
  position: relative;
}
.q5_wrap .num {
  color: #7B1D72;
  position: absolute;
  top: -32px;
  left: 28px;
}
@media (width <= 767px) {
  .q5_wrap .num {
    position: static;
  }
}
@media (width <= 767px) {
  .q5_wrap img {
    display: block;
    margin: 0 auto;
  }
}
/*+++++++++++++++++++++++++++++++++++++++++++
  q6
+++++++++++++++++++++++++++++++++++++++++++ */
.q6 h2 {
  margin: 0 0 5px;
}
.q6_wrap {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 12px;
  text-align: right;
  position: relative;
}
.q6_wrap .num {
  color: #64207D;
  position: absolute;
  top: 120px;
  left: 28px;
}
@media (width <= 767px) {
  .q6_wrap .num {
    position: static;
  }
}
@media (width <= 767px) {
  .q6_wrap img {
    display: block;
    margin: 0 auto;
  }
}
/*+++++++++++++++++++++++++++++++++++++++++++
  q7
+++++++++++++++++++++++++++++++++++++++++++ */
.q7.dataItem {
  max-width: none;
  grid-column: 1 / -1;
}
.q7 .grafWrap {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 4px;
  padding: 0 24px;
}
@media (width <= 767px) {
  .q7 .grafWrap {
    gap: 16px;
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
  }
}
.q7 .grafWrap.graf_start .grafWrap_item[data-name="20代"] {
  animation: q7_20 1s ease-in forwards;
}
@media (width <= 767px) {
  .q7 .grafWrap.graf_start .grafWrap_item[data-name="20代"] .grafWrap_item_bar {
    animation: q7_20_sp 1s ease-in forwards;
  }
}
.q7 .grafWrap.graf_start .grafWrap_item[data-name="30代"] {
  animation: q7_30 1s ease-in forwards;
}
@media (width <= 767px) {
  .q7 .grafWrap.graf_start .grafWrap_item[data-name="30代"] .grafWrap_item_bar {
    animation: q7_30_sp 1s 0.1s ease-in forwards;
  }
}
.q7 .grafWrap.graf_start .grafWrap_item[data-name="40代"] {
  animation: q7_40 1s ease-in forwards;
}
@media (width <= 767px) {
  .q7 .grafWrap.graf_start .grafWrap_item[data-name="40代"] .grafWrap_item_bar {
    animation: q7_40_sp 1s 0.2s ease-in forwards;
  }
}
.q7 .grafWrap.graf_start .grafWrap_item[data-name="50代"] {
  animation: q7_50 1s ease-in forwards;
}
@media (width <= 767px) {
  .q7 .grafWrap.graf_start .grafWrap_item[data-name="50代"] .grafWrap_item_bar {
    animation: q7_50_sp 1s 0.3s ease-in forwards;
  }
}
.q7 .grafWrap.graf_start .grafWrap_item[data-name="60代"] {
  animation: q7_60 1s ease-in forwards;
}
@media (width <= 767px) {
  .q7 .grafWrap.graf_start .grafWrap_item[data-name="60代"] .grafWrap_item_bar {
    animation: q7_60_sp 1s 0.4s ease-in forwards;
  }
}
.q7 .grafWrap.graf_start .grafWrap_item .num {
  animation: opacity 1s 1s ease-out forwards;
}
.q7 .grafWrap_item {
  flex-basis: 0;
  flex-grow: 1;
  padding: 140px 0 60px;
  transition: flex-grow 1s;
  position: relative;
}
@media (width <= 767px) {
  .q7 .grafWrap_item {
    flex-grow: 1!important;
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 360px;
    padding: 80px 0 0;
  }
}
.q7 .grafWrap_item[data-name="20代"] .num {
  color: #DD0F41;
}
@media (width <= 767px) {
  .q7 .grafWrap_item[data-name="20代"] .num {
    bottom: calc(60% - 80px);
  }
}
.q7 .grafWrap_item[data-name="20代"] .grafWrap_item_bar {
  background: #DD0F41;
}
.q7 .grafWrap_item[data-name="30代"] .num {
  color: #AD1659;
}
@media (width <= 767px) {
  .q7 .grafWrap_item[data-name="30代"] .num {
    bottom: calc(100% - 110px);
    font-size: 4rem;
  }
}
@media (width <= 767px) {
  .q7 .grafWrap_item[data-name="30代"] .num span {
    font-size: 6.4rem;
  }
}
.q7 .grafWrap_item[data-name="30代"] .grafWrap_item_bar {
  background: #AD1659;
}
.q7 .grafWrap_item[data-name="40代"] .num {
  color: #7A1D72;
}
@media (width <= 767px) {
  .q7 .grafWrap_item[data-name="40代"] .num {
    bottom: calc(77.6% - 90px);
  }
}
.q7 .grafWrap_item[data-name="40代"] .grafWrap_item_bar {
  background: #7A1D72;
}
.q7 .grafWrap_item[data-name="50代"] .num {
  color: #49248B;
}
@media (width <= 767px) {
  .q7 .grafWrap_item[data-name="50代"] .num {
    bottom: calc(89% - 100px);
  }
}
.q7 .grafWrap_item[data-name="50代"] .grafWrap_item_bar {
  background: #49248B;
}
.q7 .grafWrap_item[data-name="60代"] .num {
  color: #182BA3;
}
@media (width <= 767px) {
  .q7 .grafWrap_item[data-name="60代"] .num {
    bottom: 50px;
  }
}
.q7 .grafWrap_item[data-name="60代"] .grafWrap_item_bar {
  background: #182BA3;
}
.q7 .grafWrap_item_bar {
  width: 100%;
  height: 65px;
  background: #AF1C40;
}
@media (width <= 767px) {
  .q7 .grafWrap_item_bar {
    width: 50px;
    height: 0;
  }
}
.q7 .grafWrap_item:not([data-name="30代"]) .num {
  font-size: 4rem;
}
@media (width <= 1023px) {
  .q7 .grafWrap_item:not([data-name="30代"]) .num {
    font-size: 3.2rem;
  }
}
@media (width <= 767px) {
  .q7 .grafWrap_item:not([data-name="30代"]) .num {
    font-size: 2.4rem;
  }
}
.q7 .grafWrap_item:not([data-name="30代"]) .num span {
  font-size: 6.4rem;
}
@media (width <= 1023px) {
  .q7 .grafWrap_item:not([data-name="30代"]) .num span {
    font-size: 4.8rem;
  }
}
@media (width <= 767px) {
  .q7 .grafWrap_item:not([data-name="30代"]) .num span {
    font-size: 3.2rem;
    letter-spacing: -1px;
  }
}
.q7 .grafWrap_item .num {
  margin: 0;
  text-align: center;
  white-space: nowrap;
  position: absolute;
  bottom: 126px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
}
.q7 .grafWrap_item .age {
  margin: 0;
  text-align: center;
  font-size: 3.6rem;
  font-weight: bold;
  white-space: nowrap;
  color: #818181;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media (width <= 767px) {
  .q7 .grafWrap_item .age {
    font-size: 2.4rem;
    position: static;
    transform: none;
  }
}
@keyframes q7_20 {
  to {
    flex-grow: 18.3;
  }
}
@keyframes q7_20_sp {
  to {
    height: calc(60% - 80px);
  }
}
@keyframes q7_30 {
  to {
    flex-grow: 30;
  }
}
@keyframes q7_30_sp {
  to {
    height: calc(100% - 80px);
  }
}
@keyframes q7_40 {
  to {
    flex-grow: 23.3;
  }
}
@keyframes q7_40_sp {
  to {
    height: calc(77.6% - 80px);
  }
}
@keyframes q7_50 {
  to {
    flex-grow: 26.7;
  }
}
@keyframes q7_50_sp {
  to {
    height: calc(89% - 80px);
  }
}
@keyframes q7_60 {
  to {
    flex-grow: 1.7;
  }
}
@keyframes q7_60_sp {
  to {
    height: calc(1%);
  }
}
/*+++++++++++++++++++++++++++++++++++++++++++
  q8
+++++++++++++++++++++++++++++++++++++++++++ */
.q8.dataItem {
  max-width: none;
  grid-column: 1 / -1;
}
@media (width <= 767px) {
  .q8.dataItem {
    display: contents;
  }
}
.q8_wrap {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 15px 0;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 42px 30px;
}
@media (width <= 1023px) {
  .q8_wrap {
    padding: 0 0 30px;
  }
}
@media (width <= 767px) {
  .q8_wrap {
    display: block;
  }
}
.q8 h2 {
  width: calc(50% - 35px);
  order: -1;
}
@media (width <= 1023px) {
  .q8 h2 {
    width: calc(50% - 10px);
  }
}
@media (width <= 767px) {
  .q8 h2 {
    width: 100%;
  }
}
.q8 .graf_wrap {
  max-width: 346px;
  width: calc(100% / 3);
  margin: 15px auto 0;
  position: relative;
}
@media (width <= 767px) {
  .q8 .graf_wrap {
    width: 100%;
  }
}
.q8 .graf_wrap .num {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  position: absolute;
  inset: 0;
  text-align: center;
  opacity: 0;
  animation: opacity 1s 2s forwards;
}
.q8 .q8_img {
  flex: 1;
  padding: 0 30px;
  text-align: center;
}
@media (width <= 767px) {
  .q8 .q8_img {
    display: none;
  }
}
.q8 #q8,
.q8 #q9 {
  display: contents;
}
@media (width <= 767px) {
  .q8 #q8,
  .q8 #q9 {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0 auto 24px;
    padding: 16px;
    background: #FFF;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.03);
  }
}
.q8 #q8 .num,
.q8 #q9 .num {
  color: #322796;
}
.q8 #9 .num {
  color: #182BA3;
}
