@charset "utf-8";

* {
    box-sizing: border-box;
    font-size: 100%;
    line-height: 2;
    font-family: "poppins";
    color: #444;
}

html {
    scroll-behavior: smooth;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: 4px;
    text-align: center;
    position: relative;
    margin: 20px 0 80px;
}

h2::after {
    content: '';
    position: absolute;
    top: 80px;
    left: 50%;
    width: 40px;
    height: 1px;
    background: #a8a8a8;
    transform: translateX(-50%);
}

h3 {
    font-size: 2rem;
    font-weight: normal;
}

.fadein {
    opacity: 0;
}

/* --------------------------------
loading
-------------------------------- */
#loading {
    width: 100vw;
    height: 100vh;
    background-color: #520f22;
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
}

#loading img {
    width: 25%;
}

#loading-screen {
    width: 100vw;
    height: 100vh;
    background-color: #e39750;
    position: fixed;
    inset: 0;
    z-index: 9998;
    translate: 0 100vh;
}

/* --------------------------------
top
-------------------------------- */
#top {
    width: 100%;
    height: 100vh;
    background-image: url(image/main_bg.jpeg);
    background-position: center;
    background-size: cover;
    position: relative;
}

.top_container {
    background-image: url(image/title_bg.png);
    background-size: cover;
    width: 100%;
    height: 100vh;
    padding-left: 40px;
    position: absolute;
    left: -100vh;
}

h1 {
    font-family: "Spinnaker";
    font-size: 3rem;
    font-weight: normal;
    position: absolute;
    top: 25%;
    color: #fff;
}

.top_container p {
    position: absolute;
    top: 85%;
    color: #fff;
}

.top_container img {
    position: absolute;
    top: 81.5%;
    left: 14%;
}

/* --------------------------------
hamburger_menu
-------------------------------- */
.hamburger {
    position: fixed;
    width: 50px;
    height: 80px;
    top: 20px;
    left: 92%;
    appearance: none;
    border: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background: rgba(0, 0, 0, 0);
    z-index: 110;
}

.hamburger span,
.hamburger span::after,
.hamburger span::before {
    position: absolute;
    display: block;
    content: "";
    width: 100%;
    height: 2px;
    background-color: #d41c51;
    transition: all 0.5s;
}

.hamburger span::before {
    top: -10px;
}

.hamburger span::after {
    bottom: -10px;
}

.hamburger.open span {
    background-color: transparent;
}

.hamburger.open span::before {
    top: 0;
    transform: rotate(45deg);
    background-color: #D41C51;
    z-index: 110;
}

.hamburger.open span::after {
    bottom: 0;
    transform: rotate(-45deg);
    background-color: #D41C51;
    z-index: 110;
}

.nav {
    position: fixed;
    width: 40%;
    height: 100vh;
    top: 0;
    right: -100%;
    background-color: rgba(225, 225, 225, 0.6);
    padding: 50px 0;
    transition: all 0.5s;
    border-top: 5px solid #d41c51;
    z-index: 109;
}

.nav ul {
    margin: 80px 0 10rem;
    padding-left: 0;
    list-style: none;
}

.nav_item a {
    display: block;
    font-size: 20px;
    color: #444;
    text-decoration: none;
    padding: 20px 0 20px 50px;
    text-transform: uppercase;
}

.nav_item a:hover {
    color: #fff;
    background-color: #d41c51;
    box-shadow: 0 0 10px #fff;
}

.nav.open {
    right: 0;
}

.sns {
    padding-left: 40px;
}

.sns img {
    width: 10%;
    margin-left: 10px;
}

.sns a:hover {
    opacity: 0.6;
}

/* --------------------------------
works
-------------------------------- */
#works {
    padding: 50px 10% 10% 10%;
}

.works_contents {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 70px;
}

.works_contents img {
    width: 45%;
    padding-left: 20px;
}

.works_contents:nth-of-type(even) {
    flex-direction: row-reverse;
    margin-left: 50px;
}

.works_about {
    width: 40%;
    position: relative;
}

.works_about p {
    padding-left: 10px;
    margin-bottom: 40px;
}

.works_about a {
    position: absolute;
    right: 20px;
    display: inline-block;
    text-decoration: none;
    color: #e39750;
}

.works_about a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #e39750;
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
}

.works_about a:hover::after {
    transform-origin: left top;
    transform: scale(1, 1);
}

.works_about img {
    width: 30px;
    position: absolute;
    padding-left: 0;
}

.works_title {
    display: flex;
    align-items: baseline;
    gap: 50px;
    border-bottom: 3px solid #ff4b99;
    margin-bottom: 50px;
}

.works_title p {
    padding: 0;
    margin: 0;
}

.btn_coconala {
    position: relative;
    margin-bottom: 150px;
}

