/*------------------------------------
.section-safety-intro（導入）
------------------------------------*/
.section-safety-intro {
  padding: 5rem 0;
  background-color: var(--bg-main);
}

@media (min-width: 1024px) {
  .section-safety-intro {
    padding: 7rem 0;
  }
}

.section-safety-intro__head {
  max-width: 72rem;
  text-align: center;
  margin: 0 1.5rem 2rem;
}
@media (min-width: 1024px) {
  .section-safety-intro__head {
    margin: 0 auto 4rem;
  }
}


/*------------------------------------
.section-safety-view（安全の考え方：4ブロック）
------------------------------------*/
.section-safety-view {
  background-color: var(--brand-main);
  border-radius: 0;
  max-width: 1260px;
  margin: auto;
  padding: 5rem 1.5rem;
}

@media (min-width: 1024px) {
  .section-safety-view {
    border-radius: 1.5rem;
    padding: 7rem 1.5rem;
  }
}

.section-safety-view__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.section-safety-view__head {
  text-align: center;
  margin-bottom: 4rem;
}
@media (max-width: 1024px) {
  .section-safety-view__head {
    margin-bottom: 2rem;
  }
}

/* 各ブロック（左右交互） */
.safety-view-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  background-color: #fff;
  border-radius: min(0.98vw + 0.52rem, 1.5rem);
  margin-bottom: 3rem;
  padding: 1.25rem;
  overflow: visible;
}

.safety-view-item:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 1024px) {
  .safety-view-item {
    flex-direction: row;
    align-items: center;
    min-height: 380px;
    margin-bottom: 3.5rem;
    padding: 1.75rem;
    gap: 0;
  }

  .safety-view-item--reverse {
    flex-direction: row-reverse;
  }
}

/* 画像エリア */
.safety-view-item__img {
  flex-shrink: 0;
  border-radius: calc(min(0.98vw + 0.52rem, 1.5rem) - 0.375rem);
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .safety-view-item__img {
    width: 46%;
    aspect-ratio: auto;
    align-self: stretch;
    min-height: 340px;
  }
}

.safety-view-item__img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

/* テキストエリア */
.safety-view-item__body {
  flex: 1;
  padding: 0 0.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .safety-view-item__body {
    padding: 3rem 3.5rem;
  }
}

/* 番号 */
.safety-view-item__num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--brand-main);
  opacity: 0.08;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: -0.25rem;
}
@media (min-width: 1024px) {
  .safety-view-item__num {
    font-size: 4rem;
  }
}

/* h3タイトル */
.safety-view-item__title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-main);
  letter-spacing: 0.03em;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .safety-view-item__title {
    font-size: 1.5rem;
  }
}

/* 説明文 */
.safety-view-item__desc {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  text-align: justify;
}

@media (min-width: 1024px) {
  .safety-view-item__desc {
    font-size: 1rem;
  }
}

/* 設備リスト */
.safety-view-item__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
@media (min-width: 1024px) {
  .safety-view-item__list {
    gap: 0.625rem;
  }
}

.safety-view-item__list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--brand-main);
}
@media (min-width: 1024px) {
  .safety-view-item__list li {
    gap: 0.625rem;
  }
}

.safety-view-item__list li svg {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: var(--brand-accent);
}

/* 補足ノート */
.safety-view-item__note {
  padding: 1.25rem 1.5rem;
  background-color: var(--bg-sub);
  border-left: 3px solid var(--brand-accent);
}

.safety-view-item__note p {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--text-main);
  margin: 0;
}





/*------------------------------------
.section-safety-view__head テキスト色上書き
（背景が --brand-main のため白系に調整）
------------------------------------*/
.section-safety-view__head .section-en-label {
  color: rgba(255, 255, 255, 0.55);
}

.section-safety-view__head .section-title {
  color: #fff;
}

.section-safety-view__head .section-desc {
  color: rgba(255, 255, 255, 0.75);
}


/*------------------------------------
.section-safety-check（点呼・アルコールチェック）
------------------------------------*/
.section-safety-check {
  padding: 5rem 1.5rem;
  background-color: var(--bg-main);
}

@media (min-width: 1024px) {
  .section-safety-check {
    padding: 7rem 1.5rem;
  }
}

.section-safety-check__inner {
  max-width: 64rem;
  margin: auto;
}

.section-safety-check__head {
  text-align: center;
  margin-bottom: 4rem;
}

/* 本文エリア：テキスト＋写真 左右2分割 */
.safety-check-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 1024px) {
  .safety-check-body {
    align-items: flex-start;
    gap: 4rem;
  }
}

/* テキストブロック */
.safety-check-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.safety-check-block__title {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-main);
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
  padding-left: 0.875rem;
  border-left: 3px solid var(--brand-accent);
}

@media (min-width: 1024px) {
  .safety-check-block__title {
    font-size: 1.5rem;
  }
}

.safety-check-block__desc {
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--text-main);
  text-align: justify;
}

/* 写真エリア：縦2枚 */
.safety-check-photos {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .safety-check-photos {
    flex-direction: row;
    gap: 2.5rem;
    margin-top: 3rem;
  }
}

.safety-check-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
  background-color: var(--bg-sub);
}

.safety-check-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}


/*------------------------------------
.safety-ticker（無限ループ写真スライダー）
------------------------------------*/
.safety-ticker {
  overflow: hidden;
  margin-top: 3.5rem;
  /* 左右端フェード */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 6%,
    #000 94%,
    transparent 100%
  );
}

.safety-ticker__track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: ticker-scroll 20s linear infinite;
}

.safety-ticker__item {
  flex-shrink: 0;
  width: 280px;
  aspect-ratio: 4 / 3;
  border-radius: 0.75rem;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .safety-ticker__item {
    width: 360px;
  }
}

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

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 0.5rem)); }
}


