/* =========================================================
  Safety Common
========================================================= */

.safety-page {
  color: #111;
  background: #fff;
}

.safety-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.safety-section {
  padding: 80px 0;
}

.safety-section--gray {
  background: #f7f7f7;
}

/* Hero
--------------------------------------------------------------------------- */

.safety-hero {
  background: linear-gradient(
    90deg,
    #fff 0%,
    #fff 48%,
    #f4f6f8 48%,
    #f4f6f8 100%
  );
  overflow: hidden;
}

.safety-hero__inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 420px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 48px;
}

.safety-hero__label {
  margin: 0 0 12px;
  color: #9b001f;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.safety-hero__title {
  margin: 0;
  color: #111;
  font-size: clamp(2.6rem, 4.8vw, 4.4rem);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.safety-hero__title span {
  white-space: nowrap;
}

.safety-hero__text {
  margin: 28px 0 0;
  max-width: 620px;
  font-size: 1.05rem;
  line-height: 2;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.safety-hero__text span {
  white-space: nowrap;
}

.safety-hero__image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 0 40px;
  object-fit: cover;
}

/* Lead
--------------------------------------------------------------------------- */

.safety-lead {
  padding: 48px 0 0;
}

.safety-lead p {
  max-width: 880px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 2;
  text-align: center;
}

.safety-lead span {
  white-space: nowrap;
}

/* Heading
--------------------------------------------------------------------------- */

.safety-heading {
  margin-bottom: 40px;
  text-align: center;
}

.safety-heading__en {
  margin: 0 0 8px;
  color: #9b001f;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.safety-heading__ja {
  position: relative;
  margin: 0;
  padding-bottom: 0;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.06em;
}

/* Message / Card
--------------------------------------------------------------------------- */

.safety-message-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 36px 40px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.safety-message-card p {
  margin: 0;
  color: #333;
  font-size: 0.98rem;
  line-height: 2;
}

.safety-message-card p + p {
  margin-top: 18px;
}

/* Cards
--------------------------------------------------------------------------- */

.safety-card-grid {
  display: grid;
  gap: 22px;
}

.safety-card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.safety-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.safety-card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.safety-activity-card {
  padding: 28px 22px;
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.safety-activity-card h3 {
  position: relative;
  margin: 0 0 14px;
  padding-left: 16px;
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.safety-activity-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 4px;
  height: 1.1em;
  background: #9b001f;
  border-radius: 999px;
}

.safety-activity-card p {
  margin: 0;
  color: #555;
  font-size: 0.92rem;
  line-height: 1.9;
}

/* Link button
--------------------------------------------------------------------------- */

.safety-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  padding: 14px 22px;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  background: #9b001f;
  border: 1px solid #9b001f;
  border-radius: 6px;
  transition: 0.2s ease;
}

.safety-button::after {
  content: "→";
  margin-left: 10px;
}

.safety-button:hover {
  color: #9b001f;
  background: #fff;
}

/* CTA
--------------------------------------------------------------------------- */

.safety-cta {
  padding: 80px 0 90px;
}

.safety-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 44px 48px;
  color: #fff;
  background: linear-gradient(135deg, #9b001f 0%, #c40028 100%);
  border-radius: 12px;
}

.safety-cta__label {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.9;
}

.safety-cta__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.safety-cta__text {
  margin: 14px 0 0;
  max-width: 620px;
  font-size: 0.95rem;
  line-height: 1.9;
}

.safety-cta__text span {
  white-space: nowrap;
}

.safety-cta__buttons {
  flex: 0 0 auto;
  display: grid;
  gap: 12px;
  min-width: 240px;
}

.safety-cta__buttons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 22px;
  color: #9b001f;
  font-weight: 800;
  text-decoration: none;
  background: #fff;
  border-radius: 6px;
  transition: 0.2s ease;
}

.safety-cta__buttons a::after {
  content: "→";
  margin-left: 10px;
}

.safety-cta__buttons a:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

/* Responsive
--------------------------------------------------------------------------- */

@media (max-width: 1074px) {
  .safety-card-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .safety-hero {
    background: #fff;
  }

  .safety-hero__inner {
    max-width: 720px;
    min-height: auto;
    padding: 28px 0 0;
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .safety-hero__title {
    font-size: clamp(2rem, 5.8vw, 3rem);
    line-height: 1.25;
  }

  .safety-hero__text {
    max-width: 680px;
    font-size: 0.98rem;
    line-height: 1.9;
  }

  .safety-hero__image img {
    max-height: 360px;
    border-radius: 12px;
    object-fit: cover;
    object-position: center;
  }

  .safety-lead p {
    max-width: 720px;
    font-size: 0.96rem;
    line-height: 2;
    text-align: left;
  }

  .safety-card-grid--2,
  .safety-card-grid--3 {
    grid-template-columns: 1fr;
  }

  .safety-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .safety-cta__buttons {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .safety-container,
  .safety-hero__inner {
    width: min(100% - 28px, 1120px);
  }

  .safety-hero__title {
    font-size: clamp(2.3rem, 11vw, 3.4rem);
    line-height: 1.22;
  }

  .safety-hero__text span {
    white-space: normal;
  }

  .safety-section {
    padding: 56px 0;
  }

  .safety-lead {
    padding: 36px 0 0;
  }

  .safety-lead span {
    white-space: normal;
  }

  .safety-card-grid--4 {
    grid-template-columns: 1fr;
  }

  .safety-message-card {
    padding: 28px 20px;
  }

  .safety-activity-card {
    padding: 24px 20px;
  }

  .safety-cta {
    padding: 64px 0 64px;
  }

  .safety-cta__inner {
    padding: 32px 24px;
  }

  .safety-cta__text span {
    white-space: normal;
  }

  .safety-button {
    width: 100%;
    box-sizing: border-box;
  }
}
