@charset "UTF-8";

/*--------------------------------
 COMMON
---------------------------------*/
body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
  font-size: 16px;
  letter-spacing: 0.1em;
  color:#333;
}

a {
  text-decoration: none;
  color:#14213D;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-style:none;
}

li {
  list-style: none;
}

h2, h3 {
   font-family: "Zen Maru Gothic", sans-serif;
}

/*--------------------------------
 LEFT CONTENTS 
---------------------------------*/
/* HEADER */
#header {
  width:300px;
  height:100%;
  background-color: #fff;
  padding: 40px 50px 30px 45px;
  position: fixed;
  top:0;
  overflow-y: auto;
}

.nav-menu {
  margin-bottom: 60px;
  margin-left: 8px;
}

.nav-menu a {
  font-size: 1em;
  font-weight: 500;
  padding: 5px 0;
  transition: .3s;
  color: #333;
  opacity: 1;
}

.nav-menu a:hover {
  opacity: 0.8;
}

#header li {
  font-size: 1.2em;
  font-weight: 500;
  padding: 8px 0;
}

.header-logo {
  font-size: 1em;
  font-weight: 600;
  line-height: 1.2;
  margin-right: 20px;
  margin-bottom: 2rem;
  letter-spacing: .05em;
}

.header-logo a {
  background-color: #14213D;
  color: #fff;
  padding: 10px 20px;
}

.header-logo a:hover {
  opacity: 0.8;
  transition: .3s;
}

/*--------------------------------
 RIGHT CONTENTS 
---------------------------------*/
.container {
  margin-left: 300px;
}

.wrapper {
  max-width: 980px;
  padding: 60px 20px ;
  margin: 0 auto;
}

.section-title {
  font-size: 3.6em;
  font-weight: 700;
  color:#333;
  margin-bottom: 40px;
  text-align: left;
}

/* ABOUT*/
#about {
  background-image: linear-gradient(-45deg, #000 0%, #14213D 25%, #233358 50%, #14213D 75%, #000 100%);
  color: #fff;
  height: 100vh;
}

#about h2 {
  color: #fff;
}

#about .list-title {
  font-size: 2em;
  margin: 20px 0px 20px 30px;
  text-align: left;
  position: relative;
}

#about .list-title:before {
  position: absolute;
  content: " ";
  background: #F2F415;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  top: 50%;
  left: -50px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  z-index: 1;
}

#about .about-list {
  display: flex;
  justify-content: space-between;
}

#about .about-list li {
  width: 50%;
  height: auto;
}

#about .prof-img {
  width: 60%;
  margin-right: 16px;
  margin-top: 16px;
}

  #about .about-bg {
   width:80%;
}

#about .list-contents {
  margin-top: 20px;
}

#about .list-contents dt {
  margin: 5px 0;
  font-family: "Zen Maru Gothic", sans-serif;
  color: #F2F415;
  font-size: 1.2em;
  font-weight: 500;
}

#about .list-contents dd {
  font-size: 0.9em;
}

/* SERVICE */
#service {
  height: 100vh;
}

#service .service-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: -50px;
  margin-top: 20px;
  padding: 0 20px;
}

#service .item {
  text-align: center;
  margin-bottom: 60px;
  width: calc(30%);
}

#service .item img {
  width: 160px;
  height: 160px;
  border-radius: 25%;
  margin-bottom: 30px;
}

.service-name {
  margin: 16px 0;
  font-size: 1.4em;
  font-weight: 600;
}

.service-details {
  font-size: 0.9em;
  text-align: left;
  padding: 8px 12px;
}

.service-wrapper {
  padding-top: 40px;
  text-align: center;
}

.service-flow img {
  width: 100%;
  padding-top: 20px;
}

#service .service-flow-sp {
  display: none;
}


/* WORKS */
#works {
  background-color: #F5F5F5;
  height: 100vh;
}

#works a:hover {
  opacity: 0.8;
  transition: .3s;

}

.works-list {
  display: flex;
  justify-content: space-between;
  margin-bottom: -50px;
}

.works-item {
  text-align: center;
  margin-bottom: 80px;
  width: calc(30%);
}

.works-item img {
  width: 300px;
  height: auto;
  margin-bottom: 30px;
  border: #b4b4b4 1px solid;
}

.works-name {
  font-size: 1.4em;
  margin-top: 15px;
  margin-bottom: 15px;
}

/* FAQ */
#faq {
  height: 100vh;
}

.Qa-Box {
  width: 100%;
  margin: 0 auto;
}

.Qa-Box .Qa dt,
.Qa-Box .Qa dd {
  display: flex;
  align-items: baseline;
  margin: 15px 0;
  padding: 15px;
}

.Qa-Box .Qa dt {
  background: #F5F5F5;
}

.Qa-Box .Qa dt p {
  margin: 0;
  padding-left: 15px;
  font-weight: bold;
  width: 100%;
  font-size: 1.0em;
}

.Qa-Box .Qa dd p {
  margin: 0;
  padding-left: 15px;
  width: 100%;
  font-size: 0.96em;
}

.Qa-Box .Qa dt::before {
  content: "Q";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #14213D;
  width: 2em;
  height: 2em;
  border-radius: 50%;
}

.Qa-Box .Qa dd::before {
  content: "A";
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  background: #dd7b98;
  width: 2em;
  height: 2em;
  border-radius: 50%;
}

/* Contact */
#contact {
   background-color: #F5F5F5;
}

