:root {
    --content-width: 1024px;
    --font-size: 16px;
    --font-family-mincho: "Times New Roman" , "游明朝" , "Yu Mincho" , "游明朝体" , "YuMincho" , "ヒラギノ明朝 Pro W3" , "Hiragino Mincho Pro" , "HiraMinProN-W3" , "HGS明朝E" , "ＭＳ Ｐ明朝" , "MS PMincho" , serif;
    --header-bg-color: #278839;
    --header-height: 64px;
    --footer-bg-color: #278839;
}

* {
    margin: 0;
    padding: 0;
}

html {
    font-family: 'Noto Sans JP', 'Noto Sans CJK JP', serif;
    font-size: var(--font-size);
}

body {
    background-repeat: repeat;
    background-position: center;
    background-size: contain;
    background-color: #F1F1F1;
    margin: 0;
    padding: 0;
}

body * {
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
}

header {
    background-color: var(--header-bg-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    position: fixed;
    top: 0;
    padding: 20px 0;
    height: var(--header-height);
    width: 100%;
    z-index: 9999;
}

header * {
    color: white;
}

header h1 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

header nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
}

header nav a {
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 6px;
}

header nav a:hover {
}

footer {
    background-color: var(--footer-bg-color);
    padding: 20px 0;
    text-align: center;
}

footer * {
    line-height: 1.65;
    font-weight: 600;
    color: white;
}

#content {
    width: var(--content-width);
    margin: var(--header-height) auto 0 auto;
    padding-top: 64px;
    padding-bottom: 124px;
}

@media (min-width: 768px) {
    .sp-only {
        display: none !important;
    };
}

/* スマートフォン対応 */
@media (max-width: 768px) {
    :root {
        --font-size: 12px;
        --content-width: 100%;
    }

    .sp-only {
        display: block;
    }

    .pc-only {
        display: none !important;
    }

    #content {
        padding: 0;
    }

    header h1 {
        font-size: 20px;
        margin-bottom: 16px;
    }

    header nav ul {
        gap: 20px;
        flex-wrap: wrap;
    }

    header nav a {
        padding: 6px 12px;
        font-size: 14px;
    }

    footer * {
        line-height: 1.8;
    }
}

/* タブレット対応 */
@media (max-width: 1024px) and (min-width: 769px) {
    :root {
        --font-size: 14px;
    }

    #content {
        width: 100%;
        padding: 32px 20px 64px 20px;
    }
}

