@charset "UTF-8";

:root {
  --font-black: #282828;
  --si-blue: #0d3f86;
  --si-yellow: #fff545;
  --back-purple: #f2f6ff;
  --disc-color: #1ebabb;
}

html {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  color: var(--font-black);
}

body {
  margin: 0;
  overflow-x: hidden;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

p {
  font-size: clamp(0.656rem, 0.054rem + 3.01vw, 1.5rem);
  @media screen and (768px < width) {
    font-size: 1rem;
  }
}

.pc {
  display: none;
  @media screen and (768px < width) {
    display: block;
  }
}

.sp {
  display: block;
  @media screen and (768px < width) {
    display: none;
  }
}

.bold {
  font-weight: 600;
}

.inner {
  width: 100%;
  max-width: 1064px;
  margin: 0 auto;
  padding: 0 8px;
  @media screen and (680px < width) {
    padding: 0 24px;
  }
}

.font-yellow {
  color: var(--si-yellow);
}

header {
  background-color: #1f1f1f;
  height: 60px;
  @media screen and (768px < width) {
    .inner {
      max-width: 1364px;
      margin: 0 auto;
    }
  }
  @media screen and (1062px < width) {
  .pc-left {
    margin-left: 64px;
    }
  }
  .logo {
    width: min(50%, 245px);
    height: 60px;
    display: flex;
    align-items: center;
  }
}

.fv {
  color: white;
@media screen and (1062px < width) {
  .pc-left {
    padding-left: 64px;
  }
}
  .inner {
    position: relative;
    margin-top: -62%;
    @media screen and (768px < width) {
      max-width: 1364px;
      height: 678px;
      margin: 0 auto;
      background-image: url(../img/fv.png);
      background-repeat: no-repeat;
      background-position: top right;
      background-size: contain;
      p {
        font-size: 18px;
        margin: 21px auto 34px;
      }
    }
    @media screen and (996px < width) {
      p {
        font-size: 19px;
      }
    }
    @media screen and (996px < width < 1364px) {
      background-color: rgba(255, 255, 255, 0.4);
      background-blend-mode: overlay;
      transition: 1s;

      p {
        color: var(--si-blue);
      }
    }
  }

  h1 {
    font-size: clamp(1.75rem, 0.009rem + 8.71vw, 4.188rem);
    color: var(--si-blue);
    line-height: 1.3;
    margin: 0;
    @media screen and (768px < width) {
      font-size: 52px;
    }
    span {
      display: inline-block;
      background-color: white;
      line-height: 1;
      padding-bottom: 3px;
      box-shadow: 0px 0px 3px 2px rgba(202, 202, 202, 0.35);
    }
    .small {
      font-size: clamp(1.5rem, 0.25rem + 6.25vw, 3.25rem);
      @media screen and (768px < width) {
        font-size: 40px;
      }
    }
  }

    @media screen and (1364px < width) {
      .pc-blue {
        color: var(--si-blue);
      }
    }

  .contact {
    div {
      width: 70%;
      text-align: center;
      margin: 8% auto 0;
      @media screen and (768px < width) {
        max-width: 272px;
        margin: 0;
      }
      a {
        display: block;
        font-size: clamp(1rem, 0.33rem + 3.35vw, 1.938rem);
        border-radius: 50px;
        margin-top: 1em;
        padding: 0.5em;
        font-weight: 600;
        @media screen and (768px < width) {
          font-size: 26px;
          margin-top: 0;
        }
      }

    }

    .bg-blue a{
      background-color: var(--si-blue);
      color: white;
      box-shadow: 0px 1px 9px 5px rgba(255, 255, 255, 0.25);
    }
    @media screen and (768px < width) {
      .bg-yellow {
        margin-left: 16px;
      }
    }
    .bg-yellow a{
      background-color: var(--si-yellow);
      color: var(--font-black);
    }
  }
}

section {
  position: relative;
  padding: 60px 0 90px;
  &::before {
    position: absolute;
    content: "";
    background-size: cover;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    @media screen and (768px < width) {
      top: 86px;
    }
  }
  @media screen and (768px < width) {
    padding: 90px 0;
  }

  .headline {
    position: absolute;
    top: 56px;
    left: 50%;
    transform: translateX(-50%);
    @media screen and (768px < width) {
      top: 86px;
    }
  }

  h2 {
    font-size: clamp(1.125rem, 0.277rem + 4.24vw, 2.313rem);
    position: relative;
    text-align: center;
    @media screen and (768px < width) {
      font-size: 30px;
      margin-bottom: 40px;
    }
  }
}

.reason {
  &::before {
    background-image: url(../img/reason.png);
    width: 45vw;
    height: 7.5vw;
    max-width: 260px;
    max-height: 45px;
  }
  .reason-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    @media screen and (769px < width) {
      justify-content: space-around;
    }
    @media screen and (1032px < width) {
      align-items: flex-start;
    }

    li {
      width: 48%;
      border: 2px solid var(--si-blue);
      border-radius: 12px;
      box-shadow: 4px 4px 0px 0px rgba(13, 63, 134, 1);
      padding: 4% 3% 3%;

      @media screen and (768px < width) {
        width: 25%;
        max-width: 237px;
        padding: 40px 20px 24px;
        P {
          font-size: 15px;
        }
      }
      @media screen and (1032px < width) {
        height: 344px;
        padding: 40px 20px 24px;
        &:nth-of-type(2),
        &:nth-of-type(4) {
          margin-top: 20px;
        }
      }

      &:first-of-type,
      &:nth-of-type(2) {
        margin-bottom: 4%;
        @media screen and (768px < width) {
          margin-bottom: 0;
        }
      }

      h3 {
        font-size: clamp(0.875rem, 0.205rem + 3.35vw, 1.813rem);
        text-align: center;
        @media screen and (768px < width) {
          font-size: 21px;
          line-height: 1.3;
          margin: 0.5em;
        }
      }

      .icon {
        text-align: center;
        img {
          width: min(50%, 124px);
          @media screen and (768px < width) {
            width: 79px;
          }
        }
      }
    }
  }

}

