@charset 'utf-8';

.am{
  opacity : 0;
  visibility: hidden;
  transition: 1s;
  transform: translateY(60px);
}
.active{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.logo_fadein .main-box {
  display: none;
}
html, body {
  width: 100%;
  min-width: 1080px;
  height: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  scroll-behavior: smooth;
  font-weight: 400;
  margin: 0 auto;
}
body {
  color: #333;
  font-size: 14px;
  text-align: center;
}
.main-box{
  width: 44.53%;
  padding: 0;
  margin: auto;
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
}
h1 {
  margin: auto;
  width: 53.68%;
  z-index: 3;
}
h1 img {
  width: 100%;
}
h2 {
  width: 100%;
  padding: 0;
  margin:7.02% auto 0;
}
h2 img {
  width: 100%;
}
h3 {
  margin: 0px auto 60px;
}
h3 img {
  width: 205px;
  padding-top: 21px;
  position: relative;
  left: -10px;
  margin: auto;
}
h4 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 auto 30px;
}
h5 {
  font-size: 20px;
  font-weight: 600;
  margin: 70px auto 20px;
}
p.read {
  font-size: 15px;
  font-weight: 500;
  line-height: 40px;
  padding: 100px 0 0;
}
p.subread {
  font-size: 15px;
  font-weight: 500;
  line-height: 32px;
  padding: 0 0 70px;
}
.under {
  background: linear-gradient(transparent 60%, #fff 60%);
}
#service, #company, #contact {
  padding-top: 50px;
}

/* scroll */

.scrolldown {
  position: absolute;
  left: 50%;
  bottom: -30px;
  height: 60px;
}
.scrolldown span {
  position: absolute;
  left: -22px;
  top: -22px;
}
.txt_scroll {
  width: 48px;
}
.scrolldown::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 30px;
  background: #333333;
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}

/* bg */

div.block {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.parallax-bg, .parallax-bg2 {
  width: 100%;
}
.parallax-bg2 {
  height: 360px;
}
body::before {
  content:"";
  display:block;
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height:100vh;
  background-image: url('../img/main.jpg');
  background-size:cover;
}
.scrollbox {
  background: #fff;
  padding: 50px 0;
}

/* header */

header {
  width: 100%;
  min-width: 1080px;
  height: 80px;
  position: fixed;
  top: 0;
  z-index: 10;
}
nav {
  padding: 0;
  margin-right: 0;
  float: right;
}
nav ul {
  padding: 0;
  border-spacing: 0;
}
nav li {
  display: inline-block;
  border-right: 1px #fff solid;
  float: left;
}
nav li:last-child {
  border-right: none;
}
.nav {
  height: 96px;
}
.navToggle, #globalMenuSp {
  display: none;
}

/* service */

