@charset "utf-8";
/* CSS Document */

@media print,
screen and (min-width: 768px) {
  .p-top {
    background-image: url("../images/mv.webp");
    position: relative;
    background-position: center;
    background-color: #f0f0f0;
    border-radius: 15px;
    background-size: cover;
    background-attachment: fixed;
  }
}

@media not all and (min-width: 768px) {
  .p-top {
    background-image: url("../images/mv.webp");
    background-color: #000000;
    padding: 130px 0 50px;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
  }
}

.worries__heading {
  --_icon-size: 20px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px;
}

.worries__heading::before {
  content: "";
  display: inline-block;
  block-size: var(--_icon-size);
  aspect-ratio: 1;
  margin-block: calc((1lh - var(--_icon-size)) / 2);
  vertical-align: bottom;
  margin-right: 4px;
  mask-position: center center;
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-image: url("/corp/assets/images/common/icon_check-correct.svg");
  background: #333;
}

@media print,
screen and (min-width: 768px) {
  .p-info-item-s__detail {
    width: calc(100% - 0px) !important;
  }

  .p-view-list-button-r {
    margin: auto !important;
  }
}

/*-----------------------------------------------------------
inspection 追加
------------------------------------------------------------*/
.serviceBoxWrap {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.p-info-item__sup {
  text-align: left;
  color: #ffffff;
  position: absolute;
  top: 1px;
}

/*ラベルの色*/
.blue-lavel span {
  display: inline-block;
  background-color: #005399 !important;
}

.blue-lavel::after {
  border-color: transparent #005399 transparent transparent !important;
}

.yellow-lavel span {
  display: inline-block;
  background-color: #f1c40f !important;
}

.yellow-lavel::after {
  border-color: transparent #f1c40f transparent transparent !important;
}

.red-lavel span {
  display: inline-block;
  background-color: #a51313 !important;
}

.red-lavel::after {
  border-color: transparent #a51313 transparent transparent !important;
}

.p-info-item__sup {
  z-index: 100;
}

/*タブ切り替え全体のスタイル*/
.serviceBoxWrap {
  margin-top: 50px !important;
  padding-bottom: 40px;
  background-color: #fff;
  max-width: 1280px;
  margin: 0 auto;
}

/*タブのスタイル*/
.tab_item {
  width: calc(100%/9);
  height: 50px;
  border: 1px solid #f1c40f;
  font-size: 13px;
  text-align: center;
  line-height: 1;
  color: #565656;
  float: left;
  font-weight: bold;
  transition: all 0.2s ease;
  box-sizing: border-box;
  margin: 0;
  margin-bottom: 5%;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  /* 縦方向中央揃え（Safari用） */
  align-items: center;
  /* 縦方向中央揃え */
  -webkit-justify-content: center;
  /* 横方向中央揃え（Safari用） */
  justify-content: center;
  /* 横方向中央揃え */
}

.tab_item:hover {
  opacity: 0.75;
  cursor: pointer;
}

.serviceBoxWrap input:checked+.tab_item {
  background-color: #f1c40f;
  color: #fff;
}

/*ラジオボタンを全て消す*/
input[name='tab_item'] {
  position: relative;
  display: none;
}

#category_1:checked~.serviceBox2:not(#category_1_content),
#category_2:checked~.serviceBox2:not(#category_2_content),
#category_3:checked~.serviceBox2:not(#category_3_content),
#category_4:checked~.serviceBox2:not(#category_4_content),
#category_5:checked~.serviceBox2:not(#category_5_content),
#category_6:checked~.serviceBox2:not(#category_6_content),
#category_7:checked~.serviceBox2:not(#category_7_content),
#category_8:checked~.serviceBox2:not(#category_8_content) {
  display: none;
}

/*タブ切り替えの中身のスタイル*/
.serviceBox2 {
  padding: 0;
  clear: both;
}

/*選択されているタブのコンテンツのみを表示*/
#all:checked~#all_content,
#category_1:checked~#category_1_content,
#category_2:checked~#category_2_content,
#category_3:checked~#category_3_content,
#category_4:checked~#category_4_content,
#category_5:checked~#category_5_content,
#category_6:checked~#category_6_content,
#category_7:checked~#category_7_content,
#category_8:checked~#category_8_content {
  display: block;
}

/*選択されているタブのスタイルを変える*/
.serviceBoxWrap input:checked+.tab_item {
  background-color: #f1c40f;
  color: #fff;
}

@media print,
screen and (min-width: 768px) {
  .p-info-item__sup {
    left: -11px;
  }
}

