:root {
  --c: #183688;
}

.main-content {
  overflow: hidden;
  color: var(--c);
}

.general-section {
  font-weight: 600;
}

.caption {
  font-weight: 400;
  letter-spacing: 0.1em;
}

.pb0 {
  padding-bottom: 0 !important;
}

.pt0 {
  padding-top: 0 !important;
}

.main-content .bg {
  background: url(../images/corner-unit/bg.webp) no-repeat top center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .main-content .bg {
    background-image: url(../images/corner-unit/bg-sp.webp);
  }
}

.in-main--copy {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  text-shadow: 0px 0px 3px rgba(7, 32, 57, 0.8);
  letter-spacing: 0.2em;
  line-height: 1.8;
}
.in-main--copy strong {
  font-size: 1.5em;
}
.in-main--copy strong span {
  color: #ddcf94;
}
@media screen and (max-width: 767px) {
  .in-main--bg img {
    aspect-ratio: 360/410;
    -o-object-fit: cover;
       object-fit: cover;
  }
}

.merit {
  /* background: url(../images/corner-unit/merit-bg.webp) bottom center/100% auto no-repeat; */
  position: relative;
  overflow: hidden;
  padding-bottom: 20%;
  color: var(--c);
  z-index: 2;
}
.merit-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url(../images/corner-unit/merit-bg.webp) bottom center/cover no-repeat;
  z-index: -2;
}
.merit-bg-fireworks {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: url(../images/corner-unit/merit-bg-fireworks.webp) top center/cover no-repeat;
  z-index: -1;
  transition: 1.2s;
  opacity: 0;
}
.cap-02{
  opacity: 0;
}
.merit.is-active .merit--head{
  color: #fff;
  text-shadow:
		1px 1px 8px rgba(24, 54, 136, 0.5),
		-1px 1px 8px rgba(24, 54, 136, 0.5),
		1px -1px 8px rgba(24, 54, 136, 0.5),
		-1px -1px 8px rgba(24, 54, 136, 0.5);
}
.merit.is-active .merit--lead{
  color: #fff;
  text-shadow:
		1px 1px 8px rgba(24, 54, 136, 0.5),
		-1px 1px 8px rgba(24, 54, 136, 0.5),
		1px -1px 8px rgba(24, 54, 136, 0.5),
		-1px -1px 8px rgba(24, 54, 136, 0.5);
}

.merit.is-active .merit-bg-fireworks {
  opacity: 1;
}
.merit.is-active .cap-01{
  opacity: 0;
}
.merit.is-active .cap-02{
  opacity: 1;
}
@media screen and (max-width: 767px) {
  .merit {
    /* background-image: url(../images/corner-unit/merit-bg-sp.webp); */
    padding-bottom: 60%;
  }
  .merit-bg {
  background: url(../images/corner-unit/merit-bg-sp.webp) bottom center/100% auto no-repeat;
}
.merit-bg-fireworks {
  background: url(../images/corner-unit/merit-bg-fireworks-sp.webp) bottom center/100% auto no-repeat;
}
}
.merit--head {
  font-size: 48px;
  letter-spacing: 0.2em;
  text-align: center;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .merit--head {
    font-size: 24px;
    padding-top: 20px;
  }
}
.merit--lead {
  font-size: 40px;
  letter-spacing: 0.2em;
  text-align: center;
  line-height: 1.5;
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .merit--lead {
    font-size: 18px;
    letter-spacing: 0.15em;
  }
}
.merit--list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 30px;
  letter-spacing: 0.2em;
  margin-bottom: 80px;
}
@media screen and (max-width: 767px) {
  .merit--list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 30px;
    margin-inline: 20px;
    margin-bottom: 40px;
  }
}
.merit--list--item {
  padding: 30px;
  background: #fff;
  color: var(--c);
  position: relative;
  width: 100%;
  -webkit-box-shadow: 0px 1px 6px rgba(7, 32, 57, 0.4);
          box-shadow: 0px 1px 6px rgba(7, 32, 57, 0.4);
}
.merit--list--item::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: solid 1px;
  pointer-events: none;
}
.merit--list--item--num {
  color: #fff;
  background: var(--c);
  color: #c8af73;
  font-size: 21px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 5px 10px;
  letter-spacing: 0.2em;
  border: solid 1px;
  margin-bottom: 30px;
}
@media screen and (max-width: 767px) {
  .merit--list--item--num {
    font-size: 15px;
    padding: 10px 10px 5px;
    margin-bottom: 20px;
  }
}
.merit--list--item--num span {
  font-size: 1.4285714286em;
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
.merit--list--item--head {
  font-size: 22px;
  letter-spacing: 0.1em;
  margin-bottom: 1em;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .merit--list--item--head {
    font-size: 16px;
  }
}
.merit--list--item--lead {
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .merit--list--item--lead {
    font-size: 14px;
  }
}

.plan {
  counter-reset: li;
}
.plan--list--item {
  padding: 30px;
  background: #fff;
  color: var(--c);
  position: relative;
}
.plan--list--item::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: solid 1px;
  pointer-events: none;
}
.plan--list--item--head {
  margin-bottom: 20px;
  position: relative;
  padding-left: 80px;
  counter-increment: li;
  min-height: 60px;
  line-height: 1.5;
}
.plan--list--item--head:not(:has(.plan--list--item--head--sub)){
  display: flex;
  align-items: center;
}
@media screen and (max-width: 767px) {
  .plan--list--item--head {
    min-height: 40px;
    padding-left: 50px;
  }
}
.plan--list--item--head::before {
  content: counter(li);
  width: 60px;
  color: #fff;
  aspect-ratio: 1;
  background: var(--c);
  font-size: 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-family: "Cinzel", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  top: 0;
  left: 0;
}
@media screen and (max-width: 767px) {
  .plan--list--item--head::before {
    width: 40px;
    font-size: 21px;
  }
}
.plan--list--item--head--sub {
  font-size: 17px;
  margin-bottom: 0.25em;
  font-weight: 400;
}
@media screen and (max-width: 767px) {
  .plan--list--item--head--sub {
    font-size: 14px;
  }
}
.plan--list--item--head--title {
  font-size: 25px;
  line-height: 1.25;
  font-weight: 700;
}
@media screen and (max-width: 767px) {
  .plan--list--item--head--title {
    font-size: 18px;
  }
}

