@charset "utf-8";
@import url(https://fonts.googleapis.com/css?family=Mallanna);
body {
	font-family: 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
	margin: 0px;
	padding: 0px;
	font-size: 15px;
	line-height: 28px;
	background-color: #fff;
	width: 100%;	
}
.beige{
	background-color: #f8f0d3;
	overflow-y: auto;
	}
	
.pix {
    -ms-interpolation-mode:nearest-neighbor;   /* IE8+ */
   image-rendering:-webkit-optimize-contrast; /* Safari (WebKit) */
   image-rendering:-moz-crisp-edges;          /* Firefox (Gecko) */
       image-rendering:-o-crisp-edges;            /* Opera 12.x */
    image-rendering:pixelated;                 /* Chrome 41+, Opera 29+ (CSS4) */
}
/*
  Container
----------------------------------------------------------------------------------------------------*/
#page {
	min-width: 984px;
	position: relative;
	z-index: 100;
	height: 2000px;
}
@media screen and (max-width: 984px) {
  #page {
    min-width: 480px;
  }
}
@media screen and (max-width: 480px) {
  #page {
    min-width: 280px;
  }
}

.wrap {
  width: 100%;
  
}
@media screen and (max-width: 678px) {
  .wrap {
    width: 100%;
  }
}

#contents {
	width: 90%;
	
	margin-top: 0;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 0;
}

@media screen and (max-width: 768px) {
	
	#contents {
	width: 90%;
	
	margin-top: 0;
	margin-right: 5%;
	margin-left: 5%;
	margin-bottom: 0;
}
}

/*
  Header
----------------------------------------------------------------------------------------------------*/

#header {
	height: 100px;
	width: 96%;
	max-width:1200px;
	margin-right: auto;
	margin-left: auto;
	z-index: 1000;
	padding-top: 10px;
	position: relative;
	padding-left: 2%;
	padding-right: 2%;
	}
.h_menu {
	display: none;
}

.h_left {
	float: left;
	height: auto;
	width: 60%;
	padding-top: 18px;
	padding-left: 0px;
}

.h_right {
	float: right;
	height: auto;
	width: 280px;
	text-align: right;
	display: block;
	padding-top: 15px;	
}
.tel{
	border: 1px solid #CCCCCC;
	width: 275px;
	height: 60px;
}

.logo {
	width : 100%;
	max-width:450px; 
	height: auto; 
	
}

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

#header {
	height: 90px;
	width: 96%;
	margin-right: auto;
	margin-left: auto;
	z-index: 1000;
	padding-top: 10px;
	position: relative;
	padding-left: 2%;
	padding-right: 2%;
	
	}

.h_left {
	float: left;
	height: auto;
	width: 85%;
	padding-top: 15px;
	padding-left: 0px;
}
.h_right {
	float: right;
	height: auto;
	width: 0%;
	text-align: right;
	display: none;	
	
}	
.h_menu {
	display: block;
	right: 2%;
	top: 8%;
	width: 60px;
	position: absolute;
}
}
	
/*
  footer
----------------------------------------------------------------------------------------------------*/
#f_wrap {
	color: #000;
	border-top: 5px solid #004C94;
	}
#footer {
	width: 90%;
	max-width: 1200px;
	margin-right: auto;
	margin-left: auto;
	z-index: 1000;
	padding-top: 30px;
	clear: both;
	padding-bottom: 60px;
	padding-left: 5%;
	padding-right: 5%;
	}
	.f_company{
	clear: both;
	text-align:center;
	font-size: 140%;
	padding-left: 0px;
	line-height: 30px;
	}
	
.f_left {
	padding-left:15px;
	width: 50%;
	float: left;
	
}

