@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

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

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

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: ZenKakuGothicNew;
    font-size: 16px;
    color: #333;
}

a {
    text-decoration: none;
    color: #666;
}

ul {
    list-style-type: none;
}

/* header */
header {
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.75% 0;
    z-index: 100;
}

header h1 {
    width: 15%;
    min-width: 150px;
    margin-left: 5%;
    transition: 0.3s;
}

.is-animation h1 a {
    font-size: 0;
    opacity: 0;
    transition: opacity 0.3s,font-size 1s;
}

header h1 a {
    display: block;
    font-size: max(2.2vw,24px);
    font-weight: normal;
    line-height: 2.4;
    font-family: MontserratUnderline;
    text-align: center;
}

header nav {
    width: 20%;
    min-width: 220px;
    margin-left: auto;
    margin-right: 10%;
}

header nav ul {
    display: flex;
}

header nav ul li {
    width: calc(100% / 3);
    padding: 3%;
}

header nav ul li a {
    position: relative;
    display: block;
    text-align: center;
    font-size: max(1vw,16px);
    width: 3.8vw;
    min-width: 56px;
    height: 3.8vw;
    min-height: 56px;
    line-height: 3.4;
    background-color: rgba(255, 255, 255, 0.8);
    transition: 0.3s;
    border: 1px solid #4AB6E7;
    border-radius: 50%;
}

header nav ul li a::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    width: 3.8vw;
    min-width: 56px;
    height: 3.8vw;
    min-height: 56px;
    background-color: #4AB6E7;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    z-index: -1;
}

header nav ul li a:hover {
    background-color: transparent;
    color: #fff;
    transition: 0.5s;
}

header nav ul li a:hover::before {
    transform: scale(1);
    opacity: 1;
    transition: 0.3s;
}

.is-animation nav {
    position: absolute;
    right: -8%;
    width: 5%;
    min-width: 30px;
}

.is-animation nav ul {
    display: block;
}

.is-animation nav ul li {
    margin-top: 20%;
}

.is-animation nav ul li a {
    width: 2vw;
    height: 2vw;
    font-size: max(0.8vw,12px);
    width: 2.2vw;
    min-width: 30px;
    height: 2.2vw;
    min-height: 30px;
    line-height: 2.4;
    transition: 0.3s;
}

.is-animation nav ul li a::before {
    width: 2.2vw;
    min-width: 26.2px;
    height: 2.2vw;
    min-height: 26.2px;
}

/* main */

main {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

main section {
    margin-top: 15%;
}

main section h2 {
    font-weight: normal;
    font-family: MontserratUnderline;
    text-align: center;
    font-size: 30px;
    padding: 3vw 0 3.2vw 0;
    color: #fff;
}

h3 {
    font-size: 24px;
    font-family: MPLUS1-Light;
    font-weight: normal;
}

.about {
    position: relative;
}

.about-mv {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 80%;
    height: 12vw;
    background-image: url(../images/sunflower.jpg);
    background-size: cover;
    background-position: center 81% ;
    filter: brightness(80%);
    z-index: -1;
}

.Profile {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 5%;
}

.Profile p {
    line-height: 1.7;
}

.Profile p:first-of-type {
    margin-bottom: 2%;
}

.data {
    width: 70%;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
}

.data ul {
    margin-top: 5%;
}

.data ul li {
    border-bottom: 1px solid #ccc;
    line-height: 2.4;
    font-size: 14.5px;
}

.data span {
    display: inline-block;
    width: 21%;
    padding-left: 0.2em;
    background-color: #f5f5f5;
}

.work-skills {
    width: 70%;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
}

.work-skills ul {
    margin-top: 2%;
}

.work-skills ul li {
    border-bottom: 1px solid #ccc;
}

.work-skills ul li p {
    margin-left: 7%;
    line-height: 2.4;
    font-size: 14px;
    text-align: justify;
}

.work-skills span {
    display: block;
    background-color: #f5f5f5;
    padding-left: 1em;
}

.skills {
    width: 70%;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
}

.skills ul {
    display: block;
    margin-top: 2%;

}

.skills ul li img {
    display: block;
    width: 40%;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
}

.skills ul li p {
    margin-top: 4%;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    text-decoration: underline dotted;
    text-underline-offset: 5px;
}

.skills ul li ul {
    display: block;
    padding: 3%;
}

.skills ul li ul li {
    width: 70%;
    padding-left: 2%;
    margin-left: auto;
    margin-right: auto;
    list-style-type: "◇";
}

footer {
    margin-top: 10%;
    padding: 1% 0;
    border-top: 1px solid#4AB6E7;
}

footer p {
    text-align: center;
    font-size: 14px;
    color: #4AB6E7;
}