/* 全画面メニュー xボタン */
/* Closeボタンをハンバーガーと同じ位置に */
.fullmenu-close {
    position: fixed;
    top: 16px;
    right: 24px;
    z-index: 11001;
    background: none;
    border: none;
    color: white;
    font-size: 2.4rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    padding: 0 12px;
    transition: color 0.2s, transform 0.2s;
    text-shadow: 0 2px 8px #fff8, 0 0 4px #0002;
    align-items: center;
    justify-content: center;
    display: flex;
}

.fullmenu-close:hover {
    color: #00ffc6;
    transform: scale(1.2) rotate(8deg);
}

.pc-nav {
    display: block;
}

/* 全画面ハンバーガーメニュー */
.fullmenu-overlay {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(30, 34, 44, 0.96);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    overflow-x: hidden;
    transform: translateY(-100%);
    transition: opacity 0.4s cubic-bezier(.77, 0, .18, 1), transform 0.45s cubic-bezier(.77, 0, .18, 1);
    display: flex;
}

.fullmenu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


@keyframes menuBgMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 100% 100%;
    }
}

/* ヘッダー */
.site-header {
    background: #121624;
    color: #f7f7f7;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.header-logo-img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    vertical-align: middle;
    padding: 2.5px;
    box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.18);
}

.header-logo-text {
    font-weight: bold;
    font-size: 1.15rem;
    color: #f7f7f7;
    letter-spacing: 0.04em;
}

.header-nav ul {
    display: flex;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-nav a {
    color: #f7f7f7;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s;
}

.header-nav a:hover {
    color: #00adb5;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: #f7f7f7;
    border-radius: 2px;
    transition: all 0.3s;
    box-shadow: none;
    margin: 0;
}


body {
    margin: 0;
    font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
    background: #f7f7f7;
}

section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1,
h2 {
    margin-bottom: 24px;
}

.main-content {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

a {
    color: #00adb5;
    text-decoration: underline;
}

/* フッターロゴ */
.footer-logo-img {
    height: 72px;
    object-fit: contain;
    display: block;
}

.site-footer {
    background: #121624;
    color: #f7f7f7;
    padding: 32px 0 16px 0;
    font-size: 1rem;
    letter-spacing: 0.02em;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.12);
}

.site-footer .footer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.site-footer .footer-logo {
    font-weight: bold;
    font-size: 1.3rem;
    letter-spacing: 0.05em;
}

.site-footer .footer-social {
    display: flex;
    gap: 20px;
}

.site-footer .footer-social a {
    color: #f7f7f7;
    background: #22305a;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 8px rgba(22, 32, 58, 0.12);
}

.site-footer .footer-social a:hover {
    background: #00adb5;
    color: #181c24;
    transform: translateY(-2px) scale(1.08);
}

.site-footer .footer-copy {
    font-size: 0.95rem;
    color: #b0b6c1;
}

/* スマホ用の基本レスポンシブ設定 */
@media screen and (max-width: 800px) {

    html,
    body {
        overflow-x: hidden;
    }

    body {
        font-size: 16px;
    }

    header,
    footer {
        text-align: center;
    }

    .header-logo-img {
        height: 40px;
    }

    .header-inner {
        padding: 5px 24px;
    }

    nav ul {
        flex-direction: column;
        gap: 8px;
        padding: 0;
    }

    .container,
    main,
    section {
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    img,
    video {
        max-width: 100%;
        height: auto;
    }

    table {
        width: 100%;
        font-size: 14px;
        overflow-x: auto;
        display: block;
    }
}

@media (max-width: 800px) {
    .pc-nav {
        display: none !important;
    }

    .header-nav ul {
        display: none;
        position: absolute;
        top: 60px;
        right: 24px;
        background: #121624;
        flex-direction: column;
        gap: 24px;
        padding: 16px 24px;
        box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.18);
        z-index: 200;
    }

    .header-nav ul[style*="display: flex"] {
        display: flex !important;
    }

    .hamburger {
        display: flex;
        z-index: 201;
    }

    .fullmenu-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 32px;
        align-items: center;
        margin-top: 80px;
    }

    .fullmenu-nav li {
        font-size: 1.3rem;
        font-family: 'Noto Sans JP', 'Segoe UI', 'Arial', sans-serif;
        letter-spacing: 0.04em;
        font-weight: 600;
        transition: transform 0.2s, color 0.2s;
    }

    .fullmenu-nav a {
        color: #fff;
        text-decoration: none;
        padding: 14px 48px;
        font-weight: 600;
        font-size: 1.3rem;
        display: block;
        width: 100%;
        border-bottom: 1.5px solid rgba(215, 214, 214, 0.667);
        box-sizing: border-box;
        transition: background 0.2s;
    }


    .site-footer .footer-inner {
        padding: 0 12px;
        font-size: 0.95rem;
    }

    .site-footer .footer-logo {
        font-size: 1.05rem;
    }

    .site-footer .footer-social a {
        width: 34px;
        height: 34px;
        font-size: 1.15rem;
    }
}