.f_right {
	
	font-family: 'Droid Sans', sans-serif;
	font-size:80%;
	float: left;
	height: auto;
	width: 40%;
	
}
.btn_contact{
	height:120px;
	
	
}
.btn_contact a{
	width: 50%;
	font-size: 24px;
	text-decoration: none;
	display: block;
	text-align: center;
	padding-top: 25px;
	padding-right: 0;
	padding-left: 0;
	padding-bottom: 25px;
	color: #fff;
	background-color: #15AD8B;
	border-radius: 5px;
	box-shadow: 0 3px 0 #017161;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0px;
}
.btn_contact a:hover{
	color: #FFF;
	background-color: #49BFA5;
	box-shadow: 0 3px 0 #15AD8B;
		
	}
.contact_tel {
	font-family: 'Mallanna', sans-serif;
	font-size: 320%;
	color: #000000;
	clear: both;
	width: 100%;
	max-width:300px;
	margin-left: auto;
	margin-right: auto;
	background-image: url(../img/layout/free.gif);
	background-repeat: no-repeat;
	background-size: 100px auto;
	height: 60px;
	display: block;
	margin-top: 0px;
	padding-top: 10px;
	text-align: left;
	padding-left: 110px;
}

@media screen and (max-width: 768px) {
	.contact_tel {
	font-size:320%;
}	

}
@media screen and (max-width: 480px) {
.contact_tel {
	width: 65%;
	font-size: 200%;
	padding-left: 35%;
}	
.btn_contact a{
	width: 80%;
	
}	
}
.contact_area {
	width: 100%;
	margin: 0 auto;
	text-align: center;
	clear: both;
}
.contact_area h2{
	margin-top: 50px;
	text-align: center;
	color: #000000;
	font-weight: bold;
	font-size: 130%;
	border-bottom: 3px dotted #000000;
	display: inline-block;
	margin-bottom: 30px;
	padding-bottom: 10px;
	}
.sp {
	font-family: 'Mallanna', sans-serif;
	height: 40px;
	background-image: url(http://miyoshiya-design.com/wp-content/themes/miyoshiya/img15/layout/sp.png);
	background-repeat: no-repeat;
	padding-left: 40px;
	font-size: 150%;
	margin-bottom: 40px;
}
	
@media screen and (max-width: 768px) {

.f_left {
	margin-left:1%;
	width: 98%;
	float: none;
	
}
.f_right {
	margin-left:1%;
	float: none;
	height: auto;
	width: 98%;
	text-align: left;
	
	
	
}	
}





/*
Gnav
----------------------------------------------------------------------------------------------------*/
 #panel  {
	display: block;
	height: 70px;
	border-bottom: 6px solid #004F90;
	clear: both;
	background-color: #136FAE;
}

#panel-btn{
  display: inline-block;
  position: relative;
  width: 60px;
  height: 60px;
}
#panel-btn:hover{
 filter:alpha(opacity=70);
    -moz-opacity: 0.7;
    opacity: 0.7;

}
#panel-btn-icon{
  display: block;
  position: absolute;
  top: 50%;
  left: 38%;
  width: 30px;
  height: 3px;
  margin: -1px 0 0 -7px;
  background: #333;
  transition: .2s;
}
#panel-btn-icon:before, #panel-btn-icon:after{
  display: block;
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 30px;
  height: 3px;
  background: #333;
  transition: .3s;
}
#panel-btn-icon:before{
  margin-top: -12px;
}
#panel-btn-icon:after{
  margin-top: 8px;
}
#panel-btn .close{
  background: transparent;
}
#panel-btn .close:before, #panel-btn .close:after{
  margin-top: 0;
}
#panel-btn .close:before{
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
}
#panel-btn .close:after{
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}


.menu img {
width : 100%; /* 画像を枠の100%の横幅にする */
height: auto; /* 高さは自動で設定する */
}
.toggle{
	color:#000;		
	}
	
.gnav {
	position: relative;
	font-family: "メイリオ", sans-serif;
	height: 100%;
	width: 806px;
	margin-left: auto;
	margin-right: auto;
	border-right: 1px solid #5195C3;	
		} 