#contact p {
  margin-top: 20px;;
}

#contact p a {
  font-weight: 800;
}

.contact-list {
  display: flex;
  justify-content: space-between;
 margin-bottom: 80px;
}

.contact-item-left {
  text-align: left;
  width: 60%;
}

.contact-item-right {
  text-align: left;
  width: 30%;
}

.contact-list img {
  width: 160px;
  height: auto;
}

/* Footer */
#footer {
  background-color: #14213D;
  color: #fff;
  padding: 20px 0;
  border-top: #F2F415 10px solid;
}
#footer .menu {
  display: flex;
  justify-content: center;
  margin: 30px 0 60px 0;
}
#footer .menu li {
  border-right: solid 1px #fff;
  font-size: 0.875rem;
  padding: 0 20px;
}
#footer .menu li:last-child {
  border-right: none;
}
#footer .menu li a {
  color: #fff;
}
#footer .copyright {
  font-size: 0.75rem;
  text-align: center;
}

/*--------------------------------
 GO TOP
---------------------------------*/
.go-top{
  display: block;
  width: 60px;
  height: 60px;
  box-sizing: border-box;
  background: #F2F415;
  border: 2px solid #F2F415;
  border-radius: 50%;
  padding-top: 30px;
  text-align: center;
  font-size: 0.8em;
  text-decoration: none;
  color: #333;
  opacity: 1.0;
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 10000;
}
.go-top::before{
  content: "";
  display: block;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  width: 25%;
  height: 25%;
  top: 25%;
  left: 0;
  right: 0;
  margin: auto;
  position: absolute;
  transform: rotate(-45deg);
}
.go-top:hover{
  opacity: 0.8;
}

/*--------------------------------
 SP
---------------------------------*/
@media screen and (max-width: 960px) {
  .container {
    margin-left: 0;
  }

  .wrapper {
    width: 100%;
    padding: 60px 40px 20px;
    margin: 60px 0;
  }

  .section-title {
    font-size:3em;
  }

   /*  SP-HEADER  */
  #header {
    width: 100%;
    height: 70px;
    padding: 30px 20px;
    z-index: 10;
    overflow-y: hidden;
  }

    #navi {
    width: 400px;
    background: #fff;
    padding: 25px;
    position: fixed;
    top: 0;
    left:-400px;
    bottom: 0;
    opacity: 0;
    overflow-y: auto;
    transition: 0.5s;
    z-index: 20;
  }

  .open #navi {
    left: 0;
    opacity: 1;
  }

  #navi ul.nav-menu {
    margin-bottom: 30px;
  }

  #navi ul li {
    padding: 10px 0;
  }

  .hamburger {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: fixed;
    top: 22px;
    right: 18px;
    transition: 0.5s;
    z-index: 20;
  }

  .hamburger span {
    width: 30px;
    height: 2px;
    background-color: #262626;
    border-radius: 4px;
    display: block;
    position: absolute;
    left: 0;
    transition: 0.5s;
  }
  .hamburger span:nth-child(1) {
    top: 4px;
  }
  .hamburger span:nth-child(2) {
    top: 14px;
  }
  .hamburger span:nth-child(3) {
    bottom: 4px;
  }
  .open .hamburger span {
    background-color: #fff;
  }
  .open .hamburger span:nth-child(1) {
    transform: translateY(10px) rotate(-315deg);
  }
  .open .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .open .hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(315deg);
  }

  #mask {
    display: none;
    transition: 0.5s;
  }

  .open #mask {
    width: 100%;
    height: 100%;
    background-color: #121212;
    cursor: pointer;
    display: block;
    opacity: 0.8;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
  }

   /*  SP-ABOUT  */
  #about {
    height: auto;
  }

  #about .list-title {
    margin-left: 40px;
  }

  #about .prof-img {
  width: 40%;
  margin-right: 16px;
  margin-top: 16px;
  }

  #about .about-bg {
   width:50%;
}

  #about  .about-list {
    display:flex;
    flex-flow: column;
    padding-bottom: 40px;
  }

  #about .about-list p {
    font-size: 0.9em;
  }

   #about .about-list li {
  width: 100%;
}

  #about .list-contents dt {
    margin: 10px 0;
    font-size: 1.2em;
  }

   #about .list-contents dd {
    font-size: 0.9em;
  }

   /*  SP-SERVICE */
 #service {
  height:auto;
 }

 #service .service-list {
   display: block;
    margin-bottom: 0;
 }

 #service .item {
  width: 100%;
  margin-bottom: 40px;;
 }

 .service-details {
  font-size: 1em;
}

 #service .item img {
  width: 40%;
  height: auto;
  text-align: center;
}

#service .service-flow {
  display: none;
}

#service .service-flow-sp {
  display: block;
  text-align: center;
}

#service .service-flow-sp img  {
  width: 80%;
}

   /*  SP-WORKS */
#works {
  height: auto;
}

.works-list {
   flex-direction: column;
   display: block;
}

.works-item {
  width:100%;
}

   /*  SP-FAQ */
#faq {
  height: auto;
}

   /*  SP-CONTACT */
#contact {
  height: 90vh;
}

.contact-list {
  flex-direction: column;
  display: block;
}

.contact-item-left, .contact-item-right {
  width: 100%;
}

.contact-item-right {
  margin-top: 40px;;
  text-align: center;
}

 #footer .menu {
    flex-wrap: wrap;
  }
  #footer .menu li {
    margin-bottom: 10px;
  }

}