@charset "UTF-8";

/* common */
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    background-color: #F3F3F3;
}
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #F3F3F3;
    /* 背景カラー */
    z-index: 9999;
    /* 一番手前に */
    pointer-events: none;
    /* 他の要素にアクセス可能にするためにポインターイベントは無効に */
    opacity: 0;
    /* 初期値では非表示 */
    -webkit-transition: opacity .3s ease;
    /* アニメーション時間は 0.8秒 */
    transition: opacity .3s ease;
}
/*body要素に.fadeoutセレクタがある場合には、レイヤーが表示されるようにopacityを１に設定します。*/
body.fade::after {
    opacity: 1;
}
img {
    height: auto;
}
a {
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #404040;
}
p {
    font-family: noto-sans-cjk-jp, sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.8;
    letter-spacing: 0.05em;
    text-align: justify;
    color: #404040;
}
ul {
    list-style: none;
}
h2,
h3 {
    font-family: futura-pt-bold, sans-serif;
    font-size: 80px;
    line-height: 1.2;
}
.sub {
    font-family: noto-sans-cjk-jp, sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.none {
    display: none;
}

/* header */
header {
    position: fixed;
    top: -60px;
    left: 40px;
    z-index: 999;
    animation: header 1s cubic-bezier(.4, .4, 0, 1) 0.4s forwards;
}
@keyframes header {
    to {
        top: 30px;
    }
}
h1 img {
    width: 65px;
}
header img {
    display: block;
}
/* #g-nav {
    position: fixed;
    width: 324px;
    top: -150px;
    right: 40px;
    z-index: 999;
    animation: g-nav 1s cubic-bezier(.4, .4, 0, 1) 0.3s forwards;
}
@keyframes g-nav {
    to {
        top: 27px;
    }
} */
/* .nav-list {
    font-family: futura-pt, sans-serif;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-list a {
    display: block;
}
.nav-a {
    position: relative;
}
.contact-button {
    position: relative;
    border: solid 2px #FD994D;
    width: 100px;
    border-radius: 30px;
    overflow: hidden;
}
.contact-button a {
    color: #FD994D;
    padding: 8px 0;
    text-align: center;
}
.contact-button::after {
    background: #FD994D;
    transition: 0.4s;
} */

/* hamberger */
#g-nav {
    position: fixed;
    z-index: 999;
    top: 10px;
    right: -400px;
    width: 300px;
    height: 460px;
    background: #03BCCB;
    transition: all 0.6s;
    animation: none;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#g-nav.panelactive {
    right: 10px;
}
#g-nav.panelactive #g-nav-list {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100svh;
}
#g-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
#g-nav li {
    list-style: none;
    text-align: center;
}
#g-nav li a {
    display: block;
    font-family: futura-pt-bold, sans-serif;
    font-size: 28px;
    color: #F3F3F3;
    padding: 10px;
}
.nav-read {
    font-family: noto-sans-cjk-jp, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #7EE4EC;
    display: block;
    padding-top: 4px;
}
.openbtn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    position: fixed;
    z-index: 9999;
    top: -36px;
    right: 40px;
    cursor: pointer;
    width: 45px;
    height: 40px;
    animation: optionbtn 1s cubic-bezier(.4, .4, 0, 1) 0.4s forwards;
}
@keyframes optionbtn {
    to {
        top: 24px;
    }
}
.openbtn span {
    display: block;
    transition: all .4s cubic-bezier(.4, .4, 0, 1);
    height: 4px;
    background-color: #404040;
    width: 45px;
}
.openbtn.active span:nth-of-type(1) {
    transform: translateY(6px) rotate(-30deg);
}
.openbtn.active span:nth-of-type(2) {
    transform: translateY(-7px) rotate(30deg);
}
.active span {
    background-color: #F3F3F3;
}
.back {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #404040;
    opacity: 0;
    z-index: -1;
    transition: 1s all;
    cursor: pointer;
}
.back.backactive {
    opacity: 0.8;
    z-index: 99;
}