@media not all and (min-width: 768px) {
  .p-info-item__sup {
    left: -9px;
  }
}

.p-info-item__sup span {
  display: inline-block;
  font-weight: bold;
  background-color: #009999;
}

@media print,
screen and (min-width: 768px) {
  .p-info-item__sup span {
    font-size: 1rem;
    padding: 3px 11px;
  }
}

@media not all and (min-width: 768px) {
  .p-info-item__sup span {
    font-size: 1rem;
    padding: 2px 8px;
  }
}

.p-info-item__sup::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent #008282 transparent transparent;
  position: absolute;
  left: 0;
}

@media print,
screen and (min-width: 768px) {
  .p-info-item__sup::after {
    border-width: 0 11px 11px 0;
    bottom: -11px;
  }
}

@media not all and (min-width: 768px) {
  .p-info-item__sup::after {
    border-width: 0 9px 9px 0;
    bottom: -9px;
  }

  .p-info-item-s__heading {
    font-size: 1rem;
    padding-top: 0px;
    padding-bottom: 0px;
    padding-left: 30px;
  }
}

@media screen and (max-width:768px) {
  .tab_item {
    width: calc(100%/4);
    font-size: 11.5px;
    padding: 10px 0;
    margin-bottom: 0;
  }

  .serviceBoxWrap .serviceBox2 {
    width: 100%;
    margin-top: 5%;
  }
}

/* お知らせ高さ */
@media not all and (min-width: 768px) {
  .p-news-list-sb {
    max-height: 380px;
    height: auto;
  }
}

@media print,
screen and (min-width: 768px) {
  .p-news-list-sb {
    max-height: 280px;
    height: auto;
  }
}


/* ナビゲーション */
.contentPageLink {
  flex-wrap: wrap;
}

@media not screen and (max-width: 768px) {
  .contentPageLink li {
    width: 220px;
  }

  .contentPageLink li a {
    padding: 20px 1em;
    height: 100%;
  }
}

/*リンクカードPCそろえる */
@media screen and (min-width: 768px) {
  .p-info.grid {
    display: grid;
    gap: 38px;
    grid-template-columns: repeat(3, 1fr);
  }

  .p-info.grid[data-column="2"] {
    grid-template-columns: repeat(2, 1fr);
  }

  .p-info.grid .p-info__item {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;
  }

  .p-info.grid[data-item-row="4"] .p-info__item {
    grid-row: span 4;
  }
}

/* 背景 */
[data-bg="blue"] {
  background-color: #e8f4ff;
}

[data-bg="gray"] {
  background-color: #f2f2f2;
}

[data-bg] {
  padding-top: 120px;
  padding-bottom: 120px;
}

[data-bg] .p-page-heading {
  margin-top: 0;
}

/* 実施までの流れ */
/* ====================== */
.s-step__lists {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
  align-items: center;
  justify-content: center;
}

.s-step__item {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 24px;
  padding: 24px;
  background-color: #fff;
  border-radius: 10px;
}

.s-step__item:not(:first-child)::before {
  content: "";
  max-width: fit-content;
  width: 15px;
  background-image: url("../images/step.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  padding: 20px;
  display: block;
  position: absolute;
  left: 0;
  right: 0;
}

.s-step__name {
  font-size: clamp(1rem, 0.9299rem + 0.299vw, 1.125rem);
  font-weight: 600;
  color: #003366;
  text-align: center;
}

.s-step__img img {
  display: block;
  margin-inline: auto;
}

@media not screen and (min-width: 640px) {
  .s-step__item:not(:first-child)::before {
    margin-inline: auto;
    transform: rotate(90deg);
    top: -38px;
    left: 0;
    bottom: 0;
    width: 15px;
    height: 15px;
  }
}

@media screen and (min-width: 640px) {
  .s-step__item:not(:first-child)::before {
    left: -32px;
    top: 0;
    bottom: 0;
  }
}

@media screen and (min-width: 640px) and (max-width: 896px) {
  .s-step__lists {
    grid-template-columns: repeat(2, 1fr);
  }

  .s-step__item:nth-child(3)::before {
    content: none;
  }

  .s-step__item:nth-child(5)::before {
    content: none;
  }

  .s-step__item:nth-child(7)::before {
    content: none;
  }
}

@media screen and (min-width: 896px) {
  .s-step__lists {
    grid-template-columns: repeat(4, 1fr);
  }

  .s-step__item:nth-child(5)::before {
    content: none;
  }
}