@charset "utf-8";

/*------------- pc css ---------------------------------------*/
@media only screen and (min-width : 768px){
html {
    width: 100%;
    opacity : 0;
    transition: opacity 3s;
    margin: 0;
    padding: 0;
}
html.view {
    opacity: 1;
}
body {
    min-width: 100%;
    margin: 0;
    padding: 0;
    color: #786E64;
    font-family: "M PLUS Rounded 1c";
    font-size: 16px;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 0.12em;
}
a {
    text-decoration: none;
    color: #786E64;
    transition: 1s;
}
a:hover {
    color: #4E2B08;
    transition : 1s;
}
a img {
    transition: 1s;
}
a img:hover {
    opacity: 0.6;
}
h1 {
    font-size: 40px;
    letter-spacing: 0.15em;
    font-weight: 200;
}
/* header css --------------------------- */
#header {
    position: relative;
}
.header-logo {
    width: 200px;
    height: auto;
    margin: 40px 0 0 40px;
	display: inline-block;
}
/* menu css */
.openbtn1 {
    display: none;
    }
.nav {
    display: inline-block;
    list-style: none;
    position: absolute;
    right: 40px;
    top: 26px;
}
.nav li {
    display: inline-block;
    margin: 0 0 0 28px;
    font-weight: 700;
    letter-spacing: 0.12em;
}
#g-nav img {
	width: 20px;
	height: auto;
}
/* body css --------------------------- */
.works_sub {
    margin: 26px 30px 0;
}
.works_sub img {
    width: 100%;
	height: auto;
}
.works_sub li {
    padding: 0 10px;
    list-style: none;
    text-align-last: justify;
	float: left;
}
.works_sub ul {
    padding: 0;
    display: flex;
	justify-content: center;
}
/* top slide animation css --------------------------- */
.slider {
    z-index: 1;
    /*↑z-indexの値をh1のz-indexの値よりも小さくして背景に回す*/
    height: 100vh;/*スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
}
/*　背景画像設定　*/
.slider-item01 {
    background:url("../img/works/1/works_1_1.jpg");
}
.slider-item02 {
    background:url("../img/works/2/works_2_1.jpg");
}
.slider-item03 {
    background:url("../img/works/3/works_3_1.jpg");
}
.slider-item {
    width: 100%;/*各スライダー全体の横幅を画面の高さいっぱい（100%）にする*/
    height: 100vh;/*各スライダー全体の縦幅を画面の高さいっぱい（100vh）にする*/
    background-repeat: no-repeat;/*背景画像をリピートしない*/
    background-position: center;/*背景画像の位置を中央に*/
    background-size: cover;/*背景画像が.slider-item全体を覆い表示*/
}
.wrapper li {
    height: 100vh;/*スライド画像を表示*/
}
.wrapper ul{
    margin:0;
    padding: 0;
}
.wrapper{
    margin: 30px 40px 0 40px;
}
/* works css --------------------------- */
.works_wrapper {
    width: 80%;
    margin: 70px auto 0;
}
.works_info h2 {
    font-size: 28px;
    margin: 0 0 18px 0;
}
.works_info_category {
    font-size: 18px;
    margin: 0;
}
.works_info_caption {
    font-size: 14px;
    margin: 10px 0 0 0;
}
.works_info_log {
    font-size: 14px;
    margin: 0 0 40px 0;
}
.works_img {
    width: 100%;
    height: auto;
    margin: 0 20px 0 0;
}
.works_img img {
    max-width: 100%;
    height: auto;
}
/* about css --------------------------- */
.about_text {
    width: 460px;
    margin: 0 auto;
}
.about_text h1 {
    text-align: center;
    margin: 80px 0 40px 0;
}
.about_text p {
    text-align: center;
    line-height: 36px;
    margin: 80px 0 0 0;
}
.read {
    font-weight: 700;
}
/* footer css --------------------------- */
.footer_nav {
    display: block;
    list-style: none;
    text-align: center;
    margin: 0 auto;
}
.footer_nav ul {
    text-align: center;
}
.footer_nav li {
    display: inline-block;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0 10px;
}
#footer {
    margin: 50px 0 40px 0;
}
#footer p {
    font-size: 14px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.12em;
}
}

