/*===========================================================================
unique
単一ページで使用するCSS
接頭辞【.u-】

【予測変換用 _base.css記述】
:root {
  --font-color-base: #333;
  --font-color-main: #005bab;
  --font-family-base: "Noto Sans JP", sans-serif;
  --font-family-roboto: "Roboto", sans-serif;
  --back-color-base: #fff;
  --back-color-gradient: linear-gradient(100deg, #4896db 1.76%, #0e67b4 26.76%, #005bab 98.94%);
  --design-size-pc: 1400;
  --design-size-sp: 750;
}
===========================================================================*/
/*  セクション
====================================*/
.u-container {
  margin-bottom: 64rem;
  padding: 38rem 40rem;
  border-radius: 8rem;
  background: #FFF;
  box-shadow: 0 4rem 8rem 0 rgba(40, 63, 90, 0.10);
}
/* SP
----------------------------------*/
@media screen and (max-width: 768px) {
  .u-container {
    margin-bottom: 80rem;
    padding: 40rem 40rem 64rem;
  }
}


/*  検索箇所
====================================*/
.u-srh {
  padding: 40rem;
  border-radius: 8rem;
  background: #FAFAFA;
}
.u-srh__ttl {
  margin-bottom: 33rem;
  font-weight: bold;
  font-size: 18rem;
  line-height: 1.1;
  letter-spacing: 0.05em;
  text-align: center;
}
.u-srh__kydInp {
  display: inline-block;
  width: 100%;
  padding: 16rem 31rem;
  border-radius: 54rem;
  border: 1px solid var(--font-color-main);
  background-color: #fff;
  font-size: 14rem;
  line-height: 1.43;
}
.u-srh__kydInp::placeholder {
  color: var(--font-color-base);
}
.u-srh__wrp {
  margin-top: 20rem;
}
.u-srh__grd {
  justify-content: space-between;
  align-items: center;
}
.u-srh__lst {
  display: grid;
  grid-template-columns: fit-content(20%) 1fr;
  gap: 17rem 20rem;
}
.u-srh__trm {
  padding-top: 8rem;
  font-weight: bold;
  font-size: 15rem;
  line-height: 1.33;
}
.u-srh__btn {
  position: relative;
  padding-right: 26rem;
  font-weight: bold;
  font-size: 15rem;
  line-height: 1.33;
  cursor: pointer;
  transition: opacity 0.3s linear;
}
.u-srh__btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  background-color: var(--font-color-main);
  mask: url(/drivers/common/images/icn_arw_b_bl.svg) no-repeat center / contain;
  width: 20rem;
  height: 20rem;
  transform: translateY(-50%);
  transition: transform 0.3s linear;
}
.u-srh__wrp.js-open .u-srh__btn::after {
  transform: translateY(-50%) rotate(180deg);
}
.u-srh__box {
  display: none;
  min-height: 0;
  height: 0;
  transition: transform 0s 0s ease-in-out;
}
.u-srh__box .u-srh__lst {
  padding-top: 24rem;
}
.u-srh__sbm {
  display: block;
  position: relative;
  min-width: 300rem;
  margin: 32rem auto 0;
  padding: 20rem 40rem;
  border-radius: 4rem;
  border: 1px solid var(--back-color-gradient);
  background: var(--back-color-gradient);
  background-size: 150% 150%;
  background-position: 0 0;
  font-size: 16rem;
  font-weight: 700;
  line-height: 1.5;
  color: #FFF;
  text-align: center;
  transition: all 0.2s linear;
}
.u-srh__sbm::before {
  content: " ";
  width: 25rem;
  height: 25rem;
  background-color: #fff;
  mask: url(/drivers/common/images/icn_link_arw_bl.svg) no-repeat center / contain;
  -webkit-mask: url(/drivers/common/images/icn_link_arw_bl.svg) no-repeat center / contain;
  position: absolute;
  top: 50%;
  right: 15rem;
  transform: translateY(-50%);
  transition: all 0.2s linear;
}
@media (any-hover: hover) {
  .u-srh__btn:hover {
    opacity: 0.7;
  }
  .u-srh__sbm:hover {
    background-position: 50% 0;
  }
}
/* PC
----------------------------------*/
@media screen and (min-width: 769px) {
  .u-srh__box .u-srh__trm {
    font-size: 14rem;
    line-height: 1.43;
  }
}
/* SP
----------------------------------*/
@media screen and (max-width: 768px) {
  .u-srh {
    padding: 44rem 40rem 48rem;
    border-radius: 6rem;
  }
  .u-srh__ttl {
    margin-bottom: 48rem;
    font-size: 36rem;
    line-height: 1.5;
    letter-spacing: normal;
  }
  .u-srh__kydInp {
    padding: 28rem 30rem;
    font-size: 26rem;
  }
  .u-srh__wrp {
    margin-top: 50rem;
  }
  .u-srh__grd {
    display: block;
  }
  .u-srh__lst {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .u-srh__trm {
    padding-top: 0;
    font-size: 30rem;
    line-height: 1;
  }
  .u-srh__trm:not(:first-child) {
    margin-top: 56rem;
  }
  .u-srh__dsc {
    margin-top: 24rem;
  }
  .u-srh__btn {
    display: inline-block;
    margin-top: 42rem;
    padding-right: 49rem;
    font-size: 30rem;
    line-height: 1.5;
  }
  .u-srh__btn::after {
    width: 40rem;
    height: 40rem;
  }
  .u-srh__box .u-srh__lst {
    padding-top: 55rem;
  }
  .u-srh__box .u-srh__dsc {
    margin-top: 32rem;
  }
  .u-srh__sbm {
    min-width: 510rem;
    margin-top: 64rem;
    padding: 32rem 34rem 30rem 10rem;
    font-size: 26rem;
    border-radius: 8rem;
  }
  .u-srh__sbm::before {
    width: 40rem;
    height: 40rem;
    right: 16rem;
  }
}


/*  チェックボックス
====================================*/
.u-check {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -8rem -8rem 0;
}
.u-check__itm {
  margin: 0 8rem 8rem 0;
}
.u-check__btn {
  display: flex;
  align-items: center;
  padding: 9rem 11rem 10rem;
  border-radius: 8rem;
  border: 1px solid #bdd0e1;
  background: #fff;
  cursor: pointer;
}
.u-check__btn input {
  display: none;
}
.u-check__btn input + span {
  position: relative;
  display: inline-block;
  padding-left: 20rem;
  font-size: 13rem;
  line-height: 1;
}
.u-check__btn input + span::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 16rem;
  height: 16rem;
  box-sizing: border-box;
  border: 1px solid #bdd0e1;
  background-color: #fff;
}
.u-check__btn input[type="checkbox"] + span::before {
  border-radius: 3rem;
}
.u-check__btn input[type="radio"] + span::before {
  border-radius: 50%;
}
.u-check__btn input + span::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
}
.u-check__btn input[type="checkbox"] + span::after {
  top: 2rem;
  left: 2rem;
  background-color: #fff;
  mask: url(/company/common/images/icn_check.svg) no-repeat center / contain;
  -webkit-mask: url(/company/common/images/icn_check.svg) no-repeat center / contain;
  width: 12rem;
  height: 10rem;
}
.u-check__btn input[type="radio"] + span::after {
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background-color: var(--font-color-main);
  opacity: 0;
}

