@charset "utf-8";

/*============================　
　既存スタイル上書き及び追加
=============================*/
.p-contetnc-contact:has(+ .p-contents) {
  padding-bottom: 0;
}

.p-top+.p-contetnc-contact {
  padding-top: 32px;
}

.p-contentc--top+.p-contents:not(.short-news) {
  margin-top: clamp(64px, calc(32.609865470852014px + 8.370702541106128vw), 120px);
}

.p-contentc--top>.p-contetnc-contact {
  padding-bottom: 24px;
}

/* リンクカード */
.p-info__item.n-hover {
  pointer-events: none;
}

/* p-info追加 */
.p-info-item-card {
  padding: 12px;
  border-radius: 8px;
  background-color: #fff;
}

.p-info-item-box {
  display: flex;
  flex-direction: column;
}

.p-info-item-card:first-child {
  flex: 1;
}

.p-info-item-card:not(:first-child) {
  margin-top: 24px;
}

.p-info-item-card__label {
  display: block;
  max-width: fit-content;
  margin-top: -22px;
  padding: 2px 8px;
  color: #fff;
  background-color: var(--info-label-color);
  border-radius: calc(infinity * 1px);
}

.p-info-item-card__label+* {
  margin-top: 8px;
}

.p-info-item-card__lists>li:not(:first-child) {
  margin-top: 4px;
}

/* PCそろえる */
@media screen and (min-width: 768px) {
  .p-info.grid {
    display: grid;
    gap: 38px;
    grid-template-columns: repeat(3, 1fr);
  }

  .p-info.grid[data-col="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-row="4"] .p-info__item {
    grid-row: span 4;
  }
}

@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;
  /* border-image: fill 0 linear-gradient(#4b9bb114, #77b1c157); */
}

@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;
}

.pagelinl_sp_l a {
  place-content: center;
}

@media screen and (min-width: 768px) {
  .contentPageLink li {
    width: 200px;
  }

  .contentPageLink li a {
    padding: 20px 1em;
    height: 100%;
  }
}


/* 共通 */
/* ------------------- */
.c-text-sm {
  font-size: clamp(0.875rem, calc(0.804932735426009rem + 0.29895366218236175vw), 1rem);
}

.c-text {
  font-size: 16px;
}

.c-text-lg {
  font-size: clamp(1rem, calc(0.9299rem + 0.29895366218236175vw), 1.125rem);
  line-height: 1.3;
}

.c-text-xl {
  font-size: clamp(1.125rem, calc(1.054932735426009rem + 0.29895366218236175vw), 1.25rem);
  line-height: 1.3;
}

.c-text-2xl {
  font-size: clamp(1.3125rem, calc(1.0672645739910314rem + 1.046337817638266vw), 1.75rem);
  line-height: 1.3;
}

.c-text-3xl {
  font-size: clamp(1.5625rem, calc(1.2471973094170403rem + 1.345291479820628vw), 2.25rem);
  line-height: 1.3;
}

[class*="c-text-"]:has(> .mark) {
  line-height: 1.65;
}

[class*="c-text"]:is(.p-page-heading + *) {
  margin-top: 48px;
}

[data-marker] span {
  display: inline;
  background: linear-gradient(transparent 70%, #fee833 70%);
}

/* 色 */
.c-text-primary {
  color: #003366;
}

.c-text-white {
  color: #fff;
}

.c-bg-primary {
  background-color: #003366;
}

.c-bg-white {
  background-color: #fff;
}

.c-bg-gray {
  background-color: #f2f2f2;
}

/* ボックス */
.c-mx-auto {
  margin-inline: auto;
}

.c-w-fit {
  max-width: fit-content;
}

.c-fit-mx {
  max-width: fit-content;
  margin-inline: auto;
}

/* 背景 */
[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;
}

.c-wbr {
  word-break: keep-all;
  overflow-wrap: anywhere;
}

/* バナー */
.c-banner {
  max-width: fit-content;
  margin-top: 64px;
  margin-inline: auto;
  padding-inline: 6.4%;
}

/* HISならワンストップ（一括手配）で対応 */
/* ====================== */
.s-onestop .p-info-dvd-4 img {
  display: block;
  width: 80px;
  height: auto;
  aspect-ratio: 1;
  margin-inline: auto;
}

.s-onestop .p-info-item__detail li {
  text-indent: -1em;
  padding-left: 1em;
  line-height: 1.4;
}

.s-onestop .p-info-item__detail li:not(:first-child) {
  margin-top: 4px;
}

.s-onestop .p-info-item__detail li::before {
  content: "・";
  color: #c7d8e5;
}

/* 見本市 */
/* ====================== */
.s-info tr .travel-info-table__data:first-of-type {
  font-size: 16px;
  font-weight: bold;
  line-height: 1.3;
}

.s-info tr .travel-info-table__data:first-of-type>span {
  font-size: 13px;
}

.travel-info-table__data .p-view-list-button-wide {
  max-width: 120px;
  margin: auto;
  text-decoration: none;
}

.s-info__flag {
  max-width: 100px;
}

@media not (min-width: 768px) {
  .s-info .travel-info {
    width: 100%;
    padding: 0px;
    overflow-x: auto;
  }

  .s-info .travel-info-table {
    width: 1024px;
  }
}

/* 実施までの流れ */
/* ====================== */
.s-step-box {
  max-width: fit-content;
  padding: 1em;
  margin: 2em auto;
  background: #ffffff;
  color: red;
  border: 2px solid red;
  font-size: 0.8rem;
}

.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(3, 1fr);
  }

  .s-step__item:nth-child(4)::before {
    content: none;
  }
}