@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: DotGothic16;
    src: url(../font/DotGothic16/DotGothic16-Regular.ttf);
}

@font-face {
    font-family: Zen_Maru_Gothic;
    src: url(../font/Zen_Maru_Gothic/ZenMaruGothic-Regular.ttf);
}

html {
    scroll-behavior: smooth;
    font-family: DotGothic16;
}

a {
    text-decoration: none;
}

body {
    display: block;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 12%;
    height: 100vh;
    background-color: black;
    z-index: 100;
}

main {
    background: linear-gradient(#003b46,#3CB7A5);
    margin-left: 12%;
}

footer {
    background-image: url(../images/topbark.jpg);
    background-size: cover;
    margin-left: 12%;

}

.header-nav1 {
    position: sticky;
    top: 0;
    bottom: 0;
}

.header-nav1 nav ul li {
    list-style-type: none;
}

.header-nav1 nav ul li a {
    font-size: 2vw;
    line-height: 4;
    color: white;
    text-decoration: none;
}


.header-img {
    width: 2%;
}

.top-page {
    background-image: url(../images/my-picture01.jpeg);
    background-size: cover;
    height: 100vh;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.center-01 {

    text-align: center;
    padding: 25%;
    color: rgb(80, 255, 89);

}

.top-page h1 { 
    font-size: 5vw;
    width: 70%;
    letter-spacing: 0.1em;
    margin: auto;
    overflow:hidden;

    animation: typing 1s steps(12, end),
    blink-caret 1s step-end infinite;

}




@keyframes typing {
    from { width: 0 }
    to { width:6em }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: black }
}


.top-page p {
    text-align: center;
    font-size: 2vw;
    letter-spacing: 0.2em;
}


/* メイン */

/* all */



.web {
    text-align: center;
}
.web img {
    width: 80%;
    cursor: pointer;
    transition: .2s cubic-bezier(0.45, 0, 0.55, 1);
}

.web img:hover {
    box-shadow: 0px 0px 15px 2px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
}

.web h3 {
    margin-bottom: 2%;
}

.web a {
    color: #202020;
    text-decoration: none;
}


.category {
    justify-content: center;
    display: flex;
}

.category p {
    border-left: 1px solid #202020;
}

.category p:nth-of-type(1) {
    margin-right: 2%;
    border: none;
}

.category p:nth-of-type(2) {
    padding-left: 2%;
}



/* btn */


.choice {
    width: 10%;
    height: 80px;
    margin: -5% 0 0 63%;
    box-shadow: 0 0 0 2px #000000;
    border: 1px solid white;
    border-radius: 4px;
    background-color: #000000;
    z-index: 10;
}

.yes-no-btn01 a {
    color: white;
    font-size: 1.8vw;
    text-decoration: none;
}

.arrow01 {
    display: inline-block;
    width: 1em;
    font-size: 1.5vw;
    margin-left: 0.5em;
}

.yes-no-btn01:hover .arrow01::before {
    content: '▶';
}

.yes-no-btn02 a {
    color: white;
    font-size: 1.8vw;
    text-decoration: none;
}


.arrow02 {
    display: inline-block;
    width: 1em;
    font-size: 1.5vw;
    margin-left: 0.5em;
}

.yes-no-btn02:hover .arrow02::before {
    content: '▶';
}
/*↑ allここまで*/


/* work-area */

.works-area h2 {
    width: 25%;
    margin: 5% auto 5% auto;
    font-size: 2.5vw;
    letter-spacing: 0.2em;
    text-align: center;
    color: #ffffff;
    border: 8px groove #a6a6a6;
    border-radius : 3px;
    background: linear-gradient(#4A5AF7, #1919BE);
}

.works-area small {
    margin-left: 1em;
    font-size: 1.2vw;
}

.flex {
    margin-bottom: 5%;
    display: flex;
}

.works-btn {
    width: 50%;
    margin: auto;
    box-shadow: 0 0 0 2px #000000;
}

.works-btn p {
    height: 150px;
    padding: 1%;
    border: 1px solid white;
    border-radius: 4px;
    font-size: 1.5vw;
    color: white;
    background-color: black;
}






/* aboutme-area */

.aboutme-area {
    margin-top: 10%;
    padding-bottom: 10%;
}

.aboutme-area h2 {
    width: 25%;
    margin: 5% auto 5% auto;
    font-size: 2.5vw;
    letter-spacing: 0.2em;
    text-align: center;
    color: #ffffff;
    border: 8px groove #a6a6a6;
    border-radius : 3px;
    background: linear-gradient(#4A5AF7, #1919BE);
}

.about-flex {
    display: flex; 
    width: 90%;   
    margin: 0 auto 10% auto;
}

.about-btn {
    width: 50%;
    margin: auto;
    box-shadow: 0 0 0 2px #000000;
}

.about-btn p {
    height: 150px;
    padding: 1%;
    border: 1px solid white;
    border-radius: 4px;
    font-size: 1.5vw;
    color: white;
    background-color: black;
}



.about-img img {
    width: 400px;
}

/* about me */
.self-introduction {

}

.self-introduction dl {
    display: flex;
    line-height: 2;
}

.self-introduction dl dt {
    width: 25%;
    font-size: 2vw;
    margin-right: 5%;
    padding-left: 5%;

    text-align: right;
}

.self-introduction dl dd {
    font-size: 1.8vw;
}

.self-introduction p {
    width: 62%;
    margin-top: 3%;
    margin-left: 35%;
    line-height: 2;
    font-size: 1.4vw;

}


/* contact-area */
footer h2 {
    width: 25%;
    margin: 0 auto 5% auto;
    font-size: 2.5vw;
    letter-spacing: 0.2em;
    text-align: center;
    color: #ffffff;
    border: 8px groove #a6a6a6;
    border-radius : 3px;
    background: linear-gradient(#4A5AF7, #1919BE);
}

footer p {
    text-align: center;
    font-size: 1.8vw;
}


footer img {
    width: 100%;
    margin-bottom: -0.4%;
}

.footerbtn-box {
    text-align: center;
    margin-top: 10%;
    margin-bottom: 5%;
    text-align: center;
}

.information-btn {
    display: inline-block;
    padding: 1em 4em;
    background-color: #267c1e; /* 背景色 */
    box-shadow: 0 5px 0 #0d6111; /* 影の太さ・色 */
    border-radius: 60px;
    font-size: 2vw;
    color: #fff;
    cursor: pointer;
}

.information-btn:active {
    box-shadow: none;
    transform: translateY(5px);
}
