@charset "utf-8";

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 50;
    transition: var(--default);
}

.header.hide {
    transform: translateY(-100%);
}

.h_logo {
    max-width: 192px;
    width: 10%;
}

.h_logo img {
    width: 100%;
    height: auto;
}



.header .inner {
    display: flex;
    justify-content: space-between;
    padding-left: 5%;
    padding-right: 3%;
}

.header .nav-menu {
    display: flex;
    gap: 56px;
    align-items: center;
}

.header .nav-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    position: relative;
    overflow: hidden;
}

.header .nav-menu>a::before {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #FFF;
    position: absolute;
    left: 0;
    bottom: 0;
    transform: translateX(-100%);
    transition: var(--default);
}

.header .nav-menu>a:hover::before {
    transform: translateX(0);
}

.header .nav-menu a img {
    width: auto;
    height: 16px;
}

.header .nav-menu a p {
    font-weight: 500;
    font-size: 14px;
    color: #fff;
}

.header .btn-area {
    display: flex;
    align-items: center;
    gap: 32px;
}

.header .btn-area .link-line {
    border: 1px solid #fff;
    max-width: 220px;
    width: 42%;
}

.header .btn-area .link-line a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    height: 100%;
    padding: 13px 14px;
}

.header .btn-area .link-line .icon {
    width: 40px;
    height: auto;
}

.header .tel-link .icon {
    width: 27px;
    height: auto;
}

.header .btn-area .link-line a .link-text {
    font-weight: 500;
    font-size: 12px;
    text-align: left;
    color: #fff;
}

.header .tel-link a {
    display: grid;
    grid-template-columns: max-content 1fr;
    grid-template-areas: "icon time"
        "icon num";
    gap: 10px 20px;
}

.header .tel-link a .icon {
    grid-area: icon;
}

.header .tel-link .time {
    font-weight: 500;
    font-size: clamp(0.75rem, 0.583rem + 0.35vw, 1rem);
    text-align: right;
    color: #ffd800;
    grid-area: time;
}

.header .tel-link .num {
    width: 211px;
    height: auto;
    grid-area: num;
}

.header .mail-link {
    width: 72px;
    aspect-ratio: 1/1;
}

