@charset "utf-8";

* {
  box-sizing: border-box;
  letter-spacing: .08rem;
}

a:link {
  text-decoration: none;
}

img {
  width: auto;
  max-width: 100%;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 3%;
}

@keyframes blindOut {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes popOut {
  from {
    scale: .4;
    opacity: 0;
  }
  to {
    scale: 1;
    opacity: 1;
  }
}

#keyVisual {
  position: relative;
}

#keyVisual::before {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  content: '';
  width: 100%;
  height: calc(100% + 12rem);
  background-image: url(../img/20th-anniversary/bg.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  z-index: -1;
}

#keyVisual .bgArea {
  position: relative;
  text-align: center;
  display: grid;
}

#keyVisual .bgArea .logo {
  position: absolute;
  text-align: center;
  top: -3vw;
  bottom: 0;
  left: 0;
  right: 0;
  display: inline-table;
  margin: auto;
}
  
#keyVisual .bgArea .logo > img {
  max-width: 880px;
  width: 47vw;
  scale: 0;
  opacity: 0;
  animation: popOut 1.3s ease 0.7s forwards;
}

#keyVisual .bgArea .imgList {
  display: grid;
  grid-template-columns: repeat(13, 7.69%);
  grid-template-rows: repeat(19, 4vw);
  z-index: -1;
}

#keyVisual .bgArea .imgList img {
  width: fit-content;
  position: relative;
  opacity: 0;
}

#keyVisual .bgArea .imgList #img1 {
  width: 9.7vw;
  grid-column: 6/14;
  grid-row: 1/20;
  left: 3vw;
  animation: blindOut 1.3s ease 0.2s forwards;
}

#keyVisual .bgArea .imgList #img2 {
  width: 11.58vw;
  grid-column: 8/14;
  grid-row: 1/20;
  left: -1vw;
  animation: blindOut 1.5s ease 0.3s forwards;
}

#keyVisual .bgArea .imgList #img3 {
  width: 12.2vw;
  grid-column: 10/14;
  grid-row: 2/20;
  left: -3vw;
  animation: blindOut 1.3s ease 0.5s forwards;
}

#keyVisual .bgArea .imgList #img4 {
  width: 16.455vw;
  grid-column: 11/14;
  grid-row: 3/20;
  top: 3vw;
  left: 3vw;
  animation: blindOut 1.5s ease 0.2s forwards;
}

#keyVisual .bgArea .imgList #img5 {
  width: 11.577vw;
  grid-column: 11/14;
  grid-row: 7/20;
  top: 0.5vw;
  animation: blindOut 1.3s ease 0.6s forwards;
}

#keyVisual .bgArea .imgList #img6 {
  width: 14.544vw;
  grid-column: 11/14;
  grid-row: 11/20;
  top: .8vw;
  left: 5.6vw;
  animation: blindOut 1.5s ease 0.2s forwards;
}

#keyVisual .bgArea .imgList #img7 {
  width: 8.705vw;
  grid-column: 12/14;
  grid-row: 15/20;
  top: -1.5vw;
  left: 2.5vw;
  animation: blindOut 1.3s ease 0.4s forwards;
}

#keyVisual .bgArea .imgList #img8 {
  width: 15.33vw;
  grid-column: 10/14;
  grid-row: 15/20;
  top: 2vw;
  left: .6vw;
  animation: blindOut 1.5s ease 0.6s forwards;
}

#keyVisual .bgArea .imgList #img9 {
  width: 31.9vw;
  grid-column: 5/14;
  grid-row: 15/20;
  left: 5vw;
  animation: blindOut 1.3s ease 0.4s forwards;
}

#keyVisual .bgArea .imgList #img10 {
  width: 15.63vw;
  grid-column: 3/14;
  grid-row: 14/20;
  left: 2.3vw;
  animation: blindOut 1.5s ease 0.7s forwards;
}

#keyVisual .bgArea .imgList #img11 {
  width: 11.15vw;
  grid-column: 1/14;
  grid-row: 13/20;
  top: 1vw;
  left: 4vw;
  animation: blindOut 1.3s ease 0.2s forwards;
}

#keyVisual .bgArea .imgList #img12 {
  width: 15.16vw;
  grid-column: 2/14;
  grid-row: 9/20;
  top: 0.5vw;
  animation: blindOut 1.5s ease 0.6s forwards;
}

#keyVisual .bgArea .imgList #img13 {
  width: 21.303vw;
  grid-column: 1/14;
  grid-row: 4/20;
  top: 2.76vw;
  left: 1.5vw;
  animation: blindOut 1.3s ease 0.3s forwards;
}

#keyVisual .bgArea .imgList #img14 {
  width: 9.9vw;
  grid-column: 3/14;
  grid-row: 2/20;
  top: 2.7vw;
  left: 0.7vw;
  animation: blindOut 1.5s ease 0.5s forwards;
}

#keyVisual .bgArea .imgList #img15 {
  width: 12.35vw;
  grid-column: 4/14;
  grid-row: 2/20;
  top: .3vw;
  left: 4.9vw;
  animation: blindOut 1.5s ease 0.5s forwards;
}

#keyVisual .bgArea .imgList #img16 {
  width: 6.52vw;
  grid-column: 4/14;
  grid-row: 4/20;
  top: 2.5vw;
  left: 1.5vw;
  animation: blindOut 1.5s ease 0.5s forwards;
}

main {
  padding-bottom: 7rem;
}

#content {
  position: relative;
  width: 100%;
  line-height: 1.8;
}

#content::before,
#content::after {
  position: absolute;
  display: block;
  content: '';
  width: 100%;
  height: 100%;
  z-index: -1;
}

#content::before {
  top: -7rem;
  left: 0;
  background-image: url(../img/20th-anniversary/bg2.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

#content::after {
  bottom: -9rem;
  left: 0;
  background-image: url(../img/20th-anniversary/bg3.png);
  background-position: bottom center;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

#content .contBlc {
  max-width: 700px;
  padding: 0 4%;
  margin: 0 auto;
  box-sizing: content-box;
}

#content .contBlc .ttl,
#content .contBlc .sub,
#content .contBlc .txt {
  opacity: 0;
}

#content .contBlc .ttl {
  text-align: center;
  display: block;
  animation: blindOut 1.5s ease 1.3s forwards;
  margin-bottom: 10px;
}

#content .contBlc .sub {
  text-align: center;
  display: block;
  font-size: 220%;
  font-weight: 600;
  color: #43896b;
  animation: blindOut 1.5s ease 1.4s forwards;
  margin-bottom: 20px;
}

#content .contBlc .txt {
  font-size: 160%;
  color: #1d1d1f;
  animation: blindOut 1.5s ease 1.5s forwards;
  font-weight: 500;
}

@media screen and (max-width: 1000px) {
  header {
    position: relative;
  }
  main {
    padding-bottom: 0;
  }
  #content::before,
  #content::after {
    opacity: .5;
  }
  #content::before {
    top: 0;
  }
  #content::after {
    bottom: -3rem;
  }
}

@media screen and (max-width: 480px) {
  #content {
    font-size: 90%;
    margin-top: 4rem;
  }
}

@media screen and (max-width: 360px) {
  #content {
    font-size: 80%;
  }
}