/* すべてに適用 */

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

img {
    max-width: 100%;
    vertical-align: bottom;
}

/* WEB */

.web-box ul {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 75%;
    gap: 0 40px;
    padding-bottom: 50px;
}

.web-box h4,
h5,
p {
    text-align: center;
}



/* ビデオの大きさ */
video {
    max-width: 100%;
}

.movie-box ul {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 75%;
    gap: 0 40px;
    /* padding-bottom: 50px; */
}

.movie-box h4,
h5,
p {
    text-align: center;
}

.movie-box li:first-child {
    margin-bottom: 60px;
}

ul {
    list-style: none;

}

a {
    text-decoration: none;
    color: #fff;
}

a:hover {
    opacity: 0.5;
}

html {
    font-size: 20px;
}

/* html {
    font-family: "Josefin Slab", serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal;
} */

html {
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
}


body {
    margin: 0;
    overflow-x: hidden;
    color: #754c24;
}

/* ヘッダー */
header {
    /* バーを浮かせる */
    position: fixed;
    /* 浮かせる高さを指定 */
    z-index: 999;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #865750;
}

header nav ul {
    display: flex;
    justify-content: center;
    gap: 200px;

}

header nav {
    font-size: medium;
    color: #fff;
    text-decoration: none;
    font-size: 1.3rem;
    padding: 10px;
    /* font-family: "Josefin Slab", serif;
    font-optical-sizing: auto;
    font-weight: <weight>;
    font-style: normal; */

}


/* ヒーロー */

.hero {
    height: 100vh;
    background-image: url(../images/heroimage.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    max-width: 100%;
    vertical-align: bottom;
    /* margin-bottom: 50px; */
    display: flex;
    align-items: center;
    justify-content: center;
}

h1 {
    font-size: 5rem;
    color: #fff;
    border-bottom: #fff 2px solid;
    width: 600px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;

}

h2 {
    font-size: 3rem;
    color: #fff;
    text-align: center;
}



/* 背景 */
/* .background {
    background-image: url('../images/marbleshort.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, 0.5);
    background-blend-mode: lighten;
} */

.background {

    position: relative;
    clip-path: polygon(0 0, 0 100%, 100% 100%, 100% 0);



}

.background::before {
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../images/marbleshort.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    background-color: rgba(255, 255, 255, 0.5);
    background-blend-mode: lighten;


}



h3 {
    font-size: 1.8rem;
    text-align: center;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #7e5f4a, #f7d5be, #7e5f4a) 1;
    /* margin-bottom: 50px; */
    line-height: 2.5;
    padding-top: 45px;
}

h4 {
    margin-bottom: 10px;
    margin-top: 10px;
    line-height: 2;
    border-bottom: #b99780 1px solid;
    text-align: center;
    /* width: 350px; */
}

/* .icons h4 {
    margin-bottom: 10px;
    margin-top: 10px;
    line-height: 2;
    border-bottom: #b99780 1px solid;
    text-align: center;
    width: 130px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
} */

h5 {
    margin-bottom: 10px;
}

.profile-box {
    display: flex;
    flex-direction: row;
    text-align: center;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    /* margin-bottom: 20px; */
    margin-top: 60px;
    align-items: center;
}

.coment {
    max-width: 70%;
}

.profile-image {
    max-width: 30%;
    /* height: ; */
    margin-left: 40px;
}

.name {
    font-size: 1.2rem;
    line-height: 2;
    border-bottom: #b99780 1px solid;
    margin-bottom: 20px;

}

.coment {
    line-height: 1.5;
}

.icons {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    max-width: 75%;
    /* max-width: 100%;
    padding-left: 10%;
    padding-right: 10%; */
    margin-left: auto;
    margin-right: auto;
    gap: 20px 30px;
    text-align: center;
}

.star {
    font-size: 1.3rem;
    color: #bea256;
    line-height: 1.5;
}

.skill {
    margin-bottom: 50px;
}

/* ワーク */
.tytle {
    font-size: 1.5rem;
    line-height: 2;
    text-align: center;
    margin-bottom: 50px;
    padding-top: 50px;

}

.banners {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 75%;
    /* max-width: 100%;
    padding-left: 5%;
    padding-right: 5%; */
    margin-left: auto;
    margin-right: auto;
    gap: 40px 60px;
    text-align: center;
    padding-bottom: 50px;
    /* margin-bottom: 50px; */


}

.backgroundcolor {
    background: rgba(184, 143, 137, .3);
    max-width: 100%;

}

.productworks {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    max-width: 75%;
    /* max-width: 100%;
    padding-left: 10%;
    padding-right: 10%; */
    margin-left: auto;
    margin-right: auto;
    gap: 40px 60px;
    text-align: center;

    padding-bottom: 50px;


}

.backgroundcolor02 {
    background: rgba(233, 196, 190, .3);
    max-width: 100%;
}

/* ワークここまで */

/*フッター  */
.footer {
    background-color: #865750;
    color: #fff;
    text-align: center;
}

.gotop {
    display: flex;
    margin-left: auto;
    margin-right: 35px;
    max-width: 100px;
    padding-top: 50px;
    padding-bottom: 50px;
}

html {
    scroll-behavior: smooth;
}

.webtytle {
    font-size: 1.5rem;
    line-height: 2;
    text-align: center;
    margin-bottom: 10px;
    padding-top: 50px;
}

.click {
    font-size: 0.8rem;
    margin-bottom: 30px;
}

/* スマホ版対応 */
@media(max-width:767px) {


    /* 背景 */
    .background {
        background-image: url('../images/marblemid02-01.jpg');
        background-attachment: fixed;
        background-size: cover;
        background-position: center;
        background-color: rgba(255, 255, 255, .5);
        background-blend-mode: lighten;
        max-width: 100%;
    }


    .main {
        padding: 0 4%;
    }

    .header nav {
        color: #fff;
        text-decoration: none;
        font-size: 0.7rem;
        padding: 10px;

    }

    header nav ul {
        display: flex;
        justify-content: center;
        gap: 30px;
        max-width: 100%;
    }

    h1 {
        font-size: 2.5rem;
        width: 370px;
        margin-bottom: 5px;
    }

    h2 {
        font-size: 1.5rem;

    }

    h3 {
        font-size: 1.8rem;
        text-align: center;
        border-bottom: 2px solid;
        border-image: linear-gradient(to right, #7e5f4a, #f7d5be, #7e5f4a) 1;
        line-height: 2.5;
        padding-top: 60px;
    }

    .hero-text {
        justify-content: center;
        align-items: center;
    }

    .profile-box {
        display: flex;
        flex-direction: column-reverse;
        text-align: center;
        /* max-width: 75%; */
        margin-left: auto;
        margin-right: auto;
        /* margin-bottom: 20px; */
        margin-top: 60px;
    }

    .profile-image {
        max-width: 300px;
        margin: 0;
        margin-bottom: 30px;


    }

    .icons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
        gap: 20px 35px;
        text-align: center;
    }


    .banners,
    .productworks {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 75%;
        margin-left: auto;
        margin-right: auto;
        gap: 40px 60px;
        text-align: center;
        padding-bottom: 50px;

    }

    .footer {
        font-size: 0.7rem;
    }

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 60px;
        /* ヘッダーが固定されている場合の調整 */
    }

    .movie-box ul {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        /* max-width: 75%; */
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
        display: block;

    }

    .web-box ul {
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        /* max-width: 75%; */
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 50px;
        display: block;

    }



}