@charset "UTF-8";

body, html {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  /* font-family:  "Noto Sans Japanese",-apple-system,BlinkMacSystemFont,"Helvetica Neue",sans-serif; */
  font-family: "M PLUS Rounded 1c";
  font-style: normal;
  color: hsl(0, 0%, 29%);
  background-color: #f5f5f5;
  background-image: url("./img/bg.png");
}

@media screen and (max-width: 768px) {
  .spbr {
    display: block;
    content: "\A";
    white-space: pre;
  }
}

/** ------------------------------------------------------------
 * Header
 * ------------------------------------------------------------ */
header {
  background-color: #fff;
  .header-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px;
    position: relative;
  }
  .logo {
    display: flex;
    align-items: center;
  }
  .logo img {
    height: 40px;
  }
  .nav-menu {
    display: flex;
    gap: 2rem;
    .nav-link {
      text-decoration: none;
      color: #333;
      font-weight: 500;
      transition: color 0.3s ease;
    }
    .nav-link:hover {
      color: #007bff;
    }
  }
  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    span {
      width: 25px;
      height: 3px;
      background-color: #333;
      margin: 3px 0;
      transition: 0.3s;
    }
    &.active span:nth-child(1) {
      transform: rotate(-45deg) translate(-5px, 6px);
    }
    &.active span:nth-child(2) {
      opacity: 0;
    }
    &.active span:nth-child(3) {
      transform: rotate(45deg) translate(-5px, -6px);
    }
  }
  .mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 1rem;
    min-width: 200px;
    z-index: 1000;
    &.active {
      display: block;
    }
    .mobile-menu-link {
      display: block;
      text-decoration: none;
      color: #333;
      padding: 0.75rem 0;
      border-bottom: 1px solid #eee;
      font-weight: 500;
      transition: color 0.3s ease;
      &:last-child {
        border-bottom: none;
      }
      &:hover {
        color: #007bff;
      }
    }
  }
  @media (max-width: 768px) {
    .nav-menu {
      display: none;
    }
    .hamburger {
      display: flex;
    }
  }
  @media (min-width: 769px) {
    .hamburger {
      display: none !important;
    }
    .mobile-menu {
      display: none !important;
    }
  }  
}

/** ------------------------------------------------------------
 * Main
 * ------------------------------------------------------------ */
