/* 
****

Header: 
    * main home
    * steps
    * city search
    *legal

****
*/  


/* 
----------------------
----- main home  -----
----------------------
 */       
     
.home_main_image img{

    width: 100%;
    object-fit: cover;
    object-position: bottom;
}

.home_main_image_title {
    
    display: flex;
    flex-direction: column;

    max-width: 1600px;
    width: 100%;
    height: auto;

    padding: 2rem 2rem 4rem 2rem;
}

.home_main_image_title h1{

    color: #fff;
    font-size: clamp(2.75rem, 6vw, 6rem);
    max-width: clamp(80%, 2vw, 13rem);
    
    text-shadow: 0 0 3rem rgba(0, 0, 0, 0.3);
    margin: 0;
}

.home_main_image_sub_heading{

    color: #fff;
    text-align: right;
    font-size: 2.5rem;
}

.home_main_image{

    position: relative;

    display: flex;
    align-items: end;
    justify-content: center;
    
    background-image: var(--mainpage-banner-img-dt);;
    height: calc(100vh - 31rem);
    min-height: 31rem;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;

}

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

    .home_main_image{

        background-image: var(--mainpage-banner-img-sp);;
        height: 100vw;
        align-items: end;
    }

    .home_main_image_title h1{

        max-width: clamp(100%, 2vw, 13rem);
    }

    .home_main_image_sub_heading{

        font-size: 1.8rem;
    }
    

}

/* 
----------------------
----- Home Steps -----
----------------------
 */               

.steps{
            
    padding: 5rem 0 3.75rem;
    display: grid;
    align-items: center;
    justify-content: center;

    background: var(--white);
}

.steps_items{

    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.steps_item{

    position: relative;

    display: grid;
    grid-auto-flow: row;
    justify-content: center;
    align-items: flex-start;
    gap: .25rem;

    min-width: 17rem;
    max-width: 17rem;
    max-height: 20rem;
    padding: 3rem 1rem 2rem 1rem;

    text-align: center;
    
    box-sizing: border-box;
    border-radius: var(--card-border);
    background: var(--gray-color);

    
}

button.steps_start_btn {
    
    margin: 0 auto;
}

.steps_item_number{

    position: absolute;
    top: -1.5rem;
    right: 0;
    left: 0;
    
    display: grid;
    justify-content: center;
    align-items: center;
    
    margin: 0 auto;
    width: 3rem;
    height: 3rem;
    
    background: var(--second-color);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;

    
}
.steps_item_icon img {
    width: 1.5rem;
}

.steps_item_desc{

    text-align: center;
    max-width: 13rem;

    font-size: .9rem;
}




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

    .steps{

        padding: 3rem 0 3rem 0;
    }

    .steps_items {

        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }
}


/* 
----------------------
------- legal  -------
----------------------
 */ 



 .mod_mainpage_legal_inner {
    padding: 2rem;
    text-align: center;
    font-size: 1.1rem;
}




 .mod_mainpage_notify_inner {
    padding: 2rem;
    text-align: center;
    font-size: 1.1rem;
    color: var(--second-color);
}


/* 
-------------------------
------- markting  -------
-------------------------
 */ 

.home_main_content_inner{

    padding: 2rem;
    text-align: center;
    box-sizing: border-box;
    border-radius: var(--card-border);
    background: var(--gray-color);
    margin-top: 2rem;
    width: 100%;
}
@media only screen and (max-width: 768px) {

    .home_main_content{
        padding: 1rem;
    }
}