@font-face {
  font-family: 'GenJyuuGothic';
  src: url('../fonts/GenJyuuGothic-Regular.ttf') format('truetype'),
       url('../fonts/GenJyuuGothic-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html,
body,
main,
footer {
  font-family: 'GenJyuuGothic', sans-serif;
  padding: 0;
  margin: 0;
  top: 0;
  background-color: #fe3885;
}

.section-offset {
  margin-top: -100px;
}

.navbar {
  z-index: 99;
  padding: 0;
  margin: 0 0 0 1vw;
  top: 0;
}

.navbar ul {
  padding: 0;
  z-index: 2;
  clear: both;
  position: fixed;
  display: block;
  list-style-type: none;
  top: 10%;
}

.navbar li {
  padding: 0;
  z-index: 2;
  width: 110px;
  height: 110px;
  margin-bottom: 20px;
  background-color: #fe3885;
  border-radius: 100%;
  border: 1px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;

  transition: background-color 0.3s ease
}

.navbar li::before {
  z-index: 1;
  content: "";
  position: absolute;
  top: -10%;
  left: 49%;
  transform: translateY(-50%);
  width: 2%;
  height: 16%;
  background-color: #fe3885;
}

.navbar li:first-child::before {
  z-index: 1;
  display: none;
}

.navbar li a {
  font-size: 1rem;
  text-transform: none;
  text-align: center;
  text-decoration: none;
  color: #ebebeb;
}

.navbar li:hover {
  background-color: #e6246e;
  color: #fff;
}

section {
  flex: 1;
  min-height: 200px;
  height: auto;
  color: #fff;
}

.section_title {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#st_2, #st_3, #st_4, #st_5 {
  justify-content: center;
  height: 5vw;
  min-height: 50px;
  aspect-ratio: 609/70;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

#st_2 {
  margin-top: 1%;
  background-image: url('../image/T2.png');
}

#st_3 {
  background-image: url('../image/T3.png');
}

#st_4 {
  background-image: url('../image/T4.png');
}

#section1 {
  padding: 0%;
  aspect-ratio: 1575/720;
  width: 100%;
  height: auto;
  background-image: url('../image/BG.jpg');
  background-repeat: no-repeat;
  background-size: contain;
}

#st_1 {
  z-index: 99;
  display: flex;
  flex-direction: row;
  position: sticky;
  top: 0;
  background-color: #fe3885;
  display: flex;
  align-items: center;
}

#st_1 div {
  height: 40px;
  margin: 1%;
  width: auto;
}

.Logo {
  aspect-ratio: 337/71;
  background-image: url('../image/Logo.png');
  background-repeat: no-repeat;
  background-size: cover;
}

.Logo:hover {
  cursor: pointer;
}

.discord button, 
.twitter button,
.murax2 button {
  padding: 0%;
  width: 40px;
  height: 40px;
  background: transparent;
  border-style: none;
  background-repeat: no-repeat;
  background-size: contain;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.discord button:hover,
.twitter button:hover,
.murax2 button:hover{
  filter: invert(10%) sepia(10%) saturate(3735%) hue-rotate(230deg) brightness(1.2) contrast(1.8);
}

#dc_icon {
  background-image: url('../image/dc.png');
}

#twr_icon {
  background-image: url('../image/twr.png');
}

#mura_icon {
  background-image: url('../image/mura.png');
}

.container_1 {
  padding: 0%;
  aspect-ratio: 1575/650;
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: end;
  text-align: end;
}


#section2 {
  padding: 0%;
  width: 100%;
  height: auto;
  background-image: url('../image/BG_2.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #eaeff5;
}

.container_2 {
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.join2 {
  width: 65vw;
  max-width: 750px;
  margin: -1vw 0 0 5vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#jt_1, #jt_2, #jt_3 {
  text-align: left;
  padding: 0%;
  aspect-ratio: 54/7;
  width: 100%;
  height: auto;
  background-position: left;
  background-repeat: no-repeat;
  background-size: 90%;
}

#jt_1 {
  background-image: url('../image/JT2_1.png');
}

#jt_2 {
  background-image: url('../image/JT2_2.png');
}

#jt_3 {
  background-image: url('../image/JT2_3.png');
}

.container_2 {
  margin-top: -3vw;
}

