:root {
  --main-color: #c90021;
  --sub-color: #b8a480;
}

html {
  scroll-behavior: smooth;
}

#main {
  margin: 76px auto 0;
  padding: 0;
}
#main h1 {
  color: #000;
  font-size: 46px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-align: center;
  margin: 0 0 28px;
  padding: 0 0 15px;
  position: relative;
}
#main h1::before {
  content: "";
  width: 60px;
  height: 2px;
  background: #bb2121;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
}

#plans {
  padding: 0 0 64px;
  width: 1100px;
  text-align: left;
  margin: 0 auto;
}
#plans .anchorList {
  max-width: 860px;
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
  margin: 0 auto 80px;
  flex-wrap: wrap;
}
#plans .anchorList p {
  margin: 0;
}
#plans .anchorList > li {
  width: calc(50% - 10px);
  display: flex;
  align-items: stretch;
}
#plans .anchorList > li a {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: solid 2px var(--sub-color);
  padding: 20px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  color: #1a1a1a;
  box-sizing: border-box;
  border-radius: 8px;
}
#plans .anchorList > li a .type {
  font-size: 18px;
}
#plans .anchorList > li a .name {
  color: var(--sub-color);
  font-size: 24px;
  font-weight: bold;
  padding: 0;
}
#plans .anchorList > li a .arrow {
  display: none;
  position: absolute;
  left: 50%;
  bottom: -21px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--sub-color);
  content: "";
  border-radius: 50%;
  transform: translateX(-50%) rotate(90deg);
}
#plans .anchorList > li a .arrow svg {
  width: 17px;
  height: 17px;
}
#plans .anchorList > li a .arrow svg .arrowIcon {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-miterlimit: 10;
  stroke-width: 3px;
}
@media (hover: hover) {
  #plans .anchorList > li a:hover {
    opacity: 1;
    background: #f8f4ef;
  }
  #plans .anchorList > li a:hover .arrow {
    display: flex;
  }
}
#plans .tax {
  max-width: 870px;
  margin: 0 0 8px;
  text-align: right;
  font-size: 12px;
}
#plans .planList > li {
  text-align: center;
  line-height: 1.5;
  border-radius: 8px;
  position: relative;
  margin: -80px 0 24px;
  padding-top: 80px;
}
#plans .planList > li .planHead {
  width: 100%;
  border: 1px solid #aaa;
  border-radius: 8px;
}
#plans .planList > li .planHead .nameWrap {
  padding: 20px;
  box-sizing: border-box;
  background: #eff8f8;
  border-radius: 8px 8px 0 0;
}
#plans .planList > li .planHead .nameWrap .name {
  font-size: 24px;
  font-weight: bold;
}
#plans .planList > li .planHead .nameWrap#limitedplan {
  background: #e2f5eb;
}
#plans .planList > li .planHead .nameWrap#onebrideplan {
  background: #dae4ee;
}
#plans .planList > li .planHead .nameWrap#total12plan {
  background: #fff6f1;
}
#plans .planList > li .planHead .nameWrap#total24plan {
  background: #fdf4e0;
}
#plans .planList > li .planHead .textWrap {
  padding: 16px 16px 24px;
}
#plans .planList > li .planHead p {
  text-align: center;
  width: 80%;
  margin: 0 auto 16px;
}
#plans .planList > li .planHead p.tax {
  text-align: right;
  width: 100%;
}
#plans .planList > li .planHead .sub_text {
  font-size: 0.8em;
}
#plans .planList > li .planHead .priceList {
  max-width: 870px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 5px 0;
}
#plans .planList > li .planHead .priceList .name {
  font-size: 16px;
  text-align: center;
  color: #ffffff;
  background: #b9b9b9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 0;
}
#plans .planList > li .planHead .priceList .name .notes {
  color: #fff;
  display: block;
  font-size: 10px;
}
#plans .planList > li .planHead .priceList .price {
  font-size: 18px;
  background: #f5f8f8;
  padding: 16px 0;
  position: relative;
}
#plans .planList > li .planHead .priceList .price span {
  font-size: 26px;
  font-weight: bold;
  display: inline-block;
  width: 4em;
  text-align: right;
}
#plans .planList > li .planHead .priceList .priceNotes {
  font-size: 12px;
  color: #666;
  position: absolute;
  bottom: 5%;
  right: 10%;
  cursor: pointer;
  background: url(../images/s_help_01.svg) no-repeat left center/1em auto;
  padding-left: 1.2em;
}
@media (hover: hover) {
  #plans .planList > li .planHead .priceList .priceNotes:hover {
    text-decoration: underline;
  }
}
#plans .planList > li .planHead .priceWrap .price_text .price_textSub {
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 16px;
}
#plans .planList > li .planHead .priceWrap .price_text ul {
  font-size: 0.84em;
  text-align: left;
  padding-left: 24px;
  max-width: 408px;
  margin: 0 auto;
}
#plans .planList > li .planHead .priceWrap .price_text ul li {
  position: relative;
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
#plans .planList > li .planHead .priceWrap .price_text ul li::before {
  content: "";
  width: 14px;
  height: 8px;
  border-left: solid 2px var(--main-color);
  border-bottom: solid 2px var(--main-color);
  transform: rotate(-45deg) translateY(5px);
}
#plans .planHead .refreshWrap .priceBox {
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
#plans .planHead .refreshWrap .priceBox .priceInner {
  display: flex;
  align-items: center;
  gap: 15px;
}
#plans .planHead .refreshWrap .priceBox .priceInner p {
  white-space: nowrap;
  margin: 0;
}
#plans .planHead .refreshWrap .priceBox .priceInner .text {
  display: block;
  padding: 0 20px;
  background: #d5d9d9;
  border-radius: 100vh;
  font-size: 16px;
}
#plans .planHead .refreshWrap .priceBox .priceInner .price {
  font-size: 35px;
  font-weight: bold;
  width: 100%;
  display: flex;
  align-items: flex-end;
}
#plans .planHead .refreshWrap .priceBox .priceInner .price.discount {
  color: var(--main-color);
  font-size: 50px;
}
#plans .planHead .refreshWrap .priceBox .priceInner .price.discount span {
  color: var(--main-color);
  font-size: 90px;
}
#plans .planHead .refreshWrap .priceBox .priceInner .price span {
  font-size: 50px;
}
#plans .planHead .refreshWrap .priceBox .balloonWrap {
  margin: 0 0 0 40px;
}
#plans .planHead .refreshWrap .priceBox .balloonWrap p {
  width: 100%;
  margin: 0;
}
#plans .planHead .refreshWrap .priceBox .balloonWrap .balloon {
  position: relative;
  text-align: left;
  padding: 20px 48px;
  line-height: 1.6;
  background: #fff6f1;
  font-size: 18px;
  border-radius: 50vw;
}
#plans .planHead .refreshWrap .priceBox .balloonWrap .balloon::before {
  position: absolute;
  left: -16px;
  top: 50%;
  border-style: solid;
  border-width: 12px 22px 12px 0;
  border-color: transparent #fff6f1 transparent transparent;
  content: "";
  transform: translateY(-50%);
}
#plans .planHead .refreshWrap .priceBox .balloonWrap .balloon p {
  color: #ef6d6d;
}
#plans .planNotes {
  margin: 60px 0 0;
  padding: 20px 35px;
  line-height: 1.5;
  background: #f2f2f2;
}
#plans .planNotes > li {
  display: inline-block;
  margin: 0 1em 0 0;
  font-size: 12px;
}
#plans .button {
  display: block;
  position: relative;
  margin: 60px auto 0;
  padding: 15px;
  width: 500px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(90deg, #e46075 0%, #dd3852 100%);
  font-size: 15px;
  font-weight: bold;
  color: #fff;
  box-sizing: border-box;
}
#plans .button .counseling {
  position: relative;
  display: inline-block;
  padding: 0 0 0 35px;
  letter-spacing: 0.1em;
  font-size: 26px;
}
#plans .button .counseling::before {
  display: block;
  position: absolute;
  left: 0;
  top: 50%;
  margin: -3px 0 0;
  width: 26px;
  height: 32px;
  background: url(../images/common/s_counseling.svg) no-repeat 50% 50%/contain;
  content: "";
  transform: translateY(-50%);
}
#plans .button .text {
  display: block;
}
#plans .button svg {
  position: absolute;
  right: 34px;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
}
#plans .button svg .arrowIcon {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-miterlimit: 10;
  stroke-width: 3px;
}

