@charset "utf-8";

.guide_inner {
  padding-bottom: 70px;
}

.guide_pankuzu {
  padding: 20px 0 30px;
}

.lead_txt {
  font-size: 15px;
}

.lead_txt a {
  color: #1625ff;
  text-decoration: underline;
}

.guide_cat {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin: 20px auto;
}

.guide_cat li {
  width: 31.9%;
  border: 1px solid #cecece;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 6px;
  margin: 0 0.7% 20px;
}
.guide_cat li:hover {
  opacity: 0.6;
}

.guide_cat li a {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  position: relative;
  font-weight: bold;
  color: #424242;
  padding-right: 45px;
}

.guide_cat li a::before {
  content: ""; /*何も入れない*/
  display: inline-block;
  width: 90px; /*画像の幅*/
  height: 90px; /*画像の高さ*/
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
  margin-right: 5px;
}

.guide_cat li:first-child a::before {
  background-image: url(../img/cate01.jpg);
}

.guide_cat li:nth-child(2) a::before {
  background-image: url(../img/cate02.jpg);
}

.guide_cat li:nth-child(3) a::before {
  background-image: url(../img/cate03.jpg);
}

.guide_cat li:nth-child(4) a::before {
  background-image: url(../img/cate04.jpg);
}

.guide_cat li:nth-child(5) a::before {
  background-image: url(../img/cate05.jpg);
}

.guide_cat li:nth-child(6) a::before {
  background-image: url(../img/cate06.jpg);
}

.guide_cat li:nth-child(7) a::before {
  background-image: url(../img/cate07.jpg);
}

.guide_cat li:nth-child(8) a::before {
  background-image: url(../img/cate08.jpg);
}

.ft_btn {
  background-color: #def1ff;
  padding: 40px 3%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft_btn a {
  width: 100%;
  max-width: 290px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  margin: 0 1%;
}

.ft_btn a:first-child {
  background-color: #fff;
  border: #f15a24 solid 1px;
  color: #f15a24;
}

.ft_btn a:last-child {
  background-color: #f15a24;
  color: #fff;
  border: none;
}

@media screen and (max-width: 1280px) {
  .guide_inner {
    padding: 0 3% 70px;
  }

  .guide_cat li a {
    font-size: 16px;
    padding-right: 40px;
  }

  .ft_btn a {
    margin: 0 2%;
  }
}
@media screen and (max-width: 1080px) {
  .guide_cat li a::before {
    width: 80px;
    height: 80px;
  }
  .guide_cat li a {
    padding-right: 10px;
    font-size: 14px;
  }
}

@media screen and (max-width: 769px) {
  .guide_inner {
    padding-bottom: 20px;
  }
  .guide_cat li {
    width: 47%;
    margin: 0 1.5% 20px;
  }

  .guide_cat li a::before {
    width: 65px;
    height: 65px;
  }

  .ft_btn a {
    font-size: 14px;
  }
}

@media screen and (max-width: 480px) {
  main {
    padding: 0;
  }
  .guide_cat li {
    width: 100%;
    height: 90px;
    margin-bottom: 10px;
  }

  .guide_cat li a {
    font-size: 13px;
    padding: 0 65px 0 10px;
  }

  .ft_btn {
    padding: 30px 3%;
  }

  .ft_btn a {
    font-size: 13px;
  }
}
