body {
    font-family: "Zen Maru Gothic", serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
    padding: 0;
    height: 100%;
    color: #261019;
}

body::-webkit-scrollbar {
    display: none;
}

main {
    position: relative;
}

.menus {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    margin: 0 40px 0;
    font-size: 20px;
}

.menus a {
    display: inline-block;
    padding: 8px;
    color: #261019;
    text-decoration: none;
}

.title {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 48px;
    letter-spacing: 0.2vw;
    text-align: center;
    padding: 24px;
    margin: 40px auto 0;
    position: relative;
    display: inline-block;
    z-index: 1;
}

h2.title::before {
    content: '';
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    top: 12px;
    left: -16px;
    background-color: #FA9489;
    z-index: -1;
    opacity: 0.7;
}

/*
h3.title::before {
    content: '';
    width: 40px;
    height: 40px;
    border-radius: 50%;
    position: absolute;
    top: 26px;
    left: -4px;
    background-color: #261019;
    z-index: -1;
    opacity: 0.2;
}
*/

/* header */

nav {
    position: relative;
    z-index: 1;
}

nav ul {
    list-style-type: none;
    display: flex;
    justify-content: right;
}

/* footer */

footer {
    display: flex;
    width: 100%;
    align-items: center;
}

footer .menus {
    width: 70%;
}

footer .cmark {
    width: 30%;
    text-align: right;
    vertical-align: middle;
    margin: 24px 40px;
}


/* key-visual */

#kv-area {
    display: block;
    height: 100vh;
    width: 100vw;
    margin-top: -80px;
    text-align: center;
}

#kv-area img {
    height: 100vh;
    -webkit-mask-image: url(./images/mask.png);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: auto 100vh;
    mask-image: url(./images/mask.png);
    mask-repeat: no-repeat;
    mask-size: auto 100vh;
}

#kv-area .maintitle {
    font-family: "Amatic SC", sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    font-size: 96px;
    position: absolute;
    top: 25vh;
    left: 35vh;
    text-align: center;
}

#kv-area .maintitle span {
    display: inline-block;
    animation: fluffy 2.5s infinite;
}

#kv-area .maintitle span:nth-child(1) {
    animation-delay: 0;
}
#kv-area .maintitle span:nth-child(2) {
    animation-delay: 0.15s;
}
#kv-area .maintitle span:nth-child(3) {
    animation-delay: 0.3s;
}
#kv-area .maintitle span:nth-child(4) {
    animation-delay: 0.45s;
}
#kv-area .maintitle span:nth-child(5) {
    animation-delay: 0.6s;
}
#kv-area .maintitle span:nth-child(6) {
    animation-delay: 0.75s;
}
#kv-area .maintitle span:nth-child(7) {
    animation-delay: 0.9s;
}

@keyframes fluffy {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-20px);
    }
  }

#kv-area .subtitle {
    font-weight: 700;
    color: #FFFFFF;
    font-size: 24px;
    position: absolute;
    top: 45vh;
    left: 35vh;
}

/* works */

#works-area {
    width: 1000px;
    margin: 100px auto;
    text-align: center;
}

.work {
    display: flex;
    padding: 56px 32px;
    text-align: left;
}

.work img {
    width: 50%;
    border: 1px solid;
}

.work .text {
    padding: 24px;
    width: 50%;
}

.work .category {
    color: #7D7075;
    letter-spacing: 1px;
}

.work .name {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
}

.work .tags span {
    color: #FA9489;
    font-weight: 700;
    letter-spacing: 1px;
}

.work .img-pc {
    display: block;
}

.work .img-sp {
    display: none;
}


/* profile */

#profile-area {
    width: 920px;
    margin: 100px auto;
    padding: 40px;
    background-color: #E9E7E8;
    text-align: center;
}

#introduction {
    display: flex;
    padding: 32px 16px;
    text-align: left;
}

#introduction .name {
    font-size: 24px;
}

#introduction .text {
    margin: 14px 16px 14px 0;
    letter-spacing: 3px;
}

#introduction img {
    width: 320px;
}

#introduction .img-pc {
    display: block;
}

#introduction .img-sp {
    display: none;
}

#skills {
    padding-bottom: 24px;
}

#skills .for-pc {
    display: block;
}

#skills .for-sp {
    display: none;
}

#skills h3 {
    font-size: 36px;
}

#skills table {
    width: 800px;
    margin: 24px auto;
}

#skills td {
    padding: 4px 0;
    text-align: left;
}

#skills .category {
    vertical-align: top;
    font-size: 20px;
    width: 240px;
    font-weight: 700;
}

#skills .type {
    vertical-align: top;
    width: 160px;
}

#skills hr {
    border: 1px solid #FA9489;
    width: 160px;
    margin: 40px auto;
}

#pr {
    padding-bottom: 80px;
}

#pr h3 {
    font-size: 36px;
}

#pr hr {
    border: 1px dotted #FA9489;
    width: 800px;
    margin: 32px auto;
}

#pr p {
    text-align: center;
}

#contact .thankyou {
    display: block;
    margin: 200px auto 72px;
    max-width: 640px;
    width: 100%
}

#contact p {
    text-align: center;
}

#contact .mailaddress {
    border: 1px solid #261019;
    margin: 56px auto 160px;
    padding: 32px;
    text-align: center;
    max-width: 560px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#contact .mailaddress img {
    width: 24px;
    margin: 4px 10px 0 0;
}

#contact .mailaddress span {
    font-weight: 700;
    font-size: 20px;
}

/* top button */

#page-top {
    display: inline-block;
    position: fixed;
    bottom: 0;
    right: 0;
    text-align: center;
    text-decoration: none;
    background-image: url(./images/kurage_tegaki_kao.png);
    background-size: 80px;
    background-repeat: no-repeat;
    background-position: bottom;
    width: 80px;
    height: 96px;
    color: #261019;
    font-family: 'Potta One', sans-serif;
    animation: fluffy 2.5s infinite;
}

/* effect */

.fadein {
    opacity: 0;
    transition: 1.5s;
    transition-delay: 0.2s;
}
.fadein.is-show {
    opacity: 1;
}

.fadein-up {
    opacity: 0;
    transform: translate(0, 10%);
    transition: 1.5s;
    transition-delay: 0.5s;
}
.fadein-up.is-show {
    transform: translate(0, 0);
    opacity: 1;
}