@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;
    color: #333;
}

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

ul {
    list-style-type: none;
}

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

header h1 {
    width: 15%;
    min-width: 150px;
    margin-left: auto;
    margin-right: auto;
    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;
    font-family: MontserratUnderline;
    text-align: center;
}

header nav {
    width: 220px;
    margin-left: auto;
    margin-right: auto;
}

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: 1%;
    width: 8%;
}

.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: 30px;
    height: 2.2vw;
    min-height: 30px;
}


/* main */

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

main section {
    margin-top: 32vh;
}


main section h2 {
    font-weight: normal;
    font-family: MontserratUnderline;
    font-size: 30px;
}

.about-wrapper {
    display: block;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
}

.about-e {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.about-wrapper img {
    width: 100%;
    display: block;
}

.about-text {
    position: relative;
    padding: 3%;
    width: 94%;
}

.about-text::before {
    position: absolute;
    top: 14%;
    left: 0;
    content: "";
    display: block;
    width: 1px;
    height: 11em;
    border-left: 1px solid #4AB6E7;
}

.about-text p {
    line-height: 1.7;
    font-size: 16px;
}

.about-text p:first-of-type {
    font-size: 18px;
    margin-bottom: 2%;
}

.about-text p:nth-of-type(4) {
    margin-top: 4%;
}


.button {
    width: 24%;
    margin-top: 5%;
    margin-left: auto;
}

.button a {
    display: block;
    text-decoration: underline;
    font-size: 16px;
}


main section h3 {
    font-weight: normal;
    font-size: 24px;
    text-align: center;
    font-family: MPLUS1-Light;
}

.works p {
    font-size: 14px;
    line-height: 1.7;
}

.works-grid {
    width: 70%;
    margin-top: 5%;
    margin-left: auto;
    margin-right: 8%;
    padding: 2% 2%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5vw;
    background-color: rgb(252, 252, 253);
    opacity: 0;
    visibility: hidden;
    transition: all 1s;
    transform: translateY(150px);
}

.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.box img {
    width: 100%;
    vertical-align: bottom;
}

.box {
    position: relative;
}

.hidden {
    display: none;
}

.works-title-wrap {
    display: flex;
}

.works-title-wrap p {
    font-size: 14px;
    width: 80%;
    margin-left: 10%;
    line-height: 2;
    text-align: center;
}

.works .web {
    margin-top: 8%;
}

.works .web h3::after {
    content: "/ 画像クリックで詳細ページへ";
    font-size: 12.5px;
    margin-left: 5%;
}

.works .photoshop {
    margin-top: 5%;
}

.works .illustlator {
    margin-top: 5%;
}

.works .other {
    margin-top: 5%;
}

.works .photoshop h3::after,
.works .illustlator h3::after {
    content: "/ 画像クリックで拡大";
    font-size: 12.5px;
    margin-left: 5%;
}

.works .other h3::after {
    content: "/ 画像クリックで拡大";
    font-size: 12.5px;
    margin-left: 5%;
}

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

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