@charset "utf-8";

@media only screen and (max-width: 767px) {
body{
  width:100%;
  margin:0 auto;
}
/* --- header --- */
#top{
 width:100%;
}
.pc {
  display: none;
}
.sp {
  display: block;
}
.sp img{
  max-width:100%;
}
header{
  background:#21435d ;
  width: 100%;
  height: 60px;
  position: absolute;
  z-index: 10;
}
header .logo{
  float:none;
  font-size:2rem;
  color:#fff;
  position: absolute;
  z-index: 100;
  margin:5px 0 0 10px;
}
header .logo.on{
  color:#fff;
}
header .logo span{
  line-height: 30px;
}
header nav{
  float:none;
  line-height: 60px;
  margin:0px;
  transition: all .4s;
  position: relative;
  z-index: 10;
}
header nav.on{
  background-color:#3484ac;
}
/* ボタン */
.gnav-btn,
.gnav-btn span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.gnav-btn {
  width: 120px;
  height: 60px;
  display: block;
  cursor: pointer;
  background-color:#ffffff;
  position: absolute;
  top: 0;
  right: 0;
}
.gnav-btn .inner{
  width: 40px;
  height: 30px;
  margin:auto;
  position: absolute;
  top:15px;
  left:10px;
}
.gnav-btn span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #0a587f;
  border-radius: 4px;
}
.gnav-btn span:nth-of-type(1) {
  top: 0;
}
.gnav-btn span:nth-of-type(2) {
  top: 14px;
}
.gnav-btn span:nth-of-type(3) {
  bottom: 0;
}
.gnav-btn.active span:nth-of-type(1) {
  -webkit-transform: translateY(20px) rotate(-45deg);
  transform: translateY(10px) rotate(-45deg);
}
.gnav-btn.active span:nth-of-type(2) {
  opacity: 0;
}
.gnav-btn.active span:nth-of-type(3) {
  -webkit-transform: translateY(-20px) rotate(45deg);
  transform: translateY(-18px) rotate(45deg);
}
.menu_txt{
  color:#3484ac;
  font-size:2em;
  text-align:right;
  padding-right:15px;
}
/* nav */
header .gnav > ul{
  display: none;
  width: 90%;
  padding:80px 0px 0px;
  margin:auto;
}
header .gnav li{
  float:none;
  margin:0px;
}
header .gnav > ul > li{
  width: 100%;
  border-bottom:1px dotted #fff;
}
header .gnav > ul > li:last-child{
  border:none;
}
header .gnav li a{
  text-decoration: none;
  color:#fff;
  font-size: 2rem;
  display: block;
  width: 100%;
  padding:0px 20px 0 0;
}
header .gnav .gnav-sns li{
  float: left;
  margin:20px 0px 0px 20px;
}
header .gnav .gnav-sns li a{
  padding:0;
}
header .gnav .gnav-sns li img{
  width: 30px;
  height: auto;
}

/* --- 分割統合 --- */
#main-contents{
  width: 100%;
  float: none;
}
#aside{
  width: 100%;
  float: none;
  padding-top:0;
}
/* --- main --- */
.main{
  width: 100%;
  position: relative;
    padding-top:60px;
}
.main img{
  line-height: 0;
}
.main-ttl{
  line-height: 0;
}
.main_topimg_pc{
  display:none;
}
.main_topimg_sp{
  display:block;
}
.main-ttl h1{
  height: 40px;
  text-align: center;
  font-size: 25px;
  color:#fff;
  padding:40px 0 0 0;
  background-size: cover;
}
.main-ttl h1{
  background-image:url(../images/main_h1_sp.png);
}
.contents-innner{
  width: 100%;
  margin:10px auto;
}
.main .main_copy{
  display: none;
  position: absolute;
  top:110px;
  width: 90%;
}
.main .main_copy img{
  width: 100%;
  height: auto;
}
.main .main_copy2{
  display: none;
  position: absolute;
  bottom:100px;
  right:5px;
  max-width: 98%;
}
.main .main_copy2 img{
  width: 100%;
  height: auto;
}
/* --- 事業内容 --- */
.naiyou .n_h3_1{
  position: relative;
  padding-left: 18px;
  padding-bottom: 5px;
  margin-bottom:10px;
  font-size:2.0em;
}
.naiyou .n_h3_2{
  position: relative;
  padding-left: 18px;
  padding-bottom: 5px;
  margin-bottom:10px;
  font-size:2.0em;
}
.naiyou-out{
　padding:0 20px;
}
.contents{
  background-image: none;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 400px;
  padding:5px;
}
.contents .contents-innner{
  margin-bottom:0;
}
.contents-innner h2{
  font-size: 2rem;
  margin:auto;
  width: 96%;
  line-height: 1.5;
}
.contents-innner h2:before{
  content:"■";
}
.contents-list{
  margin:10px 0 0;
}
.contents-list h3{
  font-size: 2.0rem;
  font-weight: bold;
  padding:0 0 .5rem;
  width: 96%;
  margin:auto;
}
.contents-list h3.list01{
  border-bottom:2px solid #4caad9;
  color:#4caad9;
}
.contents-list h3.list02{
  border-bottom:2px solid #00736d;
  color:#00736d;
}
/* --- テーブル --- */
.table_out {
  padding:10px 10px 20px;
}
.table_out2 {
  padding:0 0 30px;
}
.table_out table{
  width: 100%;
  margin:auto;
  box-sizing: border-box;
  border:1px solid #ccc;
  font-size: 1.4rem;
  line-height: 1.5;
}
.table_out table th{
  width: 45%;
  background:#eee;
  text-align:center;
  font-weight: normal;
  border:1px solid #ccc;
  font-size:0.9em;
}
.table_out table td{
  padding:2px;
  border:1px solid #ccc;
  font-size:0.9em;
}
/* --- aside --- */
#aside h2{
  font-size: 2rem;
  margin:0 auto 20px auto;
  width: 96%;
  line-height: 1.5;
}
#aside h2:before{
  content:"■";
}
/* --- 採用情報 --- */
.saiyou-out{
  margin-top:20px;
}
/* --- 情報提供 --- */
.jyouhou-out{
  margin-top:20px;
}

/* --- footer --- */
footer{
  background:#21435d;
}
footer .inner{
  width: 100%;
  margin:0px auto;
  display: flex;
  flex-wrap:wrap;
}
footer .inner .logo{
  float: none;
  font-size: 2rem;
  color:#fff;
  line-height:31px;
  margin:0px 0px 0px;
  order:1;
  width: 100%;
  text-align: center;
}
footer .inner .copyright{
  float: none;
  color:#fff;
  line-height: 60px;
  order:2;
  width: 100%;
  text-align: center;
}
}

@media only screen and (max-width: 450px) {
	header .logo{
  		font-size:3.5vw;
	}
	.naiyou{
    		width:45%;
	}
}


@media only screen and (max-width: 280px) {
  	.naiyou{
    		width:38%;
	}
}

@media only screen and (max-width: 260px) {
	.main .main_copy2{
  		display: none;
  		position: absolute;
  		bottom:50px;
  		right:5px;
  		max-width: 98%;
	}
}

@media only screen and (max-width: 240px) {
	header .logo{
  		float:none;
  		font-size:2.2vw;
  		color:#fff;
  		position: absolute;
  		z-index: 100;
  		margin:5px 0 0 5px;
	}
}

