/**
@media screen and (max-width: 767px) {
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
}
@media screen and (min-width: 1280px) and (max-width: 1519px) {
}
@media screen and (min-width: 1520px) and (max-width: 1759px){
}
@media screen and (min-width: 1760px) {
}
 */


 /*  p-section-anshin
 --------------------------------------------- */
 .p-section-anshin {
  margin-top: 100px;
 }

 /*  .p-sec-ttl
 --------------------------------------------- */
.p-sec-ttl {
  position: relative;
  margin-inline: auto;
  width: 446px;
  max-width: 100%;
 }

 .p-sec-ttl__obj-1 {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% + 12px));
  left: -76px;
  width: 88px;
  height: auto;

  @media screen and (max-width: 767px) {
    top: 25%;
    left: 2%;
    width: 15%;
  }
 }

 .p-sec-ttl__obj-2 {
  position: absolute;
  top: 50%;
  transform: translateY(calc(-50% + 6px));
  right: -87px;
  width: 91px;
  height: auto;

  @media screen and (max-width: 767px) {
    top: 25%;
    right: 2%;
    width: 15%;
  }
 }

 /*  p-nintei-block
 --------------------------------------------- */
 .p-nintei-block {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  gap: 0;
  font-family: var(--ff-zen);
  color: var(--color-text);

  @media screen and (max-width: 767px) {
    display: block;
  }
 }

 .p-nintei-block__ttl-sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;

  @media screen and (max-width: 767px) {
    font-size: 15px;
  }

  svg {
    position: relative;
    top: .1em;
    flex-shrink: 0;
  }
 }

.p-nintei-block__ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 15px 1em;
  border-radius: 30px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 22px;
  line-height: 1.4;

  @media screen and (max-width: 767px) {
    padding: 10px 1em;
    font-size: 17px;
  }
}

.p-nintei-block:has(.p-nintei-block__ttl-sub) .p-nintei-block__ttl {
  margin-top: 20px;
}

.p-nintei-block__img {
  margin-top: 39px;
  overflow: hidden;
  border-radius: 10px;
}

.p-nintei-block__txt-wrap {
  margin-top: 29px;

  @media screen and (max-width: 767px) {
    margin-top: 20px;
  }
}

.p-nintei-block__txt-wrap + .p-nintei-block__img {
  margin-top: 44px;
}

.p-nintei-block__txt {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;

  > p + p {
    margin-top: 0.7em;
  }
}

.p-nintei-block__note {
  margin-top: 0.7em;
  padding-left: 1em;
  text-indent: -1em;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.8;
}
