@charset "UTF-8";

/*--------------------------------------------------*/

/* firstView

/*--------------------------------------------------*/
.b-firstView {
  line-height: 0;
  position: relative;
  .inner {
    position: relative;
    width: 100%;
    height: 100%;
  }
  .e-movie {
    width: 100%;
  }
  .b-newsPost {
    width: 100%;
    padding: 20px 0;
    line-height: 1.6;
    background: rgb(255 255 255 / .9);
    backdrop-filter: blur(5px);
    a {
      display: flex;
    }
    .e-mds {
      font-size: min(4vw,16px);
      font-weight: 400;
      line-height: 1.5;
      padding-top: .05em;
      margin-bottom: 0;
    }
    .b-postDetail {
      display: flex;
      align-items: center;
      gap: 10px 20px;
    }
    .b-cat {
      .b-item {
        display: inline-block;
        min-width: 4em;
        padding: 0 .9em;
        text-align: center;
        font-family: var(--fontNum);
        font-size: min(3.5vw,14px);
        font-weight: 500;
        line-height: 1.5;
        letter-spacing: .01em;
        color: var(--blue);
        border: 1px solid var(--blue);
        border-radius: var(--r);
        background: #fff;
      }
    }
    data {
      font-size: min(3.5vw,14px);
      margin-top: .3em;
    }
  }
}
@media screen and (max-width: 767px) {
  .b-firstView {
    aspect-ratio: 4/3;
    .e-movie {
      aspect-ratio: 4/3;
      object-fit: cover;
      width: 100%;
      height: 100%;
    }
    .b-newsPost {
      a {
        flex-direction: column-reverse;
        gap: 5px;
      }
    }
  }
}
@media screen and (min-width: 768px) {
  .b-firstView {
    aspect-ratio: 1920/1080;
    .b-newsPost {
      position: absolute;
      z-index: 1;
      bottom: 0;
      left: 0;
      a {
        flex-direction: row-reverse;
        align-items: center;
        justify-content: flex-end;
        gap: 20px;
        .e-mds {
          transition: var(--transition);
        }
        &:hover {
          .e-mds {
            color: var(--blue);
            text-decoration: underline;
          }
        }
      }
    }
  }
}

/*--------------------------------------------------*/

/* searchBox

/*--------------------------------------------------*/
.b-main {
  .b-searchBox {
    padding: 50px 0;
    background: var(--bg);
    box-shadow: inset 0 5px 10px rgb(0 0 0 / .05);
    form {
      width: calc( 100% - 40px);
      max-width: 1260px;
      margin: auto;
    }
    .b-searchBoxInner {
      border: 1px solid var(--line-t);
      filter: drop-shadow(0 0 8px rgb(0 0 0 / .2));
      &::before {
        width: min(12.5vw,50px);
      }
      input[type="text"] {
        font-size: min(4.5vw,18px);
      }
    }
  } 
}
@media screen and (max-width: 767px) {
  .b-main {
    .b-searchBox {
      .b-searchBoxInner {
        height: 60px;
        padding-left: min(15vw,60px); 
        &::before {
          left: min(2vw,8px);
        }       
      }
    }
  }
}
@media screen and (min-width: 768px) {
  .b-main {
    .b-searchBox {
      .b-searchBoxInner {
        height: 70px;
        padding-left: 70px;
        &::before {
          left: 12px;
        }
      }
    }
  }
}

/*--------------------------------------------------*/

/* brandBox

/*--------------------------------------------------*/

