/* reset styles */
html,
body,
p,
ul,
ol,
li,
nav {
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "筑紫B丸ゴシック";
  background-color: rgba(255, 255, 255);
}

nav {
  background: linear-gradient(rgba(255, 255, 255, 80), rgb(255, 255, 255, 0));
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  z-index: 500;
}

nav .wrapper {
  padding-top: 2px;
  width: 924px;
  /* #wrapper と同じ */
  max-width: 100%;
  margin: 0 auto;
  display: flex;
}

nav .logo {
  width: 230px;
  padding-top: 8px;
}

nav .logo .imglogo {
  height: 40px;
}

nav .bar {
  margin: 0 auto;
  text-align: center;
  width: 100%;
  max-width: 1200px;
  position: relative;
}

nav .logo h1.title {
  display: inline-block;
  height: 40px;
  line-height: 44px;
  font-size: 16px;
  font-weight: normal;
  color: rgb(41, 41, 41);
  margin: 0 0 0 6px;
  vertical-align: top;
}

nav ul.links {
  flex: 1;
  text-align: right;
}

nav ul.links li {
  font-size: 18px;
  list-style: none;
  display: inline-block;
  height: 100%;
  margin-left: 24px;
  padding: 15px 0 0;
}

nav ul.links li a {
  text-decoration: none;
  color: rgb(41, 41, 41);
}

nav ul.links li:hover {
  /* 下線の太さや色を指定 */
  border-bottom: 1px solid #ffffff;
}

.imgbar {
  max-width: 1200px;
  margin: 0 auto;
}

.top {
  background-image: url("../img/1_BG.png");
  background-size: cover;
}

.wrapper {
  /* TOP幅 */
  max-width: 1124px;

  margin: 0 auto;
  padding-top: 40px;
}

img {
  max-width: 100%;
}

#copy {
  padding: 25px 0 20px;
  text-align: center;
}
/*画像スライド*/
@keyframes slidy {
  0% { left: 0%; }
  3.4% { left: -100%; }
  17.2% { left: -100%; }
  20.6% { left: -200%; }
  34.4% { left: -200%; }
  37.8% { left: -300%; }
  51.6% { left: -300%; }
  55.0% { left: -400%; }
  68.8% { left: -400%; }
  73.2% { left: -500%; }
  87.0% { left: -500%; }
  90.4% { left: -600%; }
  100% { left: -600%; }
  }
body {
  margin: 0;
}
div#slider {
  overflow: hidden;
}

div#slider figure img {
  width: 14.28%;
  height: auto;
  float: left;
}

div#slider figure {
  position: relative;
  width: 700%;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  animation: 18s slidy infinite;
}

/*画像スライド*/

.top {
  width: 100%;
}

#top-obi {
  text-align: center;
  width: 100%;
  margin: -80px 0 -90px;
  z-index: 150;
  position: relative;
}

#top-obi * {
  z-index: 150;
}

.backgroundcolor-white {
  background-color: rgb(255, 255, 255);
  z-index: 250;
  position: relative;
}

.use-images .descriptions .text1 p {
  margin-bottom: 10px;
}

.use-images .descriptions .text1 .name {
  font-size: 28px;
  letter-spacing: 8px;
  margin-right: 8px;
}

.use-images .descriptions .imghito {}

.use-images .descriptions .imgbotan {}

.to-form_button {
  width: 60%;
  margin: 0 auto;
}

.to-form_button:hover {
  opacity: 0.7;
  color: white;
}

.zirei1 {
  position: relative;
}

.zirei-button1 {
  width: 15%;
  position: absolute;
  top: 39%;
  left: 80%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}
.zirei-button1 :hover{
  opacity: 0.7;
  color: white;
}

.zirei-button2 {
  width: 15%;
  position: absolute;
  top: 66%;
  left: 31%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}

.zirei-button2 :hover{
  opacity: 0.7;
  color: white;
}

.zirei-button3 {
  width: 15%;
  position: absolute;
  bottom: -1%;
  left: 80%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
}

.zirei-button3 :hover{
  opacity: 0.7;
  color: white;
}

.fa-external-link-alt {
  /* Font Awesome */
  color: rgb(255, 255, 255);
  width: 15%;
  position: absolute;
  top: 0;
  left: 0;
  top: 41%;
  left: 85%;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  z-index: 200;
}


.contents2 {
  z-index: 400;
  position: relative;
  width: 70%;
  margin: 0 auto;
}

.contents2 img {
  width: 100%;
  padding: 25px 0px;
}

.contents5 {
  z-index: 200;
  position: relative;
  background-color: #ECEAE5;
}

#p30 {
  padding: 30px;
}

#img5-3 {
  width: 50%;
  margin: 0 auto;
}


/* 機能紹介 横スクロール */
.horizontal-list {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

.item {
  display: inline-block;
  width: 30%;
  margin: 16px;
  font-size: 48px;
}

#img5-5 {
  width: 80%;
  margin: 0 auto;
  padding-top: 50px;
}


.plan-list {
  width: 100%;
  max-width: 100%;
  height: auto;
}

.banner {
  width: 100%;
  max-width: 100%;
  height: auto;
  padding: 80px 50px 75px;
}

/*----- まずはお気軽にご相談ください。-----*/

#to-form {
  padding: 20px 30px;
}

.button2 {
  padding: 20px 70px;
  background-color: rgb(201, 36, 55);
}

.bottom2 {
  padding: 50px 100px;
  background-color: rgb(201, 36, 55);
}

