@charset "utf-8";

/* service/system/（DX／ITソリューション） */
/* ============================================ */
/* clamp基準: .width内=1664~896 / フルワイド要素=1920~896 */

/* KUMUTOバナー（ヒーロー内・一覧下の2箇所で使用） */
/* ============================================ */

.service-system__bnr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: calc((16 / 700) * 100cqw);
  padding: calc((24 / 700) * 100cqw) calc((20 / 700) * 100cqw) calc((24 / 700) * 100cqw) calc((56 / 700) * 100cqw);
  background: #fff;
  border-radius: 9999px;
  color: var(--font_c);
  filter: drop-shadow(0 0 10px var(--main_c));
  transition: opacity .3s ease-out;
  @media (width <= 896px) {
    display: flex;
    width: 100%;
  }
  &:hover {
    @media (hover: hover) {
      opacity: 1;
      background: #409ABD;
      color: #fff;
      .service-system__bnr-label {
        background: #fff;
        color: #409ABD;
      }
      .service-system__bnr-logo {
        img {
          filter: brightness(0) saturate(100%) invert(100%) sepia(98%) saturate(11%) hue-rotate(289deg) brightness(103%) contrast(101%);
        }
      }
      .service-system__bnr-arrow {
        &::after {
          translate: 3px 0;
        }
      }
    }
  }
}
.service-system__bnr-body {
  max-width: 440px;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.service-system__bnr-label {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc((5 / 15) * 1em) calc((15 / 15) * 1em);
  background: var(--font_c);
  border-radius: 9999px;
  font-family: var(--font_display);
  font-weight: 900;
  font-size: calc((15 / 440) * 100cqw);
  line-height: 1;
  letter-spacing: .16em;
  color: #fff;
  transition: background .3s ease-out;
}
.service-system__bnr-row {
  display: flex;
  align-items: center;
  gap: calc((20 / 440) * 100cqw);
}
.service-system__bnr-logo {
  flex-shrink: 0;
  display: block;
  width: calc((187 / 440) * 100cqw) ;
  img {
    display: block;
    width: 100%;
  }
}
.service-system__bnr-txt {
  font-family: var(--font_display);
  font-weight: 700;
  font-size: calc((14 / 440) * 100cqw);
  line-height: 1.6;
  letter-spacing: .09em;
}
.service-system__bnr-em {
  font-weight: 900;
  font-size: calc((27 / 440) * 100cqw);
  font-style: normal;
  letter-spacing: .05em;
}
.service-system__bnr-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(2rem, -0.0417rem + 3.6458vw, 3.75rem); /* 60~32 */
  height: clamp(2rem, -0.0417rem + 3.6458vw, 3.75rem); /* 60~32 */
  background: #fa4949;
  border-radius: 50%;
  transition: background .3s ease-out;
  &::after {
    content: "";
    display: block;
    width: clamp(1.125rem, 0.9792rem + 0.2604vw, 1.25rem); /* 20~18 */
    height: clamp(1.125rem, 0.9792rem + 0.2604vw, 1.25rem); /* 20~18 */
    background: #fff;
    -webkit-mask-image: url(../images/common/arrow_right_white.svg);
    mask-image: url(../images/common/arrow_right_white.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    transition: translate .3s ease-out;
  }
}


/* 業種別サービス一覧 */
/* ============================================ */

.service-system__list {
  padding-bottom: 120px;
  position: relative;
  z-index: 1;
  @media (width <= 896px) {
    padding-bottom: 48px;
  }
}
.service-system__list-wrap {
  position: relative;
  z-index: 1;
}
.service-system__list-lead {
  margin-top: 64px;
  padding-left: 48px;
  font-size: var(--fs_ml); /* 24~20 */
  font-weight: 400;
  line-height: 1.8;
  @media (width <= 896px) {
    margin-top: 32px;
    padding-left: 0;
    font-size: var(--fs_m); /* 16~14 */
  }
}
.service-system__list-body {
  margin-top: 96px;
  padding-left: 48px;
  @media (width <= 896px) {
    margin-top: 40px;
    padding-left: 0;
  }
}
.service-system__list-bnr {
  margin-top: 64px;
  margin-inline: auto;
  width: 100%;
  max-width: 700px;
  container-type: inline-size;
  @media (width <= 896px) {
    margin-top: 40px;
  }
}


/* 業種セクション */
/* ============================================ */

.service-system__cat {
  position: relative;
  padding-top: 35px;
  @media (width <= 896px) {
    padding-top: 24px;
  }
  /* 見出し上の緑ライン */
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: min(228px, 60%);
    height: 1px;
    background: var(--main_c);
    @media (width <= 896px) {
      width: min(120px, 60%);
    }
  }
  & + & {
    margin-top: 80px;
    @media (width <= 896px) {
      margin-top: 48px;
    }
  }
}
.service-system__cat-ttl {
  word-break: keep-all;
  font-size: calc((24 / 16) * 1rem);
  font-weight: 600;
  line-height: 1.8;
  color: var(--main_c);
}
.service-system__cat-catch {
  word-break: keep-all;
  margin-top: 32px;
  font-family: var(--font_display);
  font-weight: 700;
  font-size: var(--fs_l); /* 32~24 */
  line-height: 1.5;
  letter-spacing: .06em;
  @media (width <= 896px) {
    margin-top: 20px;
  }
}
.service-system__cat-em {
  font-style: normal;
  color: var(--main_c);
}
.service-system__cat-lead {
  margin-top: 10px;
  font-size: var(--fs_m); /* 16~14 */
  line-height: 1.8;
  letter-spacing: .06em;
}
/* 自動車／業種横断の2カラム */
.service-system__cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px 40px;
  margin-top: 80px;
  @media (width <= 896px) {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }
  .service-system__cat {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
    gap: 0;
  }
  .service-system__cat + .service-system__cat {
    margin-top: 0;
  }
}