.b-brandBox {
  display: grid;
  gap: 1px;
  .b-brandItem {
    background: #000;
    .b-img {
      position: relative;
      .e-img {
        overflow: hidden;
        img {
          object-fit: cover;
          width: 100%;
          height: 100%;
        }
      }
      .e-icon {
        display: block;
        position: absolute;
        z-index: 1;
        top: 20px;
        right: 20px;
      }
    }
    .b-brandName {
      padding-top: 40px;
      background: rgb(0 0 0 / .5);
      backdrop-filter: blur(5px);
      margin-bottom: 30px;
      color: #fff;
      text-align: center;
      .e-logo {
        width: 220px;
        margin: auto;
      }
      .e-txt {
        display: inline-block;
        font-size: min(4.5vw,18px);
        font-weight: 400;
        margin-top: 20px;
      }
    }
    .b-point {
      text-align: center;
      margin-left: auto;
      margin-right: auto;
      .e-caution {
        display: block;
        width: calc(100% - 30px);
        color: #fff;
        font-size: 12px;
      }
    }
    .b-btns {
      display: grid;
      grid-template-columns: repeat(2,1fr);
      width: calc( 100% - 30px);
      max-width: 460px;
      margin: 30px auto 0;
      padding-bottom: 40px;
      .b-btn {
        border: 1px solid #fff;
        background: #000;
        color: #fff;
      }
    }
  }
}
@media screen and (max-width: 767px) {
  .b-brandBox {
    .b-img {
      .e-icon {
        width: min(15vw,60px);
      }
    }
    .b-point {
      padding: 0 15px;
      .e-caution {
        margin-top: 1em;
      }
    }
    .b-btns {
      gap: 10px;
    }
  }
}
@media screen and (min-width: 768px) {
  .b-brandBox {
    .b-img {
      .e-img {
        overflow: hidden;
        img {
          transition: var(--transition);
        }
      }
      .e-icon {
        width: 80px;
      }
    }
    .b-brandItem {
      &:hover {
        .b-img {
          .e-img {
            img {
              transform: scale(1.1,1.1);
            }
          }
        }
      }
    }
    .b-point {
      position: relative;
      padding-bottom: 20px;
      .e-caution {
        display: block;
        position: absolute;
        bottom: 0;
      }
    }
    .b-btns {
      gap: 20px;
      .b-btn {
        &:hover {
          background: #fff;
          color: #000;
        }
      }
    }
  }
}
@media screen and (min-width: 768px) and (max-width: 1300px) {
  .b-brandBox {
    .b-point {
      aspect-ratio: 450/115;
      max-width: 450px;
    }
  }
}
@media screen and (max-width: 1000px) {
  .b-brandBox {
    grid-template-columns: repeat(1,1fr);
  }
}
@media screen and (min-width: 1001px) {
  .b-brandBox {
    grid-template-columns: repeat(2,1fr);
    .b-brandItem {
      .b-brandName {
        margin-top: -40px;
      }
    }
  }
}

/*--------------------------------------------------*/

/* b-strengths

/*--------------------------------------------------*/
.b-strengths {
  background: var(--txt-d);
  color: #fff;
  padding: 100px 0;
  text-align: center;
  .e-mds {
    font-size: min(10.5vw,42px);
    font-weight: 300;
  }
  .e-en {
    font-family: var(--fontEN);
    font-weight: 700;
    letter-spacing: .1em;
  }
  .e-subTtl {
    font-weight: 300;
    line-height: 1.5;
    margin-top: 50px;
    margin-bottom: 50px;
    span {
      display: inline-block;
    }
  }
  .e-lead {
    padding: 0 15px;
  }
  .b-btns {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    .b-btn {
      border: 1px solid #fff;
      background: none;
      color: #fff;
      &::after {
        border-color: #fff;
      }
    }
  }
}
@media screen and (max-width: 767px) {
  .b-strengths {
    .e-subTtl {
      font-size: min(6vw,24px);
    }
    .b-btn {
      width: calc(100% - 70px);
      max-width: 300px;
    }
  }
}
@media screen and (min-width: 768px) {
  .b-strengths {
    .e-subTtl {
      font-size: 28px;
    }
    .b-btn {
      width: 220px;
      &:hover {
        background: #fff;
        color: #000;
        &::after {
          border-color: #000;
        }
      }
    }
  }
}

/*--------------------------------------------------*/

