@charset "utf=8";

.header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: var(--white);
}

.header.is-animation .headerBox,
.header.is-animation .headerFormLink {
    height: 11rem;
}

.headerArea {
    width: 100%;
    padding: 0 0 0 2rem;
}

.headerBox {
    display: flex;
    justify-content: space-between;
    height: 18.7rem;
    transition: all .3s;
}

.headerBoxLeft {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 5rem 0 0;
}

.headerLogo {
    width: 100%;
    max-width: 24.8rem;
    margin: 0 4.5rem;
}

.headerNaviBox {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.headerNaviLink a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 8rem;
    padding: 0 3.1rem;
    border-right: 1px solid #333;
    color: #333;
    font-size: 1.8rem;
}

.headerNaviLink a:hover {
    text-decoration: underline;
}

.headerNaviLink:first-of-type a {
    border-left: 1px solid #333;
}

.headerNaviTelBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 0 2.9rem;
}

.headerNaviTelIn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}

.headerNaviTelIn figure {
    width: 3rem;
}

.headerNaviTelIn figure img {
    width: 100%;
}

.headerNaviTelIn .js-tel {
    font-size: 3rem;
    line-height: 1.45;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.headerNaviTelBox>p {
    margin: 0.4rem 0 0;
    font-size: 1.5rem;
    line-height: 1.45;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.headerNaviIconBox {
    display: none;
}

.headerBoxRight {
    height: 100%;
}

.headerFormLink {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 36rem;
    height: 13rem;
    background: var(--primary);
    border-radius: 0 0 0 2rem;
    box-shadow: 0 .3rem .6rem rgba(0, 0, 0, 0.16);
    transition: all .3s;
}

.headerFormLink:hover {
    filter: brightness(1.1);
}

.headerFormLink>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.headerFormLink p {
    color: var(--white);
}

.headerFormLink>div p:first-of-type {
    position: relative;
    padding: 0 .5rem;
    font-size: 3rem;
    letter-spacing: 0.05em;
    line-height: 1.45;
}

.headerFormLink p:first-of-type::before {
    content: "";
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: url(../../../../uploads/undeline_dashed_white.svg)repeat-x left center/cover;
}

.headerFormLink p:first-of-type::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: -0.5rem;
    left: 100%;
    width: 4.05rem;
    aspect-ratio: 81/80;
    background: url(../../../../uploads/pencil_icon_white.svg)no-repeat left bottom/contain;
}

.headerFormLink>div p:last-of-type {
    margin: 1.3rem 0 0;
    font-size: 2.3rem;
    letter-spacing: 0.05em;
    line-height: 1.45;
}

.headerInstagramIcon {
    width: 3.5rem;
}

.headerInstagramIcon a {
    transition: all .3s;
}

.headerInstagramIcon a:hover {
    transform: scale(1.1);
}

.headerHamBtn {
    cursor: pointer;
    width: 3.5rem;
    aspect-ratio: 35/31;
    position: relative;
    z-index: 99999;
    transition: all .3s;
}

.headerHamBtn:hover {
    transform: scale(1.1);
}

.js-sp-nav {
    z-index: 9999;
}


/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=1550px) {

    .headerBoxLeft {
        margin: 0 2rem 0 0;
    }

    .headerLogo {
        width: 100%;
        max-width: 18rem;
        margin: 0 1rem 0 0;
    }

    .headerNaviLink a {
        padding: 0 1.5rem;
        font-size: 1.6rem;
        height: 6rem;
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=1024px) {

    .headerBox {
        height: 13rem;
    }

    .headerBoxLeft {
        margin: 0 1rem 0 0;
    }

    .headerLogo {
        max-width: 10rem;
        margin: 0 1rem 0 0;
    }

    .headerNaviLink a {
        padding: 0 0.5rem;
        font-size: 1.4rem;
    }

    .headerNaviTelBox {
        margin: 0 0 0 0.5rem;
    }

    .headerNaviTelIn figure {
        width: 2rem;
    }

    .headerNaviTelIn .js-tel {
        font-size: 1.7rem;
    }

    .headerNaviTelBox>p {
        font-size: 1rem;
    }

    .headerFormLink {
        width: 20rem;
        height: 11rem;
    }

    .headerFormLink>div p:first-of-type {
        font-size: 2.2rem;
    }

    .headerFormLink p:first-of-type::after {
        width: 2.2rem;
    }

    .headerFormLink>div p:last-of-type {
        font-size: 1.3rem;
    }
}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */

/* ★★★★★★★★★★★★★★★★★★★★★★★★★★★★★★ */

@media screen and (width <=768px) {

    .headerBoxLeft {
        padding: 0 2rem;
    }

    .headerBox {
        height: auto;
        flex-direction: column;
        padding: 1rem 0;
    }

    .header.is-animation .headerBox{
        height: auto;
    }

    .headerBoxRight {
        display: contents;
    }

    .headerFormLink {
        position: fixed;
        bottom: 8rem;
        right: 0;
        z-index: 99;
        width: 20rem;
        height: 8rem;
        aspect-ratio: 3/1;
        margin: 0 0 0 auto;
        transition: all .3s;
    }

    .headerFormLink.is-hidden {
        opacity: 0;
        pointer-events: none;
    }

    .header.is-animation .headerFormLink {
        height: 8rem;
    }

    .headerFormLink>div p:first-of-type {
        font-size: 2rem;
    }

    .headerFormLink>div p:last-of-type {
        font-size: 1.4rem;
    }

    .headerLogo {
        max-width: 18rem;
    }

    .headerNaviBox {
        display: none;
    }

    .headerNaviIconBox {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2.5rem;
    }

    .headerNaviTelBox {
        display: none;
    }

    .headerBoxRight {
        margin: 1.5rem 0 0;
    }

}

/* ☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆☆ */