@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: 768px) {
  .is-sp {
    display: block;
  }
}

.section-ttl {
  font-size: 32px;
  font-weight: 600;
  text-align: center;
  color: #333333;
  margin-bottom: 60px;
}

@media screen and (max-width: 768px) {
  .section-ttl {
    font-size: 28px;
    margin-bottom: 40px;
  }
}

/* パートナー個別ページ */
.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;
  }
  @media screen and (max-width: 768px) {
    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;
    }
  }
}

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

  /* intro: サービス説明 */
  .intro {
    margin: 0;
    padding: 40px 40px 60px;
    .item {
      margin: 0 auto;
      width: 100%;
      max-width: 1100px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      img {
        width: 30%;
      }
      .txt_box {
        width: 64%;
        .name {
          margin-bottom: 32px;
          font-size: 36px;
          font-weight: 600;
          line-height: 1.5;
        }
        .ttl {
          margin-bottom: 12px;
          font-size: 22px;
          font-weight: 600;
          line-height: 1.5;
        }
        .txt {
          font-size: 16px;
          line-height: 2;
        }
        .link {
          display: inline-block;
          margin-top: 20px;
          color: rgba(56, 138, 255, 1);
          font-size: 16px;
          font-weight: 400;
          text-decoration: underline;
        }
      }
    }
    @media screen and (max-width: 768px) {
      padding: 40px 28px;
      .item {
        display: block;
        img {
          width: 80%;
          margin: 0 auto 40px;
        }
        .txt_box {
          width: 100%;
          .name {
            margin-bottom: 32px;
            font-size: 24px;
          }
          .ttl {
            font-size: 20px;
            line-height: 1.6;
          }
          .txt {
            br {
              display: none;
            }
          }
          .url {
            font-size: 14px;
          }
        }
      }
    }
  }
  .feature {
    margin-top: 0;
    padding: 100px 40px 120px;
    background-color: rgba(243, 248, 252, 1);
    .section-ttl {
      & > span {
        color: #316545;
      }
    }
    .feature-list {
      margin: 0 auto;
      width: 100%;
      max-width: 1000px;
      .feature-list-item {
        padding: 40px 40px 60px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1);
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        &:not(:first-child) {
          margin-top: 32px;
        }
        &:nth-of-type(even) {
          flex-direction: row-reverse;
        }
        .txt_box {
          width: 52%;
          .ttl {
            padding-left: 16px;
            border-left: 5px solid #316545;
            position: relative;
            font-size: 22px;
            font-weight: 600;
            line-height: 1.6;
            color: rgba(51, 51, 51, 1);
            .sm{
              font-size: 12px;
            }
            br {
              display: none;
            }
          }
          .txt {
            margin-top: 16px;
            font-size: 16px;
            font-weight: 300;
            line-height: 2;
            color: rgba(51, 51, 51, 1);
          }
          .notes {
            margin-top: 20px;
            list-style: none;
            & > li {
              padding-left: 20px;
              position: relative;
              font-size: 14px;
              line-height: 1.6;
              &:before {
                content: "※";
                position: absolute;
                top: 0;
                left: 0;
              }
            }
          }
        }
        .img {
          flex-shrink: 0;
          width: 42.2%;
          aspect-ratio: 38/24;
        }
      }
    }
    @media screen and (max-width: 768px) {
      margin: 0;
      padding: 80px 28px;
      .feature-list {
        margin-bottom: 0;
        .feature-list-item{
          padding: 32px 24px 40px;
          flex-direction: column-reverse;
          &:not(:first-child) .item {
            margin-top: 32px;
          }
          &:nth-of-type(even) {
            flex-direction: column-reverse;
          }
          .img {
            width: 100%;
          }
          .txt_box {
            width: 100%;
            margin: 32px auto 0;
            .ttl {
              padding-left: 12px;
              border-left: 4px solid #FFA135;
              font-size: 20px;
              br {
                display: block;
              }
            }
          }
          img {
            width: 100%;
            margin: 0 auto;
          }
        }
      }
    }
  }
  .plans {
    margin: 0;
    padding: 80px 40px 40px;
    .wrap {
      margin: 0 auto;
      width: 100%;
      max-width: 1000px;
      .plans-list {
        display: flex;
        justify-content: space-between;
        .plans-list-item {
          padding: 60px 28px 40px;
          position: relative;
          width: 32.4%;
          border-radius: 20px;
          border: 2px solid #E4E4E4;
          &.-reco{
            border-color: #FFA135;
            &::before{
              margin: 0 auto;
              padding: 12px 20px 14px;
              position: absolute;
              top: -24px;
              left: 0;
              right: 0;
              content: "おすすめのプラン";
              display: inline-flex;
              width: 168px;
              height: 48px;
              border-radius: 24px;
              flex-direction: column;
              justify-content: center;
              align-items: center;
              background: #FFA135;
              color: #fff;
              font-size: 16px;
              font-weight: 700;
              line-height: 100%;
            }
          }
          .plan-hd {
            .ttl {
              text-align: center;
              font-size: 22px;
              font-weight: 700;
              line-height: 150%;
            }
            .txt {
              margin-top: 12px;
              height: 46px;
              display: block;
              text-align: center;
              color: #484848;
              font-size: 14px;
              font-weight: 400;
              line-height: 160%;
            }
          }
          .plan-body {
            margin-top: 32px;
            .plan-body-ttl {
              color: #316545;
              font-size: 14px;
              font-weight: 700;
              line-height: 100%;
              text-align: center;
            }
            .plan-body-price {
              margin-top: 16px;
              display: flex;
              justify-content: center;
              align-items: center;
              .discount {
                margin-right: 8px;
                width: 45px;
                aspect-ratio: 1;
              }
              .price {
                display: inline-flex;
                align-items: flex-end;
                font-family: Roboto;
                font-size: 40px;
                font-weight: 900;
                line-height: 1;
                .sm {
                  margin-left: 2px;
                  margin-bottom: 4px;
                  display: block;
                  font-size: 14px;
                  font-weight: 700;
                  letter-spacing: .025em;
                }
              }
            }
            .plan-body-default {
              margin-top: 12px;
              display: flex;
              justify-content: center;
              color: #5C5C5C;
              & > span {
                margin-left: 8px;
                display: inline-block;
                text-decoration: line-through;
              }
            }
          }
          .cta-button {
            margin-top: 32px;
            padding: 16px 40px 18px;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            color: #fff;
            background: #FFA135;
            border-radius: 4px;
            font-size: 16px;
            font-weight: 700;
            line-height: 1;
            transition: background-color .3s ease;
            &:hover {
              background: #E56000;
            }
          }
          .can-do-list {
            margin-top: 20px;
            & > li {
              color: #426077;
              display: flex;
              font-size: 14px;
              line-height: 1.6;
              &:not(:first-child){
                margin-top: 8px;
              }
              &::before{
                margin-top: 3px;
                margin-right: 8px;
                content: "";
                width: 18px;
                height: 18px;
                background: url(../images/i_cando.svg) no-repeat center center / cover;
              }
            }
          }
        }
      }
    }
    @media screen and (max-width: 768px) {
      margin: 0;
      padding: 60px 28px 20px;
      .wrap {
        .section-ttl {
          margin-bottom: 60px;
        }
        .plans-list {
          flex-direction: column;
          .plans-list-item {
            padding: 52px 24px 40px;
            width: 100%;
            &:not(.-reco) {
              margin-top: 20px;
            }
            &.-reco {
              order: -1;
            }
            .plan-hd {
              .txt {
                height: auto;
              }
            }
          }
        }
      }
    }
  }
  .options {
    margin: 50px auto;
    padding: 0 40px;
    .wrap{
      margin: 0 auto;
      width: 100%;
      max-width: 1000px;
      .section-ttl {
        margin-bottom: 32px;
        font-size: 26px;
        text-align: left;
      }
      .options_info {
        max-width: 1000px;
        margin: 0 auto;
        .sample {
          table {
            width: 1000px;
            border-collapse: collapse;
            border-spacing: 0;
            tbody {
              tr {
                &:first-child{
                  th {
                    padding: 16px 24px;
                    font-size: 15px;
                    background-color: #F7F7F7;
                    &:nth-child(1) {
                      width: 30%;
                    }
                    &:nth-child(2) {
                      width: 40%;
                    }
                    &:nth-child(3) {
                      width: 30%;
                    }
                  }
                }
                &:not(:first-child){
                  th, td {
                    font-size: 16px;
                    padding: 24px 24px;
                  }
                }
                th {
                  font-weight: 600;
                  border: 1px solid #ccc;
                  &:first-child {
                    text-align: left;
                  }
                }
                td {
                  font-size: 14px;
                  border: 1px solid #ccc;
                  &.price {
                    text-align: center;
                  }
                }
              }
            }
          }
        }
        .notes {
          margin-top: 16px;
          list-style: none;
          .notes__txt {
            margin-top: 4px;
            padding-left: 20px;
            position: relative;
            font-size: 14px;
            line-height: 1.6;
            &:before {
              content: "※";
              position: absolute;
              top: 0;
              left: 0;
            }
          }
        }
      }
    }
    @media screen and (max-width: 768px) {
      margin: 0;
      padding: 20px 28px;
      .wrap {
        .options_info {
          .sample{
            overflow-x: auto;
            table{
              width: 1000px;
              tbody{
                tr {
                  th,
                  td {
                    padding: 16px;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  .menu {
    margin: 0;
    padding: 40px 40px 120px;
    .wrap{
      margin: 0 auto;
      width: 100%;
      max-width: 1000px;
      .section-ttl {
        margin-bottom: 32px;
        font-size: 26px;
        text-align: left;
      }
      .menu_info {
        max-width: 1000px;
        margin: 0 auto;
        .sample {
          table {
            width: 100%;
            border-collapse: collapse;
            border-spacing: 0;
            tbody {
              tr {
                &:first-child{
                  th {
                    padding: 16px 24px;
                    font-size: 15px;
                    background-color: #F7F7F7;
                    &:nth-child(1) {
                      width: 28%;
                    }
                    &:nth-child(2) {
                      width: 72%;
                    }
                  }
                }
                &:not(:first-child){
                  th, td {
                    font-size: 16px;
                    padding: 24px 24px;
                  }
                }
                th {
                  font-weight: 600;
                  border: 1px solid #ccc;
                  &:first-child {
                    text-align: left;
                  }
                }
                td {
                  font-size: 14px;
                  border: 1px solid #ccc;
                  .notes {
                    list-style: none;
                    .notes__txt {
                      display: block;
                      margin-top: 8px;
                      padding-left: 20px;
                      position: relative;
                      font-size: 14px;
                      line-height: 1.6;
                      &:before {
                        content: "※";
                        position: absolute;
                        top: 0;
                        left: 0;
                      }
                    }
                  }
                  .report-button {
                    margin-top: 20px;
                    padding: ;
                    width: 312px;
                    height: 52px;
                    border-radius: 4px;
                    border: 1px solid #316545;
                    background: #fff;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    font-size: 16px;
                    font-weight: 600;
                    color: #316545;
                    transition: background .3s ease;
                    &::after{
                      margin-left: 8px;
                      display: block;
                      flex-shrink: 0;
                      content: "";
                      width: 20px;
                      height: 16px;
                      background: url(../images/i_overlay.svg) no-repeat center center / cover;
                    }
                    &:hover{
                      background: #EFFAF3;
                      cursor: pointer;
                    }
                  }
                }
              }
            }
          }
        }
      }
      .report-modal {
        margin: auto;
        border: none;
        width: 100%;
        height: 100%;
        background: none;
        max-width: 100%;
        max-height: 100%;
        overflow: auto;
        &::backdrop {
          background: #000C;
        }
        & .close-button {
          border: none;
          width: 2.5rem;
          height: 2.5rem;
          border-radius: 4px;
          background: url('data:image/svg+xml;charset=UTF-8,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M27.5265 14.7325C28.1512 14.1078 28.1512 13.0932 27.5265 12.4685C26.9018 11.8438 25.8872 11.8438 25.2625 12.4685L20 17.7361L14.7325 12.4735C14.1078 11.8488 13.0932 11.8488 12.4685 12.4735C11.8438 13.0982 11.8438 14.1128 12.4685 14.7375L17.7361 20L12.4735 25.2675C11.8488 25.8922 11.8488 26.9068 12.4735 27.5315C13.0982 28.1562 14.1128 28.1562 14.7375 27.5315L20 22.2639L25.2675 27.5265C25.8922 28.1512 26.9068 28.1512 27.5315 27.5265C28.1562 26.9018 28.1562 25.8872 27.5315 25.2625L22.2639 20L27.5265 14.7325Z" fill="white"/></svg>') no-repeat center center;
          position: absolute;
          top: .62rem;
          right: 1.25rem;
          cursor: pointer;
          transition: background .3s ease;
          &:hover {
            background:  url('data:image/svg+xml;charset=UTF-8,<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M27.5265 14.7325C28.1512 14.1078 28.1512 13.0932 27.5265 12.4685C26.9018 11.8438 25.8872 11.8438 25.2625 12.4685L20 17.7361L14.7325 12.4735C14.1078 11.8488 13.0932 11.8488 12.4685 12.4735C11.8438 13.0982 11.8438 14.1128 12.4685 14.7375L17.7361 20L12.4735 25.2675C11.8488 25.8922 11.8488 26.9068 12.4735 27.5315C13.0982 28.1562 14.1128 28.1562 14.7375 27.5315L20 22.2639L25.2675 27.5265C25.8922 28.1512 26.9068 28.1512 27.5315 27.5265C28.1562 26.9018 28.1562 25.8872 27.5315 25.2625L22.2639 20L27.5265 14.7325Z" fill="white"/></svg>') no-repeat center center,rgba(255, 255, 255, .1);
          }
        }
      }
      .modal-content {
        max-width: min(60.0962%, 32.5rem);
        height: 100%;
        display: flex;
        flex-direction: column;
        margin: auto;
        position: relative;
        & .images {
          margin: auto;
        }
        & .img {
          display: none;
          &.is-active {
            display: block;
          }
        }
        & .control-button {
          border: none;
          width: 3.25rem;
          height: 3.25rem;
          background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="52" height="53" viewBox="0 0 52 53" fill="none"><circle cx="26" cy="26.3999" r="26" fill="white"/><path fill-rule="evenodd" clip-rule="evenodd" d="M22.4184 17.663C22.9763 17.0772 23.8808 17.0772 24.4387 17.663L31.5816 25.163C32.1395 25.7488 32.1395 26.6985 31.5816 27.2843L24.4387 34.7843C23.8808 35.3701 22.9763 35.3701 22.4184 34.7843C21.8605 34.1985 21.8605 33.2488 22.4184 32.663L28.5511 26.2236L22.4184 19.7843C21.8605 19.1985 21.8605 18.2488 22.4184 17.663Z" fill="%23353535"/></svg>') no-repeat center center;
          background-size: 100% 100%;
          position: absolute;
          top: 0;
          bottom: 0;
          margin: auto;
          cursor: pointer;
          transition: opacity .3s ease;
          &.prev {
            left: -25.3846%;
            transform: rotate(180deg);
          }
          &.next {
            right: -25.3846%;
          }
          &:hover {
            opacity: .8;
          }
        }
        @media screen and (width <= 768px) {
          max-width: 32.5rem;
          padding: 1.25rem;
          gap: 1.25rem;
          & .images {
            margin: auto 0 0;
          }
          & .controls {
            display: flex;
            justify-content: center;
            gap: 1.25rem;
            margin: 0 0 auto;
          }
          & .control-button {
            position: static;
            margin: 0;
            width: 2.25rem;
            height: 2.25rem;
          }
        }
      }
    }
    @media screen and (max-width: 768px) {
      margin: 0;
      padding: 20px 28px 60px;
      .wrap {
        .menu_info {
          .sample{
            overflow-x: auto;
            table{
              width: 1000px;
              tbody{
                tr {
                  th,
                  td {
                    padding: 16px;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  .flow {
    margin: 0;
    padding: 0;
    background-color: rgba(243, 248, 252, 1);
    padding: 100px 40px 120px;
    .flow_step {
      margin: 35px auto 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      max-width: 1000px;
      list-style: none;
      .flow_step_card {
        position: relative;
        padding: 40px 28px;
        width: 31.2%;
        border-radius: 16px;
        text-decoration: none;
        box-sizing: border-box;
        background-color: #fff;
        box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.1);
        &:not(:nth-child(3n)):before {
          content: "";
          width: 0;
          height: 0;
          border-left: 20px solid #88B4EC;
          border-top: 20px solid transparent;
          border-bottom: 20px solid transparent;
          position: absolute;
          top: calc(50% - 20px);
          left: 100%;
        }
        .flow_info{
          display: flex;
          flex-direction: column;
          align-items: center;
          .flow_info__img{
            position: relative;
            width: 100%;
            &:before{
              content: "";
              display: block;
              padding-top: calc((145/256)*100%);
            }
            img {
              position: absolute;
              top: 0;
              right: 0;
              left: 0;
              bottom: 0;
              width: 100%;
            }
          }
          .flow_info__ttl {
            margin-top: 20px;
            font-size: 18px;
            color: #316545;
            font-weight: 700;
          }
          .flow_info__txt {
            margin-top: 12px;
            font-size: 16px;
            line-height: 1.8;
            color: rgba(51, 51, 51, 1);
          }
          .flow_info__notes {
            margin-top: 8px;
            list-style: none;
            & > li {
              padding-left: 20px;
              position: relative;
              font-size: 14px;
              line-height: 160%;
              &:before {
                content: "※";
                position: absolute;
                top: 0;
                left: 0;
              }
            }
          }
        }
      }
    }
    @media screen and (max-width: 768px) {
      padding: 60px 28px;
      .flow_step {
        width: 100%;
        height: auto;
        flex-direction: column;
        .flow_step_card {
          padding: 24px 40px 40px;
          width: 100%;
          &:nth-of-type(1n+2) {
            margin-top: 32px;
          }
          &:not(:last-child):before,
          &:not(:nth-child(3n)):before {
            content: "";
            width: 0;
            height: 0;
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
            border-top: 20px solid #88B4EC;
            position: absolute;
            top: 100%;
            left: calc(50% - 20px);
          }
        }
      }
      .flow_info__img {
        width: 60px;
      }
    }
  }

  /* register: 申し込みCTA */
  .register {
    margin: 0 !important;
    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;
    }
    .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: 768px) {
      padding: 60px 20px;
      .ttl {
        font-size: 28px;
      }
      .txt {
        margin-bottom: 28px;
        font-size: 14px;
        line-height: 2;
        text-align: left;
      }
      .btn {
        padding: 16px 20px;
        display: flex;
        justify-content: center;
        font-size: 18px;
      }
    }
  }
}