html {
  scroll-behavior: smooth;
}

#plan {
  background-image: radial-gradient(#e7e7e7 1px, transparent 0), radial-gradient(#e7e7e7 1px, transparent 0);
  background-position: 0 0, 5px 5px;
  background-size: 10px 10px;
}

#plan .list-flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

#plan .list-flex-wrap li {
  width: calc((100% - 48px) / 3);
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
}

@media screen and (max-width: 769px) {
  #plan .list-flex-wrap li {
    flex-direction: column;
    width: calc((100% - 24px) / 2);
  }
}

@media screen and (max-width: 480px) {
  #plan .list-flex-wrap li {
    flex-direction: column;
    width: 100%;
  }
}

#plan .list-flex-wrap li a {
  text-decoration: underline;
  color: #cf142b;
}

#plan .list-flex-wrap li a:hover a:hover {
  text-decoration: none;
  opacity: 0.7;
  transition: all 400ms 0s ease;
}

.contents main #plan .image>span {
  font-size: 125%;
  color: #fff;
  text-align: center;
  width: 90%;
  line-height: 44px;
  background-color: #333;
  border-radius: 22px;
  white-space: nowrap;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -22px;
}

.contents main #plan .list-flex-wrap>li>.txt {
  padding: 25px;
}

#plan .list-flex-wrap .txt-title {
  font-weight: bold;
  font-size: 18px;
  padding-bottom: 10px;
  padding-left:1em;
  text-indent:-1em;
}

@media screen and (max-width: 769px) {
  #plan .list-flex-wrap .txt-title {
    padding-bottom: 5px;
  }
}

#plan .list-flex-wrap .image {
  margin-bottom: 0;
}

@media screen and (max-width: 769px) {
  .onayami-chart {
    margin-top: 70px;
  }
}

.onayami-chart-box {
  position: relative;
  padding-top: 100px;
  margin-top: -100px;
}

.onayami-chart-box:not(:last-of-type) {
  margin-bottom: 80px;
}

@media screen and (max-width: 769px) {
  .onayami-chart-box:not(:last-of-type) {
    margin-bottom: 100px;
  }
}

.onayami-chart-title__img {
  position: relative;
}

.onayami-chart-title__img img {
  position: absolute;
  bottom: -79px;
  left: 10px;
  max-width: 100px;
}

@media screen and (max-width: 769px) {
  .onayami-chart-title__img img {
    bottom: 0;
    width: 17vw;
  }
}

.onayami-chart-title p {
  text-align: center;
  color: #fff;
  font-size: 25px;
  font-weight: 700;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 90px;
}

@media screen and (max-width: 769px) {
  .onayami-chart-title p {
    display: block;
    font-size: 18px;
    padding: 10px 0;
  }
}

.onayami-chart-title p span:not(.tag):not(.text-small) {
  font-size: 30px;
}

@media screen and (max-width: 769px) {
  .onayami-chart-title p span:not(.tag):not(.text-small) {
    font-size: 115%;
  }
}

@media screen and (max-width: 769px) {
  .onayami-chart-title p span:not(.tag) {
    font-size: 20px;
  }
}

.onayami-chart-title .tag {
  background: #fff;
  padding: 5px 10px;
  font-size: 20px;
  margin-right: 5px;
}

@media screen and (max-width: 769px) {
  .onayami-chart-title .tag {
    padding: 0px 10px;
    margin-right: 0;
    font-size: 14px;
  }
}

.onayami-chart figure {
  text-align: center;
}

.onayami-chart-title .text-small {
  font-weight: normal;
  font-size: 20px;
}

.onayami-chart figure img {
  max-width: 100% !important;
}

.only-sp {
  display: none;
}

@media screen and (max-width: 769px) {
  .only-pc {
    display: none;
  }

  .only-sp {
    display: block;
  }
}

.onayami-pageLink {
  display: flex;
  justify-content: center;
  gap: 50px;
}

@media screen and (max-width: 769px) {
  .onayami-pageLink {
    flex-direction: column;
    gap: 10px;
  }
}

.onayami-pageLink__item {
  width: calc((100% - 100px) / 3);
}

@media screen and (max-width: 769px) {
  .onayami-pageLink__item {
    width: 100%;
  }
}

.onayami-pageLink__item a {
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: #fff;
}


@media screen and (max-width: 769px) {
  .onayami-pageLink__item a {
    min-height: 88px;
  }
}

.onayami-pageLink__item .onayami-pageLink__title >span {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  padding: 0 40px;
  }

  @media screen and (max-width: 769px) {
    .onayami-pageLink__item .onayami-pageLink__title >span {
      display: none;
    }
  }

.onayami-pageLink__item:first-of-type .onayami-pageLink__title >span {
  color: #cf142b;
  border: 3px solid #cf142b;
}

.onayami-pageLink__item:nth-of-type(2) .onayami-pageLink__title >span {
  color: #0f99c2;
  border: 3px solid #0f99c2;
}

