@import "./reset.css";

header{
  display: flex;
  justify-content: center;
  padding: 10px 50px;
  border-bottom: 1px solid #aaa;
}
header img{
  width: 100%;
  max-width: 521px;
}
.txt{
  color: #0C4491;
  text-align: center;
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
}
.main_txt{
  position: absolute;
  bottom: 70px;
  background: rgb(73 82 97 / 70%);
  padding: 30px;
      width: 100%;
}
.main_txt div{
  border: 5px solid #fff;
  padding: 40px;
  font-size: 40px;
  text-align: center;
  color: #fff;
  font-weight: 800;
  /* line-height: 1.3; */
}

.tel_link{
  background: #0C4491;
  color: #fff;
  text-align: center;
  font-size: 20px;
  padding: 20px;
  font-weight: bold;
  border-bottom: 1px solid #aaa;
}
.visual_sec{
  /* width: 100%;
  max-width: 560px;
  margin: 0 auto */
}
.main_visual {
  width: 100%;
  height: 100%;
}

.main_visual .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main_visual .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.main_visual .swiper-pagination-bullet{
  border: 1px solid #aaa;
}
.main_visual .swiper-pagination-bullet-active{
  background: #fff;
}

.sec_grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
}
.sec_grid div{
  width: calc(100vw / 3);
  height: calc(100vw / 3);
  border: 2px solid #fff;
}
.sec_grid div img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.sec_grid div.active{
  width: calc(100vw - (100vw / 3));
  height: calc(100vw - (100vw / 3));
}
.sec_grid div:nth-of-type(1).active{
  grid-column: 1 / span 2;
	grid-row: 1 / span 2;
}
.sec_grid div:nth-of-type(2).active{
  grid-column: 2 / span 2;
	grid-row: 1 / span 2;
}
.sec_grid div:nth-of-type(3).active{
  grid-column: 1 / span 2;
	grid-row: 1 / span 2;
}
.sec_grid div:nth-of-type(4).active{
  grid-column: 1 / span 2;
	grid-row: 2 / span 2;
}
.sec_grid div:nth-of-type(5).active{
  grid-column: 2 / span 2;
	grid-row: 2 / span 2;
}
.sec_grid div:nth-of-type(6).active{
  grid-column: 2 / span 2;
	grid-row: 2 / span 2;
}

.sec1_txt{
  padding: 50px 0;
}

.link_wrap{
  display: flex;
  justify-content: center;
}
.link_wrap > div{
  width: 50%;
}

.sec2{
  padding: 140px 60px 60px;
  background: gainsboro;
}
.sec2 .img_wrap{
  display: flex;
  justify-content: space-between;
}
.sec2 .img_wrap img{
  width: calc((100% - 20px) / 3);
  margin-bottom: 50px;
}

