@charset "utf-8";

/*==========================
common
==========================*/

:root {
    --lightgray: #F9F8F8;
    --pink: #FF8484;
    --red: #5B0001;
    --text: #430A13;
}

html {
    font-size: 62.5%;
}

body {
    color: var(--text, #430A13);
    font-family: "Shippori Mincho";
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 2;
}

img {
    max-width: 100%;
    height: auto;
}

.title {
    font-family: 'kapakana', serif;
    font-size: 4rem;
    margin-left: 10%;
}

.subtitle {
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.7;
}

body.active {
    overflow: hidden;
}


/* common PC */
@media screen and (min-width: 769px) {
    body {
        font-size: 1.6rem;
        line-height: 1.5;
    }

    .title {
        font-size: 6.4rem;
        margin-left: 14%;

    }

    .subtitle {
        font-size: 2rem;
    }
}

/*==========================
header
==========================*/

.logo {
    width: 90px;
    height: 29px;
    margin: auto 0;
}

.header,
.nav__header {
    background: rgba(249, 248, 248, 0.80);
    width: 100%;
    height: 40px;
    padding: 6px 0;
    display: flex;
    top: 15px;
    position: fixed;
    justify-content: center;
    z-index: 50;
}

.nav {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    background: var(--lightgray);
    transform: translateX(-100%);
    transition: 0.4s;
}

.nav.active {
    transform: translateX(0);
    transition: 0.4s;
}

.closeBtn,
.hamburgerBtn {
    position: absolute;
    right: 5%;
    height: 25px;
}

.hamburgerBtn {
    z-index: -1;
}

.nav__list {
    margin-top: 90px;
    text-align: center;
}

.nav__item {
    font-family: 'kapakana', serif;
    font-size: 3.2rem;
    margin-top: 60px;
    line-height: 0.9;
}

.nav__item:first-of-type {
    margin-top: 123px;
}

.header.m_fixed {
    position: fixed;
    top: 0;
    transition: 0.3s;
}

.header {
    transition: 0.3s;
}


/* header PC */
@media screen and (min-width: 769px) {
    .logo {
        width: 125px;
        height: 40px;
    }

    .header,
    .nav__header {
        height: 50px;
        padding: 0;
        top: 30px;
    }

    .nav__header {
        display: none;
    }

    .nav {
        position: absolute;
        right: 7%;
        width: auto;
        height: auto;
        transform: translateX(0);
        top: 50%;
        transform: translateY(-50%);
        background-color: transparent;
    }

    .closeBtn,
    .hamburgerBtn {
        display: none;
    }

    .nav__list {
        display: flex;
        gap: 68px;
        margin: auto 0;
        text-align: center;
    }

    .nav__item {
        font-size: 4rem;
        margin-top: 0;
        padding-bottom: 2px;
        background-image: linear-gradient(var(--text), var(--text));
        background-repeat: no-repeat;
        background-position: bottom right;
        background-size: 0 1px;
        transition: background-size 0.3s;
    }

    .nav__item:first-of-type {
        margin-top: 0;
    }

    .nav__item:hover {
        background-position: bottom left;
        background-size: 100% 1px;
    }
}


/*==========================
footer
==========================*/

.shape-fill {
    fill: var(--lightgray);
}

.footer {
    background-color: var(--lightgray);
    color: var(--pink);
}

.mail {
    font-family: 'Kapakana';
    font-size: 3.2rem;
    border-bottom: 1px dashed var(--pink);
    display: block;
    margin: 100px auto 0;
    text-align: center;
    line-height: 1.1;
    width: 270px;
}

.copy {
    margin-top: 45px;
    text-align: center;
    font-size: 1.1rem;
    padding-bottom: 30px;
}


/* footer PC */
@media screen and (min-width: 769px) {

    .mail {
        font-size: 7.2rem;
        line-height: 0.9;
        width: 582px;
        padding: 0 10px;
        overflow: hidden;
        color: transparent;
        /* テキスト本体は透明にする */
        font-size: 7.2rem;
        text-shadow: 0 -1.5em 0 var(--pink), 0 0 0 var(--pink);
        background: linear-gradient(to bottom, var(--pink) 50%, transparent 50%) 0 100%;
        background-size: 100% 200%;
        transition: text-shadow 0.3s, background-position 0.3s;
        border-bottom: 0px dashed var(--pink);
    }

    .mail:hover {
        text-shadow: 0 0 0 #fff, 0 1.5em 0 var(--pink);
        background-position: 0 0;
    }


    .copy {
        margin-top: 120px;
        font-size: 1.3rem;
    }


}