@charset "utf-8";

@layer generic, swiper;
@import './destyle.min.css' layer(generic);
@import './swiper-bundle.min.css' layer(swiper);

:root {
  --notosans: 'Noto Sans JP', serif;
  --notoserif: 'Noto Serif JP', serif;
  --poppins: 'Poppins', serif;
}

*,
::before,
::after {
  --clamp-root-font-size: 16;
  --clamp-slope: calc(
    (var(--clamp-max) - var(--clamp-min)) / (var(--clamp-viewport-max) - var(--clamp-viewport-min))
  );
  --clamp-y-axis-intersection: calc(
    var(--clamp-min) - (var(--clamp-slope) * var(--clamp-viewport-min))
  );
  --clamp-preffered-value: calc(
    var(--clamp-y-axis-intersection) * (1rem / var(--clamp-root-font-size)) +
      (var(--clamp-slope) * 100vi)
  );
  --clamp: clamp(
    calc(var(--clamp-min) * (1rem / var(--clamp-root-font-size))),
    var(--clamp-preffered-value),
    calc(var(--clamp-max) * (1rem / var(--clamp-root-font-size)))
  );
  font-size: var(--clamp);
}

/* bodyにデフォルト値を設定する */
body {
  --clamp-viewport-min: 375;
  --clamp-viewport-max: 1200;
  --clamp-min: 14;
  --clamp-max: 16;
  font-family: var(--notosans);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.sp_br {
  display: none;
}
@media screen and (max-width: 768px) {
  .sp_br {
    display: block;
  }
}

/* ロード時にフェード */
.pl_load {
  opacity: 0;
}
.pl_load.scrollin {
  opacity: 1;
}

/* パララックスを有効にする */
.pl_true {
  transition: opacity 1.5s, transform 1.5s;
}

/* ふわりと現れる */
.pl_fade {
  opacity: 0;
}
.pl_fade.scrollin,
.scrollin .pl_fade {
  opacity: 1;
}

/* 上・下・右・左から現れる */
.pl_top,
.pl_bottom,
.pl_left {
  opacity: 0;
}
.pl_top {
  transform: translate(0, -50px);
}
.pl_bottom {
  transform: translate(0, 50px);
}
.pl_left {
  transform: translate(-50px, 0);
}
.pl_top.scrollin,
.scrollin .pl_top,
.pl_bottom.scrollin,
.scrollin .pl_bottom,
.pl_left.scrollin,
.scrollin .pl_left {
  opacity: 1;
  transform: translate(0, 0);
}

/* 時差で現れる */
.pl_2n,
.scrollin .pl_2n {
  transition: opacity 1.5s 0.5s, transform 1.5s 0.5s;
}
.pl_3n,
.scrollin .pl_3n {
  transition: opacity 1.5s 1s, transform 1.5s 1s;
}
.pl_4n,
.scrollin .pl_4n {
  transition: opacity 1.5s 1.5s, transform 1.5s 1.5s;
}
.pl_5n,
.scrollin .pl_5n {
  transition: opacity 1.5s 2s, transform 1.5s 2s;
}
.pl_6n,
.scrollin .pl_6n {
  transition: opacity 1.5s 2.5s, transform 1.5s 2.5s;
}
.pl_7n,
.scrollin .pl_7n {
  transition: opacity 1.5s 3s, transform 1.5s 3s;
}
.pl_8n,
.scrollin .pl_8n {
  transition: opacity 1.5s 3.5s, transform 1.5s 3.5s;
}
.pl_9n,
.scrollin .pl_9n {
  transition: opacity 1.5s 4s, transform 1.5s 4s;
}

/* 回転して現れる */
.pl_roll {
  transform: scale(0) rotateZ(0deg);
}
.pl_roll.scrollin,
.scrollin .pl_roll {
  transform: scale(1) rotateZ(360deg);
}

.color-blue {
  color: #00b7ee;
}

.kv {
  position: relative;
  height: 100dvh;
}

.kv-logo {
  position: absolute;
  top: 5%;
  left: 5%;
  z-index: 50;
  inline-size: 200px;
  @media screen and (max-width: 767px) {
    display: none;
  }
}

.kv-title {
  position: absolute;
  bottom: 10%;
  left: 5%;
  z-index: 50;
  inline-size: 800px;
  @media screen and (max-width: 767px) {
    left: 0;
    right: 0;
    margin: auto;
    inline-size: 90%;
  }
}

.kv-left-deco {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  height: 100dvh;
  @media screen and (max-width: 767px) {
    width: 40%;
    height: auto;
  }
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.kv-right-deco {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 10;
  @media screen and (max-width: 767px) {
    width: 20%;
  }
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.swiper {
  height: 100dvh;
}

.swiper-slide {
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.lead {
  position: relative;
  padding-block: 8em;
  @media screen and (max-width: 767px) {
    padding-inline: 1em;
  }
  h2,
  p {
    text-align: center;
    color: #fff;
    font-family: var(--notoserif);
    font-weight: 600;
    line-height: 1.8;
  }
  h2 {
    --clamp-min: 21;
    --clamp-max: 47;
    margin-block-end: 1em;
    letter-spacing: 0.1em;
  }
  p {
    --clamp-min: 15;
    --clamp-max: 20;
    line-height: 2.5;
    letter-spacing: 0.2em;
    text-shadow: 2px 3px 3px rgba(0, 0, 0, 0.2);
  }
}

.lead-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

.section01 {
  position: relative;
  padding-block: 30% 5em;
}

.section01-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  img {
    width: 100%;
  }
}

.section01-block {
  max-inline-size: 1200px;
  padding-inline: 40px;
  padding-block: 60px 40px;
  margin-inline: auto;
  background: linear-gradient(to bottom, #fff 60%, rgba(255, 255, 255, 0) 100%);
  position: relative;
  z-index: 10;
  @media screen and (max-width: 768px) {
    max-inline-size: 94%;
    padding-block: 30px 40px;
    padding-inline: 15px;
  }
}

/* ヘッダーセクション */
.section01-block-header {
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
  @media screen and (max-width: 768px) {
    margin-bottom: 1.5rem;
  }
}

.section01-block-header h1 {
  --clamp-min: 22;
  --clamp-max: 63;
  color: #174f9e;
  margin-bottom: 1rem;
  font-family: var(--poppins);
}

.section01-block-header p {
  --clamp-min: 12;
  --clamp-max: 21;
}

.mascot {
  position: absolute;
  right: 3%;
  top: 0;
  width: 150px;
  height: auto;
  @media screen and (max-width: 768px) {
    right: -5px;
    width: 60px;
  }
}

.section-header {
  justify-content: space-between;
  padding: 1rem 2em;
  color: white;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  @media screen and (max-width: 768px) {
    display: flex;
    justify-content: center;
    padding: 0.8em;
    gap: 0.5em;
  }
  .center {
    grid-column: 2;
    justify-self: center;
    @media screen and (max-width: 768px) {
      grid-column: 1;
    }
  }
  .right {
    grid-column: 3;
    text-align: right;
    font-weight: 300;
    @media screen and (max-width: 768px) {
      grid-column: 2;
      font-size: 12px;
    }
  }
}

.section-header02 {
  padding: 1rem 2em;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  @media screen and (max-width: 768px) {
    padding: 0.7em;
  }
}

.section-header-title {
  --clamp-min: 18;
  --clamp-max: 25;
  font-weight: 600;
}

.section-header-inner {
  display: flex;
  align-items: center;
  gap: 1em;
}

.transport {
  margin-block-end: 1em;
  .icon {
    width: 170px;
    height: auto;
    @media screen and (max-width: 768px) {
      width: 90px;
    }
  }
}

.distribution {
  .icon {
    width: 50px;
    @media screen and (max-width: 768px) {
      width: 40px;
    }
  }
}

.real-estate {
  .icon {
    width: 53px;
    @media screen and (max-width: 768px) {
      width: 40px;
    }
  }
}

.construction {
  .icon {
    width: 50px;
    @media screen and (max-width: 768px) {
      width: 40px;
    }
  }
}

.leisure {
  .icon {
    width: 55px;
    @media screen and (max-width: 768px) {
      width: 40px;
    }
  }
}

/* 運輸業セクション */
.transport .section-header {
  background-color: #29bced;
}

.transport .company-list01 {
  background-color: #e8f7ff;
}

.transport .company-list01 .company-link span {
  background-color: #29bced;
}

/* 流通業セクション */
.distribution {
  background-color: #ffe4db;
}

.distribution .section-header02 {
  background-color: #e0592c;
}

.distribution .company-list02 .company-link span {
  background-color: #e0592c;
}

/* 不動産業セクション */
.real-estate {
  background-color: #fcefe2;
}

.real-estate .section-header02 {
  background-color: #f5ac5d;
}

.real-estate .company-list02 .company-link span {
  background-color: #f5ac5d;
}

/* 建設業セクション */
.construction {
  background-color: #ddf8f5;
}

.construction .section-header02 {
  background-color: #2c9c8d;
}

.construction .company-list02 .company-link span {
  background-color: #2c9c8d;
}

/* レジャー・サービス業セクション */
.leisure {
  background-color: #fdecda;
}
.leisure .section-header02 {
  background-color: #cbac8c;
}

.leisure .company-list02 .company-link span {
  background-color: #cbac8c;
}

/* 企業リンク */
.company-list01 {
  padding: 1.5em 4em;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  @media screen and (max-width: 768px) {
    padding: 1em;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5em;
  }
}
.company-list02-grid {
  padding: 1.5em 4em;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  @media screen and (max-width: 768px) {
    padding: 1em;
    gap: 0.5em;
  }
}

.company-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #4a5568;
  text-decoration: none;
  padding: 0.5rem 0;
  font-weight: normal;
  transition: 0.2s;
  span {
    width: 15px;
    aspect-ratio: 1;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    img {
      width: 7px;
    }
  }
}

.company-link:hover {
  font-weight: 600;
}

/* グリッドレイアウト */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1em;
}

/* レスポンシブデザイン */
@media (min-width: 768px) {
  .grid {
    grid-template-columns: 1fr 1fr;
  }
}

.section-wrap {
  position: relative;
  background: #f7f7f7;
  padding-block: 2em 35%;
}

.section-card {
  position: relative;
  margin-block: 6em;
  @media (max-width: 768px) {
    margin-block: 3em;
  }
  h3 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    --clamp-min: 18;
    --clamp-max: 25;
    padding: 0.5em 1em;
    margin-bottom: 2.5em;
    @media (max-width: 768px) {
      margin-bottom: 1em;
    }
  }
}

.section-card-bg-footer {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  z-index: 1;
  img {
    width: 100%;
  }
}

.section-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  transform: translateY(-50%);
  z-index: 1;
  @media (max-width: 768px) {
    transform: translateY(-90%);
    width: 80%;
  }
  img {
    width: 100%;
  }
}

