@charset "utf-8";

body{
    width:100%;
    background:#fff;
    font-family:"游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "メイリオ", sans-serif;
	  color: #333;
	  font-size:1rem;
	  line-height:1.85;
	  -webkit-font-smoothing: antialiased;
	  -moz-osx-font-smoothing: grayscale;
	  -webkit-text-size-adjust: 100%;
	  word-wrap: break-word;
}
header{
  position: relative;
  height:100px;
  display: flex;
}
li{
  list-style-type: none;
}
a{outline: none;}

h2{
  position:absolute;
  width:240px;
  height:42px;
  top:10%;
  left:10px;
}
h2 img{
  width:240px;
}
h2 a{
  width:240px;
  height:42px;
}
h1{
  position: absolute;
  width:260px;
  height:42px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
h1 a{
  width:260px;
  height:42px;
}
h1 img{
  width:260px;
}
h3{
  text-align: center;
  margin:50px auto;
}
div#main_menu,div#foot_menu{
  width:100%;
  text-align: center;
  margin:0 auto;
  background:#231815;
  display: flex;
  justify-content: center;
}
.openbtn{
  display: none;
}
.subtitle,.text_center{
  text-align:center;
  margin:20px auto;
}
.subtitle_contact{
  background-image: linear-gradient(90deg, rgba(221, 223, 235, 1), rgba(132, 138, 148, 1));
  margin: 30px auto;
  max-width: 1000px;
  padding:10px;
}

#main_menu ul,#foot_menu ul{
  width:100%;
  display:flex;
  justify-content: center;
}

#main_menu ul li,#foot_menu ul li{
  width:200px;
  height:60px;
  position: relative;
}
#main_menu ul li a,#foot_menu ul li a{
  font-size:12pt;
  width:200px;
  height:60px;
  display: block;
  color:white;
  text-align: center;
  text-decoration: none;
  padding-top: 15px;
}
#menu1_mo a,#menu2_mo a,#menu3_mo a,#menu4_mo a{
  background-image: linear-gradient(90deg, rgba(221, 223, 235, 1), rgba(132, 138, 148, 1));
}
#main_menu ul li a:hover,#foot_menu ul li a:hover{
background-image: linear-gradient(90deg, rgba(221, 223, 235, 1), rgba(132, 138, 148, 1));
}

#main_menu:after,#foot_menu:after{
  clear:both;
}
h3.margin50{
  margin-top:30px;
  margin-bottom:30px;
}
#main_image{
  background: url(../img/main.jpg) no-repeat center center;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
  height:500px;
  width:100%;
}
.company_inner{
  width:100%;
  justify-content: center;
  display: flex;
  box-sizing: border-box;
  background-image: linear-gradient(90deg, rgba(221, 223, 235, 1), rgba(132, 138, 148, 1));
}
.company_inner::after{
  clear: both;
}
.m30{
  margin:30px auto;
}
.inner_l{
  width:60%;
}
.inner_l img{
  width:100%;
  max-width:900px;
  height:auto;
  object-fit:cover
}
.inner_r{
  width:40%;
  text-align: center;
  padding:15px 15px 15px 0;
  box-sizing: border-box;
}
.inner_r p{
  text-align:left;
}
.inner_r p img{
  margin:0 auto;
}
.inner_r table{
  max-width:800px;
  border-collapse:separate;
  border-spacing: 5px;
  text-align: left;
  font-size:95%;
  margin:0 auto;
}
.inner_r table tr td{
  border-bottom:#000 solid 1px;
  padding: 0 10px 5px 10px;
}
.font_l{
  font-size:150%;
}
.font_b{
  font-weight: bold;
}
.subtitle_contact2{
  border:1px solid gray;
  max-width:1000px;
  padding:5px;
  margin:20px auto 10px auto;
}
h3{
  margin-bottom:30px;
}
.btn_later{
  width:100%;
  text-align: center;
  margin:20px;
}

#footer{
  width:100%;
  display: flex;
  justify-content: center;
}
#footer_l{
  display: flex;
  height:100px;
  width:50%;
}
iframe{
    width:100%;
    max-height: 500px;
  }