/* カード（ホテル・旅館） */
/* ============================================ */

.service-system__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 16px;
  margin-top: 32px;
  @media (width <= 1367px) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  @media (width <= 896px) {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
}
.service-system__card {
  &.--nolink {
    .service-system__card-link {
      pointer-events: none;
    }
    .service-system__card-more {
      display: none;
    }
  }
}
.service-system__card-link {
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100%;
  padding: clamp(1.5rem, 0.9167rem + 1.0417vw, 2rem); /* 32~24(1664~896) */
  background: color-mix(in srgb, #fff 60%, transparent);
  -webkit-backdrop-filter: blur(47px);
  backdrop-filter: blur(47px);
  border-radius: 16px;
  color: var(--font_c);
  transition: box-shadow .3s ease-out;
  @media (width <= 896px) {
    gap: 16px;
  }
  &:hover {
    @media (hover: hover) {
      opacity: 1;
      box-shadow: 0 0 20px 0 color-mix(in srgb, var(--main_c) 40%, transparent);
      .common-arrow__btn {
        color: var(--main_c);
      }
      .common-arrow__btn-circle {
        background-color: #2c2c2c;
      }
      .common-arrow__btn-circle::after {
        translate: 3px 0;
      }
    }
  }
}
.service-system__card-img {
  container-type: inline-size;
  position: relative;
}
.service-system__card-sub {
  width: calc((133 / 328) * 100cqw);
  filter: drop-shadow(4px 4px 8px color-mix(in srgb, #000 10%, transparent));
  position: absolute;
  right: calc((-12 / 328) * 100cqw);
  bottom: calc((-22 / 328) * 100cqw);
  @media (width <= 1367px) {
    right: calc((-8 / 328) * 100cqw);
  }
}
.service-system__card-pic {
  display: block;
  width: 100%;
  aspect-ratio: 328 / 173;
  object-fit: cover;
  border-radius: 8px;
}
.service-system__card-no {
  font-size: var(--fs_s); /* 14~12 */
  display: flex;
  align-items: flex-start;
  gap: .5em;
}
.service-system__card-no-icon {
  flex-shrink: 0;
  display: inline-flex;
  width: calc((12 / 14) * 1em);
  margin-top: .32em;
  aspect-ratio: 32 / 31;
  img {
    display: block;
    width: 100%;
    height: 100%;
  }
}
.service-system__card-no-txt {
  font-family: var(--font_en);
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: capitalize;
  color: var(--main_c);
}
.service-system__card-ttl {
  margin-top: 4px;
  font-size: clamp(1.125rem, 0.6875rem + 0.7813vw, 1.5rem); /* 24~18(1664~896) */
  font-weight: 700;
  line-height: 1.8;
}
.service-system__card-catch {
  margin-top: 16px;
  font-size: var(--fs_mm); /* 20~16 */
  font-weight: 600;
  line-height: 1.8;
}
.service-system__card-em {
  font-style: normal;
  color: var(--main_c);
}
.service-system__card-txt {
  font-size: var(--fs_m); /* 16~14 */
  line-height: 1.8;
  letter-spacing: .06em;
}
.service-system__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
  list-style: none;
  @media (width <= 896px) {
    margin-top: 16px;
  }
}
.service-system__tags-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: #e8f4ea;
  border-radius: 100px;
  font-size: calc((12 / 16) * 1rem); /* 12px */
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: .08em;
  &::before {
    content: "";
    flex-shrink: 0;
    display: block;
    width: 6px;
    height: 6px;
    background: var(--main_c);
    border-radius: 50%;
  }
}
.service-system__card-more {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--main_c);
  /* カード内は共通ボタンより小さめのサイズで表示する */
  .common-arrow__btn {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 16px;
    padding-bottom: 0;
    &::after {
      content: none;
    }
  }
  .common-arrow__btn-txt {
    font-size: var(--fs_m); /* 16~14 */
    letter-spacing: .06em;
  }
  .common-arrow__btn-circle {
    width: 40px;
    height: 40px;
    &::after {
      width: 16px;
      height: 16px;
    }
  }
}


