@charset "utf-8";

/*============================　
　既存スタイル上書き及び追加
=============================*/
.p-contetns-contact:has(+ .p-contents) {
  padding-bottom: 0;
}

.p-top+.p-contetns-contact {
  padding-top: 32px;
}

.p-contents--top+.p-contents:not(.short-news) {
  margin-top: clamp(64px, calc(32.609865470852014px + 8.370702541106128vw), 120px);
}

.p-contents--top>.p-contetns-contact {
  padding-bottom: 24px;
}

.p-contetns-contact:has(+ .s-separator) {
  padding-bottom: 0;
}

.p-info-item__heading:has(+ a) {
  margin-bottom: 34px;
}

/* カード */
.p-info__item.n-hover {
  pointer-events: none;
}

.p-view-list-button[data-size="large"] {
  max-width: fit-content;
  width: auto;
  padding-inline: 16px;
}

.p-info-item__head[data-size="auto"] {
  height: auto;
}

@media screen and (min-width: 768px) {
  .p-info__item[data-size="large"] {
    width: 100%;
    display: grid;
    grid-template-columns: 326px 1fr;
    column-gap: 40px;
  }

  .p-info__item[data-size="large"] :where(.p-info-item__head) {
    grid-column: 1;
    height: 100%;
    align-self: center;
    grid-row: 1 / 3;
  }

  .p-info__item[data-size="large"] :where(.p-info-item__heading) {
    grid-column: 2;
    align-self: end;
    text-align: left;
  }

  .p-info__item[data-size="large"] :where(.p-info-item__detail),
  .p-info__item[data-size="large"] :where(.p-view-list-button) {
    grid-column: 2;
    align-self: start;
  }

  .p-info--column {
    flex-wrap: wrap;
    row-gap: 40px;
    margin-top: 84px;
  }

  .p-info--column .p-info__item[data-size="large"] {
    margin-left: 0;
    padding: 2rem;
  }

  .p-info--column .p-info__item[data-size="large"] :where(.p-info-item__head) {
    width: 344px;
  }

  .p-info-item__foot {
    height: 155px;
  }

  .p-view-list-button-l {
    width: 300px !important;
  }

  .p-info-item__head_dl {
    height: 250px !important;
  }
}

/* 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;
  }
}

/* 導入事例 */
.voice .p-view-list-button-lett {
  margin: 15px auto 0;
  width: 80%;
}

.voice h3:has(+ .voice-item) {
  margin-bottom: 16px !important;
}

@media screen and (min-width: 768px) {
  .voice .p-view-list-button-lett {
    margin: 20px 0 0 auto;
    width: 200px;
  }
}

/* メインビジュアル */
/* ------------------- */
.p-top {
  background-image: url("../images/mv.webp");
  position: relative;
}

