
/**
@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) {
}
 */

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

}


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

  li{
    &:not(:last-of-type){
      margin-bottom: 5px;
    }
  }
}


/* 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: 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-block-col
--------------------------------------------- */

.p-block-col{
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  row-gap: 20px;

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

.p-block-col__item{
  position: relative;
  z-index: 0;
  border-radius: 20px;
  background-color: var(--color-tertiary);
}

.p-block-col__heading{
  width: 380px;
  max-width: 100%;
  min-height: 80px;
  border-radius: 0 0 40px 40px;
  margin-inline: auto;
  padding: 10px 20px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1.4;
  text-align: center;
  color: var(--color-white);
  background-color: var(--color-secondary);

  @media screen and (max-width: 1023px) {
    font-size: 20px;
    min-height: 60px;
  }
}

.p-block-col__headingSecondary{
  font-size: min(calc( 18 / 768 * 100vw), 20px);
  line-height: 1.8;
  text-align: center;
  color: var(--color-secondary);

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

.p-block-col__headingSecondary--underline{
  padding-bottom: 13px;
  border-bottom: dashed 1px var(--color-secondary);
}

.p-block-col__content{
  width: 100%;
  max-width: 100%;
  margin-top: 50px;

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

.p-block-col__textarea{
  > p{
    &:not(:last-of-type){
      margin-bottom: 10px;
    }
  }
}

.p-block-col__whiteArea{
  padding: 30px 30px 35px;
  border-radius: 20px;
  background-color: var(--color-white);

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

.p-block-col__themeArea{
  position: relative;
  z-index: 0;
  background-color: var(--color-secondary);
  border-radius: 20px;
  padding: 37px 20px 45px;

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

  &::before{
    content: '';
    position: absolute;
    bottom: 100px;
    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-secondary);
    clip-path: polygon(100% 0, 0% 100%, 100% 75%);

    @media screen and (max-width: 1023px) {
      bottom: auto;
      top: 50%;
      transform: translate(0, -50%);
    }

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

    }
  }
}

.p-block-col__em{
  font-size: calc( 18 / 16 * 1em);
  font-weight: 700;
  color: var(--color-secondary);
}

.p-block-col__num{
  font-size: calc( 30 / 16 * 1em);
  line-height: 0.7;
  font-weight: 700;
  color: var(--color-secondary);
}

.p-block-col__dis{
  font-size: calc( 10 / 16 * 1em);
}

.p-block-col__lead{
  font-size: calc( 14 / 16 * 1em);
}

.p-block-col__listDot{
  padding-left: 0;
  list-style: none;

  li{
    position: relative;
    z-index:0 ;
    padding-left: 1.5em;
    font-weight: 700;
    line-height: 1.8;

    @media screen and (max-width: 1023px) {
      padding-left: 0.6em;
    }

    &::before{
      content: '';
      position: absolute;
      top: 13px;
      left: calc(0.9em - 3px);
      transform: translate(0, 0);
      background-color: var(--color-text);
      display: block;
      width: 3px;
      height: 3px;
      border-radius: 999px;

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

    &:not(:last-of-type){
      margin-bottom: 15px;

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

.p-block-col__listNum{
  padding-left: 0;
  list-style: none;
  counter-reset: listnum;

  li{
    position: relative;
    z-index:0 ;
    padding-left: 1.2em;
    font-weight: 500;
    line-height: 1.8;
    padding-block: 12px;

    &::before{
      counter-increment: listnum;
	    content: counter(listnum);
      position: absolute;
      top: 20px;
      left: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 18px;
      height: 18px;
      border-radius: 999px;
      font-weight: 700;
      line-height: 1;
      color: var(--color-secondary);
      font-size: calc( 14 / 16 * 1em);
      box-shadow: inset 0 0 0 1px var(--color-secondary);
    }

    &:not(:last-of-type){
      border-bottom: dashed 1px var(--color-secondary);
    }
    &:first-of-type{
      padding-top: 0;

      &::before{
        top: 8px;
      }
    }
    &:last-of-type{
      padding-bottom: 0;
    }
  }
}

.p-block-col__listIcon{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 26px;
  row-gap: 20px;

  @media screen and (max-width: 549px) {
    align-items: flex-start;
    column-gap: 20px;
  }

  .p-block-col__listIcon__item{
    display: flex;
    flex-direction: column;
    row-gap: 20px;

    @media screen and (max-width: 549px) {
      width: calc( 50% - calc(20px / 2));
    }

    li{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      row-gap: 8px;
      font-size: 14px;
      font-weight: 500;
      line-height: 1.4;
      text-align: center;
      color: var(--color-white);
    }
  }

  .p-block-col__listIcon__icon{
    height: 50px;
    display: flex;
    align-items: center;
  }
}

.p-block-col--type01{
  .p-block-col__img{
    position: absolute;
    z-index: -1;
    bottom: 0;
    right: 0;
    opacity: 0.2;
  }

  .p-block-col__item{
    width: calc(50% - calc(60px / 2));
    border-radius: 20px;
    padding: 0 50px 40px;
    background-color: var(--color-tertiary);

    @media screen and (max-width: 1023px) {
      width: calc(50% - calc(20px / 2));
      padding: 0 20px 30px;
    }

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

  .p-block-col__content{
    width: 360px;
  }

  .p-block-col__item--01 .p-block-col__img{
    bottom: 37px;
    right: 30px;
    width: calc(181 / 570 * 100%);
    height: auto;

    @media screen and (max-width: 767px) {
      bottom: 20px;
      right: 20px;
    }
  }

  .p-block-col__item--02 .p-block-col__img{
    bottom: 37px;
    right: 40px;
    width: calc(97 / 570 * 100%);
    height: auto;

    @media screen and (max-width: 767px) {
      bottom: 20px;
      right: 20px;
    }
  }
}

.p-block-col--type02{
  .p-block-col__item{
    width: calc(50% - calc(60px / 2));
    border-radius: 20px;
    padding: 0 35px 40px;
    background-color: var(--color-tertiary);

    @media screen and (max-width: 1023px) {
      width: calc(50% - calc(20px / 2));
      padding: 0 20px 40px;
    }

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

.p-block-col--type03{
  .p-block-col__item{
    width: 100%;
    padding-bottom: 70px;

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

  .p-block-col__content{
    width: 1020px;
    max-width: calc(100% - 40px);
    margin-inline: auto;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-direction: row;
    row-gap: 25px;

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

  .p-block-col__inner{
    width: calc( 450 / 1020 * 100%);

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

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

  .p-block-col__inner--02{
    width: calc( 500 / 1020 * 100%);

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

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

/*  p-block-table
--------------------------------------------- */

.p-block-table{
  width: 100%;

  @media screen and (max-width: 1023px) {
    width: 1000px;
  }

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

  thead{
    th{
      padding: 32px 10px 35px;
      text-align: center;
      vertical-align: middle;
      color: var(--color-secondary);
      font-size: 22px;
      font-weight: 700;
      letter-spacing: 0.04em;
      line-height: 1.4;
      border: solid 1px var(--color-gray-2);

      @media screen and (max-width: 767px) {
        padding: 22px 10px 25px;
        font-size: 20px;
      }
    }
  }

  tbody{
    th{
      padding: 17px 10px;
      text-align: center;
      vertical-align: middle;
      color: var(--color-primary);
      font-size: 18px;
      font-weight: 500;
      letter-spacing: 0.04em;
      line-height: 1.4;
      border: solid 1px var(--color-gray-2);

      @media screen and (max-width: 767px) {
        padding: 13px 10px;
        font-size: 16px;
      }
    }

    td{
      padding: 17px 30px;
      text-align: center;
      vertical-align: middle;
      font-size: 18px;
      line-height: 1.6;
      font-weight: 500;
      border: solid 1px var(--color-gray-2);

      @media screen and (max-width: 767px) {
        padding: 13px 10px;
        font-size: 16px;
      }
    }
  }
}

.p-block-table-wrapper{
  margin-top: 40px;
  overflow-x: auto;

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

.p-block-table-caption{
  margin-top: 20px;
  padding: 15px 15px;
  background-color: var(--color-tertiary);
  text-align: left;
  line-height: 1.4;
}

.p-block-table__lead{
  font-size: calc( 14 / 18 * 1em);
}

.p-block-table__inner{
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 30px;
  padding-left: calc( 100 / 1400 * 100vw);
}

.p-block-table__link{
  position: relative;
  z-index: 0;
  display: inline-block;
  min-width: 80px;
  padding: 5px 20px;
  border: solid 1px var(--color-secondary);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.02em;
  text-align: center;
  background-color: var(--color-white);
  transition: background-color 0.3s , color 0.3s;

  @media (any-hover: hover){
    &:hover{
      background-color: var(--color-secondary);
      color: var(--color-white);
    }
  }
}

.p-block-table__link-i{
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translate(0, -50%);
}

.p-block-table__list{
  list-style-type: none;
  padding: 0;

  li{
    position: relative;
    z-index: 0;
    text-align: left;
    padding-left: 1em;

    &::before{
      content: '';
      position: absolute;
      top: 0.7em;
      left: calc(0.5em - 2.5px);
      background-color: var(--color-text);
      width: 5px;
      height: 5px;
      border-radius: 999px;
    }

    &:not(:last-of-type){
      margin-bottom: 10px;
    }
  }
}


/*  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;
  padding-bottom: calc(30 / 1200 * 100%);

  @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: calc(60 / 375 * 100%);
  }
}

.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: calc(55 / 375 * 100%);
    margin-top: 0;
  }
}

.p-intro-content {
  margin-top: 30px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;


  @media screen and (max-width: 1023px) {
    align-items: flex-end;
  }

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

.p-intro-content__content{
  order: 2;

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

.p-intro-content__img01{
  order: 1;
  margin-top: 5px;
  width: calc(210 / 1200 * 100%);
  height: auto;

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

.p-intro-content__img02{
  order: 3;
  margin-top: 30px;
  margin-left: calc(30 / 1200 * 100%);
  width: calc(180 / 1200 * 100%);
  height: auto;

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


/*  p-buy
--------------------------------------------- */
.p-buy-heading{
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  max-height: 400px;
  aspect-ratio: 1400 / 400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: calc(40 / 1400 * 100vw);
  padding-bottom: 0;

  @media screen and (max-width: 767px) {
    padding-top: calc(50 / 375 * 100vw);
    padding-bottom: 20px;
  }

  .p-buy-heading__inner{
    max-width: calc(100% - 40px);
    margin-inline: auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    column-gap: min(calc( 40 / 1400 * 100vw) , 40px);
    padding-bottom: min(calc( 4 / 1400 * 100vw) , 4px);

    @media screen and (max-width: 767px) {
      flex-wrap: wrap;
      column-gap: min(calc( 30 / 375 * 100vw) , 40px);
    }
  }

  .p-buy-heading__label{
    order: 2;
    width: auto;
    color: var(--color-primary);
    font-size: min(calc( 24 / 768 * 100vw) , 30px);
    text-align: center;
    line-height: 1.4;
    letter-spacing: 0.2em;
    margin-bottom: min(calc( 25 / 768 * 100vw) , 42px);

    @media screen and (max-width:1023px) {
      letter-spacing: 0.1em;
    }

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

  .p-buy-heading__img01{
    order: 1;
    width: min(calc( 129 / 1400 * 100vw) , 129px);
    height: auto;

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

  .p-buy-heading__img02{
    order: 3;
    width: min(calc( 114 / 1400 * 100vw) , 114px);
    height: auto;

    @media screen and (max-width: 767px) {
      width: min(calc( 57 / 375 * 100vw) , 129px);
    }
  }

  .p-buy-heading__bg{
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
}

.p-buy-block{
  margin-top: -48px;

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

  .p-buy-block__content{
    position: relative;
    z-index: 0;
    font-weight: 500;

    p{

      &:not(:last-of-type){
        margin-bottom: 45px;

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

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

  .p-buy-block__images{
    display: flex;
    justify-content: center;
    column-gap: 20px;

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

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

  .p-buy-block__img01{
    width: min(calc( 340 / 1400 * 100vw) , 340px);
    height: auto;

    @media screen and (min-width: 1024px) {
      position: absolute;
      left: -15px;
      bottom: -65px;
    }

    @media screen and (max-width: 767px) {
      width: min(calc( 170 / 375 * 100vw) , 340px);
    }
  }

  .p-buy-block__img02{
    width: min(calc( 305 / 1400 * 100vw) , 305px);
    height: auto;

    @media screen and (min-width: 1024px) {
      position: absolute;
      right: -20px;
      bottom: -90px;
    }


    @media screen and (max-width: 767px) {
      width: min(calc( 152.5 / 375 * 100vw) , 305px);
    }
  }
}
