/*========= 共通CSS ===============*/
html {
    scroll-behavior: smooth;
}
h2 {
    text-align: center;
    padding: 150px;
    font-size: 26px;
    letter-spacing: 0.1em;
    font-family:'Roboto', sans-serif;
    color: #91af9f;
}
@media screen and (max-width:1024px) { 
    
}
@media screen and (max-width:768px) {
    h2 {
        text-align: center;
        padding: 100px;
        font-size: 24px;
        letter-spacing: 0.1em;
        font-family:'Roboto', sans-serif;
    }
}
@media screen and (max-width:480px) {
    h2 {
        text-align: center;
        padding: 80px;
        font-size: 20px;
        letter-spacing: 0.1em;
        font-family:'Roboto', sans-serif;
    }
}

/*========= NAV CSS ===============*/

#g-nav{
    position:fixed;
    z-index: 2000;
	top:0;
    right: -120%;
	width:30%;
    height: 100vh;
	background:#ded7f0;
	transition: all 0.6s;
    opacity: 0.7;

}


#g-nav.panelactive{
    right: 0;
}


#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:#91af9f;
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
    font-family:'Roboto', sans-serif;
    font-weight: bold;
}
@media screen and (max-width:1024px) { 
    
}
@media screen and (max-width:768px) {
   
}
@media screen and (max-width:480px) {
    #g-nav{
        position:fixed;
        z-index: 2000;
        top:0;
        right: -120%;
        width:40%;
        height: 70vh;
        background:#ded7f0;
        transition: all 0.6s;
        opacity: 0.7;
    
    }
    #g-nav li a{
        text-decoration: none;
        padding:10px;
        display: block;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        font-weight: bold;
        font-size: 12px;
    }
}
/*========= NAV BTN CSS ===============*/


 .openbtn{
	position:fixed;
    z-index: 9999;
	top:10px;
	right: 10px;
	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: #b8afce;
  	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:1024px) { 
    
}
@media screen and (max-width:768px) {
   
}
@media screen and (max-width:480px) {

}
/*========= HERO CSS ===============*/
#hero p {
    color: #ffffff;
    background-color: #ffe9a5;
    width: 100%;
    height: 700px;
   position: relative;
   padding-left: 250px;
   padding-top: 150px;
   font-size: 36px;
   font-family:'Roboto', sans-serif;
   letter-spacing:0.1em;
   line-height: 1.5;
  
}

#hero h1 {
    position: absolute;
    display: inline-block;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-align: center;
    z-index: 1000;
    background-color: #fff;
    color: #91af9f;
    padding: 200px;
    top: 50%;
    left: 28%;
    opacity: 0.6;
    font-family:'Roboto', sans-serif;
    border-radius: 5px;
    letter-spacing:0.1em;
    line-height: 1.5;
    font-size: 40px;

}
@media screen and (max-width:1024px) { 
    #hero p {
        width: 100%;
        height: 700px;
       position: relative;
       padding-left: 150px;
       padding-top: 150px;
       font-size: 36px;
       font-family:'Roboto', sans-serif;
       letter-spacing:0.1em;
       line-height: 1.5;
      
    }
    
    #hero h1 {
        position: absolute;
        display: inline-block;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        text-align: center;
        z-index: 1000;
        padding: 200px;
        top: 25%;
        left: 20%;
        opacity: 0.6;
        font-family:'Roboto', sans-serif;
        border-radius: 5px;
        letter-spacing:0.1em;
        line-height: 1.5;
        font-size: 40px;
    
    }
}
@media screen and (max-width:768px) {
    #hero p {
        width: 100%;
        height: 700px;
       position: relative;
       padding-left: 80px;
       padding-top: 200px;
       font-size: 36px;
       font-family:'Roboto', sans-serif;
       letter-spacing:0.1em;
       line-height: 1.5;
      
    }
    
    #hero h1 {
        position: absolute;
        display: inline-block;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        text-align: center;
        z-index: 1000;
        padding: 150px;
        top: 35%;
        left: 15%;
        opacity: 0.6;
        font-family:'Roboto', sans-serif;
        border-radius: 5px;
        letter-spacing:0.1em;
        line-height: 1.5;
        font-size: 40px;
    
    }
}
@media screen and (max-width:480px) {
    #hero p {
        width: 100%;
        height: 400px;
       position: relative;
       padding-left: 30px;
       padding-top: 120px;
       font-size: 20px;
       font-family:'Roboto', sans-serif;
       letter-spacing:0.1em;
       line-height: 1.5;
      
    }
    
    #hero h1 {
        position: absolute;
        display: inline-block;
        text-align: center;
        z-index: 1000;
        padding: 50px;
        top: 30%;
        left: 15%;
        opacity: 0.6;
        font-family:'Roboto', sans-serif;
        border-radius: 5px;
        letter-spacing:0.1em;
        line-height: 1.5;
        font-size: 26px;
    
    }
}