.onayami-pageLink__item:last-of-type .onayami-pageLink__title >span {
  color: #c2b623;
  border: 3px solid #c2b623;
}

@media screen and (max-width: 769px) {
  .onayami-pageLink__title img {
    display: none;
  }
}

.onayami-pageLink__item a p {
  padding: 5px 0;
  line-height: 1.5;
  text-align: center;
}

.onayami-pageLink__item a p span:not(.thin) {
  font-size: 18px;
  font-weight: bold;
}

.onayami-pageLink__item a span.thin {
  font-weight: lighter;
}

.onayami-pageLink__item figure {
  margin: 0;
}

.onayami-pageLink__item:first-of-type a {
  background: #cf142b;
}


.onayami-pageLink__item:first-of-type a::after {
  display: block;
  position: absolute;
  bottom: -12.5px;
  left: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background: #cf142b;
  transform: translateX(-50%) rotate(135deg);
  content: "";
  z-index: -1;
}

@media screen and (max-width: 769px) {
  .onayami-pageLink__item:first-of-type a::after {
    bottom: -5px;
    width: 10px;
    height: 10px;
  }
}


.onayami-pageLink__item:nth-of-type(2) a {
  background: #0f99c2;
}

.onayami-pageLink__item:nth-of-type(2) a::after {
  display: block;
  position: absolute;
  bottom: -12.5px;
  left: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background: #0f99c2;
  transform: translateX(-50%) rotate(135deg);
  content: "";
  z-index: -1;
}

@media screen and (max-width: 769px) {
  .onayami-pageLink__item:nth-of-type(2) a::after {
    bottom: -5px;
    width: 10px;
    height: 10px;
  }
}

.onayami-pageLink__item:last-of-type a {
  background: #c2b623;
}


.onayami-pageLink__item:last-of-type a::after {
  display: block;
  position: absolute;
  bottom: -12.5px;
  left: 50%;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  background: #c2b623;
  transform: translateX(-50%) rotate(135deg);
  content: "";
  z-index: -1;
}

@media screen and (max-width: 769px) {
  .onayami-pageLink__item:last-of-type a::after {
    bottom: -5px;
    width: 10px;
    height: 10px;
  }
}

.onayami-pageLink__image {
  background: #f8f8f8;
}

.onayami-pageLink__image img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  vertical-align: bottom;
}

.onayami-pageLink__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  font-weight: 700;
  position: relative;
}

.onayami-chart {
  background: #f8f8f8;
}

.onayami-chart section {
  padding-top: 140px;
  position: relative;
}

.onayami-chart__lead {
  width: 85%;
  text-align: center;
  font-weight: bold;
  border: 3px solid #cf142b;
  padding: 5px 0;
  margin: 0 auto;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}

.onayami-chart-cont {
  margin-top: 50px;
}

@media screen and (max-width: 769px) {
  .onayami-chart-cont {
    margin-top: 20px;
  }
}

.onayami-chart-cont__inner {
  display: flex;
  gap: 30px;
}

@media screen and (max-width: 769px) {
  .onayami-chart-cont__inner {
    flex-direction: column;
    gap: 15px;
  }
}

.onayami-chart-cont__inner:not(:first-of-type) {
  margin-top: 25px;
}

@media screen and (max-width: 769px) {
  .onayami-chart-cont__inner:not(:first-of-type) {
    margin-top: 12.5px;
  }
}

.onayami-chart-cont--ttl {
  position: relative;
  align-self: baseline;
  font-size: 23px;
  font-weight: bold;
  padding: 30px;
  width: 24%;
}

.onayami-chart-cont--ttl .fukidashi {
  position: absolute;
  font-size: 18px;
  font-weight: bold;
  color: #cf142b;
  left: -92%;
  background: url(/-/media/E7C194ABF8D1474A8C5C2B5C9EE4E2E5.ashx)center/contain no-repeat;
  padding: 82px;
}

