body#toppage {
  background-color: #E4EBEB;
}

.hero {
  position: relative;
  padding: 140px 0 154px;
  background-color: #e4ebeb;
  background-image: url(../../img/top/bg.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center center;
  z-index: -1;
}
@media screen and (max-width: 768px) {
  .hero {
    padding: 108px 0 64px;
    background-image: url(../../img/top/bg_sp.png);
  }
}
.hero picture {
  display: block;
  width: 100%;
  max-width: 608px;
  margin: 0 auto 70px;
}
@media screen and (max-width: 768px) {
  .hero picture {
    max-width: clamp(15.188rem, 8.228rem + 29.7vw, 22.5rem);
    margin-bottom: 24px;
  }
}
.hero picture source,
.hero picture img {
  display: inline-block;
  width: 100%;
}
.hero p {
  text-align: center;
  font-size: 21px;
  font-weight: bold;
  letter-spacing: 0.3em;
  line-height: 1.8;
}
@media screen and (max-width: 768px) {
  .hero p {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
  }
}
@media screen and (min-width: 1140px) {
  .hero p br:nth-of-type(1) {
    display: none;
  }
}
.hero .chara {
  position: absolute;
  bottom: 56px;
  left: calc(50% - 540px);
  width: 285px;
}
@media screen and (max-width: 1140px) {
  .hero .chara {
    left: 16px;
  }
}
@media screen and (max-width: 768px) {
  .hero .chara {
    width: 131px;
    bottom: 28px;
    left: calc(50% - 205px);
  }
}
@media screen and (max-width: 480px) {
  .hero .chara {
    left: 8px;
  }
}
.hero .chara img {
  width: 100%;
}

.main-container--toppage {
  padding-block: 170px;
  background-image: url(../../img/top/mainbg_top.jpg);
  background-size: cover;
}
@media screen and (max-width: 768px) {
  .main-container--toppage {
    padding-block: 64px;
  }
}
.main-container--toppage h2 {
  width: 455px;
  margin: 0 auto 80px;
}
@media screen and (max-width: 768px) {
  .main-container--toppage h2 {
    width: 223px;
    margin-bottom: 40px;
  }
}
.main-container--toppage h2 source,
.main-container--toppage h2 img {
  width: 100%;
}
.main-container--toppage .tiles {
  width: 100%;
}
.main-container--toppage .tiles__container {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  grid-template-rows: minmax(160px, auto);
  gap: 30px;
}
@media screen and (max-width: 768px) {
  .main-container--toppage .tiles__container {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: minmax(48px, auto);
    gap: 15px;
  }
}
.main-container--toppage .tiles__container > a {
  padding: 4em 0.5em;
  transition: box-shadow 0.3s, translate 0.3s;
}
@media screen and (max-width: 768px) {
  .main-container--toppage .tiles__container > a {
    padding: 1.3em 0.5em;
  }
}
.main-container--toppage .tiles__container > a span {
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}
.main-container--toppage .tiles__container a:nth-of-type(1) {
  grid-area: 1/1/2/9;
}
@media screen and (max-width: 768px) {
  .main-container--toppage .tiles__container a:nth-of-type(1) {
    grid-area: 1/1/2/2;
  }
}
.main-container--toppage .tiles__container a:nth-of-type(2) {
  grid-area: 1/9/2/17;
}
@media screen and (max-width: 768px) {
  .main-container--toppage .tiles__container a:nth-of-type(2) {
    grid-area: 1/2/2/3;
  }
}
.main-container--toppage .tiles__container a:nth-of-type(3) {
  grid-area: 2/1/3/17;
  border: solid 15px #A8BDE0;
}
@media screen and (max-width: 768px) {
  .main-container--toppage .tiles__container a:nth-of-type(3) {
    grid-area: 2/1/3/3;
  }
}
.main-container--toppage .tiles__container a:nth-of-type(4) {
  grid-area: 3/1/4/7;
}
@media screen and (max-width: 768px) {
  .main-container--toppage .tiles__container a:nth-of-type(4) {
    grid-area: 3/1/4/3;
  }
}
.main-container--toppage .tiles__container a:nth-of-type(5) {
  grid-area: 3/7/4/12;
}
@media screen and (max-width: 768px) {
  .main-container--toppage .tiles__container a:nth-of-type(5) {
    grid-area: 4/1/5/2;
  }
}
.main-container--toppage .tiles__container a:nth-of-type(6) {
  grid-area: 3/12/4/17;
}
@media screen and (max-width: 768px) {
  .main-container--toppage .tiles__container a:nth-of-type(6) {
    grid-area: 4/2/5/3;
  }
}
.main-container--toppage .tiles__container a:nth-of-type(7) {
  grid-area: 4/1/5/9;
}
@media screen and (max-width: 768px) {
  .main-container--toppage .tiles__container a:nth-of-type(7) {
    grid-area: 5/1/6/3;
  }
}
.main-container--toppage .tiles__container a:nth-of-type(8) {
  grid-area: 4/9/5/17;
}
@media screen and (max-width: 768px) {
  .main-container--toppage .tiles__container a:nth-of-type(8) {
    grid-area: 6/1/7/2;
  }
}
.main-container--toppage .tiles__container a:nth-of-type(9) {
  grid-area: 5/1/6/6;
}
@media screen and (max-width: 768px) {
  .main-container--toppage .tiles__container a:nth-of-type(9) {
    grid-area: 6/2/7/3;
  }
}
.main-container--toppage .tiles__container a:nth-of-type(10) {
  grid-area: 5/6/6/13;
}
@media screen and (max-width: 768px) {
  .main-container--toppage .tiles__container a:nth-of-type(10) {
    grid-area: 7/1/8/3;
  }
}
.main-container--toppage .tiles__container a:nth-of-type(11) {
  grid-area: 5/13/6/17;
}
@media screen and (max-width: 768px) {
  .main-container--toppage .tiles__container a:nth-of-type(11) {
    grid-area: 8/1/9/3;
  }
}
@media screen and (min-width: 769px) {
  .main-container--toppage .tiles__container a:nth-of-type(11) span {
    font-size: 31px;
  }
}