@charset "utf-8";

/* /termsページ用 s */
.main {
  float: none;
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 2em;
}
.main .banner {
  background: url("../../terms/img/main.png") no-repeat;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  margin-bottom: 1em;
  text-align: justify;
}
.main .banner p {
  color: #0963a8;
  padding-left: 0.2em;
}
  /* /termsページ用 PC用 s */
  @media(min-width:769px){
    .main .banner {padding-left: 2em;}
    .main .banner {
      width: 690px;
      height: 150px;
    }
    .main .banner h2 {font-size: 2.5em;}
  }
  /* /termsページ用 PC用 e */
  /* /termsページ用 SP用 s */
  @media(max-width:768px){
    .main .banner {
      background-size: cover;
      background-position: right top;
      padding: 0 3vw;
      height: 30vw;
    }
    .banner h2 {
      font-size: 1.5em;
      font-weight: bold;
      text-shadow: 1px 1px #fff;
    }
    .mvLead {padding: 0 3vw;}
    .terms #termsText {padding: 0 3vw;}
  }
  /* /termsページ用 SP用 e* /
/* /termsページ用 e */
/* 利用規約本文 s */
#termsText {
  font-size: 0.95rem;
  font-weight: normal;
  line-height: 1.75;
  margin: 0;
  text-align: justify;
}
#termsText .chapter:not(:last-child) {margin-bottom: 2em;}
#termsText h3{
  background: var(--primary-color);
  border-radius: 0;
  color: #FFF;
  font-size: inherit;
  font-weight: bold;
  margin-bottom: 1em;
  padding: 0.5em 1em;
}
#termsText h3 span {
  color: #fff;
  font-size: inherit;
  font-weight: bold;
  letter-spacing: 0.3em;
}
#termsText p {
  font-size: inherit;
  line-height: 1.75;
  margin: 0;
}
#termsText p + ol,
#termsText p + ul {
  margin-block-start: 0;
  margin-bottom: 1em;
}
#termsText .lower-alpha {list-style: lower-alpha;}
#termsText .decimal {list-style: decimal;}
#termsText .disc {list-style: disc;}
#termsText .chapter:last-child .chapterInner ol {list-style: none;}
#termsText .lower-alpha li,
#termsText .decimal li,
#termsText .disc li {
  list-style: inherit;
  line-height: 1.75;
}
  /* 利用規約本文 PC用 s */
  @media(min-width:769px){
    #termsText .chapterInner {padding: 0 1em;}
    #termsText .chapter:first-child .chapterInner {padding-left: 2.5em;}
    #termsText p + ol,
    #termsText p + ul {padding: 1em 1em 0 0;}
    #termsText .lower-alpha,
    #termsText .decimal,
    #termsText .disc {padding-left: 2em;}
  }
  /* 利用規約本文 PC用 e */
  /* 利用規約本文 SP用 s */
  @media(max-width:768px){
    #termsText .chapterInner {padding: 0 0.5em;}
    #termsText .chapter:first-child .chapterInner {padding-left: 1.75em;}
    #termsText p + ol,
    #termsText p + ul {padding-top: 1em;}
    #termsText .lower-alpha,
    #termsText .decimal,
    #termsText .disc {padding-left: 1.5em;}
  }
  /* 利用規約本文 SP用 e */
/* 利用規約本文 e */
/* ポップアップ s */
.termsModal_open{cursor: pointer;}
#contact .termsModal_open:hover{text-decoration: underline;}
.kiyaku .termsModal_open {text-decoration: underline;}
.kiyaku .termsModal_open:hover {
  color: #f00;
  text-decoration: none;
}
.termsModal_wrap {color: #333;}
.termsModal_wrap input{display: none;}
.termsModal_wrap .modal_overlay{
  background: rgba(0,0,0,0.7);
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  overflow: auto;
  overflow-x: hidden;
  transition: opacity 0.5s, transform 0s 0.5s;
  transform: scale(0);
  width: 100%;
  height: 100%;
  z-index: 9999;
}
.termsModal_wrap .modal_trigger{
  position: absolute;
  width: 100%;
  height: 100%;
}
.termsModal_wrap .modal_content{
  align-self: center;
  background: #fff;
  box-sizing: border-box;
  padding: 1em;
  position: relative;
  transition: 0.5s;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  height: 80vh;
}
.termsModal_wrap .modalTitle {
  font-size: 1.5rem;
  margin: 0.2em 0 0.5em;
  text-align: center;
}
.termsModal_wrap .close_button{
  background: #fff;
  border-radius: 3em;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.1em 2em;
  position: absolute;
  top: 92vh;
  left: calc(50% - 3.5em);
}
.termsModal_wrap .close_button:hover {
  background: #0b3e81;
  color: #fff;
}
.termsModal_wrap input:checked ~ .modal_overlay{
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.5s;
}
.termsModal_wrap input:not(:checked) ~ .modal_overlay{
  opacity: 0;
}
.box-button .termsModal_open {
  color: #d74023;
  line-height: 1.5;
  text-decoration: underline;
}
  /* ポップアップ PC用 s */
  @media(min-width:769px){
    .offer_index .termsModal_open{color: #0077E6;}
    .termsModal_wrap .modal_content{width: 690px;}
  }
  /* ポップアップ PC用 e */
  /* ポップアップ SP用 s */
  @media(max-width:768px){
    #termsText h3,
    #termsText h3 span {line-height: normal;}
    #profile_kiyakuLink .termsModal_open {
      color: #207ea8;
      font-weight: bold;
    }
    .termsModal_wrap .modal_content {
      padding: 0.5em;
      margin: 0.2em 0;
      width: 95vw;
    }
    .kiyaku {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    #offerInquiry .kiyaku .termsModal_open {
      font-weight: bold;
      font-size: 1.1em;
    }
    #form1 .kiyaku {
      flex-wrap: wrap;
      margin-bottom: 1em;
      padding: 1em 2em 0;
    }
    #form1 .termsModal_open {
      color: #3f3fee;
      font-size: inherit;
      font-weight: inherit;
      margin: 0;
      text-decoration: underline;
    }
    .modal_content .close_button.forSP {
      content: "";
      margin: 0;
      padding: 0;
      position: absolute;
      top: 2vw;
      left: unset;
      right: 2vw;
      width: 4vw;
      height: 5vw;
    }
    .modal_content .close_button.forSP:before,
    .modal_content .close_button.forSP:after {
      content: "";
      border-top: #000 3px solid;
      display: block;
      position: absolute;
      top: 2vw;
      left: 0vw;
      width: 4vw;
    }
    .modal_content .close_button.forSP:before {transform: skewY(-45deg);}
    .modal_content .close_button.forSP:after {transform: skewY(45deg);}
  }
  /* ポップアップ SP用 e* /
/* ポップアップ e */