.container {
  --size: 1120px;
  --gutter: max(5vi, 20px);

  box-sizing: revert;
  max-inline-size: var(--size);
  padding-inline: var(--gutter);
  margin-inline: auto;
  position: relative;
  z-index: 5;
}

.container--mini {
  --size: 700px;
  --gutter: max(5vi, 20px);

  box-sizing: revert;
  max-inline-size: var(--size);
  padding-inline: var(--gutter);
  margin-inline: auto;
  position: relative;
  z-index: 5;
}

/* カードスタイル */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* カードヘッダー */
.card-header {
  position: relative;
  border-radius: 6px 6px 0 0;
  overflow: hidden;
}

.header-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}

.category-badge {
  position: absolute;
  top: 0;
  left: 0;
  color: white;
  padding: 10px 25px;
  border-radius: 6px 0 0 0;
  z-index: 10;
  --clamp-min: 16;
  --clamp-max: 18;
}

/* カードコンテンツ */
.card-content {
  padding: 24px;
}

.company-info {
  margin-bottom: 24px;
}

.company-title {
  --clamp-min: 22;
  --clamp-max: 29;
  font-weight: bold;
  margin-bottom: 0.7em;
  color: #4a4a4a;
  text-align: center;
}

.company-description {
  color: #666;
  line-height: 1.6;
}