#service {
  margin-bottom: 120px;
}
.service-box, .service-box2 {
  width: 100%;
  padding: 0 0 80px;
  margin: 100px auto 60px;
  background: #f0f0f0;
}
.ico-service {
  width: 70px;
  margin: auto;
  position: relative;
  top: -35px;
  left: 0;
  right: 0;
}
.service-inner, .service-inner2 {
  width: 1128px;
  margin: auto;
}
.service-inner2 {
  margin: 60px auto 0;
}
.line {
  background: url("../img/dotted.gif") repeat-x;
  padding-top: 20px;
  text-align: left;
  line-height: 30px;
}
ul {
  display: table;
  border-collapse: separate;
  border-spacing: 24px 0;
  width: 100%;
  margin: 0;
  padding: 0;
}
.service-box li, .service-box2 li {
  display: table-cell;
  width: 50%;
  background: #fff;
  padding: 30px;
  position: relative;
  box-shadow: 0px 6px rgba(255, 240, 0, 1);
}
.service-box2 li {
  width: 33%;
}
.service-box li:first-child, .service-box2 li:first-child {
  border-left: 0;
}
.ico-block {
  width: 110px;
  height: 110px;
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  margin: auto;
  background: #fff;
  border: 4px solid #f0f0f0;
  border-radius: 50%;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
}
.ico {
  width: 60px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

/* company */

dt, dd {
  margin: 0;
  padding: 0;
}
.company_info dl {
  display: flex;
  flex-wrap: wrap;
  width: 880px;
  margin: auto;
  text-align: left;
}
.company_info dt {
  width: 184px;
  padding: 30px;
  display: flex;
  align-items: center;
  background: #f5f5f5;
  border-bottom: 2px solid #fff;
  font-weight: 700;
}
.company_info dd {
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  width: 574px;
  padding: 30px;
  background: #fbfbfb;
  text-align: left;
  margin: 0;
  line-height: 32px;
}

/* contact */

.contact_txt {
  padding-top: 40px;
  font-size: 15px;
  margin-bottom: 50px;
}
.btn-arrow {
  background: #fff000;
  border-bottom: solid 5px #a99f00;
  border-radius: 6px;
  font-weight: 700;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  display: inline-block;
  position: relative;
  text-decoration: none;
  transition: all 0.3s ease 0s;
  padding: 1.8em 10em;
}
.btn-arrow-icon {
  -webkit-transform: translateY(-50%);
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  margin: 0;
  box-shadow: none;
  transition: all 0.3s ease 0s;
}
.btn-arrow:hover {
  background: #333333;
  color: #fff !important;
}
.btn-arrow:hover .btn-arrow-icon {
  fill: #fff;
}
.btn-arrow a:active {
  -webkit-transform: translateY(6px);
  transform: translateY(6px);
  border-bottom: none;
}

/* footer */

footer {
  background: #fff;
  padding: 120px 0 60px;
}
.copy {
  font-size: 10px;
}
#pagetop {
  display: inline-block;
  position: fixed;
  bottom: 0;
  right: 0;
}
#pagetop a {
  padding: 20px 30px;
  display: block;
  background: #fff000;
  text-align: center;
  color: #333;
}
#pagetop a:hover {
  background: #f0f0f0;
}

/*************　画面幅が1024pxまでの時 *************/

@media screen and (max-width:1024px) {
  html, body {
    min-width: auto;
  }
  .main-box{
    width: 70%;
    top: 40%;
    left: 0;
    right: 0;
  }
  h1 {
    width: 53.68%;
  }
  h2 {
    margin:7.02% auto 0;
  }
  .service-inner, .service-inner2 {
    width: 100%;
    margin: auto;
  }
  .service-inner2 {
    margin: 70px auto 0;
  }
  header {
    min-width: 100%;
  }
  .company_info dl {
    width: 89.33%;
  }
  .company_info dt {
    width: 100%;
    padding: 4.48%;
    border-bottom: none;
  }
  .company_info dd {
    border-left: none;
    width: 100%;
    padding: 4.48%;
  }
}

/*************　画面幅が640pxまでの時 *************/

@media screen and (max-width:768px) {

  html, body {
    min-width: 100%;
  }
  body {
    font-size: 13px;
    line-height: 26px;
  }
  .main-box{
    width: 89.33%;
    top: 40%;
  }
  h1 {
    width: 65.67%;
  }
  h2 {
    width: 100%;
    padding: 0;
    margin:7.02% auto 0;
  }
  h3 {
    margin: 0px auto 60px;
  }
  h3 img {
    width: 34.67%;
    padding-top: 21px;
    position: relative;
    left: -10px;
    margin: auto;
  }
  h4 {
    font-size: 22px;
    margin: 0 auto 20px;
  }
  h5 {
    font-size: 16px;
    margin: 16% auto 5%;
  }
  p.read {
    font-size: 13px;
    line-height: 35px;
    padding: 100px 0 0;
  }
  p.subread {
    font-size: 13px;
    line-height: 25px;
    padding: 0 0 80px;
  }
  .under {
    background: linear-gradient(transparent 60%, #fff 60%);
  }
  #service, #company, #contact {
    padding-top: 30px;
    margin-top: 50px;
  }
  #company{
    margin-top: 0;
  }

  /* bg */

  div.block {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }
  .parallax-bg, .parallax-bg2 {
    background: none;
  }
  .parallax-bg2 {
    height: 240px;
  }
body::before {
  content:"";
  display:block;
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height:100vh;
  background-color: #fff;
  background-image: url('../img/main_s.jpg');
  background-size:cover;
}

  /* header */

  header {
    min-width: 100%;
    height: 70px;
  }

  /* nav */

  .nav {
    width: 22.93%;
    height: 14.93%;
  }

  #globalMenuSp {
    position: fixed;
    z-index: 4;
    top: 0;
    left: 0;
    text-align: center;
    transform: translateY(-100%);
    transition: all 0.5s;
    width: 100%;
    padding-top: -100px;
    background: rgba(255, 255, 255, 0.9);
    height: 100vh;
    display: none;
  }
  #globalMenuSp ul {
    margin: auto;
    padding: 180px 0 0;
    width: 100%;
  }
  #globalMenuSp ul li {
    padding: 0;
    text-align: center;
    margin: auto;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
  }
  #globalMenuSp ul li:last-child {
    padding-bottom: 0;
    border-bottom: none;
  }
  #globalMenuSp ul li a {
    display: block;
    width: 100%;
    margin: 0 auto 10px;
    padding: 1.5em 0;
  }
  #globalMenuSp.active {
    transform: translateY(0%);
    display: block;
  }
  .navToggle {
    display: block;
    position: fixed;
    right: 0;
    top: 0;
    width: 70px;
    height: 70px;
    cursor: pointer;
    z-index: 5;
    text-align: center;
    -webkit-tap-highlight-color:rgba(0,0,0,0);
  }
  .navToggle span {
    display: block;
    position: absolute;
    width: 25px;
    border-bottom: solid 2px rgb(51, 51, 51);
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
    left: 18px;
  }
  .navToggle span:nth-child(1) {
    top: 25px;
  }
  .navToggle span:nth-child(2) {
    top: 32px;
  }
  .navToggle span:nth-child(3) {
    top: 39px;
  }
  .navToggle span:nth-child(4) {
    border: none;
    color: #eee;
    font-size: 9px;
    font-weight: bold;
    top: 34px;
  }
  .navToggle.active span:nth-child(1) {
    top: 35px;
    left: 18px;
    border-bottom: solid 2px #333;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  .navToggle.active span:nth-child(2), .navToggle.active span:nth-child(3) {
    top: 35px;
    border-bottom: solid 2px #333;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  
  /* service */

  #service {
    margin-bottom: 0;
  }
  .service-box, .service-box2 {
    width: 100%;
    padding: 0 0 16%;
    margin: 80px auto 60px;
  }
  .ico-service {
    width: 18.67%;
    top: -40px;
  }
  .service-inner, .service-inner2 {
    width: 89.33%;
    margin: auto;
  }
  .service-inner2 {
    margin: 70px auto 0;
  }
  .line {
    padding-top: 6%;
    font-size: 13px;
    line-height: 30px;
  }
  ul {
    display: block;
    border-spacing: 0;
  }
  .service-box li, .service-box2 li {
    display: block;
    width: 89.33%;
    padding: 6.48% 4.48%;
    box-shadow: 0px 6px rgba(255, 240, 0, 1);
    margin-bottom: 70px;
  }
  .service-box li:last-child, .service-box2 li:last-child {
    margin-bottom: 0;
  }
  .ico-block {
    width: 90px;
    height: 90px;
    top: -50px;
    border: 2px solid #f0f0f0;
  }
  .ico {
    width: 50px;
  }

  /* company */

  .company_info dl {
    width: 89.33%;
  }
  .company_info dt {
    width: 100%;
    padding: 4.48%;
    border-bottom: none;
    font-size: 13px;
  }
  .company_info dd {
    border-left: none;
    width: 100%;
    padding: 4.48%;
    font-size: 13px;
  }

  /* contact */
  
  .contact_txt {
    font-size: 13px;
    line-height: 25px;
    margin-bottom: 50px;
    padding-top: 0;
  }
  .btn-arrow {
    width: 89.33%;
    padding: 1.2em 0;
    font-size: 16px;
  }

  /* footer */

  footer {
    padding: 4.48% 0 24%;
  }
  .copy {
    font-size: 10px;
    margin-top: 10px;
  }
}

/*************　画面幅が320pxまでの時 *************/

@media screen and (max-width:320px) {
  h1 {
    width: 180px;
    float: left;
    padding-left: 5.33%;
  }
  h1 img {
    width: 100%;
  }
}