.gnav_a a{
	width: 160px;
	float: left;
	border-left: 1px solid #5195C3;
	height: 45px;
	text-align: center;
	color: #FFFFFF;
	padding-top: 25px;
	font-size: 120%;
	}
.last {
	border-right: 1px solid #5195C3;	
}
.sub_menu {
	z-index: 1000;
	width: 90%;
	height: 180px;
	background-color: #FFF;
	position: absolute;
	top: 106px;
	left: 0;
	padding-top: 3%;
	padding-left: 10%;
	padding-bottom: 3%;
	box-shadow: 0 10px 6px -6px #555;
	display:none;
}
.sub_menu li{
	z-index: 5000;
	float: none;
	
	padding-top: 10px;
	padding-bottom: 10px;
	
	
}
.sub_menu li a{
	width: 100%;
	text-align: left;
	height: 25px;
	border-left: none;
	background-repeat: no-repeat;
	background-size: 7px auto;
	padding-left: 15px;
	background-position: 0px 7px;
	color:#000;		
	}
.megamenu {
	width:33%;
	float:left;
	
}
.megamenu a:hover{
		 color: #1d9bff;
		  }
@media only screen and (max-width: 768px) {
#panel {
	display: none;
	width: 100%;
	padding-left: 0%;
	padding-right: 0%;
	clear: both;
	border-bottom: none;
	text-align: left;
	height: auto;
	padding-top: 12px;
	overflow: hidden;
	background-color: #FFFFFF;	
}
#panel:after{
	content: "";
	display: block;
	clear: both;
}

.gnav img {
width : 100%; /* 画像を枠の100%の横幅にする */
height: auto; /* 高さは自動で設定する */
display:none;
}
	
.gnav {
	width: 100%;
	position: static;
	font-family: "メイリオ", sans-serif;
	font-size: 14px;
	margin-left: auto;
	margin-right: auto;
		} 
.gnav_a {
	width: 100%;
	height: auto;
	border-top: none;
	float: none;
	border-left: none;
		
	}
.gnav_a > a{
	height: auto;
	width: 100%;
	border-left:none;
	border-bottom: 1px solid #5195C3;
	float: none;
	padding-top: 12px;
	padding-bottom: 8px;
	display: block;
	text-align: left;
	padding-left: 30px;
	color: #F5F5F5;
	font-size:100%;
	background-color: #136FAE;
	
	}
	
	
.last {
	border-right: none;	
}
.sub_menu {
	z-index: 1000;
	width: 90%;
	height: auto;
	background-color: #FFF;
	position: static;
	top: 0px;
	left: 0px;
	padding-top: 10%;
	padding-left: 5%;
	padding-right: 5%;
	padding-bottom: 0%;
	box-shadow: 0 0px 0px 0px #555;
	display: none;
	
}
.sub_menu li{
	z-index: 5000;
	width: 50%;
	float: left;
	padding-top: 5px;
	padding-bottom: 5px;
	
	
}
.sub_menu li a{
	width: 100%;
	text-align: left;
	height: 20px;
	padding-left: 15px;
	background-position: 0px 7px;
	background-image: url(../img/layout/angle.png);
	background-repeat: no-repeat;
	background-size: 7px auto;
	}

	
.megamenu {
	width: 100%;
	float: none;
	margin-bottom: 20px;
	padding-bottom: 20px;
	height: 160px;
}

.megamenu h4{
	text-align: left;
	display: block;

}

.toggle{
	background-repeat: no-repeat;
	background-image: url(../img/layout/arrow.png);
	display: block;
	background-position: 86% 50%;
	background-size: 16px 16px;
	}
.active {
	background-repeat: no-repeat;
	background-image: url(../img/layout/arrow_active.png);
	display: block;
	background-position: 86% 50%;
	background-size: 16px 16px;
}

	
}


