/* Otonacica 安全にご利用いただくためにページ専用CSS */

.safety-page {
  --safety-green: #35483d;
  --safety-green-dark: #26382f;
  --safety-coral: #e57c65;
  --safety-paper: #f7f3eb;
  --safety-text: #30332f;
  --safety-muted: #74766f;
  --safety-line: #dedbd2;
  margin: 0;
  color: var(--safety-text);
  background: var(--safety-paper);
}

.safety-page *,
.safety-page *::before,
.safety-page *::after {
  box-sizing: border-box;
}

.safety-main {
  padding-bottom: 95px;
}

.safety-hero {
  padding: 75px 20px 72px;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 20%, rgba(229, 124, 101, .14), transparent 25rem),
    radial-gradient(circle at 88% 80%, rgba(53, 72, 61, .12), transparent 28rem),
    #f5f1e8;
  text-align: center;
}

.safety-hero p:first-child {
  margin: 0 0 12px;
  color: var(--safety-coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
}

.safety-hero h1 {
  margin: 0 0 16px;
  color: var(--safety-green-dark);
  font: 500 38px/1.4 Georgia, "Times New Roman", "Noto Serif JP", serif;
  letter-spacing: .09em;
}

.safety-hero p:last-child {
  margin: 0;
  color: var(--safety-muted);
  font-size: 14px;
  line-height: 1.8;
}

.safety-content {
  width: min(900px, calc(100% - 48px));
}

.safety-lead {
  margin: 52px auto 36px;
  text-align: center;
}

.safety-lead p {
  margin: 0;
  color: #5f625c;
  font-size: 14px;
  line-height: 2;
}

.safety-lead p:first-child {
  margin-bottom: 8px;
  color: var(--safety-green-dark);
  font: 500 20px/1.7 Georgia, "Times New Roman", "Noto Serif JP", serif;
}

.safety-index {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0 0 78px;
  border: 1px solid var(--safety-line);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, .7);
}

.safety-index a {
  min-height: 58px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  border-right: 1px solid var(--safety-line);
  color: var(--safety-green-dark);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: color .2s, background .2s;
}

.safety-index a:last-child {
  border-right: 0;
}

.safety-index a:hover {
  color: #fff;
  background: var(--safety-green);
}

.safety-group {
  scroll-margin-top: 25px;
  margin-bottom: 80px;
}

.safety-group__title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.safety-group__title > span {
  color: rgba(53, 72, 61, .22);
  font: italic 42px/1 Georgia, serif;
}

.safety-group__title p {
  margin: 0 0 4px;
  color: var(--safety-coral);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
}

.safety-group__title h2 {
  margin: 0;
  color: var(--safety-green-dark);
  font: 500 23px/1.5 Georgia, "Times New Roman", "Noto Serif JP", serif;
  letter-spacing: .06em;
}

.safety-cards {
  display: grid;
  gap: 12px;
}

.safety-card {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 20px;
  padding: 27px 30px;
  border: 1px solid var(--safety-line);
  border-radius: 10px;
  background: rgba(255, 255, 255, .55);
}

.safety-card__mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--safety-coral);
  background: rgba(229, 124, 101, .11);
  font: italic 16px/1 Georgia, serif;
}

.safety-card h3,
.safety-tools h3,
.safety-emergency h3 {
  margin: 0;
  color: var(--safety-green-dark);
  font-size: 16px;
  line-height: 1.7;
}

.safety-card p,
.safety-note p,
.safety-tools p,
.safety-emergency p {
  margin: 8px 0 0;
  color: #62645f;
  font-size: 14px;
  line-height: 1.95;
}

.safety-note {
  margin-bottom: 18px;
  padding: 24px 28px;
  border-left: 4px solid var(--safety-coral);
  background: rgba(229, 124, 101, .08);
}

.safety-note strong {
  color: var(--safety-green-dark);
  font-size: 15px;
}

.safety-checklist {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--safety-line);
  list-style: none;
}

.safety-checklist li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 17px;
  padding: 20px 18px;
  border-bottom: 1px solid var(--safety-line);
  background: rgba(255, 255, 255, .38);
}

.safety-checklist li > span {
  padding-top: 4px;
  color: var(--safety-coral);
  font: italic 17px/1 Georgia, serif;
}

.safety-checklist p {
  margin: 0;
  color: #62645f;
  font-size: 14px;
  line-height: 1.85;
}