/* 部署セクション */
.departments-section {
  margin-bottom: 24px;
  position: relative;
  border-top: 1px solid #dedede;
  border-right: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
  padding: 1.5em 0 1em;
}

.departments-title {
  font-weight: bold;
  margin-bottom: 16px;
  background: #fff;
  block-size: fit-content;
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(-50%);
}

.departments-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.department-badge {
  background-color: #f2f2f2;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
}

.department-badge:hover {
  background-color: #e5e5e5;
}

/* エントリーボタン */
.entry-button {
  width: 100%;
  color: white;
  padding: 1em;
  border-radius: 50vw;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
  display: block;
  text-align: center;
  position: relative;
  span {
    position: relative;
    padding-inline-start: 2em;
  }
}
.entry-button span::before {
  content: '';
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 0;
  width: 23px;
  aspect-ratio: 1;
  border-radius: 50%;
  transition: 0.2s;
}
.entry-button span::after {
  content: '';
  position: absolute;
  margin: auto;
  top: 0;
  bottom: 0;
  left: 7px;
  width: 7px;
  aspect-ratio: 1;
  transform: rotate(45deg);
  transition: 0.2s;
}

/*----------運輸業----------*/
.section-transport {
  h3 {
    background: #29bced;
    color: #fff;
    span {
      width: 170px;
      @media (max-width: 768px) {
        width: 80px;
      }
    }
  }
}
.card-transport {
  .card-header {
    border-bottom: 6px solid #00b7ee;
  }
  .category-badge {
    background-color: #00b7ee;
  }
  .department-badge {
    color: #00b7ee;
  }
  .departments-title {
    color: #00b7ee;
  }
  .entry-button {
    background-color: #00b7ee;
    border: 1px solid #00b7ee;
  }
  .entry-button span::before {
    background: #fff;
  }
  .entry-button span::after {
    border-top: 2px solid #00b7ee;
    border-right: 2px solid #00b7ee;
  }
  .entry-button:hover {
    background-color: #fff;
    color: #00b7ee;
  }
  .entry-button:hover span::before {
    background-color: #00b7ee;
  }
  .entry-button:hover span::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }
}
/*----------運輸業----------*/