.header .mail-link a {
    background: url(/system_panel/uploads/images/20260522124937805937.svg) no-repeat center/contain;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.header .mail-link .icon {
    width: 34px;
    height: auto;
}

.hamburger,
.navigation {
    display: none;
}

@media (max-width: 1500px) {
    .header .inner {
        padding-left: 2%;
        padding-right: 2%;
    }

    .header .nav-menu {
        width: 88%;
        gap: 3%;
    }

    .header .btn-area {
        gap: 4%;
        flex: 1;
        justify-content: flex-end;
    }
}


@media (max-width: 1200px) {

    .header .nav-menu,
    .header .btn-area {
        gap: 2%;
    }




}

@media (max-width: 1150px) {

    .header .nav-menu {
        gap: 4%;
    }

    .header .btn-area {
        display: grid;
        grid-template-areas: "tel mail line";
        gap: 15px;
    }

    .header .btn-area .link-line {
        border: none;
        grid-area: line;
        width: 100%;
    }

    .header .btn-area .link-line a .link-text {
        display: none;
    }



    .header .tel-link {
        grid-area: tel;
        margin-right: 8px;
    }

    .header .tel-link a {
        gap: 6px 7px;
    }

}

@media (max-width: 1023px) {
    .header.active {
        background-color: #000000;
    }

    .header.is-show .line,
    .hamburger.active .line {
        background-color: #FFF;
    }

    .header .inner {
        justify-content: flex-start;
        align-items: center;
        width: 90%;
        padding: 0;
        margin: 0 auto;
    }

    .header .nav-menu {
        margin-left: auto;
        margin-right: 14px;
    }



    .header .nav-menu>a {
        display: none;
    }

    .header .btn-area {
        gap: 0;
    }

    .header .btn-area .link-line a {
        padding: 0;
    }

    .header .tel-link .icon {
        width: 16px;
    }

    .header .tel-link .num {
        width: 93px;
        margin-left: auto;
    }

    .header .mail-link {
        width: 34px;
        grid-area: mail;
        margin-right: 15px;
    }

    .header .mail-link .icon {
        width: 16px;
    }

    .header .btn-area .link-line .icon {
        width: 28px;
    }

    .hamburger {
        display: block;
        width: 46px;
        height: 32px;
        cursor: pointer;
        z-index: 100;
        position: relative;
    }



    /* ドット（初期） */
    .hamburger .line {
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        width: 25px;
        height: 1px;
        background-color: #FFD800;
        transition: all 0.4s ease;
    }

    /* アクティブ時：中央配置に切り替え */
    .hamburger.active {
        display: block;
        border: 1px solid #FFF;


    }

    .hamburger.active .line {
        position: absolute;
        top: 50%;
        left: 50%;
        width: 20px;
        height: 2px;
        border-radius: 2px;
        transform-origin: center;
    }

    .hamburger .line1 {
        top: 6px;
    }

    .hamburger .line2 {
        top: 17px;
    }

    .hamburger .line3 {
        top: 27px;
    }


    /* 上 → ／ */
    .hamburger.active .line1 {
        transform: translate(-50%, -50%) rotate(45deg);
    }

    /* 真ん中消す */
    .hamburger.active .line2 {
        opacity: 0;
    }

    /* 下 → ＼ */
    .hamburger.active .line3 {
        transform: translate(-50%, -50%) rotate(-45deg);
    }

    /* メニューのスタイル */


    .navigation .menu-inner {
        padding: 30px 0 12px;
        width: 60%;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }

    .navigation .menu-inner .menu-list {
        display: flex;
        flex-direction: column;
        gap: 40px;
        margin-bottom: 88px;
    }

    .navigation .menu-inner .menu-list a {
        display: grid;
        grid-template-areas: "eng arrow"
            "ja arrow";
        justify-content: space-between;
        align-items: flex-start;
    }

    .navigation .menu-inner .menu-list .tit-en {
        width: auto;
        height: 31px;
        grid-area: eng;
    }

    .navigation .menu-inner .menu-list .tit-ja {
        font-weight: 500;
        font-size: 12px;
        color: #fff;
        grid-area: ja;
    }

    .navigation .menu-inner .menu-list .arrow {
        grid-area: arrow;
        margin-top: 12px;
        width: 38px;
        height: auto;
    }

    .navigation a {
        display: flex;
        gap: 8px;
        align-items: center;

        font-weight: 500;
        font-size: 16px;
        color: #000;
    }

    .navigation {
        display: block;
        position: fixed;
        pointer-events: none;
        top: var(--header-height);
        right: -100%;
        width: 100%;
        background-color: #000000;
        transition: all .8s;
        z-index: 99;
        overflow: auto;
        height: calc(100svh - var(--header-height));
    }

    .navigation.active {
        right: 0;
        pointer-events: all;
    }

    .navigation .info {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 21px;
        margin-bottom: 40px;
    }

    .navigation .info .link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 20px;
    }

    .navigation .info .link .link-line .icon {
        width: 28px;
    }

    .navigation .info .mail-link {
        margin: 0;
    }

    .navigation .info .tel-link .icon {
        width: 21px;
    }

    .navigation .info .tel-link .num {
        width: 140px;
    }

    .navigation .copy {
        font-weight: 500;
        font-size: 14px;
        text-align: center;
        color: #fff;
    }
}

@media (max-width: 767px) {
    .h_logo {
        max-width: 56px;
        width: 100%;
    }











}


/* 管理画面用 */
.gjs-dashed .navigation {
    right: 0;
    top: 0;
    pointer-events: all;
}