.main-inner {
  max-width: 600px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: #fff;
  box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
  .eyecatch {
    position: relative;
    width: 100%;
    height: 500px;
    background-color: #00a6ff;
    background-image: url("./img/kv_sp.png");
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
    @media screen and (max-width: 768px) {
      background-image: none;
    }
    .title {
      text-align: center;
      padding-top: 20px;
      padding-bottom: 20px;
      img {
        width: 300px;
      }
    }
    .action {
      text-align: center;
    }
    .feature-wrap {
      position: absolute;
      bottom: 0;
      display: flex;
      align-items: flex-end;
      justify-content: center;
      left: 50%;
      transform: translateX(-50%);
      .person {
        margin-bottom: -6px;
        @media screen and (max-width: 768px) {
          margin-bottom: -7px;
        }
        img {
          width: 220px;
        }
      }
      .feature {
        align-self: flex-start;
        margin-top: 20px;
        display: flex;
        @media screen and (max-width: 768px) {
          flex-direction: column;
          gap: 2px !important;
        }
        gap: 10px;
        .feature-item {
          img {
            width: 90px;
          }
        }
      }
    }
  }
  button.cv {
    cursor: pointer;
    border: none;
    color: #fff;
    display: inline-block;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.2);
    top: 298px;
    width: 83%;
    height: 56px;
    border-radius: 60px;
    font-size: 1.1rem;
    padding: 0;
    background-color: #F63261;
    border: none;
    box-shadow: 5px 5px 0px #AA0029;
    font-weight: bold;
    i {
      margin-right: 4px;
    }
  }
  .row {
    padding: 20px 30px;
    line-height: 1.8rem;
    &.blue {
      background-color: #00a6ff;
      box-shadow: inset 0 0 10px 0 rgba(0, 0, 0, 0.3);
      color: #fff;
      h2 {
        background-color: #FFD900 !important;
      }
    }
    &.black {
      background-color: #002256;
      color: #fff;
      h2 {
        background-color: #FFD900 !important;
      }
    }
    &.wide {
      @media screen and (max-width: 768px) {
        padding: 20px 0;
      }
    }
    hr {
      display: block;
      height: 6px;
      width: 60px;
      background-color: #00a6ff;
      background: linear-gradient(to right, #c8ff22, #00a6ff);
      margin: 10px auto;
      margin-bottom: 20px;
      box-shadow: none;
      outline: none;
      border: none;
    }
    .b {
      font-weight: bold;
      display: inline-block;
      background-color: #c8ff22;
      font-size: 1.1rem;
      line-height: 1.4rem;
    }
    .sub {
      font-size: 10px;
      color: #bbb;
      margin-left: 5px;
      line-height: 1.1rem;
    }
    h2 {
      text-align: center;
      font-size: 1.2rem;
      line-height: 1.4rem;
      background-color: #007bff;
      color: #fff;
      border-radius: 10px;
      margin-top: 0;
      &.black {
        background-color: #fff;
        color: #000;
      }
    }
    .list {
      ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
        li {
          margin: 10px 10px;
          border: 3px solid #F63261;
          border-radius: 10px;
          padding: 10px 20px;
          font-size: 14px;
          box-shadow: 0 0 10px 0 rgba(244, 0, 0, 0.3);
          h3 {
            font-size: 1.1rem;
            font-weight: bold;
            line-height: 1.2rem;
            color: #F63261;
            border-bottom: 2px solid #F63261;
            margin-top: 10px;
          }
          .wrap {
            display: flex;
            line-height: 1.6rem;
            @media screen and (max-width: 768px) {
              flex-direction: column;
              justify-content: center;
              align-items: center;
              line-height: 1.4rem;
            }
          }
          &.blue {
            border: 3px solid #00a6ff;
            box-shadow: 0 0 10px 0 rgba(0, 0, 244, 0.3);
            h3 {
              color: #00a6ff;
              border-bottom: 2px solid #00a6ff;
            }
          }
        }
      }
    }
    .tag {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
      list-style-type: none;
      padding: 0;
      margin: 0;
      li {
        background-color: #000;
        color: #fff;
        &:before {
          content: "#";
        }
        font-size: 14px;
      }
    }
    .step-list {
      list-style-type: none;
      padding: 0;
      margin: 0;
      li {
        display: flex;
        align-items: center;
        margin-bottom: 10px;
        .num {
          padding: 5px;
          width: 120px;
          height: 100px;
          background-color: #FFD900;
          text-align: center;
          .step {
            margin-top: 10px;
            font-size: 12px;
            font-weight: bold;
            background-color: #000;
            color: #fff;
            padding: 0px 10px;
            border-radius: 10px;
          }
          h4 {
            font-size: 14px;
            margin: 0;
            margin-top: 10px;
            padding: 0;
            color: #000;
          }
        }
        .txt {
          display: flex;
          align-items: center;
          width: calc(100% - 100px);
          background-color: #fff;
          color: #000;
          font-size: 14px;
          padding: 5px 10px;
          height: 100px;
          border-radius: 0 20px 20px 0;
          p {
            margin: 0;
            padding: 0;
          }
          .action {
            text-align: center;
          }
          .cv {
            font-size: 12px;
            width: 220px;
            height: 33px;
          }
        }
      }
      @media screen and (max-width: 768px) {
        .txt {
          font-size: 12px !important;
          line-height: 20px;
        }
      }
    }
    .jobs-wrapper {
      .jobs {
        display: flex;
        flex-wrap: nowrap;
        width: 100%;
        overflow-x: hidden;
        overflow-y: hidden;
        .job-item {
          position: relative;
          width: 120px;
          min-width: 120px;
          /* filter: grayscale(20%); */
          filter: saturate(80%) brightness(90%);
          img {
            width: 100%;
          }
          transform: scale(0.9);
          .label {
            position: absolute;
            padding: 0;
            text-align: center;
            background-color: #000;
            color: #fff;
          }
          &.job-item-main {
            transform: scale(1);
            filter: saturate(170%) brightness(110%);
            img {
              width: 100%;
            }
            .label {
              background-color: #F63261;
              /* color: #000; */
            }
          }
          
        }
      }
    }
    .story-wrap {
      .story-item {
        width: 100%;
        display: flex;
        gap: 10px;
        align-items: center;
        justify-content: center;
        margin-top: 20px;
        &:hover {
          .img {
            img {
              filter: saturate(200%);
            }
          }
        }
        .img {
          img {
            width: 120px;
            @media screen and (min-width: 768px) {
              filter: saturate(150%) brightness(110%);
            }
            transition: all 0.3s ease;
            border-radius: 5px;
          }
        }
        .txt {
          width: calc(100% - 100px);
          border-radius: 20px;
          padding: 10px;
          border: 2px solid #fff;
          text-align: center;
          h3 {
            font-size: 14px;
            padding: 0;
            margin: 0;
            @media screen and (max-width: 768px) {
              font-size: 12px;
              line-height: 1.4rem;
            }
          }
          a {
            color:#fff;
            background-color: #F63261;
            text-decoration: none;
            i {
              margin-right: 5px;
            }
          }
        }
      }
    }
    .qa {
      border: 2px solid #000;
      border-radius: 10px;
      padding: 10px;
      ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
      }
      li {
        margin-bottom: 10px;
      }
      .q {
        font-size: 14px;
        font-weight: bold;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 10px 5px;
        border-bottom: 1px solid #eee;
        cursor: pointer;
        .q-inner {
          &:before {
            content: "Q.";
            margin-right: 5px;
          }
        }
        .arrow {
          padding-right: 10px;
          width: 20px;
          i {
            font-size: 12px;
          }
        }
      }
      .a {
        font-size: 14px;
        font-weight: normal;
        padding: 10px 5px;
        padding-left: 20px;
        line-height: 1.6rem;
        &.hide {
          display: none;
        }
      }
    }
  }
}

/** ------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------ */
footer {
  background-color: #00a6ff;
  width: 100%;
  color: #fff;
  .footer-inner {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    @media screen and (max-width: 768px) {
      flex-direction: column;
    }
  }
  .logo {
    justify-self: center;
    text-align: center;
    padding: 20px;
    img {
      width: 180px;
    }
  }
  .link {
    padding: 20px;
    ul {
      list-style-type: none;
      padding: 0;
      margin: 0;
      li {
        margin: 10px 10px;
        font-size: 12px;
        a {
          color: #fff;
          text-decoration: none;
          &:visited {
            color: #fff;
          }
        }
      }
    }
  }
  .copyright {
    text-align: center;
    font-size: 12px;
    padding: 20px;
  }
}