.security {
  background-image: url(../img/security_bk_repeat.jpg);
  background-repeat: repeat;

  &::before {
    background-image: url(../img/security_sp.png);
    width: 54vw;
    height: 15.5vw;
    max-width: 485px;
    max-height: 144px;
    @media screen and (768px < width) {
      background-image: url(../img/security.png);
      width: 688px;
      height: 43px;
      max-width: none;
      max-height: none;
      top: 95px;
    }
  }
  .headline {
    width: 100%;
    text-align: center;
    picture {
      width: 100%;
    }
    img {
      width: min(70%, 485px);
    }
  }

  .security-img {
    background-color: white;
    border-radius: 12px;
    text-align: center;
    padding: 32px 0;

    img {
      width: min(90%, 678px);
    }

  }
  p {
    font-size: clamp(0.688rem, 0.063rem + 3.13vw, 1.563rem);
    margin-top: 2em;
    @media screen and (768px < width) {
      font-size: 1rem;
      max-width: 780px;
      margin: 2em auto;
    }
  }
}

.features {
  background-image: linear-gradient(90deg, rgba(232, 239, 255, 1), rgba(217, 229, 255, 1));
  &::before {
    background-image: url(../img/features.png);
    width: 54vw;
    height: 8vw;
    max-width: 398px;
    max-height: 59px;
    @media screen and (768px < width) {
      width: 282px;
      height: 40px;
      max-width: none;
      max-height: none;
      top: 90px;
    }
  }
  .back-top {
    position: absolute;
    opacity: 0.5;
    width: 50%;
    top: 0;
    left: 0;
    @media screen and (768px < width) {
      width: auto;
    }
  }
  .back-down {
    position: absolute;
    opacity: 0.5;
    width: 50%;
    bottom: 0;
    right: 0;
    @media screen and (768px < width) {
      width: auto;
    }
  }

  .strengths {
    position: relative;

    @media screen and (768px < width) {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }

    li {
      @media screen and (768px < width) {
        width: 47%;
        max-width: 375px;
        &:nth-of-type(odd){
          margin-right: 16px;
        }
        &:nth-of-type(even){
          margin-top: 36px;
          margin-left: 16px;
        }
      }
      .img {
        position: relative;
        width: 82%;
        margin: 0 auto;
        box-shadow: 6px 6px 0px 0px rgba(179, 196, 232, 1);
        border-radius: 48px;
        line-height: 1;
        @media screen and (768px < width) {
          width: 100%;
        }
        .strength-title {
          position: absolute;
          bottom: -3.5%;
          left: 6%;
          line-height: 1.5;

          div img{
            width: min(24%, 74px);
            @media screen and (768px < width) {
              width: 89px;
            }
          }
          h3 {
            font-size: clamp(1.25rem, 0.134rem + 5.58vw, 2.813rem);
            margin: 0;
              @media screen and (768px < width) {
                font-size: 30px;
              }
            span {
              display: inline-block;
              background-color: var(--si-yellow);
              line-height: 1;
            }
          }
        }
      }

      .bold {
        width: 75%;
        margin: 8% auto;
        font-size: clamp(0.719rem, 0.071rem + 3.24vw, 1.625rem);
        @media screen and (768px < width) {
          width: 88%;
          font-size: 1rem;
        }
      }
    }
  }
}