@media screen and (max-width: 768px) {
  #main h1 {
    font-size: 6.1vw;
    letter-spacing: 0.07em;
    margin: 0 0 10vw;
    padding: 0 0 2vw;
  }
  #main h1::before {
    width: 8vw;
    height: 0.36vw;
  }
  #plans {
    width: 92vw;
  }
  #plans .anchorList {
    gap: 6px;
  }
  #plans .anchorList > li a {
    padding: 10px;
  }
  #plans .anchorList > li a .type {
    font-size: 3.2vw;
  }
  #plans .anchorList > li a .name {
    font-size: 3.7vw;
  }
  #plans .planList > li .planHead .nameWrap {
    padding: 10px;
  }
  #plans .planList > li .planHead .nameWrap .name {
    font-size: 4vw;
  }
  #plans .planList > li .planHead p {
    width: 94%;
  }
  #plans .planList > li .planHead .priceList {
    grid-template-columns: auto 1fr;
  }
  #plans .planList > li .planHead .priceList .name {
    font-size: 3.2vw;
    padding: 15px;
  }
  #plans .planList > li .planHead .priceList .price {
    font-size: 3.2vw;
  }
  #plans .planList > li .planHead .priceList .price span {
    font-size: 4.8vw;
  }
  #plans .planList > li .planHead .refreshWrap .priceBox {
    display: block;
  }
  #plans .planList > li .planHead .refreshWrap .priceBox .priceInner {
    width: fit-content;
    display: grid;
    margin: 0 auto;
    grid-template-columns: auto auto 1fr;
    align-items: center;
    justify-content: center;
    gap: 2px 10px;
  }
  #plans .planList > li .planHead .refreshWrap .priceBox .priceInner .text {
    font-size: 3vw;
    grid-area: 1/1/2/2;
  }
  #plans .planList > li .planHead .refreshWrap .priceBox .priceInner .price.default {
    font-size: 5vw;
    grid-area: 2/1/3/2;
  }
  #plans .planList > li .planHead .refreshWrap .priceBox .priceInner .price.default span {
    font-size: 8.5vw;
  }
  #plans .planList > li .planHead .refreshWrap .priceBox .priceInner .price.discount {
    line-height: 1;
    grid-area: 1/3/3/4;
    font-size: 10vw;
  }
  #plans .planList > li .planHead .refreshWrap .priceBox .priceInner .price.discount span {
    font-size: 14vw;
  }
  #plans .planList > li .planHead .refreshWrap .priceBox .priceInner .arrow {
    grid-area: 1/2/3/3;
    width: 7.5vw;
  }
  #plans .planList > li .planHead .refreshWrap .priceBox .balloonWrap {
    margin: 10px 0 0;
  }
  #plans .planList > li .planHead .refreshWrap .priceBox .balloonWrap .balloon {
    padding: 10px 40px;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 16px;
    box-sizing: border-box;
  }
  #plans .planList > li .planHead .refreshWrap .priceBox .balloonWrap .balloon::before {
    position: absolute;
    left: 50%;
    top: -11px;
    margin: 0 0 0 80px;
    border-width: 0 6px 11px 6px;
    border-color: transparent transparent #fff6f1 transparent;
    transform: translateX(-50%);
  }
  #plans .planList > li .planHead .refreshWrap .priceBox .balloonWrap .balloon p {
    line-height: 1.3;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.modalWrap {
  display: none;
  opacity: 0;
}
.modalWrap.open {
  background: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease forwards;
}
.modalWrap .inner {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
}
.modalWrap .inner p {
  line-height: 1.4;
  margin: 0;
  padding: 0;
}
.modalWrap .inner .modal_title {
  text-align: center !important;
  font-weight: 600;
  font-size: 20px;
  margin: 0 auto;
  display: block;
  padding: 0 0 16px;
  color: var(--sub-color);
  border-radius: 8px;
}
.modalWrap .inner ul li {
  text-align: center;
  padding: 8px;
}
.modalWrap .inner ul li:not(:last-child) {
  border-bottom: 1px solid var(--sub-color);
}
.modalWrap .inner ul li span {
  font-size: 0.75em;
}
.modalWrap .inner ul li .tax {
  font-size: 1.14em;
  color: var(--sub-color);
  font-weight: bold;
  margin: 5px 0 0;
}
.modalWrap .inner ul li .tax span {
  color: var(--sub-color);
}
.modalWrap .modal-close {
  all: unset;
  width: 40px;
  height: 40px;
  text-indent: -9999px;
  background: url("../images/s_times_01.svg") no-repeat center center/50% auto;
  border-radius: 40px;
  position: absolute;
  top: 10px;
  right: 10px;
}
@media (hover: hover) {
  .modalWrap .modal-close:hover {
    background-color: #333;
  }
}

/*# sourceMappingURL=plan.css.map */