@charset "utf-8";

html{
  font-size: 62.5%;
  color: #004B9E;
  overflow-x: hidden;
}

body{
  overflow-x: hidden;
  min-height: 100vh;
}

img{width: 100%;}
a:hover{opacity: 0.7;}

header{
  background-color: #004B9E;
  margin-bottom: 3.5rem;
}

header .wrapper{
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 20px 16px;
}

h1{
  display: flex;
  align-items: center;
  gap: 1.8rem;
  font-size: 2.2rem;
  color: #fff;
}

h1 img{
  display: block;
  width: 12.4rem;
  line-height: 1;
}

.title-text{
  display: block;
}

.login-btn{
  width: 14rem;
  height: 4rem;
  color: #004B9E;
  background-color: #fff;
  font-size: 2rem;
  text-align: center;
  line-height: 2;
  border-radius: 3rem;
}

.banner-swiper{
  position: relative;
  width: min(62.6rem, calc(100% - 3.2rem));
  height: 31rem;
  margin: 0 auto 5rem;
  overflow: visible;
}

.banner-swiper .swiper-slide{
  height: 31rem;
}

.banner-swiper .swiper-slide img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next{
  top: 50%;
  width: 8rem;
  height: 8rem;
  margin-top: 0;
  z-index: 10;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.banner-swiper .swiper-button-prev{
  left: 0;
  transform: translate(-50%, -50%);
  background-image: url("../image/arrow-prev.png");
}

.banner-swiper .swiper-button-next{
  right: 0;
  transform: translate(50%, -50%);
  background-image: url("../image/arrow-next.png");
}

.banner-swiper .swiper-button-prev::after,
.banner-swiper .swiper-button-next::after{
  font-size: 0;
  display: none;
}

.banner-swiper .swiper-navigation-icon{
  display: none !important;
}

#nav{
  max-width: 850px;
  padding: 0 1.6rem;
  margin: 0 auto;
  margin-bottom: 5rem;
}

.month-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, 12.3rem);
  justify-content: center;
  gap: 1rem;
}

.month-item a{
  display: block;
  width: 12.3rem;
  font-size: 2rem;
  text-align: center;
  border-radius: 2rem;
  padding: 0.5rem 0 0.6rem;
  border: 1px solid #004B9E;
}

.month-item.active a{
  color: #fff;
  background: #004B9E;
}

.section-title{
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.flyer-list{
  background: #E5F4FF;
}

.flyer-list .wrapper{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.4rem;
  max-width: 850px;
  margin: 0 auto;
  padding: 4rem 1.6rem;
}

.flyer-list .wrapper::after{
  content:"";
  display: block;
  width:25rem;
}

.flyer-item{
  background: #fff;
  width: 25rem;
}

.thumbnail{
  height: 25rem;
  background: #ccc;
  margin-bottom: 1.6rem;
}

.detail{
  display: flex;
  align-items: baseline;
  gap: 1.6rem;
  padding: 0 1.6rem;
  margin-bottom: 0.6rem;
}

.date{
  font-size: 1.5rem;
}

.size{
  font-size: 1.3rem;
}

.flyer-title{
  font-size: 2rem;
  height: 4.6rem;
  padding: 0 1.6rem;
  margin-bottom: 2rem;
}

footer{
  color: #fff;
  background: #004B9E;
  font-size: 1.2rem;
  text-align: center;
  padding: 1rem;
}

@media screen and (max-width: 768px) {
  html{font-size: 50%;}

  h1{
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    text-align: left;
  }

  .flyer-list .wrapper::after{
    width: clamp(20.00rem, calc(10.18vw + 15.23rem), 25.00rem);
  }

  .flyer-item{
    width: clamp(20.00rem, calc(10.18vw + 15.23rem), 25.00rem);
  }
  .thumbnail{
    height: clamp(20.00rem, calc(10.18vw + 15.23rem), 25.00rem);
  }
}