.charge {
  background-color: var(--back-purple);
  text-align: center;

  &::before {
    background-image: url(../img/charge.png);
    width: 48vw;
    height: 8.2vw;
    max-width: 344px;
    max-height: 59px;
    @media screen and (768px < width) {
      width: 263px;
      height: 43px;
      max-width: none;
      max-height: none;
    }
  }

  @media screen and (768px < width) {
    h2 {
      margin-top: 16px;
    }
    .charge-list {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
    }
  }

  .charge-list >li {
    position: relative;
    width: 80%;
    background-color: white;
    border-radius: 12px;
    padding: 10% 0 8%;
    margin: 16% auto 0;
    box-shadow: 0px 0px 3px 2px rgba(202, 202, 202, 0.35);
    @media screen and (768px < width) {
      flex: 1;
      width: auto;
      max-width: 326px;
      padding: 28px 0 56px;
      margin: 0 auto;
    }

    h3 {
      position: absolute;
      width: 80%;
      background-color: var(--si-blue);
      color: white;
      font-size: clamp(1.125rem, 0.5rem + 3.13vw, 2rem);
      top: -1em;
      left: 50%;
      transform: translateX(-50%);
      border-radius: 50px;
      line-height: 1;
      margin: 0;
      padding: 0.5em 0;
      @media screen and (768px < width) {
        font-size: 21px;
      }
      &::before {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -10px;
        border: 10px solid transparent;
        border-top: 10px solid var(--si-blue);
      }
    }

    h4 {
      color: var(--si-blue);
      font-size: clamp(1.625rem, 0.196rem + 7.14vw, 3.625rem);
      line-height: 1;
      margin: 0.5em auto;
      @media screen and (768px < width) {
        font-size: 32px;
        margin: 28px auto;
      }
      @media screen and (881px < width) {
        font-size: 38px;
      }
      span {
        font-size: clamp(0.875rem, 0.071rem + 4.02vw, 2rem);
        @media screen and (768px < width) {
          font-size: 18px;
        }
        @media screen and (881px < width) {
          font-size: 21px;
        }
      }
    }

    &:nth-of-type(2) h4{
     font-size: clamp(1.125rem, 0.366rem + 3.79vw, 2.188rem);
      @media screen and (768px < width) {
        font-size: 23px;
        margin: 35.5px auto;
      }
    }

    ul {
      display: inline-block;
      text-align: left;
      font-size: clamp(0.75rem, 0.08rem + 3.35vw, 1.688rem);
      @media screen and (768px < width) {
        font-size: 16px;
      }
      @media screen and (881px < width) {
        font-size: 18px;
      }

      li {
        position: relative;
        padding-left: 1em;
        margin-bottom: 0.5em;

        &::before {
          position: absolute;
          display: block;
          content: "●";
          left: -0.5em;
          color: var(--disc-color);
        }

        &:last-of-type {
          margin-bottom: 0;
        }

      }
    }
  }

  .inner > p {
    margin-top: 2em;
    @media screen and (768px < width) {
      max-width: 780px;
      margin: 2em auto 0;
    }
  }
}

