@charset "utf-8";

@media (max-width: 968px) {

    /* ============================================ */
    /* 共通 */
    /* ============================================ */
    .site-header__pc {
        display: none;
    }

    .header-menu-sp {
        display: block;
    }

    .pc-br {
        display: none;
    }

    .sp-br {
        display: block;
    }

    /* ============================================ */
    /* header */
    /* ============================================ */
    .header-menu-sp {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 20;
        justify-content: space-between;
        width: 100%;
        gap: 20px;
    }

    .header-logo-wrap {
        top: 1rem;
    }

    .header-logo {
        position: fixed;
        z-index: 10;
        top: 14px;
        left: 10px;
        width: 130px;
    }

    /* morph-styles */
    .hamburger-morph {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10;
        width: 50px;
        height: 50px;
        padding: 8px;
        border: none;
        background: #222;
        cursor: pointer;
        margin-left: auto;
    }

    .hamburger-morph__icon {
        width: 100%;
        height: 100%;
    }

    .hamburger-morph__line {
        fill: none;
        stroke: #fff;
        stroke-width: 6;
        transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
            stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hamburger-morph__line:nth-child(1) {
        stroke-dasharray: 60 207;
    }

    .hamburger-morph__line:nth-child(2) {
        stroke-dasharray: 60 60;
    }

    .hamburger-morph__line:nth-child(3) {
        stroke-dasharray: 60 207;
    }

    .hamburger-morph.active .hamburger-morph__line:nth-child(1) {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
    }

    .hamburger-morph.active .hamburger-morph__line:nth-child(2) {
        stroke-dasharray: 1 60;
        stroke-dashoffset: -30;
    }

    .hamburger-morph.active .hamburger-morph__line:nth-child(3) {
        stroke-dasharray: 90 207;
        stroke-dashoffset: -134;
    }

    .nav-morph {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100dvh;
        background: rgba(34, 34, 34, 0.9);
        background-size: cover;
        clip-path: circle(0% at calc(100% - 44px) 44px);
        transition: clip-path 0.7s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 5;
        color: #fff;
    }

    .nav-morph.active {
        clip-path: circle(150% at calc(100% - 44px) 44px);
    }

    .nav-morph__wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100%;
    }

    .nav-morph__list {
        margin: 0;
        padding: 0;
        list-style: none;
        text-align: center;
    }

    .nav-morph__item {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .nav-morph.active .nav-morph__item {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-morph.active .nav-morph__item:nth-child(1) {
        transition-delay: 0.3s;
    }

    .nav-morph.active .nav-morph__item:nth-child(2) {
        transition-delay: 0.4s;
    }

    .nav-morph.active .nav-morph__item:nth-child(3) {
        transition-delay: 0.5s;
    }

    .nav-morph.active .nav-morph__item:nth-child(4) {
        transition-delay: 0.6s;
    }

    .nav-morph.active .nav-morph__item:nth-child(5) {
        transition-delay: 0.7s;
    }

    .nav-morph.active .nav-morph__item:nth-child(6) {
        transition-delay: 0.8s;
    }

    .nav-morph__link {
        display: inline-block;
        padding: 16px;
    }

    .nav-morph__item .site-menu__btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: var(--color-accent);
        color: #222;
        border-radius: 5px;
        margin-top: 20px;
    }

    .nav-morph__item .btn-onlineshop img {
        width: 23px;
    }

    /* ============================================ */
    /* footer */
    /* ============================================ */
    .footer {
        padding: clamp(40px, 3.12vw, 60px) 0 90px;
    }

    .footer__top {
        flex-direction: column;
        align-items: center;
    }

    .footer__info {
        order: 2;
    }

    .footer__logo {
        text-align: center;
    }

    .footer__nav {
        order: 1;
    }

    .footer__menu {
        text-align: center;
    }

    .footer__bottom {
        flex-direction: column-reverse;
    }

    .footer__copy {
        text-align: center;
    }

    /* ============================================ */
    /* mv */
    /* ============================================ */
    .mv {
        padding-top: 50px;
    }

    .mv__inner {
        grid-template-columns: 1fr;
    }

    .mv__image {
        order: 2;
        aspect-ratio: 16 / 9;
    }

    .mv__info {
        order: 1;
    }

    .mv__links {
        grid-template-columns: 1fr;
    }

    /* ============================================ */
    /* news */
    /* ============================================ */
    .news__item {
        grid-template-columns: 1fr;
    }


    /* ============================================ */
    /* company */
    /* ============================================ */
    .company__list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {

    /* ============================================ */
    /* 共通 - fix */
    /* ============================================ */
    .fixed-message {
        font-size: 11px;
        line-height: 1.3;
    }

    /* ============================================ */
    /* contact */
    /* ============================================ */
    .contact__buttons {
        flex-direction: column;
    }
}