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

body {
    position: relative;
}

/*header*/

header {
    width: 100%;
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 8000;
    background-color: #fff;
}
.header-cont {
    width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
}
.header-cont p:nth-child(1) {
    width: 27.5%;
    font-family: "Hiragino Mincho ProN", Mincho, "Mincho", "serif";
    font-size: 32px;
    font-size: 3.2rem;
    font-weight: 300;
    margin-top: 30px;
}
.header-cont h1 {
    width: 30%;
}
.header-cont p:nth-child(3) {
    width: 23.5%;
    font-family: Gothic, "Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 26px;
    font-size: 2.6rem;
    font-weight: 300;
    margin-top: 40px;
}

#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 8000;
    /*ナビのスタート位置と形状*/
	top:0;
    right: -120%;
	width:50%;
    height: 100vh; /*ナビの高さ*/
	background:#333;
    /*動き*/
	transition: all 0.6s;
}

/*アクティブクラスがついたら位置を0に*/
#g-nav.panelactive{
    right: 0;
}

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 8000; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

/*ナビゲーション*/
#g-nav ul {
    width: 100%;
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 9999;
    margin-top: 100px;
}

/*リストのレイアウト設定*/
#g-nav li{
	list-style: none;
    text-align: center;
}
#g-nav li a{
	color: #fff;
	text-decoration: none;
	padding:20px;
	display: block;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 30px;
    line-height: 3.0rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
    border-bottom: 1px solid #fff;
    background-color: #333;
	transition: all 0.6s;
}
#g-nav li a:hover{
    background-color: #96514d;
}
#g-nav li:first-child a{
    border-top: 1px solid #fff;
}

/*========= ボタンのためのCSS ===============*/
.openbtn1 {
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:10px;
	right: 10px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/
.openbtn1 span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
}
.openbtn1 span:nth-of-type(1) {
	top:15px;	
}
.openbtn1 span:nth-of-type(2) {
	top:23px;
}
.openbtn1 span:nth-of-type(3) {
	top:31px;
}

.openbtn1.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}
.openbtn1.active span:nth-of-type(2) {
	opacity: 0;
}
.openbtn1.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}

#h-nav {
    width: 100%;
    padding:3px 0;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    background-color: #000;
}
#h-nav ul {
    width: 1200px;
    margin: 0 auto;
    display: -webkit-flex;
    display: flex;
}
#h-nav li {
    width: calc(16.6% - 1px);
}
#h-nav li a {
    display: inline-block;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 30px;
    line-height: 3.0rem;
    font-weight: 300;
    border-left: 1px solid #fff;
    background-color: #000;
	transition: all 0.6s;
}
#h-nav li a:hover {
    text-decoration: none;
    background-color: #96514d;
}
#h-nav li:last-child {
    width: calc(16.6% - 2px);
}
#h-nav li:last-child a {
    border-right: 1px solid #fff;
}
@media screen and ( max-width:768px ) {
    .header-cont {
        width: 100%;
        -webkit-justify-content: space-around;
        justify-content: space-around;
    }
    .header-cont p:nth-child(1) {
        font-size: 24px;
        font-size: 2.4rem;
        margin-top: 30px;
    }
    .header-cont p:nth-child(3) {
        font-size: 18px;
        font-size: 1.8rem;
        margin-top: 40px;
    }
    
    #h-nav ul {
        width: 100%;
        display: -webkit-flex;
        display: flex;
    }
}
@media screen and ( max-width:414px ) {
    .header-cont {
        width: 100%;
        -webkit-justify-content: space-around;
        justify-content: space-around;
    }
    .header-cont p:nth-child(1) {
        width: 20%;
        font-size: 10px;
        font-size: 1.0rem;
        margin-top: 15px;
    }
    .header-cont h1 {
        width: 26%;
    }
    .header-cont p:nth-child(3) {
        width: 28%;
        font-size: 11px;
        font-size: 1.1rem;
        margin-top: 24px;
    }
    
    #g-nav{
        /*ナビのスタート位置と形状*/
        top:0;
        right: -120%;
        width:100%;
        height: 100vh; /*ナビの高さ*/
    }
    
    .openbtn1 {
        top:4px;
        right: 4px;
        width: 25px;
        height:25px;
    }
    .openbtn1 span{
        left: 0;
        height: 2px;
        border-radius: 1px;
        background-color: #666;
        width: 100%;
    }
    .openbtn1 span:nth-of-type(1) {
        top:4px;	
    }
    .openbtn1 span:nth-of-type(2) {
        top:12px;
    }
    .openbtn1 span:nth-of-type(3) {
        top:20px;
    }
    
    .openbtn1.active span:nth-of-type(1) {
        top: 0;
        left: 0;
        transform: translateY(6px) rotate(-45deg);
        width: 100%;
    }
    .openbtn1.active span:nth-of-type(3){
        top: 25px;
        left: 25px;
        transform: translateY(-18px) translateX(-25px) rotate(45deg);
        width: 100%;
    }
    
    #h-nav {
        display: none;
    }
}

