
/**
@media screen and (max-width: 767px) {
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
}
@media screen and (min-width: 1024px) and (max-width: 1279px) {
}
@media screen and (min-width: 1280px) and (max-width: 1519px) {
}
@media screen and (min-width: 1520px) and (max-width: 1759px){
}
@media screen and (min-width: 1760px) {
}
 */

.tw-text-decoration-color-white{
  text-decoration-color: var(--color-white);
}

 /*  .p-title-1
 --------------------------------------------- */

/*  p-list-dot
--------------------------------------------- */
.p-list-dot{
  list-style: none;
  padding: 0;

  > li {
    position: relative;
    z-index: 1;
    padding-left: 28px;
    font-size: min(calc(18 / 375 * 100vw), 18px);
    font-weight: 700;
    line-height: 1.8;
    color: var(--color-primary);

    @media screen and (max-width: 767px) {
      padding-left: 10px;
    }

    &:not(:last-child) {
      margin-bottom: 20px;
      padding-bottom: 20px;
      border-bottom: dashed 1px var(--color-secondary);

      @media screen and (max-width: 767px) {
        margin-bottom: 15px;
        padding-bottom: 15px;
      }
    }

    &::before {
      content: '';
      position: absolute;
      left: 12px;
      top: 15px;
      width: 4px;
      height: 4px;
      border-radius: 9999px;
      background-color: var(--color-primary);

      @media screen and (max-width: 767px) {
        left: 0px;
      }
    }
  }
}



/* p-title-slash
--------------------------------------------- */
.p-title-slash {
  display: flex;
  align-items: center;
  justify-content: center;
  column-gap: 20px;
  font-size: 18px;
  text-align: center;
  font-weight: bold;
  line-height: 1.8;
  letter-spacing: 0.1em;

  @media screen and (max-width: 1023px) {
    column-gap: 10px;
  }

  @media screen and (max-width: 767px) {
    zoom: 0.8;
  }


  svg {
    position: relative;
    top: .2em;
  }
}

.p-title-slash--lg {
  font-size: 20px;
  letter-spacing: 0;
}

/* p-text-area
--------------------------------------------- */
.p-text-area{
  font-weight: 500;
  line-height: 1.8;
}
.p-text-area--md{
  font-size: 18px;
  line-height: 2.4;
  font-weight: 700;

  @media screen and (max-width: 767px) {
    line-height: 1.8;
  }
}
.p-text-area--center{
  p {
    text-align: center;

    @media screen and (max-width: 767px) {
      text-align: left;
    }
  }
}

/*  p-plan
--------------------------------------------- */
.p-plan__heading{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  column-gap: 52px;

  @media screen and (max-width: 767px) {
    flex-wrap: wrap;
  }
}

.p-plan__heading-label{
  order: 2;
  width: 400px;
  padding-bottom: calc(30 / 1000 * 100%);

  @media screen and (max-width: 767px) {
    width: 100%;
  }
}

.p-plan__heading-img01{
  order: 1;
  width: calc(91 / 1000 * 100%);
  height: auto;
  margin-bottom: -10px;
  margin-right: 5px;

  @media screen and (max-width: 767px) {
    order: 2;
    width: calc(60 / 375 * 100%);
  }
}

.p-plan__heading-img02{
  order: 3;
  width: calc(88 / 1000 * 100%);
  height: auto;
  margin-bottom: 15px;

  @media screen and (max-width: 767px) {
    order: 3;
    width: calc(55 / 375 * 100%);
  }
}

.p-plan__textarea{
  > p {
    &:not(:last-child) {
      margin-bottom: 2.5em;

      @media screen and (max-width: 767px) {
        margin-bottom: 1em;
      }
    }
  }
}