/* top */
.top {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* padding: 170px 0 140px; */
    height: 198px;
    box-sizing: content-box;
    height: 100dvh;
}
/* .glasses {
    position: absolute;
}
.js-parallax {
    position: absolute;
} */
.logo-area {
    position: relative;
    display: inline-block;
}
.eye {
    width: 140px;
    /* 白目のサイズ（見えないけど範囲指定） */
    height: 135px;
    position: absolute;
    overflow: hidden;
}
.pupil {
    width: 61px;
    height: 61px;
    background: #03BCCB;
    border-radius: 50%;
    position: absolute;
}
/* 左目（フレームに合わせて調整） */
.left-eye {
    top: 32px;
    left: 59px;
}
/* 右目 */
.right-eye {
    top: 32px;
    left: 275px;
}
.logo-sp {
    display: none;
}
.top-container {
    position: absolute;
    right: 40px;
    bottom: 20px;
}
.top-title {
    font-family: futura-pt-bold, sans-serif;
    font-size: 14px;
    letter-spacing: 0;
    text-align: right;
}
.top-name {
    font-family: futura-pt-bold, sans-serif;
    font-size: 32px;
    line-height: 1.3;
    letter-spacing: 0;
    color: #03BCCB;
    margin-bottom: 18px;
}
.scroll-button {
    border: 1px solid #404040;
    border-radius: 18px;
    width: 71px;
    margin-left: auto;
    position: relative;
}
.scroll-button a {
    display: block;
    font-size: 14px;
    letter-spacing: 0;
    font-family: futura-pt, sans-serif;
    font-weight: 500;
    padding: 5px 0 5px 12px;
}
.scroll-button svg {
    rotate: 90deg;
    position: absolute;
    top: 8px;
    right: 10px;
}

/* introduction */
#introduction {
    padding: 100px 40px 0 40px;
}
.introduction {
    max-width: 1286px;
    position: relative;
    background-color: #03BCCB;
    margin: 0 auto;
    border-radius: 40px;
}
.intro-anime {
    position: absolute;
    right: -17px;
    top: 50px;
    clip-path: inset(0 17px 77px 0);
    max-width: 100%;
}
/* .triangle {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
} */
.introduction-wrapper {
    position: relative;
    padding: 90px 72px 100px;
    margin: 0 auto 100px;
    box-sizing: content-box;
    max-width: 1088px;
}
.introduction-wrapper p {
    font-weight: 700;
    line-height: 2.875;
    color: #F3F3F3;
}
.introduction-wrapper h2 {
    font-family: noto-sans-cjk-jp, sans-serif;
    font-size: 60px;
    font-weight: 900;
    line-height: 1.5;
    letter-spacing: 0.08em;
    color: #F3F3F3;
    margin-bottom: 50px;
}
.introduction-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.button {
    position: relative;
    width: 184px;
    z-index: 1;
    border-radius: 40px;
    overflow: hidden;
    height: 60px;
}
.button::after,
.contact-button::after {
    position: absolute;
    top: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 100%;
    transform: scale(0, 1);
    transform-origin: left top;
    z-index: -1;
}
.about-button {
    border: solid 2px #F3F3F3;
}
.about-button::after {
    background: #F3F3F3;
}
.about-button a {
    color: #F3F3F3;
}
.button a {
    display: block;
    font-family: futura-pt-bold, sans-serif;
    font-size: 24px;
    padding: 16px 0 16px 35px;
}
.button svg {
    position: absolute;
    top: 22px;
    right: 30px;
}
.cls-1 {
    fill: none;
    stroke-width: 2px;
}
.about-button .cls-1 {
    stroke: #f3f3f3;
}

