@charset "UTF-8";

.safety {
  padding: 60px 0 100px;
  background-color: #d3d2c4;
  color: #231815;
  font-family: "Noto Sans JP", sans-serif;
  font-feature-settings: "halt" 1;
}

.safety__lockup {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 36px;
  margin-top: 48px;
}

.safety__catch {
  margin: 0;
  padding: 7px 32px 12px;
  border-radius: 8px;
  background-color: #036eb8;
  color: #fff;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.safety__logo {
  margin: 0;
}

.safety__logo img {
  display: block;
  width: 374px;
  max-width: 100%;
  height: auto;
}

.safety__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.safety__img {
  display: block;
  width: 100%;
  height: auto;
}

.safety__item-body {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.safety__icon {
  flex-shrink: 0;
  width: 118px;
  height: 118px;
}

.safety__item-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.safety__item-text {
  margin: 16px 0 0;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.safety__lockup.is-ready > *,
.safety__item.is-ready {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.safety__lockup.is-ready > :nth-child(2) {
  transition-delay: 0.15s;
}

.safety__lockup.is-ready.is-show > *,
.safety__item.is-ready.is-show {
  opacity: 1;
  transform: none;
}

.safety {
  --safety-slope: calc(417.61 / 1440 * 100vw);
  /* 斜めの下に敷く全幅の明るい帯（PCはなし） */
  --safety-band: 0px;
  position: relative;
  padding-bottom: calc(125px + var(--safety-slope) + var(--safety-band));
}

.safety::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: calc(var(--safety-slope) + var(--safety-band));
  background-color: #eaebe6;
  clip-path: polygon(0 calc(100% - var(--safety-band)), 100% 0, 100% 100%, 0 100%);
}

.safety__make-wrap {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 32px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.safety__make {
  display: block;
  width: min(490px, calc(490 / 1440 * 100vw));
  height: auto;
  /* デザインでは中央から右に約10pxずれた位置 */
  transform: translateX(min(10.1px, calc(10.1 / 1440 * 100vw)));
}

.safety__note {
  margin: 32.7px 0 0;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-align: center;
  color: #696969;
}

@media screen and (min-width: 751px) {
  .safety__item.is-ready:nth-child(2) {
    transition-delay: 0.15s;
  }
}

@media screen and (max-width: 750px) {
  .safety {
    --safety-slope: calc(181.5 / 375 * 100vw);
    --safety-band: 52px;
    padding: 50px 0 calc(106.5px + var(--safety-slope) + var(--safety-band));
  }

  .safety__make-wrap {
    bottom: 40px;
  }

  .safety__make {
    width: 244px;
    transform: translateX(10.4px);
  }

  .safety__note {
    margin-top: 12px;
    text-align: start;
  }

  .safety__lockup {
    flex-direction: column;
    gap: 10px;
    margin-top: 36px;
  }

  .safety__catch {
    padding: 4px 15px 6px;
    border-radius: 4px;
    font-size: 15px;
  }

  .safety__logo img {
    width: 206px;
  }

  .safety__list {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 30px;
  }

  .safety__item-body {
    gap: 12px;
    margin-top: 16px;
  }

  .safety__icon {
    width: 76px;
    height: 76px;
  }

  .safety__item-title {
    font-size: 15px;
    line-height: 1.4;
  }

  .safety__item-text {
    margin-top: 12px;
    font-size: 13px;
  }
}