.flow {
  text-align: center;
  &::before {
    background-image: url(../img/flow.png);
    width: 36vw;
    height: 8.5vw;
    max-width: 178px;
    max-height: 45px;
    @media screen and (768px < width) {
      width: 176px;
      height: 43px;
      max-width: none;
      max-height: none;
    }
  }

  ul {
    position: relative;
    @media screen and (768px < width) {
      display: flex;
      flex-wrap: nowrap;
      &.step:first-of-type{
        justify-content: left;
        li {
          margin-right: min(1.1vw, 16px);
          &:last-of-type {
            margin-right: 0;
          }
        }
      }
      &.step:last-of-type{
        justify-content: right;
        li {
          margin-left: min(1.1vw, 16px);
          &:first-of-type {
            margin-left: 0;
          }
        }
      }
    }
    &::after {
      position: absolute;
      display: block;
      content: "";
      background-color: var(--si-blue);
      width: 4px;
      height: 90%;
      top: 4%;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1;
      @media screen and (768px < width) {
        width: 100%;
        height: 8px;
        top: 50%;
        transform: translateY(-50%);
        left: 0;
        z-index: 1;
      }
    }
    &.step:last-of-type::after {
      top: -10%;
      @media screen and (768px < width) {
        width: 100%;
        height: 8px;
        top: 50%;
        transform: translateY(-50%);
        right: 0;
        z-index: 1;
      }
    }

    li {
      position: relative;
      border: 2px solid var(--si-blue);
      border-radius: 50%;
      width: 70vw;
      max-width: 478px;
      height: 70vw;
      max-height: 478px;
      margin: 0 auto;
      background-image: linear-gradient(149deg, rgba(255, 255, 255, 1) 50%, rgba(246, 249, 255, 1) 50%);
      padding: 12% 0;
      margin-top: 8%;
      z-index: 2;
      @media screen and (768px < width < 880px) {
        width: 30vw;
        height: 30vw;
        padding: 4% 0;
        margin: 0;
      }
      @media screen and (881px < width) {
        width: 275px;
        height: 275px;
        padding: 35px 0;
        margin: 0;
      }
    }

    .step-num {
      text-align: center;
      img {
        width: min(24%, 99px);
      }
    }

    h3 {
      font-size: clamp(1.25rem, 0.446rem + 4.02vw, 2.375rem);
      line-height: 1;
      margin: 0.5em auto;
      @media screen and (768px < width) {
        font-size: 21px;
        margin: 18px auto;
      }
    }

    p {
      font-size: clamp(0.75rem, 0.125rem + 3.13vw, 1.625rem);
      @media screen and (768px < width) {
        font-size: 12px;
      }
      @media screen and (881px < width) {
        font-size: 15px;
      }
    }
  }
}

.voice {
  background-color: var(--back-purple);
  &::before {
    background-image: url(../img/voice.png);
    width: 34vw;
    height: 7.8vw;
    max-width: 257px;
    max-height: 59px;
    @media screen and (768px < width) {
      width: 196px;
      height: 43px;
      max-width: none;
      max-height: none;
      top: 96px;
    }
  }
  @media screen and (974px < width) {
    .inner {
      max-width: 984px;
    }
    .voice-list{
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap;
      li {
        width: 296px;
        max-width: 296px;
      }
    }
  }
  .hukidashi {
    background-image: url(../img/hukidashi_sp.png);
    background-size: contain;
    background-repeat: no-repeat;
    padding-bottom: 3%;
    @media screen and (768px < width < 974px) {
      width: 710px;
      height: 308px;
      margin: 0 auto;
    }
    @media screen and (974px < width) {
      width: 296px;
      height: 279px;
      background-image: url(../img/hukidashi_pc.png);
    }
    p {
      width: 90%;
      margin: 0 auto;
      padding: 10% 0 8%;
      font-size: clamp(0.719rem, 0.071rem + 3.24vw, 1.625rem);
      font-weight: 600;
      @media screen and (768px < width) {
        font-size: 28px;
        padding: 48px min(13%, 36px) 0;
      }
      @media screen and (974px < width) {
        width: 100%;
        font-size: 1rem;
        padding: 56px min(13%, 36px) 0;
      }
    }
    .bg-yellow {
      color: var(--si-blue);
      background-color: var(--si-yellow);
    }
  }

  .voice-customer {
    display: flex;
    align-items: center;
    width: 85%;
    margin: 4% auto 8%;
    @media screen and (974px < width) {
      flex-direction: column-reverse;
      margin: 16px auto 0;
    }

    &:last-of-type {
      margin-bottom: 0;
    }

    div:first-of-type {
      width: 60%;
      @media screen and (768px < width) {
        text-align: right;
        margin-right: 1em;
      }
      @media screen and (974px < width) {
        width: 100%;
        text-align: center;
      }
      p {
        margin: 0;
      }
      .company {
        font-size: clamp(1rem, 0.196rem + 4.02vw, 2.125rem);
        @media screen and (974px < width) {
          font-size: 21px;
          font-weight: bold;
        }
      }
    }
    .voice-human {
      width: 40%;
      @media screen and (974px < width) {
        text-align: center;
        width: 100%;
      }
    }
  }
}

