@charset "utf-8";

/* body
--------------------------------------------------------*/
html {
  	overflow: auto;
}
body {
  font-family: "游明朝", YuMincho, "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
  margin: 0;
  overflow: hidden;
}
a {
  text-decoration: none;
}
a span{
  font-size: 1.5em;
  color:#000;
}
a span:hover {
  text-decoration-line: underline;
}

hr {
  width: 300%;
  margin-left: -100%;
  color: #000;
  border: 1px solid #000;
  clear: both;
}

/* wrapper
--------------------------------------------------------*/
.wrapper {
  width: 60%;
  margin: 0 auto;
}


/* MAIL
--------------------------------------------------------*/

table {
  margin: 10px auto;
  text-align: left;
}
table td {
  padding: 5px;
}
table td:nth-child(odd) {
  width: 100px;
  font-weight: bold
}
table input {
  height: 1.6em;
  width: 404px;
  font-size: 1.2em;
}
table textarea {
  font-size: 1.2em; 
}
table input:nth-child(6){
  width: 200px
}
div.submit {
  text-align: center;
}
.submit input {
  text-align: center;
  width: 200px;
  height: 2em;
  margin-bottom: 50px;
}
@media screen and (max-width: 700px) {
table input {
  width: 200px;
  font-size: 1em;
}
  table textarea {
    width: 310px;
  }
  .submit input {
  width: 100px;
}
}

@media screen and (max-width: 480px) {
table input {
  width: 150px;
  font-size: 1em;
}
  table textarea {
    width: 260px;
  }
  .submit input {
  width: 100px;
}
}

/* company
--------------------------------------------------------*/


.company_box {
      display: inline-flex;
      flex-wrap: wrap;
      justify-content: center;
      width: 100%;
      margin: 200px 0 100px 0;
      font-size: 18px;
}

.left {
  float: left;
  margin-right: 100px;
  line-height: 2em;
  letter-spacing: 3px;
  margin-bottom: 100px;
}

.right {
  float: right;
  line-height: 1em;
  letter-spacing: 3px;
}
.left span {
  display: block;
  width: 100px;
 float: left;
}

small.name{
  margin-left: 10px;
}
.right1 small,.right2 small {
  line-height: 1em;
  padding-bottom: 100px;
}

.right1,.right2 {
  border-left: 2px #000 solid;
  margin-bottom: 60px;
  padding-left: 15px;
  padding-top: -100px;
  height: 60px;
}
.right3 {
  border-left: 2px #000 solid;
  margin-bottom: 20px;
  padding-left: 10px;
  height: 300px;
}
.right3 p {
  margin-top: -10px;
}



/* footer
--------------------------------------------------------*/
footer {
  clear: both;
  text-align: center;
  background-color: #000;
  color: #fff;
}
small {
  line-height: 50px;
  font-size: 16px;
}



/* マルチメディア MacBook Pro 1280 x 800
--------------------------------------------------------*/

@media screen and (max-width: 1280px) {
 .wrapper {
  width: 100%;
  margin: 0 auto;
}
.header {
  width: 100%;
  }
nav {
  margin-right: 50px;
}
  
div.plan_icon {
  box-sizing: border-box;
  width: 32%;
  float: left;
  margin: 50px 5px;
}
div.plan {
  box-sizing: border-box;
  width: 100%;
  font-size: 18px;
}
}