/*----------流通業----------*/
.section-distribution {
  h3 {
    background: #e0592c;
    color: #fff;
    span {
      width: 50px;
    }
  }
}
.card-distribution {
  .card-header {
    border-bottom: 6px solid #e0592c;
  }
  .category-badge {
    background-color: #e0592c;
  }
  .department-badge {
    color: #e0592c;
  }
  .departments-title {
    color: #e0592c;
  }
  .entry-button {
    background-color: #e0592c;
    border: 1px solid #e0592c;
  }
  .entry-button span::before {
    background: #fff;
  }
  .entry-button span::after {
    border-top: 2px solid #e0592c;
    border-right: 2px solid #e0592c;
  }
  .entry-button:hover {
    background-color: #fff;
    color: #e0592c;
  }
  .entry-button:hover span::before {
    background-color: #e0592c;
  }
  .entry-button:hover span::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }
}
/*----------流通業----------*/

/*----------不動産業----------*/
.section-real-estate {
  h3 {
    background: #f5ac5d;
    color: #fff;
    span {
      width: 50px;
    }
  }
}
.card-real-estate {
  .card-header {
    border-bottom: 6px solid #f5ac5d;
  }
  .category-badge {
    background-color: #f5ac5d;
  }
  .department-badge {
    color: #f5ac5d;
  }
  .departments-title {
    color: #f5ac5d;
  }
  .entry-button {
    background-color: #f5ac5d;
    border: 1px solid #f5ac5d;
  }
  .entry-button span::before {
    background: #fff;
  }
  .entry-button span::after {
    border-top: 2px solid #f5ac5d;
    border-right: 2px solid #f5ac5d;
  }
  .entry-button:hover {
    background-color: #fff;
    color: #f5ac5d;
  }
  .entry-button:hover span::before {
    background-color: #f5ac5d;
  }
  .entry-button:hover span::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }
}
/*----------不動産業----------*/