.sec3{
  padding: 100px 90px;
  padding-bottom: 20px;
}
.sec3 .mySwiper{
  margin-bottom: 50px;
}
.sec4.txt{
  color: #fff;
  background: #333;
  padding: 20px 0;
}
.sec5{
  padding: 70px 120px;
}
.sec5 .title{
  font-size: 80px;
  font-weight: 800;
}
.sec5 .title_wrap{
  margin-bottom: 30px;
}
.sec5 .list_wrap{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.sec5 .list_wrap .list{
  width: calc(50% - 30px);
  border-radius: 0px 0px 20px 20px;
  background: #F1F1F1;
  margin-bottom: 30px;
}
.sec5 .list_wrap .list .list_title{
  color:#0C4491;
  text-align: center;
  font-size: 50px;
  line-height: 1.6;
  font-weight: 700;
}
.sec5 .list_wrap .list .list_content{
  color:#0C4491;
  text-align: center;
  font-size: 30px;
  line-height: 1.6;
  padding: 20px;
}

.sec6_txt{
  position: absolute;
  left:50%;
  top:50%;
  width: 100%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 60px;
  color: #fff;
  font-weight: 700;
  line-height: 1.5;
}
.sec6_txt a{
  font-size: 100px;
  font-weight: bold;
}
.sec7{
  padding: 140px 70px;
  display: flex;
  justify-content: space-between;
}
.sec7 .list{
  background: #333;
  color: #fff;
  padding: 50px 40px;
  width: calc(25% - 20px);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 40px;
  box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.sec7 .list .num{
  background: #fff;
  color: #1D93FE;
  font-weight: 800;
  padding: 5px 30px 0;
  border-radius: 100px;
  margin-bottom: 50px;
}
.sec7 .list .list_txt{
  margin-bottom: 50px;
}
.sec7 .list img{
  width: auto;
  height: 150px;
}
.sec8{
  padding: 40px 70px;
  background: #333;
}
.sec8.active{
  bottom: 0;
}
.sec8 .title{
  color: #fff;
  text-align: center;
  font-size: 60px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 40px;
}
.sec8 .input_wrap{
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}
.sec8 .input_wrap input{
  display: block;
  border: none;
  width: 30%;
  text-align: center;
  font-size: 30px;
  padding: 20px 0;
  border-radius: 10px;
}
.btn_wrap{
  text-align: center;
}
.btn_wrap button{
  border-radius: 20px;
  background: gainsboro;
  border: none;
  width: 100%;
  max-width: 380px;
  color: #333;
  font-weight: bold;
  text-align: center;
  font-size: 30px;
  padding: 20px 0;
  border-radius: 10px;
}
.bk_bg{
  position: fixed;
  left:0;
  top:0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}
.bk_bg.active{
  visibility: visible;
  opacity: 1;
}
.co_link{
  display: none;
  position: fixed;
  left:0;
  bottom:0;
  width: 100%;
  padding: 15px;
  z-index: 99;
  background: #0C4491;
  color: #fff;
  font-size: 20px;
  line-height: 29px;
  font-weight: bold;
  text-align: center;
  border-top:1px solid #000;
}

footer{
  padding: 80px;
  background: #343434;
  color: #9D9D9D;
  font-size: 20px;
  letter-spacing: -0.64px;
}
footer .footer_row{
  display: flex;
  margin-bottom: 20px;
}
footer .footer_row div{
  width: calc(100% / 3);
}

@media screen and (max-width: 1000px){

  .txt{font-size: 24px;}
  .main_txt{
    padding: 8px;
    bottom: 0px;
  }
  .main_txt div{
    padding: 15px 25px 15px 8px;
    font-size: 16px;
  }
  .sec1_txt{padding: 40px 0; font-size: 18px;}
  .link_wrap{
    display: block;
  }
  .link_wrap > div{
    width: 100%;
  }

  .sec2{padding: 50px 45px;}
  .sec2 .img_wrap{
    display: block;
  }
  .sec2 .img_wrap img{
    width: 100%;
    margin-bottom: 30px;
  }

  .sec3{padding: 50px 0 20px;}
  .sec3 .mySwiper{margin-bottom:20px;}

  .sec4.txt{font-size: 26px;}

  .sec5{padding: 40px 10px;}
  .sec5 .title{font-size: 40px;}
  .sec5 .list_wrap .list {
    width: calc(50% - 7px);
  }
  .sec5 .list_wrap .list .list_title{font-size: 20px;}
  .sec5 .list_wrap .list .list_content{
    font-size: 14px;
    padding:0;
    padding-bottom: 10px;
  }

  .sec6_txt{font-size: 16px;}
  .sec6_txt a{font-size: 40px;}

  .sec7{padding:50px 15px 36px;flex-wrap: wrap;}
  .sec7 .list{
    width: calc(50% - 7px);
    padding: 18px 0 30px;
    margin-bottom: 14px;
  }
  .sec7 .list .num{
    font-size: 16px;
    padding: 6px 15px 3px;
    margin-bottom: 10px;
  }
  .sec7 .list .list_txt{
    font-size: 22px;
    margin-bottom: 10px;
  }
  .sec7 .list img{
    height: 60px;
  }
  .sec8{
    padding: 30px;
    padding-bottom: 110px;
    position: fixed;
    left:0;
    bottom: -100%;
    width: 100%;
    transition: 0.3s;
    z-index: 99;
  }
  .sec8 .title{
    font-size: 32px;
    margin-bottom: 30px;
  }
  .sec8 .input_wrap{display: block;}
  .sec8 .input_wrap input{
    width: 100%;
    font-size: 16px;
    margin-bottom: 30px;
  }
  .btn_wrap button{
    font-size: 18px;
  }
  .co_link{
    display: block;
  }
  footer{
    padding: 20px 15px 80px;
    font-size: 14px;
  }
  footer .footer_row{
    display: block;
    margin-bottom:0;
    text-align: center;
  }
  footer .footer_row div{
    width: 100%;
    margin-bottom: 15px;
  }
}