#footer_r{
  display: block;
  width:50%;
  height:500px;
  padding:10px 50px;
  text-align: center;
  box-sizing: border-box;
  justify-content: center;
}
.page_title{
  background:url(../img/bg_title.jpg) top center no-repeat;
  max-width:100%;
  width:auto;
  height:280px;
  text-align: center;
}
#works_menu img{
  width:75%;
}
.page_title img{
  margin:20px;
}
.middle_inner{
  width:100%;
  max-width: 1000px;
  box-sizing: border-box;
  text-align: center;
  padding:20px;
  min-height:500px;
  margin:0 auto;
}
.middle_inner_works{
  min-height:auto;
}
.text_company{
  max-width:700px;
  line-height: 2em;
  margin:0 auto;
}
.middle_inner .text_sign{
  width:100%;
  max-width:700px;
  text-align: right;
  line-height: 2em;
  font-size:1.2em;
  margin:10px auto 30px auto;
}
.middle_inner p{
  text-align: left;
}
.middle_inner img{
  text-align: center;
}
.works_group{
  width:48%;
  float:left;
  min-height:180px;
  margin:0 1%;
  box-sizing: border-box;
  padding: 2%;
  border-bottom:1px solid gray;
  text-align: left;
}
.works_group1,.works_group2{
  border-top:1px solid gray;
  padding: 20px;
}
#works1 img,#works2 img,#works3 img{
  width:75%;
}
#table_company{
  width: 100%;
  max-width: 1000px;
  border-collapse:separate;
  border-spacing: 10px;
  text-align: left;
}
#table_company tr th{
  width:50%;
  font-weight:normal;
}
#table_company td{
  border-bottom:1px solid gray;
  padding: 10px 20px 20px 20px;
  min-width:30%;
}
#works1,#works2,#works3{
  width:80%;
}
/*#works1 img,#works2 img,#works3 img{
  width:100%;
}*/
.w30{
  width:30%;
}
#table_company tr:first-child td{
  border-top:1px solid gray;
  padding:20px;
}
input,textarea{
  border: 1px solid gray;
}
input{
  min-width:200px;
  padding:5px;
}
textarea{
  max-width:1000px;
  width:100%;
  padding:5px;

}
.table_contact,.table_contact_b{
  width:100%;
  max-width: 1000px;
  margin:0 auto;
  text-align: left;
}
.table_contact_b{
  margin-top:20px;
  border:1px solid #ddd;
  border-collapse:collapse;
}
.table_contact_b td,.table_contact_b th{
  border:1px solid #ddd;
  padding:10px;
}
.table_contact_b th{
  width:30%;
}
.table_contact td{
  padding:10px;
}
.link_button{
    font-size: 15px;
    color: #fff;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    margin:20px auto;
}
.link_button a{
    color:white;
    padding: 10px 30px;
    width:100%;
    font-size:120%;
    border-radius: 30px;
    height:100%;
    border: 1px solid #5c87a6;
    background-image: linear-gradient(149deg, rgba(49, 76, 130, 1), rgba(0, 16, 63, 1));
    text-decoration: none;

}
.link_button a:hover {
    background-image: linear-gradient(149deg, rgba(135, 20, 0, 1), rgba(64, 28, 8, 1));
    border: 1px solid #5c87a6;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    transition: background-color 1s;
    transition: 0.3s;
    transition: background-color 1s;
}
input[type="submit"],input[type="button"]{
	width: 20%;
    font-size: 15px;
    color: #fff;
  	display: inline-block;
    margin-top:20px;
    margin-bottom:50px;
    padding: 10px 0px;
    text-align: center;
	  background-image: linear-gradient(149deg, rgba(49, 76, 130, 1), rgba(0, 16, 63, 1));
    border: 1px solid #5c87a6;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    transition: background-color 1s;
}
.button{
    text-align: center;
    margin:10px auto;
}

.subtitle img{
  max-width: 240px;
  margin:0 auto;
}
.page_title img {
  width:240px;
}
/*--hover--*/
input[type="submit"]:hover,input[type="button"]:hover{
    color: #fff;
    background-image: linear-gradient(149deg, rgba(135, 20, 0, 1), rgba(64, 28, 8, 1));
    border: 1px solid #5c87a6;
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    transition: background-color 1s;
}
.black{
  background: black;
}
.bg_works{
  background-image: linear-gradient(90deg, rgba(221, 223, 235, 1), rgba(132, 138, 148, 1));
  min-height:100px;
  padding:20px;
  text-align: center;
}

.worksother div{
  width:48%;
  float:left;
  padding-bottom:10px;
  margin:1%;
  background: black;
  color:white;
}
.worksother{
  margin:30px auto;
  max-width: 1200px;
}
.worksother div img{
  max-width: 100%;
}
.worksother p{
  line-height:1;
  padding:0 10px;
}
.subtitle_works{
  margin:0 auto;
}
.sp_only{
  display:none;
}
.fadeLeft{
  height: 421px;
  overflow: hidden;
}

