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


@import url('https://fonts.googleapis.com/css2?family=Mr+Dafoe&family=Noto+Serif+JP:wght@200..800&display=swap');



html{
	font-size: 62.5%;
    scrollbar-color: #3d3935 #FFF;
}

body{
	position: relative;
	margin:0;
	font-size: 1.4rem;
	font-family: "Noto Serif JP", serif;
    font-optical-sizing: auto;
	font-weight: 500;
	line-height: 1.8;
	font-feature-settings: "palt";
	font-smoothing:auto;
	color:#000;
	background: #111;
}

@media screen and (min-width:768px) {
    
    body{
        font-size: clamp(14px, 1vw, 18px);
    }
    
}


/* デバイス表示非表示切り替え */
.pc{display: none;}
.sp{display: block;}

@media screen and (min-width:768px) {
    .pc{display: block;}
    .sp{display: none;}
}


header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1;
    padding: 1rem;
    mix-blend-mode: difference;
}

.header_logo {
    width: 30vw;
    height: auto;
}

.header_logo path{
    fill:#FFF;
}

@media screen and (min-width:768px) {

    header {
        padding: 2vw;
    }
    
    .header_logo {
        width: 10vw;
        min-width: 140px;
        height: auto;
    }
    
}




footer {
    background: #e6e6e6;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer_logo img {
    width: 20vw;
    max-width: 120px;
    height: auto;
}

footer copy {
    font-size: 1rem;
    display: grid;
}

@media screen and (min-width:768px) {

    footer {
        padding: 2rem;
    }
    
    .footer_logo {
        width: 10vw;
        min-width: 80px;
        height: auto;
    }
    
}




/* hero */
.hero {
    width: 100%;
    padding: 0;
    box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

section.hero_img {
    width: 100%;
    height: 100%;
}

.hero_img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero_img picture {
    height: 100%;
    width: 100%;
}

@media screen and (min-width:768px) and (orientation: portrait){

     .hero_img img{
        width: 100%;
        height: 100%;
        object-fit: cover;
         object-position: right;
    }   
    
    
}

@media screen and (min-width:768px) and (orientation: landscape){
    
    .hero {
        height: auto;
    }
    
}





/* main */


main{
    background: #fff;
    animation: fadeIn 2s ease 2s forwards;
    opacity: 0;
    max-width: 750px;
    margin: auto;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

article{
    padding: 0 0 5rem;
}

article p{
    padding: 2rem;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.loading{
    position: fixed;
    background-color: #FFF;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 1;
    animation: loadingfadeIn 4s ease forwards;
    display: grid;
        justify-content: center;
align-items: center;
}

.loading img{
    width: 200px;
    opacity: 0;
    animation: loadinglogofadeIn 3s ease 0.5s forwards;
}

@keyframes loadingfadeIn {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

@keyframes loadinglogofadeIn {
  0% {
    opacity: 0;
      margin-top: 2rem;
  }
  50% {
    opacity: 1;
  }
  75% {
      margin-top: 0;
  }
  100% {
    opacity: 0;
    display: none;
  }
}

/* introduction */


.model_desc {
    padding: 3rem 0rem;
}


.spec_list{
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 2rem 1rem;
}

.spec_list .col_1{
    grid-column: 1/3;
}


@media screen and (min-width:768px) {
    
    article{
        padding: 0 0 10vw;
    }
    
    article p{
        padding: 4rem;
    }

    
}



.movie {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
}










/* makuake プロジェクト*/
.makuake {
    background: #fff;
    text-align: center;
}

.project_info {
    display: grid;
    grid-gap: 2rem;
}

.makuake_title p{
    font-size: 1rem;
    margin: 0 auto;
}

.makuake_title img {
    width: 40vw;
    margin: 0 auto 2rem;
}

.makuake_title .makuake_project_date {
    font-size: 1.6rem;
    padding: 0;
}

.makuake_title .makuake_project_date span{
    display: block;
    color: #900;
    font-size: 1.4em;
    font-weight: 900;
}

.makuake_link {
    padding: 0 4rem;
}

.makuake_link_button {
    font-size: 1.4rem;
}


.makuake-logo {
    width: 100%;
}

.makuake-logo img {
    width: 50%;
    margin: auto;
}

.ingersoll-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    grid-gap: 1rem;
}

.ingersoll-logo img{
    width: 40%;
}

.makuake_link p {
    border-bottom: 1px solid #000;
    width: fit-content;
    margin: auto;
    padding: 0;
}

@media screen and (min-width:768px) {
    
 
   
.project_info {
    grid-gap: 4vw;
}
    
.makuake_title p {
    font-size: 1em;
}    

.makuake_title img {
    width: 25vw;
    min-width: 180px;
    max-width: 260px;
    margin: 0 auto 3vw;
}
    
.makuake_link {
    padding: 0 15%;
}
    
.makuake_title .makuake_project_date {
    font-size: 1.25em;
}    
    
.makuake-logo {
    width: 30%;
    padding: 0;
}    

    
.makuake_link_button {
    flex-direction: row;
    justify-content: space-evenly;
    font-size: 1.4em;
    padding: 0;
    margin: 0 auto 1vw;
}
    
.makuake-logo {
    width: auto;
}    

.ingersoll-logo {
    width: auto;
    align-items: center;
    grid-gap: 1vw;
}
 
.makuake-logo img {
    width: 20vw;
    min-width: 140px;
    max-width: 270px;
    margin: auto;
}    
  
.ingersoll-logo img{
    width: 15vw;
    min-width: 100px;
    max-width: 180px;
    margin: auto;
}
    
}





/* 追従ボタン */

#footer_flow_banner{
    position: fixed;
    bottom: 1rem;
    right: 0;
    width: 100%;
}

#footer_flow_banner .makuake_link_banner{
    width: 80vw;
    margin: auto;
}



#fade-element {
    position: fixed;
    bottom: 1rem;
    right: 0;
    width: 100%;
    opacity: 1;
    transition: opacity 0.5s 0.5s, transform 1s;
}

#fade-element .makuake_link_banner{
    width: 80vw;
    margin: auto;
}


@media screen and (min-width:768px) {

    #fade-element,
    #footer_flow_banner{
        bottom: 1vw;
        right: 1vw;
        width: fit-content;
    }
    
    
    #fade-element .makuake_link_banner,
    #footer_flow_banner .makuake_link_banner{
        width: 360px;
        margin: auto;
    }

}


/* フェードイン */

.fadein{
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 2.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.25s,
        transform 3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.25s,
        -webkit-transform 3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.25s;
}

.fadein-active{
    opacity: 1;
    transform: translateY(0);    
}

@media screen and (min-width:768px) {
    
    .fadein{
        opacity: 0;
        transform: translateY(2rem);
        transition:
            opacity 2.5s cubic-bezier(0.165, 0.84, 0.44, 1) 0.25s,
            transform 3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.25s,
            -webkit-transform 3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.25s;
    }

    .fadein-active{
        opacity: 1;
        transform: translateY(0);    
    }
    


}