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;
  }
}

.company-wrap{
    width: 60%;
    margin: 0 auto;
}

/* COMPANY 見出し */
.company{
    text-align: center;
}
.company h2{
    margin-top: 20%;
    font-size: 30px;
    font-size: 3vw;
    position: relative;
    padding: 1.5rem;
    letter-spacing: 0.2em;
    text-align: center;
}
  
.company h2 span {
    font-size: 18px;
    font-size: 2vw;
    display: block;
    letter-spacing: 0.2em;
  }
  
  .company 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) {
    .company h2{
      font-size: 20px;
  }
    
  .company h2 span {
      font-size: 13px;
    }
  }

/* 要素1(代表あいさつ) */
.comp-top{
    text-align: left;
    letter-spacing: 0.2em;
    /*font-size-adjust: 0.56;*/
}
.comp-top h3 {
    display: flex;
    align-items: center;
    font-size: 3vw;
    margin-top: 15%;
    }
    .comp-top h3:after {
    border-top: 2px dotted;
    content: "";
    flex-grow: 1;
    }
    .comp-top h3:after {
    margin-left: 1rem;
    }
    .comp-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: 20px;
    line-height: 2.5;
    margin-top: 5%;
    letter-spacing: 0.2em;
    line-height: 4vw;
}
@media screen and (max-width: 768px) {
  .h3-txt{
    font-size: 12px;
}
}
/* 好きな言葉 */
.word{
    text-align: center;
}
.word h5{
    font-size: 3vw;
    margin: 0;
    margin-top: 35px;
}
@media screen and (max-width: 768px) {
  .word h5{
    font-size: 16px;
}
}
.word p{
    font-size: 20px;
    line-height: 2.5;
    margin-top: 5%;
    letter-spacing: 0.2em;
    line-height: 4vw;
}
@media screen and (max-width: 768px) {
  .word p{
    font-size: 12px;
}
}
.p-name span{
    margin-right: 10px;
}
/* 要素2(企業理念) */
.slogan{
    text-align: center;
    /*font-size-adjust: 0.56;*/
}
.slogan h4{
    font-size: 5vw;
}
.h4-cp{
    font-size: 2vw;
    letter-spacing: 0.2em;
}
.h4-txt{
    font-size: 1.2vw;
    line-height: 2.5;
    margin-top: 5%;
    letter-spacing: 0.2em;
}
@media screen and (max-width: 768px) {
  .slogan h4{
    font-size: 24px;
}
.h4-cp{
  font-size: 11px;
  margin-top: -8%;
}
.h4-txt{
  font-size: 10px;
}
}
 /* 要素3(企業理念の詳細) */
 .slogan-more-wrap{
  text-align: center;
 }
 .slogan-more{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 10%;
}
.slogan-more-top{
  margin-top: 5%;
}

.circle {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 3px solid #000;
  width: 200px;
  height: 200px;
  font-size: 2vw;
}
.more-txt{
  letter-spacing: 0.2em;
  line-height: 50px;
  font-size: 15px;
  padding-left: 5%;
  text-align: left;
}

 /* 要素4,5(会社沿革 / 会社概要) */
 .hist-wrap table,
 .ov-wrap table{
  width: 100%;
}
table{
  border-collapse: collapse;
    border-spacing: 0;
    font-size: 1vw;
}
table th{
  /*padding: 35px 100px 35px 10px;*/
    width: 12%;
    background: #F5F4F2;
}
table td{
  padding-left: 60px;
    padding-right: 50px;
    padding: 35px 0;
}
table th,
table td{
  border-bottom: #ccc 1px solid;
  text-align: left;
  vertical-align: baseline;
}
.border-none{
  border-bottom: none;
  margin-bottom: 8%;
}
@media screen and (max-width: 1000px) {
  table{
      font-size: 1.5vw;
  }

}
@media screen and (max-width: 768px) {
  table{
      margin-bottom: 0px;
  }
  table th,
  table td{
    display: block;
    margin: 0;
    width: 90%;
    padding: 5px 10px;
  }
  table th{
    font-size: 14px;
    border: solid 1px;
    border-color: #666;
  }
  table td{
    font-size: 12px;
    padding: 15px 10px;
  }
  table span{
    display: none;
  }
}



 /* 要素6(マップ) */
 .gmap {
  height: 0;
  overflow: hidden;
  padding-bottom: 56.25%;
  position: relative;
  }
  .gmap iframe {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  }



  /* 要素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: 1340px) {
  .slogan-more{
    flex-direction: column;
  }
  .more-txt{
    text-align: center;
  }
}

@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: 75%;
  }
  .comp-top h3{
    font-size: 4vw;
  }
  .comp-top h3 span{
    font-size: 10px;
    margin-left: 5px;
  }
  .circle{
    width: 100px;
    height: 100px;
    font-size: 15px;
  }
  .more-txt{
    letter-spacing: 0.1em;
    line-height: 23px;
    font-size: 11px;
    padding-left: 0;
    text-align: center;
  }
}


@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);
} 