@media screen and (max-width: 640px) {
  html {
    font-size: 12px;
  }
  body {
    overflow-y: scroll;
    overflow-x: hidden;
  }

  /* common */
  .sp-none{
    display: none!important;
  }

  .pc-none{
    display: block!important;
  }
.breadcrumbs{
  position:relative;
  top: -20px;
}
.main-container {
    width: auto;
    margin: 0 auto;
    position: relative;
    padding: 0 15px;
}
.top .main-container{
  width: auto;
  margin: 0 auto;
  position: relative;
  padding: 0 15px;
  height: 100%;
}
.top .main-test {
    padding: 0;
    height: 100vh;
}

.main-visual-img .make-title {
    bottom: 0;
    right: 0;
}
  .service-visual-item {
    padding: 60px 0 0 0;
  }

  .contact-case{
    display: block;
  }

  .contact-box-item .fax {
    border: 1px solid;
    text-align: center;
    width: 100%;
  }

  .contact-case a {
    width: 100%;
  }
  .contact-box-item div {
    margin: 10px 0px 10px 0;
    padding: 10px 0;
  }

  /* header */

  header {
    position: fixed;
    z-index: 999;
    width: 100%;
    background: #fff;
    padding: 0px;
    height: 60px;
  }

  .header-item {
    display: flex;
    align-items: center;
  }

  .sp-header .header-logo{
    width: 250px;
    position: absolute;
    top: 27px;
    left: 15px;
    z-index: 999;
  }

  .sp-header .header-logo img{
    width: 100%;
  }

  .sp-nav-btn{
    display: inline-block;
    display: block;
    position: absolute;
    top: 5px;
    right: 5px;
    width: 50px;
    height: 50px;
    z-index: 999;
  }
  .sp-nav-btn label {
    position: absolute;
    top: 25px;
    right: 15px;
    font-family: 'futura';
    font-size: 10px;
  }
  .sp-nav-btn .lines {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 5px;
    right: 15px;
  }
  .lines .line01 {
    position: absolute;
    top: 10px;
    right: 0;
    display: block;
    width: 30px;
    height: 2px;
    background: #262626;
  }
  .lines .line02 {
    position: absolute;
    top: 15px;
    right: 0;
    display: block;
    width: 20px;
    height: 2px;
    background: #262626;
  }
  .service-visual-item .main-test {
    width: 100%;
    padding: 15.6% 0px;
  }
  .sp-menu{
    position: absolute;
    top: 0;
    right: 640px;
    bottom: 0;
    height: 100vh;
    background: #fff;
    z-index: 998;/*
    height: auto;*/
    width: 100%;
    overflow-y: scroll;
  }
  .logo-sp-link {
    position: absolute;
    top: 9px;
    left: 5px;
  }
  .sp-menu .sp-navs {
    color: #262626;
    margin: 70px 0px 0px 0px;
    font-size: 0;
    position: relative;
  }
  .sp-navs .header-logo{
    font-size: 16px;
    font-family: 'futura';
    padding-bottom: 15px;
    padding-top: 15px;
    line-height: .8;
    margin-bottom: 0px;
    border-bottom: 1px solid #FFF;
    border-right: 1px solid #FFF;
    letter-spacing: 4px;
    text-align: center;
    width: 50%;
    display: inline-block;
    background-color: #E3E3E3;
  }

  .sp-menu img{
    width: 250px;
    position: absolute;
    top: 22px;
    left: 15px;
  }

  .sp-menu .sp-navs ul{
    padding: 0px;
    width: 90%;
    margin: auto;
  }

  .sp-menu .sp-navs ul li{
    font-size: 1.7rem;
    padding: 10px 0 10px 0;
    letter-spacing: 3px;
    display: inline-block;
    width: 100%;
    border-bottom: 1px solid #EDEDED;
  }

  .header-tel-sns{
    margin: 10px auto 0 auto;
    width: 90%;
  }

  .info-header p{
    margin: 20px auto 0 auto;
    width: 90%;
    font-size: 1.2rem;
    letter-spacing: 3px;
    font-family: 'futura',sans-serif;
    -ms-font-feature-settings: "normal";
    margin-left:30px;
  }

  .header-tel-sns img{
    width: auto;
    position: unset;
    margin: 0 10px 0 0;
  }

  .header-tel{
    margin: 10px auto 0 auto;
    width: 90%;
  }

  .header-tel a{
    margin: 20px auto 0 auto;
    width: 90%;
    font-size: 1.6rem;
    letter-spacing: 3px;
    font-family: 'futura',sans-serif;
    -ms-font-feature-settings: "normal";
  }

  .info-header{
    position: absolute;
    bottom: 80px;
    width: 100%;
  }

  .header-item .header-logo a {
    color: #262626;
    font-size: 1.5rem;
    letter-spacing: 3px;
  }

  .header-item .header-logo {
    display: inline-block;
    margin: -16px 0 0 0;
  }

  /* footer */

  footer{
    padding: 0px;
  }

  .copy-right{
    font-size: .7rem;
     padding: 10px 0;
  }

  /* about */

  .service-visual-item .main-test .about-main-title {
    background-color: #505050;
    color: #FFF;
    font-size: 1.3rem;
    position: absolute;
    top: 8px;
    left: 15px;
    letter-spacing: 4px;
    padding: 10px;
    z-index: 4;
  }

  .about{
    padding: 30px 0 0 0;
  }

  .about .about-h4{
    margin: 20px 0;
  }
.main-container h1 {
    background-color: #409388;
    color: #FFF;
    font-size: 1.5rem;
    position: absolute;
    top: -43px;
    left: 0px;
    letter-spacing: 4px;
    padding: 10px;
    z-index: 4;
}
.top .main-container h1{
  background-color: #409388;
  color: #FFF;
  font-size: 1.5rem;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 10px;
  letter-spacing: 4px;
  padding: 10px;
  z-index: 4;
  height: fit-content;
  margin: auto;
  width: auto;
}
.main-visual-img h2{
  top: 0;
  bottom: 0;
  margin: auto;
  height: fit-content;
  transform: translateY(60px);
  left: 10px;
  right: 10px;
  font-size: 1.3rem;
}
.main-logo p{
  background-color: #409388;
  color: #FFF;
  font-size: 1rem;
  position: absolute;
  top: -40px;
  left: 0px;
  letter-spacing: 4px;
  padding: 10px;
  z-index: 4;
}
.main-logo span{
    background-color: #FFF;
    color: #262626;
    font-size: 1rem;
    position: absolute;
    top: 50px;
    left: 0px;
    letter-spacing: 4px;
    padding: 10px;
    z-index: 4;
}
.case-page h1{
  letter-spacing: 3px;
  line-height: 1.7;
  font-size: 1.5rem;
  margin: 0 0 20px 0;
  color: black;
  background-color: white;
  position: relative;
  padding: 0;
  top:15px;
}
  .about .about-caption {
    letter-spacing: 1px;
    line-height: 1.7;
    margin: 0 0 20px 0;
  }

  .table-about tr th {
    width: 25%;
  }

  /* case */

  .service-visual-item .main-test .header-logo {
    font-size: 1.3rem;
    position: absolute;
    top: 8px;
    left: 15px;
    letter-spacing: 4px;
    padding: 10px;
    z-index: 4;
  }

  .case-list {
    padding: 20px 0 40px 0;
  }

  .example-caption {
    position: absolute;
    bottom: 30px;
    padding: 0 10px;
    z-index: 4;
    width: 100%;
  }

  .example-caption p {
    font-size: 1.3rem;
  }

  .example-caption h3 {
    font-size: 1.3rem;
    display: none!important;
  }

  .example-caption h4 {
    font-size: 1.3rem;
    display: none!important;
  }

  /* news */

  #tag-wrapper{
    margin: 40px 0 0 0;
  }

  .list-tabs{
    width: 100%;
    margin: 0px 0 4px 0;
  }

  .row.margin-small{
    margin: 0 -5px;
  }


  .row.margin-small .col-6{
    padding: 0 5px;
  }

  .list-tabs li{
    width: 100%;
    margin: 0px;
    padding: 10px;
    font-size: 1.3rem;
  }

  .news-contents{
    margin: 30px 0 0 0;
  }

  .news-item p{
    font-size: 1.4rem;
  }

  /* service */

  .strong-point{
    padding: 30px 0;
  }

  .strong-point-img .col-md-6{
    padding: 0;
  }

  .case-study .col-6{
    padding: 0 2px 0 2px;
  }

  .case-study .row{
    margin: 0 -2px;
  }

  .case-study .margin-conteinar.row{
    margin: 0 -17px;
  }

  .strong-point-img h4 {
    font-size: 1.6rem;
    letter-spacing: 5px;
    font-weight: bold;
    margin: 20px 0 10px 0;
  }

  .strong-point-img p {
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin: 0 0 20px 0;
  }

  .service{
    margin: 10px 0 0 0;
  }

  .voice{
    margin: 30px 0 0 0;
  }

  .case-study{
    margin: 30px 0 0 0;
  }

  .study-item button {
    border: none;
    background-color: #F3F3F3;
    width: 260px;
    padding: 20px;
    letter-spacing: 4px;
    margin: 20px 0 0 0;
    font-weight: bold;
    border: 1px solid #F3F3F3;
    transition: .3s;
  }

  .case-study .example-caption {
    position: absolute;
    bottom: 10px;
    padding: 0 10px;
    z-index: 4;
    width: 100%;
  }

  .case-study .example-caption p{
    font-size: 1rem;
    width: 100%;
  }

  /* sngle */

  .single-contents{
    padding: 30px 0;
  }

  .single-sns {
    margin: 20px 0 0 0;
  }

  /* contact */

  .contact-contant{
    padding: 30px 0;
  }

  .input-form{
    margin: 20px 0;
  }

  .form-column__name {
    margin: 5px 0 10px 0 ;
  }

  .btn-box{
    text-align: center;
  }

  .inactive-btn {
    font-size: 1.5rem;
    padding: 10px 0;
  }

  .contact-done h3 {
    text-align: center;
    letter-spacing: 2px;
    text-align: center;
    font-size: 1.6rem;
  }

  /* home */

  .mainvisual-box {
    position: relative;
  }

  .mainvisual-box img{
    height: 675px;
    width: 100%;
    max-height: 675px;
  }

  .mainvisual-box h1{
    position: absolute;
    bottom: 37%;
    left: 15px;
    color: #FFF;
    background-color: #409388;
    padding: 10px;
    font-size: 1.6rem;/*
    font-family: 'futura',sans-serif;
    -ms-font-feature-settings: "normal";*/
    letter-spacing: 3px;
  }

  .mainvisual-box h2{
    position: absolute;
    bottom: 30%;
    left: 15px;
    right: 15px;
    color: #FFF;
    background-color: #409388;
    padding: 10px;
    font-size: 1.3rem;/*
    font-family: 'futura',sans-serif;
    -ms-font-feature-settings: "normal";*/
    letter-spacing: 3px;
  }

  .scroll-item {
    text-align: center;
    width: 100%;
    position: absolute;
    bottom: 15px;
    z-index: 9;
  }

  .scroll-item .scroll-border {
    width: 2px;
    height: 60px;
    background-color: #FFF;
    display: inline-block;
    animation-name: moveLine;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
    position: relative;
    transition: .3s;
  }

  .scroll-border:before {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid #FFF;
    left: -6px;
    bottom: -5px;
    transition: .3s;
  }

  .scroll-item span {
    font-family: 'futura',sans-serif;
    -ms-font-feature-settings: "normal";
    letter-spacing: 2px;
    font-size: .9rem;
    display: block;
    color: #FFF;
    transition: .3s;
}

  .example .col-6{
    padding: 0 2px 0 2px;
  }

  .example .row{
    margin: 0 -2px;
  }

  .news-container{
    width: auto;
    padding: 15px;
  }

  .news-main-title{
    font-size: 1.6rem;
  }

  .news {
    padding: 30px 0;
    background-color: #F5FEFE;
  }

  .news-sub-title {
    text-align: center;
    font-size: 1rem;
    letter-spacing: 5px;
    margin: 10px 0 20px 0;
  }

  .link-news span:nth-of-type(2) {
    border-radius: 50%;
    border: 1px solid #8E9291;
    width: 33px;
    height: 33px;
    display: inline-block;
    font-size: 1.2rem;
    padding: 5px 9px 0 0;
    margin: 0 0 0 10px;
  }
  .top .main-visual{
    height: 90vh;
  }
  .main-visual-img .header-logo{
    background-color: #409388;
    color: #FFF;
    font-size: 1.5rem;
    position: absolute;
    top: 0px;
    left: 15px;
    letter-spacing: 4px;
    font-family: 'futura',sans-serif;
    -ms-font-feature-settings: "normal";
    padding: 10px;
    z-index: 4;
  }

  .mind{
    margin: 0;
    padding: 30px 0;
  }

  .contents-mind{
    display: block;
  }

  .contents-mind img{
    width: 100%;
  }

  .contents-mind .mind-item {
    width: 100%;
    margin: 30px 0 0 0;
  }
