@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-info__item.n-hover {
  pointer-events: none;
}

@media screen and (min-width: 768px) {
  .p-info__item[data-size="large"] {
    width: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 40px;
  }

  .p-info__item[data-size="large"] :where(.p-info-item__head) {
    grid-column: 1;
    width: 240px;
    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) {
    grid-column: 2;
    align-self: start;
  }

  .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 .p-info__item {
    width: 100%;
    margin: 0;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    gap: 0;
  }
}

@media not screen and (min-width: 768px) {
  .p-view-list-button-document {
    width: 100%;
  }
}

/* メインビジュアル */
.p-top {
  position: relative;
  background-image: url("../images/mv.webp");
  background-position: center;
  background-size: cover;
}

@media screen and (min-width: 768px) {
  .p-top {
    background-color: #f0f0f0;
    border-radius: 15px;
    background-attachment: fixed;
  }
}

@media not screen and (min-width: 768px) {
  .p-top {
    background-color: #000000;
    padding: 130px 0 50px;
    border-radius: 10px;
    background-repeat: no-repeat;
  }

  .p-top__heading {
    font-size: 1.7rem;
  }
}

/* ナビゲーション */
.contentPageLink {
  flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
  .contentPageLink li {
    width: 240px;
  }

  .contentPageLink li a {
    padding: 20px 1em;
    height: 100%;
  }
}

/* 共通 */
/* ------------------- */
.s-text-sm {
  font-size: clamp(0.875rem, calc(0.804932735426009rem + 0.29895366218236175vw), 1rem);
}

.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.75rem);
  line-height: 1.3;
}

.s-text-3xl {
  font-size: clamp(1.5625rem, calc(1.2471973094170403rem + 1.345291479820628vw), 2.25rem);
  line-height: 1.3;
}

[data-bg="blue"] {
  background-color: #e8f4ff;
}

[data-bg] {
  padding-top: 80px;
  padding-bottom: 80px;
}

[data-bg] .p-page-heading {
  margin-top: 0;
}

/* 入社式・内定式をサポート */
/* ------------------- */
.s-support .p-info-item__heading {
  font-size: 1rem;
}

.s-support .p-info-dvd-3 img {
  display: block;
  width: 80px;
  height: auto;
  aspect-ratio: 1;
  margin-inline: auto;
}

.s-support .p-info-dvd-3 {
  display: grid;
  gap: 32px;
}

.s-support .dvd-3 {
  border: 3px solid #c7d8e5;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 0 #c7d8e5;
}

.s-support__textLink {
  max-width: fit-content;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px;
  color: #003366;
  translate: 0;
  transition-duration: 0.3s;
}

@media (any-hover: hover) {
  .s-support__textLink:hover {
    opacity: 0.7;
  }
}

@media screen and (min-width: 768px) {
  .s-support .p-info-dvd-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* HISで出張手配する場合 */
.s-arrange {
  margin-top: 80px;
  padding: 40px 24px 24px;
  border: 5px solid #f0be11;
}

.s-arrange__heading {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  max-width: fit-content;
  margin-inline: auto;
  margin-top: -70px;
  font-size: clamp(1.125rem, 0.6961rem + 1.8301vw, 2rem);
  font-weight: bold;
  line-height: 1.3;
  text-align: center;
  background-color: #fff;
}

.s-arrange__heading:before {
  margin-top: 8px;
  content: "";
  width: 36px;
  height: 2px;
  transform: rotate(60deg);
  box-sizing: border-box;
  background-color: #333333;
}

.s-arrange__heading:after {
  margin-top: 8px;
  content: "";
  width: 36px;
  height: 2px;
  transform: rotate(-60deg);
  box-sizing: border-box;
  background-color: #333333;
}

.s-arrange__heading span {
  text-decoration-color: #fbe28e;
  text-decoration-line: underline;
  text-decoration-thickness: 10px;
  text-decoration-skip-ink: none;
  text-underline-offset: -5px;
}

.s-arrange__image {
  margin-top: 24px;
}

.s-arrange__text {
  margin-top: 24px;
  padding: 8px 12px;
  font-size: clamp(1.125rem, 0.9148rem + 0.8969vw, 1.5rem);
  font-weight: bold;
  text-align: center;
  color: #fff;
  background-color: #f0be11;
}

/* 入社式・内定式の演出・サポート */
/* ------------------- */
.s-direction__table {
  width: 100%;
}

.s-direction__table tr {
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

.s-direction__table th {
  background-color: #e9ecf2;
}

.s-direction__table td,
.s-direction__table th {
  padding: 12px;
}

.s-direction__table th span,
.s-direction__table td span {
  display: block;
  font-size: 16px;
}

.s-direction__table th span {
  color: #003366;
}

@media not screen and (min-width: 768px) {
  .s-direction__table {
    border: 1px solid #dddddd;
  }

  .s-direction__table tr {
    display: flex;
    flex-direction: column;
    border: none;
  }
}



/* 入社式・内定式と組み合わせて実施できる多彩なプログラム */
/* ------------------- */
.s-program .info-detail ul {
  margin-top: 12px;
}

.s-program .info-detail li:not(:first-child) {
  margin-top: 4px;
}

.s-program .info-detail li {
  float: none;
  width: 100%;
}

.s-program .p-info-item__sup {
  top: 12px;
}

.s-program .p-info-item__heading {
  margin-top: 12px;
}

@media screen and (min-width: 768px) {
  .s-program .p-info {
    display: grid;
    gap: 38px;
    grid-template-columns: repeat(2, 1fr);
  }

  .s-program .p-info__item {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 4;
    gap: 0;
    width: 100%;
    margin: 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;
  }
}

@media screen and (min-width: 896px) {
  .s-step__lists {
    grid-template-columns: repeat(3, 1fr);
  }

  .s-step__item:nth-child(4)::before {
    content: none;
  }
}