:root {
    --mainColor: #191e00;
    --textColor: #000;
}

* {
    box-sizing: border-box;
    margin: 0;
}

body {
    background: #f5f5f0;
    margin: 0 auto;
    font-family: 'Red Hat Display', sans-serif;
    color: var(--textColor);
    letter-spacing: .12em;
    font-size: 14px;
}

main {
    max-width: 1440px;
    margin: 0 auto;
    background-color: white;
    box-shadow: 0 7px 11px #d9d9d9;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ---タイトル--- */

#logo {
    background: var(--mainColor);
    padding: .7em 1em .3em;
}

#logo img {
    width: 29px;
}

#title {
    width: 90%;
    max-width: 420px;
    max-height: 289px;
    margin: 0 auto;
    padding: 2em 0;
    display: block;
}


/* ---写真--- */

section,
#cover {
    overflow: hidden;
    margin-bottom: 3em;
}

section img,
#cover img {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    display: block;
}

.primary {
    position: relative;
    flex-grow: 1;
    overflow: hidden;
}

.primary::after {
    content: "";
    width: 6%;
    height: 100vh;
    position: absolute;
    top: 0;
    background-image: url(../img/leopard.svg);
    background-repeat: no-repeat;
    background-size: cover;
}

.women .primary::after {
    background-image: url(../img/zebra.svg);
    right: 0;
}

.secondary {
    display: flex;
    margin: 1.5em auto 0 1em;
}

.secondary .img_wrapper {
    width: 150px;
    height: 200px;
    position: relative;
}

.secondary .img_wrapper img {
    height: 100%;
}


/* ---PC--- */

@media (orientation: landscape) {
    #title {
        margin-left: 3%;
    }
    .title-block {
        display: flex;
    }
    #cover {
        width: 60vw;
    }
    #cover img {
        object-position: center -10vh;
    }
    section {
        display: flex;
        align-items: flex-end;
    }
    .women {
        flex-direction: row-reverse;
    }
    .unisex .primary-img {
        padding-left: 6.5%;
    }
    .women .primary-img {
        padding-right: 6.5%;
    }
    .secondary {
        margin-left: 1.5em;
    }
    .secondary .img_wrapper {
        width: 200px;
        height: 350px;
    }
}


/* ---スペック--- */

.spec_wrapper {
    margin-left: 1em;
    width: 200px;
}


/* スペック文字指定 */

.spec_data {
    margin-bottom: 1em;
    overflow: hidden;
}

.spec_data p {
    line-height: 1.1;
}

.spec_data p:first-child {
    font-size: 1.5em;
    letter-spacing: .2em;
    font-style: italic;
}

.more {
    font-style: italic;
    font-size: .8em;
    width: 7.5em;
    display: flex;
    margin-top: .8em;
    background-image: url(../img/d_arrow_bk.svg);
    background-position: 4.8em center;
    background-repeat: no-repeat;
    background-size: 2em;
    border-style: solid;
    border-width: 1px 1px 1px 0;
    padding: 0.6em;
    /* transition: 0.5s; */
}

.spec_data a:hover .more {
    background-color: #ffeda9;
}


/* ---フッター--- */

footer {
    text-align: center;
    background: #787b7e;
}

footer a {
    background: var(--mainColor);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1em 0;
    color: white;
}

footer a:hover {
    color: #ffeda9;
    transition: .5s;
}

footer a::before {
    content: url(../img/d_arrow.svg);
    width: 1.3em;
    margin-right: 1em;
    margin-top: .2em;
    display: inline-block;
}

footer p {
    font-size: .7em;
    letter-spacing: 0;
    padding: 1em 0;
}


/* ugoku */

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: .7s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeLeft {
    animation-name: fadeLeftAnime;
    animation-duration: 1.3s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeLeftAnime {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fadeUpTrigger,
.fadeLeftTrigger {
    opacity: 0;
}