.join2 a {
  font-weight: 500;
  width: 40%;
  margin-left: 0;
  border: 2px solid #4e80b4;
  background-color: #6192c7;
  box-shadow: 2px 2px 0px #4e80b4;
  border-radius: 20px;
  transition: background-color 0.3s ease
}

.join2 a:hover {
  color: #4e80b4;
  background-color: rgb(255, 255, 255);
  border-color: #6192c7;
  box-shadow: 2px 2px 0px #6192c7;
  animation: pulse 1s infinite;
  transition: .3s;
  cursor: pointer;
}

.join2 a:active,
.join2 a:focus {
  color: white;
  border: 2px solid #4e80b4;
  background-color: #6192c7;
  box-shadow: 2px 2px 0px #4e80b4;
}

#jcard {
  background: transparent;
  border: none;
}

.character2 {
  width: 30vw;
  height: auto;
  aspect-ratio: 746/1013;
  background-image: url('../image/304002.png');
  background-repeat: no-repeat;
  background-size: contain;
}

#section3 {
  padding: 0%;
  width: 100%;
  height: auto;
  background-image: url('../image/BG_2.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #eaeff5;
}

.container_3 {
  margin: 2% 0 0 0;
  height: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sub_3,
.center_3 {
  width: 80%;
  margin-bottom: 2vw;
}

.sub_3 {
  margin-top: -1vw;
  height: 10%;
  color: rgba(130, 76, 106, 0.8);
  font-size: 1.4rem;
}

.center_3 {
  height: 70%;
  display: flex;
  flex-direction: row;
}

.center_3 a {
  color: #4e80b4;
  transition: background-color 0.3s ease
}

.center_3 a:hover {
  color: #4e80b4;
  background-color: rgb(243, 255, 255);
}

.card-title {
  padding: 1%;
  color: #00809c;
}

#carde {
  background: transparent;
  border: none;
}

.box_event {
  border-top: 1px solid white;
  border-bottom: 1px solid white;
  display: flex;
  flex-direction: column;
  margin: 10px;
}

#Event_p {
  margin-top: -1vw;
  font-size: 1.4rem;
  font-weight: bold;
  color: #4e80b4;
  text-shadow: 3px 3px 6px rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

#Event_d {
  margin-top: 0vw;
  font-size: 1.3rem;
  color: rgba(130, 76, 106, 0.9);
}

#Event_d a {
  color: rgba(130, 76, 106, 0.8);
}

#discord_link {
  font-weight: bolder;
  background-color: rgba(255, 248, 252, 1)
}

#section4 {
  padding: 0%;
  width: 100%;
  height: auto;
  background-image: url('../image/BG_3.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-color: #eaeff5;
}

.container_4 {
  height: auto;
  margin-left: 7%;
  width: 90%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.detail_4 {
  z-index: 2;
  width: 55%;
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.text_4 {
  margin: 0 0 1vw 0;
  font-size: 1.4rem;
  font-weight: bold;
  color: rgba(130, 76, 106, 1);
  text-shadow: 3px 3px 6px rgb(255, 255, 255);
}

.photoslide_4 {
  aspect-ratio: 16/9;
  width: 50vw;
  height: auto;
  border: 2px solid white;
  margin-bottom: 2vw;
}

.swiper {
  aspect-ratio: 16/9;
  width: 50vw;
  height: auto;
}

.swiper-slide,
.swiper-slide img {
  aspect-ratio: 16/9;
  width: 50vw;
  height: auto;
  object-fit: contain;
}

#sbn,
#sbp {
  aspect-ratio: 1/1;
  width: 3vw;
  height: 3vw;
  border-radius: 100%;
  background-color: rgba(255, 255, 255, 0.4);
  color: #fe3885;
}

.character_4 {
  z-index: 1;
  width: 30vw;
  height: auto;
  margin: 0 0 0 0;
  aspect-ratio: 812/1124;
  background-image: url('../image/105004.png');
  background-repeat: no-repeat;
  background-size: contain;
}

#section5 {
  background-color: #fc6fa5;
}

