@charset "utf-8";

/*============================　
　既存スタイル上書き及び追加
=============================*/

.p-contetns-contact:has(+ .p-contents) {
  padding-bottom: 0;
}

/* 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 not screen and (min-width: 768px) {
  .p-view-list-button-document {
    width: 100%;
  }
}

/* メインビジュアル */
/* ------------------- */
@media 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-attachment: scroll;
    max-height: 650px;
  }
}

@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;
  }
}

/* メインビジュアル内バナー */
/* ------------------- */
.p-top__bnr {
  position: relative;
  margin-top: 48px;
  max-width: fit-content;
  margin-left: 6px;
}

.p-top__bnr-link::before {
  background: oklch(1 0 0 / 0.85);
  border-radius: 6px;
  content: "";
  height: calc(100% - 16px);
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
}

.p-top__bnr-link {
  padding: 12px 20px 12px 12px;
  display: grid;
  gap: 12px;
  grid-template-columns: auto 1fr;
  align-items: center;
  z-index: 1;
  position: relative;
}

.p-top__bnr-link img {
  max-width: 160px;
  margin-top: -24px;
  margin-left: -20px;

}

.p-top__bnr-text {
  display: grid;
  margin-top: -16px;
  gap: 12px;
}

.p-top__bnr-text .-main {
  font-size: 16px;
  font-weight: bold;
  color: #1a398c;
}


.p-top__bnr-text .-sub {
  position: relative;
  overflow: hidden;
  max-width: fit-content;
  margin-inline: auto;
  background-color: #ED9631;
  font-weight: 500;
  padding: 2px 12px 3px;
  border-radius: calc(infinity * 1px);
  background-color: #003366;
  color: #ffffff;
  text-align: center;
}

.p-top__bnr-text .-sub::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;
}

.p-top__bnr-text .-sub>span {
  position: relative;
  z-index: 1;
  transition: color 0.6s;
}

.p-top__dl {
  max-width: fit-content;
  position: relative;
}

.p-top__dl-text {
  color: #3E3A39;
  max-width: fit-content;
  margin-inline: auto;
  background-color: #ffffff;
  display: block;
  /* width: 70%; */
  position: relative;
  padding: 4px 0;
  font-weight: bold;
  font-size: 12px;
  border-radius: 100px;
  -webkit-box-shadow: 0 3px 6px rgba(62, 58, 57, 0.21);
  box-shadow: 0 3px 6px rgba(62, 58, 57, 0.21);
  transition: 0.25s;
  z-index: 4;
  padding: 2px 8px;
  color: #1a398c;
  color: #333;
}

.p-top__dl-text::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 8px 5px 0 5px;
  -webkit-transition: 0.25s;
  transition: 0.25s;
  position: absolute;
  bottom: -8px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  border-color: #ffffff transparent transparent transparent;
}

.p-top__dl-btn {
  max-width: fit-content;
  color: #fff;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  padding: 16px 20px 16px 0;
  position: relative;
  z-index: 1;
  margin-top: -4px;
  cursor: pointer;
}

.p-top__dl-btn img {
  max-width: 100px;
  position: absolute;
}

.p-top__dl-btn span {
  position: relative;
  font-size: 16px;
  font-weight: bold;
  margin-left: 108px;
}

.p-top__dl-btn::before {
  background: oklch(1 0 0 / 0.85);
  border-radius: calc(infinity * 1px);
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  transition: opacity .175s linear;
  width: 100%;
  z-index: 0;
  display: block;
}


@media (hover: hover) {
  .p-top__bnr-link:not(.is-disabled-hover):hover .p-top__bnr-text .-sub>span {
    color: #003366;
  }

  .p-top__bnr-link:not(.is-disabled-hover):hover .p-top__bnr-text .-sub::before {
    transform-origin: left top;
    transform: scale(1, 1);
  }
}

@media not screen and (min-width: 600px) {
  .p-top__bnr-text .-main {
    font-size: 4vw;
  }

  .p-top__bnr-link img {
    max-width: 32vw;
    margin-top: -12px;
  }

  .p-top__bnr-text .-sub {
    font-size: 3.2vw;
  }

  .p-top__bnr-link {
    padding: 24px 20px 28px 12px;
  }
}

