@charset "UTF-8";

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

body {
    background-color: black;
    color: aliceblue;
    font-family: "Noto Serif JP", serif;
    font-weight: 400;
    font-style: normal;
}

.position_nav {
    left: 50%;
    top: 2rem;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    position: absolute;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-width: 400px;
    padding-left: 10px;
    padding-right: 10px;
}

.list {
    list-style-type: none;

}

a {
    justify-content: center;
    color: aliceblue;
    text-decoration: none;
}

.column {
    height: 100vh;
    width: 100%;
}

.denim {
    background: url(../imges/jeans-main.jpg);
    background-size: cover;
}

.textarea {
    background-size: cover;
    height: 600px;
}

#box {
    margin: 300px auto 0 auto;
    width: 70%;
}

.text_box {
    margin: 300px auto 0 auto;
    width: 70%;
}

.text_box:nth-child(n+2) {
    margin: 50px auto 200px auto;
    width: 70%;
}

.text {
    text-align: center;
    font-size: 1.3rem;
    letter-spacing: 0.15rem;
    margin: 2% 2% 6% 0;
}

span {
    display: inline-block;
}

.text2 {
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    line-height: 1.8rem;
}

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

    .position_nav {
        max-width: 800px;
        padding-left: 50px;
        padding-right: 50px;
    }

    .wrapper {
        display: flex;
    }

    #box {
        margin: 350px auto 0 auto;
        width: 70%;
    }

    .text_box:nth-child(n+2) {
        width: 50%;
    }

    .text {
        text-align: left;
        margin: 10% 2% 2% 0;
    }

    .text2 {
        font-size: 0.95rem;
    }

}

.denim2 {
    background: url(../imges/jeans-sub1-sp.jpg);
    background-size: cover;
    margin: auto 25%;
    height: 50vw;
}

.denim3 {
    background: url(../imges/jeans-sub2-sp.jpg);
    background-size: cover;
    margin: auto 25%;
    height: 50vw;
}

.flex_content {
    display: block;
    width: 100%;
}

div.denim4 img {
    width: 100%;
}

.flex_text {
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 200px;
}

.flex_text2 {
    font-size: 1.3rem;
    letter-spacing: 0.15rem;
    margin: 4% 2% 6% 0;
}

.flex_text3 {
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    line-height: 1.8rem;
}

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

    .denim2,
    .denim3 {
        margin-top: 500px;
    }

    div.denim4 img {
        width: 50vw;
        max-width: 500px;
        padding-left: 10%;
    }

    .flex_content {
        display: flex;
        margin-left: auto;
        margin-right: auto;
        max-width: 1000px;
        align-items: center;
        margin-bottom: 200px;
    }

    .flex_text {
        
        padding-bottom: 0px;
    }

    .flex_text2 {
        margin: 2% 2% 6% 0;
    }

}

#footer {
    height: 300px;
    text-align: center;
    margin-top: 50%;
}

small {
    border-bottom: solid aliceblue 1px;
}

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

    #footer {
        height: 300px;
        text-align: center;
        margin-top: 20%;
    }
}