@charset "UTF-8";
/* CSS Document */

body {
font-family: 'M PLUS Rounded 1c', sans-serif, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", "sans-serif";
color: #454f5b;
background: #f2f2f2;
letter-spacing: 1px;
}
img {
width: 100%;
vertical-align: bottom;
}
a {
color: #454f5b;
text-decoration: none;
-webkit-transition: .6s;
-moz-transition: .6s;
-o-transition: .6s;
transition: .6s;
}
main {
display: block;
}

#header {
width: 100%;
position: fixed;
top: 0;
left: 0;
background: #fff;
z-index: 9999;
border-bottom: 1px solid #eee;
}
#header nav ul li:last-of-type i{
font-size: 1.4em;
color: #4267b2;
}

#contact{
padding-top:100px;
margin-top:-100px;
}
#contact div{
margin: 0 auto;
text-align: center;
border: 2px solid #454f5b;
background: rgba(255,255,255,0.80);
}
#contact div h3{
font-size: 2em;
}
#contact .tel{
margin: 20px 0 25px;
}
#contact .tel span{
display: block;
margin-top: -5px;
}
#contact .mail{
display: inline-block;
background: #454f5b;
padding: 10px;
}
#contact .mail a{
color: #fff;
}
#contact .tel a i,#contact .mail a i{
margin-right: 5px;
}

#footer{
width: 100%;
background: #333;
color: #a1a1a1;
}
#footer div.foot-inner{
margin: 0 auto;
position: relative;
}
#footer li a i{
margin-left: 6px;
}
#footer a{
color: #a1a1a1;
}
#footer h3 strong{
font-size: 1.5em;
margin-right: 4px;
}
#footer p span:nth-of-type(1){
margin-right: 12px;
}
#footer .add a{
margin: 0 3px;
text-decoration: underline;
} 
#footer .add i{
margin-left: 3px;
}
#footer small{
display: block;
text-align: center;
background: #454f5b;
padding: 8px 0;
}
#footer .pagetop{
width: 50px;
}

/*横幅480px以下*/
@media screen and (max-width:480px){
body{
font-size: 12px;
}
#contact{
padding-bottom: 80px;
background: url(../images/machi_sp.png) no-repeat center bottom;
background-size: 100%;
}

#contact div{
width: 90%;
padding: 20px 0;
}
#contact h3 + p{
font-size: 0.8em;
}
#contact .tel a{
font-size: 2em;
}
#footer ul li{
width: 50%;
}
#footer ul li:last-of-type{
display: none;
}
#footer small{
font-size: 0.6em;
}
}

/*横幅481px以上*/
@media screen and (min-width:481px){
#contact{
padding-bottom: 120px;
background: url(../images/machi.png) no-repeat center bottom;
background-size: 100%;
}

#contact .tel a{
font-size: 2.8em;
}
#footer small{
font-size: 0.8em;
}
}

/*横幅481px〜768px*/
@media (min-width:481px) and (max-width:768px){

#contact div{
width: 400px;
padding: 30px 0;
}
#footer ul li{
width: 33.333333%;
}
#footer ul li:last-of-type{
display: none;
}
}

/*横幅768px以下*/
@media screen and (max-width:768px){
#header{
height: 60px;
}
#header h1{
margin: 8px 0 0 8px;
}
#header h1 a img{
width: auto;
height: 45px;
}
.gNav ul li:last-of-type i{
margin-right: 4px;
}
	
#contact div{
padding: 30px 0;
}
#footer .foot-inner{
padding-bottom: 70px;
}
#footer ul li{
float: left;
}
#footer ul li a{
display: block;
padding: 15px 0;
box-shadow: 0 0 0 1px #444;
text-align: center;
}
#footer .foot-address h3{
width: 200px;
margin: 30px auto 0;
}
#footer .foot-address p{
display: none;
}
#footer .pagetop{
position: absolute;
bottom: 20px;
left: 50%;
margin-left: -25px;
}
}

/*横幅769px以上*/
@media screen and (min-width:769px){
a[href^="tel:"] {
pointer-events: none;
}
	
#header{
height: 70px;
}
button {
display: none;
}
.clone-nav {
position: fixed;
top: 0;
left: 0;
z-index: 2;
width: 100%;
transition: .3s;
transform: translateY(-100%);
}
.is-show {
transform: translateY(0);
}
.clone-nav > a {
width: 200px;
display: block;
margin: 0 auto 20px;
}
.head-inner{
margin: 0 auto;
}
#header h1{
float: left;
margin-top: 10px;
}
#header h1 img{
width: auto;
height: 50px;
}
.gNav ul{
float: right;
display: -webkit-flex;
display: flex;
overflow: hidden;
line-height: 70px;
}
.gNav ul li:first-of-type,.gNav ul li:last-of-type span{
display: none;
}
	
#contact div{
width: 500px;
padding: 50px 0;
}
#footer{
padding: 60px 0 0;
}
#footer div ul{
display: table
}
#footer div ul li{
display: table-cell;
padding-right: 20px;
}
#footer div ul li:last-of-type a{
border-left: 1px solid #a1a1a1;
padding-left: 20px;
}
#footer h3{
margin: 40px 0 20px;
width: 250px;
}
#footer p{
margin-bottom: 60px;
}
#footer .pagetop{
position: absolute;
bottom: 0;
right: 0;
}
}

/*横幅769px〜1024px*/
@media (min-width:769px) and (max-width:1024px){
.head-inner{
width: 760px;
}
.gNav li a {
padding: 0 12px;
}
#footer div{
width: 700px;
}
}

/*横幅1024pxpx以下*/
@media screen and (max-width:1024px){
body{
font-size: 12px;
}
}

/*横幅1025px以上*/
@media screen and (min-width:1025px){
body{
font-size: 13px;
}	
.head-inner{
width: 1000px;
}
.gNav li a{
padding: 0 15px;
}
.gNav ul li a:hover {
color: #158fa6;
}
#footer div{
width: 1000px;
}
}