/* ナビゲーション */
/* ------------------- */
.contentPageLink {
  flex-wrap: wrap;
}

@media screen and (min-width: 768px) {
  .contentPageLink li {
    width: 200px;
  }

  .contentPageLink li a {
    padding: 20px 10px;
    height: 100%;
  }
}

/* お知らせ */
/* ------------------- */
.p-news-list {
  margin-top: 0 !important;
}

/* ボタン */
/* ------------------- */
@media screen and (min-width: 768px) {
  .p-view-list-button-wide {
    width: 400px;
  }
}

/* 過去事例 */
/* ------------------- */
.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;
  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;
}

table {
  border-collapse: collapse;
  vertical-align: top;
  font-size: 1rem;
}

.table {
  width: 100%;
  background-color: transparent;
}

.table th {
  white-space: nowrap;
}

.table th,
.table td {
  padding: 0.5rem;
}

.table thead th {
  vertical-align: bottom;
}

.table tbody+tbody {
  border-top: 2px solid #dee2e6;
}

.table .table {
  background-color: #fff;
}

.p-info-item__sup span.sc-01 {
  background-color: #2e8b57;
}

.p-info-item__sup span.sc-02 {
  background-color: #008db7;
}

.p-info-item__sup span.sc-03 {
  background-color: #d9a62e;
}

@media not screen and (min-width: 768px) {
  .icn-business {
    display: block;
  }

  .icn-business .sc-01,
  .sc-02,
  .sc-03 {
    color: #fff;
    background-color: #2e8b57;
    padding: 0.75rem 2rem;
    border-radius: 0.4rem;
    font-size: 1.2rem;
    margin-left: 0.3rem;
    text-align: center;
  }

  .voice h3 {
    padding: 0.25rem !important;
  }

  .voice h4.kigyo {
    margin-top: 1rem;
  }
}

/* ダウンロード資料 */
.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;
  }
}

/*============================　
　個別 s-xx
=============================*/
[data-bg="gray"] {
  background-color: #f2f2f2;
}

[data-bg="blue"] {
  background-color: #e8f4ff;
}

[data-bg] {
  padding-top: 80px;
  padding-bottom: 80px;
}

.s-heading {
  text-align: center;
}