.p-plan__fukidashi{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  column-gap: 20px;
  row-gap: 20px;

  @media screen and (max-width: 767px) {
    flex-wrap: wrap;
    justify-content: center;
  }

  .p-plan__fukidashi-content{
    order: 2;
    position: relative;
    z-index: 0;
    width: 600px;
    border-radius: 40px;
    margin-left: calc(20 / 1000 * 100%);
    padding: 50px 20px;
    background-color: var(--color-white);

    @media screen and (max-width: 1023px) {
      margin-left: 0;
    }

    @media screen and (max-width: 767px) {
      width: 100%;
      padding: 30px 20px;
    }

    &::before{
      content: '';
      position: absolute;
      bottom: 110px;
      left: calc( min(calc( 59 /  1400 * 100vw), 59px) * -1);
      width: min(calc( 60 /  1400 * 100vw), 60px);
      height: auto;
      aspect-ratio: 60 / 40;
      background-color: var(--color-white);
      clip-path: polygon(100% 0, 0% 100%, 100% 75%);

      @media screen and (max-width: 767px) {
        bottom: auto;
        bottom: -29px;
        left: 50%;
        width: 30px;
        aspect-ratio: 30 / 30;
        transform: translate(-50%, 0);
        clip-path: polygon(30% 0, 0% 100%, 100% 0);
      }
    }
  }

  .p-plan__fukidashi-list{
    list-style: none;
    padding: 0;
    width: 460px;
    max-width: 100%;
    margin-inline: auto;

    > li {
      position: relative;
      z-index: 1;
      padding-left: 30px;
      font-size: min(calc(18 / 375 * 100vw), 20px);
      font-weight: 700;
      color: var(--color-primary);

      @media screen and (max-width: 767px) {
        padding-left: 10px;
      }

      &:not(:last-child) {
        margin-bottom: 30px;
        padding-bottom: 30px;
        border-bottom: dashed 1px var(--color-secondary);

        @media screen and (max-width: 767px) {
          margin-bottom: 15px;
          padding-bottom: 15px;
        }
      }

      &::before {
        content: '';
        position: absolute;
        left: 10px;
        top: 13px;
        width: 4px;
        height: 4px;
        border-radius: 9999px;
        background-color: var(--color-primary);

        @media screen and (max-width: 767px) {
          left: 0px;
        }
      }
    }
  }

  .p-plan__fukidashi-img01{
    order: 1;
    width: calc(142 / 1000 * 100%);
    height: auto;

    @media screen and (max-width: 767px) {
      order: 2;
      width: calc(100 / 375 * 100%);
    }
  }

  .p-plan__fukidashi-img02{
    order: 3;
    width: calc(117 / 1000 * 100%);
    height: auto;
    margin-right: calc(40 / 1000 * 100%);

    @media screen and (max-width: 1023px) {
      margin-right: 0;
    }

    @media screen and (max-width: 767px) {
      order: 3;
      width: calc(70 / 375 * 100%);
    }
  }
}


/*  p-intro
--------------------------------------------- */
.p-intro__ttl {
  display: grid;
  place-items: center;
  text-align: center;
}

.p-intro__ttl-label {
  margin-top: 20px;
  font-size: 30px;
  color: var(--color-primary);
  line-height: 1.5;
  letter-spacing: 0.2em;

  @media screen and (max-width: 1023px) {
    margin-top: 10px;
  }

  @media screen and (max-width: 767px) {
    font-size: 26px;
    letter-spacing: 0.1em;
  }
}

.p-intro__ttl-wrapper{
  display: flex;
  align-items: flex-end;
  justify-content: center;
  column-gap: 53px;

  @media screen and (max-width: 767px) {
    flex-wrap: wrap;
  }
}

.p-intro__ttl{
  order: 2;

  @media screen and (max-width: 767px) {
    width: 100%;
  }
}

.p-intro__ttl-img01{
  order: 1;
  width: calc(91 / 1200 * 100%);
  height: auto;

  @media screen and (max-width: 767px) {
    order: 2;
    width: min(calc(66 / 375 * 100%), 91px) ;
  }
}

.p-intro__ttl-img02{
  order: 3;
  width: calc(88 / 1200 * 100%);
  height: auto;
  margin-top: 10px;

  @media screen and (max-width: 767px) {
    order: 3;
    width: min(calc(62 / 375 * 100%), 80px);
    margin-top: 0;
  }
}

.p-intro-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;

  @media screen and (max-width: 767px) {
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 30px;
  }
}

.p-intro-content__content{
  order: 2;
  padding-bottom: 15px;

  @media screen and (max-width: 767px) {
    order: 1;
    width: 100%;
  }
}

.p-intro-content__img01{
  order: 1;
  width: calc(255 / 1200 * 100%);
  height: auto;

  @media screen and (max-width: 767px) {
    order: 2;
    width: calc(110 / 375 * 100%);
  }
}

.p-intro-content__img02{
  order: 3;
  width: calc(261 / 1200 * 100%);
  height: auto;

  @media screen and (max-width: 767px) {
    order: 3;
    width: calc(100 / 375 * 100%);
  }
}