.plan--1 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-direction: row-reverse;
          flex-direction: row-reverse;
  padding-top: 100px;
}
@media screen and (max-width: 767px) {
  .plan--1 {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 60px;
    padding-top: 40px;
  }
}
.plan--1--layout {
  width: 58.3333333333%;
}
@media screen and (max-width: 767px) {
  .plan--1--layout {
    width: 100%;
  }
}
.plan--1--list {
  width: 35.8333333333%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 40px;
}
@media screen and (max-width: 767px) {
  .plan--1--list {
    width: 100%;
    margin: 0 auto;
    gap: 30px;
  }
}
.plan--1--list--item--img {
  width: 70%;
  max-width: 210px;
  margin: 0 auto;
}

.plan--2 {
  padding-top: 40px;
}
@media screen and (max-width: 767px) {
  .plan--2 {
    padding-top: 30px;
  }
}
.plan--2--list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
}
.plan--2--list--item{
  flex: 1;
}
@media screen and (max-width: 767px) {
  .plan--2--list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 30px;
  }
}

.hanrei-wrap .hanrei {
  max-width: 300px;
  width: calc(100% - 96px);
  -webkit-transform: translateY(-0.05em);
          transform: translateY(-0.05em);
}

.hanrei-wrap .hanrei02 {
  max-width: 413px;
  width: calc(100% - 12.5px);
  -webkit-transform: translateY(-0.05em);
          transform: translateY(-0.05em);
}

.is-safari .hanrei-wrap .hanrei {
  -webkit-transform: translateY(-2px);
  transform: translateY(-2px);
}

.hanrei-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 20px;
  font-size: 1.4rem;
  margin-top: 10px;
}

.hanrei-onwards {
  margin-top: 20px;
}

.hanrei-wrap.wrapblake {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 10px 20px;
}

.hanrei-wrap.wrapblake .bottomline {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 5px 15px;
}

@media screen and (max-width: 767px) {
  .hanrei-wrap {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    font-size: 1.2rem;
    margin-top: 20px;
  }
  .hanrei-wrap.wrapblake {
    -webkit-font-feature-settings: "palt";
            font-feature-settings: "palt";
  }
}

.flex-wrapper.plan-alcove{
  flex-wrap: nowrap;
  gap: 12px;
}
.flex-wrapper.plan-alcove figure{
  width: calc(55% - 6px);
}
.flex-wrapper.plan-alcove .note{
  width: calc(45% - 6px);
}
.flex-wrapper.plan-alcove .note,
.flex-wrapper.plan-alcove .caption{
  color: #2c2c2c;
}
.flex-wrapper.plan-alcove .note{
  margin: 0;
  font-size: 14px;
}
@media screen and (max-width: 767px) {
  .flex-wrapper.plan-alcove{
    flex-wrap: wrap;
  }
  .flex-wrapper.plan-alcove figure,
  .flex-wrapper.plan-alcove .note{
    width: 100%;
  }
}