@charset "UTF-8";

/* リキッドレイアウト対応 */
html {
  font-size: 16px;
}

@media (max-width: 375px) {
  html {
    font-size: 4.2666666667vw;
  }
}

/* ホバー */
a {
  text-decoration: none;
  color: inherit;
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* Remove default padding */
ul,
ol {
  list-style: none;
  padding: 0;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
ul,
ol,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Set core root defaults */
html {
  scroll-behavior: smooth;
}

/* Make images easier to work with */
.partner-contents img,
.partner-detail img {
  max-width: 100%;
  display: block;
  width: 100%;
}

.is-sp {
  display: none;
}

@media screen and (max-width: 640px) {
  .is-sp {
    display: block;
  }
}

.section-ttl {
  margin-bottom: 60px;
  font-size: 36px;
  text-align: center;
  line-height: 1.5;
  @media screen and (max-width: 640px) {
    margin-bottom: 28px;
    font-size: 24px;
    br {
      display: none;
    }
  }
}

/* パートナー個別ページ */

.mv {
  background: url(../../web-development/images/main.png) no-repeat center center;
  background-size: cover;
  padding: 45px 40px;
  .lead {
    margin: 0 auto 8px;
    max-width: 1100px;
    font-size: 20px;
    font-weight: 500;
    line-height: 2;
    color: #fff;
  }
  .ttl {
    margin: 0 auto;
    max-width: 1100px;
    font-size: 44px;
    font-weight: 600;
    line-height: 1.5;
    color: #fff;
    .-sm{
      font-size: 30px;
    }
  }
  @media screen and (max-width: 640px) {
    padding: 28px 0;
    .lead {
      margin: 0 auto 4px;
      padding: 0 20px;
      font-size: 13px;
      line-height: 1.6;
    }
    .ttl {
      padding: 0 20px;
      font-size: 24px;
      word-break: keep-all;
      .-sm{
        font-size: 16px;
      }
    }
  }
}

/* partner-detail: 下層ページ */
.partner-detail {

  /* 共通パーツ */
  .section-hd{
    .section-hd-ttl{
      font-size: 36px;
      text-align: center;
      line-height: 1.5;
      @media screen and (max-width: 640px) {
        font-size: 24px;
        br {display: none;}
      }
    }
    .section-hd-body{
      margin-top: 20px;
      font-size: 16px;
      line-height: 1.8;
    }
    &.-center{
      .section-hd-body{
        text-align: center;
        @media screen and (max-width: 640px) {
          text-align: left;
        }
      }
    }
  }

  /* intro: サービス説明 */
  .intro {
    margin: 0;
    padding: 40px;
    .item {
      margin: 0 auto;
      width: 100%;
      max-width: 1200px;
      display: flex;
      align-items: center;
      img {
        margin-right: 100px;
        width: 28%;
        max-width: 300px;
      }
      .txt_box {
        .name {
          margin-bottom: 32px;
          font-size: 36px;
          font-weight: 600;
          line-height: 1.5;
          .name-sm {
            font-size: 24px;
          }
        }
        .ttl {
          margin-bottom: 12px;
          font-size: 22px;
          font-weight: 600;
          line-height: 1.8;
        }
        .txt {
          font-size: 16px;
          line-height: 1.8;
          color: #5C5C5C;
        }
        .text-link {
          margin-top: 16px;
          display: inline-flex;
          align-items: center;
          text-decoration: underline;
          color: #0F30DF;
          gap: 4px;
          transition: all .4s ease;
          &::after{
            margin-top: 4px;
            content: "";
            display: block;
            width: 16px;
            height: 16px;
            background: url(../images/icon_external-link.svg) no-repeat center center;
            background-size: 100% 100%;
          }
          &:hover {
            opacity: .8;
          }
        }
      }
    }
    @media screen and (max-width: 640px) {
      padding: 40px 20px;
      .item {
        display: block;
        img {
          width: 92%;
          max-width: 360px;
          margin: 0 auto;
        }
        .txt_box {
          .name {
            margin-bottom: 32px;
            font-size: 24px;
            .name-sm {
              font-size: 16px;
            }
          }
          .ttl {
            font-size: 20px;
            line-height: 1.6;
          }
        }
      }
    }
  }

  /* campaign: キャンペーンバナー */
  .campaign {
    margin: 0;
    padding: 0 0 60px;
    .campaign-ul{
      margin: 0 auto;
      width: 100%;
      max-width: 760px;
      .ul-li{
        width: 100%;
        aspect-ratio: 760/140;
        border-radius: 8px;
        border: 1px solid #E4E4E4;
        overflow: hidden;
        .link{
          display: block;
          width: 100%;
          height: 100%;
          transition: all .4s ease;
          img{
            width: 100%;
            height: 100%;
          }
          &:hover{
            opacity: .8;
          }
        }
      }
    }
    @media screen and (max-width: 640px) {
      padding: 0 0 2px;
      .campaign-ul{
        .ul-li{
          border-radius: 0;
          border: none;
        }
      }
    }
  }

  /* company: 運営会社説明 */
  .company {
    margin: 0;
    padding: 60px 40px 80px;
    .company-wrap {
      margin: 0 auto;
      width: 100%;
      max-width: 1000px;
      display: flex;
      align-items: center;
      .company-sample {
        flex-shrink: 0;
        width: 26%;
        max-width: 280px;
        aspect-ratio: 280/180;
      }
      .company-desc {
        margin-left: 80px;
        width: 100%;
        .desc-logo{
          .desc-logo-ttl{
            padding: 6px 12px 8px;
            display: inline-block;
            font-size: 16px;
            font-weight: 600;
            line-height: 1;
            color: #fff;
            background: #388AFF;
            border-radius: 2px;
          }
          .desc-logo-img{
            width: 80%;
            max-width: 280px;
            aspect-ratio: 280/100;
          }
        }
        .desc-ttl{
          font-size: 22px;
          font-weight: 600;
        }
        .desc-body{
          margin-top: 12px;
          font-size: 16px;
          line-height: 1.8;
          color: #5C5C5C;
        }
      }
    }
    @media screen and (max-width: 640px) {
      padding: 60px 20px;
      .company-wrap {
        flex-direction: column;
        .company-sample {
          width: 100%;
          max-width: 280px;
        }
        .company-desc {
          margin: 20px 0 0;
          .desc-logo{
            .desc-logo-ttl{
              padding: 6px 12px 8px;
              font-size: 15px;
            }
            .desc-logo-img{
              width: 100%;
              max-width: 200px;
            }
          }
          .desc-ttl{
            font-size: 20px;
            line-height: 1.6;
          }
          .desc-body{
            margin-top: 12px;
          }
        }
      }
    }
  }

  /* features: 特徴 */
  .features{
    margin: 0;
    padding: 60px 40px 80px;
    background-color: #F3F8FC;
    .features-ul{
      margin: 0 auto;
      width: 100%;
      max-width: 1100px;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      gap: 32px;
      & > .ul-li{
        width: 31%;
        padding: 24px 20px;
        background: #388AFF;
        .ul-li-ttl{
          color: #fff;
          font-size: 20px;
          line-height: 1.6;
          text-align: center;
          .-lg{
            font-size: 24px;
            font-weight: 600;
            text-decoration: underline;
          }
        }
      }
    }
    @media screen and (max-width: 640px) {
      padding: 60px 20px;
      .features-ul{
        flex-direction: column;
        gap: 16px;
        & > .ul-li{
          width: 100%;
          padding: 16px 20px;
          .ul-li-ttl{
            font-size: 18px;
            line-height: 1.6;
            .-lg{
              font-size: 22px;
            }
          }
        }
      }
    }
  }

  /* qleanmarket-menu: QleanMarket用の価格表 */
  .qleanmarket-menu {
    margin: 0;
    padding: 60px 40px 80px;
    .qleanmarket-menu-wrap {
      margin: 0 auto;
      width: 96%;
      max-width: 1280px;
      .qleanmarket-menu-list{
        margin: 52px auto 0;
        width: 100%;
        .menu-item{
          width: 100%;
          border: 1px solid #88B4EC;
          &:not(:first-child){
            margin-top: 40px;
          }
          .menu-item-hd{
            padding: 40px 40px 48px;
            background: #F3F8FC;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            cursor: pointer;
            &:hover {
              .hd-toggle {
                background: #428eff;
              }
            }
            &.-active {
              .hd-toggle img {
                transform: scaleY(-1);
              }
              & + .menu-item-plan-list {
                height: auto;
                padding: 60px 40px;
              }
            }
            .hd-toggle {
              width: 60px;
              height: 60px;
              border-radius: 50%;
              display: flex;
              justify-content: center;
              align-items: center;
              flex-shrink: 0;
              background: #0F30DF;
              transition: all .4s ease;
              img {
                transform-origin: 0;
                width: 20px;
                height: 20px;
                transition: all .4s ease;
              }
            }
            .hd-wrap{
              margin: 0 auto;
              width: 100%;
              max-width: 1100px;
              .hd-wrap-ttl{
                font-size: 36px;
                font-weight: 600;
                line-height: 1.4;
              }
              .hd-wrap-body{
                margin-top: 8px;
                font-size: 16px;
                line-height: 1.8;
                color: #5C5C5C;
              }
            }
          }
          .menu-item-plan-list{
            padding: 0 40px;
            border-top: none;
            height: 0;
            overflow: hidden;
            transition: all .4s ease;
            .plan-item{
              &:not(:first-child){
                margin-top: 60px;
              }
              .plan-item-merit {
                width: 100%;
                .merit-ttl {
                  font-size: 30px;
                  font-weight: 600;
                  line-height: 1.5;
                  text-align: center;
                  br{
                    display: none;
                  }
                }
                .merit-ul {
                  margin-top: 40px;
                  display: flex;
                  justify-content: center;
                  gap: 40px;
                  width: 100%;
                  & > .ul-li {
                    width: 100%;
                    max-width: 380px;
                    .merit-img {
                      position: relative;
                      width: 100%;
                      max-width: 380px;
                      padding: 34px 30px;
                      background: #F3F8FC;
                      .merit-img-wrap {
                        width: 100%;
                        aspect-ratio: 320 / 180;
                        img {
                          width: 100%;
                        }
                      }
                    }
                    .merit-detail {
                      margin-top: 16px;
                      br{
                        display: none;
                      }
                      .merit-detail-ttl {
                        font-size: 22px;
                        font-weight: 600;
                        line-height: 1.6;
                        text-align: center;
                      }
                      .merit-detail-body {
                        margin-top: 8px;
                        font-size: 16px;
                        line-height: 1.8;
                      }
                    }
                  }
                }
              }
              .plan-item-hd{
                margin: 0 auto 40px;
                width: 100%;
                max-width: 1100px;
                .plan-ttl{
                  font-size: 30px;
                  font-weight: 600;
                  line-height: 1.6;
                  color: #388AFF;
                }
                .plan-body{
                  margin-top: 8px;
                  font-size: 16px;
                  line-height: 1.8;
                  color: #5C5C5C;
                  .text-link {
                    display: inline-flex;
                    align-items: center;
                    text-decoration: underline;
                    color: #0F30DF;
                    transition: all .4s ease;
                    &::after{
                      margin-top: 4px;
                      content: "";
                      display: block;
                      width: 16px;
                      height: 16px;
                      background: url(../images/icon_external-link.svg) no-repeat center center;
                      background-size: 100% 100%;
                    }
                    &:hover {
                      opacity: .8;
                    }
                  }
                }
              }
              .plan-item-table{
                margin: 0 auto;
                width: 100%;
                max-width: 1100px;
                .table-wrap {
                  width: 100%;
                }
              }
              .table-notes-ul{
                margin-top: 20px;
                & > .ul-li{
                  position: relative;
                  display: flex;
                  gap: 4px;
                  font-size: 14px;
                  line-height: 1.6;
                  &::before{
                    content: "※";
                    flex-shrink: 0;
                  }
                }
              }
            }
          }
        }
      }
    }
    @media screen and (max-width: 640px) {
      padding: 60px 20px;
      .qleanmarket-menu-wrap {
        margin: 0 auto;
        width: 100%;
        .qleanmarket-menu-list{
          .menu-item{
            &:not(:first-child){
              margin-top: 16px;
            }
            .menu-item-hd{
              padding: 32px 16px;
              gap: 16px;
              &.-active {
                & + .menu-item-plan-list {
                  padding: 40px 16px;
                }
              }
              .hd-toggle {
                width: 44px;
                height: 44px;
                img {
                  width: 16px;
                  height: 16px;
                }
              }
              .hd-wrap{
                .hd-wrap-ttl{
                  font-size: 24px;
                }
              }
            }
            .menu-item-plan-list{
              padding: 0 20px;
              .plan-item{
                &:not(:first-child){
                  margin-top: 40px;
                }
                .plan-item-merit {
                  .merit-ttl {
                    font-size: 24px;
                    br{
                      display: block;
                    }
                  }
                  .merit-ul {
                    margin-top: 24px;
                    gap: 12px;
                    & > .ul-li {
                      .merit-img {
                        padding: 24px 12px;
                        .merit-img-wrap {
                        }
                      }
                      .merit-detail {
                        margin-top: 8px;
                        .merit-detail-ttl {
                          font-size: 18px;
                          line-height: 1.5;
                          br{
                            display: block;
                          }
                        }
                        .merit-detail-body {
                          font-size: 15px;
                          line-height: 1.7;
                        }
                      }
                    }
                  }
                }
                .plan-item-hd{
                  margin-bottom: 24px;
                  .plan-ttl{
                    font-size: 24px;
                  }
                }
                .plan-item-table{
                  .table-wrap {
                    overflow-x: scroll;
                  }
                }
              }
            }
          }
        }
      }
    }
  }

  /* table: 価格・スペック表 */
  table.table-01 {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    .table-tr {
      display: flex;
      flex-wrap: nowrap;
      height: 100px;
      border-top: solid 1px #EAEAEA;
      &:last-child{
        border-bottom: solid 1px #EAEAEA;
      }
      th {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        width: 100px;
        font-size: 16px;
        font-weight: 600;
      }
      td {
        display: inline-flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 12px;
        width: 20%;
        .td-plan-ttl{
          font-size: 20px;
          font-weight: 600;
          line-height: 1;
        }
        span {
          font-size: 14px;
          font-weight: 400;
          line-height: 1;
          strong {
            margin-right: 2px;
            font-size: 20px;
          }
        }
        small {
          font-size: 14px;
          font-weight: 400;
          line-height: 1;
        }
      }
    }
    @media screen and (max-width: 640px) {
      width: 890px;
      .table-tr {
        th {
          width: 90px;
        }
      }
    }
  }
  .table-02{
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: solid 1px #EAEAEA;
    thead{
      .table-tr {
        display: flex;
        flex-wrap: nowrap;
        height: 60px;
        background: #F6F6F6;
        border-bottom: solid 1px #EAEAEA;
        .table-tr-hd {
          flex: 1;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          font-size: 16px;
          font-weight: 600;
          &:not(:first-child) {
            border-left: 1px solid #EAEAEA;
          }
        }
        .table-tr-body {
          flex: 1;
          display: flex;
          justify-content: center;
          align-items: center;
        }
      }
    }
    tbody{
      .table-tr{
        display: flex;
        flex-wrap: nowrap;
        height: 80px;
        &:not(:first-child) {
          border-top: solid 1px #EAEAEA;
        }
        .table-tr-hd {
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          gap: 2px;
          font-size: 14px;
          font-weight: 600;
          &.-flex-1{flex: 1;}
          &.-flex-3{flex: 3;}
          b {
            font-size: 16px;
            font-weight: 600;
          }
          small {
            font-size: 14px;
            font-weight: 400;
          }
        }
        .table-tr-body {
          display: flex;
          justify-content: center;
          align-items: center;
          gap: 2px;
          font-size: 16px;
          font-style: normal;
          &.-flex-1{flex: 1;}
          &.-flex-3{flex: 3;}
          &:not(:first-child) {
            border-left: 1px solid #EAEAEA;
          }
          strong {
            font-size: 20px;
          }
          small {
            margin-top: 4px;
            font-size: 14px;
          }
        }
      }
    }
    @media screen and (max-width: 640px) {
      width: 800px;
    }
  }

  /* flow-5: 5つのステップ */
  .flow-5 {
    margin: 0;
    padding: 60px 40px 80px;
    background-color: #F3F8FC;
    .flow-5-wrap {
      margin: 0 auto;
      width: 100%;
      max-width: 1000px;
      .flow-5-ul {
        position: relative;
        margin-top: 60px;
        display: flex;
        justify-content: space-between;
        &::before {
          position: absolute;
          top: 85px;
          content: "";
          width: 100%;
          height: 4px;
          background: #88B4EC;
        }
        & > .ul-li {
          position: relative;
          width: 170px;
          .flow-5-icon {
            width: 170px;
            height: 170px;
            background: #fff;
            border-radius: 50%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            box-shadow: 0px 2px 60px 0px rgba(17, 51, 139, 0.06);
            .flow-5-icon-step {
              font-size: 18px;
              font-weight: 600;
              color: #388AFF;
              line-height: 1;
            }
            .flow-5-icon-img {
              margin-top: 12px;
              position: relative;
              display: block;
              width: 80px;
              aspect-ratio: 1;
              img {
                position: absolute;
                top: 0;
                right: 0;
                bottom: 0;
                left: 0;
                width: 100%;
                height: 100%;
              }
            }
          }
          .flow-5-body {
            margin-top: 20px;
            font-size: 15px;
            line-height: 1.8;
          }
        }
      }
    }
    @media screen and (max-width: 640px) {
      padding: 60px 20px;
      .flow-5-wrap {
        .flow-5-ul {
          margin-top: 32px;
          flex-direction: column;
          gap: 20px;
          &::before {
            top: 0;
            left: 50px;
            width: 4px;
            height: 90%;
          }
          & > .ul-li {
            width: 100%;
            display: flex;
            gap: 16px;
            .flow-5-icon {
              width: 100px;
              height: 100px;
              flex-shrink: 0;
              .flow-5-icon-step {
                font-size: 13px;
              }
              .flow-5-icon-img {
                margin-top: 0;
                width: 56px;
              }
            }
            .flow-5-body {
              margin-top: 0;
              color: #5C5C5C;
            }
          }
        }
      }
    }
  }

  /* benefit: 特典 */
  .benefit {
    margin: 0;
    padding: 60px 40px 80px;
    .benefit-wrap {
      margin: 0 auto;
      width: 100%;
      max-width: 1000px;
      .benefit-ul {
        margin-top: 52px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        & > .ul-li{
          display: flex;
          width: 100%;
          border-radius: 8px;
          border: 1px solid #FFA135;
          overflow: hidden;
          .benefit-label {
            width: 240px;
            background: #FFA135;
            color: #fff;
            font-size: 24px;
            font-weight: 600;
            line-height: 1;
            text-align: center;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;
            .-num{
              margin-left: 4px;
            }
          }
          .benefit-detail {
            width: 100%;
            padding: 20px 24px 24px;
            .detail-campaign {
              margin-bottom: 4px;
              padding: 4px 8px 6px;
              display: inline-block;
              background: #FF2C2C;
              color: #fff;
              font-size: 14px;
              font-weight: 600;
              line-height: 1;
              border-radius: 4px;
            }
            .detail-ttl {
              font-size: 24px;
              font-weight: 600;
              line-height: 1;
              .-cancel {
                position: relative;
                &::before{
                  content: "";
                  width: 100%;
                  height: 2px;
                  background: #FF2C2C;
                  position: absolute;
                  bottom: 15px;
                  left: 0;
                  right: 0;
                }
              }
              .-campaign {
                display: inline-flex;
                align-items: flex-end;
                position: absolute;
                &::before{
                  content: "";
                  display: block;
                  width: 24px;
                  height: 24px;
                  background: url(../images/icon_right-arrow.svg) no-repeat center center;
                  background-size: 100% 100%;
                }
              }
              .-color {
                margin-left: 2px;
                color: #FF2C2C;
              }
              .-lg {
                font-size: 36px;
              }
              br{
                display: none;
              }
            }
            .detail-ul {
              display: flex;
              flex-direction: column;
              gap: 4px;
              margin-top: 20px;
              & > .ul-li {
                display: flex;
                gap: 4px;
                position: relative;
                font-size: 14px;
                letter-spacing: 1.6;
                &::before {
                  flex-shrink: 0;
                  content: "※";
                }
              }
            }
          }
        }
      }
    }
    @media screen and (max-width: 640px) {
      padding: 60px 20px;
      .benefit-wrap {
        margin: 0 auto;
        width: 100%;
        max-width: 1000px;
        .benefit-ul {
          margin-top: 32px;
          & > .ul-li{
            .benefit-label {
              padding: 12px 16px;
              width: 72px;
              font-size: 20px;
              flex-direction: column;
              .-num{
                margin: 4px 0 0;
              }
            }
            .benefit-detail {
              padding: 20px 16px;
              .detail-campaign {
                margin-bottom: 8px;
                padding: 5px 8px 6px;
                font-size: 13px;
              }
              .detail-ttl {
                line-height: 1.4;
                font-size: 20px;
                .-cancel {
                  &::before{
                    bottom: 12px;
                  }
                }
                .-campaign {
                  &::before{
                    margin-bottom: 2px;
                  }
                }
                .-lg {
                  font-size: 24px;
                }
                br{
                  display: block;
                }
              }
              .detail-ul {
                margin-top: 12px;
              }
            }
          }
        }
      }
    }
  }

  /* register: 申し込みCTA */
  .register {
    margin: 0;
    padding: 60px 40px;
    background: url(../../web-development/images/main.png) no-repeat center center;
    background-size: cover;
    &.-sakura-setting{
      .txt{
        margin: 28px 0 0;
      }
    }
    .ttl {
      margin-bottom: 25px;
      font-size: 36px;
      font-weight: 600;
      text-align: center;
      color: #fff;
      word-break: keep-all;
    }
    .txt {
      margin-bottom: 32px;
      font-size: 16px;
      line-height: 2;
      text-align: center;
      color: #fff;
    }
    .memo {
      margin-top: 20px;
      font-size: 16px;
      line-height: 2;
      text-align: center;
      color: #fff;
    }
    .btn {
      position: relative;
      display: inline-block;
      font-size: 20px;
      font-weight: 700;
      color: #fff;
      background-color: #FFA135;
      border: 2px solid #FFA135;
      border-radius: 5px;
      left: 50%;
      transform: translateX(-50%);
      padding: 16px 72px;
      transition: .3s;
      &:not(.-disabled):hover {
        color: #FFA135;
        background-color: #fff;
        border: 2px solid #FFA135;
      }
      &.-disabled{
        padding: 16px 20px;
        background: #DEDEDE;
        color: #388AFF;
        text-align: center;
        border: none;
        word-break: keep-all;
      }
    }
    @media screen and (max-width: 640px) {
      padding: 60px 20px;
      .ttl {
        font-size: 28px;
      }
      .txt {
        margin-bottom: 28px;
        font-size: 14px;
        line-height: 2;
        text-align: left;
      }
      .memo {
        margin-top: 20px;
        font-size: 14px;
        line-height: 2;
      }
      .btn {
        padding: 16px 20px;
        display: flex;
        justify-content: center;
        font-size: 18px;
      }
    }
  }
}