@charset "UTF-8";

.planselect_title{
  padding: 0 0 50px;
  min-width: fit-content;
  max-width: min(58.889vw, 932.8px);
  text-align: center;
}
.planselect_title img{
  width: 80%;
  margin: auto;
}
@media screen and (max-width: 767px) {
  .planselect_title{
    padding: 10px 0 30px;
  }
  .planselect_title img{
    width: 100%;
  }
}


/* balloon */
@media screen and (min-width: 768px) {
  .balloon1 {
    position: relative;
    margin: 2em auto 5em;
    padding: 25px 10px 0px;
    min-width: 300px;
    max-width: 40%;
    color: #fff;
    font-size: 16px;
    background: #a28d6b;
    line-height: 160%;
  }
  .balloon1:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -300px;
    border: 300px solid transparent;
    border-top: 50px solid #a28d6b;
  }
  .balloon1 h2 {
    margin: 0;
    padding: 0;
    font-size: 20px;
  }
}
@media screen and (max-width: 767px) {
.balloon1 {
  position: relative;
  margin: 2.5em auto 4em;
  padding: 15px 5px 0px;
  min-width: 300px;
  max-width: 40%;
  color: #fff;
  font-size: 16px;
  background: #a28d6b;
  line-height: 160%;
}
.balloon1:before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -180px;
  border: 180px solid transparent;
  border-top: 30px solid #a28d6b;
}
}



/* d- */
.d-none {
  display: none !important;
}

.d-inline {
  display: inline !important;
}

.d-inline-block {
  display: inline-block !important;
}

.d-block {
  display: block !important;
}

.d-flex {
  display: flex !important;
  align-items: center;
}

.d-flex-center {
  justify-content: center;
  align-items: center;
}

.d-inline-flex {
  display: inline-flex !important;
}

@media screen and (max-width: 767px) {
  .d-md-none {
    display: none !important;
  }
  .d-md-inline {
    display: inline !important;
  }
  .d-md-inline-block {
    display: inline-block !important;
  }
  .d-md-block {
    display: block !important;
  }
  .d-md-flex {
    display: flex !important;
    align-items: center;
  }
  .d-md-inline-flex {
    display: inline-flex !important;
  }
}
@media screen and (max-width: 540px) {
  .d-sm-none {
    display: none !important;
  }
  .d-sm-inline {
    display: inline !important;
  }
  .d-sm-inline-block {
    display: inline-block !important;
  }
  .d-sm-block {
    display: block !important;
  }
  .d-sm-flex {
    display: flex !important;
    align-items: center;
  }
  .d-sm-inline-flex {
    display: inline-flex !important;
  }
}