/* woeks */
.works {
    max-width: 1088px;
    margin: 0 auto 140px;
    padding: 0 24px;
    box-sizing: content-box;
    display: grid;
    grid-template-columns: 442fr 644fr;
    /* grid-template-rows: 1fr 1fr 1fr 1fr; */
}
.g-1 {
    grid-column: 1/2;
    grid-row: 1/2;
    position: sticky;
    top: 0;
    padding-top: 60px;
}
.g-2 {
    grid-column: 2/3;
    grid-row: 1/2;
    padding-top: 77px;
    margin-bottom: 40px;
}
.g-3 {
    grid-column: 2/3;
    /* grid-row: 2/3; */
    margin-bottom: 40px;
}
.g-4 {
    grid-column: 2/3;
    /* grid-row: 3/4; */
    margin-bottom: 40px;
}
.g-5 {
    grid-column: 2/3;
    /* grid-row: 4/5; */
}
.g-6 {
    grid-column: 1/2;
    grid-row: 1/2;
    position: sticky !important;
    top: 190px;
    margin-top: 190px;
}
.works h2 {
    color: #03BCCB;
}
.works-container {
    width: 100%;
}
.works-thumbnail {
    overflow: hidden;
    border-radius: 24px;
    margin-bottom: 10px;
}
/* .works-box {
    transition: 0.4s cubic-bezier(.4, .4, 0, 1);
} */
.works-box {
    background-color: #fff;
    aspect-ratio: 249 / 140;
}
.kitakan {
        background: url(../images/works/kitakan/kitakan.png) no-repeat center / cover;
}
.game {
    background: url(../images/works/game/game.jpg) no-repeat center / cover;
}
.salon {
    background: url(../images/works/salon/salon.jpg) no-repeat center / cover;
}
.gym {
    background: url(../images/works/gym/gym.jpg) no-repeat center / cover;
}
.aquarium {
    background: url(../images/works/aquarium/aquarium.jpg) no-repeat center / cover;
}
.mizuki {
    background: url(../images/works/mizuki/mizuki.jpg) no-repeat center / cover;
}
.namecard {
    background: url(../images/works/namecard_kiyo.jpg) no-repeat center 30% / cover;
}
.hula {
    background: url(../images/works/hula_logo.jpg) no-repeat center/ 70% #fff;
}
.kids {
    background: url(../images/works/kids/kids.jpg) no-repeat center / cover;
}
.matcha {
    background: url(../images/works/matcha/matcha.jpg) no-repeat center / cover;
}
.cafe {
    background: url(../images/works/cafe/cafe.jpg) no-repeat center / cover;
}
.dental {
    background: url(../images/works/dental/dental.jpg) no-repeat center / cover;
}
.dhw {
    background: url(../images/works/dhw_poster.jpg) no-repeat center / 70% #e0e0e0;
}
.portfolio {
    background: url(../images/works/portfolio/portfolio.jpg) no-repeat center / cover;
    border: solid 1px #5F5F5F;
}
.mediate {
    background: url(../images/works/mediate/mediate.jpg) no-repeat center / cover;
}
.web_x {
    background: url(../images/works/web/web.jpg) no-repeat center / cover;
}
.title {
    font-weight: 700;
}
.kind {
    /* font-family: futura-pt, sans-serif; */
    font-size: 13px;
    /* letter-spacing: 0.02em; */
    color: #A6A6A6;
}
.more-button {
    position: relative;
    width: 184px;
    border: solid 2px #03BCCB;
    z-index: 1;
    margin: 0 auto 0 0;
}
.more-button a {
    color: #03BCCB;
}
.more-button::after {
    background: #03BCCB;
}
.more-button .cls-1 {
    stroke: #03BCCB;
}

