@charset "utf-8";

/*テキスト*/
/*for SP*/
@media screen and (max-width:768px) {
  p {
    font-size: 11px;
  }
}

/*for tablet*/
@media screen and (min-width:768px) and (max-width:1024px) {
  p {
    font-size: 14px;
  }
}

/*for PC*/
@media screen and (min-width:1024px) {
  p {
    font-size: 16px;
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  width: 100%;
  margin: 0;
  padding: 0;
  color: azure;
  background-image: url(../img/top.png);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

h2 {
  margin: 0;
  padding: 50px 0;
}

a,a:visited{
  color: azure;
  text-decoration: none;
}

a.current {
  opacity: 0.4;
  border: 2px solid #fff;
}

.applepie {
  margin: 0;
  padding: 0;
  background-color: rgba(0, 0, 0, 0.7);
  text-align: center;
}

.main {
  margin: auto;
  text-align: center;
  align-items: center;
}

.maintext {
  text-align: left;
  margin: 0 0 50px 0;
}

/*for SP*/
@media screen and (max-width:1024px) {
  .main {
    max-width: 80vw;
  }

  .mainbox img {
    width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.256);
    border-radius: 10px;
  }

  .maintext p {
    width: 100%;
    border-top: 1px solid #fff;
    padding: 15px 0;
  }
}

/*for PC*/
@media screen and (min-width:1024px) {
  .mainbox {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 1200px;
    margin: auto;
  }

  .mainbox img {
    width: 500px;
    height: auto;
    background-color: rgba(255, 255, 255, 0.256);
    border-radius: 10px;
  }

  .maintext {
    margin-left: 50px;
    width: 500px;
  }

}


/*CHARACTER*/
.character{
  margin-top: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 50px;
}

.charabox {
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
}

#box1{
  background-image: url(../img/lilith.png);
}

#box2{
  background-image: url(../img/janome.png);
}

#box3{
  background-image: url(../img/mira.png);
}

#box4{
  background-image: url(../img/susu.png);
}

#box5{
  background-image: url(../img/giotto.png);
}

#box6{
  background-image: url(../img/tiberio.png);
}

.charatext{
  background-color: #333;
  width: 100%;
  padding: 5%;
  text-align: right;
}

.charatext p{
  text-align: right;
  margin: 0;
  border-top: 1px solid #eee;
}

.home {
  margin-top: 60px;
  display: inline-block;
  padding: 1.5% 2%;
  border: 1px solid #eee;
}

/*for SP*/
@media screen and (max-width:1024px) {
  .characollect{
    display: grid;
    justify-items: center;
    place-items: center;
    grid-template-columns: 1fr 1fr;
    gap: 5vw;
  }

  .charabox{
    width: 24vw;
    height: 32vw;
    min-width: 135px;
    min-height: 180px;
    max-width: 210px;
    max-height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }
}

/*for PC*/
@media screen and (min-width:1024px) {
  .characollect{
    display: grid;
    place-content: center;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 60px;
  }

  .charabox{
    width: 9vw;
    height: 12vw;
    min-width: 120px;
    min-height: 160px;
    max-width: 210px;
    max-height: 280px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
  }
}


.footer {
  scroll-snap-align: start;
  height: 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid #363636;
  position: relative;
  background-color: rgba(0, 0, 0, 0.7);
}