/* ============================================ */
/* 太陽光買取センター */
/* ============================================ */

/* ヘッダー */
/* ============================================ */
.is-menuOpen{
  body {
    touch-action: none;
    overflow: hidden;
    width: 100%;
    height: 100%;
  }
}
.t-header{
  width: 100%;
  position: relative;
  z-index: 1000;
}
.t-header-fixed{
  width: 100%;
  background: #fff;
  box-shadow: 0 3px 7px 0 rgba(0, 0, 0, .2);
}
.t-header-fixed.scroll{
  position: fixed;
  top: 0;
  left: 0px;
}
.t-header-main{
  width: 100%;
  background: #fff;
  padding: 24px 0;
  @media (max-width: 768px){
    padding: 8px 0;
  }
  .t-header-main__inner{
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto;
  }
  .t-header-main__logo{
    a{
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 16px;
      @media (max-width: 768px){
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
      }
      img{
        width: 300px;
        @media (max-width: 768px){
          width: 200px;
        }
      }
    }
    .t-header-main__title{
      white-space: nowrap;
      font-size: 12px;
      color: #29A2C6;
      border: 1px solid #29A2C6;
      border-radius: 50vw;
      padding: 4px 8px;
      margin-top: 8px;
    }
  }
  .t-header-main__nav{
    display: flex;
    align-items: center;
    gap: 16px;
    @media (max-width: 768px){
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      z-index: 2000;
      transform: translateX(105%);
      width: 100%;
      height: 100%;
      overflow-y: scroll;
      background: #fff;
      padding: 40px;
    }
    ul{
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 14px;
      white-space: nowrap;
      @media (max-width: 768px){
        flex-direction: column;
        gap: 24px;
        font-size: 16px;
        margin-bottom: 24px;
      }
    }
    .t-header-main__btn{
      @media (max-width: 768px){
        display: flex;
        justify-content: center;
      }
      a{
        position: relative;
        width: 240px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        background: #F08200 url( ../img/pages/used-solar-power/icon-arrow.svg) no-repeat center right -8px / contain;
        box-shadow: 0 3px 5px 0 rgba(240, 130, 0 ,0.5);
        border-radius: 8px;
        transition: 0.3s;
        @media (min-width: 769px){
          &:hover{
            transform: scale(1.1);
          }
        }
      }
    }
  }
  .t-header-drawer{
    display: none;
    @media (max-width: 768px){
      position: relative;
      display: block;
      cursor: pointer;
      width: 50px;
      height: 50px;
      background: #fff;
      z-index: 9999;
    }
    span{
      @media (max-width: 768px){
        display: inline-block;
        transition: all .4s;
        position: absolute;
        left: 14px;
        height: 2px;
        background-color: #f08200;
        width: 45%;
        &:nth-of-type(1) {
          top:15px; 
        }
        &:nth-of-type(2) {
          top:23px;
        }
        &:nth-of-type(3) {
          top:31px;
        }
      }
    }
  }
  .t-header-drawer.is-active{
    span{
      &:nth-of-type(1) {
        top: 18px;
        left: 18px;
        transform: translateY(6px) rotate(-45deg);
        width: 30%;
      }
      &:nth-of-type(2) {
        opacity: 0;
      }
      &:nth-of-type(3){
        top: 30px;
        left: 18px;
        transform: translateY(-6px) rotate(45deg);
        width: 30%;
      }
    }
  }
}
.is-menuOpen{
  .t-header-main__nav{
    transform: translateX(0%);
  }
}
.t-header-sub{
  width: 100%;
  background: #e7e7e7;
  ul{
    width: 95%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    @media (max-width: 768px){
      width: 100%;
      justify-content: flex-start;
      overflow-x: scroll;
    }
    li{
      position: relative;
      width: 200px;
      @media (max-width: 768px){
        min-width: 130px;
      }
      &::before{
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        width: 1px;
        height: 60%;
        background: #fff;
      }
      &:last-child::after{
        content: "";
        display: block;
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        width: 1px;
        height: 60%;
        background: #fff;
      }
      a{
        white-space: nowrap;
        text-align: center;
        font-weight: bold;
        font-size: clamp(12px,2vw,16px);
        padding: 1.5em 1em;
        transition: 0.3s;
        @media (min-width: 769px){
          width: calc(100% - 2px);
          margin: 0 auto;
          &:hover{
            background: #29A2C6;
            color: #fff;
          }
        }
        @media (max-width: 480px){
          padding: 1em 0.5em;
        }
      }
    }
  }
}