.safety-checklist strong {
  display: block;
  margin-bottom: 3px;
  color: var(--safety-green-dark);
}

.safety-alert-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.safety-alert-grid article {
  position: relative;
  padding: 25px 25px 25px 47px;
  border: 1px solid rgba(229, 124, 101, .26);
  border-radius: 10px;
  background: rgba(255, 255, 255, .48);
}

.safety-alert-grid article::before {
  content: "!";
  position: absolute;
  top: 25px;
  left: 20px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--safety-coral);
  font: 700 12px/1 Arial, sans-serif;
}

.safety-alert-grid p {
  margin: 0 0 8px;
  color: var(--safety-green-dark);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.safety-alert-grid span {
  color: #696b66;
  font-size: 13px;
  line-height: 1.85;
}

.safety-tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.safety-tools article {
  padding: 30px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 35px rgba(38, 56, 47, .07);
}

.safety-tools article > span {
  display: inline-block;
  margin-bottom: 13px;
  padding: 5px 10px;
  border-radius: 20px;
  color: var(--safety-coral);
  background: rgba(229, 124, 101, .1);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .17em;
}

.safety-tools small {
  display: block;
  margin-top: 15px;
  padding-top: 13px;
  border-top: 1px solid var(--safety-line);
  color: var(--safety-muted);
  font-size: 11px;
  line-height: 1.7;
}

.safety-emergency {
  margin-top: 22px;
  padding: 28px 30px;
  border-radius: 12px;
  color: #fff;
  background: var(--safety-green-dark);
}

.safety-emergency > p:first-child {
  margin: 0 0 7px;
  color: #d6c794;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.safety-emergency h3 {
  color: #fff;
}

.safety-emergency h3 + p {
  color: rgba(255, 255, 255, .7);
}

.safety-contact {
  padding: 50px 30px;
  border-radius: 18px;
  background: var(--safety-green-dark);
  color: #fff;
  text-align: center;
}

.safety-contact > p {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .68);
  font-size: 12px;
}

.safety-contact h2 {
  margin: 0 0 25px;
  font: 500 23px/1.6 Georgia, "Times New Roman", "Noto Serif JP", serif;
}

.safety-contact .btn {
  min-width: 210px;
}

@media (max-width: 760px) {
  .safety-main {
    padding-bottom: 60px;
  }

  .safety-hero {
    padding: 53px 18px 50px;
  }

  .safety-hero h1 {
    font-size: 28px;
    letter-spacing: .05em;
  }

  .safety-content {
    width: calc(100% - 30px);
  }

  .safety-lead {
    margin: 38px auto 28px;
    text-align: left;
  }

  .safety-lead p:first-child {
    font-size: 18px;
  }

  .safety-index {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 58px;
  }

  .safety-index a {
    border-bottom: 1px solid var(--safety-line);
  }

  .safety-index a:nth-child(2n) {
    border-right: 0;
  }

  .safety-index a:nth-last-child(-n+2) {
    border-bottom: 0;
  }

  .safety-group {
    margin-bottom: 58px;
  }

  .safety-group__title {
    gap: 13px;
  }

  .safety-group__title > span {
    font-size: 34px;
  }

  .safety-group__title h2 {
    font-size: 20px;
  }

  .safety-card {
    grid-template-columns: 38px 1fr;
    gap: 13px;
    padding: 22px 17px;
  }

  .safety-card__mark {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .safety-card h3 {
    font-size: 15px;
  }

  .safety-card p,
  .safety-note p,
  .safety-checklist p,
  .safety-tools p,
  .safety-emergency p {
    font-size: 13px;
  }

  .safety-note {
    padding: 20px;
  }

  .safety-checklist li {
    grid-template-columns: 32px 1fr;
    gap: 10px;
    padding: 18px 10px;
  }

  .safety-alert-grid,
  .safety-tools {
    grid-template-columns: 1fr;
  }

  .safety-alert-grid article {
    padding: 22px 18px 22px 44px;
  }

  .safety-alert-grid article::before {
    top: 22px;
    left: 17px;
  }

  .safety-tools article,
  .safety-emergency {
    padding: 24px 20px;
  }

  .safety-contact {
    padding: 40px 20px;
  }

  .safety-contact h2 {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .safety-page *,
  .safety-page *::before,
  .safety-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}