@charset "utf-8";

main {
  position: relative;
}

main::before,
main::after {
  content: "";
  position: absolute;
  width: 375px;
  height: 1770px;
}
main::before{
  background: url(../images/ill_data_bg01.png) no-repeat center / contain;
  left: -200px;
  bottom: 200px;
}
main::after{
  background: url(../images/ill_data_bg02.png) no-repeat center / contain;
  right: -200px;
  bottom: 200px;
}

/*  data  */
#data{
  padding: 4.0rem 0 12.0rem 0;
  margin: 0 auto;
  max-width: 84.3rem;
}
@media screen and (min-width: 768px){
  #data{
    padding: 9.6rem 0 20rem 0;
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
  }
}
#data section{
  padding: 2.0rem;
  margin: .2rem 0;
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-pack: justify;
  justify-content: space-between;
  min-height: 27.8rem;
  max-width: 100%;
  aspect-ratio: 420 / 370;
  border: solid 3px var(--theme-color);
  background-color: rgb(255, 255, 255);
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}
@media screen and (min-width: 768px){
  #data section{
    flex-basis: calc( (100% - .3rem) / 2 );
    min-height: 37.1rem;
    max-width: none;
    aspect-ratio: auto;
  }
  #data section:last-of-type:nth-of-type(odd){
    flex-basis: 100%;
  }
}
#data h3{
  margin: 0;
  font-size: 1.6rem;
  font-weight: bold;
  line-height: 1.38;
  letter-spacing: calc(0.64 / 16 * 1em);
  text-align: center;
  color: var(--theme-color);
}
@media screen and (min-width: 768px){
  #data section:nth-of-type(9) h3{
    padding-right: calc(50% + 2.2rem);
  }
}
#data .image{
  margin: 0 auto;
  text-align: center;
}
#data section:nth-of-type(1) .image{
  width: calc(330 / 374 * 100%);
}
#data section:nth-of-type(2) .image{
  width: calc(336 / 374 * 100%);
  -webkit-transform: translateX(-3%);
  transform: translateX(-3%);
}
/* #data section:nth-of-type(3) .image{
  width: calc(195.2 / 374 * 100%);
} */
#data section:nth-of-type(4) .image{
  width: calc(334 / 374 * 100%);
  -webkit-transform: translateX(-3%);
  transform: translateX(-3%);
}
#data section:nth-of-type(5) .image{
  width: calc(341.5 / 374 * 100%);
  -webkit-transform: translateX(-3%);
  transform: translateX(-3%);
}
#data section:nth-of-type(6) .image{
  padding-bottom: 3%;
  width: calc(344.5 / 374 * 100%);
  -webkit-transform: translateX(-3%);
  transform: translateX(-3%);
}
#data section:nth-of-type(7) .image{
  padding-top: 2%;
  width: calc(341.8 / 374 * 100%);
  -webkit-transform: translateX(-3%);
  transform: translateX(-3%);
}
#data section:nth-of-type(8) .image{
  width: calc(352.5 / 374 * 100%);
  -webkit-transform: translateX(-1%);
  transform: translateX(-1%);
}
#data section:nth-of-type(9) .image{
  width: 95%;
}
@media screen and (min-width: 768px){
  #data section:nth-of-type(9) .image{
    padding-top: 2%;
    width: calc(642 / 797 * 100%);
    -webkit-transform: translateX(-2%);
    transform: translateX(-2%);
  }
}
#data .desc p{
  margin: 0;
  font-size: 1.3rem;
  line-height: 2;
}