/*  p-point-list
--------------------------------------------- */
.p-point-list{
  display: flex;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 80px;
  column-gap: 60px;

  @media screen and (max-width: 1023px) {
    row-gap: 30px;
    column-gap: 20px;
  }

  > li{
    position: relative;
    z-index: 0;
    width: calc(calc(100% / 2) - calc(calc( 60px * 1) / 2));
    display: flex;
    flex-direction: column;

    @media screen and (max-width: 1023px) {
      width: calc(calc(100% / 2) - calc(calc( 20px * 1) / 2));
    }

    @media screen and (max-width: 767px) {
      width: 100%;
    }
  }

  .p-point-list__inner {
    width: min(360px, calc(360 / 460 * 100vw));
    /* height: min(180px, calc(180 / 460 * 100vw)); */
    height: auto;
    aspect-ratio: 360 / 180;
    max-width: calc(100% - calc( 70 / 360 * 100%));
    margin: 0 auto -1px;
    position: relative;
    background: var(--color-tertiary);
    border-radius: 50% / 100% 100% 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 3px;
    font-size: min(calc(14 / 768 * 100vw), 16px);
    line-height: 1.2;

    @media screen and (max-width: 767px) {
      font-size: min(calc(14 / 375 * 100vw), 16px);
    }
  }
  .p-point-list__inner::before,
  .p-point-list__inner::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: clamp( 40px ,calc( 50 / 360 * 100%), 50px);
    height: auto;
    aspect-ratio: 1 / 1;
    background: var(--color-tertiary);
  }
  .p-point-list__inner::before {
    left: calc(clamp( 40px ,calc( 45 / 360 * 100%), 45px) * -1);
    clip-path: path('M0 0V50H50C22.4 50 0 27.6 0 0Z');
    transform: scale(-1, 1);
    @media (max-width: 1024px) {
      left: calc(clamp( 35px ,calc( 40 / 360 * 100%), 40px) * -1);
    }
  }
  .p-point-list__inner::after {
    right: calc(clamp( 40px ,calc( 45 / 360 * 100%), 45px) * -1);
    clip-path: path('M0 0V50H50C22.4 50 0 27.6 0 0Z');
    @media (max-width: 1024px) {
      right: calc(clamp( 35px ,calc( 40 / 360 * 100%), 40px) * -1);
    }
  }

  .p-point-list__i{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    height: auto;
  }

  .p-point-list__lead{
    font-size: min(calc(14 / 768 * 100vw), 18px);
    text-align: center;
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.04em;
    font-family: var(--ff-barlow);
    color: var(--color-primary);

    @media screen and (max-width: 767px) {
      font-size: min(calc(14 / 375 * 100vw), 20px);
    }
  }

  .p-point-list__text {
    font-size: min(calc(16 / 768 * 100vw), 20px);
    text-align: center;
    line-height: 1.8;
    font-weight: 700;
    color: var(--color-secondary);
    font-family: var(--ff-zen);
    margin-top: min(calc( 15 / 570 * 100%) , 15px);

    @media screen and (max-width: 767px) {
      font-size: min(calc(16 / 375 * 100vw), 22px);
    }
  }

  .p-point-list__content{
    position: relative;
    z-index: 0;
    flex: 1 1 auto;
    border-radius: 20px;
    background-color: var(--color-tertiary);
    padding: 44px 20px 43px;

    @media screen and (max-width: 1023px) {
      padding: 20px 20px 30px;
    }

    .p-point-list__content-inner{
      width: 400px;
      max-width: 100%;
      margin-inline: auto;
    }
  }

  .p-point-list__img{
    max-width: 100%;
    margin-inline: auto;
    height: auto;
    display: block;
  }

  .p-point-list__textarea{
    width: 400px;
    max-width: 100%;
    margin-inline: auto;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
  }

  .p-point-list__block{
    width: 500px;
    max-width: 100%;
    margin-inline: auto;
    background-color: var(--color-tertiary);
    border-radius: 10px;
    padding: 30px 20px 35px;

    .p-point-list__block-head{
      width: 400px;
      max-width: 100%;
      margin-inline: auto;
      border-bottom: dashed 1px var(--color-secondary);

      .p-point-list__block-head-label{
        font-size: min(calc(20 / 375 * 100vw), 20px);
        text-align: center;
        font-weight: 700;
        line-height: 1.4;
        color: var(--color-primary);
      }
    }

    .p-point-list__block-textarea{
      width: 400px;
      max-width: 100%;
      margin-inline: auto;
      line-height: 1.8;
      font-weight: 500;
    }

    .p-point-list__block-list{
      list-style: none;
      padding: 0;
      width: fit-content;
      max-width: 100%;
      margin-inline: auto;

      > li {
        position: relative;
        padding-left: 30px;
        font-size: min(calc(20 / 375 * 100vw), 20px);
        line-height: 1.8;
        font-weight: 700;
        color: var(--color-primary);

        @media screen and (max-width: 767px) {
          padding-left: 10px;
        }

        &::before {
          content: '';
          position: absolute;
          left: 15px;
          top: 17px;
          width: 4px;
          height: 4px;
          border-radius: 9999px;
          background-color: var(--color-primary);

          @media screen and (max-width: 767px) {
            left: 0px;
          }
        }
      }
    }
  }
}