.container_5 {
  margin: 2% 0 0 7.5%;
  height: auto;
  width: 85%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.C_title {
  padding-top: 2vw;
  font-size: 1.8rem;
  color: rgb(255, 255, 255);
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 90%;
  height: fit-content;
  margin: 0 0 2% 3%;
  text-align: center;
}

.C_text ul {
  color: rgb(255, 255, 255);
}

.C_text li {
  margin: 5px;
  list-style-type: decimal;
}

.C_text {
  margin-bottom: 3%;
}

.copy {
  color: #fe3885;
  text-align: center;
}

.C_text a {
  color: #ffd8e7;
  transition: background-color 0.3s ease
}

.C_text a:hover {
  color: #fe3885;
  background-color: #fff9fb;
}

footer {
  text-align: center;
  background-color: #fe3885;
}

footer p {
  color: #fff;
  padding-top: 1%;
}


@media only screen and (min-width: 768px) {
  .character2 {
    opacity: 0; 
    transition: opacity 0.5s, transform 0.5s;
  }

  .character2.show {
    opacity: 1;
    animation: fadeInRight 2s;
  }

}


@media only screen and (max-width: 1300px) {

#st_1 div{
    margin: 1.5%;
  } 

  .container_3{
    margin: 0 0 0 8vw;
    width: 90%;
  }

  .join2 {
    z-index: 2;
    margin: 0 0 0 10vw;
  }

  .character2 {
    z-index: 0;
    width: 50vw;
    height: auto;

    margin: 0 0 0 -40vw;
  }

  .character2.show {
    opacity: 0.5;
  }

  .card-img-top{
    padding: 2vw;
    margin: 0;
    max-height: 600px;
    max-width: 600px;
  }

  .box_event {
    border: none;
  }

  #Event_p {
    font-size: 1.2rem;
    font-weight: bold;

    margin: -3vw 0 1vw 0 ;
    padding: 2vw;
  }
  
  #Event_d {
    font-size: 1rem;
    margin-top: -6vw;
  }
  
  #st_2, #st_3, #st_4, #st_5 {
  height: 6vw;
}

  .container_3 {
    font-size: 1rem;
    margin-top: 1%;
  }

  .sub_3, .center_3 {
    font-size: 1rem;
  }

  .sub_3{
    margin: 1vw 0 6vw 0;
  }

  .center_3{
    margin: -8vw 0 0 0;
    height: 70%;
    display: flex;
    flex-direction: row;

    flex-wrap: wrap;
  }

  #carde {
    width: 50%;
  }

  .event_icon_1, .event_icon_2, .event_icon_3, .event_icon_4 {
    min-height: 100px;
  }

  .text_4 {
    font-size: 1rem;
  }

  .character_4 {
    z-index: 0;
    width: 50vw;
    height: auto;

    margin: 0 0 0 -12vw;

    opacity: 0.5;
  }

  .photoslide_4 {
    aspect-ratio: 16/9;
    width: 50vw;
    height: auto;  
    border: 2px solid white;
  
    margin-right: -10vw;
  }

  .detail_4 {
    margin: 0 0 0 5vw;
  }

  .swiper,  
  .swiper-slide ,
  .swiper-slide img {
    width: 80vw;
  }

  #sbn,#sbp {
    background-color: rgba(255, 255, 255, 0);
  }

}


@media only screen and (max-width: 768px) {


  #section1 {
    aspect-ratio: 1575/900;
    background-image: url('../image/BG_s.jpg');
  }

  #st_1 div{
    height: 30px;
    margin: 2%;
  }
  
  .discord button, 
  .twitter button,
  .murax2 button {
    width: 25px;
    height: 25px;
  }

  .join2 {
    width: 90vw;
    margin: 0 0 0 -5vw;
  }

  .join2 a {
    padding: 0;
    max-height: 10vw;
    font-size: 1rem;
    width: 40%;
    margin-left: 6vw;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  #jcard {
    margin: 0;
  }

  #Event_p {
    font-size: 0.9rem;
  }
  
  #Event_d {
    font-size: 0.8rem;
    margin-top: -6vw;
  }

  .sub_3{
    font-size: 0.8rem;
    width: 100%;
    margin-left: 0;
  }

  .navbar,
  .navbar ul,
  .navbar li {
    display: none;
  }

  .character2,
  .character_4 {
    width: 55vw;

    margin: 0 0 0 -55vw;
    opacity: 0.5;
  }
  
  .container_3, 
  .container_4 {
    margin: 0;
    width: 100%;
  }

  .detail_4,
  .text_4,
  .photoslide_4 {
    width: 90vw;
    margin: 0vw;
    border: none;
  }

  #sbn,#sbp {
    background-color: rgba(255, 255, 255, 0);
  }

  .section5, 
  footer {
    font-size: 0.9rem;
  }

}