/*------------- sp css ------------------------------------------------------------------------------*/
@media only screen and (max-width : 767px){
    html {
        width: 100%;
        opacity : 0;
        transition: opacity 3s;
        margin: 0;
        padding: 0;
    }
    html.view {
        opacity: 1;
    }
    body {
        font-family: "M PLUS Rounded 1c";
        margin: 0;
        padding: 0;
        font-size: 16px;
        font-weight: 500;
        line-height: 32px;
        letter-spacing: 0.12em;
    }
    a {
        text-decoration: none;
        color: #786E64;
    }
/* nav menu */
#g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
  top:-120%;
    left:0;
  width:100%;
    height: 100vh;/*ナビの高さ*/
  background:#fff;
    /*動き*/
  transition: all 0.6s;
}

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

/*ナビゲーションの縦スクロール*/
#g-nav.panelactive #g-nav-list{
    /*ナビの数が増えた場合縦スクロール*/
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;/*表示する高さ*/
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}
/*ナビゲーション*/
#g-nav ul {
    /*ナビゲーション天地中央揃え*/
    z-index: 999;
    margin: 200px auto 0;
    padding: 0;
}
/*リストのレイアウト設定*/
#g-nav li{
    list-style: none;
    text-align: center; 
}
#g-nav li a{
  color: #786E64;
  text-decoration: none;
  padding:10px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
}

/*========= ボタンのための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: #786E64;
    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%;
}

    /* header css ---------------------------*/
    .header-logo img {
        width: 150px;
        height: auto;
        margin: 24px 0 0 20px;
    }
    .wrapper {
        display: none;
    } 
    .works_sub img {
        width: 100%;
        height: auto;
    }
    .works_sub ul {
        padding: 0;
        margin: 0;
    }
    .works_sub li {
        list-style: none;
    }
	#g-nav img {
		width: 20px;
		height: auto;
	}
    /* index body ---------------------------*/
    .works_sub {
        width: 90%;
        height: auto;
        margin: 10px auto 0;
    }
    /* works body ---------------------------*/
    .works_wrapper {
        width: 90%;
        height: auto;
        margin: 0 auto;
    }
    .works_wrapper h2 {
        margin: 40px 0 16px 0;
        font-size: 22px;
        color: #786E64;
        font-family: "M PLUS Rounded 1c";
    }
    .works_wrapper p {
        color: #786E64;
    }
    .works_img {
        margin: 5px 0 0 0;
    }
    .works_img img {
        width: 100%;
        height: auto;
    } 
    .works_info_category {
        font-size: 18px;
        margin: 0;
    }
    .works_info_caption {
        font-size: 14px;
        margin: 10px 0 0 0;
    }
    .works_info_log {
        font-size: 14px;
        margin: 0 0 40px 0;
    }
    /* about body ---------------------------*/
    .about_text {
        text-align: center;
        color: #786E64;
        width: 90%;
        margin: 0 auto;
    }
    .about_text h1 {
        font-size: 28px;
        font-weight: 500;
        margin: 40px 0;
    }
    .about_text p {
        margin: 40px 0 0 0;
    }
    .concept span {
        display: inline-block;
    }
    .read {
        font-weight: 700;
    }
    /* footer css --------------------------- */
    .footer_nav {
        display: block;
        list-style: none;
        text-align: center;
        margin: 0 auto;
        padding: 0;
    }
    .footer_nav ul {
        text-align: center;
        padding: 0;
        margin: 0;
    }
    .footer_nav li {
        font-weight: 700;
        letter-spacing: 0.12em;
        padding: 0;
		margin: 0 0 20px 0;
    }
    #footer {
        margin: 50px 0 40px 0;
    }
    #footer p {
        font-size: 12px;
        text-align: center;
        font-weight: 700;
        letter-spacing: 0.12em;
        color: #786E64;
    }
}