.s-heading>span {
  display: inline;
  font-size: clamp(1.375rem, 0.7444rem + 2.6906vw, 2.5rem);
  font-weight: bold;
  background: linear-gradient(transparent 70%, #fee833 70%);
}

.s-subText:not([data-text="nomal"]) {
  font-size: clamp(1.0625rem, 0.9574rem + 0.4484vw, 1.25rem);
  font-weight: bold;
}

.s-subText[data-text="nomal"] {
  font-size: 16px;
}

.s-subText:is(.s-heading + *, .p-page-heading + *) {
  margin-top: 48px;
}

.s-text {
  font-size: 16px;
}

/* よくある企業様の状況 */
/* ------------------- */
.s-nayami__lists {
  display: grid;
  gap: 24px 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.s-nayami__item {
  position: relative;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 2;
  row-gap: 24px;
  justify-items: center;
  align-items: stretch;
  padding: 24px 16px 0;
  background-color: #fff;
  border-radius: 10px;
}

/* 周年事業は、ステークホルダーが一堂に会する絶好の機会 */
/* ------------------- */
.s-opp__lists {
  display: grid;
  gap: 24px 32px;
  grid-template-columns: repeat(1, 1fr);
}

.s-opp__item {
  text-align: center;
}

.s-opp__subText {
  margin-top: 64px;
  font-size: clamp(1.125rem, 0.7046rem + 1.7937vw, 1.875rem);
  font-weight: bold;
  text-align: center;
}

.s-opp__bkg {
  position: relative;
  z-index: -1;
  margin-top: calc(clamp(2rem, 0.8789rem + 4.7833vw, 4rem) * -1);
}

.s-opp__largeText {
  max-width: 900px;
  margin-top: calc(clamp(0.625rem, -1.8274rem + 10.4634vw, 5rem) * -1);
  margin-inline: auto;
  padding: 24px 16px;
  font-size: clamp(1.25rem, 0.8296rem + 1.7937vw, 2rem);
  font-weight: bold;
  text-align: center;
  background-color: #003366;
  color: #fff;
  border-radius: 12px;
}

.s-opp__largeText span {
  color: #fee833;
}

@media not screen and (min-width: 768px) {
  .s-opp__largeText span:nth-of-type(4) {
    margin-top: 12px;
  }
}

@media screen and (min-width: 768px) {
  .s-opp__lists {
    grid-template-columns: repeat(3, 1fr);
  }

  .s-opp__item {
    margin-top: var(--mt);
  }

  .s-opp__largeText span:not(:first-of-type) {
    margin-top: 12px;
  }

  .s-opp__largeText span.-right {
    margin-left: auto;
  }
}

/* 私たちが提供する価値 */
/* ------------------- */
.s-service__lists .p-info-item-s {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 0;
}

.s-service__lists .p-info-item-s[data-item="1"] {
  width: 100%;
}

.s-service__lists .p-info-item-s__image {
  width: auto;
  height: 100%;
}

@media (hover: hover) {
  .s-service__lists .p-info-item-s.n-hover:not(.is-disabled-hover):hover .p-info-item-s__image img {
    transform: none;
  }
}

@media not screen and (min-width: 768px) {
  .s-service__lists .p-info-item-s__image {
    position: relative;
    top: 0;
    left: 0;
  }

  .s-service__lists .p-info-item-s__heading {
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
}

@media screen and (min-width: 768px) {
  .s-service__lists.p-info-s {
    gap: 40px;
  }

  .s-service__lists .p-info-item-s:nth-child(n + 3) {
    margin-top: 0;
  }

  .s-service__lists .p-info-item-s[data-item="2"] {
    width: calc(50% - 20px);
    flex-direction: column;
  }

  .s-service__lists .p-info-item-s[data-item="2"] .p-info-item-s__detail {
    width: 100%;
  }

  .s-service__lists .p-info-item-s[data-item="2"] .p-info-item-s__image {
    height: auto;
  }

  .s-service__lists .p-info-item-s[data-item="2"] .p-info-item-s__image img {
    aspect-ratio: 4 / 2;
    object-fit: cover;
  }

  .s-service__lists .p-info-item-s__image img {
    width: 460px;
  }
}

/* 周年事業の企画・アイデア例 */
/* ====================== */
.s-idea__main {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 32px;
}

.s-idea__mainItem {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 8px;
  align-items: center;
}

.s-idea__mainItem h3 {
  font-size: clamp(16px, 13.7584px + 0.5979vw, 20px);
  font-weight: bold;
}

.s-idea__mainItem img {
  max-width: 165px;
}

.s-idea__sub {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 15px;
}

.s-idea__subItem {
  padding: 32px;
  display: grid;
  align-items: center;
  background-color: #e9ecf2;
  border-radius: 12px;
}

.s-idea__subItem>h3 {
  font-size: clamp(16px, 13.7584px + 0.5979vw, 20px);
  font-weight: bold;
}

@media not screen and (min-width: 768px) {
  .s-idea__mainItem h3 {
    grid-column: 2;
    grid-row: 1 / 2;
  }

  .s-idea__mainItem p {
    grid-column: 1 / 3;
    grid-row: 2 / 2;
  }

  .s-idea__mainItem img {
    width: 120px;
    align-self: center;
    grid-column: 1;
    grid-row: 1 / 2;
  }
}

@media screen and (min-width: 768px) {
  .s-idea__main {
    grid-template-columns: repeat(2, 1fr);
  }

  .s-idea__mainItem {
    gap: 12px 24px;
  }

  .s-idea__mainItem h3 {
    align-self: end;
  }

  .s-idea__mainItem p {
    align-self: start;
  }

  .s-idea__mainItem img {
    align-self: center;
    grid-column: 1;
    grid-row: 1 / 3;
  }
}

/* 周年事業の進め方 */
/* ====================== */
.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;
  }
}