@charset "utf-8";

/* すべてのページに適用 */
/*  
*{
    outline: 1px solid pink;
}
*/
body {
    margin: 0;
    font-family: sans-serif;
    background-color: #FAF4E6;
    color: #454545;
}

h1,h2,h3,p,ul {
    margin: 0;
}

p,ul {
    line-height: 1.7;
}

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

ul {
    list-style-type: none;
}

a:link {
    text-decoration: none;
}

a:visited {
    color: #454545;
    text-decoration: none;
}

a img,
.nav-items li,
.index-nav li,
.back {
    transition-duration: .3s;
}

a img:hover,
.nav-items li:hover,
.index-nav li:hover,
.back:hover {
    transform: scale(1.1, 1.1);
}


.index-nav a:hover,
.side-menu a:hover,
.back a:hover {
    color: transparent;
    text-shadow: 0 0 5px #454545;
}
/* aboutとworksに適用 */
.split {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.side-menu {
    width: 20%;
    position: fixed;
    top: 0;
    left: 0;

    background-color: #FAF4E6;
}

.logo {
    width: 20vw;
}

.right {
    margin-left: 20%;
    padding-left: 5rem;
    width: 80%;
}

.nav-items {
    padding: 0;
    text-align: center;
}

.nav-items li {
    padding: 1rem 0;
}

.title {
    width: fit-content;
    margin-top: 20vh;
    margin-bottom: 2rem;
}

.title img {
    height: auto;
}

.pagetop {
    text-align: center;
    margin-top: 5rem;
    margin-bottom: 5rem;
}