.onayami-chart-cont--ttl .fukidashi span {
  background: linear-gradient(transparent 73%, #fae7e9 0%);
  display: inline;
  padding: 0 1px 0px;
}

@media screen and (max-width: 769px) {
  .onayami-chart-cont--ttl {
    width: 100%;
    padding: 15px;
    font-size: 115%;
  }
}

.onayami-chart-cont--ttl::before {
  position: absolute;
  left: 0;
  top: 42px;
  width: 20px;
  height: 3px;
  content: "";
}

@media screen and (max-width: 769px) {
  .onayami-chart-cont--ttl::before {
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
  }
}

.onayami-chart-cont--ttl::after {
  position: absolute;
  top: 50%;
  right: -33px;
  transform: translateY(-50%);
  width: 30px;
  height: 1px;
  background: #999;
  content: "";
}

@media screen and (max-width: 769px) {
  .onayami-chart-cont--ttl::after {
    position: absolute;
    top: inherit;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    width: 15px;
  }
}

.onayami-chart-cont--flex {
  display: flex;
  width: 76%;
}

@media screen and (max-width: 769px) {
  .onayami-chart-cont--flex {
    flex-direction: column;
    width: 100%;
  }
}

.onayami-chart-cont--flex__wrap {
  width: 76%;
}

@media screen and (max-width: 769px) {
  .onayami-chart-cont--flex__wrap {
    width: 100%;
  }
}

.onayami-chart-cont--flex__wrap>.onayami-chart-cont--flex {
  width: 100%;
}

.onayami-chart-cont--flex__wrap>.onayami-chart-cont--flex:nth-of-type(n + 2) {
  margin-top: 15px;
}

.onayami-chart-cont--flex--ttl {
  display: flex;
  width: 44%;
  font-size: 18px;
  padding: 12px;
}

@media screen and (max-width: 769px) {
  .onayami-chart-cont--flex--ttl {
    flex-direction: column;
    width: 100%;
    padding: 10px;
  }
}

.onayami-chart-cont--flex--ttl span {
  font-weight: bold;
}

.onayami-chart-cont--flex--ttl .num {
  color: #999;
  font-size: 18px;
  font-weight: 700;
}

.onayami-chart-cont--flex--link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 56%;
  padding: 12px;
}

@media screen and (max-width: 769px) {
  .onayami-chart-cont--flex--link {
    width: 100%;
    padding: 10px;
  }
}

.onayami-chart-cont--flex--link__wrap {
  width: 56%;
}

@media screen and (max-width: 769px) {
  .onayami-chart-cont--flex--link__wrap {
    width: 100%;
  }
}

.onayami-chart-cont--flex--link__wrap>.onayami-chart-cont--flex--link {
  width: 100%;
}

.onayami-chart-cont--flex--link p {
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.onayami-chart-cont--flex--link .cate {
  align-self: flex-start;
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  border-radius: 100vh;
  background: #fff;
  padding: 0 20px;
}

.onayami-chart-cont--flex--link--button {
  margin-top: auto;
  display: inline-block;
  align-self: end;
}

@media screen and (max-width: 769px) {
  .onayami-chart-cont--flex--link--button {
    align-self: center;
    margin-top: 5px;
  }
}

.onayami-chart-cont--flex--link--button a {
  font-size: 14px;
  font-weight: bold;
  border-radius: 100vh;
  background: #fff;
  padding: 5px 20px;
}

.onayami-chart-cont sup {
  font-size: 10px;
  vertical-align: text-top;
}

.onayami-chart-cont .note {
  font-size: 12px;
  text-align: right;
}

#onayami01 .onayami-chart-cont--ttl {
  border: 3px solid #cf142b;
}

#onayami01 .onayami-chart-cont--ttl::before {
  background: #cf142b;
}

#onayami01 .onayami-chart-cont--flex--ttl {
  border: 1px solid #cf142b;
}

#onayami01 .onayami-chart-cont--flex--link {
  background: #cf142b;
}

#onayami01 .onayami-chart-cont--flex--link .cate {
  color: #cf142b;
}

#onayami01 .onayami-chart-cont--flex--link--button a {
  color: #cf142b;
}

#onayami02 .onayami-chart-cont--ttl {
  border: 3px solid #0f99c2;
}

#onayami02 .onayami-chart-cont--ttl::before {
  background: #0f99c2;
}

#onayami02 .onayami-chart-cont--flex--ttl {
  border: 1px solid #0f99c2;
}

#onayami02 .onayami-chart-cont--flex--link {
  background: #0f99c2;
}

#onayami02 .onayami-chart-cont--flex--link .cate {
  color: #0f99c2;
}

#onayami02 .onayami-chart-cont--flex--link--button a {
  color: #0f99c2;
}

#onayami03 .onayami-chart-cont--ttl {
  border: 3px solid #c2b623;
}

#onayami03 .onayami-chart-cont--ttl::before {
  background: #c2b623;
}

#onayami03 .onayami-chart-cont--flex--ttl {
  border: 1px solid #c2b623;
}

#onayami03 .onayami-chart-cont--flex--link {
  background: #c2b623;
}

#onayami03 .onayami-chart-cont--flex--link .cate {
  color: #c2b623;
}

#onayami03 .onayami-chart-cont--flex--link--button a {
  color: #c2b623;
}

#onayami01 .onayami-chart-title {
  background: #cf142b;
}

#onayami01 .onayami-chart-title .tag {
  color: #cf142b;
}

#onayami02 .onayami-chart-title {
  background: #0f99c2;
}

#onayami02 .onayami-chart-title .tag {
  color: #0f99c2;
}

#onayami03 .onayami-chart-title {
  background: #c2b623;
}

#onayami03 .onayami-chart-title .tag {
  color: #c2b623;
}

/*# sourceMappingURL=style.css.map */