/*========= PROFILE CSS ===============*/

#profile figure img {
    width: 300px;
    height: 250px;
    object-fit: cover;
    margin-left: 350px;
    margin-right: 30px;
    filter: grayscale(50%);
}
#profile .profile-flex {
    display: flex;
    align-items: center;
    margin-bottom: 200px;
}
#profile p {
    font-feature-settings: "palt";
    text-align: justify;
    text-justify: inter-ideograph;
    margin-right:300px;
    font-family: 'Noto Sans JP', sans-serif;
    color:#585858;
    font-size: 14px;
    letter-spacing: 0.2em;
    line-height: 2;
    padding: 5px;
}
#profile span {
    padding-bottom: 30px;
    font-size: 16px;
  
}
@media screen and (max-width:1024px) { 
    #profile figure img {
        width: 300px;
        height: 250px;
        object-fit: cover;
        margin-left: 100px;
        margin-right: 50px;
        filter: grayscale(50%);
    }
    #profile p {
        font-feature-settings: "palt";
        text-align: justify;
        text-justify: inter-ideograph;
        margin-right:100px;
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 14px;
        letter-spacing: 0.1em;
        line-height: 1.8;
    }
}
@media screen and (max-width:768px) {
    #profile figure img {
        width: 300px;
        height: 250px;
        object-fit: cover;
        margin-left: 50px;
        margin-right: 50px;
        filter: grayscale(50%);
    }
    #profile p {
        font-feature-settings: "palt";
        text-align: justify;
        text-justify: inter-ideograph;
        margin-right:50px;
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 14px;
        letter-spacing: 0.1em;
        line-height: 1.8;
    }
}
@media screen and (max-width:480px) {
    #profile .profile-flex {
      display: block;
      text-align: center;
    }
    #profile figure img {
        width: 250px;
        height: 200px;
        object-fit: cover;
        margin-left: 0px;
        margin-right: 0px;
        filter: grayscale(50%);
        margin-bottom: 20px;
    }
    #profile p {
        font-feature-settings: "palt";
        text-align: justify;
        text-justify: inter-ideograph;
        margin-right:55px;
        margin-left: 55px;
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 12px;
        letter-spacing: 0.1em;
        line-height: 1.8;
    }
    #profile span {
        padding-bottom: 30px;
        font-size: 14px;
      
    }
}

/*========= WORK CSS ===============*/
#work {
    background-color:#ffe9a5;
    
}
#work figure img {
    width: 350px;
    height: 300px;
    object-fit: cover;
    border-radius: 5px;
    margin: 0 50px;
}
#work figure img:hover {
    opacity: 0.5;
    transition: .4s;
}
#work .work-flex {
    display: flex;
    justify-content: center;
}
#work .work-item {
    text-align: center;
    margin-bottom: 200px;
}
.work-item  .work-button{
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
    color:#91af9f;
    font-size: 14px;
    letter-spacing: 0.15em;
    line-height: 1.8;
    padding: 5px 20px;
    border-radius: 50px;
    margin-top: 20px;

}
@media screen and (max-width:1024px) { 
    
}
@media screen and (max-width:768px) {
    #work figure img {
        width: 300px;
        height: 250px;
        object-fit: cover;
        border-radius: 5px;
        margin: 0 auto;
    }
}
@media screen and (max-width:480px) {
    #work .work-flex {
        display: block;
        justify-content: center;
    }
    #work figure img {
        width: 250px;
        height: 200px;
        object-fit: cover;
        border-radius: 5px;
        margin: 0 auto;
    }
    #work .work-item {
        text-align: center;
        margin-bottom: 0px;
        padding-bottom: 80px;
    }
    .work-item  .work-button{
        display: inline-block;
        font-family: 'Noto Sans JP', sans-serif;
        font-size: 10px;
        letter-spacing: 0.15em;
        line-height: 1.8;
        padding: 5px 20px;
        border-radius: 50px;
        margin-top: 20px;
    
    }
}



