html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: '游ゴシック体';
}

p {
    font-family: 'Noto Serif JP Light';
}
/* header */

header {
    padding: 0 15px; 
    height: 80px;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 10;
}

header ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    line-height: 80px;
    float: right;
}

header li {
    margin-left: 20px;
}

header a {
    text-decoration: none;
    font-size: 15px;
    color: black;
    font-weight: bold;
}

header a:hover {
    opacity: .5;
    transition: .3s;
}

.header-content {
    position: relative;
    top: 20vh;
}

.header-content h1 {
    margin: 0;
    font-size: 30px;
    letter-spacing: 3px;
}

.header-content p {
    margin: 0;
    font-size: 17px;
    letter-spacing: 4px;
}

/* 背景 */

.m-content {
    background-color: rgba(255, 238, 217, 0.91);
}

.background-1 {
    background-image: url("../img/img_0117.jpg");
}

.background-2 {
    background-image: url("../img/kame.jpg");
}

.background-3 {
    background-image: url("../img/piano.jpg");
}

.container {
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    background-attachment: fixed;
    text-align: center;
}

/* main */

.m-content {
    padding: 30px 35px;
}

/* p-content */

.profile h1,p{
    margin: 0;
}

.profile h1 {
    font-size: 27px;
}

.profile img {
    width: 100%;
    border-radius: 10px;
}
.name {
    margin: 0 0 40px 0;
    padding-left: 10px;
    letter-spacing: 2px;
    border-left: 2.5px solid rgb(78, 78, 78);
}

.profile p {
    line-height: 35px;
}

.from {
    margin: 20px 0;
}
.sns {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid black;
}

.sns a {
    color: gray;
    text-decoration: none;
    font-size: 40px;
    margin: 0 20px;
}

.fa-twitter:hover  {
    color: #55acee;
    transition: .3s;
}

.fa-instagram:hover {
    color: rgb(255, 47, 0);
}

.fa-instagram a {
    padding: 5px;
    color: white;
}

/* w-content */

.work img {
    width: 100%;
    border-radius: 5px;
}

.w-content h1 {
    margin: 0 0 40px 0;
    padding-left: 10px;
    letter-spacing: 2px;
    border-left: 2.5px solid rgb(78, 78, 78);
}

.w-content h2 {
    font-size: 20px;
    margin-top: 10px;
    font-weight: normal;
}

/* c-content */

.c-content h1 {
    margin: 0 0 40px 0;
    padding-left: 10px;
    letter-spacing: 2px;
    border-left: 2.5px solid rgb(78, 78, 78);
}

.contact label {
    font-size: 15px;
    letter-spacing: 1px;
}

form div {
    margin-top: 20px;
}


.contact span {
    background-color: rgb(255, 71, 71);
    color: white;
    font-size: 13px;
    padding: 2px;
    margin-left: 5px;
}

.contact button {
    padding: 12px 50px;
    margin-top: 20px;
    font-size: 15px;
    font-weight: bold;
    background-color: rgb(128, 128, 128);
    border: none;
    color: white;
    cursor: pointer;
}

.contact button:hover {
    opacity: .8;
    transition: .3s;
}

/* footer */

footer {
    width: 100%;
    height: 120px;
}

footer p {
    text-align: center;
    line-height: 120px;
    letter-spacing: 3px;
}

#pageTop {
    position: fixed;
    right: 40px;
    bottom: 25px;
    font-size: 50px;
    color: coral;
}

#pageTop i {
    background-color: white;
    border-radius: 50%;
}

#pageTop i:hover {
    opacity: .9;
    transition: .3s;
}

@media (min-width: 900px) {

    /* header */

    header {
        padding: 0 40px;
        height: 60px;
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 10;
    }
    
    header ul {
        margin: 0;
        padding: 0;
        list-style: none;
        display: flex;
        line-height: 60px;
        float: right;
    }
    
    header li {
        margin-left: 30px;
    }
    
    header a {
        text-decoration: none;
        font-size: 23px;
        color: black;
        font-weight: bold;
    }
    
    header a:hover {
        opacity: .5;
        transition: .3s;
    }
    
    .header-content h1 {
        margin: 0;
        font-size: 40px;
        letter-spacing: 2px;
    }

    .header-content p {
        margin: 0;
        font-size: 30px;
        letter-spacing: 4px;
    }

    /* 背景 */

    .container {
        width: 100%;
        min-height: 100vh;
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
        background-attachment: fixed;
        text-align: center;
    }

    .background-1 {
        background-image: url("../img/IMG_0116.JPG");
    }

    /* main */

    .m-content {
        padding: 30px 150px;
    }

    main h1 {
        font-size: 50px;
        letter-spacing: 4px;
    }

    /* p-content */

    .profile h1 {
        font-size: 50px;
    }

    .profile ruby {
        font-size: 20px;
    }

    .name {
        letter-spacing: 4px;
    }

    .sns {
        text-align: center;
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .sns a {
        font-size: 35px;
    }
    /* w-content */

    .work img {
        width: 50%;
    }

    /* c-content */

    form input {
        width: 35%;
    }

    form textarea {
        width: 40%;
    }

    /* footer */

}