@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__button {
  max-width: 720px;
  width: 100%;
}

/* リンクカード */
.p-info__item.n-hover {
  pointer-events: none;
}

.p-view-list-button[data-size="large"] {
  max-width: fit-content;
  width: auto;
  padding-inline: 16px;
}

@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),
  .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;
  }
}

/* メインビジュアル */
@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;
  }
}

/* ナビゲーション */
.contentPageLink {
  flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
  .contentPageLink li {
    width: 220px;
  }

  .contentPageLink li a {
    padding: 20px 1em;
    height: 100%;
  }
}

/* 過去事例 */
.voice h3 {
  position: inherit;
  margin-bottom: 0 !important;
}

.voice h3:before {
  border-left: none !important;
  border-top: none !important;
  border-bottom: none !important;
  left: 0;
}

.voice h3:after {
  content: "";
  border-top: none !important;
  border-right: none !important;
  border-bottom: none !important;
  right: 0;
}

.voice h4.kigyo {
  font-size: 1.25rem;
  font-weight: bold;
  line-height: 1.5;
  margin-bottom: 5px;
  padding-bottom: 1.5rem;
}

.icn-business {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
}

.icn-business .sc-01 {
  color: #fff;
  background-color: #2e8b57;
  padding: 0.75rem 2rem 1rem;
  border-radius: 0.4rem;
  font-size: 1.2rem;
  margin-left: 0.3rem;
}

.icn-business .sc-02 {
  color: #fff;
  background-color: #008db7;
  padding: 0.5rem 2rem;
  border-radius: 0.4rem;
  font-size: 1.2rem;
  margin-left: 0.3rem;
}

.icn-business .sc-03 {
  color: #fff;
  background-color: #d9a62e;
  padding: 0.5rem 2rem;
  border-radius: 0.4rem;
  font-size: 1.2rem;
  margin-left: 0.3rem;
}

.voice table {
  border-collapse: collapse;
  white-space: nowrap !important;
  vertical-align: top;
  font-size: 1rem;
}

.voice .table {
  width: 100%;
  background-color: transparent;
}

.voice.table th,
.voice.table td {
  padding: 0.5rem;
}

.voice.table thead th {
  vertical-align: bottom;
}

.voice.table tbody+tbody {
  border-top: 2px solid #dee2e6;
}

.voice.table .table {
  background-color: #fff;
}

.voice .p-info-item__sup span.sc-01 {
  background-color: #2e8b57;
}

.voice .p-info-item__sup span.sc-02 {
  background-color: #008db7;
}

.voice .p-info-item__sup span.sc-03 {
  background-color: #d9a62e;
}

.voice .table {
  white-space: normal !important;
}

.voice .table th {
  white-space: nowrap;
}

@media not all and (min-width: 768px) {
  .icn-business {
    display: block;
    text-align: center;
  }

  .icn-business .sc-01,
  .sc-02,
  .sc-03 {
    color: #fff;
    background-color: #2e8b57;
    padding: 0.75rem 2rem 1rem;
    border-radius: 0.4rem;
    font-size: 1.2rem;
    margin-left: 0.3rem;
    text-align: center;
  }

  .voice h3 {
    padding: 0.25rem !important;
    margin-top: 0 !important;
  }

  .voice h4 {
    margin-top: 10px;
  }

  .voice h4.kigyo {
    margin-top: 1rem;
  }
}

/*============================　
　共通
=============================*/

[data-bg="blue"] {
  background-color: #e8f4ff;
}

[data-bg] {
  padding-top: 80px;
  padding-bottom: 80px;
}

[data-bg] .p-page-heading {
  margin-top: 0;
}

/*============================　
　個別
=============================*/

/* 表彰式をトータルサポート */
/* ------------------- */
.s-totalsupport .p-info-item__heading {
  font-size: 1rem;
}

.s-totalsupport .p-info-dvd-3 img {
  display: block;
  width: 80px;
  height: auto;
  aspect-ratio: 1;
  margin-inline: auto;
}

.s-totalsupport .p-info-dvd-3 {
  display: grid;
  gap: 32px;
}

.s-totalsupport .dvd-3 {
  border: 3px solid #c7d8e5;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 0 #c7d8e5;
}

.s-totalsupport__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-totalsupport__textLink:hover {
    opacity: 0.7;
  }
}

@media screen and (min-width: 768px) {
  .s-totalsupport .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-productionsupport__table {
  width: 100%;
}

.s-productionsupport__table tr {
  border-top: 1px solid #dddddd;
  border-bottom: 1px solid #dddddd;
}

.s-productionsupport__table th {
  background-color: #e9ecf2;
}

.s-productionsupport__table td,
.s-productionsupport__table th {
  padding: 12px;
}

.s-productionsupport__table th span,
.s-productionsupport__table td span {
  display: block;
  font-size: 16px;
}

.s-productionsupport__table th span {
  color: #003366;
}

@media not screen and (min-width: 768px) {
  .s-productionsupport__table {
    border: 1px solid #dddddd;
  }

  .s-productionsupport__table tr {
    display: flex;
    flex-direction: column;
    border: none;
  }
}

/* 表彰式の進め方 */
/* ====================== */
.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;
  }
}