@charset "UTF-8";
/* ======================================================================
 setting
====================================================================== */
/* ======================================================================
 .p_service
====================================================================== */
.l_content {
  padding-top: 0;
}
@media screen and (max-width: 768px) {
  .l_content {
    padding-top: 0;
  }
}

.p_service_lineup {
  padding: 100px 0;
  background: linear-gradient(90deg, #00577e 0%, #002c3f 100%);
}
@media screen and (max-width: 768px) {
  .p_service_lineup {
    padding: 40px 4.6875vw;
  }
}
@media screen and (max-width: 768px) {
  .p_service_lineup_inner.inner {
    padding-left: 0;
    padding-right: 0;
  }
}

.p_service_ttl {
  text-align: center;
  margin-bottom: 50px;
}
@media screen and (max-width: 768px) {
  .p_service_ttl {
    margin-bottom: 32px;
  }
}
.p_service_ttl_en {
  margin: 0 0 24px;
  color: #fff;
  font-family: "Lexend Giga", sans-serif;
  letter-spacing: -0.1em;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}
.p_service_ttl_en::before, .p_service_ttl_en::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: #fff;
  vertical-align: middle;
}
.p_service_ttl_en::before {
  margin-right: 12px;
}
.p_service_ttl_en::after {
  margin-left: 12px;
}
@media screen and (max-width: 768px) {
  .p_service_ttl_en {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
}
.p_service_ttl_ja {
  margin: 0;
  color: #fff;
  font-family: "Zen Old Mincho", serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.4;
}
@media screen and (max-width: 768px) {
  .p_service_ttl_ja {
    font-size: 2.6rem;
  }
}

.p_service_lineup_body {
  max-width: 1000px;
  margin: 0 auto;
}

.p_service_nav_list {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.p_service_nav_item {
  position: relative;
  width: 50%;
  height: 50px;
  display: grid;
  place-content: center;
  border-bottom: 2px solid #f0f0f0;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}
@media screen and (max-width: 768px) {
  .p_service_nav_item {
    font-size: 1.6rem;
  }
}
.p_service_nav_item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 14px;
  height: 16px;
  background: inherit;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: translate(-50%, 100%);
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
}
@media screen and (max-width: 768px) {
  .p_service_nav_item::after {
    width: 10px;
    height: 9px;
  }
}
.p_service_nav_item._current {
  cursor: default;
}
.p_service_nav_item._current {
  background: #f0f0f0;
  color: #00577e;
}
.p_service_nav_item._current::after {
  opacity: 1;
}
@media screen and (min-width: 769px) {
  .p_service_nav_item:hover {
    background: #f0f0f0;
    color: #00577e;
  }
  .p_service_nav_item:hover::after {
    opacity: 1;
  }
}

.p_service_blocks {
  margin-top: 60px;
  position: relative;
}
@media screen and (max-width: 768px) {
  .p_service_blocks {
    margin-top: 35px;
  }
}

.p_service_block {
  opacity: 0;
  transition: opacity 0.25s ease-in-out;
  pointer-events: none;
}
.p_service_block--kojin {
  position: relative;
  z-index: 1;
}
.p_service_block--hojin {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
}
.p_service_block._current {
  opacity: 1;
  z-index: 2;
  pointer-events: auto;
}
@media screen and (max-width: 768px) {
  .p_service_block--kojin, .p_service_block--hojin {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
  }
  .p_service_block._current {
    position: relative;
    top: 0;
    left: 0;
  }
}

.p_service_units {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media screen and (max-width: 768px) {
  .p_service_units {
    gap: 10px;
  }
}

.p_service_unit {
  width: calc(33.33333% - 13.3333333333px);
  height: 250px;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
@media screen and (max-width: 768px) {
  .p_service_unit {
    width: calc(50% - 5px);
    height: auto;
  }
}

.p_service_block--hojin .p_service_unit {
  width: calc(33.33333% - 13.3333333333px);
}
@media screen and (max-width: 768px) {
  .p_service_block--hojin .p_service_unit {
    width: calc(50% - 5px);
  }
}

.p_service_unit_link {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100%;
  gap: 10px;
  padding: 40px 10px;
  background: #f0f0f0;
  color: #292929;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.25s ease-in-out, color 0.25s ease-in-out;
}
@media screen and (max-width: 768px) {
  .p_service_unit_link {
    padding: 10px 5px;
  }
}
.p_service_unit_link p {
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, 游ゴシック体, "Yu Gothic", YuGothic, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
  transition: color 0.25s ease-in-out;
}
@media screen and (max-width: 768px) {
  .p_service_unit_link p {
    font-size: 1.4rem;
    margin: 10px 0;
  }
}
.p_service_unit_link h2 {
  margin: 5px 0 0;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, 游ゴシック体, "Yu Gothic", YuGothic, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  transition: color 0.25s ease-in-out;
}
@media screen and (max-width: 768px) {
  .p_service_unit_link h2 {
    font-size: 1.4rem;
    margin: 0;
  }
}
@media screen and (min-width: 769px) {
  .p_service_unit_link:hover {
    background: rgba(240, 240, 240, 0);
    color: #fff;
  }
  .p_service_unit_link:hover p,
  .p_service_unit_link:hover h2 {
    color: #fff;
  }
  .p_service_unit_link:hover .p_service_unit_detail {
    color: #fff;
  }
  .p_service_unit_link:hover .p_service_unit_detail::after {
    background: #fff;
  }
}

.p_service_unit_figure {
  margin: 0;
}
.p_service_unit_figure img {
  display: block;
  width: 70px;
  height: 70px;
}
@media screen and (max-width: 768px) {
  .p_service_unit_figure img {
    width: 40px;
    height: 40px;
  }
}

.p_service_unit_detail {
  position: absolute;
  right: 0;
  bottom: 25px;
  margin: 0;
  color: #00577e;
  font-family: "Zen Kaku Gothic New", "Noto Sans JP", "ヒラギノ角ゴシック Pro", "Hiragino Kaku Gothic Pro", メイリオ, 游ゴシック体, "Yu Gothic", YuGothic, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: color 0.25s ease-in-out;
}
@media screen and (max-width: 768px) {
  .p_service_unit_detail {
    display: none;
  }
}
.p_service_unit_detail::after {
  content: '';
  display: inline-block;
  position: relative;
  top: -2px;
  width: 30px;
  height: 1px;
  margin-left: 8px;
  background: #00577e;
  vertical-align: middle;
  transition: background-color 0.25s ease-in-out;
}

.p_service_block_btn {
  margin-top: 100px;
  text-align: center;
}
@media screen and (max-width: 768px) {
  .p_service_block_btn {
    margin-top: 30px;
  }
}

/*# sourceMappingURL=p_service.css.map */