.imgwaku2 {
  background-color: #fff;
}

#imgbar5 {
  padding:  40px 40px 0px;
}

footer {
  width: 100%;
  height: 60px;
  text-align: center;
  padding: 20px 0;
}

/*---- v-crews.co.jpへのリンクテキスト*/

#corporate-site-link {
  size: 15px;
  text-decoration: underline;
  color: rgb(0, 0, 0);
}

#corporate-site-link:hover {
  color: rgb(255, 226, 59);
  text-decoration: underline;
}

/*-----------------------SP用設定-------------------------*/

.use-images-sp,
.form-button-sp {
  display: none;
}

.sp-use {
  display: none;
}

.pc-use {
  display: block;
}

@media screen and (max-width: 700px) {
  .sp-use {
    display: block;
  }

  .pc-use {
    display: none;
  }

  /*
  .nav .wrapper {
  width: 100%;
  }
  */

  /* ハンバーガーメニュー */
  .hamburger-menu {
    /*表示固定*/
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    z-index: 300;
    padding: 30px;
    /* #wrapper と同じ */
    width: 924px;
    /* #wrapper と同じ */
    max-width: 100%;
    margin: 0 auto;
    display: flex;
  }

  .menu-btn {
    position: fixed;
    top: 0px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
  }

  .menu-btn span,
  .menu-btn span:before,
  .menu-btn span:after {
    content: "";
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: rgb(201, 36, 55);
    position: absolute;
  }

  .menu-btn span:before {
    bottom: 8px;
  }

  .menu-btn span:after {
    top: 8px;
  }

  #menu-btn-check:checked~.menu-btn span {
    /* メニューオープン時は真ん中の線を透明にする */
    background-color: rgba(255, 255, 255, 0);
  }

  #menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
  }

  #menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
  }

  #menu-btn-check {
    display: none;
  }

  .menu-content {
    /* メニューリスト */
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    /* 画面外へ */
    left: 100%;
    z-index: 80;
    background-color: #000000;
    opacity: 0.7;
    /* アニメーション設定 */
    transition: all 0.5s;
  }

  .menu-content ul {
    padding: 70px 10px 0;
  }

  .menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
  }

  .menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 20px;
    box-sizing: border-box;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
  }

  .menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
  }

  #menu-btn-check:checked~.menu-content {
    /* メニューを画面内へ */
    left: 0;
  }

  .links .login,
  .use-images {
    display: none;
  }

  .use-images-sp,
  .form-button-sp {
    display: block;
  }

  #copy {
    margin: 0;
  }

  #copy img.imgFAN {
    max-width: 90%;
  }

  #slider {}

  #top-obi {
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    position: absolute;
    width: 100%;
    top: 115vw;
    left: 0vw;
    padding: 10px 0 0px;
    z-index: 300;
  }

  .backgroundcolor-red {
    background-color: rgb(201, 36, 55);
    padding-bottom: 0;
    margin: -40px 0 0;
    z-index: 250;
    position: relative;
  }

  .use-images-sp {
    display: table;
    width: 90%;
    margin: 0 auto;
    padding: 16px 0;
  }

  .use-images-sp .descriptions>* {
    display: table-cell;
    vertical-align: middle;
  }

  .use-images-sp .site-view img {
    width: 110px;
  }

  .use-images-sp .text {
    color: rgb(255, 255, 255);
    line-height: 1.6;
    text-align: left;
  }

  .use-images-sp .descriptions .text {
    padding: 0 0 0 10px;
  }

  .use-images-sp .descriptions .text .name {
    font-size: 22px;
    letter-spacing: 1px;
  }

  .use-images-sp .bottom {
    margin: 20px auto;
  }

  .use-images-sp .bottom .desc2 {
    font-size: 14px;
    padding: 10px 20px;
  }

  .imgbar {
    padding: 20px 0;
  }
  .imgbar_sp {
    width: 200%;
  }

  .contents2 {
    z-index: 200;
    position: relative;
    width: 100%;
    margin: 0 auto;
  }

  .contents2 img {
    padding: 20px 40px;
    width: 100%;
  }

  .to-form_button {
  width: 100%;
  margin: 0 auto;
  }

  .backgroundcolor-white {
    background-color: rgb(255, 255, 255);
    z-index: 250;
    position: relative;
  }


  /* 導入事例 SP */

  .zirei1 {
    position: relative;
  }

  .zirei-button1 {
    width: 50%;
    position: absolute;
    top: 35%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
  }

  .zirei-button2 {
    width: 50%;
    position: absolute;
    top: 65%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
  }

  .zirei-button3 {
    width: 50%;
    position: absolute;
    bottom: 2%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
  }

  .fa-external-link-alt {
    /* Font Awesome */
    color: rgb(255, 255, 255);
    width: 15%;
    position: absolute;
    top: 0;
    left: 0;
    top: 41%;
    left: 85%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    z-index: 200;
  }


  .flow_sp {
    padding-bottom: 40px;
  }

  .contents5_sp {
    width: 100%;
    z-index: 200;
    position: relative;
    background-color: #ECEAE5;
  }

  #img5-3 {
  width: 90%;
  margin: 0 auto;
}

.item {
  display: inline-block;
  width: 60%;
  margin: 2px;
  font-size: 48px;
}

#img5-5 {
  width: 100%;
  margin: 0 auto;
  padding-top: 50px;
}


  #to-form {
    padding: 20px 10px 0px;
  }

  footer {
    height: 60px;
  }

}