@charset "UTF-8";

.main__plan {
  overflow: visible;
  padding-top: 60px;
}
.ph__plan {
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url("/assets/images/plan/plan_main_image@2x.webp");
  background-position: center;
  background-size: cover;
}

/* anchor link
====================================================*/
.page-link {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  margin: 56px 30px 40px;
}
.page-link__item {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  width: 105px;
  height: 64px;
  padding: 8px 0 12px;
  box-sizing: border-box;
  letter-spacing: normal;
}
.page-link__item:nth-child(1),
.page-link__item:nth-child(2) {
  border-right: 1px solid var(--line, #e2d9d1);
}
.page-link__item svg {
  width: 10px;
  height: 6px;
  display: block;
}
.page-link path {
  stroke: #594a3d;
  stroke-linecap: round;
  transition: all 0.5s;
}
.page-link path:hover {
  stroke: #e2d9d1;
}

@media screen and (min-width: 768px), print {
  .page-link__item {
    width: 18.33vw;
    max-width: 264px;
  }
}
@media screen and (min-width: 1200px), print {
  .main__plan {
    margin-bottom: 180px;
    padding-top: 80px;
  }
  .page-link {
    margin: 120px 0 56px;
  }
  .page-link__item {
    font-size: 1.6rem;
    height: 70px;
  }
}

/* Family Plan
====================================================*/
.plan__wrapper {
  margin: 0 4.27% 16px;
  padding: 40px 6.4vw;
  border-radius: 16px;
}
.plan-family,
.plan-other {
  background-color: #f7f4f0;
}
.plan__heading {
  font-size: 5.6rem;
  font-weight: 200;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 32px;
}
.plan__heading .ja {
  font-size: 1.4rem;
  line-height: 1.7;
  font-weight: 400;
  display: block;
}
.plan__label {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  margin-bottom: 40px;
}
.plan_label-item {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0;
  background-color: #9c8d7f;
  border-radius: 3px;
  padding: 0 12px 2px;
}
.plan__ttl {
  font-size: 2.2rem;
  line-height: 1.6;
  margin-bottom: 32px;
}
.plan__disc {
  line-height: 2.2;
  margin-bottom: 40px;
}
.plan-disc span {
  display: inline-block;
}
.plan-price__group {
  background-color: #ffffff;
  padding: 15px 5px;
  font-size: 3.2rem;
  text-align: center;
}
.price {
  font-size: 3.2rem;
  text-align: center;
}
.price-tax {
  font-size: 1.2rem;
  line-height: normal;
  display: inline-block;
  margin-left: -10px;
}
.plan-detail__list {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 24px 0 40px;
  line-height: 1.8;
}
.plan-detail__list dt {
  width: 30%;
}
.plan-detail__list dd {
  width: 70%;
  letter-spacing: 0.05em;
}
.plan-img__group img:nth-child(2),
.plan-img__group img:nth-child(3) {
  width: 50%;
}
.plan-img__group {
  margin: 0 -6.4vw 48px;
  display: flex;
  flex-wrap: wrap;
}
.plan-img__item {
  display: block;
}

/* Harenohi Plan
====================================================*/
.plan-harenohi {
  background-color: #f1ece5;
}
.plan-price__ttl {
  font-size: 1.6rem;
}
.plan-price__subttl {
  display: block;
  font-size: 1.2rem;
}

/* Other Plan
====================================================*/
.plan-other {
  margin-bottom: 64px;
}

@media screen and (min-width: 768px), print {
  .main__plan {
    margin-bottom: 180px;
  }
  .plan__wrapper {
    padding: 40px 100px;
  }
  .plan__label {
    width: 400px;
    margin: 0 auto 40px;
  }
  .plan__ttl {
    text-align: center;
  }
  .plan__ttl br {
    text-align: center;
  }
  .plan__disc span {
    display: block;
  }
  #other .plan__disc {
    text-align: center;
  }
  .plan-detail__list {
    font-size: 1.6rem;
  }
  .plan-detail__list dt {
    width: 18%;
  }
  .plan-detail__list dd {
    width: 82%;
  }
  .plan-img__group {
    margin: 0 -100px 48px;
  }
}

@media screen and (min-width: 1200px), print {
  .plan__wrapper {
    position: relative; /*position stickyの基点にするため relativeをかける*/
    display: flex; /*左エリア、右エリア横並び指定*/
    flex-wrap: wrap; /*ボックスの折り返し可*/
    padding: 50px 8vw 150px;
    border-radius: 30px;
  }
  /*左エリア*/
  .fixed-area {
    position: -webkit-sticky; /*Safari用*/
    position: sticky;
    top: 0;
    left: 0;
    width: 50%;
    height: 15em;
    padding-top: 100px;
  }

  /*右エリア*/
  .plan__container {
    width: 50%;
    padding-top: 100px;
  }

  .plan__heading {
    font-size: 8.6rem;
    text-align: left;
    margin-bottom: 0;
  }
  .plan__heading .ja {
    font-weight: 400;
  }
  .plan-img__group {
    width: 100%;
    margin: 0 0 88px 0;
  }
  .plan__container .btn {
    margin: 0;
  }
  .plan__label {
    margin: 0 0 40px 0;
    justify-content: left;
  }
  .plan__ttl {
    font-size: 2.6rem;
    margin-bottom: 20px;
    text-align: left;
  }
  .plan__disc {
    font-size: 1.6rem;
    line-height: 2.5;
  }
  .plan__disc br {
    display: block;
  }
  .plan-other {
    margin-bottom: 180px;
  }
  #other .plan__disc {
    text-align: left;
  }
}
@media screen and (min-width: 1900px), print {
  .plan__wrapper {
    max-width: 1400px;
    margin: 0 auto 16px;
  }
}
