@charset "UTF-8";
* {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

body {
    font-family: 'Playfair Display SC', serif;
    font-size: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    font-family: 'klee', YuGothic, 'Yu Gothic', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', sans-serif;
}

a {
    text-decoration: none;
    transition: all 0.5s;
}

.title {
    text-align: center;
    padding: 35px;
    color: #fff;
    text-shadow: 1px 2px 3px #000;
}


/* --- header --- */

.navbar-custom {
    background-color: rgba(0, 0, 0, 0.9);
    font-size: 1.2rem;
}

.nav-item {
    padding: 0 50px;
}

.nav-link {
    color: rgba(232, 197, 24, 0.9);
    transition: .3s;
    -webkit-transform: scale(1);
    transform: scale(1);
}

.nav-link:hover {
    color: white;
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}


/* ハンバーガーメニュー枠線削除 */

.navbar-dark .navbar-toggler {
    border-color: rgba(0, 0, 0, 0);
}


/* デフォルトのハンバーガーメニュー上書き */

.navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(232,197,24,1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}


/* ハンバーガーボタン青枠非表示 */

button.navbar-toggler:focus {
    outline: none;
}


/* --- mainvisual--- */

.mainvisual {
    width: 100％;
    height: 100vh;
    background-image: url(../img/mainvisual_bg.jpg);
    background-size: cover;
    background-position: center;
    color: #fff;
    letter-spacing: 1em;
    position: relative;
    z-index: 0;
}

.mainvisual::before {
    content: "";
    height: 110%;
    min-width: 452px;
    width: 70%;
    background-color: #052c4e;
    opacity: 0.5;
    position: absolute;
    top: -10%;
    left: -50%;
    transform: skewX(35deg);
    box-shadow: 0 3px 100px #fff;
    background-attachment: fixed;
}

.name {
    float: left;
    text-align: left;
    position: absolute;
    top: 40%;
    margin: 0 auto;
}

.name h1 {
    font-size: 3rem;
    border-bottom: 2px solid rgba(232, 197, 24, 0.9);
    ;
    text-shadow: 6px 3px 4px #000;
}

.name p {
    text-shadow: 6px 3px 4px #000;
    font-family: 'Playfair Display SC', serif;
    letter-spacing: 10px;
}

.mainvisual a {
    padding-top: 70px;
    position: absolute;
    bottom: 10%;
    left: 50%;
    z-index: 2;
    display: inline-block;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    text-decoration: none;
    color: #fff;
    letter-spacing: 4px;
    font-size: 20px;
}

.mainvisual a span {
    position: absolute;
    top: 0;
    left: 50%;
    width: 30px;
    height: 30px;
    margin-left: -12px;
    border-left: 1px solid rgba(232, 197, 24, 0.9);
    border-bottom: 1px solid rgba(232, 197, 24, 0.9);
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-animation: sdb 1.5s infinite;
    animation: sdb 1.5s infinite;
    box-sizing: border-box;
    filter: drop-shadow(0 0px 5px rgba(232, 197, 24, 0.9));
}

@-webkit-keyframes sdb {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}

@keyframes sdb {
    0% {
        -webkit-transform: rotate(-45deg) translate(0, 0);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        -webkit-transform: rotate(-45deg) translate(-20px, 20px);
        opacity: 0;
    }
}


/* --- motto --- */

.motto {
    background-image: url(../img/motto_bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    width: 100%;
    height: 80vh;
}

.motto h2 {
    color: #fff;
    text-align: center;
    line-height: 80vh;
    text-shadow: 0 0 5px black;
    font-size: 30px;
}


/* --- about --- */

.about {
    text-align: center;
    padding: 100px 0;
    background-color: #333;
    height: 100%;
}

.my-photo {
    width: 80%;
    margin-top: 5%;
}

.my-photo img {
    margin-top: auto;
    width: 70%;
    height: auto;
    border-radius: 50%;
    filter: drop-shadow(1px 1px 3px #fff);
}

.about h4 {
    font-size: 30px;
}

.profile-box {
    text-align: left;
    margin: auto;
    font-size: 20px;
}

.profile-box h4 {
    color: #fff;
    letter-spacing: 2px;
    margin: 30px auto;
    border-bottom: 2px solid rgba(232, 197, 24, 0.9);
}

.profile-box p {
    width: 100%;
    color: #fff;
    line-height: 2rem;
}


/* --- skills --- */

.skills {
    background-image: url(../img/skills_bg.jpg);
    background-size: cover;
    background-attachment: fixed;
    height: 100%;
    padding: 100px 0;
    text-align: center;
    color: #fff;
    box-shadow: inset 3px 2px 10px #000;
}

.skill-list {
    margin: 50px auto;
    display: flex;
    padding: 20px;
}

.skill-box {
    width: 300px;
    height: auto;
    padding: 20px;
    margin: 0 auto;
}

.skill-box img {
    transition: 0.5s;
    filter: drop-shadow(0 0 5px #000);
}

.skill-box img:hover {
    transition: 0.5s;
    transform: translateY(-10px);
    filter: drop-shadow(0 15px 5px #000);
}


/* --- works --- */

.works {
    color: #fff;
    text-align: center;
    padding: 100px 0;
    text-shadow: 1px 2px 3px #000;
}

.works:before {
    background-image: url(../img/works_bg.jpg);
    background-size: cover;
    background-position: right;
    content: "";
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100vh;
}

.works span {
    font-size: 1.5rem;
}

.works-box {
    padding: 30px;
}

.works-box img {
    border-radius: 10px;
    transition: 0.5s;
    box-shadow: 0px 0px 20px #333;
    margin-bottom: 20px;
}

.works-box img:hover {
    transform: translateY(-10px);
    box-shadow: 0px 0px 20px #fff;
}

.works-box a {
    color: #fff;
    font-size: 20px;
}

.fa-external-link-alt {
    padding: 10px;
}

.works-box p {
    font-size: 25px;
}


/* --- my-message --- */

.my-message {
    background-color: #000000;
    height: 60vh;
    text-align: center;
    color: #333333;
    display: flex;
    justify-content: center;
    align-items: center;
}

.my-message h1 {
    font-size: 2.5vw;
    color: #fff;
}


/* --- contact --- */

.contact {
    background-image: url(../img/contact_bg.jpg);
    background-size: cover;
    height: 800px;
    padding: 200px 0;
    text-align: center;
    color: #fff;
}

.contact-btn {
    display: flex;
    justify-content: center;
}

.contact-btn a {
    margin: 0 20px;
    font-size: 3rem;
    transition: all 0.5s ease;
    color: #fff;
}

.twitter a:hover {
    color: #51a1f2;
}

.fa-paper-plane {
    margin: 0 20px;
    font-size: 3rem;
}

.mail {
    position: relative;
    padding: 0;
}

.mail a:hover {
    color: rgba(232, 197, 24, 0.9);
}

.contact p {
    padding-top: 20px;
    font-size: 20px;
    text-shadow: 1px 2px 3px #000;
}


/* --- footer --- */

.footer {
    background-color: #333;
    width: 100%;
    height: 280px;
    color: #fff;
    text-align: center;
    display: block;
    padding: 5px;
    text-decoration: none;
}

.icon-credit {
    margin: 30px;
}

.icon-credit_ul {
    list-style: none;
    padding-left: 0;
}

.icon-credit li {
    list-style: none;
    padding: 10px;
}

.icon-credit a {
    color: #fff;
}

.icon-credit a:hover {
    text-decoration: none;
    color: rgba(232, 197, 24, 0.9);
}

small {
    line-height: 100px;
    font-size: 15px;
}


/* page-top */

#page-top {
    width: 70px;
    height: 70px;
    line-height: 65px;
    font-size: 40px;
    font-weight: bold;
    background-color: #333;
    box-shadow: inset 3px 2px 10px rgb(221, 221, 221);
    border-radius: 100%;
    position: fixed;
    bottom: 3%;
    right: 5%;
    color: rgba(232, 197, 24, 0.9);
    z-index: 999;
    opacity: 0.8;
    cursor: pointer;
    transition: .3s;
    text-align: center;
}

#page-top .fa-chevron-up {
    margin: 0;
    padding: 0;
}

#page-top:hover {
    opacity: 0.8;
    background-color: rgba(232, 197, 24, 0.9);
    color: #333;
}

@media screen and (max-width: 768px) {
    #page-top:hover {
        opacity: 1.0;
        background-color: #333;
        color: rgba(232, 197, 24, 0.9);
    }
}


/* start fadeIn */

.start {
    background-color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 9000;
}

.start p {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 9999;
    width: 280px;
}


/* scroll fadein */

.fadein {
    opacity: 0;
    transform: translateY(30px);
    transition: all 2s;
}