body{
    font-family: "fot-tsukubrdgothic-std", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin: 0 auto;
    background-color: #f5f5f5;
}


/* ヘッダー */
/*PCメニュー*/
header{
  width: 100%;
  box-sizing: border-box;
  transition: padding .5s, background-color .5s; /* 背景色と高さをじんわり変更 */
  transition: .3s;
  padding: 0 26px;
  align-items: center;
  z-index: 999;
  position: absolute;
  top: 0;
  left: 0;
}
/* ファーストビューを過ぎたあとのヘッダー */
.header.transform {
  background-color: #fff; /* 背景色変更 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 26px;
}

#header {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}
#header h1 {
  margin-right: auto;
  width: 355px;
  margin-top: 0;
  margin-bottom: 0;
}
@media screen and (max-width: 900px) {
  #header h1 {
    width: 255px;
  }

}
@media screen and (max-width: 500px) {
  #header h1 {
    width: 165px;
  }

}
.head-logo img{
    width: 100%;
    margin-top: 15px;
}
#header #navi {
  margin-top: 10px;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  list-style: none;
}
#header #navi li {
  margin: 0 15px;
  line-height: 100%;
  font-size: 1vw;
  letter-spacing: 2px;
  list-style: none;
}
#header #navi li a {
  color: #000;
  text-decoration: none;
}
.square{
  background:#000;
  padding:0.25em;
  padding-left: 1em;
  padding-right: 1em;
  border: solid 1px #000;
  color:white;
}
/*PCメニュー*/
/*SPメニュー*/
@media screen and (max-width: 1050px) {
  /* bager menu */
  #header #navi {
    transition: all 0.6s;
    overflow-y: auto;
    /*padding-top: 40px;
    width: 300px;*/
    height: 100vh;
    z-index: 200;
    top: 0;
    right: -320px;
    background-color: #fff;
    position: fixed;
    flex-direction: column;
    align-items: center;
    padding: 150px 0;
  }
  #header #navi li {
    padding: 20px;
    font-size: 18px;
  }
  #header .nav_btn {
    width: 44px;
    height: 44px;
    z-index: 300;
    top: 15px;
    right: 15px;
    cursor: pointer;
    /*position: absolute;*/
    position: fixed;
  }
  .hamburger_line {
    transition: all 0.6s;
    width: 34px;
    height: 2px;
    left: 5px;
    background-color: #000;
    position: absolute;
  }
  .hamburger_line1 {
    top: 10px;
  }
  .hamburger_line2 {
    top: 21px;
  }
  .hamburger_line3 {
    top: 32px;
  }
  .nav_bg {
    opacity: 0;
    transition: all 0.6s;
    width: 100vw;
    height: 100vh;
    z-index: 100;
    top: 0;
    left: 0;
    visibility: hidden;
    background-color: #000;
    cursor: pointer;
    position: fixed;
  }
  /* 表示された時用のCSS */
  .nav_open #header #navi {
    right: 0;
    width: 100%;
    background-image: url(http://wmspic.weimall.jp/weiwei/weiwei-logo.png);
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: 25px 15px;
  }
  .nav_open .nav_bg {
    opacity: 0.8;
    visibility: visible;
  }
  .nav_open .hamburger_line1 {
    transform: rotate(45deg);
    top: 20px;
  }
  .nav_open .hamburger_line2 {
    width: 0;
    left: 50%;
  }
  .nav_open .hamburger_line3 {
    transform: rotate(-45deg);
    top: 20px;
  }
}

.service-wrap{
    width: 80%;
    margin: 0 auto;
}

/* SERVICE 見出し */
.service{
    text-align: center;
}
.service h2{
    margin-top: 20%;
    font-size: 30px;
    font-size: 3vw;
    position: relative;
    padding: 1.5rem;
    letter-spacing: 0.2em;
    text-align: center;
}
  
.service h2 span {
    font-size: 18px;
    font-size: 2vw;
    display: block;
    letter-spacing: 0.2em;
  }
  
  .service h2:before {
    position: absolute;
    bottom: -10px;
    left: calc(50% - 30px);
    width: 60px;
    height: 5px;
    content: '';
    border-radius: 3px;
    background: #a12626;
  }
  @media screen and (max-width: 768px) {
    .service h2{
      font-size: 20px;
  }
    
  .service h2 span {
      font-size: 13px;
    }
  }

/* 要素1(事業内容) */

/* 各事業 見出し */
.service-top{
  text-align: left;
  letter-spacing: 0.2em;
  /*font-size-adjust: 0.56;*/
}
.service-top h3 {
  display: flex;
  align-items: center;
  font-size: 3vw;
  margin-top: 10%;
  }
  .service-top h3:after {
  border-top: 2px dotted;
  content: "";
  flex-grow: 1;
  }
  .service-top h3:after {
  margin-left: 1rem;
  }
  .service-top h3 span{
  font-size: 1.5vw;
  margin-left: 15px;
}
.h3-cp{
  font-size: 2vw;
  margin-top: -5%;
  letter-spacing: 0.2em;
}
.h3-txt{
  font-size: 1.5vw;
  line-height: 2.5;
  margin-top: 5%;
  letter-spacing: 0.2em;
  line-height: 4vw;
}

