/* 利用規約ページ（/terms） 専用 */
main {
  background-color: var(--fuji-po-gray-2);
}
.section-terms-1 {
  padding: 40px 0 50px;
}
.section-terms-1 .main-title {
  margin-bottom: 50px;
}
.section-terms-2 {
  background-color: #fff;
  padding: 60px 0 80px;
}
.terms-sub-title {
  font-size: 1.8rem;
  font-weight: bold;
}
.terms-content .sub-ttl {
  font-size: 2.4rem;
  font-weight: bold;
  margin: 45px 0 20px;
}
.terms-content .sub-ttl:first-child {
  margin: 30px 0 20px;
}
.terms-content ul {
  list-style: none;
}
.terms-now ul li,
.terms-past-content ul li {
  font-weight: bold;
  margin-top: 20px;
  position: relative;
  padding-left: 50px;
  line-height: 1.4;
}
.terms-now ul li {
  font-size: 1.8rem;
}
.terms-past-content ul li {
  font-size: 1.6rem;
}
.terms-now ul li:first-child,
.terms-past-content ul li:first-child {
  margin-top: 0;
}
.terms-now ul li::before,
.terms-past-content ul li::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background-image: url(/assets/img/pdf-icon3.svg);
  background-size: contain;
  vertical-align: middle;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
.terms-now ul li a,
.terms-past-content ul li a {
  color: #1e1e1e;
  text-decoration: underline;
  transition: .3s;
}
.terms-now ul li a:hover,
.terms-past-content ul li a:hover {
  color: var(--fuji-po-blue-1);
}
.terms-past .plan-content .terms-past-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin-top: 15px;
  position: relative;
  cursor: pointer;
  padding: 5px 35px 5px 0;
  transition: .3s;
}
.terms-past .plan-content .terms-past-title.open {
  color: var(--fuji-po-blue-1);
}
.terms-past .plan-content .terms-past-title:hover {
  color: var(--fuji-po-blue-1);
}
.terms-past .plan-content .terms-past-title::before,
.terms-past .plan-content .terms-past-title::after {
  position: absolute;
  content: '';
  top: 1px;
  right: 20px;
  bottom: 0;
  width: 14px;
  height: 2px;
  margin: auto;
  background: #000;
  transition: .3s;
}
.terms-past .plan-content .terms-past-title::after {
  transform: rotate(-90deg);
  transition: transform 0.3s;
}
.terms-past .plan-content .terms-past-title.open::after {
  transform: rotate(0deg);
}
.terms-past .plan-content .terms-past-title:hover::before,
.terms-past .plan-content .terms-past-title:hover::after,
.terms-past .plan-content .terms-past-title.open::before,
.terms-past .plan-content .terms-past-title.open::after  {
  background: var(--fuji-po-blue-1);
}
.terms-past-content {
  padding: 10px 20px;
  overflow-y: auto;
  max-height: 440px;
  border: 1px solid #ddd;
}
.terms-past-content ul li {
  letter-spacing: 1px;
}
.terms-past-content .terms-info {
  font-size: 1.6rem;
  font-weight: bold;
  padding-left: 50px;
  line-height: 1.4;
}
.terms-past-content .terms-info a {
  color: #1e1e1e;
  transition: .3s;
  text-decoration: underline;
}
.terms-past-content .terms-info a:hover {
  color: var(--fuji-po-blue-1);
}
@media screen and (max-width:767px) {
  .section-terms-1,
  .section-terms-2 {
    padding: 40px 5%;
  }
  .section-terms-1 .main-title {
    margin-bottom: 30px;
  }
  .terms-sub-title {
    font-size: 1.6rem;
  }
  .terms-content .sub-ttl {
    font-size: 2rem;
    margin: 30px 0 10px;
  }
  .terms-content .sub-ttl:first-child {
    margin: 30px 0 10px;
  }
  .terms-now ul li {
    font-size: 1.4rem;
    padding-left: 3.8rem;
  }
  .terms-past-content ul li {
    font-size: 1.3rem;
    padding-left: 3.5rem;
  }
  .terms-now ul li::before, .terms-past-content ul li::before {
    width: 25px;
    height: 25px;
  }
  .terms-past .plan-content .terms-past-title {
    font-size: 1.4rem;
    padding: 0 25px 0 0;
  }
  .terms-past .plan-content .terms-past-title::before, .terms-past .plan-content .terms-past-title::after {
    right: 0px;
  }
  .terms-past .plan-content .terms-past-title.open {
    padding: 10px 25px 10px 0;
  }
  .terms-past-content .terms-info {
    font-size: 1.3rem;
    padding-left: 35px;
  }
  .terms-past-content {
    max-height: 380px;
  }
}

.inner h2 {
  letter-spacing: unset;
  color: unset;
  width: unset;
  text-align: unset;
}

.sim-plan-title,
.wifi-service-title {
  margin-top: 45px;
}

@media screen and (max-width:767px) {
  .sim-plan-title,
  .wifi-service-title {
    margin-top: 30px;
  }
}