@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;
}


main {
    background-image: url(../images/karikarikarikarikari.png);
    background-size: 100% 100%;
}

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

}

nav.NavMenu{
    position: fixed;
    z-index: 2;
    top: 10%;
    right: 0; 
    text-align: center;
    width: 50%;
    transform: translateX(100%);
    transition: 0.6s;
}

nav.NavMenu ul{
    background: #0000008e;
}

nav.NavMenu ul li{
    font-size: 2.8vw;
    list-style-type: none;  
    border: 2px solid #ffffff9f;
}


nav.NavMenu ul li a{
    display: block;
    padding: 1em 0;
    color: white;
    text-decoration: none;
}


nav.NavMenu.active{
    transform: translateX(0)
}



.Toggle {
    position: fixed;  
    right: 13px;
    top: 18px;
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 3;
}

.Toggle span {
    display: block;
    position: absolute;
    left: 6px;
    width: 60px;
    border-bottom: solid 6px #000;
    transition: .35s ease-in-out;
	
}

.Toggle span:nth-child(1) {
    top: 9px;
}

.Toggle span:nth-child(2) {
    top: 27px;
}

.Toggle span:nth-child(3) {
    top: 45px;
}

/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
    top: 18px;
    left: 6px;
    transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
    top: 18px;
    transform: rotate(45deg);
}

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

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

.top-page h1 { 
    font-size: 9vw;
    width: 100%;
    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: 3vw;
    letter-spacing: 0.2em;
}


/* メイン */

/* all */

.web {
    text-align: center;
}
.web img {
    display: inline-block;
    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;
}

.web img {
    width: 80%;
}

.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: 15%;
    height: 35px;
    margin: -5% 0 0 57%;
    padding: 2% 0 ;
    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: 3vw;
    text-decoration: none;
}

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

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

.yes-no-btn02 a {
    display: none;
}

/*↑ allここまで*/


/* work-area */

.works-area h2 {
    width: 30%;
    margin: 8% auto 8% auto;
    font-size: 3.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: 2vw;
}

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

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

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






/* aboutme-area */

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

.aboutme-area h2 {
    width: 30%;
    margin: 8% auto 8% auto;
    font-size: 3.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: 120px;
    padding: 1%;
    border: 1px solid white;
    border-radius: 4px;
    font-size: 2.4vw;
    color: white;
    background-color: black;
}




/* about me */

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


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

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

    text-align: right;
}

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

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

}


/* contact-area */
footer h2 {
    width: 30%;
    margin: 0 auto 8% auto;
    font-size: 3.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: 3.5vw;
}


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: 1.2em 5em;
    background-color: #267c1e; /* 背景色 */
    box-shadow: 0 5px 0 #0d6111; /* 影の太さ・色 */
    border-radius: 60px;
    font-size: 3vw;
    color: #fff;
    cursor: pointer;
}

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