/* 各事業（画像・テキスト） */
.service-box{
  margin-top: 3%;
}
.service-inner{
    display: flex;
    justify-content: space-between;
  }
  
  /* 最後の要素以外に余白を追加*/
  .service-inner:not(:last-child){
    margin-bottom: 50px;
  }
  
  /* 反対バージョンを作る場合はoddをevenに変更する*/
  .service-inner:nth-child(odd){
    flex-direction: row-reverse;
  }
  
  /* 画像*/
  .service-img {
    width: 54%;
    align-items: center;
  }
  
  .service-img img{
    width:  100%;
    height: 100%;
    object-fit: cover;
  }
  
  /*/ テキスト*/
  .service-txt{
    width: 50%;
    padding: 0 2%;
    background-color: #ececec;
  }
  
  .service-txt h4 {
    font-size: 18px;
    padding: 10px 0;
    border-bottom: solid 2px #000;
  }
  
  .service-txt p{
    font-size: 1vw;
    line-height: 2;
    letter-spacing: 2px;
  }
  @media screen and (max-width: 768px) {
    .service-txt p{
      font-size: 12px;
    }
  }

   /* トップからのリンク位置調整 */
  .service-inner{
    padding-top: 60px;
    margin-top:-60px;
}

  /* ブランド一覧 */
  .p-ship{
    display: flex;
    align-items: flex-end;
    border-bottom: solid 2px #000;
    padding-bottom: 2%;
  }

  .p-ship-img img{
    width:  100%;
    height: 100%;
    vertical-align: bottom;
  }
  .p-ship-name{
    font-size: 20px;
    margin: 0;
    padding-left: 20px;
  }
  .p-ship-top{
    margin-top: 5%;
  }
  .p-ship-txt p{
    font-size: 1.5vw;
  }
  
  /* メインコンテンツ */
.brand{
  width: 100%;
  margin: 0 auto;
  margin-top: -5%;
  display: flex;
  justify-content: space-around;
  }
.brand-inner{
  width: 46%;
  padding: 3%;
}
.brand-img img{
  width: 100%;
}
.brand-name h5{
  margin-bottom: 5px;
  white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.brand-txt p{
  margin: 5px 0px;
  font-size: 1vw;
}
@media screen and (max-width: 768px) {
  .brand-txt p{
    font-size: 12px;
  }
}
  /* スライダー */
  
  .slider{
      margin: 0 auto;
      margin-top: 10px;
    }
    .slider img {
      width:60vw;/*スライダー内の画像を60vwにしてレスポンシブ化*/
      height:auto;
    }
    .slider .slick-slide {
        /* transform: scale(0.8); 左右の画像のサイズを80%に*/
        transition: all .5s;/*拡大や透過のアニメーションを0.5秒で行う*/
        /*opacity: 0.5;/*透過50%*/
    }
    .slider .slick-slide.slick-center{
        transform: scale(1);/*中央の画像のサイズだけ等倍に*/
        opacity: 1;/*透過なし*/
    }
    .slick-slide{
      margin-right: 1vw!important;
      margin-left: 1vw!important;
      width: 300px;
    }
    
    .slick-slider img{
      width: 100%;
      margin: 0 auto;
    }
    .slide .slick-slide {
        opacity: 0.5;
        transition: 0.5s;
    }
    .slide .slick-current {
        opacity: 1;
    }
    
    a { outline: none; }
    #hoge {
        overflow : hidden;
        outline : none;
    }
  
  
  /* レスポンシブ*/
  @media screen and (max-width: 767px) {
    .flex-item{
      flex-direction: column-reverse;
      align-items: center;
    }
  
    .flex-item:nth-child(odd) {
      flex-direction: column-reverse;
    }
  
    .flex-item__img {
      width: 100%;
      height: 250px;
      padding-bottom: 30px;
    }
  
    .flex-item__txt {
      width: 100%;
    }
  }

  @media screen and (max-width: 768px) {
    .service-top h3 {
      font-size: 4vw;
    }
    .service-top h3 span {
      font-size: 10px;
      margin-left: 5px;
    }
    .txt-box{
      padding: 5%;
    }
    .service-inner{
      flex-direction: column;
    }
    .service-img{
      width: 100%;
      min-height: 0%;
      height: 280px;
    }
    .service-txt{
      width: 100%;
      padding: 0;
    }
    .service-txt h4{
      margin-top: 0;
    }
    .service-inner:nth-child(odd){
      flex-direction: column;
    }
    .service-img:nth-child(odd){
      min-height: 0%;
    }
    
    .brand{
      flex-direction: column;
      }
    .brand-inner {
      width: 100%;
      padding: 0;
      }
    .p-ship-name{
      font-size: 12px;
    }
    @media screen and (max-width: 768px) {
      .p-ship-txt p{
        font-size: 10px;
      }
    }
  }
  @media screen and (max-width: 768px) {
    .p-ship{
      flex-direction: column-reverse;
      align-items: flex-start;
    }
    .p-ship-name{
      padding-left: 0;
    }
    .p-ship-img img{
      width: 60%;
    }

  }



  /* 要素7(お問い合わせ) */
  .contact{
    width: 60%;
    text-align: center;
    margin: 0 auto;
    margin-top: 10%;
  }
  .contact-inner{
    font-size: 1.2vw;
    margin-bottom: 15px;
    letter-spacing: 3px;
  }
  @media screen and (max-width: 768px) {
    .contact-inner{
      font-size: 3vw;
    }

  }
  .contact-main{
    font-size: 1.5vw;
    font-weight: 600;
    line-height: 1.5;
    width: 100%;
    margin: 0 auto;
  }
  @media screen and (max-width: 768px) {
    .contact-main{
      font-size: 15px;
      font-weight: 700;
    }
  }
  .ctc-btn,