/*section*/

#main {
    padding-top: 160px;
}
@media screen and ( max-width:768px ) {
    #main {
        padding-top: 130px;
    }
}
@media screen and ( max-width:414px ) {
    #main {
        padding-top: 60px;
    }
}

/*footer*/

footer {
    width: 920px;
    margin: 0 auto;
    padding: 50px 0;
}

.footer-logo {
    width: 100%;
    display: -webkit-flex;
    display: flex;
    /*-webkit-justify-content: space-between;*/
    /*justify-content: space-between;*/
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.footer-logo p:nth-child(1) {
    width: 22.8%;
    margin-right: 8.95%;
    font-family: "Hiragino Mincho ProN", Mincho, "Mincho", "serif";
    font-size: 28px;
    font-size: 2.8rem;
    font-weight: 300;
}
.footer-logo p:nth-child(2) {
    width: 42.3%
}
.footer-logo p:nth-child(3) {
    width: 17%;
}
.footer-logo p:nth-child(3) a {
    display: inline-block;
    width: calc(100% - 62px);
    padding-right: 62px;
    font-family: Gothic, "Gothic medium", "Hiragino Sans", Meiryo, "sans-serif";
    font-size: 15px;
    font-size: 1.5rem;
    line-height: 20px;
    line-height: 2.0rem;
    font-weight: 300;
    background-image: url("../img/i-mail.png");
    background-repeat: no-repeat;
    background-position: right top;
    background-size: 54px;
}

.address-tel {
    width: 100%;
    margin-top: 25px;
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}
.address-tel p:first-child {
    font-family: "Hiragino Mincho ProN", Mincho, "Mincho", "serif";
    font-size: 28px;
    font-size: 2.8rem;
    line-height: 30px;
    line-height: 3.0rem;
    font-weight: 300;
}
.address-tel p:last-child {
    font-size: 30px;
    font-size: 3.0rem;
    line-height: 30px;
    line-height: 3.0rem;
    font-weight: 300;
}
@media screen and ( max-width:768px ) {
    footer {
        width: 90%;
        margin: 0 auto;
        padding: 50px 0;
    }
    
    .footer-logo p:nth-child(1) {
        width: 22.8%;
        font-size: 22px;
        font-size: 2.2rem;
    }
    .footer-logo p:nth-child(2) {
        width: 34%
    }
    .footer-logo p:nth-child(3) {
        width: 22%;
    }
    .footer-logo p:nth-child(3) a {
        font-size: 15px;
        font-size: 1.5rem;
        line-height: 20px;
        line-height: 2.0rem;
        background-size: 50px;
    }
    
    .address-tel {
        width: 100%;
        margin-top: 25px;
    }
    .address-tel p {
        width: 100%;
        text-align: center;
    }
    .address-tel p:first-child {
        font-size: 22px;
        font-size: 2.2rem;
        line-height: 30px;
        line-height: 3.0rem;
    }
    .address-tel p:last-child {
        font-size: 20px;
        font-size: 2.0rem;
        line-height: 30px;
        line-height: 3.0rem;
    }
}
@media screen and ( max-width:414px ) {
    footer {
        width: 96%;
        margin: 0 auto;
        padding: 20px 0;
    }
    
    .footer-logo p:nth-child(1) {
        width: 100%;
        text-align: center;
        font-size: 14px;
        font-size: 1.4rem;
    }
    .footer-logo p:nth-child(2) {
        width: 80%;
        margin: 0 auto;
        padding: 20px 0;
        text-align: center;
    }
    .footer-logo p:nth-child(3) {
        width: 36%;
        margin: 0 auto;
    }
    .footer-logo p:nth-child(3) a {
        width: calc(100% - 40px);
        padding-right: 40px;
        font-size: 12px;
        font-size: 1.2rem;
        line-height: 18px;
        line-height: 1.8rem;
        background-size: 36px;
    }
    
    .address-tel {
        width: 100%;
        margin-top: 15px;
    }
    .address-tel p {
        width: 100%;
    }
    .address-tel p:first-child {
        text-align: center;
        font-size: 16px;
        font-size: 1.6rem;
        line-height: 26px;
        line-height: 2.6rem;
    }
    .address-tel p:last-child {
        text-align: center;
        font-size: 20px;
        font-size: 2.0rem;
        line-height: 30px;
        line-height: 3.0rem;
    }
}
