@charset "UTF-8";

.top-btn__icon-tri {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  background-color: #0081C0;
  border: 1px solid #fff;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 23px;
  position: relative;
  padding-right: 40px;
  text-align: center;
  width: 55%;
}

@media screen and (min-width: 767px) {
  .top-btn__icon-tri:hover {
    background-color: #FFF;
    border-color: #0081C0;
    color: #0081C0;
  }
}

@media screen and (max-width: 767px) {
  .top-btn__icon-tri {
    width: 100%;
  }
}

/* 丸＋三角のアイコン */
.top-btn__icon-tri::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
}

/* 三角 */
.top-btn__icon-tri::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 17px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #0081C0;
}

@media screen and (min-width: 767px) {
  .top-btn__icon-tri:hover::after {
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid #fff;
  }

  .top-btn__icon-tri:hover::before {
    background-color: #0081C0;
  }
}

.top-btn-set {
  display: flex;
  flex-direction: row;
  gap: 8px;
  width: 500px;
}

@media screen and (max-width: 767px) {
  .top-btn-set {
    flex-direction: column;
    max-width: 300px;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }
}

.top-btn-set_right {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 45%;
  align-items: stretch;
  justify-content: space-between;
}

@media screen and (max-width: 767px) {
  .top-btn-set_right {
    width: 100%;
  }
}

.top-btn__houjin {
  display: inline-block;
  padding: 8px 16px;
  background-color: #019FC7;
  border: 1px solid;
  border-color: #019FC7;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
}

@media screen and (min-width: 767px) {
  .top-btn__houjin:hover {
    background-color: #FFF;
    border-color: #019FC7;
    color: #019FC7;
  }
}

.top-btn__icon-search {
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid;
  background-color: #fff;
  border-color: #0081C0;
  color: #0081C0;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4em;
  padding: 20px;
  height: 100%;
}

@media screen and (min-width: 767px) {
  .top-btn__icon-search:hover {
    background-color: #0081C0;
    border-color: #0081C0;
    color: #fff;
  }
}

.top-btn__icon-tri__text {
  display: flex;
  flex-direction: column;
}

.top-btn__acf-set {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
  gap: 16px;
  width: 95%;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}

.top-btn__acf {
  width: calc(50% - 8px);
  min-height: 98px;
  text-decoration: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid;
  background-color: #fff;
  border-color: #4d4d4d;
  color: #333;
  border-radius: 8px;
  font-weight: 700;
  font-size: 22px !important;
  line-height: 1.2;
  padding: 30px 20px;
  box-shadow: 1px 1px 6px #bcbcbc;
  position: relative;
}

.top-btn__acf::before {
  content: '';
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 27px;
  height: 28px;
  background-repeat: no-repeat;
  background: url(/img/wordpress/arrow_g.svg);
}

.top-btn__acf.is_featured::before {
  background: url(/img/wordpress/arrow_o.svg);
}

.top-btn__acf small {
  font-size: 16px;
}

@media screen and (max-width: 767px) {
  .top-btn__acf-set {
    gap: 10px;
  }

  .top-btn__acf {
    font-size: 18px !important;
    padding: 10px;
    box-shadow: 1px 1px 3px #d7d7d7;
    align-items: start;
  }

  .top-btn__acf::before {
    width: 18px;
    height: 19px;
    transform: translateY(90%);
  }

  .top-btn__acf small {
    font-size: 12px;
  }
}

@media screen and (max-width: 339px) {
  .top-btn__acf {
    width: 100%;
  }
}

@media screen and (min-width: 767px) {
  .top-btn__acf:hover {
    box-shadow: none;
    background-color: #4d4d4d;
    border-color: #fff;
    color: #fff;
  }
}

.top-btn__acf.is_featured {
  background-color: #ff541f;
  border-color: #fff;
  color: #fff;
}

@media screen and (min-width: 767px) {
  .top-btn__acf.is_featured:hover {
    background-color: #fff;
    border-color: #ff541f;
    color: #ff541f;
  }
}