/* ========================================
   TOP page
======================================== */

.page-top main {
  display: block;
}

html:has(> body.page-top),
body.page-top {
  overflow-x: hidden;
}

@supports (overflow: clip) {
  html:has(> body.page-top),
  body.page-top {
    overflow-x: clip;
  }
}

/* ========================================
   PC版：ヘッダー調整（TOPページ限定）
======================================== */

@media (min-width: 1080px) {
  .page-top .site-logo {
    background: #74bfe6;
  }

  .page-top .site-logo__pc {
    width: 115px;
    letter-spacing: 0.07em;
  }

  /* PC版：ヒーローを画面幅いっぱいに表示（TOPページ限定） */
  .page-top .top-hero {
    position: relative;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background:
      linear-gradient(
        rgb(255 255 255 / 2%),
        rgb(255 255 255 / 2%)
      ),
      url("../top_hero.png") center center / cover no-repeat;
  }

  @supports (width: 100dvw) {
    .page-top .top-hero {
      width: 100dvw;
    }
  }

  /*
   * 1080px時の高さ515pxを基準に、
   * 画面幅の拡大率に合わせてヒーロー画像領域も高くする。
   * 文字位置は左70px・上47pxを維持する。
   */
  .page-top .top-hero__inner {
    width: 100%;
    min-height: calc(100vw * 515 / 1080);
    padding-top: 47px;
    padding-right: 70px;
    padding-left: 70px;
  }

  @supports (width: 100dvw) {
    .page-top .top-hero__inner {
      min-height: calc(100dvw * 515 / 1080);
    }
  }

  .page-top .top-hero__title {
    font-size: 60px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.015em;
  }

  .page-top .top-hero__text {
    font-weight: 600;
  }

  .page-top .top-hero__text p + p {
    margin-top: 14px;
  }
}

/* ========================================
   Hero
======================================== */

.top-hero {
  position: relative;
  color: #fff;
  background:
    linear-gradient(
      rgb(0 0 0 / 6%),
      rgb(0 0 0 / 6%)
    ),
    url("../top_hero.png") center center / cover no-repeat;
}

.top-hero__inner {
  min-height: 515px;
  padding: 52px 70px 45px;
}

.top-hero__title {
  margin: 0;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.03em;
  text-shadow: none;
}

.top-hero__text {
  margin-top: 50px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.04em;
  text-shadow: none;
}

.top-hero__text p {
  margin: 0;
}

.top-hero__text p + p {
  margin-top: 18px;
}

