@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100;300;400;500;700;900&display=swap");

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    height: 100%;
    line-height: 1;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

@media screen and (min-width: 769px) {
    html { font-size: 100px; }
}

@media screen and (max-width: 768px) {
    html { font-size: 13.02083vw; }
}

body {
    background-color: #fff;
    color: #242424;
    font-size: 0.16rem;
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    margin: 0;
}

a { text-decoration: none; color: inherit; transition: opacity 0.3s; }
a:hover { opacity: 0.7; }

/* -------------------------------------------
   ヘッダー
------------------------------------------- */
.header-global {
    background-color: #fff;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
}

@media screen and (max-width: 1220px) {
    .header-global { height: 56px; }
}

.header-global__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
}

.header-global-logo__link {
    padding-left: 0.4rem;
    display: block;
}

.header-global-logo__text:nth-child(1) { font-size: 0.12rem; display: block; line-height: 1.2; }
.header-global-logo__text:nth-child(2) { font-size: 0.22rem; font-weight: 700; display: block; line-height: 1.2; }
.header-global-logo__text--provisional { font-size: 0.10rem; display: block; color: #c93a40; line-height: 1.2; }

.nav-global { display: flex; height: 100%; align-items: center; }
.nav-global-lists2 { display: flex; list-style: none; margin: 0; padding: 0; height: 100%; }
.nav-global-lists2__list { margin-right: 0.3rem; height: 100%; display: flex; align-items: center; }
.nav-global-lists2__link { font-size: 0.16rem; font-weight: 700; }

.nav-button__lists { display: flex; list-style: none; height: 100%; margin: 0; padding: 0; }
.nav-button__list { width: auto; min-width: 100px; height: 100%; }
.nav-button__link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 15px;
    font-size: 11px;
    border-left: 1px solid #e3e3e3;
    text-align: center;
}

/* ハンバーガーメニュー設定 */
.hamburger { display: none; }
#nav-toggle { display: none; }

@media screen and (max-width: 768px) {
    .hamburger {
        display: block;
        position: relative;
        width: 30px;
        height: 24px;
        margin-right: 20px;
        cursor: pointer;
        z-index: 10001;
    }
    .hamburger span, .hamburger span::before, .hamburger span::after {
        position: absolute;
        width: 100%;
        height: 3px;
        background: #1a2c5b;
        transition: all 0.3s;
    }
    .hamburger span { top: 10.5px; }
    .hamburger span::before { content: ''; top: -10px; }
    .hamburger span::after { content: ''; top: 10px; }

    #nav-toggle:checked + .hamburger span { background: transparent; }
    #nav-toggle:checked + .hamburger span::before { transform: rotate(45deg); top: 0; }
    #nav-toggle:checked + .hamburger span::after { transform: rotate(-45deg); top: 0; }

    .nav-global {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        transition: right 0.3s;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 10000;
    }
    #nav-toggle:checked ~ .nav-global {
        right: 0;
    }
    .nav-global-lists2 { flex-direction: column; height: auto; width: 100%; }
    .nav-global-lists2__list { width: 100%; margin: 0; border-bottom: 1px solid #eee; height: auto; }
    .nav-global-lists2__link { padding: 20px; display: block; width: 100%; text-align: left; }
    
    .nav-button { height: auto; width: 100%; }
    .nav-button__lists { flex-direction: column; width: 100%; }
    .nav-button__list { width: 100%; height: auto; }
    .nav-button__link { border-left: none; border-bottom: 1px solid #eee; padding: 20px; align-items: flex-start; width: 100%; text-align: left; }
}

/* フッター */
footer {
    width: 100%;
    background: #fff;
    padding: 2vh 0;
    text-align: center;
    color: #888;
    border-top: 1px solid #ddd;
    font-size: 12px;
}