@charset "UTF-8";

@media screen and (max-width:768px) {
    body{
        font-size: 15px;
    }
}

body{
    font-size: 20px;
    color: black;
    font-family: "Avenir";
}

a:hover{
    text-decoration: none;
    color: #555;
}

/*---------- header ----------*/

header{
    padding: 20px 20px 35px;
    border-bottom: 1px solid #333;
}

.inner{
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

header h1{
    margin: 20px 0 0 20px;
    color: #333;
    display: block;
}

header h1 a{
    color: #333;
    text-decoration: none;
    font-size: 30px;
}

#g-nav{
    padding-top: 17px;
}

#g-nav ul{
    list-style: none;
    margin: 20px 0;
    padding: 0;
    display: flex;
}

#g-nav ul li a{
    display: block;
    padding: 0 15px 0;
    text-decoration: none;
    color: black;
}

#g-nav ul li a:hover{
    color: #888;
}

@media screen and (max-width:820px) {
    header{
        display:block;
        padding: 5% 3%;
    }

    header h1{
        margin: 20px 0 0 10px;
        text-align: center;
        margin-top: 0px;
    }

    #g-nav ul{
    display:block;
    }

    #g-nav ul li{
    padding-left:0;
    padding-top: 20%;
    }

    /*========= ナビゲーションのためのCSS ===============*/

    #g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top:-120%;
    left:0;
    width:100%;
    height: 100vh;/*ナビの高さ*/
    background:#9e9e9f;
    /*動き*/
    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 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:43px;
	right: 25px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
}

@media screen and (max-width:768px) {
    header{
        display:block;
        padding: 5% 3%;
    }

    header h1{
        margin: 20px 0 0 10px;
        text-align: center;
        margin-top: 0px;
    }

    #g-nav{
        padding-top: 0;
    }

    #g-nav ul{
    display:block;
    padding-bottom: 12%;
    }

    #g-nav ul li{
    padding-left:0;
    padding-top: 20%;
    }

/*========= ナビゲーションのためのCSS ===============*/

    #g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top:-120%;
    left:0;
    width:100%;
    height: 100vh;/*ナビの高さ*/
    background:#9e9e9f;
    /*動き*/
    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 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:41px;
	right: 25px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
}

@media screen and (max-width:767px) {

    header{
        display:block;
        padding: 5% 3% 5%;
    }

    header h1{
        margin: 20px 0 0 10px;
        text-align: center;
        margin-top: 0px;
    }

    #g-nav ul{
    display:block;
    }

    #g-nav ul li{
    padding-left:0;
    padding-top: 20%;
    }

    /*========= ナビゲーションのためのCSS ===============*/

    #g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top:-120%;
    left:0;
    width:100%;
    height: 100vh;/*ナビの高さ*/
    background:#9e9e9f;
    /*動き*/
    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 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:23px;
	right: 9px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
}

@media screen and (max-width:280px) {

    header{
        display:block;
        padding: 5% 3% 5%;
    }

    header h1{
        margin: 20px 0 0 10px;
        text-align: center;
        margin-top: 0px;
    }

    header h1 a{
        color: #333;
        text-decoration: none;
        font-size: 25px;
    }

    #g-nav ul{
    display:block;
    }

    #g-nav ul li{
    padding-left:0;
    }

    /*========= ナビゲーションのためのCSS ===============*/

    #g-nav{
    /*position:fixed;にし、z-indexの数値を大きくして前面へ*/
    position:fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top:-120%;
    left:0;
    width:100%;
    height: 100vh;/*ナビの高さ*/
    background:#9e9e9f;
    /*動き*/
    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 {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
}

/*リストのレイアウト設定*/

#g-nav li{
	list-style: none;
    text-align: center; 
}

#g-nav li a{
	color: #333;
	text-decoration: none;
	padding:10px;
	display: block;
	letter-spacing: 0.1em;
	font-weight: bold;
}