/* heading */
/* ============================================ */
.heading{
  margin-bottom: 80px;
  @media (max-width: 768px){
    margin-bottom: 40px;
  }
}
.heading-center{
  text-align: center;
}
.heading__primary{
  font-size: clamp(26px,4.1vw,32px);
  line-height: 1.6;
  span{
    font-size: clamp(16px,2.3vw,18px);
  }
}


/* MV */
/* ============================================ */
.p-pages-mv{
  position: relative;
  .p-pages-mv__figure{
    text-align: center;
    line-height: 0;
    img{
      width: 100%;
      display: inline-block;
      height: 500px;
      object-fit: cover;
      object-position: left;
      @media (max-width: 480px){
        width: 100%;
        height: 400px;
        object-position: center;
      }
    }
  }
  .p-pages-mv__body{
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    @media (max-width: 480px){
      width: 95%;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
    .p-pages-mv__catch{
      font-family: "BIZ UDPMincho", serif;
      font-size: clamp(18px,4.8vw,37px);
      font-weight: 700;
      color: #fff;
      line-height: 1.5;
      margin-bottom: 32px;
      @media (max-width: 480px){
        text-align: center;
        margin-bottom: 24px;
      }
      .p-pages-mv__catch-lg{
        font-size: clamp(25px,6.5vw,50px);
      }
      .p-pages-mv__catch-grd{
        background: linear-gradient(180deg, #e6c24a 0%, #fff2ca 50%, #e6c24a 100%);
        color: transparent;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        text-fill-color: transparent;
      }
    }
    .p-pages-mv__list{
      width: 100%;
      max-width: 550px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      border-radius: 10px;
      background: #fff;
      padding: 24px;
      margin-bottom: 40px;
      @media (max-width: 480px){
        gap: 8px;
        padding: 16px;
        margin-bottom: 32px;
      }
    }
    .p-pages-mv__btn{
      @media (max-width: 480px){
        display: flex;
        justify-content: center;
      }
      a{
        position: relative;
        width: 280px;
        height: 64px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: clamp(16px,2.3vw,18px);
        font-weight: bold;
        color: #fff;
        background: #F08200 url( ../img/pages/used-solar-power/icon-arrow.svg) no-repeat center right -8px / contain;
        box-shadow: 0 3px 5px 0 rgba(240, 130, 0 ,0.5);
        border-radius: 8px;
        transition: 0.3s;
        @media (min-width: 769px){
          &:hover{
            transform: scale(1.1);
          }
        }
      }
      .p-pages-mv__btn-text{
        text-align: center;
        small{
          display: block;
          font-size: 12px;
          margin-bottom: 8px;
        }
      }
    }
  }
}


/* 太陽光物件をエリアで検索する */
/* ============================================ */
.p-pages-map{
  background-color: #FFF3DF;
  padding: 160px 0;
  @media (max-width: 768px){
    padding: 80px 0;
  }
  .p-pages-map__body{
    position: relative;
    .p-pages-map__figure{
      img{
        width: 1100px;
        margin: 0 auto;
      }
      @media (max-width: 768px){
        display: none;
      }
    }
    .p-pages-map__area{
      width: 70%;
      margin: 0 auto;
      @media (min-width: 769px){
        width: 200px;
        position: absolute;
      }
      @media (max-width: 768px){
        &:not(:last-child){
          margin: 0 auto 24px;
        }
      }
      h3{
        position: relative;
        background: #eeeeee;
        @media (max-width: 768px){
          cursor: pointer;
          &::before{
            content: "";
            width: 16px;
            height: 2px;
            background: #3c3e3f;
            position: absolute;
            top: 50%;
            right: 16px;
            transform: translateY(-50%);
            transition: 0.3s;
            z-index: 1;
          }
          &::after{
            content: "";
            width: 16px;
            height: 2px;
            background: #3c3e3f;
            position: absolute;
            top: 50%;
            right: 16px;
            transform: translateY(-50%) rotate(-90deg);
            transition: 0.3s;
            z-index: 1;
          }
        }
        a{
          text-align: center;
          white-space: nowrap;
          padding: 1em;
        }
        a[href]{
          @media (min-width: 769px){
            color: #1a73e8;
            text-decoration: underline;
            transition: 0.3s;
            &:hover{
              opacity: 0.7;
            }
          }
        }
      }
      h3.open{
        @media (max-width: 768px){
          &::after{
            transform: translateY(-50%) rotate(0deg);
          }
        }
      }
      .p-pages-map__list{
        display: flex;
        flex-wrap: wrap;
        li{
          width: 50%;
          border: 1px solid #eeeeee;
          background: #fff;
          a{
            text-align: center;
            font-size: 14px;
            font-weight: bold;
            white-space: nowrap;
            padding: 1em;
          }
          a[href]{
            color: #1a73e8;
            text-decoration: underline;
            transition: 0.3s;
            &:hover{
              opacity: 0.7;
            }
          }
        }
      }
    }
    @media (min-width: 769px){
      .hokkaido-tohoku{
        right: 0;
        top: 250px;
      }
      .kanto{
        top: 600px;
        right: 0;
      }
      .chubu{
        top: 230px;
        right: 400px;
      }
      .kinki{
        top: 350px;
        left: 380px;
      }
      .shikoku{
        bottom: 0;
        left: 380px;
      }
      .chugoku{
        top: 450px;
        left: 160px;
      }
      .kyushu-okinawa{
        bottom: 0;
        left: 0;
      }
    }
  }
}


/* CTA */
/* ============================================ */
.p-pages-cta{
  background: rgba(240, 130, 0, 0.8);
  padding: 80px 0;
  @media (max-width: 768px){
    padding: 40px 0;
  }
}
.p-pages-cta__body{
  color: #fff;
  .p-pages-cta__title{
    h2{
      margin-bottom: 24px;
    }
  }
  .p-pages-cta__text{
    font-size: clamp(16px,2.3vw,18px);
    font-weight: bold;
    line-height: 1.5;
    p:not(:last-child){
      margin-bottom: 1em;
    }
  }
  .p-pages-cta__wrap{
    display: flex;
    justify-content: center;
    gap: 32px;
    @media (max-width: 768px){
      flex-wrap: wrap;
    }
    .p-pages-cta__btn{
      .p-pages-cta__btn-text{
        text-align: center;
        margin-bottom: 8px;
      }
      .c-btn{
        width: 400px;
        height: 80px;
        justify-content: center;
        font-size: clamp(18px,3.1vw,24px);
        color: #fa4d09;
        overflow: hidden;
        border-radius: 8px;
        background: #fff;
        @media (min-width: 769px){
          &::before{
            background: #e35a1b;
          }
          &:hover{
            color: #fff;
          }
        }
        @media (max-width: 480px){
          width: 300px;
        }
      }
      .c-btn__inner{
        position: relative;
        width: 100%;
        transition: 0.3s;
        small{
          font-size: clamp(12px,2vw,16px);
          font-weight: normal;
        }
      }
    }
    .p-pages-cta__btn--contact{
      .c-btn__inner{
        background: url(../img/common/btn_arw-orange.svg) no-repeat center right 24px / 24px;
        &::before{
          content: "";
          width: 40px;
          height: 40px;
          position: absolute;
          top: 50%;
          left: 24px;
          transform: translateY(-50%);
          transition: 0.3s;
          background: url("../img/common/icon-mail-orange02.svg") no-repeat center / contain;
        }
        @media (max-width: 768px){
          background: url(../img/common/btn_arw-orange.svg) no-repeat center right 16px / 20px;
          &::before{
            width: 32px;
            height: 32px;
            left: 16px;
          }
        }
      }
      @media (min-width: 769px){
        .c-btn:hover .c-btn__inner{
          background: url(../img/common/btn_arw.svg) no-repeat center right 24px / 24px;
          &::before{
            background: url("../img/common/icon-mail-orange.svg") no-repeat center / contain;
          }
        }
      }
    }
    .p-pages-cta__btn--tel{
      .c-btn__inner{
        &::before{
          content: "";
          width: 40px;
          height: 40px;
          position: absolute;
          top: 50%;
          left: 24px;
          transform: translateY(-50%);
          transition: 0.3s;
          background: url("../img/common/icon-cta-tel.svg") no-repeat center / contain;
        }
        @media (max-width: 768px){
          &::before{
            width: 32px;
            height: 32px;
            left: 16px;
          }
        }
      }
    }
  }
}


/* concern */
/* ============================================ */
.p-pages-concern{
  padding: 80px 0;
  @media (max-width: 768px){
    padding: 40px 0;
  }
}
.p-pages-concern__lists{
  display: flex;
  flex-wrap: wrap;
  gap: 56px 40px;
  @media (max-width: 768px){
    gap: 32px;
  }
  @media (max-width: 480px){
    gap: 16px;
  }
  .p-pages-concern__item{
    position: relative;
    overflow: hidden;
    transition: 0.3s;
    width: calc(100% / 2 - 20px);
    box-shadow: 0 3px 5px 0 rgba(0, 0, 0, .2);
    border-radius: 4px;
    &::after{
      content: "";
      width: 100%;
      height: 100%;
      position: absolute;
      top: 0;
      left: 0;
      z-index: 1;
      background: rgba(0, 0, 0, .5);
    }
    @media (min-width: 769px){
      &:hover{
        transform: translateY(-4px);
        box-shadow: 0 10px 15px 0 rgba(0, 0, 0, .2);
      }
    }
    @media (max-width: 769px){
      width: 100%;
    }
    a{
      width: 100%;
      height: 120px;
      position: relative;
      z-index: 2;
      display: flex;
      align-items: center;
      font-size: clamp(18px,2.6vw,20px);
      font-weight: bold;
      color: #fff;
      background: url( ../img/pages/used-solar-power/icon-arrow.svg) no-repeat center right / 64px;
      padding-left: 40px;
      @media (max-width: 480px){
        height: 80px;
        background: url( ../img/pages/used-solar-power/icon-arrow.svg) no-repeat center right / 48px;
        padding-left: 24px;
      }
    }
  }
}
.p-pages-concern__item--01{
  background: url("../img/pages/used-solar-power/bg-concern01.jpg")no-repeat center / cover;
}
.p-pages-concern__item--02{
  background: url("../img/pages/used-solar-power/bg-concern02.jpg")no-repeat center / cover;
}
.p-pages-concern__item--03{
  background: url("../img/pages/used-solar-power/bg-concern03.jpg")no-repeat center / cover;
}
.p-pages-concern__item--04{
  background: url("../img/pages/used-solar-power/bg-concern04.jpg")no-repeat center / cover;
}
.p-pages-concern__item--05{
  background: url("../img/pages/used-solar-power/bg-concern05.jpg")no-repeat center / cover;
}
.p-pages-concern__item--06{
  background: url("../img/pages/used-solar-power/bg-concern06.jpg")no-repeat center / cover;
}


/* faq */
/* ============================================ */
.p-column__wrap--sm{
  padding: 80px 0;
  @media (max-width: 768px){
    padding: 40px 0 !important;
  }
}
.p-pages__faq{
  padding: 80px 0 160px;
  @media (max-width: 768px){
    padding: 60px 0;
  }
}


/* company */
/* ============================================ */
.p-pages__company{
  padding: 80px 0 160px;
  @media (max-width: 768px){
    padding: 60px 0;
  }
}


/* footer */
/* ============================================ */
.t-footer{
  background: #eeeeee;
  .t-footer__inner{
    width: 1200px;
    display: flex;
    gap: 64px;
    padding: 120px 0;
    margin: 0 auto;
    @media (max-width: 768px){
      width: 95%;
      flex-wrap: wrap;
      gap: 48px 32px;
      padding: 80px 0;
    }
    .t-footer__logo{
      position: relative;
      @media (min-width: 769px){
        flex: 1;
        &::after{
          content: "";
          width: 1px;
          height: 100%;
          position: absolute;
          top: 50%;
          right: -32px;
          transform: translateY(-50%);
          background: rgba(0, 0, 0, 0.15);
        }
      }
      @media (max-width: 768px){
        width: 100%;
        &::after{
          content: "";
          width: 100%;
          height: 1px;
          position: absolute;
          bottom: -24px;
          left: 50%;
          transform: translateX(-50%);
          background: rgba(0, 0, 0, 0.15);
        }
      }
      a{
        width: 200px;
        margin: 0 auto;
      }
    }
    .t-footer__middle{
      position: relative;
      display: flex;
      gap: 64px;
      @media (max-width: 768px){
        width: 100%;
        gap: 48px;
        &::after{
          content: "";
          width: 100%;
          height: 1px;
          position: absolute;
          bottom: -24px;
          left: 50%;
          transform: translateX(-50%);
          background: rgba(0, 0, 0, 0.15);
        }
      }
      .t-footer__links{
        position: relative;
        @media (min-width: 769px){
          flex: 1;
          &::after{
            content: "";
            width: 1px;
            height: 100%;
            position: absolute;
            top: 50%;
            right: -32px;
            transform: translateY(-50%);
            background: rgba(0, 0, 0, 0.15);
          }
        }
        @media (max-width: 768px){
          width: calc(50% - 16px);
        }
        li{
          &:not(:last-child){
            margin-bottom: 16px;
          }
          a{
            display: inline-block;
            line-height: 1.5;
            transition: 0.3s;
            @media (min-width: 769px){
              &:hover{
                opacity: 0.7;
              }
            }
          }
          a[target="_blank"]::after{
            content: "";
            display: inline-block;
            width: 10px;
            height: 10px;
            background: url( ../img/common/icon-blank.svg) no-repeat center;
            margin-left: 8px;
          }
        }
      }
    }
    .t-footer__map{
      @media (min-width: 769px){
        flex: 1;
      }
      @media (max-width: 768px){
        width: 100%;
      }
      .t-footer__map-heading{
        font-size: clamp(16px,2.6vw,20px);
        font-weight: bold;
        margin-bottom: 16px;
      }
      .t-footer__map-area{
        &:not(:last-child){
          margin-bottom: 16px;
        }
        .t-footer__map-title{
          margin-bottom: 8px;
          a{
            font-size: 14px;
          }
          a[href]{
            color: #1a73e8;
            text-decoration: underline;
            transition: 0.3s;
            @media (min-width: 769px){
              &:hover{
                opacity: 0.7;
              }
            }
          }
        }
        .t-footer__map-list{
          display: flex;
          flex-wrap: wrap;
          gap: 8px;
          a{
            font-size: 14px;
          }
          a[href]{
            color: #1a73e8;
            text-decoration: underline;
            transition: 0.3s;
            @media (min-width: 769px){
              &:hover{
                opacity: 0.7;
              }
            }
          }
        }
      }
    }
  }
}