.p-point-list--white{
  .p-point-list__inner {
    background: var(--color-white);

    &::before,
    &::after {
      background: var(--color-white);
    }
  }

  .p-point-list__content{
    background-color: var(--color-white);
  }
}

.p-point-list--recommendation{
  .p-point-list__item--01{
    img{
      width: min(calc(40 / 375 * 100vw), 58px);
      height: auto;
    }
  }
  .p-point-list__item--02{
    img{
      width: min(calc(45 / 375 * 100vw), 60px);
      height: auto;
    }
  }
}

.p-point-list--price{
  .p-point-list__item{
    img{
      width: min(calc(45 / 375 * 100vw), 60px);
      height: auto;
    }
  }
}

.p-point-list--plan{
  .p-point-list__item--01{
    img{
      position: absolute;
      top: -30px;
      left: 50%;
      transform: translateX(-50%);
      width: min(calc(80 / 375 * 100vw), 122px);
      height: auto;

      @media screen and (max-width: 767px) {
        top: -10px;
      }
    }
  }
  .p-point-list__item--02{
    img{
      position: absolute;
      top: -30px;
      left: 50%;
      transform: translateX(-50%);
      width: min(calc(45 / 375 * 100vw), 74px);
      height: auto;

      @media screen and (max-width: 767px) {
        top: -10px;
      }
    }
  }
}


/*  p-recommendation
--------------------------------------------- */
.p-recommendation{
  background-color: var(--color-tertiary);
  border-radius: 9999px 9999px 80px 80px;

  .p-recommendation__list{
    width: 1140px;
    max-width: 100%;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    column-gap: 30px;
    row-gap: 40px;
    flex-wrap: wrap;

    > li{
      position: relative;
      z-index: 0 ;
      width: calc(100% / 3 - calc( calc(30px * 2) / 3));
      height: auto;
      aspect-ratio: 1 / 1;
      border-radius: 9999px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
      flex-direction: column;
      background-color: var(--color-secondary);
      color: var(--color-white);

      @media screen and (max-width: 767px) {
        width: min(calc(300 / 375 * 100vw), 400px);
      }
    }
    .p-recommendation__list-i{
      width: 100%;
      min-height: min(calc(112 / 768 * 100vw), 180px);
      display: flex;
      align-items: center;
      justify-content: flex-end;
      flex-direction: column;
      margin-top: -40px;

      @media screen and (max-width: 767px) {
        margin-top: -20px;
        min-height: min(calc(112 / 375 * 100vw), 180px);
      }

      img{
        width: auto;
        height: auto;
      }
    }

    .p-recommendation__list-label{
      margin-top: min(calc(32 / 1400 * 100vw), 32px);
      text-align: center;
      font-size: min(calc(16 / 768 * 100vw), 20px);
      font-weight: 700;
      line-height: 2;

      @media screen and (max-width: 767px) {
        margin-top: min(calc(10 / 375 * 100vw), 32px);
        font-size: min(calc(20 / 375 * 100vw), 24px);
      }
    }
  }

  .p-recommendation__list-item--01{
    .p-recommendation__list-i{
      img {
        width: min(calc(150 / 360 * 100%), 150px);
      }
    }
  }
  .p-recommendation__list-item--02{
    .p-recommendation__list-i{
      img {
        width: min(calc(230 / 360 * 100%), 230px);
      }
    }
  }
  .p-recommendation__list-item--03{
    .p-recommendation__list-i{
      img {
        width: min(calc(180 / 360 * 100%), 180px);
      }
    }
  }
}
