/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 24 2026 | 00:06:49 */
/* メインビジュアル */
@media (min-width: 600px) {
  #main_visual.p-mainVisual {
    height: calc(100vh - 160px);
    overflow: hidden;
  }

  #main_visual .p-mainVisual__inner,
  #main_visual .p-mainVisual__slide,
  #main_visual .p-mainVisual__imgLayer {
    height: calc(100vh - 160px);
  }

  #main_visual .p-mainVisual__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* メインビジュアル：文字の配置基準 */
.p-mainVisual {
  position: relative;
}

/* 文字を配置するレイヤー */
.p-mainVisual .p-mainVisual__textLayer.mv-copy {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  transform: none;
  text-align: left;
  text-shadow: none;
  pointer-events: none;
  box-sizing: border-box;
}

.mv-copy *,
.mv-copy *::before,
.mv-copy *::after {
  box-sizing: border-box;
}

.p-mainVisual .mv-copy p {
  margin: 0;
}

/* 右上：縦書き2本 */
.mv-copy__vertical {
  position: absolute;
  top: 6%;
  right: 5%;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  gap: 12px;
}

/* 縦書きの白い帯 */
.p-mainVisual .mv-copy__strip {
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
  padding: 12px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.92);
  font-size: clamp(28px, 4.8vw, 52px);
  line-height: 1.15;
  letter-spacing: 0.08em;
}

/* 左側の帯を少し下げる */
.p-mainVisual .mv-copy__strip--offset {
  margin-top: 56px !important;
}

/* 左下：説明文の白い背景 */
.mv-copy__description {
  position: absolute;
  bottom: 5%;
  left: 4.5%;
  padding: 12px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
}

/* 上段 */
.mv-copy__lead {
  font-size: clamp(18px, 2.8vw, 30px);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* 下段 */
.mv-copy__service {
  font-size: clamp(18px, 2.6vw, 28px);
  line-height: 1.5;
  white-space: nowrap;
}

/* 採用・人事労務 */
.mv-copy__service span {
  color: #947325;
  font-size: 1.3em;
}

/* スマートフォン */
@media (max-width: 599px) {
  .mv-copy__vertical {
    top: 20px;
    right: 16px;
    gap: 8px;
  }

  .p-mainVisual .mv-copy__strip {
    padding: 10px 6px;
    font-size: clamp(20px, 6vw, 30px);
    letter-spacing: 0.04em;
  }

  .p-mainVisual .mv-copy__strip--offset {
    margin-top: 36px;
  }

  .mv-copy__description {
    bottom: 40px;
    left: 16px;
    max-width: calc(100% - 32px);
    padding: 10px 12px;
  }

  .mv-copy__lead {
    font-size: clamp(15px, 4vw, 21px);
  }

  .mv-copy__service {
    font-size: clamp(15px, 3.8vw, 20px);
  }
}