.p-plan-planselect__container {
  background-color: #f8f6ef;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
@media screen and (min-width: 768px) {
  .p-plan-planselect__container {
    padding-top: min(6.944vw, 110px);
    padding-bottom: min(9.722vw, 154px);
  }
}
@media screen and (max-width: 767px) {
  .p-plan-planselect__container {
    padding-top: min(21.333vw, 88px);
    padding-bottom: min(16vw, 66px);
  }
}
.p-plan-planselect__container::before {
  content: "";
  width: 100%;
  background-color: #fff;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
}
@media screen and (min-width: 768px) {
  .p-plan-planselect__container::before {
    height: min(26.042vw, 412.5px);
  }
}
@media screen and (max-width: 767px) {
  .p-plan-planselect__container::before {
    height: min(24.8vw, 102.3px);
  }
}
.p-plan-planselect__ellipse {
  top: 0;
}
@media screen and (max-width: 767px) and (min-width: 481px) {
  .p-plan-planselect__ellipse {
    width: 200%;
  }
}
.p-plan-planselect__ellipse path {
  fill: #f8f6ef;
}
.p-plan-planselect__inner {
  position: relative;
  margin-bottom: 70px;
}
.p-plan-planselect_box{
  background-color: #fff;
  padding: 50px;
}
@media screen and (max-width: 767px) {
  .p-plan-planselect__title {
    white-space: nowrap;
  }
  .p-plan-planselect_box{
    padding: 20px;
  }
}


.p-plan-planselect__head {
  width: 100%;
  background-color: #fff;
  font-weight: 500;
  line-height: 2;
  margin-inline: auto;
}
@media screen and (min-width: 768px) {
  .p-plan-planselect__head {
    min-width: fit-content;
    max-width: min(58.889vw, 932.8px);
    font-size: min(1.389vw, 22px);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: min(3.611vw, 57.2px);
    padding-right: min(2.222vw, 35.2px);
    border: 1px solid #ddd;
  }
}
@media screen and (max-width: 767px) {
  .p-plan-planselect__head {
    max-width: 700px;
    font-size: clamp(13.6px, 4.267vw, 17.6px);
    margin-bottom: min(10.667vw, 44px);
    border: 1px solid #ccc;
  }
}
.p-plan-planselect__head > span:nth-of-type(1) {
  background-color: #8d8471;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-plan-planselect__head > span:nth-of-type(1) {
    width: min(13.472vw, 213.4px);
    height: min(4.861vw, 77px);
    font-size: min(1.389vw, 22px);
    margin-right: min(2.222vw, 35.2px);
  }
}
@media screen and (max-width: 767px) {
  .p-plan-planselect__head > span:nth-of-type(1) {
    width: 100%;
    height: clamp(40.8px, 12.8vw, 52.8px);
    font-size: clamp(17px, 5.333vw, 22px);
  }
}
.p-plan-planselect__head > span:nth-of-type(1)::before {
  content: "";
  background-color: #8d8471;
  position: absolute;
}
@media screen and (min-width: 768px) {
  .p-plan-planselect__head > span:nth-of-type(1)::before {
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    width: min(1.181vw, 18.7px);
    height: min(2.222vw, 35.2px);
    top: 50%;
    right: calc(min(1.111vw, 17.6px) * -1);
    translate: 0 -50%;
  }
}
@media screen and (max-width: 767px) {
  .p-plan-planselect__head > span:nth-of-type(1)::before {
    clip-path: polygon(50% 100%, 100% 0, 0 0);
    width: min(4.8vw, 19.8px);
    height: min(2.933vw, 12.1px);
    bottom: calc(min(2.667vw, 11px) * -1);
    left: 50%;
    translate: -50% 0;
  }
}
.p-plan-planselect__head > span:nth-of-type(1) > span {
  font-family: "Outfit", "Noto Sans JP", YuGothic, "游ゴシック体", "Yu Gothic Medium", "游ゴシック Medium", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
  margin-right: 2px;
}
@media screen and (min-width: 768px) {
  .p-plan-planselect__head > span:nth-of-type(1) > span {
    font-size: clamp(18.7px, 1.528vw, 24.2px);
  }
}
@media screen and (max-width: 767px) {
  .p-plan-planselect__head > span:nth-of-type(1) > span {
    font-size: clamp(18.7px, 5.867vw, 24.2px);
  }
}
.p-plan-planselect__head > span:nth-of-type(2) {
  display: block;
}
@media screen and (min-width: 768px) {
  .p-plan-planselect__head > span:nth-of-type(2) {
    flex: 1;
    text-align: center;
  }
}
@media screen and (max-width: 767px) {
  .p-plan-planselect__head > span:nth-of-type(2) {
    text-align: center;
    padding: min(4.267vw, 17.6px) min(4vw, 16.5px) min(3.733vw, 15.4px);
  }
}
.p-plan-planselect__step {
  width: 100%;
  position: relative;
}
@media screen and (min-width: 768px) {
  .p-plan-planselect__step {
    max-width: min(64.583vw, 1023px);
    margin-inline: auto;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
  }
}
@media screen and (max-width: 767px) {
  .p-plan-planselect__step {
    position: relative;
    display: block;
  }
}
.p-plan-planselect__step img {
  width: auto;
}
@media screen and (min-width: 768px) {
  .p-plan-planselect__step img {
    height: min(14.444vw, 228.8px);
  }
}
@media screen and (max-width: 767px) {
  .p-plan-planselect__step img {
    height: min(45vw, 180.375px);
  }
}
.p-plan-planselect__step__btn > p {
  animation: flash 1s ease-in infinite;
}
@keyframes flash {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.8);
  }
}
@media screen and (max-width: 767px) {
  .p-plan-planselect__step__btn > p {
    text-align: center;
    margin-bottom: min(5.333vw, 22px);
  }
  .p-plan-planselect__step__btn > p > img {
    height: min(34.933vw, 144.1px);
  }
}
.p-plan-planselect__step ol {
  position: relative;
  display: flex;
  align-items: flex-start;
}
@media screen and (min-width: 768px) {
  .p-plan-planselect__step ol {
    flex: 1;
  }
}
@media screen and (max-width: 767px) {
  .p-plan-planselect__step ol {
    justify-content: center;
    flex-wrap: wrap;
  }
  .p-plan-planselect__step li:nth-child(odd){ text-align:right; width:52%; padding-bottom:5px; }
  .p-plan-planselect__step li:nth-child(even){ text-align:left; padding-left:16px; width:47%; padding-bottom:5px; }

}