.c-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 1.625rem;
  padding-inline: 0.625rem;
  border-radius: 0.5rem;
  background-color: #f5f5f5;
}
@media screen and (max-width: 767px) {
  .c-breadcrumb {
    gap: 0.875rem;
    min-height: 1.0625rem;
    padding: 0.1875rem 0.375rem 0.125rem;
    border-radius: 0.3125rem;
  }
}
.c-breadcrumb > span {
  display: flex;
  align-items: center;
}
.c-breadcrumb__link,
.c-breadcrumb a:first-of-type {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  width: 0.875rem;
  height: 0.9375rem;
  color: #168482;
  font-family:
    Noto Sans JP,
    sans-serif;
  font-size: 0;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.075rem;
  white-space: nowrap;
}
.c-breadcrumb__link:before,
.c-breadcrumb a:first-of-type:before {
  width: 0.875rem;
  height: 0.9375rem;
  content: "";
  background: url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='14'%20height='15'%20viewBox='0%200%2014%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector'%20d='M7.93333%200.32C7.66407%200.112285%207.33658%200%207%200C6.66342%200%206.33593%200.112285%206.06667%200.32L0.622222%204.52C0.429028%204.66904%200.272223%204.86229%200.164224%205.08446C0.0562257%205.30663%200%205.55161%200%205.8V13.4C0%2013.8243%200.163888%2014.2313%200.455612%2014.5314C0.747335%2014.8314%201.143%2015%201.55556%2015H4.58889C4.8158%2015%205.03341%2014.9073%205.19386%2014.7423C5.35431%2014.5772%205.44444%2014.3534%205.44444%2014.12V10.2C5.44444%209.77565%205.60833%209.36869%205.90006%209.06863C6.19178%208.76857%206.58744%208.6%207%208.6C7.41256%208.6%207.80822%208.76857%208.09994%209.06863C8.39167%209.36869%208.55556%209.77565%208.55556%2010.2V14.12C8.55556%2014.3534%208.64569%2014.5772%208.80614%2014.7423C8.96659%2014.9073%209.1842%2015%209.41111%2015H12.4444C12.857%2015%2013.2527%2014.8314%2013.5444%2014.5314C13.8361%2014.2313%2014%2013.8243%2014%2013.4V5.8C14%205.55161%2013.9438%205.30663%2013.8358%205.08446C13.7278%204.86229%2013.571%204.66904%2013.3778%204.52L7.93333%200.32Z'%20fill='%23168482'/%3e%3c/svg%3e")
    no-repeat center/contain;
}
.c-breadcrumb__link:after,
.c-breadcrumb a:first-of-type:after {
  position: absolute;
  top: 50%;
  left: 1.3125rem;
  width: 0.5rem;
  height: 0.625rem;
  content: "";
  background: url("data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='5.50001'%20height='8.50002'%20viewBox='0%200%205.50001%208.50002'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20id='Vector%2095'%20d='M0.75001%200.75001L4.75001%204.25001L0.75001%207.75001'%20stroke='%23168482'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e")
    no-repeat center/contain;
  transform: translateY(-50%);
}
@media screen and (max-width: 767px) {
  .c-breadcrumb__link,
  .c-breadcrumb a:first-of-type {
    width: 0.625rem;
    height: 0.625rem;
    letter-spacing: 0;
  }
  .c-breadcrumb__link:before,
  .c-breadcrumb a:first-of-type:before {
    width: 0.625rem;
    height: 0.625rem;
  }
  .c-breadcrumb__link:after,
  .c-breadcrumb a:first-of-type:after {
    left: 1rem;
    width: 0.3125rem;
    height: 0.5rem;
  }
}
.c-breadcrumb__home,
.c-breadcrumb a:first-of-type span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.c-breadcrumb__current,
.c-breadcrumb .current-item,
.c-breadcrumb span[property="name"]:last-of-type {
  color: #168482;
  font-family:
    Noto Sans JP,
    sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.075rem;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .c-breadcrumb__current,
  .c-breadcrumb .current-item,
  .c-breadcrumb span[property="name"]:last-of-type {
    font-size: 0.625rem;
    letter-spacing: 0;
  }
}
.c-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
}
@media screen and (max-width: 767px) {
  .c-title {
    gap: 0.3125rem;
  }
}
.c-title__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.875rem;
}
@media screen and (max-width: 767px) {
  .c-title__head {
    gap: 0.486rem;
  }
}
.c-title__lead {
  font-family:
    Noto Sans JP,
    sans-serif;
  font-weight: 900;
  font-size: 1.375rem;
  line-height: 1.2;
  color: #0c3830;
  text-align: center;
  white-space: nowrap;
}
.c-title__main-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}
.c-title__ellipse {
  position: absolute;
  left: -3.01725rem;
  top: -1.15625rem;
  width: 6.0681875rem;
  height: 3.9504375rem;
  border-radius: 50%;
  background-color: #fbf352;
  transform: rotate(-28.85deg);
}
@media screen and (max-width: 767px) {
  .c-title__ellipse {
    left: -1.6760625rem;
    top: -0.6418125rem;
    width: 3.370375rem;
    height: 2.194125rem;
  }
}
.c-title__main {
  position: relative;
  font-family:
    Noto Sans JP,
    sans-serif;
  font-weight: 900;
  font-size: 3.1875rem;
  line-height: 1;
  letter-spacing: 0.31875rem;
  color: #168482;
  text-align: center;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .c-title__main {
    font-size: 1.75rem;
    letter-spacing: 0.175rem;
  }
}
.c-title__sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
}
@media screen and (max-width: 767px) {
  .c-title__sub {
    gap: 0.347125rem;
  }
}
.c-title__dot {
  flex-shrink: 0;
  width: 0.4375rem;
  height: 0.4375rem;
  border-radius: 50%;
  background-color: #a4e0d2;
}
@media screen and (max-width: 767px) {
  .c-title__dot {
    width: 0.243rem;
    height: 0.243rem;
  }
}
.c-title__en {
  font-family: program, sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.5;
  letter-spacing: 0.175rem;
  color: #a4e0d2;
  text-align: center;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .c-title__en {
    font-size: 1rem;
    letter-spacing: 0.1rem;
  }
}
.c-title--reverse .c-title__ellipse {
  background-color: #279896;
}
.c-title--reverse .c-title__main {
  color: #fff;
}
.c-title--reverse .c-title__dot {
  background-color: #e3f7f7;
}
.c-title--reverse .c-title__en {
  color: #e3f7f7;
}
.c-title--care .c-title__ellipse {
  background-color: #ffc8ab;
}
.c-title--care .c-title__lead {
  color: #168482;
}
.c-title--care .c-title__dot {
  background-color: #93d7d6;
}
.c-title--care .c-title__en {
  color: #93d7d6;
}
@media screen and (max-width: 767px) {
  .p-header--rule .p-header__mobile-inner {
    padding-top: 0.625rem;
  }
}
.p-rule {
  position: relative;
  padding-top: 17.5rem;
  padding-bottom: 20rem;
  overflow: hidden;
  background-color: #fff;
}
.p-rule:before {
  position: absolute;
  top: -42.1875rem;
  left: -31.875rem;
  width: 61.9375rem;
  height: 60.9375rem;
  content: "";
  background-color: #279896;
  border-radius: 50%;
}
@media screen and (max-width: 767px) {
  .p-rule {
    padding-top: 11.75rem;
    padding-bottom: 12.5rem;
  }
  .p-rule:before {
    top: -6.3125rem;
    left: -6.75rem;
    width: 20.5625rem;
    height: 15.125rem;
    transform: rotate(-4.54deg);
  }
}
.p-rule__breadcrumb {
  position: absolute;
  top: 8.75rem;
  left: 2.4375rem;
  z-index: 1;
}
@media screen and (max-width: 767px) {
  .p-rule__breadcrumb {
    top: 5.6875rem;
    left: 0.5rem;
  }
}
.p-rule__content {
  position: relative;
  z-index: 1;
}
.p-rule__header {
  position: relative;
  width: min(100%, 51.25rem);
  margin-inline: auto;
  text-align: center;
}
.p-rule__lead {
  margin-top: 3rem;
  color: #0c3830;
  font-family:
    Noto Sans JP,
    sans-serif;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.08125rem;
}
@media screen and (max-width: 767px) {
  .p-rule__lead {
    margin-top: 0.75rem;
    font-size: 1.1875rem;
    line-height: 1.4;
    letter-spacing: 0;
  }
}
.p-rule__text {
  width: min(100%, 53.125rem);
  margin-top: 1.375rem;
  margin-inline: auto;
  color: #4f5d58;
  font-family:
    Noto Sans JP,
    sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.1rem;
  text-align: left;
}
@media screen and (max-width: 767px) {
  .p-rule__text {
    width: min(100%, 21.875rem);
    margin-top: 0.9375rem;
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: 0;
  }
}
.p-rule__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5.1875rem 3.75rem;
  margin-top: 6.875rem;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .p-rule__grid {
    grid-template-columns: 1fr;
    gap: 3.125rem;
    max-width: 21.875rem;
    margin-top: 4.25rem;
  }
}
.p-rule__card {
  position: relative;
  min-height: 29.8125rem;
  padding: 3.5rem 2.125rem 2.25rem;
  border-radius: 3.125rem;
  background-color: #e3f7f7;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-rule__card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 5.8125rem;
    grid-template-rows: auto 1fr;
    column-gap: 0.5rem;
    align-items: end;
    min-height: 10.375rem;
    padding: 0.375rem 0.875rem 1rem 1.5rem;
    border-radius: 2.1875rem;
  }
}
.p-rule__card-number {
  position: absolute;
  top: -3.1875rem;
  left: 2.125rem;
  color: #93d7d6;
  font-family:
    "Rounded Mplus 1c",
    Noto Sans JP,
    sans-serif;
  font-size: 4.375rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.175rem;
}
@media screen and (max-width: 767px) {
  .p-rule__card-number {
    top: -2.1875rem;
    left: 1.25rem;
    font-size: 2.875rem;
    letter-spacing: 0;
  }
}
.p-rule__card-img {
  display: block;
  width: 19.375rem;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .p-rule__card-img {
    width: 10.5625rem;
    grid-column: 1/-1;
    margin-top: 0;
  }
}
.p-rule__card-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.875rem;
  margin-top: 0.8125rem;
  color: #0c3830;
  font-family:
    Noto Sans JP,
    sans-serif;
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.09375rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-rule__card-title {
    grid-column: 1;
    align-self: end;
    justify-content: flex-start;
    width: 12.5rem;
    min-height: auto;
    margin-top: 0.4375rem;
    font-size: 1.4375rem;
    line-height: 1.2;
    letter-spacing: 0.043125rem;
    text-align: left;
    margin-top: 0;
  }
}
@media screen and (max-width: 767px) {
  .p-rule__card-title--small {
    font-size: 1.3125rem;
  }
}
.p-rule__card-btn.c-btn.c-btn--border {
  width: 10.1875rem;
  height: 3.8125rem;
  margin-top: 0.625rem;
  padding-inline: 1.875rem;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: -0.02125rem;
}
@media screen and (max-width: 767px) {
  .p-rule__card-btn.c-btn.c-btn--border {
    grid-column: 2;
    align-self: end;
    box-sizing: border-box;
    width: 5.8125rem;
    min-width: 5.8125rem;
    max-width: 5.8125rem;
    height: 2.375rem;
    min-height: 2.375rem;
    margin-top: 0;
    padding: 0;
    border-width: 1.5px;
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: -0.016625rem;
  }
}
.p-rule-modal[hidden] {
  display: none;
}
body.is-rule-modal-open {
  overflow: hidden;
}
.p-rule-modal {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 6.875rem 1.25rem 2.5rem;
  overflow-y: auto;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.36s ease;
}
@media screen and (max-width: 767px) {
  .p-rule-modal {
    padding: 2.375rem 1.25rem 2.5rem;
  }
}
.p-rule-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}
.p-rule-modal.is-closing {
  pointer-events: none;
}
.p-rule-modal__overlay {
  position: fixed;
  inset: 0;
  border: 0;
  background-color: #0c38308c;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.36s ease;
}
.p-rule-modal__panel {
  position: relative;
  width: min(100%, 50rem);
  margin-block: auto;
  padding: 2rem 5.625rem 3.625rem;
  border-radius: 3.125rem;
  background-color: #e3f7f7;
  opacity: 0;
  transform: translateY(1.5rem) scale(0.97);
  transition:
    opacity 0.42s ease,
    transform 0.42s cubic-bezier(0.16, 1, 0.3, 1);
}
@media screen and (max-width: 767px) {
  .p-rule-modal__panel {
    width: min(100%, 21.875rem);
    min-height: fit-content;
    padding: 1.375rem 1.8125rem 1.8125rem;
    border-radius: 2.1875rem;
  }
}
.p-rule-modal.is-open .p-rule-modal__overlay {
  opacity: 1;
}
.p-rule-modal.is-open .p-rule-modal__panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.p-rule-modal.is-closing .p-rule-modal__panel {
  transform: translateY(0.75rem) scale(0.985);
}
@media (prefers-reduced-motion: reduce) {
  .p-rule-modal,
  .p-rule-modal__overlay,
  .p-rule-modal__panel {
    transition-duration: 0.01ms;
  }
}
.p-rule-modal__number {
  position: absolute;
  top: -4.9375rem;
  left: 2.125rem;
  color: #93d7d6;
  font-family:
    "Rounded Mplus 1c",
    Noto Sans JP,
    sans-serif;
  font-size: 7rem;
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: -0.28125rem;
}
@media screen and (max-width: 767px) {
  .p-rule-modal__number {
    top: -2.5rem;
    left: 1.25rem;
    font-size: 3.375rem;
    letter-spacing: 0;
  }
}
.p-rule-modal__img {
  display: block;
  width: 38.75rem;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
@media screen and (max-width: 767px) {
  .p-rule-modal__img {
    width: 12.6875rem;
  }
}
.p-rule-modal__title {
  margin-top: 1.3125rem;
  color: #0c3830;
  font-family:
    Noto Sans JP,
    sans-serif;
  font-size: 1.875rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.09375rem;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .p-rule-modal__title {
    margin-top: 1.375rem;
    font-size: 1.4375rem;
    line-height: 1.2;
    letter-spacing: 0.043125rem;
  }
}
.p-rule-modal__text {
  margin-top: 1.5rem;
  color: #4f5d58;
  font-family:
    Noto Sans JP,
    sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.125rem;
  text-align: justify;
}

h3.p-rule-modal__text {
    font-weight: bold;
    font-size: 1.5rem;
    margin-top: 2rem;
}
ol.p-rule-modal__text{
    list-style: decimal;
    padding-left: 2.5rem;
    line-height: 1.5;
}
ol.p-rule-modal__text li{
    margin-bottom: 0.75rem;
}
h3.p-rule-modal__text + ol.p-rule-modal__text,
h3.p-rule-modal__text + p.p-rule-modal__text
{
    margin-top: 0.5rem;
}
.p-rule-modal__text a{
    text-decoration: underline;
}
@media screen and (max-width: 767px) {
  .p-rule-modal__text {
    margin-top: 1.375rem;
    color: #0c3830;
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: 0;
  }
    h3.p-rule-modal__text {
        font-size: 1rem;
    }
}
.p-rule-modal__close.c-btn.c-btn--border {
  display: flex;
  width: 10.1875rem;
  height: 3.8125rem;
  margin-top: 1.125rem;
  margin-inline: auto;
  padding-inline: 1.875rem;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: -0.02125rem;
}
@media screen and (max-width: 767px) {
  .p-rule-modal__close.c-btn.c-btn--border {
    box-sizing: border-box;
    width: 7.3125rem;
    min-width: 7.3125rem;
    max-width: 7.3125rem;
    height: 2.375rem;
    min-height: 2.375rem;
    margin-top: 1.5rem;
    padding: 0;
    border-width: 1.5px;
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: -0.016625rem;
  }
}
