$main-color:#CB1408;
html,body
{
  font-size: 16px;
  font-weight: 400;
  line-height: 150%; 
  letter-spacing: 1.6px;

}


.slider
{
  overflow-x: auto;
  width: 100%;
}

#head
{
  padding:24px 24px;
  background-color: $main-color;
  #logo
  {
    a
    {
      display: block;
      picture
      {
        display: block;
        width:150px;
        height:50px;
        img
        {
          width: 100%;
          height: 100%;
          display: block;
          object-fit: contain;
          object-position: center;
        }
      }
    }
  }
  @media(min-width:1648px)
  {
    padding-left:calc(50% - 800px);
    padding-right:calc(50% - 800px);
  }
  @media(max-width:980px)
  {
    padding-top:12px;
    padding-bottom:12px;
    #logo
    {
      a
      {
        picture
        {
          width: 125px;
          height:25px;
        }
      }
    }
  }
}

#banner
{

  position: relative;
  text-align: center;
  padding:100px 24px;
  @media(min-width:1648px)
  {
    padding-left:calc(50% - 800px);
    padding-right:calc(50% - 800px);
  }

  picture
  {
    position: absolute;
    top:0;
    left:0;
    width: 100%;
    height: 100%;
    img
    {
      display: block;
      width: 100%;
      height: 100%;
      object-position: center;
      object-fit: cover;
    }
  }
  >div
  {
    position: relative;
    z-index: 1;
    h1
    {

      color:#fff;
      font-size: 22px;
      font-weight: 600;
      line-height: 150%;
      letter-spacing: 2px;
      margin-bottom:15px;
    }
    p
    {
      color:#fff;
      margin-bottom:15px;
      font-size:16px;
      line-height:30px;
    }
    .more
    {
      display: flex;
      justify-content:center;
      a
      {
        padding:10px 20px;
        color:#fff;
        border-radius: 5px;
        background-color: #07B53B;
      }
    }
  }

}



#service
{
  padding:50px 24px;
  text-align: center;
  @media(min-width:1248px)
  {
    padding-left:calc(50% - 600px);
    padding-right:calc(50% - 600px);
  }

  h2
  {
    font-size: 20px;

    font-weight: 600;
    line-height: 150%; /* 30px */
    letter-spacing: 2px;
    margin-bottom:60px;
  }

  .data-list
  {
    display: flex;
    flex-wrap: wrap;
    @media(max-width:1200px)
    {
      min-width: 1200px;
    }
    dl
    {
      margin-bottom:50px;
      margin-left: 25px;
      margin-right: 25px;
      width: calc((100% - 200px) / 5);
      &:nth-child(5n)
      {
        margin-right:0;
      }
      &:nth-child(5n + 1)
      {
        margin-left:0;
      }
      dt
      {
        font-size: 20px;
        font-weight: 400;
        line-height: 150%; /* 30px */
        letter-spacing: 2px;
        margin-bottom:15px;
        img
        {
          display: block;
          width: 50px;
          height:50px;
          object-fit: contain;
          object-position: center;
          margin:0 auto 15px auto;
        }
      }
      dd
      {

      }

    }
  }

}


#reason
{
  background-color: #F5F5F5;
  text-align: center;
  padding:50px 24px;
  
  @media(min-width:1248px)
  {
    padding-left:calc(50% - 600px);
    padding-right:calc(50% - 600px);
  }

  h2
  {
    font-size: 20px;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 2px;
    margin-bottom:60px;
    strong
    {
      color:$main-color;
    }
  }
  .data-list
  {
    display: flex;
    flex-wrap:wrap;

    >div
    {
      @media(min-width:768px)
      {
        width: 22%;
        margin-left:2%;
        margin-right:2%;
        margin-bottom:4%;
        &:nth-child(4n)
        {
          margin-right: 0;
        }
        &:nth-child(4n + 1)
        {
          margin-left: 0;
        }
      }
      @media(max-width:767px)
      {

        width: 49%;
        margin-left:1%;
        margin-right:1%;
        margin-bottom:2%;
        &:nth-child(2n)
        {
          margin-right: 0;
        }
        &:nth-child(2n + 1)
        {
          margin-left: 0;
        }
      }
      picture
      {
        margin-bottom:15px;
        display: block;
        img
        {
          display: block;
          width: 100%;
          object-fit: cover;
          object-position: center;
        }
      }
      h3
      {
        margin-bottom:15px;
        color:$main-color;
        font-size: 20px;
        font-weight: 400;
        line-height: 150%; /* 30px */
        letter-spacing: 2px;
      }
    }
  }
}

