@charset "UTF-8";

/*--------------------------------
背景
--------------------------------*/

body{
    background: url(../img/common/bg-blue.gif) repeat-x #fbf9f2;
}

@media(max-width:768px){
    .container{
        max-width:1024px;
        margin:0 auto;
        padding:0 2%;
    }
}


/*--------------------------------
ヘッダー
--------------------------------*/

header{
    max-width:1024px;
    margin: 0 auto 10px;
    text-align: center;
}

header a:link,header a:visited{
    color:#34346a;
    text-decoration: none;
}

a:hover{
    opacity: 0.5;
}

/* スマホの時は全て中央に、上部に余白を　*/

@media(max-width:768px){
    header{
        padding-top:80px !important;
        text-align: center;
    }
}

/* PCの時はロゴ左、電話右に　*/

@media(min-width:768px){
    #head-logo{
        display: flex;
        align-items:center;
    }
    
    .bt-contact-s{
        text-align: right;
    }

}

@media(max-width:768px){
    #head-info p{
        max-width:230px;
        margin: 0 auto;
        text-align: left;
    }
}


.bt-contact-s::before{
    content: url(../img/common/mail.gif);
    position: relative;
    top: 10px;
    right:10px;
}

.bt-tel-s::before{
    content: url(../img/common/tel.gif);
    position: relative;
    top: 6px;
    right:10px;
}

.bt-tel-s{
    font-size:2.4rem;
    font-weight: bold;
    color:#34346a;
}

.tel-inter{
    font-weight: normal;
    font-size:1.6rem;
}


@media(min-width:768px){
    header{
        display: flex;
        justify-content:space-between;
        align-content: top;
    }
    
    #head-logo{
        width:40%;
    }
    
    #head-info{
        width:60%;
        text-align: right;
    }
    
    .head-tel{
        display: flex;
        justify-content: flex-end;
    }
    

    
}



/*--------------------------------
見出し
--------------------------------*/

h1{
    color:#34346a;
    font-size:2.8rem;
    line-height: 1.2;
    font-weight: normal;
}

h1 a:link,h1 a:visited,h1 a:hover{
    color:#34346a;
    text-decoration: none;
}

h2{
    color:#34346a;
}



/*--------------------------------
ナビゲーション
--------------------------------*/

nav{
    background: rgba(255, 255, 255, 0.8);
    border:1px solid #f2f2f2;
    padding:6px;
}

@media(max-width:768px){
    nav{
        border:none;
    }
    
}

#global-nav ul{
    display: flex;
    justify-content:space-between;
    align-items:center;
}

#global-nav li{
    text-align: center;
    border-left:1px dotted #555;
    width: calc(100% / 5);
    line-height: 1.2;
}

#global-nav li:first-child{
    border-left:none;
}

.nav-eng{
    font-size:1.2rem;
    color:#555;
    font-family: 'Architects Daughter', cursive;  
}

#global-nav a{
    text-decoration: none;
    color:#34346a;
}

/*　タブレットで崩れるのでとりあえず　*/
@media(max-width:960px){
    
    #global-nav li{
        font-size:1.2rem;
    }
    
    #global-nav ul{
        align-items:flex-start;
    }
    
}



/*-------　グローバルナビゲーション　-------*/


#g-nav {
	margin: 0 auto 1em;
    border-top:1px solid #604c3f;
    border-bottom:1px solid #604c3f;
    padding:1em 0;
}

#g-nav ul{
    display: table;
    width:100%;
    margin: 0 auto;
}

#g-nav a{
    text-decoration:none;
    color:#604c3f;
}

#g-nav a:link,#g-nav a:visited, #g-nav a:hover{
    color:#604c3f;
}

#g-nav li{
    text-align:center;
    border-left:1px solid #999;
    display : table-cell;
    vertical-align: top;
    text-align:center;
    width: calc( 100% / 7) ; 
    line-height: 1.2;
}

#g-nav li:last-child{
    border-right:1px solid #604c3f;
}


/*--------------------------------
ナビ固定
--------------------------------*/

.is-fixed {
    position: fixed;
    top: 0;
    left:0;
    z-index: 10;
    width: 100%;
    background:rgba(255, 255, 255, 0.8);
}

.is-fixed ul{
    width:1024px;
    margin:0 auto;
    padding:10px 0;
}



/*--------------------------------
フッター
--------------------------------*/
footer{
    text-align: center;
}

#foot-nav ul{
    display: flex;
    max-width:600px;
    margin:10px auto;
    justify-content: space-between;  
}

#foot-nav li{
    text-align: center;
    width: calc(100% / 5);
    border-right:1px solid #999;
}

#foot-nav li:last-child{
    border-right:none;
}

#foot-nav a:link,#foot-nav a:visited,#foot-nav a:hover{
    text-decoration: none;
    color:#34346a;
}

h6{
    font-size:2.4rem;
    color:#34346a;
}

/*------フッターではナビの英語は表示させない----*/

#foot-nav .nav-eng{
    display:none;
}

/*------スマホではフッターナビは表示させない----*/

@media(max-width:768px){
    #foot-nav{
            display: none;
    }
}    

    
.copyright{
    font-size:1.1rem;
    margin:10px auto;
    color:#666;
}

.foot-tel{
    font-size:2.2rem;
    font-weight: bold;
}

.foot-bnn{
    margin:20px auto;
}

.foot-bnn img{
    margin-bottom:10px;
}