footer {
  position: relative;
  background-image: url(../img/footer_sp.jpg);
  background-size: cover;
  color: white;
  text-align: center;
  padding: 10% 0 12%;

  @media screen and (768px < width) {
    padding: 82px 0 93px;
  }

  .inner {
    width: 90%;
    margin: 0 auto;
    @media screen and (878px < width) {
      width: 100%;
      max-width: 880px;
      flex-direction: column;
    }
  }

  h2 {
    font-size: clamp(1rem, 0.063rem + 4.69vw, 2.313rem);
    margin: 0;
  }

  ul li {
    border-bottom: 1px solid white;
    &:last-of-type {
      border: none;
    }
    @media screen and (768px < width) {
      flex: 1;
      border-bottom: none;
      border-right: 1px solid white;
      &:last-of-type {
        border: none;
      }
    }
  }

  @media screen and (768px < width) {
    .flex {
      display: flex;
      margin-bottom: 23px;
    }
  }

  .flex-sp {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    @media screen and (768px < width) {
        flex-direction: column;
    }
    h3 {
      width: 45%;
      font-size: clamp(1.75rem, 0.545rem + 6.03vw, 3.438rem);
      line-height: 1;

      @media screen and (768px < width) {
        font-size: 43px;
        width: 100%;
        margin: 43px auto 0;
      }
      span {
        font-size: clamp(1.125rem, 0.634rem + 2.46vw, 1.813rem);
        font-weight: normal;
        @media screen and (768px < width) {
          font-size: 23px;
        }
      }
    }
    p {
      width: 55%;
      font-size: clamp(0.75rem, 0.08rem + 3.35vw, 1.688rem);
      text-align: left;
      @media screen and (768px < width) {
        width: 100%;
        text-align: center;
        font-size: 1rem;
      }
    }
  }

  .sup {
    margin-top: 0;
  }

  .tel {
    font-size: clamp(2.5rem, 0.089rem + 12.05vw, 5.875rem);
    line-height: 1;
    margin: 0.5em auto 0;
    @media screen and (768px < width) {
      font-size: 70px;
    }
  }

  .tb {
    display: none;
    @media screen and (768px < width < 878px) {
        display: block;
    }
  }

  .company {
    font-size: clamp(1rem, 0.107rem + 4.46vw, 2.25rem);
    font-weight: 600;
    @media screen and (768px < width) {
      font-size: 1.8rem;
    }
  }

  small {
    @media screen and (768px > width) {
      font-size: clamp(0.656rem, 0.054rem + 3.01vw, 1.5rem);
    }
  }
}

/* pagetop */
.pagetop {
  display: none;
  position: fixed;
}
@media print, screen and (min-width: 768px) {
  .pagetop {
    bottom: 20px;
    right: 20px;
  }
}
@media only screen and (max-width: 767px) {
  .pagetop {
    bottom: 8px;
    right: 8px;
  }
}
.pagetop a,
.pagetop img {
  display: block;
}
.pagetop img {
  width: 40px;
}
