@charset "utf-8";

.service .nav{
  display: flex;
  flex-wrap: wrap;
}

.service .nav li{
  width: 25%;
  height: 88px;
  text-align: center;
  border: 1px solid #f4f4f4;
}

.service .nav li>a{
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding-bottom: 35px;
  opacity: 1;
  transition: opacity 0.3s;
}

.service .nav li>a:hover{
  opacity: 0.6;
  transition: opacity 0.3s;
}

.service .nav li:nth-child(1)>a{
  line-height: 1;
  padding-bottom: 30px;
}

.service .nav li>a::after{
  content: "";
  position: absolute;
  display: block;
  width: 6px;
  height: 6px;
  border-bottom: 2px solid #dc1731;
  border-right: 2px solid #dc1731;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.service .sec{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service .sec{
  padding-top: 90px;
}

.service .sec .sec_detail{
  width: 45%;
}

.service .sec .sec_detail .sec_head{
  font-size: 24px;
  font-weight: bold;
  color: #dc1731;
  margin-bottom: 20px;
}

.service .sec .sec_detail a{
  width: 290px;
  margin-top: 25px;
}

@media screen and (max-width: 680px) and (orientation: portrait),
screen and (max-width: 737px) and (orientation: landscape) {
  .service .nav{
    margin-top: 30px;
  }

  .service .nav li{
    width: 50%;
  }

  .service .sec{
    flex-direction: column;
  }

  .service .sec:last-child{
    margin-bottom: 86px;
  }

  .service .sec .sec_detail{
    width: 100%;
    margin-top: 40px;
  }

  .service .sec .sec_detail a{
    margin: 25px auto 0;
  }
}