#idea
{
  padding:50px 24px;
  
  @media(min-width:1248px)
  {
    padding-left:calc(50% - 600px);
    padding-right:calc(50% - 600px);
  }
  .photo
  {
    picture
    {
      display: block;
      img
      {
        display: block;
        width: 100%;
        object-fit: cover;
        object-position: center;
      }
    }
  }
  .article
  {
    h2
    {
      margin-bottom:24px;
      font-size: 20px;
      font-weight: 600;
      line-height: 150%; /* 30px */
      letter-spacing: 2px;

    }
  }

  @media(min-width:768px)
  {
    display: flex;
    align-items:center;
    position: relative;
    
    &::after
    {
      width: calc(50% - 50px);
      content:' ';
      height:100px;
      background-color: $main-color;
      display: block;
      position: absolute;
      top:calc(50% - 50px);
      left:0;
    }
    .photo
    {
      position: relative;
      z-index:1;
      width: calc(50% - 50px);
      margin-right:50px;
      display: flex;
      align-items:flex-end;
      picture
      {
        flex:1;
        &:first-child
        {
          padding-right:20px;
        }
        &:last-child
        {
          margin-bottom:100px;
        }
      }
    }
    .article
    {
      width: 50%;
      padding:50px 0 50px 0;
    }
  }
  @media(max-width:767px)
  {
    .photo
    {
      padding-left:20%;
      margin-bottom:50px;
      position: relative;
    
      &::after
      {
        width: calc(100% + 48px);
        content:' ';
        height:200px;
        background-color: $main-color;
        display: block;
        position: absolute;
        top:calc(50% - 100px);
        left:-24px;
      }
      picture
      {
        z-index:1;
        position: relative;
        &::before
        {
          content:' ';
          padding-top:100%;
          display: block;
        }
        display: block;
        margin-bottom: 15px;
        img
        {
          position: absolute;
          top:0;
          left:0;
          display: block;
          width: 100%;
          height: 100%;
        }
      }
    }
  
  }

}

#feedback
{
  padding:50px 24px;
  background-color: #F5F5F5;
  @media(min-width:1248px)
  {
    padding-left:calc(50% - 600px);
    padding-right:calc(50% - 600px);
  }

  h2
  {
    font-size: 20px;
    font-weight: 600;
    line-height: 150%; /* 30px */
    letter-spacing: 2px;
    margin-bottom:50px;
  }
  .data-list
  {
    >div
    {
      display: flex;
      margin-bottom:20px;
      picture
      {
        display: block;
        width: 110px;
        height:110px;
        img
        {
          display: block;
          width: 100%;
          height:100%;
          object-fit: cover;
          object-position: center;
          border-radius: 100%;
        }
      }
      >div
      {
        flex:1;
        padding-left:20px;
        h3
        {
          font-size: 20px;
          font-weight: 400;
          line-height: 150%; /* 30px */
          letter-spacing: 2px;
          margin-bottom:15px;
        }
      }
    }
  }
  @media(min-width:768px)
  {
    .data-list
    {
      display: flex;
      >div
      {
        margin:0 20px;
        width: calc((100% - 80px) / 3);
        &:nth-child(3n)
        {
          margin-right:0;
        }
        &:nth-child(3n + 1)
        {
          margin-left:0;
        }
        picture
        {
          width: 110px;
        }
        picture
        {
          width: 110px;
        }
      }
    }
  }
  
}
#foot-form
{
  padding-top:80px;
  padding-bottom:80px;
  padding-right:24px;
  padding-left:24px;
  @media(min-width:1024px)
  {
    padding-right:calc(50% - 488px);
    padding-left:calc(50% - 488px);
  }
  h2
  {
    margin-bottom:24px;
    font-size: 24px;
    font-weight: 700;
    line-height: 24px; /* 150% */
    letter-spacing: 0.64px;
  }
  *[data-dh-form]
  {
    .form-group
    {
      margin-bottom:24px;
      label
      {
        display: block;
      }
      input,textarea
      {
        font-size: 16px;
        font-weight: 400;
        line-height: 24px; /* 150% */
        letter-spacing: 0.64px;
        display: block;
        width: 100%;
        border:0px;
        padding:10px 12px;
        border-bottom:1px solid #D8DAE5;
      }
      textarea
      {
        height:300px;
      }
      &.has-error
      {
        label
        {
          code
          {
            color:#a00;
            padding-left:10px;
          }
          input,textarea,select
          {
            border-color:#a00;
          }
        }
      }
    }
    .form-btn
    {
      display: flex;
      justify-content:flex-end;
      button
      {
        border:1px solid #C4C9D5;
        background-color: #fff;
        color:$main-color;
        padding:12px 21px;
        border-radius: 4px;
        cursor: pointer;
        transition-duration:.5s;
        &:hover
        {
          background-color: $main-color;
          color:#fff;
        }
      }
    }
  }
}
#foot
{
  padding:24px 24px;
  background-color: $main-color;
  .logo
  {
    a
    {
      display: block;
      picture
      {
        display: block;
        width:150px;
        height:50px;
        img
        {
          width: 100%;
          height: 100%;
          display: block;
          object-fit: contain;
          object-position: center;
        }
      }
    }
  }

  .socil-list
  {
    padding-top:24px;
    li
    {
      a
      {
        color:#fff;
      }
    }
  }
  @media(min-width:1648px)
  {
    padding-left:calc(50% - 800px);
    padding-right:calc(50% - 800px);
  }

}

#contact-list
{
  position: fixed;
  right:10px;
  bottom:10px;
  z-index:5000;
  width: 50px;
  h4
  {
    text-align: center;
    margin-bottom:10px;
    font-size:12px;
    letter-spacing: 0;
    background-color: #f1f1f1;
    border-radius: 5px;
  }
  ul
  {
    li
    {
      margin-bottom:10px;
      a
      {
        width:50px;
        height:50px;
        color:#fff;
        text-align: center;
        display: block;
        line-height:50px;
        border-radius: 5px;
        font-size:30px;
      }
    }
  }
  
}