.u-check__btn:has( input:checked) {
  border-color: #87a1b8;
  background-color: #cce5ff;
}
.u-check__btn input[type="checkbox"]:checked + span::before {
  background-color: var(--font-color-main);
  border-color: var(--font-color-main);
}
.u-check__btn input[type="radio"]:checked + span::after {
  opacity: 1;
}
/* SP
----------------------------------*/
@media screen and (max-width: 768px) {
  .u-check {
    display: block;
    margin: 0 0 -16rem;
  }
  .u-check__itm {
    margin: 0 0 16rem;
  }
  .u-check__btn {
    padding: 22rem;
    border-radius: 16rem;
  }
  .u-check__btn input + span {
    padding-left: 40rem;
    font-size: 26rem;
  }
  .u-check__btn input + span::before {
    width: 32rem;
    height: 32rem;
  }
  .u-check__btn input[type="checkbox"] + span::before {
    border-radius: 6rem;
  }
  .u-check__btn input[type="checkbox"] + span::after {
    top: 4rem;
    left: 4rem;
    width: 22rem;
    height: 20rem;
  }
  .u-check__btn input[type="radio"] + span::after {
    left: 4rem;
    width: 24rem;
    height: 24rem;
  }
}


/*  キーワードランキング
====================================*/
.u-ranking {
  margin-top: 30rem;
  padding-top: 30rem;
  border-top: 1px solid #d9d9d9;
}
.u-ranking__ttl {
  margin-bottom: 22rem;
  font-weight: bold;
  font-size: 18rem;
  line-height: 1.5;
}
.u-ranking__lst {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -22rem -10rem 0;
  counter-reset: num;
}
.u-ranking__itm {
  position: relative;
  padding-left: 26rem;
  margin: 0 22rem 10rem 0;
}
.u-ranking__itm::before {
  counter-increment: num;
  content: counter(num);
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  min-width: 20rem;
  min-height: 20rem;
  box-sizing: border-box;
  border-radius: 50%;
  background-color: var(--font-color-main);
  color: #fff;
  font-family: var(--font-family-roboto);
  font-weight: bold;
  font-size: 13rem;
  line-height: 1;
}
.u-ranking__inr {
  font-weight: bold;
  font-size: 16rem;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
}
@media (any-hover: hover) {
  .u-ranking__inr:hover {
    text-decoration: underline;
  }
}
/* SP
----------------------------------*/
@media screen and (max-width: 768px) {
  .u-ranking {
    margin-top: 48rem;
    padding-top: 48rem;
  }
  .u-ranking__ttl {
    margin-bottom: 26rem;
    font-size: 36rem;
  }
  .u-ranking__lst {
    display: block;
    margin: 0 0 -14rem;
  }
  .u-ranking__itm {
    padding-left: 54rem;
    margin: 0 0 14rem;
  }
  .u-ranking__itm::before {
    min-width: 40rem;
    min-height: 40rem;
    top: 6rem;
    font-size: 26rem;
  }
  .u-ranking__inr {
    font-size: 30rem;
    line-height: 1.8;
    letter-spacing: normal;
  }
}