/* b-OEM

/*--------------------------------------------------*/
.b-OEM {
  background: var(--bg);
  .inner {
    position: relative;
    &::before {
      content: "";
      display: block;
      background: url(../images/business_key_img-oem.jpg) center center / cover;
    }
  }
  .e-mds {
    font-size: min(15vw,60px);
    font-family: var(--fontEN);
    font-weight: 300;
    line-height: 1.5;
  }
  .e-lead {
    font-size: min(4.5vw,18px);
  }
  .b-btns {
    margin-top: 50px;
    .b-btn {
      background: none;
    }
  }
  .b-btns {
    &.m-bottom {
      display: flex;
      justify-content: center;
      padding: 80px 0;
      margin-top: 0;
    }
  }
}
@media screen and (max-width: 767px) {
  .b-OEM {
    text-align: center;
    .inner {
      &::before {
        aspect-ratio: 400/310;
        width: 100dvw;
        margin-left: 50%;
        transform: translateX(-50dvw);
      }
      .b-txts {
        padding-top: 50px;
      }
    }
    .b-btn {
      width: calc(100% - 70px);
      max-width: 300px;
      margin-left: auto;
      margin-right: auto;
    }
  }
}
@media screen and (min-width: 768px) {
  .b-OEM {
    .inner {
      padding: 165px 0;
      &::before {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        right: 460px;
      }
      .b-txts {
        margin-left: auto;
        margin-right: 0;
        width: 460px;
        padding-left: 70px;
      }
    }
    .b-btn {
      width: 220px;
      &:hover {
        background: #000;
      }
    }
  }
}

/*--------------------------------------------------*/

/* b-casestudy

/*--------------------------------------------------*/
.b-casestudy {
  padding: 80px 0;
  .b-mds {
    margin-bottom: 30px;
  }
  .e-mds {
    font-weight: 300;
  }
  .b-btns {
    margin-top: 50px;
    .b-btn {
      background: none;
    }
  }
  .b-btns {
    &.m-bottom {
      display: flex;
      justify-content: center;
      padding: 80px 0;
      margin-top: 0;
    }
  }
}
@media screen and (max-width: 767px) {
  .b-casestudy {
    .e-mds {
      font-size:min(8vw,32px);
    }
    .b-btn {
      width: calc(100% - 70px);
      max-width: 300px;
      margin-left: auto;
      margin-right: auto;
    }
  }
}
@media screen and (min-width: 768px) {
  .b-casestudy {
    .e-mds {
      font-size: 28px;
    }
    .b-btn {
      width: 220px;
      &:hover {
        background: #000;
      }
    }
  }
}
/* .b-casestudyList -------------*/
.b-casestudyList {
  display: grid;
  .b-item {
    a {
      display: flex;
      flex-direction: column-reverse;
      .b-img {
        margin-bottom: 15px;
        overflow: hidden;
        .e-img {
          aspect-ratio: 300/215;
          img {
            object-fit: cover;
            width: 100%;
            height: 100%;
          }
        }
      }
      .b-txts {
        display: flex;
        flex-direction: column-reverse;
        color: var(--txt);
        .b-postDetail {
          display: flex;
          flex-wrap: wrap;
          gap: 10px;
          margin-top: 10px;
          &>span {
            display: inline-block;
            background: var(--bg);
            font-size: min(3.75vw,15px);
            font-weight: 500;
            padding: .25em 1em;
          }
          .b-productData {
            line-height: 1.5;
            .e-brandName {
              display: inline-block;
              margin-right: 5px;
              font-family: var(--fontEN);
              letter-spacing: .1em;
              font-size: min(3.5vw,14px);
              font-weight: 300;
            }
            .e-productName {
              font-size: min(5vw,20px);
            }
          }
        }
      }
    }
  }
}
@media screen and (max-width: 767px) {
  .b-casestudyList {
    gap: 30px 10px;
    grid-template-columns: repeat(2,1fr);
  }
}
@media screen and (min-width: 768px) {
  .b-casestudyList {
    gap: 20px;
    grid-template-columns: repeat(4,1fr);
    a {
      transition: var(--transition);
      .e-img {
        transition: var(--transition);
      }
    }
  }
  
}