img {
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

:root {
    --main-color: #fabe00;
    --text-color: #000;
}


body {
    background: var(--main-color);
    color: var(--text-color);
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    position: relative;
    font-feature-settings: "palt";
}

._pc {
    display: block;
}

@media (max-width: 640px) {
    ._pc {
        display: none;
    }
}

#page-wrapper {
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

#page-wrapper.fade-in {
    opacity: 1;
    transform: scale(1);
}

#page-wrapper.fade-out {
    opacity: 0;
    transform: scale(1.5);
}

.flow-text span {
    display: inline-block;
    opacity: 0;
    transform: translateX(-20px);
    animation: charIn 0.5s ease-out forwards;
}

@keyframes charIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 

  header 

*/

header {
    position: fixed;
    top: 60px;
    left: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 1000;
}

header img {
    width: 100px;
}

header nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

header nav ul li {
    font-family: asap, sans-serif;
    font-weight: bold;
}

header nav ul li a {
    letter-spacing: .03em;
}

header ._sns-link {
    display: flex;
    gap: 10px;
}

header ._sns-link a img {
    width: 40px;
}

@media (max-width: 640px) {
    header {
        top: 20px;
        left: 20px;
        transition: transform 0.2s;
    }
}

/* 

  footer 

*/

footer ._copyright {
    background: white;
    padding: 20px;
    text-align: center;
    font-family: filicudi-solid, sans-serif;
}

footer ._content-nav-area {
    display: flex;
    padding-block: 20px;
    padding-inline: 20px;
    background: #000;
    position: relative;
}

footer ._content-nav-area ._flex-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

footer ._content-nav-area ._flex-left img {
    width: 60px;
}

footer ._content-nav-area ._flex-left div {
    display: flex;
    gap: 10px;
}

footer ._content-nav-area ._flex-left div img:last-of-type {
    width: 160px;
}

footer ._content-nav-area ._flex-center {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    gap: 80px;
}

footer ._content-nav-area ._flex-center img {
    width: 150px;
}

footer ._content-nav-area ._flex-center nav ul {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
}

footer ._content-nav-area ._flex-center nav ul li {
    color: var(--main-color);
    font-family: asap, sans-serif;
    font-weight: bold;
}

footer ._content-nav-area ._flex-right {
    display: flex;
    margin-inline-start: auto;
    margin-block-start: auto;
}

footer ._content-nav-area ._flex-right img {
    width: 80px;
}

@media (max-width: 640px) {
    footer ._content-nav-area {
        padding-inline: 10px;
        padding-block-start: 20px;
    }

    footer ._content-nav-area ._flex-left img {
        width: 50px;
    }

    footer ._content-nav-area ._flex-center {
        bottom: 100px;
        gap: 30px;
    }

    footer ._content-nav-area ._flex-left div img:last-of-type {
        width: 110px;
    }
}

/* メインビジュアル */

.main-visual {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.main-visual img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
    height: auto;
    z-index: 1;
}

.main-visual .circle-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: #f18d00;
    border-radius: 50%;
    z-index: 0;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: .2 ease;
}

.main-visual ._text-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(200px, -50%);
    z-index: 2;
}

.main-visual ._text-box h1 {
    font-family: brother-1816, sans-serif;
    font-weight: 700;
    font-size: 2rem;
    margin: 0 0 10px;
    color: var(--text-color);
    letter-spacing: .1em;
}

.main-visual ._text-box p {
    font-family: futura-pt, sans-serif;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.3;
    text-align: center;
}

@media (max-width: 949px) {
    .main-visual img {
        max-width: 500px;
    }

    .main-visual .circle-bg {
        width: 400px;
        height: 400px;
    }

    .main-visual ._text-box {
        transform: translate(160px, -50%);
    }

    .main-visual ._text-box h1 {
        font-size: 1.5rem;
    }

    .main-visual ._text-box p {
        font-size: .9rem;
    }
}

@media (max-width: 790px) {
    .main-visual img {
        max-width: 450px;
    }

    .main-visual ._text-box {
        bottom: 50px;
        top: auto;
        left: 0;
        right: 0;
        transform: none;
    }

    .main-visual ._text-box h1 {
        text-align: center
    }
}

@media (max-width: 640px) {
    .main-visual {
        height: 80vh;
    }

    /* @supports(-webkit-touch-callout: none) {
        .main-visual {
            height: -webkit-fill-available;
        }
    } */

    .main-visual ._text-box {
        bottom: 20px;
    }

    .main-visual .circle-bg {
        width: 350px;
        height: 350px;
    }
}

/* about me */

.about-me {
    background: white;
    margin-block-start: 200px;
}

.about-me ._content-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1000px;
    margin-inline: auto;
}

.about-me ._content-flex ._flex-left {
    margin-block-start: 60px;
}

.about-me ._content-flex ._flex-left img {
    width: 450px;
}

.about-me ._content-flex ._flex-left ._link-btn {
    margin-block-start: 20px;
    display: flex;
    justify-content: center;
}

.about-me ._content-flex ._flex-left ._link-btn a {
    background: var(--main-color);
    color: var(--text-color);
    font-family: brother-1816, sans-serif;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 40px;
}

@keyframes pop-bounce {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.35);
  }
  50% {
    transform: scale(0.95);
  }
  70% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

._link-btn.animate {
  animation: pop-bounce 0.8s ease-out;
}


.about-me ._content-flex img._about-me_illust {
    max-width: 500px;
    margin-block: -47px;
    margin-left: -40px;
}

@media (max-width: 920px) {
    .about-me ._content-flex {
        padding-inline: 10px;
    }

    .about-me ._content-flex ._flex-left img {
        width: 100%;
    }

    .about-me ._content-flex img._about-me_illust {
        max-width: 320px;
        margin-block: -30px;
        margin-left: -28px;
    }
}

@media (max-width: 640px) {
    .about-me ._content-flex {
        flex-direction: column;
    }

    .about-me ._content-flex img._about-me_illust {
        margin-block: 0;
        margin-left: 0;
        margin-block-start: 30px;
        margin-block-end: -30px;
    }
}

/* contact */

.contact ._text-box {
    display: flex;
    flex-direction: column;
    padding-block: 120px;
    padding-inline: 10px;
}

.contact ._text-box img {
    max-width: 500px;
    width: 100%;
    margin-inline: auto;
}

.contact ._link-btn {
    margin-block-start: -20px;
    display: flex;
    justify-content: center;
}

.contact ._link-btn a {
    background: var(--text-color);
    color: white;
    font-family: brother-1816, sans-serif;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 40px;
}

@media (max-width: 640px) {
    .contact ._link-btn {
        margin-block-start: 0px;
    }
}

.return-to-top {
    margin-block: 100px;
}

.return-to-top a {
    display: flex;
}

.return-to-top a img {
    max-width: 300px;
    margin-inline: auto;
    padding-inline: 20px;
}