/* 横長の行カード（製造業・自動車・業種横断） */
/* ============================================ */

.service-system__rows {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 8px;
  margin-top: 16px;
  list-style: none;
  @media (width <= 896px) {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  &.service-system__rows--single {
    grid-template-columns: 1fr;
  }
}
.service-system__row {
  background: #fff;
  border-radius: 16px;
  overflow: clip;
  transition: box-shadow .3s ease-out;
  @media (hover: hover) {
    &:has(.service-system__row-link:hover) {
      box-shadow: 0 0 20px 0 color-mix(in srgb, var(--main_c) 40%, transparent);
    }
  }
  &.--nolink {
    .service-system__row-link {
      pointer-events: none;
    }
    .service-system__row-arrow {
      display: none;
    }
  }
}
.service-system__row-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  color: var(--font_c);
  height: 100%;
  &:hover {
    @media (hover: hover) {
      opacity: 1;
    }
  }
  @media (width <= 896px) {
    gap: 12px;
  }
}
.service-system__row-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  @media (width <= 896px) {
    width: 64px;
    height: 64px;
  }
  img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
.service-system__row-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.service-system__row-ttl {
  word-break: keep-all;
  font-size: calc((18 / 16) * 1rem); /* 18px */
  font-weight: 600;
  color: var(--main_c);
  margin-bottom: 12px;
  @media (width <= 896px) {
    margin-bottom: 8px;
  }
}
.service-system__row-sub {
  font-size: calc((14 / 18) * 1em); /* 14px */
  font-weight: 600;
}
.service-system__row-txt {
  font-size: calc((14 / 16) * 1rem); /* 14px */
  line-height: 1.8;
  letter-spacing: .06em;
  color: var(--font_c);
  @media (width <= 896px) {
    font-size: calc((13 / 16) * 1rem); /* 13px */
  }
}
.service-system__row-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--main_c);
  -webkit-mask-image: url(../images/common/btn_mark.svg);
  mask-image: url(../images/common/btn_mark.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  transition: background .3s ease-out;
  &::after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    background: #fff;
    -webkit-mask-image: url(../images/common/arrow_right_white.svg);
    mask-image: url(../images/common/arrow_right_white.svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    transition: translate .3s ease-out;
  }
  .service-system__row-link:hover & {
    @media (hover: hover) {
      background: var(--font_c);
      &::after {
        translate: 3px 0;
      }
    }
  }
}


/* 「業務の「困った」、ITで解決しませんか？」CTA */
/* ============================================ */
/* 見た目はサービス詳細LP共通の .service-detail__cta（service-detail.css）を使用し、
   このページでは一覧との間隔だけを指定する */

.service-system__cta {
  margin-top: 64px;
  @media (width <= 896px) {
    margin-top: 40px;
  }
}
