@charset "UTF-8";

@media print,
screen and (min-width:1200px) {

    #topHead {
        position: fixed;
        width: 100%;
        height: 120px;
        top: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        padding: 0 30px;
        z-index: 500;
        transition: .3s;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #topHead.fixed {
        background-color: #fff;
        height: 80px;
    }

    #topHead #logo {
        position: absolute;
        background: url("../img/logo_w.svg?v=20260824") no-repeat;
        background-size: cover;
        width: 195px;
        height: 60px;
        transition: .3s;
        left: 40px;
        top: 30px;
    }

    #topHead #logo a span {
        width: 100%;
        height: 100%;
        font-size: 0;
        display: block;
        text-indent: -10000px;
    }

    #topHead.fixed #logo {
        background: url("../img/logo_n.svg?v=20261008") no-repeat;
        background-size: cover;
        width: 163px;
        height: 50px;
        top: 15px;
    }

    #topHead.fixed #logo span {
        width: 100%;
        height: 100%;
    }

    #topHead #globalNav ul {
        position: absolute;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        transition: .3s;
        right: 40px;
        top: 30px;
    }

    #topHead.fixed #globalNav ul {
        top: 12px;
    }

    #topHead #globalNav ul li {
        position: relative;
        text-align: center;
        margin-left: 40px;
    }

    #topHead #globalNav ul li a {
        font-size: 1.5rem;
        font-weight: 500;
        color: #fff;
        text-decoration: none;
        margin: 0;
        padding: 0 0 15px;
        line-height: 1;
    }

    #topHead.fixed #globalNav ul li a {
        color: #000;
    }

    #topHead.fixed #globalNav ul li a::after {
        background-color: var(--pointColor);
    }

    #topHead #globalNav ul li a span {
        font-family: var(--font-viga);
        font-size: 1rem;
        font-weight: 400;
        color: var(--pointColor);
        display: block;
        letter-spacing: .05em;
    }

    #topHead #globalNav ul li a::after {
        position: absolute;
        background-color: #fff;
        content: "";
        width: 100%;
        height: 2px;
        bottom: -3px;
        left: 0;
        transform: scale(0, 1);
        transform-origin: left top;
        transition: all .3s ease;
    }

    #topHead #globalNav ul li a:hover::after {
        transform: scale(1, 1);
    }

    #topHead #navContact {
        position: relative;
        font-family: var(--font-primary);
        background-color: var(--pointColor);
        width: 160px;
        height: 56px;
        border: 1px solid transparent;
        border-radius: 160px;
        transition: .3s;
    }

    #topHead #navContact a {
        width: 100%;
        height: 100%;
        display: block;
        color: #fff !important;
        line-height: 54px !important;
    }

    #topHead #navContact:hover {
        background-color: #fff !important;
        border: 1px solid #000;
    }

    #topHead #navContact a:hover {
        color: #000 !important;
    }

    #topHead #navContact a:hover::after {
        transform: scale(0, 0) !important;
    }

    .globalSubNav {
        position: absolute;
        background-color: #000;
        width: 300px;
        margin: auto;
        padding: 16px 24px 20px;
        border-radius: 10px;
        display: none !important;
        white-space: nowrap;
        left: 0;
        top: 40px !important;
        overflow: visible;
        transition: .6s;
        z-index: 510;
        /*box-shadow: 0 3px 6px rgba(0,0,0,.16);*/
    }

    .globalSubNav::before {
        position: absolute;
        width: 0;
        height: 0;
        content: "";
        margin: auto;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-bottom: 10px solid #000;
        left: 22px;
        top: -10px;
    }

    .globalSubNav li {
        margin-left: 0 !important;
        text-align: left !important;
    }

    .globalSubNav li a {
        font-size: 1.4rem !important;
        color: #fff !important;
        padding-left: 15px !important;
    }

    .globalSubNav li a::before {
        position: absolute;
        background-color: #fff;
        width: 8px;
        height: 8px;
        content: "";
        border-radius: 8px;
        margin: auto;
        left: 0;
        top: 0;
        bottom: 0;
    }

    .globalSubNav li a:hover {
        opacity: .7;
    }

    #topHead .globalSubNav li a::after {
        display: none;
    }

    #topHead #globalNav ul li:hover .globalSubNav {
        display: block !important;
        animation: fadeIn 0.3s ease-in 0s forwards;
    }

    @keyframes fadeIn {
        0% {
            display: none;
            opacity: 0;
        }

        1% {
            display: block;
            opacity: 0;
        }

        100% {
            display: block;
            opacity: 1;
        }
    }

    .hamburger {
        display: none !important;
    }

    /* ドロワー用ロゴはPCでは不要（横並びナビと重複するため非表示） */
    #topHead #drawerLogo {
        display: none;
    }

}

