/*共通部分*/
html{
    background-color: #fff;
}
body{
    width: 100vw;
    height: 100vh;
    max-width: 100%;
}
a{
    text-decoration: none;
}
img{
    max-width:100%;
    width: 60px;
    height: 60px;
}

/*ヒーロー画像*/
#main_hero{
    /*background: linear-gradient(0deg,#111113,#302F33);*/
    background-color: #302F33;
    background-image: url(../image/dog2-1920.jpg);
    background-size: 70%;
    background-position-x: center;
    background-position-y: top;
    width: 100%;
    height: 100%;
    max-width:100%;
    box-sizing: border-box;
}

/*ヘッダー*/
header{
    width: 100%;
    height: 8%;
    position: sticky;
    left: 0;
    top: 0;
    z-index: 10000;
    box-sizing: border-box;
}

img.logo{
    /*border: 5px dashed #d2d5ec;
    border-radius: 50%;*/
    display: flex;
}

.page_header {
    padding-left: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page_header h1 a{
    font-size: 60px;
    color: #E1AD01;
    font-family: "Lobster", sans-serif;
    font-style: normal;
    font-weight: 400;
}

nav ul li{
    width: 200px;
    height: 30px;
}

nav ul li a{
    font-family: "Lobster", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 30px;
}

nav ul li.nav_1{
    text-align: right;
}

nav ul li.nav_2{
    text-align: center;
}

nav ul li.nav_3{
    text-align: left;
}

.nav_main{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    list-style-type: none;
    text-align: center;
}

.nav_main a{
    color: #fff;
    font-weight: bold;
    position: relative;
}

.nav_main a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    border-bottom: 3px solid #fff;
    transition: scale .5s;
    scale: 0;
}

.nav_main a:hover{
    color:#fff;
}

.nav_main a:hover::after{
    scale: 1;
}

/*コンテンツ*/
div#content{
    width: 100%;
    height: 92%;
    box-sizing: border-box;
}

div#main{
    height: 50%;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 200px 0 0 150px;
    box-sizing: border-box;
}

/*div#main_img{
    width: 97.5%;
    height: 90%;
    background-size: cover;
    background-position: center;
    animation: change-image 20s infinite;
    display: flex;
    justify-content: center;
    align-items: center;
}*/

/*@keyframes change-image{
    0%, 100% {
        background-image: url('../image/blue.jpg');
    }
    25% {
        background-image: url('../image/green.jpg');
    }
    50% {
        background-image: url('../image/yellow.jpg');
    }
    75% {
        background-image: url('../image/oreng.jpg');
    }
}*/

div.title{
    display: flex;
    font-size:100px;
    /*font-size:150px;*/
    font-family: "Lobster", sans-serif;
    font-style: normal;
    font-weight: 400;
    box-sizing: border-box;
    color: #E1AD01;
    span{
        opacity: 0;
        animation-name: slide;
        animation-duration: 360ms;
        animation-timing-function: ease-out;
        animation-fill-mode: forwards;
        &:nth-child(1){animation-delay: 0;}
        &:nth-child(2){animation-delay: 90ms;}
        &:nth-child(3){animation-delay: 180ms;}
        &:nth-child(4){animation-delay: 270ms;}
    }
}

@keyframes slide{
    0%{
        transform: skew(-30deg,0)translate(600px,0);
        opacity: 0;
    }
    100%{
        transform: translate(0,0);
        opacity: 1;
    }
}

/*コンテンツ2*/
div#content_2{
    width: 100%;
    height: 80%;
    padding: 5% 10% 5% 10%;
    background-color: #111113;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-sizing: border-box;
}

div.slogan{
    width: 50%;
    box-sizing: border-box;
}

div#content_2 p{
    color: #fff;
    font-size:55px;
    font-family: "Kosugi", sans-serif;
    font-weight: 400;
    font-style: normal;
    box-sizing: border-box;
}

div.content_img{
    width: 50%;
    height: auto;
    max-width:100%;
    box-sizing: border-box;
    
}

img.content_2{
    width: 100%;
    height: 100%;
    border-radius: 25%;
}

/*コンテンツ3*/
div#content_3{
    width: 100%;
    height: 90%;
    padding: 5% 10% 5% 10%;
    background-color: #E1AD01;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}

#content_3 h2{
    writing-mode: vertical-lr;
    text-orientation: upright;
    font-size: 200%;
    padding-right: 5%;

}

#content_3 h3{
    writing-mode: vertical-lr;
    font-size: 150%;
    padding-right: 10%;
}

#content_3 div.p{
    background-color: #E1AD01;
    font-size: 100%;
    font-weight: bold;
    line-height: 5;
    box-sizing: border-box;
}

#content_3 div.p .sp_br{
    display: none;
}

/*フッター*/
footer{
    background-color: #E1AD01;
    background-color: #111113;
    width: 100%;
    padding-top: 10px;
    padding-left: 50px;
    padding-right: 50px;
    box-sizing: border-box;
}

#footer_nav{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    gap: 50px;
    box-sizing: border-box;

}

div.logo h1 a{
    font-size: 60px;
    color: #E1AD01;
    font-family: "Lobster", sans-serif;
    font-style: normal;
    font-weight: 400;
}

menu.links{
    list-style-type: none;
    display: contents;
    color: #fff;
}

menu.links a{
    color: #fff;
    font-size: 25px;
    font-weight: bold;
    font-family: "Lobster", sans-serif;
    font-weight: 400;
    font-style: normal;
}

menu.links a:hover{
    color: #fff;
    border-bottom: 2px solid #fff;
}

p.copyright{
    color: #fff;
    font-size: 20px;
    text-align: center;
}
/*メディアクエリ*/
@media screen and (max-width:390px) {
    /*スマートフォン用のスタイル*/
    body{
        width: 100vw;
        max-width: 100%;
        overflow-x: hidden;
    }
    /*ヒーロー画像*/
    #main_hero{
    background-image: url(../image/dog2-1920.jpg);
    background-size: cover;
    background-position: 70%;
    width: 100%;
    height: 100%;
    max-width:100%;
    }

    /*ヘッダー*/
    .page_header nav{
        width: 60%;
        height: 100%;
        display: flex;
        
    }
    .nav_main{
        width: 100%;

    }
    nav ul li{
        width: 100%;
        
    }
    nav ul li a{
        font-size: 10px;
    }

    /*コンテンツ2*/
    div#content_2{
        width: 100%;
        height: 50%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    div#content_2 .slogan{
        width: 100%;
        height: 15%;
    }

    div#content_2 .content_img{
        width: 100%;
        height: 70%;
    }

    div#content_2 p{
        font-size: 2rem;
        padding-left: 7%;
    }

    /*コンテンツ3*/
    div#content_3{
        width: 100%;
        height: 125vh;
    }

    div#content_3 p{
        font-size: 10px;
    }

    #content_3 div.p .sp_br{
    display: block;
    }
    


    /*ヘッダー*/
    #footer_nav{
    justify-content: center;

    }

    menu.links a{
    color: #fff;
    font-size: 10px;
    }

    small{
        font-size: 10px;
    }
}