.reien-static-page {
  background: #FCFCFC;
}

#main-content.gr-static-main {
  min-height: 100vh;
  background: #FCFCFC;
  color: #111111;
  font-family: "Roboto", "Noto Sans JP", "Source Han Sans JP", sans-serif;
}

.gr-static-page {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px 60px 96px;
  box-sizing: border-box;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0;
}

.reien-static-noindex-page .gr-static-breadcrumb {
  margin: 0;
  padding: 18px 60px 0;
  box-sizing: border-box;
  color: #5c5c5c;
  font-size: 13px;
  line-height: 1.6;
}

.reien-static-noindex-page .gr-static-breadcrumb .rl-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reien-static-noindex-page .gr-static-breadcrumb .rl-breadcrumb-list li + li::before {
  content: "/";
  margin-right: 6px;
  color: #9a9a9a;
}

.reien-static-noindex-page .gr-static-breadcrumb a {
  color: #0f6684;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gr-terms__header {
  margin-bottom: 42px;
}

.gr-static-page h1 {
  margin: 0 0 12px;
  color: #000000;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0;
}

.gr-static-page h3 {
  margin: 0 0 15px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

.gr-static-page h4 {
  margin: 24px 0 10px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: 0;
}

.gr-static-page p {
  margin: 0;
}

.gr-static-page p + p {
  margin-top: 15px;
}

.gr-static-page a {
  color: #0f6684;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.gr-terms__section {
  margin-top: 36px;
}

.gr-static-page ol,
.gr-static-page ul {
  margin: 0;
  padding-left: 1.5em;
}

.gr-static-page li {
  padding-left: 0.15em;
}

.gr-static-page li + li {
  margin-top: 9px;
}

.gr-static-page li > ul,
.gr-static-page li > ol {
  margin-top: 12px;
}

.gr-terms__footer {
  margin-top: 54px;
  padding-top: 30px;
  border-top: 1px solid #d8d3c8;
}

.gr-reserve-page__header {
  margin: 0 0 30px;
}

.gr-reserve-page__lead {
  color: #333333;
  font-size: 16px;
  line-height: 1.8;
}

.gr-reserve-page__cemetery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 18px;
  padding: 18px 20px;
  background: #F2F6F7;
  border-left: 4px solid #1E3A4D;
  box-sizing: border-box;
}

.gr-reserve-page__cemetery span {
  color: #1E3A4D;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
}

.gr-reserve-page__cemetery a,
.gr-reserve-page__cemetery strong {
  color: #111111;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  text-decoration: none;
}

.gr-reserve-page #block-reserve-request {
  margin-top: 0;
  padding-top: 24px;
}

.gr-reserve-page__empty {
  margin-top: 30px;
}

.gr-reserve-page__search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  background: #1E3A4D;
  color: #ffffff !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none !important;
}

@media (max-width: 640px) {
  .gr-static-page {
    padding: 24px 15px 84px;
    font-size: 15px;
  }

  .reien-static-noindex-page .gr-static-breadcrumb {
    padding: 15px 15px 0;
  }

  .gr-static-page h1 {
    font-size: 27px;
  }

  .gr-static-page h3 {
    font-size: 18px;
  }

  .gr-static-page h4 {
    font-size: 16px;
  }

  .gr-terms__section {
    margin-top: 36px;
  }

  .gr-reserve-page__cemetery {
    padding: 15px;
  }
}
