/* @media (hover: hover) and (pointer: fine){} */
.title{
  position: relative;

  height: 120px;
  margin-top: 20px;

  font-family: "myriad-pro", sans-serif;
  font-weight: 700;
  font-style: normal;
  text-align: center;

  font-size: 7rem;
  color: var(--main-color);
  text-shadow: 3px 3px 5px rgba(0,0,0,0.3);
}

.title span{
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -50%);

  font-family: fot-tsukuardgothic-std, sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: 2.5rem;
  text-shadow: none;
}


#terms{
  position: relative;
  width: 65%;
  margin: 80px auto 80px auto;
}

#terms::after{
  content: "";
  position: absolute;
  top: 0;
  right: -15%;
  z-index: -1;

  width: 200px;
  height: 200px;
  background-image: url("/wp-content/themes/GoodCycling/images/cycling1.png");

  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

#terms::before{
  content: "";
  position: absolute;
  top: 80%;
  left: -30%;
  z-index: -1;

  width: 250px;
  height: 250px;
  background-image: url("/wp-content/themes/GoodCycling/images/cycling2.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.terms-header{
  font-weight: bold;
  padding: 32px 8px 8px 8px;
  border-bottom: 1px solid var(--gray);
}

.terms-data {
  padding: 8px 16px;
  line-height: 1.8;
}



#privacy-policy{
  position: relative;

  width: 65%;
  padding: 48px 72px;
  margin: 80px auto 80px auto;
}

#privacy-policy::after{
  content: "";
  position: absolute;
  top: 0;
  left: -125px;
  z-index: -2;

  width: 150%;
  height: 100%;
  background: url("/wp-content/themes/GoodCycling/images/geometlic-circle1.svg"),
  linear-gradient( 98.4deg,  rgb(255, 253, 213) 16.6%, rgb(197, 255, 223) 81.8% );

  background-attachment: fixed, fixed;
  background-repeat: no-repeat, no-repeat;
  background-size: 50%, cover;
  background-position: right, center;

  border-radius: 48px;
  opacity: 1;
}


#bg-image{
  position: relative;

  width: 100%;
  height: 40vh;
  margin: 30px 0;

  background-image: url("/wp-content/themes/GoodCycling/images/company_info.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 25% 87%;
}

#bg-image::after{
  content: "";
  position: absolute;
  bottom: -50px;
  right: 20px;
  z-index: 1;

  width: 450px;
  height: 84px;
  background-image: url("/wp-content/themes/GoodCycling/images/geometlic.svg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 25% 87%;
}


#table{
  width: 65%;
  margin: 80px auto 80px auto;

  font-size: 1.6rem;
}

.table-row{
  position: relative;

  display: flex;

  min-height: 50px;
  padding: 24px 24px;
}

.table-row::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  height: 1px;
  background-color: rgb(183, 193, 193);

  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2.5s ease-out;
}

.table-row.is-active::after {
  transform: scaleX(1);
}

.table-row:nth-child(1).is-active::after { transition-delay: 0.1s; }
.table-row:nth-child(2).is-active::after { transition-delay: 0.2s; }
.table-row:nth-child(3).is-active::after { transition-delay: 0.4s; }
.table-row:nth-child(4).is-active::after { transition-delay: 0.6s; }
.table-row:nth-child(5).is-active::after { transition-delay: 0.8s; }
.table-row:nth-child(6).is-active::after { transition-delay: 1.0s; }
.table-row:nth-child(7).is-active::after { transition-delay: 1.2s; }
.table-row:nth-child(8).is-active::after { transition-delay: 1.4s; }
.table-row:nth-child(9).is-active::after { transition-delay: 1.6s; }

.table-header{
  width: 20%;
}

.table-data{
  width: 80%;
}











/* SP用ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー */
@media screen and (max-width: 1024px){
  /* pc: 16px-18px
  タブレット: 15-17px
  スマホ: 14-16px */

  /* //基本設定 */
  /* h1を70pxとする */
  h1{
    font-size: 7rem;
  }
  /* h2を20pxとする */
  h2{
    font-size: 2rem;
  }
  /* 以下は15pxとする */
  p, ul, ol, span, label, input, textarea, summary, div{
    font-size: 1.4rem;
  }
  /* ////基本設定 */



  .title{
    margin-top: 30px;
    height: clamp(80px, calc((100 - 80) * (100vw - 375px) / (1024 - 375) + 80px), 100px);
    font-size: clamp(35px, calc((50 - 35) * (100vw - 375px) / (1024 - 375) + 35px), 50px);
  }
  .title span{
    font-size: clamp(20px, calc((25 - 20) * (100vw - 375px) / (1024 - 375) + 20px), 25px);
  }

  #terms {
      width: 90%;
  }

  #terms::after{
    right: -10%;
    opacity: .5;
  }
  #terms::before{
    left: clamp(-165px, calc((-165 - -101) * (100vw - 375px) / (1024 - 375) + -101px), -101px);
    opacity: .5;
  }


  #privacy-policy {
      position: relative;
      width: clamp(290px, calc((618 - 290) * (100vw - 375px) / (1024 - 375) + 290px), 618px);
      padding: 48px 24px;
      margin: 80px auto 80px auto;
  }

  #privacy-policy::after{
    content: "";
    position: absolute;
    top: 0;
    left: -60px;
    z-index: -2;

    width: 150%;
    height: 100%;
    background: url("/wp-content/themes/GoodCycling/images/geometlic-circle1.svg"),
    linear-gradient( 98.4deg,  rgb(255, 253, 213) 16.6%, rgb(197, 255, 223) 81.8% );

    background-attachment: fixed, fixed;
    background-repeat: no-repeat, no-repeat;
    background-size: 50%, cover;
    background-position: right, center;

    border-radius: 48px;
    opacity: 1;
  }

}