@media screen and (min-width: 768px) {
  .p-top {
    padding: 150px 0 180px;
    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-color: #000000;
    padding: 130px 0 50px;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

/* ナビゲーション */
.contentPageLink {
  flex-wrap: wrap;
}

@media screen and (min-width: 769px) {
  .contentPageLink li {
    width: 200px;
  }

  .contentPageLink li a {
    padding: 20px 1em;
    height: 100%;
  }
}

/*============================　
　固有スタイル　.s-xx
=============================*/

/* 共通 */
/* ------------------- */

/* テキスト */
.s-text {
  font-size: 16px;
}

.s-text-lg {
  font-size: clamp(1rem, calc(0.929932735426009rem + 0.29895366218236175vw), 1.125rem);
  line-height: 1.3;
}

.s-text-xl {
  font-size: clamp(1.125rem, calc(1.054932735426009rem + 0.29895366218236175vw), 1.25rem);
  line-height: 1.3;
}

.s-text-2xl {
  font-size: clamp(1.3125rem, calc(1.0672645739910314rem + 1.046337817638266vw), 1.625rem);
  line-height: 1.3;
}

.s-text-3xl {
  font-size: clamp(1.5625rem, calc(1.2471973094170403rem + 1.345291479820628vw), 2.25rem);
  line-height: 1.3;
}

[class*="s-text-"]:has(> .mark) {
  line-height: 1.65;
}

[class*="s-text"]:is(.p-page-heading + *) {
  margin-top: 64px;
}

.s-text-note {
  display: inline-block;
  font-size: 13px;
  line-height: 1.3;
  color: #888;
  text-indent: -1em;
  padding-left: 1em;
}

.s-text-item {
  display: inline-block;
  font-size: 16px;
  text-indent: -1em;
  padding-left: 1em;
}

.s-text-item--small {
  display: inline-block;
  font-size: 13px;
  text-indent: -1em;
  padding-left: 1em;
}

[class*="s-text"][data-icon="check"] {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 4px;
  text-indent: 0;
  padding-left: 0;
}

[class*="s-text"][data-icon="check"]::before {
  content: "";
  display: block;
  margin-top: 3px;
  width: 16px;
  aspect-ratio: 1;
  mask-image: url("../images/icon_check.svg");
  mask-position: center center;
  mask-repeat: no-repeat;
  mask-size: contain;
  background: #333;
}

.s-text-SemiBold {
  font-weight: 600;
}

/* 背景 */
[data-bg="blue"] {
  background-color: #e8f4ff;
}

[data-bg] {
  padding-top: 120px;
  padding-bottom: 120px;
}

[data-bg] .p-page-heading {
  margin-top: 0;
}

/* 色 */
.s-text-primary {
  color: #003366;
}

.s-text-white {
  color: #fff;
}

.s-bg-primary {
  background-color: #003366;
}

.s-bg-white {
  background-color: #fff;
}

.s-bg-gray {
  background-color: #f2f2f2;
}

/* ボックス */
.s-mx-auto {
  margin-inline: auto;
}

.s-w-fit {
  max-width: fit-content;
}

.s-fit-mx {
  max-width: fit-content;
  margin-inline: auto;
}

/* バナーエリア */
.s-banner {
  max-width: fit-content;
  margin-top: 40px;
  margin-inline: auto;
  margin-bottom: 40px;
  padding-inline: 1.5rem;
}

.s-banner a {
  transition: opacity 0.175s;
}

@media (any-hover: hover) {
  .s-banner a:hover {
    opacity: 0.7;
  }
}

/* ダウンロード資料 */
.p-info__item-large {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 24px;
  width: 100%;
  margin-bottom: 2rem;
  padding: 2rem;
  background-color: #e9ecf2;
  border-radius: 12px;
  position: relative;
  transition: transform 0.5s, background-color 0.5s;
}

.p-issue__heading {
  font-size: 20px;
  font-weight: bold;
  color: #003366;
}

.p-info__item-large .p-info-item__image {
  height: fit-content;
}

@media (hover: hover) {
  .p-info__item-large:not(.is-disabled-hover):hover .p-info-item__image img {
    transform: scale(120%);
  }

  .p-info__item-large:not(.is-disabled-hover):hover {
    background-color: #f2f4f8;
  }
}

@media not screen and (min-width: 768px) {
  .p-info__item-large .p-page-heading {
    margin-top: 0;
  }

  .p-info__item-large .p-info__item-large {
    padding: 30px 6.4%;
  }

  .p-info__item-large .p-issue__heading {
    margin-top: 1rem;
  }

  .p-info__item-large .p-view-list-button-lett {
    margin: 15px auto 0;
    width: 80%;
  }

  .p-info__item-large .p-view-list-button {
    width: 100%;
  }
}

@media screen and (min-width: 768px) {
  .p-info__item-large {
    grid-template-columns: 326px 1fr;
  }

  .p-info__item-large .p-view-list-button-l {
    margin: 20px 0 0 auto;
  }

  .p-info__item-large .p-view-list-button-lett {
    margin: 20px 0 0 auto;
    width: 200px;
  }

  .p-info__item-large .p-view-list-button {
    width: 300px;
  }
}

/* BTMで実現できる4つの主要機能 */
/* ------------------- */
.s-function img {
  display: block;
  width: 80px;
  height: auto;
  aspect-ratio: 1;
  margin-inline: auto;
}

/* HISのBTMの特徴 */
/* ------------------- */
.s-feature-inner {
  padding: 30px 6.4%;
  border-radius: 12px;
  background-color: #e9ecf2;
}

.s-feature__title {
  max-width: 720px;
  margin-inline: auto;
  padding: 12px 16px;
  background-color: #003366;
  color: #fff;
  text-align: center;
}

.s-feature-lists {
  display: grid;
  gap: 24px;
  justify-items: center;
}

.s-feature-lists::after {
  content: "";
  display: block;
  margin-inline: auto;
  height: 48px;
  aspect-ratio: 1;
  background-color: #003366;
  clip-path: polygon(0 0, 100% 0%, 50% 64%);
}

.s-feature-lists__item {
  width: 100%;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  gap: 24px;
  padding: 24px 6.4%;
  border-radius: 8px;
  background-color: #fff;
}

.s-feature-lists__item>.s-text-lg {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
}

.s-feature-lists__item>.s-text-lg::before {
  content: "";
  width: 24px;
  height: 2px;
  transform: rotate(60deg);
  box-sizing: border-box;
  background-color: #003366;
}

.s-feature-lists__item>.s-text-lg::after {
  content: "";
  width: 24px;
  height: 2px;
  transform: rotate(-60deg);
  box-sizing: border-box;
  background-color: #003366;
}

.s-feature-box {
  max-width: 760px;
  margin-inline: auto;
  padding: 16px 6.4%;
  background-color: #fff;
  border: 2px solid #003366;
  border-radius: 8px;
}

.s-feature-box__lists {
  max-width: fit-content;
  margin-inline: auto;
}

.s-feature-box__lists-item {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 4px;
}

.s-feature-box__lists-item:not(:first-child) {
  margin-top: 8px;
}

.s-feature-box__lists-item::before {
  content: "";
  display: block;
  margin-top: 2px;
  width: 22px;
  aspect-ratio: 1;
  background: url("../images/icon_check.svg") center / contain no-repeat;
}

.s-feature-em {
  padding: 24px 12px 24px;
  border-radius: 12px;
  /* border: 5px solid #f0be11; */
  background: #e8c343;
}

.s-feature-em__title {
  max-width: fit-content;
  margin-inline: auto;
  margin-top: -48px;
  padding: 4px 24px 6px;
  font-size: clamp(1.375rem, 1.0686rem + 1.3072vw, 2rem);
  line-height: 1.3;
  text-align: center;
  font-weight: bold;
  color: #e8c343;
  background-color: #fff;
  border: 2px solid #e8c343;
  border-radius: calc(infinity * 1px);
  filter: drop-shadow(0px 1px 2px #aaa);
}

@media screen and (min-width: 768px) {
  .s-feature-lists {
    grid-template-columns: repeat(2, 1fr);
  }

  .s-feature-lists__item:nth-child(3n),
  .s-feature-lists::after {
    grid-column: span 2 / span 2;
  }

  .s-feature-box {
    padding: 16px 20px;
  }

  .s-feature-em__title {
    margin-top: -48px;
  }
}

/* HISが提供するサービス */
/* ------------------- */
.s-service-lists {
  display: grid;
  gap: 32px;
}

.s-service-lists>* {
  min-inline-size: 0;
}

.s-service-lists__item {
  border: solid 3px #003366;
  border-radius: 12px;
}

.s-service-lists__item-head {
  padding: 12px 6.4%;
  font-size: clamp(1.125rem, 0.9148rem + 0.8969vw, 1.25rem);
  font-weight: 600;
  color: #fff;
  background-color: #003366;
}

.s-service-lists__item-body {
  padding: 32px 6.4%;
}

.s-service-col {
  display: grid;
  gap: 16px 56px;
  align-items: center;
}

.s-service-lists__item-textlists>li:not(:first-child) {
  margin-top: 4px;
}

.s-service-lists__item-textbox {
  padding: 12px;
  background-color: #f2f2f2;
}

.s-service-lists__item-textbox>p+ul {
  margin-top: 8px;
}

@media screen and (min-width: 768px) {
  .s-service-lists {
    grid-template-columns: repeat(2, 1fr);
  }

  .s-service-lists__item:nth-child(-n + 3) {
    grid-column: span 2 / span 2;
  }

  .s-service-lists__item:nth-child(n + 4) {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;
  }

  .s-service-lists__item-head {
    padding: 12px 20px;
  }

  .s-service-lists__item-body {
    padding: 40px 32px;
  }

  .s-service-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* HISの出張管理システム“HIS BTM Portal” */
/* ------------------- */
.s-btmPortal__col {
  display: grid;
  gap: 24px 48px;
  align-items: center;
}

.s-btmPortal__batch {
  background-color: #ffec38;
  border-radius: calc(infinity * 1px);
  text-align: center;
  max-width: fit-content;
  padding: 8px;
  gap: 4px;
  aspect-ratio: 1;
  width: 150px;
  height: 150px;
  display: grid;
  place-content: center;
  margin-left: auto;
  margin-right: -20px;
  margin-bottom: -70px;
  position: relative;
}

.s-btmPortal__col img {
  width: 100%;
}

.s-btmPortal__batch .-name {
  color: #003366;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
}

.s-btmPortal__batch .-main {
  margin-top: -8px;
  font-size: 15px;
  font-weight: bold;
  line-height: 1;
  color: #003366;
}

.s-btmPortal__batch .-main>span {
  font-size: 40px;
  letter-spacing: -0.08em;
  margin-right: 4px;
}

.s-btmPortal__batch .-note {
  font-size: 12px;
  line-height: 1;
}

.s-btmPortal-pickup {
  padding: 24px 32px;
  background-color: #eaf2f6;
}

.s-btmPortal-lists {
  margin-top: 24px;
  display: grid;
  gap: 12px 16px;
  grid-template-columns: repeat(1, 1fr);
}

.s-btmPortal-lists__item {
  display: grid;
  place-content: center;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  color: #003366;
  background-color: #fff;
  border: 2px solid #003366;
}

.s-btmPortal__btn {
  width: fit-content;
  max-width: 100%;
  margin-top: 0;
  padding: 12px 16px;

  display: block;
  width: 100%;
  background-color: #01bcc1;
  border: 2px solid #01bcc1;
  border-radius: 50px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  z-index: 1;
}

.s-btmPortal__btn>span {
  position: relative;
  display: block;
  font-weight: bold;
  text-align: center;
  word-break: break-all;
  font-size: 1rem;
  color: #ffffff;
  transition: color 0.6s;
  z-index: 2;
}

.s-btmPortal__btn::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  transition: transform 0.6s cubic-bezier(0.8, 0, 0.2, 1) 0s;
  transform: scale(0, 1);
  transform-origin: right top;
  position: absolute;
  top: 0;
  left: 0;
}

@media (hover: hover) {
  .c-rounded-button_bg:not(.is-disabled-hover):hover:before {
    transform-origin: left top;
    transform: scale(1, 1);
  }

  .c-rounded-button_bg:not(.is-disabled-hover):hover .p-contetns-contact__text_bg {
    color: #01bcc1;
  }
}

@media screen and (min-width: 768px) {
  .s-btmPortal-lists {
    margin-top: 24px;
    display: grid;
    gap: 12px 16px;
    grid-template-columns: repeat(2, 1fr);
  }

  .s-btmPortal__col {
    grid-template-columns: repeat(2, 1fr);
  }


  .s-btmPortal__col img {
    max-width: 420px;
    margin-left: 0px;
    margin-top: -32px;
  }

  .s-btmPortal__batch {
    margin-right: 0;
  }

  .s-btmPortal__col-text {
    align-self: end;
  }

  .s-btmPortal__col-image {
    grid-column: 2;
    grid-row: 1 / 3;
  }

  .s-btmPortal__btn {
    max-width: 320px;
    margin-left: 0;
    grid-column: 1;
    grid-row: 2 / 2;
  }
}

@media screen and (min-width: 1024px) {
  .s-btmPortal-lists {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* 導入までの簡単なステップ */
/* ====================== */
.s-step-lists {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
  align-items: center;
  justify-content: center;
}

.s-step-lists__item {
  position: relative;
  padding: 24px;
  background-color: #fff;
  border-radius: 10px;
}

.s-step-lists__item:not(:first-child)::before {
  content: "";
  max-width: fit-content;
  width: 15px;
  background-image: url("../images/icon_stepArrow.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-lists__img {
  margin-top: 12px;
}

.s-step-lists__img img {
  display: block;
  max-width: 100px;
  margin-inline: auto;
}

@media not screen and (min-width: 640px) {
  .s-step-lists__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-lists__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-lists__item:nth-child(3)::before {
    content: none;
  }
}

@media screen and (min-width: 896px) {
  .s-step-lists {
    grid-template-columns: repeat(4, 1fr);
  }

  .s-step-lists__item {
    display: grid;
    gap: 0;
    grid-template-rows: subgrid;
    grid-row: span 2;
  }
}