/*----------建設業----------*/
.section-construction {
  h3 {
    background: #2c9c8d;
    color: #fff;
    --clamp-min: 18;
    --clamp-max: 22;
    span {
      width: 45px;
    }
  }
}
.card-construction {
  .card-header {
    border-bottom: 6px solid #2c9c8d;
  }
  .category-badge {
    background-color: #2c9c8d;
  }
  .department-badge {
    color: #2c9c8d;
  }
  .departments-title {
    color: #2c9c8d;
  }
  .entry-button {
    background-color: #2c9c8d;
    border: 1px solid #2c9c8d;
  }
  .entry-button span::before {
    background: #fff;
  }
  .entry-button span::after {
    border-top: 2px solid #2c9c8d;
    border-right: 2px solid #2c9c8d;
  }
  .entry-button:hover {
    background-color: #fff;
    color: #2c9c8d;
  }
  .entry-button:hover span::before {
    background-color: #2c9c8d;
  }
  .entry-button:hover span::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }
}
/*----------建設業----------*/

/*----------レジャー・サービス業----------*/
.section-leisure {
  h3 {
    background: #cbac8c;
    color: #fff;
    --clamp-min: 18;
    --clamp-max: 22;
    span {
      width: 50px;
    }
  }
}
.card-leisure {
  .card-header {
    border-bottom: 6px solid #cbac8c;
  }
  .category-badge {
    background-color: #cbac8c;
  }
  .department-badge {
    color: #cbac8c;
  }
  .departments-title {
    color: #cbac8c;
  }
  .entry-button {
    background-color: #cbac8c;
    border: 1px solid #cbac8c;
  }
  .entry-button span::before {
    background: #fff;
  }
  .entry-button span::after {
    border-top: 2px solid #cbac8c;
    border-right: 2px solid #cbac8c;
  }
  .entry-button:hover {
    background-color: #fff;
    color: #cbac8c;
  }
  .entry-button:hover span::before {
    background-color: #cbac8c;
  }
  .entry-button:hover span::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }
}
/*----------レジャー・サービス業----------*/

/* レスポンシブデザイン */
@media (max-width: 640px) {
  .card {
    margin: 10px;
  }

  .card-content {
    padding: 16px;
  }

  .company-title {
    font-size: 20px;
  }

  .header-image {
    height: 200px;
  }
}

.footer-bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

footer {
  position: relative;
}

.footer-icon {
  position: absolute;
  width: 200px;
  top: -130px;
  left: 50%;
  transform: translateX(-280%);
  z-index: 50;
  @media (max-width: 768px) {
    width: 100px;
    transform: none;
    top: -60px;
    left: 3%;
  }
}

.footer-text {
  background: #174f9e;
  padding: 6em 1em;
  @media (max-width: 768px) {
    padding: 4em 1em;
  }
}

.footer-text-wrap {
  --size: 1100px;
  --gutter: max(5vi, 20px);

  box-sizing: revert;
  max-inline-size: var(--size);
  padding-inline: var(--gutter);
  margin-inline: auto;
  position: relative;
  z-index: 5;
  p {
    color: #fff;
  }
}

.footer-text-inner {
  position: relative;
  border: 1px solid #fff;
  padding: 3em 1em;
  @media (max-width: 768px) {
    padding: 2em 1em;
  }
  p {
    color: #fff;
  }
}

.footer-text-wrap__title {
  background: #174f9e;
  width: fit-content;
  left: 0;
  right: 0;
  margin: auto;
  top: -30px;
  position: absolute;
  padding: 0.5em 1em;
  --clamp-min: 18;
  --clamp-max: 28;
  font-family: var(--notoserif);
  @media (max-width: 768px) {
    top: -20px;
  }
}

.footer-text-wrap__text {
  --clamp-min: 15;
  --clamp-max: 25;
  font-family: var(--notoserif);
  text-align: center;
  line-height: 1.8;
  letter-spacing: 0.1em;
}

.footer-copyright {
  background: #dbebf7;
  p {
    text-align: center;
    color: #737373;
    font-size: 12px;
    padding-block: 1em;
  }
}