/* footer */
footer {
    background-color: #03BCCB;
    padding: 24px 40px 12px;
}
.mail-wraper {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 24px;
    margin-bottom: 12px;
    border-bottom: 1px solid #F3F3F3;
}
.mail-button {
    width: auto;
}
.mail-button a {
    padding: 16px 82px 16px 35px;
}
.mail-button svg {
    rotate: -45deg;
}
.footer-comment {
    font-size: 14px;
    color: #F3F3F3;
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-nav a {
    font-family: futura-pt, sans-serif;
    color: #F3F3F3;
}
footer small {
    font-family: futura-pt, sans-serif;
    font-size: 12px;
    color: #59E0EB;
    letter-spacing: 0.02em;
}

/* hover */
@media (hover: hover) and (pointer: fine) {
    .scroll {
        transition: 0.2s;
    }
    h1 a:hover,
    .nav-a:hover,
    .openbtn:hover,
    .scroll-button:hover,
    .footer-nav a:hover,
    .about-mail:hover,
    .url:hover {
        opacity: 0.5;
    }
    h1 a,
    .openbtn,
    .nav-a,
    .button,
    .button a,
    .button::after,
    .cls-1,
    .top-button,
    .scroll-button,
    .works-box,
    .footer-nav a,
    .about-mail,
    .url {
        transition: 0.4s cubic-bezier(.4, .4, 0, 1);
    }
    .button:hover::after {
        transform: scale(1, 1);
    }
    .about-button:hover a {
        color: #03BCCB;
    }
    .about-button:hover .cls-1 {
        stroke: #03BCCB;
    }
    .more-button:hover a {
        color: #F3F3F3;
    }
    .more-button:hover .cls-1 {
        stroke: #F3F3F3;
    }
    .works-box:hover {
        opacity: 0.7;
        transform: scale(1.03);
    }
    .contact-container:hover::after {
        transform: scale(1, 1);
    }
    .contact-container:hover p {
        color: #F3F3F3;
    }
    .contact-container:hover .cls-1 {
        stroke: #F3F3F3;
    }
    .top-button:hover {
        opacity: 0.5;
    }
}

/* animation */
span.smoothText {
    overflow: hidden;
    display: block;
}
span.smoothTextTrigger {
    transition: .8s cubic-bezier(.4, .4, 0, 1);
    transform: translate3d(0, 100%, 0) skewY(12deg);
    transform-origin: left;
    display: block;
}
span.smoothTextTrigger.smoothTextAppear {
    transform: translate3d(0, 0, 0) skewY(0);
}
.smooth-box {
    overflow: hidden;
}
.smooth {
    animation: smooth .8s cubic-bezier(.4, .4, 0, 1) .8s forwards;
    transform: translate3d(0, 100%, 0) skewY(12deg);
    display: block;
    transform-origin: left;
}
@keyframes smooth {
    to {
        transform: translate3d(0, 0, 0) skewY(0);
    }
}
.fadeInTrigger {
    opacity: 0;
}
.fadeIn {
    animation: fadeIn 1s cubic-bezier(.4, .4, 0, 1) forwards;
    opacity: 0;
}
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@media screen and (min-width: 1600px) {
    .glasses {
        width: 600px;
    }
    .eye {
        width: 176px;
        height: 166px;
    }
    .pupil {
        width: 77px;
        height: 77px;
    }
    /* 左目（フレームに合わせて調整） */
    .left-eye {
        top: 42px;
        left: 75px;
    }
    /* 右目 */
    .right-eye {
        top: 42px;
        left: 350px;
    }
    .introduction {
        max-width: 1520px;
        position: relative;
        background-color: #03BCCB;
        margin: 0 auto;
        border-radius: 50px;
    }
    .introduction-wrapper {
        position: relative;
        padding: 130px 24px 130px;
        margin: 0 auto 100px;
        box-sizing: content-box;
        max-width: 1200px;
    }
    .intro-anime {
        position: absolute;
        right: -50px;
        top: 98px;
        clip-path: inset(0 50px 55px 0);
    }
    /* .g-1 {
        padding-top: 156px;
    }
    .g-2 {
        padding-top: 173px;
    }
    .g-6 {
        top: 273px;
        margin-top: 273px;
    } */
    .works {
        max-width: 1200px;
        margin: 0 auto 140px;
        padding: 0 20px;
        box-sizing: content-box;
        display: grid;
        grid-template-columns: 442fr 644fr;
        /* grid-template-rows: 1fr 1fr 1fr 1fr; */
    }
}
.ia-sp {
    display: none;
}

@media screen and (max-width: 1020px) {
    .ia-pc {
        display: none;
    }
    .ia-sp {
        display: block;
    }
    .intro-anime {
        right: 0;
        top: 80px;
        clip-path: inset(0 0 0 0);
        max-width: 120%;
    }
}

@media screen and (max-width: 767px) {
    /* commmon */
    h2 {
        font-size: 56px;
    }
    .sub {
        font-size: 13px;
    }

    /* header */
    header {
        top: -20px;
        left: 24px;
    }
    @keyframes header {
        to {
            top: 19px;
        }
    }
    .openbtn {
        top: -26px;
        right: 24px;
    }
    @keyframes optionbtn {
        to {
            top: 14px;
        }
    }

    /* main */
    .logo-area {
        display: none;
    }
    .logo-sp {
        display: block;
    }
    .top-container {
        right: 24px;
        bottom: 24px;
    }

    /* introduction */
    #introduction {
        padding: 100px 0 0 0;
    }
    .introduction {
        border-radius: 30px;
    }
    .introduction-wrapper {
        position: relative;
        padding: 80px 24px;
        margin: 0 auto 60px;
    }
    .introduction-wrapper p {
        line-height: 2.5;
    }
    .introduction-wrapper h2 {
        font-size: 9vw;
    }
    .introduction-container {
        flex-direction: column;
        gap: 50px;
    }
    /* .button {
        width: 121px;
        height: 41px;
        margin: 0 0 0 auto;
    }
    .button a::before {
        left: 90px;
        width: 11px;
        height: 3px;
    }
    .button a::after {
        left: 93px;
        width: 7px;
        height: 7px;
        border-top: 3px solid #5F5F5F;
        border-right: 3px solid #5F5F5F;
        transform: rotate(45deg);
    }
    .button a {
        font-size: 16px;
        padding: 10px 0 10px 22px;
    }
    .button svg {
        top: 11px;
        right: 17px;
        width: 14px;
    }
    .cls-1 {
        stroke-width: 2px;
    }
    .about-button .cls-1 {
        stroke: #f3f3f3;
    } */
    .intro-anime.appear .svg-elem-1 {
        animation: animate-svg-stroke-1 1.6s cubic-bezier(.4, .4, 0, 1) .4s both;
    }

    /* works */
    .works {
        margin: 0 auto 120px;
        display: block;
    }
    .g-1 {
        position: static;
        padding-top: 60px;
    }
    .g-2 {
        padding-top: 0;
        margin: 30px 0;
    }
    .works-thumbnail {
        border-radius: 12px;
        margin-bottom: 5px;
    }
    .g-6 {
        position: static !important;
        margin-top: 60px;
    }
    .more-button {
        margin: 0 0 0 auto;
    }

    /* footer */
    footer {
        background-color: #03BCCB;
        padding: 40px 24px 16px;
    }
    .mail-wraper {
        flex-direction: column-reverse;
        gap: 32px;
        padding-bottom: 32px;
        margin-bottom: 32px;
    }
    .mail-button {
        width: 89vw;
    }
    .mail-button a {
        font-size: 5.5vw;
    }
    .footer-nav {
        gap: 20px;
    }
    .footer-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}




@-webkit-keyframes animate-svg-stroke-1 {
    0% {
        stroke-dashoffset: 1974.0263671875px;
        stroke-dasharray: 1974.0263671875px;
    }

    100% {
        stroke-dashoffset: 0;
        stroke-dasharray: 1974.0263671875px;
    }
}

@keyframes animate-svg-stroke-1 {
    0% {
        stroke-dashoffset: 1974.0263671875px;
        stroke-dasharray: 1974.0263671875px;
    }

    100% {
        stroke-dashoffset: 0;
        stroke-dasharray: 1974.0263671875px;
    }
}

/* 最初はアニメーションを付けない */
.svg-elem-1 {
    stroke-dashoffset: 1974.0263671875px;
    stroke-dasharray: 1974.0263671875px;
}

/* appear が付いたらアニメーション開始 */
.intro-anime.appear .svg-elem-1 {
    animation: animate-svg-stroke-1 1.2s cubic-bezier(.4, .4, 0, 1) .4s both;
}