.top-hero__caption {
  margin: 0;
  padding: 12px 20px 11px;
  color: #2b7f8e;
  background: #fff;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ========================================
   Carousel
======================================== */

.top-carousel {
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.top-carousel__viewport {
  width: 100%;
  overflow: hidden;
}

.top-carousel__track {
  display: flex;
  will-change: transform;
}

.top-carousel__slide {
  flex: 0 0 25%;
  min-width: 0;
  height: 160px;
  overflow: hidden;
  background: #6f8fa0;
}

.top-carousel__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/*
.top-carousel__slide:nth-child(6n + 1) img {
  object-position: 50% 60%;
}

.top-carousel__slide:nth-child(6n + 2) img {
  object-position: 10% 50%;
  transform: scale(2);
  transform-origin: 82% 43%;
}

.top-carousel__slide:nth-child(6n + 3) img {
  object-position: 50% 67%;
  transform: scale(1.1);
  transform-origin: 50% 67%;
}

.top-carousel__slide:nth-child(6n + 4) img {
  object-position: 50% 70%;
  transform: scale(1.6);
  transform-origin: 50% 70%;
}

.top-carousel__slide:nth-child(6n + 5) img {
  object-position: 30% 45%;
  transform: scale(2.2);
  transform-origin: 30% 45%;
}

.top-carousel__slide:nth-child(6n + 6) img {
  object-position: 70% 90%;
  transform: scale(1.2) rotate(-25deg);
  transform-origin: 70% 90%;
}
*/

/* ========================================
   PC版：トップカルーセル画像位置調整
   （TOPページ限定）
======================================== */

@media (min-width: 1080px) {
  /*
   * 1080pxを超える画面ではカルーセルを画面幅へ拡張。
   * 1枚あたり約270pxを目安に、最大6枚まで表示する。
   */
  .page-top .top-carousel {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    transform: translateX(-50%);
  }

  @supports (width: 100dvw) {
    .page-top .top-carousel {
      width: 100dvw;
    }
  }

  .page-top .top-carousel__slide {
    flex-basis: calc(100% / var(--carousel-visible-count, 4));
  }

  /*
   * 表示領域のサイズは既存値を維持する。
   * 1・2・5・6枚目はobject-positionだけで見える範囲を調整する。
   */
}

/* ========================================
   3つの事業 見出し
======================================== */

.top-business-heading {
  background: #fff;
}

.top-business-heading__inner {
  width: min(940px, calc(100% - 80px));
  margin: 0 auto;
  padding: 55px 0 45px;
  text-align: center;
}

.top-business-heading__catch {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  margin: 0 0 18px 55px;
  animation: businessCatchSlide 3s ease-in-out infinite;
}

.top-business-heading__title {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 14px;
  margin: 0;
  color: #211717;
  font-size: 43px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.12em;
}

.top-business-heading__first,
.top-business-heading__second {
  display: inline-flex;
  align-items: baseline;
}

.top-business-heading__number {
  margin-right: 12px;
  font-size: 1.55em;
  font-weight: 700;
  line-height: 1;
}

@keyframes businessCatchSlide {
  0%,
  100% {
    transform: translateX(-1em);
  }

  50% {
    transform: translateX(1em);
  }
}

/* ========================================
   3つの事業 詳細
======================================== */

.top-business-detail {
  width: min(940px, calc(100% - 80px));
  margin: 0 auto;
  padding: 5px 0 45px;
}

.business-detail {
  display: grid;
  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(0, 0.92fr);
  gap: 60px;
  align-items: center;
}

.business-detail + .business-detail {
  margin-top: 85px;
}

.business-detail--image-right .business-detail__visual {
  grid-column: 2;
  grid-row: 1;
}

.business-detail--image-right .business-detail__body {
  grid-column: 1;
  grid-row: 1;
}

.business-detail__visual,
.business-detail__body {
  min-width: 0;
}

.business-detail__visual picture {
  display: block;
}

.business-detail__main-image {
  display: block;
  width: 100%;
  height: auto;
}

.business-detail__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #84c2d8;
}

.business-detail__title {
  margin: 0;
  color: #211717;
  font-size: 29px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
}

.business-detail__icon {
  display: block;
  flex: 0 0 auto;
  height: auto;
  object-fit: contain;
}

.business-detail__icon--telescope {
  width: 69px;
}

.business-detail__icon--birds {
  width: 69px;
}

.business-detail__icon--lighthouse {
  width: 35px;
}

.business-detail__text {
  margin: 28px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 2.2;
  letter-spacing: 0;
}

.business-detail__license {
  display: inline-block;
  margin: 25px 0 0;
  padding: 7px 13px;
  border: 1px solid #211717;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

/* ========================================
   PC版：事業レイアウト・画像サイズ調整
======================================== */

@media (min-width: 1080px) {
  .business-detail {
    position: relative;
  }

  /*
   * 左画像の場合は画像側を広く、
   * 本文側を狭くする
   */
  .business-detail--image-left {
    grid-template-columns:
      minmax(0, 1.18fr)
      minmax(0, 0.82fr);
    gap: 70px;
  }

  /*
   * 右画像の場合も画像側を広く、
   * 本文側を狭くする
   */
  .business-detail--image-right {
    grid-template-columns:
      minmax(0, 0.82fr)
      minmax(0, 1.18fr);
    gap: 70px;
  }

  .business-detail__visual {
    position: relative;
    z-index: 2;
    overflow: visible;
  }

  .business-detail__body {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 350px;
  }

  .business-detail--image-left .business-detail__body {
    justify-self: end;
  }

  .business-detail--image-right .business-detail__body {
    justify-self: start;
  }

  /*
   * 事業1：
   * メイン画像を拡大し、左へ移動して本文との余白を確保
   */
  .business-detail--01 .business-detail__main-image {
    width: 118%;
    max-width: none;
    transform: translateX(-12px);
    transform-origin: left center;
  }

  /*
   * 事業3：
   * メイン画像を拡大
   */
  .business-detail--03 .business-detail__main-image {
    width: 118%;
    max-width: none;
    transform-origin: left center;
  }

  /*
   * 事業2：
   * メイン画像を他より大きく表示
   */
  .business-detail--02 .business-detail__main-image {
    width: 128%;
    max-width: none;
    transform: translateX(-21.875%);
    transform-origin: right center;
  }

  /*
   * 事業2は本文を画像より前面へ
   */
  .business-detail--02 .business-detail__visual {
    z-index: 1;
  }

  .business-detail--02 .business-detail__body {
    z-index: 2;
  }

  /*
   * 事業1：
   * top_02.pngを「船員派遣」のすぐ横へ配置
   */
  .business-detail--01 .business-detail__heading {
    justify-content: flex-start;
    gap: 10px;
  }

  /*
   * 事業2：
   * タイトルと線の間隔を狭くする
   */
  .business-detail--02 .business-detail__heading {
    position: relative;
    justify-content: flex-start;
    min-height: 58px;
    padding: 0 90px 6px 0;
    overflow: visible;
    border-bottom: 0;
  }

  /*
   * タイトル線を本文幅いっぱいに表示
   */
  .business-detail--02 .business-detail__heading::after {
    content: "";
    position: absolute;
    right: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: #84c2d8;
  }

  /*
   * top_04.pngを右側へ独立配置
   * アイコンの下側がタイトル線より下へ出る
   */
  .business-detail--02 .business-detail__icon--birds {
    position: absolute;
    z-index: 2;
    right: -35px;
    bottom: -15px;
    width: 69px;
    height: auto;
  }

  /* PC版：3つの事業 見出し調整（TOPページ限定） */
  .page-top .top-business-heading__inner {
    padding-top: 40px;
    padding-bottom: 55px;
  }

  .page-top .top-business-heading__catch {
    width: 290px;
    margin: 0 0 0 40px;
  }

  .page-top .top-business-heading__title {
    letter-spacing: 0.18em;
  }

  .business-detail + .business-detail {
    margin-top: 12px;
  }
}



/* ========================================
   PC版：3つの事業 詳細調整（TOPページ限定）
======================================== */

.pc-only-break {
  display: none;
}

.business-detail__nowrap {
  white-space: nowrap;
}

@media (min-width: 1080px) {
  .page-top .pc-only-break {
    display: initial;
  }

  .page-top .business-detail__text {
    line-height: 2.05;
  }

  .page-top .business-detail--safety-management .business-detail__pc-line {
    display: inline-block;
    white-space: nowrap;
    letter-spacing: -0.04em;
  }

  /* 事業1：画像・本文・アイコン位置 */
  .page-top .business-detail--01 .business-detail__main-image {
    width: 115%;
    transform: translateX(-2px);
  }

  .page-top .business-detail--01 .business-detail__body {
    transform: translate(-4px, 4px);
  }

  .page-top .business-detail--01 .business-detail__heading {
    gap: 14px;
  }

  .page-top .business-detail--01 .business-detail__license {
    margin-top: 22px;
  }

  /* 事業2：画像を縮小し、本文ブロックを右へ */
  .page-top .business-detail--02 .business-detail__main-image {
    width: 121%;
    transform: translateX(calc(-17% - 10px));
  }

  .page-top .business-detail--02 .business-detail__body {
    max-width: 332px;
    transform: translate(26px, 1px);
  }

  .page-top .business-detail--02 .business-detail__heading::after {
    width: 100%;
  }

  .page-top .business-detail--02 .business-detail__icon--birds {
    right: -11px;
    bottom: -15px;
  }

  /* 事業3：画像と本文をわずかに調整 */
  .page-top .business-detail--03 .business-detail__main-image {
    width: 116.5%;
    transform: translateX(5px);
  }

  .page-top .business-detail--03 .business-detail__body {
    transform: translate(-9px, 2px);
  }

  .page-top .business-detail--03 .business-detail__heading {
    position: relative;
    border-bottom: 0;
  }

  .page-top .business-detail--03 .business-detail__heading::after {
    content: "";
    position: absolute;
    right: 8px;
    bottom: 0;
    left: 0;
    height: 1px;
    background: #84c2d8;
  }

  .page-top .business-detail--03 .business-detail__icon--lighthouse {
    transform: translate(-13px, -3px);
  }
}

/* ========================================
   Reduced motion
======================================== */

@media (prefers-reduced-motion: reduce) {
  .top-business-heading__catch {
    animation: none;
  }

  .top-carousel__track {
    transition-duration: 0.01ms !important;
  }
}

/* ========================================
   Tablet / Smartphone
======================================== */

@media (max-width: 1079px) {
  .top-hero {
  background:
    linear-gradient(
      rgb(0 0 0 / 6%),
      rgb(0 0 0 / 6%)
    ),
    url("../top_hero_sp.png") center top / contain no-repeat;
  }

  .top-hero__inner {
    aspect-ratio: 4667 / 3800;
  min-height: 0;
  padding: 27px 32px 40px;
  }

  .top-hero__title {
    font-size: clamp(48px, 8.2vw, 64px);
  line-height: 1.35;
  white-space: nowrap;
  }

  .top-hero__text {
  position: absolute;
  right: 32px;
  bottom: 60px;
  left: 32px;
  margin-top: 0;
  font-size: clamp(12px, 3.4vw, 27px);
  line-height: 1.75;
  text-align: center;
  }

  .top-hero__text p + p {
    margin-top: 20px;
  }

  .top-hero__caption {
    padding-top: 13px;
    padding-bottom: 12px;
    font-size: 13px;
  }

  .top-carousel__slide {
    flex-basis: 50%;
    height: 225px;
  }

  .top-business-heading__inner {
    width: calc(100% - 80px);
    padding: 70px 0 60px;
  }

  .top-business-heading__catch {
    width: 390px;
    margin: 0 auto 30px 0;
  }

  .top-business-heading__title {
    display: block;
    font-size: 60px;
    line-height: 1.38;
    letter-spacing: 0.13em;
  }

  .top-business-heading__first {
    display: block;
  }

  .top-business-heading__second {
    display: flex;
    justify-content: center;
  }

  .top-business-heading__number {
    margin-right: 14px;
    font-size: 1.58em;
  }

  .top-business-detail {
    width: min(710px, calc(100% - 40px));
    padding: 10px 0 80px;
  }

  .business-detail {
    position: relative;
    display: block;
    isolation: isolate;
  }

  .business-detail + .business-detail {
    margin-top: 70px;
  }

  /*
   * 人物を含むレスポンシブ画像を前面に表示
   */
.business-detail__visual {
  position: relative;
  z-index: 3;
  width: min(100%, 680px);
  margin-right: auto;
  margin-left: auto;
  pointer-events: none;
  margin-bottom:10px;
}

.business-detail__visual picture,
.business-detail__main-image {
  display: block;
  width: 100%;
}

/* 1079px以下：3つの事業画像の個別位置調整 */
.business-detail--01 .business-detail__visual {
  width: calc(100% - 30px);
  margin-right: auto;
  margin-left: auto;
  transform: translateX(20px);
}

.business-detail--02 .business-detail__visual {
  width: calc(100% - 30px);
  margin-right: auto;
  margin-left: auto;
  transform: translateX(-20px);
}

.business-detail--03 .business-detail__visual {
  width: calc(100% - 24px);
  margin-right: auto;
  margin-left: auto;
  transform: translateX(15px);
}

  /*
   * 白いタイトル・本文部分を画像より背面へ
   */
  .business-detail__body {
    position: relative;
    z-index: 1;
    width: calc(100% - 20px);
    max-width: none;
    margin: -85px auto 0;
    padding: 0 10px;
    background: transparent;
  }

  .business-detail__heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85px;
    margin: 0;
    padding: 0 10px 12px;
    overflow: visible;
    background: #fff;
    border-bottom: 1px solid #84c2d8;
  }

  /*
   * PC版で使用している疑似要素を
   * タブレット以下では無効化
   */
  .business-detail--02 .business-detail__heading::after {
    content: none;
  }

  .business-detail__title {
    width: 100%;
    margin: 0;
    font-size: 36px;
    line-height: 1.4;
    text-align: center;
  }

  .business-detail__text {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 30px 10px 0;
    background: #fff;
    font-size: 24px;
    line-height: 2;
  }

  .business-detail__license {
    position: relative;
    z-index: 1;
    display: table;
    margin: 26px auto 0;
    font-size: 19px;
  }

  /*
   * 事業1：
   * 人物を避けた右側の領域内でタイトルを中央配置
   */
  .business-detail--01 .business-detail__heading {
    padding-right: 145px;
    padding-left: 175px;
  }

  .business-detail--01 .business-detail__icon--telescope {
    position: absolute;
    right: 90px;
    bottom: 30px;
    width: 110px;
  }

  /*
   * 事業2：
   * 右側の人物を避けた左側の領域内でタイトルを中央配置
   * 鳥アイコンはSP版では非表示
   */
  .business-detail--02 .business-detail__heading {
    min-height: 85px;
    padding: 0 175px 12px 10px;
    border-bottom: 1px solid #84c2d8;
  }

  .business-detail--02 .business-detail__icon--birds {
    display: none;
  }

  /*
   * 事業3：
   * 右側の人物を避けた左側の領域内でタイトルを中央配置
   */
  .business-detail--03 .business-detail__heading {
    min-height: 85px;
    padding: 0 175px 12px 90px;
    border-bottom: 1px solid #84c2d8;
  }

  .business-detail--03 .business-detail__icon--lighthouse {
    position: absolute;
    bottom: 7px;
    left: 80px;
    width: 45px;
  }
}

/* ========================================
   Small Smartphone
======================================== */

@media (max-width: 600px) {
  .top-hero {
    background-position: center top;
  }

  .top-hero__inner {
    aspect-ratio: 4667 / 3800;
  min-height: 0;
  padding: 22px 18px 30px;
  }

  .top-hero__title {
    max-width: calc(100vw - 36px);
  font-size: clamp(27px, 8vw, 40px);
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
  }

  .top-hero__text {
    margin-top: 110px;
    line-height: 1.8;
  }

  .top-hero__caption {
    font-size: 10px;
  }

  .top-carousel__slide {
    height: 150px;
  }

  .top-business-heading__inner {
    width: calc(100% - 40px);
    padding: 50px 0 45px;
  }

  .top-business-heading__catch {
    width: 280px;
    margin-right: auto;
  margin-bottom: 24px;
  margin-left: 20px;
  }

  .top-business-heading__title {
    font-size: clamp(34px, 10vw, 46px);
    letter-spacing: 0.08em;
  }

  .top-business-heading__number {
    margin-right: 8px;
  }

  .top-business-detail {
    width: calc(100% - 40px);
    padding-bottom: 65px;
  }

  .business-detail + .business-detail {
    margin-top: 55px;
  }

  .business-detail__body {
    width: calc(100% - 12px);
    margin-top: -60px;
    padding: 0 6px;
  }

  .business-detail__heading {
    min-height: 60px;
    padding: 0 4px 10px;
  }

  .business-detail--01 .business-detail__heading {
    padding-right: 95px;
    padding-left: 105px;
  }

  .business-detail--02 .business-detail__heading {
    min-height: 60px;
    padding: 0 105px 10px 4px;
  }

  .business-detail--03 .business-detail__heading {
    min-height: 60px;
    padding: 0 105px 10px 60px;
  }

  .business-detail__title {
    font-size: clamp(26px, 7.5vw, 32px);
    letter-spacing: 0.1em;
  }

  .business-detail--01 .business-detail__icon--telescope {
    right: 35px;
    bottom: 7px;
    width: 72px;
  }

  .business-detail--02 .business-detail__icon--birds {
    display: none;
  }

  .business-detail--03 .business-detail__icon--lighthouse {
    left: clamp(16px, 5vw, 28px);
  bottom: 6px;
  width: clamp(30px, 9vw, 40px);
  }

  .business-detail__text {
    padding: 24px 4px 0;
    font-size: 15px;
    line-height: 2;
  }

  .business-detail__license {
    margin-top: 22px;
    padding: 6px 10px;
    font-size: 13px;
  }
}
/* ========================================
   Tablet横幅：ヒーロー背景の左右余白防止
   （TOPページ限定／845px〜1079px）
======================================== */

@media (min-width: 845px) and (max-width: 1079px) {
  .page-top .top-hero {
    background:
      linear-gradient(
        rgb(0 0 0 / 6%),
        rgb(0 0 0 / 6%)
      ),
      url("../top_hero_sp.png") center top / contain no-repeat;
  }
}

/* ========================================
   改行制御：PC/SPそれぞれの専用改行を切り替え
======================================== */
.sp-design-break {
  display: none;
}

@media (max-width: 1079px) {
  .page-top .sp-design-break {
    display: initial;
  }
}

/* ========================================
   PC版：ページ全体高の調整（TOPページ限定）
   1080px基準でオリジナルとの差67pxを補正
======================================== */
@media (min-width: 1080px) {
  .page-top .top-business-detail {
    padding-bottom: 112px;
  }
}

/* ========================================
   PC版：3つの事業 見出しの文字ウェイト・幅調整
   （TOPページ限定）
======================================== */
@media (min-width: 1080px) {
  .page-top .top-business-heading__title {
    font-weight: 600;
    letter-spacing: 0.205em;
  }

  .page-top .top-business-heading__number {
    font-size: 1.67em;
    font-weight: 600;
    transform: scaleX(1.04);
    transform-origin: center bottom;
  }
}

/* ========================================
   PC版：事業2 鳥アイコン位置の最終調整
   （TOPページ限定）
======================================== */
@media (min-width: 1080px) {
  .page-top .business-detail--02 .business-detail__icon--birds {
    right: -47px;
    bottom: -10px;
  }
}

/* ========================================
   PC版：カルーセル高さを画面幅に連動
   （TOPページ限定／1080px以上）
======================================== */
@media (min-width: 1080px) {
  .page-top .top-carousel__slide {
    height: clamp(160px, 14.8148vw, 320px);
  }

  .page-top .top-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ========================================
   PC版：3事業の新しい並び・画像・アイコン調整
   01 船舶管理 / 02 船員派遣 / 03 船舶安全管理
======================================== */
@media (min-width: 1080px) {
  .page-top .top-business-detail {
    width: min(940px, calc(100% - 80px));
  }

  .page-top .business-detail {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
    gap: 58px;
    align-items: center;
  }

  .page-top .business-detail--image-right {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  }

  .page-top .business-detail + .business-detail {
    margin-top: 28px;
  }

  .page-top .business-detail__visual {
    z-index: 1;
    overflow: visible;
  }

  .page-top .business-detail__body {
    z-index: 2;
    width: 100%;
    max-width: 350px;
    transform: none;
  }

  .page-top .business-detail__main-image {
    display: block;
    width: 100%;
    max-width: none;
    height: auto;
    transform: none;
  }

  /* 01 船舶管理 */
  .page-top .business-detail--ship-management .business-detail__main-image {
    width: 112%;
    transform: translateX(-4px);
  }

  .page-top .business-detail--ship-management .business-detail__body {
    transform: translate(-3px, -4px);
  }

  .page-top .business-detail--ship-management .business-detail__heading {
    position: relative;
    justify-content: flex-start;
    min-height: 54px;
    padding: 0 52px 7px 0;
    border-bottom: 1px solid #84c2d8;
  }

  .page-top .business-detail--ship-management .business-detail__icon--lighthouse {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 31px;
    transform: none;
  }

  /* 02 船員派遣 */
  .page-top .business-detail--seafarer-dispatch .business-detail__main-image {
    width: 116%;
    transform: translateX(-14%);
  }

  .page-top .business-detail--seafarer-dispatch .business-detail__body {
    max-width: 332px;
    transform: translate(10px, 0);
  }

  .page-top .business-detail--seafarer-dispatch .business-detail__heading {
    position: relative;
    justify-content: flex-start;
    gap: 0;
    min-height: 54px;
    padding: 0 78px 7px 0;
    border-bottom: 1px solid #84c2d8;
  }

  .page-top .business-detail--seafarer-dispatch .business-detail__icon--telescope {
    position: absolute;
    right: 120px;
    bottom: 14px;
    width: 56px;
  }

  .page-top .business-detail--seafarer-dispatch .business-detail__license {
    margin-top: 22px;
  }

  /* 03 船舶安全管理 */
  .page-top .business-detail--safety-management .business-detail__main-image {
    width: 108%;
    transform: translateX(-2px);
  }

  .page-top .business-detail--safety-management .business-detail__body {
    transform: translate(-4px, 0);
  }

  .page-top .business-detail--safety-management .business-detail__heading {
    position: relative;
    justify-content: flex-start;
    min-height: 54px;
    padding: 0 76px 7px 0;
    border-bottom: 1px solid #84c2d8;
  }

  .page-top .business-detail--safety-management .business-detail__heading::after {
    content: none;
  }

  .page-top .business-detail--safety-management .business-detail__icon--birds-pc {
    position: absolute;
    right: 7px;
    bottom: 8px;
    display: block;
    width: 60px;
    transform: none;
  }

  .page-top .business-detail__text {
    margin-top: 23px;
    line-height: 2.05;
  }
}

@media (max-width: 768px) {
  .page-top .business-detail--safety-management .business-detail__text {
    text-align: justify;
    text-justify: inter-character;
  }
}

/* ========================================
   PC版：船舶安全管理の画像・本文の重なり解消
   （新デザインに合わせて本文を右側へ配置）
======================================== */
@media (min-width: 1080px) {
  .page-top .business-detail--safety-management {
    grid-template-columns:
      minmax(0, 550px)
      minmax(0, 320px);
    gap: 20px;
  }

  .page-top .business-detail--safety-management .business-detail__main-image {
    width: 100%;
    transform: none;
  }

  .page-top .business-detail--safety-management .business-detail__body {
    max-width: 320px;
    transform: none;
  }
}

/* ========================================
   SP版：02 船員派遣 タイトル・望遠鏡位置調整
   新しいSP画像の左側人物を避けて配置
======================================== */
@media (max-width: 1079px) {
  .page-top
  .business-detail--seafarer-dispatch
  .business-detail__heading {
    padding-right: 145px;
    padding-left: 175px;
  }

  .page-top
  .business-detail--seafarer-dispatch
  .business-detail__icon--telescope {
    position: absolute;
    right: 90px;
    bottom: 30px;
    width: 110px;
  }
}

@media (max-width: 600px) {
  .page-top
  .business-detail--seafarer-dispatch
  .business-detail__heading {
    padding-right: 95px;
    padding-left: 105px;
  }

  .page-top
  .business-detail--seafarer-dispatch
  .business-detail__icon--telescope {
    right: 35px;
    bottom: 7px;
    width: 72px;
  }
}

/* ========================================
   SP版：03 船舶安全管理 鳥アイコン位置調整
   新しいSP画像の左上へ配置
======================================== */
.business-detail__icon--birds-sp {
  display: none;
}

.business-detail__icon--birds-pc {
  display: none;
}

@media (min-width: 1080px) {
  .business-detail__icon--birds-pc {
    display: block;
  }
}

@media (max-width: 1079px) {
  .page-top
  .business-detail--safety-management
  .business-detail__visual
  .business-detail__icon--birds-sp {
    position: absolute;
    z-index: 5;
    top: clamp(18px, 4vw, 34px);
    left: clamp(58px, 18vw, 120px);
    display: block;
    width: clamp(56px, 14vw, 92px);
    height: auto;
  }
}

@media (min-width: 601px) and (max-width: 1079px) {
  .page-top
  .business-detail--safety-management
  .business-detail__visual
  .business-detail__icon--birds-sp {
    top: clamp(18px, 4vw, 34px);
    left: clamp(90px, 16vw, 140px);
    width: clamp(60px, 13vw, 92px);
  }
}

@media (max-width: 600px) {
  .page-top
  .business-detail--safety-management
  .business-detail__visual
  .business-detail__icon--birds-sp {
    top: clamp(2px, 2vw, 14px);
    left: clamp(44px, 13vw, 72px);
    width: clamp(48px, 14vw, 68px);
  }
}

/* ========================================
   SP版：01 船舶管理 灯台アイコン位置調整
   新しいSP画像に合わせてタイトル左側へ配置
======================================== */
@media (max-width: 1079px) {
  .page-top
  .business-detail--ship-management
  .business-detail__heading {
    position: relative;
    min-height: 85px;
    padding: 0 175px 12px 90px;
  }

  .page-top
  .business-detail--ship-management
  .business-detail__icon--lighthouse {
    position: absolute;
    left: 80px;
    bottom: 7px;
    display: block;
    width: 45px;
    height: auto;
    transform: none;
  }
}

@media (max-width: 600px) {
  .page-top
  .business-detail--ship-management
  .business-detail__heading {
    min-height: 60px;
    padding: 0 105px 10px 60px;
  }

  .page-top
  .business-detail--ship-management
  .business-detail__icon--lighthouse {
    left: clamp(16px, 5vw, 28px);
  bottom: 6px;
  width: auto;
  height: clamp(40px, 11vw, 50px);
  }
}

/* PC版：01と03だけ本文表示領域を右側へ広げる */
@media (min-width: 1080px) {
  .page-top .business-detail--01 .business-detail__body {
    width: calc(100% + 10px);
    max-width: none;
  }

  .page-top .business-detail--03 .business-detail__body {
    width: calc(100% + 10px);
    max-width: none;
  }
}

@media (max-width: 430px) {
  .business-detail__title {
    font-size: clamp(22px, 6.1vw, 26px);
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
}

@media (max-width: 430px) {
  .top-hero__text {
    margin-top: 70px;
    line-height: 1.55;
  }

  .top-hero__text p + p {
    margin-top: 8px;
  }
}

/* ========================================
   TOPページ SP版：768px基準の自然縮小
   767px以下のみ
======================================== */
@media (max-width: 767px) {
  .page-top .top-hero__inner {
    padding:
      clamp(22px, 3.5156vw, 27px)
      clamp(18px, 4.1667vw, 32px)
      clamp(30px, 5.2083vw, 40px);
  }

  .page-top .top-hero__title {
    max-width: calc(100vw - clamp(36px, 8.3333vw, 64px));
    font-size: clamp(30px, 8.2vw, 64px);
    letter-spacing: 0.01em;
  }

  .page-top .top-hero__text {
    right: clamp(18px, 4.1667vw, 32px);
    bottom: clamp(44px, 7.8125vw, 60px);
    left: clamp(18px, 4.1667vw, 32px);
    font-size: clamp(14px, 3.5156vw, 27px);
    line-height: clamp(21.5px, 5.7943vw, 44.5px);
  }

  .page-top .top-hero__text p + p {
    margin-top: clamp(8px, 2.6042vw, 20px);
  }

  .page-top .top-hero__caption {
    padding-top: clamp(10px, 1.6927vw, 13px);
    padding-bottom: clamp(10px, 1.5625vw, 12px);
    font-size: clamp(10px, 1.6927vw, 13px);
  }

  .page-top .top-carousel__slide {
    height: clamp(130px, 29.2969vw, 225px);
  }

  .page-top .top-business-heading__inner {
    width: calc(100% - clamp(32px, 10.4167vw, 80px));
    padding-top: clamp(50px, 9.1146vw, 70px);
    padding-bottom: clamp(45px, 7.8125vw, 60px);
  }

  .page-top .top-business-heading__catch {
    width: clamp(260px, 50.7813vw, 390px);
    margin: 0 auto clamp(24px, 3.9063vw, 30px) 0;
  }

  .page-top .top-business-heading__title {
    font-size: clamp(36px, 7.8125vw, 60px);
    letter-spacing: 0.08em;
  }

  .page-top .top-business-heading__number {
    margin-right: clamp(8px, 1.8229vw, 14px);
  }

  .page-top .top-business-detail {
    width: min(710px, calc(100% - clamp(30px, 5.2083vw, 40px)));
    padding-bottom: clamp(56px, 10.4167vw, 80px);
  }

  .page-top .business-detail + .business-detail {
    margin-top: clamp(50px, 9.1146vw, 70px);
  }

  .page-top .business-detail__visual {
    margin-bottom: clamp(8px, 1.3021vw, 10px);
  }

  .page-top .business-detail--01 .business-detail__visual {
    width: calc(100% - clamp(18px, 3.9063vw, 30px));
    transform: translateX(clamp(10px, 2.6042vw, 20px));
  }

  .page-top .business-detail--02 .business-detail__visual {
    width: calc(100% - clamp(18px, 3.9063vw, 30px));
    transform: translateX(clamp(-20px, -2.6042vw, -10px));
  }

  .page-top .business-detail--03 .business-detail__visual {
    width: calc(100% - clamp(16px, 3.125vw, 24px));
    transform: translateX(clamp(8px, 1.9531vw, 15px));
  }

  .page-top .business-detail__body {
    width: calc(100% - clamp(12px, 2.6042vw, 20px));
    margin-top: clamp(-85px, -11.0677vw, -48px);
    padding-right: clamp(6px, 1.3021vw, 10px);
    padding-left: clamp(6px, 1.3021vw, 10px);
  }

  .page-top .business-detail__heading {
    min-height: clamp(60px, 11.0677vw, 85px);
    padding-bottom: clamp(10px, 1.5625vw, 12px);
  }

  .page-top .business-detail__title {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: max-content;
    max-width: 100%;
    font-size: clamp(24px, 4.6875vw, 36px);
    letter-spacing: 0.06em;
    transform: translate(-50%, -50%);
    white-space: nowrap;
  }

  .page-top .business-detail__text {
    padding: clamp(22px, 3.9063vw, 30px) clamp(4px, 1.3021vw, 10px) 0;
    font-size: clamp(15px, 3.125vw, 24px);
    line-height: 1.95;
  }

  .page-top .business-detail__license {
    margin-top: clamp(20px, 3.3854vw, 26px);
    padding:
      clamp(6px, 0.9115vw, 7px)
      clamp(10px, 1.6927vw, 13px);
    font-size: clamp(13px, 2.474vw, 19px);
  }

  .page-top
  .business-detail--ship-management
  .business-detail__heading,
  .page-top
  .business-detail--safety-management
  .business-detail__heading {
    padding-right: clamp(82px, 22.7865vw, 175px);
    padding-left: clamp(42px, 11.7188vw, 90px);
  }

  .page-top
  .business-detail--seafarer-dispatch
  .business-detail__heading {
    padding-right: clamp(58px, 18.8802vw, 145px);
    padding-left: clamp(72px, 22.7865vw, 175px);
  }

  .page-top
  .business-detail--ship-management
  .business-detail__icon--lighthouse,
  .page-top
  .business-detail--safety-management
  .business-detail__icon--lighthouse {
    left: clamp(22px, 10.4167vw, 80px);
    bottom: clamp(6px, 0.9115vw, 7px);
    width: clamp(31px, 5.8594vw, 45px);
    height: auto;
  }

  .page-top
  .business-detail--seafarer-dispatch
  .business-detail__icon--telescope {
    right: clamp(34px, 11.7188vw, 90px);
    bottom: clamp(7px, 3.9063vw, 30px);
    width: clamp(64px, 14.3229vw, 110px);
  }

  .page-top
  .business-detail--safety-management
  .business-detail__visual
  .business-detail__icon--birds-sp {
    top: clamp(2px, 3.9063vw, 30px);
    left: clamp(44px, 15.625vw, 120px);
    width: clamp(48px, 11.9792vw, 92px);
  }

  .page-top .site-footer {
    margin-top: clamp(60px, 9.1146vw, 70px);
    padding-top: clamp(210px, 36.4583vw, 280px);
  }

  .page-top .footer-recruit {
    top: clamp(-82px, -10.6771vw, -52px);
    width: min(540px, calc(100% - clamp(48px, 14.5833vw, 112px)));
    min-height: clamp(250px, 45.9635vw, 353px);
    padding:
      clamp(20px, 3.5156vw, 27px)
      clamp(24px, 7.1615vw, 55px)
      clamp(22px, 4.0365vw, 31px);
  }

  .page-top .footer-recruit__catch {
    font-size: clamp(24px, 5.3385vw, 41px);
  }

  .page-top .footer-recruit__title {
    font-size: clamp(26px, 5.599vw, 43px);
  }

  .page-top .footer-recruit__text {
    font-size: clamp(14px, 2.8646vw, 22px);
  }

  .page-top .footer-recruit__button {
    width: min(100%, 320px);
    height: clamp(50px, 10.1563vw, 78px);
    margin: clamp(24px, 5.4688vw, 42px) auto 0;
    font-size: clamp(18px, 3.6458vw, 28px);
  }

  .page-top .site-footer__inner {
    padding:
      clamp(30px, 4.5573vw, 35px)
      clamp(18px, 4.5573vw, 35px)
      clamp(24px, 3.6458vw, 28px);
  }

  .page-top .footer-company__name {
    font-size: clamp(22px, 4.1667vw, 32px);
  }

  .page-top .footer-company__address {
    font-size: clamp(14px, 2.8646vw, 22px);
  }

  .page-top .footer-company__tel {
    font-size: clamp(18px, 3.6458vw, 28px);
  }

  .page-top .footer-company__tel strong {
    font-size: clamp(27px, 5.0781vw, 39px);
  }

  .page-top .footer-company__mail {
    font-size: clamp(20px, 4.0365vw, 31px);
  }

  .page-top .footer-nav {
    gap: clamp(14px, 3.125vw, 24px);
    margin-top: clamp(34px, 5.7292vw, 44px);
  }

  .page-top .footer-nav a {
    min-height: clamp(42px, 7.1615vw, 55px);
    font-size: clamp(15px, 3.2552vw, 25px);
  }

  .page-top .footer-copyright {
    margin-top: clamp(10px, 6.3802vw, 49px);
  }
}

@media (max-width: 768px) {
  .page-top .business-detail__title {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    width: max-content;
    max-width: 100%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 375px) {
  .page-top .top-business-heading__inner {
    padding-bottom: 22px;
  }

  .page-top .top-business-detail {
    padding-top: 5px;
  }

  .page-top
  .business-detail--ship-management
  .business-detail__icon--lighthouse,
  .page-top
  .business-detail--safety-management
  .business-detail__icon--lighthouse {
    width: 25px;
    height: auto;
  }

  .page-top
  .business-detail--seafarer-dispatch
  .business-detail__icon--telescope {
    right: clamp(24px, 7.2vw, 27px);
  }
}

/* ========================================
   TOPページ SP版：344px以下の追加耐久調整
   360px以上には影響させない
======================================== */
@media (max-width: 344px) {
  .page-top .menu-button {
    min-height: 44px;
  }

  .page-top .top-hero__inner {
    padding-right: 16px;
    padding-bottom: 28px;
    padding-left: 16px;
  }

  .page-top .top-hero__title {
    max-width: calc(100vw - 32px);
    font-size: clamp(28px, 8.72vw, 30px);
  }

  .page-top .top-hero__text {
    right: 16px;
    bottom: clamp(40px, 13.75vw, 44px);
    left: 16px;
    line-height: 21.3px;
  }

  .page-top .top-carousel,
  .page-top .top-carousel__viewport {
    overflow: clip;
  }

  .page-top .top-business-heading__inner {
    width: calc(100% - 28px);
    padding-top: 46px;
    padding-bottom: 22px;
  }

  .page-top .top-business-heading__catch {
    width: min(250px, 100%);
    animation: none;
    transform: none;
  }

  .page-top .top-business-heading__title {
    font-size: clamp(32px, 10.5vw, 36px);
    line-height: 1.38;
    letter-spacing: 0.06em;
  }

  .page-top .top-business-detail {
    width: calc(100% - 24px);
  }

  .page-top .business-detail__body {
    width: 100%;
    padding-right: 4px;
    padding-left: 4px;
  }

  .page-top .business-detail__text {
    padding-top: 20px;
    line-height: 1.9;
  }

  .page-top .business-detail--ship-management
  .business-detail__icon--lighthouse,
  .page-top .business-detail--safety-management
  .business-detail__icon--lighthouse {
    width: clamp(24px, 7.2vw, 26px);
    height: auto;
  }

  .page-top .footer-company__mail a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .page-top .footer-nav a {
    min-height: 44px;
  }

  .page-top .top-link {
    min-width: 44px;
  }
}
