@media screen and (min-width: 768px) {
  .l-header__logo {
    width: 166px;
  }
}

/* temp__second__nav */
/* ============================================ */
.temp__second__nav {
  display: flex;
  flex-wrap: wrap;
  max-width: 1000px;
  margin: 70px auto 70px;
}

.temp__second__nav li {
  position: relative;
  width: 220px;
  height: 60px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 13px 26px;
}

.temp__second__nav li::before,
.temp__second__nav li::after {
  content: "";
  width: 95%;
  height: 100%;
  position: absolute;
}

.temp__second__nav li::before {
  left: 0;
  top: 0;
  border-top: 1px solid #000;
  border-left: 1px solid #000;
}

.temp__second__nav li::after {
  right: 0;
  bottom: 0;
  border-bottom: 1px solid #000;
  border-right: 1px solid #000;
}

.temp__second__nav a {
  display: block;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.temp__second__nav a::before {
  content: "";
  width: 0%;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(80, 203, 230, 1) 12%,
    rgba(28, 152, 229, 1) 100%
  );
  transition: width 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.temp__second__nav a::after {
  content: "";
  background: url(../img/common/icon-arrow-blue.svg) no-repeat 50% 50% / contain;
  width: 10px;
  height: 10px;
  transform: rotate(90deg);
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  margin: auto;
  z-index: 10;
}

@media (hover: hover) and (pointer: fine) {
  .temp__second__nav a:hover::before {
    width: 100%;
    right: auto;
    left: 0;
  }

  .temp__second__nav a:hover::after {
    background: url(../img/common/icon-arrow-w.svg) no-repeat 50% 50% / contain;
  }
}

.temp__second__nav a span {
  position: relative;
  z-index: 11;
}

@media (hover: hover) and (pointer: fine) {
  .temp__second__nav a:hover span {
    color: #fff;
  }
}

@media screen and (max-width: 767px) {
  .temp__second__nav {
    margin: 43px 20px 60px;
    border-top: 1px solid #10013f;
  }

  .temp__second__nav li {
    position: relative;
    width: 50%;
    height: 54px;
    font-size: 13px;
    margin: 0;
    border-bottom: 1px solid #10013f;
  }

  .temp__second__nav li:nth-child(2n-1) {
    border-right: 1px solid #707070;
  }

  .temp__second__nav li::before,
  .temp__second__nav li::after {
    display: none;
  }

  .temp__second__nav a {
    padding-bottom: 10px;
  }

  .temp__second__nav a br {
    display: none;
  }

  .temp__second__nav a::before {
    display: none;
  }

  .temp__second__nav a::after {
    top: auto;
    bottom: 10px;
    right: 0px;
    left: 0;
  }

  .temp__second__nav a span {
    position: relative;
    z-index: 11;
  }

  @media (hover: hover) and (pointer: fine) {
    .temp__second__nav a:hover span {
      color: #10013f;
    }

    .temp__second__nav a:hover::after {
      background: url(../img/common/icon-arrow-blue.svg) no-repeat 50% 50% /
        contain;
    }
  }
}

/* temp__second__h2 */
/* ============================================ */
.temp__second__h2 {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding-left: 0.1em;
  margin-bottom: 40px;
}

.temp__second__h2::after {
  content: "";
  width: 40px;
  height: 2px;
  background-color: #10013f;
  display: block;
  margin: 20px auto 0;
}

.temp__second__link {
  display: flex;
  flex-wrap: wrap;
  width: 1130px;
  margin: 0 auto 80px;
}

.temp__second__link a {
  display: block;
  width: 30%;
  margin-right: 5%;
  background-color: #f9f9f9;
  padding: 20px 30px 30px;
  position: relative;
  margin-bottom: 40px;
  border: 1px solid #efefef;
  border-top: 4px solid #41a5d8;
}

.temp__second__link a::after {
  content: "";
  position: absolute;
  right: 30px;
  bottom: 27px;
  margin: auto;
  width: 40px;
  height: 5px;
  overflow: hidden;
  background: url(../img/common/arrow-right-blue.png) no-repeat 50% 50% /
    contain;
}

@media (hover: hover) and (pointer: fine) {
  .temp__second__link a:hover::after {
    animation: arrow_to_right 0.5s ease-in-out forwards;
  }
}

.temp__second__link a:nth-child(3n) {
  margin-right: 0;
}

.temp__second__link a h3 {
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  line-height: 1.5;
  transition: 0.3s;
}

.temp__second__link a p {
  color: #2b2b2b;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.05em;
  transition: 0.3s;
}

@media (hover: hover) and (pointer: fine) {
  .temp__second__link a:hover h3 {
    opacity: 0.6;
  }

  .temp__second__link a:hover p {
    opacity: 0.6;
  }
}

@media screen and (max-width: 767px) {
  .temp__second__h2 {
    font-size: 24px;
    margin-bottom: 30px;
    line-height: 1.3;
  }

  .temp__second__h2::after {
    margin: 15px auto 0;
  }

  .temp__second__link {
    display: block;
    width: auto;
    margin: 0 20px 80px;
  }

  .temp__second__link a {
    width: auto;
    margin-right: 0%;
    border-top: 3px solid #41a5d8;
    padding: 20px 25px 50px;
    margin-bottom: 20px;
  }

  .temp__second__link a h3 {
    font-size: 16px;
  }
}