/*  検索結果
====================================*/
.u-result {
  margin-top: 64rem;
}
.u-result__ttl {
  font-weight: bold;
  font-size: 24rem;
  line-height: 1.5;
}
.u-result__ttl > span {
  color: var(--font-color-main);
}
.u-result__txt {
  margin-top: 6rem;
  font-size: 13rem;
  line-height: 1.8;
}
/* SP
----------------------------------*/
@media screen and (max-width: 768px) {
  .u-result {
    margin-top: 80rem;
  }
  .u-result__ttl {
    font-size: 42rem;
  }
  .u-result__txt {
    font-size: 26rem;
  }
}


/*  検索記事
====================================*/
.u-article__itm {
  display: flex;
  padding: 32rem 0;
  border-bottom: 1px solid #d9d9d9;
  font-size: 14rem;
  line-height: 1.5;
}
.u-article__img {
  flex-basis: 184rem;
  margin-right: 26rem;
}
.u-article__txtCol {
  flex: 1;
  padding-top: 8rem;
  overflow-wrap: anywhere;
}
.u-article__ttl {
  font-weight: bold;
  font-size: 18rem;
}
.u-article__txt {
  margin-top: 12rem;
}
.u-article__lnk {
  margin-top: 14rem;
}
.u-article__lnk > a {
  color: var(--font-color-main);
  text-decoration: none;
}
@media (any-hover: hover) {
  .u-article__lnk > a:hover {
    text-decoration: underline;
  }
}
/* SP
----------------------------------*/
@media screen and (max-width: 768px) {
  .u-article__itm {
    padding: 48rem 0;
    font-size: 24rem;
  }
  .u-article__itm:first-child {
    padding-top: 40rem;
  }
  .u-article__img {
    flex-basis: 170rem;
  }
  .u-article__txtCol {
    padding-top: 0;
  }
  .u-article__ttl {
    font-size: 28rem;
  }
  .u-article__txt {
    margin-top: 16rem;
  }
  .u-article__lnk > a {
    font-size: 22rem;
  }
}


/*  ページネーション
====================================*/
.m-pageNav {
  margin-top: 36rem;
  margin-bottom: 10rem;
  opacity: 1;
}
/* SP
----------------------------------*/
@media screen and (max-width: 768px) {
  .m-pageNav {
    margin-top: 48rem;
    margin-bottom: 16rem;
  }
  .m-pageNav__numWrp .m-pageNav__btn {
    display: none;
  }
  .m-pageNav__numWrp:has( .m-pageNav__btn:first-child.js-current) .m-pageNav__btn:nth-child(-n + 3),
  .m-pageNav__numWrp .m-pageNav__btn:has( + .m-pageNav__btn.js-current),
  .m-pageNav__numWrp .m-pageNav__btn.js-current,
  .m-pageNav__numWrp .m-pageNav__btn.js-current + .m-pageNav__btn {
    display: block;
  }
}