.top .contents-mind .mind-item {
    padding: 0;
}
  .mind-box {
    padding: 50px 0;
  }
  .top .mind-box {
      padding: 0 0 50px;
  }
  .top .col-6 {
      flex: 100%;
      max-width: 100%;
      margin-bottom: 30px;
  }
  .mind-item h3 {
    font-size: 1.6rem;
    margin: 0 0 10px 0;
    line-height: 1.7;
  }

  .mind-item p{
    line-height: 1.7;
    font-size: 1.2rem;
  }

  .mind-item button {
    background-color: #409388;
    letter-spacing: 5px;
    font-size: 1.2rem;
    border-radius: 50px;
    width: 200px;
    padding: 15px 0;
    color: #FFF;
    border: 1px solid #409388;
    margin: 10px 0 0 0;
    transition: .3s;
  }

  .example{
    padding: 0px 0 30px 0;
  }

  .main-visual-e {
    height: auto;
    width: 100%;
  }

  .main-example h3 {
    font-size: 1.3rem;
    letter-spacing: 3px;
    padding: 10px 7px;
    background-color: #409388;
    color: #fff;
    display: inline-block;
  }

  .main-example {
    top: -50px;
  }
.sp_fixmenu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
}

.sp_fixmenu ul {
    display: flex;
    margin: 0;
    padding: 0;
}

.sp_fixmenu li {
    margin: 0;
    list-style: none;
    width: 33.3%;
    display: flex;
}

.sp_fixmenu a {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-end;
    width: 100%;
    padding: 5px;
    text-align: center;
    font-size: 1.2rem;
}
li.sp_fixmenu_home a {
    background: black;
    color: white;
}
li.sp_fixmenu_home img{
    width: 30px;
    height: 32px;
}
li.sp_fixmenu_mail a {
    background: #1F497D;
    color: white;
}
li.sp_fixmenu_mail img{
    width: 40px;
    height: 30px;
}
li.sp_fixmenu_tel a {
    background: #FF0000;
    color: white;
}
li.sp_fixmenu_tel img{
    width: 25px;
    height: 39px;
}
.sp_fixmenu img {
    /* max-width: 50px; */
    /* max-height: 60px; */
    display: block;
    height: inherit;
    margin: 0 auto 5px;
}
.sp_fixmenu li a span {
    width: 100%;
}

}