@media screen and (max-width:768px) {
  #works1 img,#works2 img,#works3 img{
    width:100%;
  }
  .openbtn{
    display: block;
  }
  .inner_r table{
    font-size:100%;
  }
  .pc_only{
    display: none;
  }
  .worksother div{
    margin:0 0 10px 0;
    float:none;
  }
  .worksother{
    margin:20px;
  }
  #works1, #works2, #works3 {
    width:90%;
  }
  #works_menu img{
    width:90%;
  }
  img.title_company{
    width:200px;
  }
  .bg_works img{
    max-width: 240px;
  }
  input[type="submit"],input[type="button"]{
    margin-bottom:0;
  }
body{
	font-size:0.9rem;
	}
.company_inner{
  display: block;
}
  .inner_l{
    width:100%;
    padding:30px;
    text-align: center;
}
.inner_r p{
  width:80%;
  margin:0 auto;
}
p.btn_later{
    text-align: center;
    margin-top:30px;
}
.fadeLeft{
  height: auto;
  overflow: hidden;
}
  .inner_r{
    width:100%;
    padding:20px;
    text-align: center;
}
.inner_r table{
  margin:0 auto;
}
.page_title{
  background-size: cover;
  height:200px;
}
.page_title img,.footer_r img{
  max-width: 240px;
}
#main_image{
  height:400px;
  background-size:cover;
}
#footer{
  display: block;
  }
#footer_r{
    width:100%;
    height:auto;
  }
.subtitle{
  margin:0 auto;
}
.subtitle img{
  max-width: 170px;
  margin:0 auto;
}
#footer_l{
    width:100%;
    height:300px;
  }
  iframe{
    width:100%;
    max-height: 300px;
  }
  .worksother div{
    width:100%;
    padding-bottom:10px;
    margin-bottom:20px;
    background: black;
    color:white;
  }
.works_group{
  width:100%;
  min-height:auto;
  margin:auto;
  padding:20px 0;
}
.works_group1, .works_group2 {
    border-top: none;
}
#table_company td,#table_company th{
  display: block;
}
#table_company tr:first-child td {
    border-top: none;
}
#table_company tr td:first-child  {
    background:#eee;
}
#table_company {
    border-spacing: 0;
}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #333;
    outline: none;
}

a:hover,
a:active{
	text-decoration: none;
}
h2,div#foot_menu{
  display:none;
}
#main_menu ul li{
  display: none;
}

.table_contact td{
  display: block;
  padding:0;
}
.table_contact_b td,.table_contact_b th{
  display: block;
  width:100%;
  padding:10px;
}
.table_contact tr td:first-child{
  padding-top:20px;
  padding-bottom:10px;
}
input,textarea{
  width:100%;
}
.sp_only{
  display:block;
}

}
/*横幅が768px以下になった際の指定*//*---------------------------------------------------------------*/
@media only screen and (max-width:768px) {

h1{
  text-align: center;
}
h1 img{
  max-width: 200px;
}
header{
  height:80px;
}
.progressbar-text{
    font-size:3rem;
}
.progressbar-text span{
    font-size:1.3rem;
}
.font_l{
  font-size: 120%;
}
.subtitle_works{
  margin:0 auto;
}
.subtitle_works img{
  width:60%;
}
p.link_button{
  text-align: center;
  margin:20px 0;
}
.inner_l{
  padding: 0;
}


}


/* heading */

.heading-block{
    position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
}

.heading-block h1{
    font-size:6vw;
	letter-spacing: 0.2em;
	color: #fff;
    line-height: 1;
    font-family: 'Italianno', cursive;
}

.heading-block p{
    font-size:2vw;
	letter-spacing: 0.2em;
	color: #fff;
}

.middle_inner img{
  max-width: 100%;
}
/*横幅が768px以下になった際の指定*/
@media only screen and (max-width:768px) {
  .heading-block h1{
    font-size:4em;
    }
.heading-block p{
    font-size:1.5em;
    }
}
#copyright{
  color:white;
  height:70px;
  text-align: center;
  padding-top:20px;
  background:url(../img/copyright.png);
  font-size:13px;
}

.ios a:hover,.ios button:hover{
  opacity: 1;
}
.ios ul.mainmenu{
    display:none;
}
.ios ul.mainmenu li a:hover{
  background:none;
}
.ios #footermenu li a:hover{
  background:none;
}