a.ctc-btn {
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.2em;
  color: #000;
  width: 45%;
}
  a.ctc-btn-border {
    border: 2px solid #000;
    border-radius: 0;
    background: #fff;
  }
  
  a.ctc-btn-border:hover {
    color: #fff;
    background: #000;
  }

  /* フッター */
  .c-footer{
    position: relative;
    margin-top: 10%;
    background-color: #000;
    position: absolute;
    width: 100%;
  }

  .footer-wrap{
    display: flex;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    padding-top: 70px;
    padding-bottom: 80px;
    position: relative;
}
.c-footer h1{
    display: block;
    width: 40%;
}
.foot-logo img{
    width: 50%;
}

.footer-wrap ul{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
}

.footer-wrap ul li{
    display: block;
    font-size: 0.8vw;
    padding-left: 20px;
    letter-spacing: 2px;
    list-style: none;
}
@media screen and (max-width: 768px) {
  .footer-wrap ul li{
    font-size: 12px;
}
.foot-logo img{
  width: 100%;
}

}
.footer-wrap ul li a{
    color: #fff;
    text-decoration: none;
}

.foot-copy{
  width: 90%;
  margin: 0 auto;
}
.copy{
  text-align: center;
  color: #fff;
  font-weight: 400;
  font-size: 10px;
  letter-spacing: 2px;
  margin-bottom: 2%;
}

@media screen and (max-width: 950px) {
  .more-txt{
    line-height: 30px;
  }
.circle {
  width: 150px;
  height: 150px;
}
}

@media screen and (max-width: 768px) {
  .company-wrap{
    width: 90%;
  }
  .comp-top h3{
    font-size: 4vw;
  }
  .comp-top h3 span{
    font-size: 10px;
    margin-left: 5px;
  }
  .slogan-more{
    flex-direction: column;
  }
  .circle{
    width: 100px;
    height: 100px;
    font-size: 4vw;
  }
  .more-txt{
    letter-spacing: 0.1em;
    line-height: 23px;
    font-size: 1vw;
    padding-left: 0;
    text-align: center;
  }


  .hist-inner dt,
  .hist-inner dt{
    font-size: 1vw;
    width: 15%;
  }
  .ov-inner dd,
  .ov-inner dd{
    font-size: 1vw;
    width: 75%;
    margin-left: 15px;
  }
}


@media screen and (max-width: 768px) {
  .footer-wrap{
    flex-direction: column;
  }
  .footer-wrap ul {
    flex-direction: column;
  }
  .footer-wrap ul li {
    padding: 10px;
  }
  .footer-wrap ul li a {
    text-decoration: none;
  }
  .c-footer h1{
    margin: 0 auto;
    text-align: center;
    width: 100%;
  }
  .foot-logo img{
    width: 40%;
  }
}

@media screen and (max-width: 375px) {
  .foot-logo img{
    width: 60%;
  }
}

  /* トップへ戻る */
  #page_top{
    width: 50px;
    height: 50px;
    position: fixed;
    right: 0;
    bottom: 0;
    background: #9c9c9c;
    opacity: 0.6;
  }
  #page_top a{
    position: relative;
    display: block;
    width: 50px;
    height: 50px;
    text-decoration: none;
  }
  #page_top a::before{
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    content: '\f106';
    font-size: 25px;
    color: #fff;
    position: absolute;
    width: 25px;
    height: 25px;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    text-align: center;
  }

  /* スクロール時フェードイン */
.fade {
  transition: all 2000ms;
  opacity: 0;
  visibility: hidden;
  transform: translate(0px, 50px);
}

.fadein {
  opacity: 1;
  visibility: visible;
  transform: translate(0px, 0px);
} 