@media print,
screen and (max-width:1199px) {

    #topHead {
        position: fixed;
        width: 100%;
        height: 60px;
        top: 0;
        left: 0;
        right: 0;
        margin: 0 auto;
        z-index: 500;
        transition: .3s;
    }

    #topHead.fixed {
        background-color: #fff;
        background-size: 500px;
    }

    #topHead #logo {
        position: absolute;
        background: url("../img/logo_w.svg?v=20260824") no-repeat;
        background-size: cover;
        width: 123.2px;
        height: 40px;
        transition: .3s;
        left: 10px;
        top: 10px;
    }

    #topHead #logo a span {
        width: 100%;
        height: 100%;
        font-size: 0;
        display: block;
        text-indent: -10000px;
    }

    #topHead.fixed #logo {
        background: url("../img/logo_n.svg?v=20261008") no-repeat;
        background-size: cover;
        width: 130px;
        height: 40px;
        left: 10px;
        top: 10px;
    }

    #topHead.fixed #logo span {
        width: 100%;
        height: 100%;
    }

    /* ドロワー内ロゴ：ヘッダーロゴと同じ左上位置に表示（背景が明るいため濃色ロゴ） */
    #topHead #drawerLogo {
        position: absolute;
        background: url("../img/logo_n.svg?v=20261008") no-repeat;
        background-size: cover;
        width: 130px;
        height: 40px;
        left: 10px;
        top: 10px;
    }

    #topHead #drawerLogo a {
        width: 100%;
        height: 100%;
        display: block;
    }

    #topHead #drawerLogo a span {
        font-size: 0;
        text-indent: -10000px;
        display: block;
    }

    .hamburger {
        position: fixed;
        display: block;
        width: 52px;
        right: 5px;
        top: 10px;
        height: 42px;
        cursor: pointer;
        text-align: center;
        z-index: 1004;
        transition: .5s;
    }

    .hamburger span {
        position: absolute;
        background-color: #fff;
        display: block;
        width: 30px;
        height: 2px;
        left: 10px;
        -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;
    }

    #topHead.fixed .hamburger span {
        background-color: #000;
    }

    .hamburger span:nth-child(1) {
        top: 10px;
    }

    .hamburger span:nth-child(2) {
        top: 18px;
    }

    .hamburger span:nth-child(3) {
        top: 26px;
    }

    .hamburger.active span:nth-child(1) {
        top: 20px;
        left: 10px;
        background: #000;
        transform: rotate(-45deg);
    }

    .hamburger.active span:nth-child(2),
    .hamburger.active span:nth-child(3) {
        top: 20px;
        background: #000;
        transform: rotate(45deg);
    }

    #topHead #globalNav {
        position: fixed;
        background: url("../img/bg.webp?v=20260924") repeat left top;
        background-size: 500px;
        z-index: 1001;
        top: 0;
        left: 0;
        text-align: center;
        width: 100%;
        height: 100%;
        transform: translateX(-100%);
        transition: all 0.6s;
    }

    #topHead #globalNav.active {
        opacity: 1;
        display: block;
        transform: translateX(0%);
    }

    #topHead #globalNav ul {
        position: absolute;
        width: 60%;
        text-align: center;
        display: table;
        margin: auto;
        left: 0;
        right: 0;
        top: 40%;
        transform: translateY(-40%);
    }

    #topHead #globalNav ul li {
        position: relative;
        text-align: left;
        margin: 0 auto;
        margin-bottom: 10px;
        padding-left: 14px;
        transition: .6s;
    }

    #topHead #globalNav ul li a {
        font-size: 1.4rem;
        text-decoration: none;
        color: #000;
        display: block;
        transition: .5s;
    }

    #topHead #globalNav ul li a::before {
        position: absolute;
        background-color: var(--pointColor);
        width: 8px;
        height: 8px;
        content: "";
        border-radius: 8px;
        margin: auto;
        left: 0;
        top: 9px;
    }

    .globalSubNav {
        position: relative !important;
        text-align: center;
        margin-top: 40px !important;
        margin-bottom: -40px !important;
        padding: 0;
        white-space: nowrap;
    }

    .globalSubNav li {
        margin: 5px auto !important;
        padding-left: 0 !important;
    }

    .globalSubNav li a {
        font-size: 1.4rem !important;
        padding-left: 15px !important;
    }

    .globalSubNav li a::before {
        position: absolute;
        background-color: var(--pointColor);
        width: 8px;
        height: 8px;
        content: "";
        border-radius: 8px;
        margin: auto;
        left: 0;
        top: 9;
    }

}