/*========= ボタンのためのCSS ===============*/
.openbtn{
	position:fixed;
    z-index: 9999;/*ボタンを最前面に*/
	top:17px;
	right: 9px;
	cursor: pointer;
    width: 50px;
    height:50px;
}
	
/*×に変化*/	
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background-color: #666;
  	width: 45%;
  }

.openbtn span:nth-of-type(1) {
	top:15px;	
}

.openbtn span:nth-of-type(2) {
	top:23px;
}

.openbtn span:nth-of-type(3) {
	top:31px;
}

.openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
}

.openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
}
}

/*---------- footer ----------*/

footer{
    background: #fff;
    padding: 3%;
    border-top: 1px solid #333;
}

footer ul{
    list-style: none;
    margin: 0 0 5px;
    padding: 0;
    text-align: center;
}

footer li{
    text-align: center;
}

footer li a{
    text-decoration: none;
    font-size: 13px;
    color: #000;
}

footer li a:hover{
    color: #888;
}

footer ul li.ig img{
    width: 30px;
    height: auto;
}

footer small{
    margin: 1.5% 0;
    display: block;
    text-align:  center;
    color: #888;
}

@media screen and (max-width:768px) {
    footer{
        padding: 8%;
    }
}

/*---------- main ----------*/
.wrapper{
    line-height: 1.7;
}

.wrapper h2{
    margin-bottom:0;
}

.wrapper p{
    margin-top: 0;
}

.photo1{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 5% 4%;
}

.photo1 img{
    width: 362px;
    height: 273px;
}



@media screen and (max-width:768px) {
    .wrapper h2{
        margin: 5% 5% 0;
        text-align: center;
    }

    .projects p{
        margin-bottom: 13%;
        text-align: center;
    }
    
    .photo1{
    display: block;
    margin: 0 auto;
    padding: 5% 0;
    }

    .projects img{
        width: 100%;
        height: auto;
    }

}

/*---------- exhibitions ----------*/

.exhibitions{
    padding: 5% 10%;
}

.exhibitionstext{
    text-align: center;
    padding: 1% 0;
}

@media screen and (max-width:768px) {
    .exhibitions{
        padding: 10% 5%;
    }
    
    .exhibitionstext{
        text-align: center;
        font-size: 0.8em;
    }
}


/*---------- publications ----------*/

.publications p{
    text-align: center;
    padding: 15% 0;
}

@media screen and (max-width:768px) {
    .publications p{
        padding: 74% 0;
    }
}

/* about */

.about{
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 10% auto;
}

.about h3{
    margin-left: 15%;
}

.abouttexts{
    font-size: 15px;
    margin: 7% 13% 0 0;
}

@media screen and (max-width:912px) {
    .about{
        display: block;
    }

    .about h3{
        padding: 5%;
        margin: 0;
        text-align: center;
    }

    .abouttexts{
        margin: 0;
        padding: 5%;
}
}

@media screen and (max-width:820px) {
    .about{
        display: block;
    }

    .about h3{
        padding: 5%;
        margin: 0;
        text-align: center;
    }

    .abouttexts{
        margin: 0;
        padding: 5%;
}
}


@media screen and (max-width:768px) {
    .about{
        display: block;
    }

    .about h3{
        padding: 5%;
        margin: 0;
        text-align: center;
    }

    .abouttexts{
        margin: 0;
        padding: 5%;
}
}

@media screen and (max-width:280px) {
    .about{
        display: block;
    }

    .about h3{
        padding: 5%;
        margin: 0;
        text-align: center;
    }

    img{
        max-width: 100%;
        height: auto;
    }

    .abouttexts{
        margin: 0;
        padding: 5%;
}
}


/*---------- contact ----------*/

.contact{
    display: flex;
    margin: 5% auto;
}

.contacttext{
    margin-left: 5%;
}

.contacttext p{
    margin: 0 0 0 30%;
}

.contacttext a{
    margin: 0 0 0 30%;
    color: #000;
}

@media screen and (max-width:768px) {
    .contact{
        margin: 60% 0 84% 0;  
    }

    .contacttext{
        margin-left: 7%;
    }
}