a.coconala {
    display: inline-block;
    text-decoration: none;
    width: 300px;
    height: 60px;
    font-size: 1.2rem;
    border-radius: 30px;
    text-align: center;
    padding: 11px;
    color: #fff;
    background-image: -webkit-linear-gradient(left, #ff4b99 0%, #e39750 100%);
    background-image: linear-gradient(to right, #ff4b99 0%, #e39750 100%);
    font-weight: 700;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 5px 5px #b2b2b2;
}

a.coconala:hover {
    position: absolute;
    top: 5px;
    box-shadow: none;
}



/* --------------------------------
about
-------------------------------- */
#about {
    padding-top: 50px;
}

.parallax_content {
    width: 100%;
    height: 400px;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
}

.front_content {
    padding: 60px;
    background-color: #fff;
}

.parallax_content.img_bg_01 {
    background-image: url(image/parallax_bg.png);
    background-size: cover;
}

.profile_img {
    width: 20%;
    border-radius: 50%;
    margin: 0 80px;
}

.profile_about {
    width: 50%;
    padding-left: 150px;
    position: relative;
}

.profile_about h3 {
    color: #fff;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.profile_about span {
    margin-left: 40px;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 300;
}

.profile_about p {
    color: #fff;
    margin-bottom: 15px;
}

.profile_about img {
    width: 30px;
    position: absolute;
    padding-left: 0;
}

/* --------------------------------
footer
-------------------------------- */
footer {
    width: 100%;
    height: 50vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

footer a {
    display: block;
    text-decoration: none;
    background-color: #444;
    color: #fff;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-size: 0.875rem;
    margin-bottom: 40px;
    line-height: 5.5;
    text-align: center;
}

small {
    font-size: 0.7rem;
    margin-bottom: 20px;
}


/* ====================================================
responsive_tb
==================================================== */
@media screen and (max-width: 800px) {

    h3 {
        font-size: 2rem;
        line-height: 1;
    }

/* --------------------------------
top
-------------------------------- */
    .top_container img {
        left: 25%;
    }

/* --------------------------------
hamburger_menu
-------------------------------- */
    .nav {
        width: 60%;
    }

    .sns img {
        width: 15%;
        margin-left: 10px;
    }

/* --------------------------------
works
-------------------------------- */
    #works {
        padding: 50px 4% 10% 4%;
    }

    .works_contents:nth-of-type(even) {
        margin-left: 0;
    }

    .works_contents img {
        padding-left: 0;
    }

    .works_about {
        width: 45%;
        position: relative;
    }

    .works_about p {
        font-size: 0.8rem;
        line-height: 1.5;
        padding-left: 5px;
    }

    .works_title {
        flex-direction: column;
        gap: 5px;
    }

    .works_title p {
        font-size: 0.875rem;
    }

/* --------------------------------
about
-------------------------------- */
    .parallax_content {
        height: 700px;
        flex-direction: column;
    }

    .profile_img {
        width: 25%;
        margin-bottom: 3rem;
    }

    .profile_about {
        width: 90%;
        padding: 0;
    }

    .profile_about h3 {
        margin-bottom: 30px;
        text-align: center;
    }

    .profile_about p {
        font-size: 0.875rem;
        text-align: center;
    }
}

/* ====================================================
responsive_sp
==================================================== */
@media screen and (max-width: 515px) {

/* --------------------------------
top
-------------------------------- */
    #top {
        background-image: url(image/main_bg_sp.jpg);
    }

    .top_container {
        background-image: url(image/title_bg_sp.png);
    }

    h1 {
        top: 20%;
    }

    .top_container p {
        top: 55%;
    }

    .top_container img {
        top: 51%;
        left: 50%;
    }

/* --------------------------------
hamburger_menu
-------------------------------- */
    .hamburger {
        left: 80%;
    }

    .nav {
        width: 100%;
        background-color: rgba(225, 225, 225, 0.8);
    }

    .nav ul {
        text-align: center;
        margin: 80px 0 5rem;
    }

    .nav_item a {
        padding: 20px 0;
    }

    .sns {
        padding-left: 0px;
        text-align: center;
    }

    .sns img {
        width: 15%;
        margin-left: 0px;
    }

/* --------------------------------
works
-------------------------------- */
    .works_contents {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
        margin-bottom: 70px;
    }

    .works_contents img {
        width: 100%;
        padding: 3rem 0px;
    }

    .works_contents:nth-of-type(even) {
        flex-direction: column-reverse;
        margin-left: 0px;
    }

    .works_about {
        width: 90%;
    }

    .works_about p {
        margin-bottom: 20px;
    }

    .works_about a::after {
        position: absolute;
        bottom: 0;
        left: 0;
        content: '';
        width: 100%;
        height: 1px;
        background: #e39750;
        transform: scale(0, 1);
        transform-origin: right top;
        transition: transform .3s;
    }

    .works_about a:hover::after {
        transform-origin: left top;
        transform: scale(1, 1);
    }

    .works_about img {
        width: 30px;
        position: absolute;
        padding: 0;
    }

    .works_title {
        margin-bottom: 30px;
    }

    .btn_coconala {
        position: relative;
        margin-bottom: 150px;
    }

    a.coconala {
        display: inline-block;
        text-decoration: none;
        width: 300px;
        height: 60px;
        font-size: 1.2rem;
        border-radius: 30px;
        text-align: center;
        padding: 11px;
        color: #fff;
        background-image: -webkit-linear-gradient(left, #ff4b99 0%, #e39750 100%);
        background-image: linear-gradient(to right, #ff4b99 0%, #e39750 100%);
        font-weight: 700;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        box-shadow: 0 5px 5px #b2b2b2;
    }

    a.coconala:hover {
        position: absolute;
        top: 5px;
        box-shadow: none;
    }

/* --------------------------------
about
-------------------------------- */
    .parallax_content {
        height: 90vh;
    }

    .profile_img {
        width: 50%;
    }

    .profile_about h3 {
        margin-bottom: 30px;
        text-align: center;
    }

    .profile_about p {
        font-size: 0.7rem;
        text-align: left;
    }

    .front_content {
        padding: 0;
    }
}