@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;
  margin: 0;
  padding: 0;
  color: azure;
  background-image: url(../img/top.png);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

section {
  text-align: center;
} 

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


.applepie {
  overflow: auto;
  scroll-snap-type: y mandatory;
  height: 100vh;
}


/*TOP*/
.top {
  scroll-snap-align: start;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.container_06 {
  height: 300px;
  background-color: #a9cbc5;
}

.scroll-down_06 {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: #fff;
  font-size: 12px;
  text-decoration: none;
}

.circle-arrow {
  width: 37px;
  height: 37px;
  border: 1px solid #fff;
  border-radius: 50%;
  position: relative;
  margin-bottom:12px;
  margin-inline: auto;
  animation: pulse 2s infinite;
}

.circle-arrow::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.fadein1 {
  animation: fadeIn 70s ease forwards;
}
 
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


/*STORY*/
.story {
  background-color: rgba(0, 0, 0, 0.7);
  scroll-snap-align: start;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.story p {
  line-height: 3;
}


/*CHARACTER*/
.character{
  background-color: rgba(0, 0, 0, 0.7);
  scroll-snap-align: start;
  min-height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.character h2 {
  margin: 0 0 25px 0;
  margin-bottom: 25px;
}

.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;
}


/*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: 18vw;
    height: 24vw;
    min-width: 120px;
    min-height: 160px;
    max-width: 240px;
    max-height: 320px;
    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;
    gap: 66px;
  }

  .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;
  }
}


/*KEYWORD*/
.keyword{
  scroll-snap-align: start;
  min-height: 100svh;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-button-prev {
  background-image: url(../img/arrow2.png);
  transform: scale(-1, 1);
}

.swiper-button-next {
  background-image: url(../img/arrow2.png);
}

.swiper-button-next::after, .swiper-button-prev::after {
  content: none !important;
}

.swiper-pagination-bullet {
  background-color: aliceblue !important;
}

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

  .swiper-slide {
    text-align: center;
  }

  .swiper-slide img {
    height: auto;
    width: 250px;
  }

  .swiper-text {
    width: 80%;
    max-width: 700px;
    padding: 0 10% 10%;
  }

  .swiper-text h3 {
    margin: 10px 0 30px 0;
  }

  .swiper-text p {
    text-align: justify;
    text-justify: inter-character;
  }

  .swiper-button-prev,
  .swiper-button-next {
    position: absolute;
    top: 610px;
    z-index: 10;
    cursor: pointer;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    margin-top: -12px;
  }
}

/*for PC*/
@media screen and (min-width:1024px) {
  .swiper {
    max-width: 1200px;
  }

  .swiper-slide img {
    height: auto;
    width: 50%;
    max-width: 300px;
  }

  .swiper-box {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 100px;
  }

  .keycontents {
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-text {
    padding: 0 0 0 50px;
  }

  .swiper-text h3 {
    text-align: left;
    font-size: 30px;
    padding: 0 0 30px 0;
    border-bottom: 1px solid #eee;
  }

  .swiper-text p {
    text-align: left;
    text-align: justify;
    text-justify: inter-character;
  }

  .swiper-button-prev,
  .swiper-button-next {
    padding: 10px;
    position: absolute;
    top: 50%;
    width: calc(var(--swiper-navigation-size) / 44 * 27);
    height: var(--swiper-navigation-size);
    margin-top: calc(-1 * var(--swiper-navigation-size) / 2);
    z-index: 10;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center;
    background-repeat: no-repeat;
    width: 24px;
    height: 24px;
    background-size: 24px 24px;
    margin-top: -12px;
  }
}


/*FOOTER*/
.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);
}