/*========= WORK 各制作の詳細ページ 共通CSS ===============*/

.work-page-name h1 {
    text-align: center;
    font-family: 'Noto Sans JP', sans-serif;
    color:#585858;
    font-size: 20px;
    letter-spacing: 0.1em;
    line-height: 1.8;
    margin: 100px;
}
.work-page-img img{
    width: 700px;
    height: 400px;
    object-fit: cover;
}
.work-page-img{
    text-align: center;
}

.work-page-text p {
    font-feature-settings: "palt";
    text-align: justify;
    text-justify: inter-ideograph;
    font-family: 'Noto Sans JP', sans-serif;
    color:#585858;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 2;
    
}
.work-page-text a {
    font-feature-settings: "palt";
    text-align: justify;
    text-justify: inter-ideograph;
    font-family: 'Noto Sans JP', sans-serif;
    color:#585858;
    font-size: 14px;
    letter-spacing: 0.1em;
    line-height: 1.8;
}
.work-page-text a:hover {
    color: #91af9f;
}
.work-page-text {
    margin: 100px 300px;
}
@media screen and (max-width:1024px) { 
    .work-page-text {
        margin: 150px ;
    }
}
@media screen and (max-width:768px) {
 
    .work-page-text {
        margin: 100px ;
    }
}
@media screen and (max-width:480px) {
    .work-page-name h1 {
        text-align: center;
        font-family: 'Noto Sans JP', sans-serif;
        color:#585858;
        font-size: 16px;
        letter-spacing: 0.1em;
        line-height: 1.8;
        margin: 50px;
    }
    .work-page-img img{
        width: 300px;
        height: 200px;
        object-fit: cover;
    }
    .work-page-text p {
        font-feature-settings: "palt";
        text-align: justify;
        text-justify: inter-ideograph;
        font-family: 'Noto Sans JP', sans-serif;
        color:#585858;
        font-size: 12px;
        letter-spacing: 0.1em;
        line-height: 2;
        
    }
    .work-page-text a {
        font-feature-settings: "palt";
        text-align: justify;
        text-justify: inter-ideograph;
        font-family: 'Noto Sans JP', sans-serif;
        color:#585858;
        font-size: 12px;
        letter-spacing: 0.1em;
        line-height: 1.8;
        
    }
    .work-page-text {
        margin: 50px;
    }
}

/*========= WORK 各制作の詳細ページ
COMPOSITION CSS===============*/
.composition-workpage-img {
    display: flex;
    justify-content: space-around;
    margin-left: 200px;
    margin-right: 200px;
    
}
.composition-workpage-img img{
    width: 100%;
    height:100%;
    object-fit:cover;
    margin-bottom: 100px;
}
@media screen and (max-width:1024px) { 
    .composition-workpage-img {
        display: flex;
        justify-content: space-around;
        margin-left: 100px;
        margin-right: 100px;
        
    }
    .composition-workpage-img img{
        object-fit:cover;
        padding-top:100px;
        padding-bottom: 50px;
    }
}
@media screen and (max-width:768px) {
   
}
@media screen and (max-width:480px) {
    .composition-workpage-img {
        display: block;
        justify-content: center;
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 50px;
        
    }
    .composition-workpage-img img{
        object-fit:cover;
        padding-top:100px;
        padding-bottom: 50px;
    }
}