/* マルチメディア iPad 768 * 1024
--------------------------------------------------------*/
@media screen and (max-width: 768px) {
  
h2.pc {
  font-size: 1.5em;
  color: #000;
  margin: 50px -500px 100px;
}
  
img.graph {
    margin-bottom: 150px;
  }
div.plan_icon {
  box-sizing: border-box;
  width: 95%;
  margin: 0px auto -40px;
}
div.plan_icon img {
  width: 24%;
  float: left;
  padding-left: 10px;
}
div.plan {
  width: 71%;
  font-size: 20px;
  margin-left: 10px;
}
div.plan b {
  font-size: 24px;
}
p.about_plan {
    padding: 100px 10px 0;
  }

/* WORKS
--------------------*/

.workbox {
/*    background-color: aliceblue;*/
/*    display: inline-block;*/
      display: inline-flex;
      flex-wrap: wrap;
      justify-content: center;
      align-content: flex-start;
      width: 100%;
      margin: 0px auto;
/*    text-align: center;*/
/*    text-align:justify;
    text-justify:inter-character;*/
}

div.work {
    width: 44%;
    margin: 40px 10px;
    margin-top: 0px;
}
  

/* NAVスマホ版
--------------------------------------------------------*/


@media screen and (max-width: 768px) {
  
nav ul.nav{
  padding-top: 100px;
  width: 160px;
  }
nav li.sub li{
  display: block;
  width: 160px;
  }

/*アイコンのスペース*/
#nav-open {
    display: inline-block;
    margin-top:  10px;
    margin-left: 10px;
    width: 30px;
    height: 22px;
    vertical-align: middle;
}

/*ハンバーガーアイコンをCSSだけで表現*/
#nav-open span, #nav-open span:before, #nav-open span:after {
    position: absolute;
    height: 3px;/*線の太さ*/
    width: 25px;/*長さ*/
    border-radius: 3px;
    background: #000;
    display: block;
    content: '';
    cursor: pointer;
}
#nav-open span:before {
    bottom: -8px;
}
#nav-open span:after {
    bottom: -16px;
}

/*閉じる用の薄黒カバー*/
#nav-close {
    display: none;/*はじめは隠しておく*/
    position: fixed;
    z-index: 99;
    top: 0;/*全体に広がるように*/
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    opacity: 0;
    transition: .3s ease-in-out;
}

  div.menu {
    margin:0 0 0 auto;
    text-align: right;
  }
/*中身*/
#nav-content {
    overflow: hidden;
    position: fixed;
    top: -20px;
    right: 0px;
    z-index: 9999;/*最前面*/
    width: 100px;/*幅*/
    height: 260px;
    background: rgba(#fff, 0, 0, 0.85);/*背景色*/
    transition: .3s ease-in-out;/*滑らかに表示*/
    -webkit-transform: translateY(-105%);
    transform: translateY(-105%);/*左に隠しておく*/
}

/*チェックが入ったらもろもろ表示*/
#nav-input:checked ~ #nav-close {
    display: block;/*カバーを表示*/
    opacity: .5;
}

#nav-input:checked ~ #nav-content {
    -webkit-transform: translateY(0%);
    transform: translateY(0%);/*中身を表示*/
    box-shadow: 6px 0 25px rgba(0,0,0,.15);
}

}


/* スマホ版レイアウト iPhonr6/7/8Plus 414
--------------------------------------------------------*/
  
@media screen and (max-width: 768px) {

header img {
  width: 100px;
  }
header {
  margin-top: -30px;
  padding: 0px 30px 10px;
}
section {
     padding-top: 58px;
     margin-top: -58px;
}

section.top {
  margin-top: 150px;
  background-size: 100%;
}
h2.pc{
  display: none;
}
h2.sp{
  display: block;
  font-size: 20px;
}
div.h3 {
  width: 100px;
  background-color: #000;
  margin-left: 0px;
  font-size: 13px;
}
h3 {
  line-height: 35px;
}

  
div.plan_icon {
margin-top: -50px;
}
div.plan {
  width: 100%;
  font-size: 16px;
}

.about_top,.about_plan {
    font-size: 18px;
  }
  
 /* company
--------------------------------------------------------*/


.company_box {
/*  display: block;*/
  font-size: 14px;
}
  .company_box small {
  font-size: 13px;
  }

.left {
  float: none!;
  margin-right: 0px;
  line-height: 2em;
  letter-spacing: 2px;
  margin-bottom: 100px;
}

.right {
  margin-left: 10px;
  float: none;
  letter-spacing: 2px;
}
.left span {
  width: 65px;
}

.right1,.right2 {
  border-left: 2px #000 solid;
  margin-bottom: 40px;
  padding-left: 8px;
  height: 50px;
}
.right3 {
  border-left: 2px #000 solid;
  margin-bottom: 20px;
  padding-left: 10px;
  height: 220px;
}
.right3 p {
  margin-top: -20px;
}
  
}
  
