@charset "UTF-8";

/* -----------------------------------
   Modern Base CSS (2025)
----------------------------------- */

/* 1. Reset + Box sizing */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* 2. Base HTML setup */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    color-scheme: light dark;
}

body {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        "Helvetica Neue",
        Arial,
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        Meiryo,
        sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* 3. Variables (テーマカラーなど) */
:root {
    --color-bg: #222222;
    --color-text: #111111;
    --color-accent: #0078ff;
    --max-width: 960px;
    --spacing: 1.5rem;
}

/* 4. Layout */
main {
    flex: 1;
    width: min(100% - 2rem, var(--max-width));
    margin-inline: auto;
    padding-block: var(--spacing);
}

.site-header,
.site-footer {
    background-color: var(--color-accent);
    color: #fff;
    padding: 1rem;
}

.site-header h1 {
    font-size: 1.5rem;
}

.site-header nav ul {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.site-header nav a {
    color: #2A2A2A;
    text-decoration: none;
    font-weight: 500;
}

.site-header nav a:hover {
    text-decoration: underline;
}

/* 5. Utility classes */
.hidden {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* 6. Responsive tweak */
@media (max-width: 600px) {
    .site-header nav ul {
        flex-direction: column;
        gap: 0.5rem;
  }
}
/*--------------------------------------------------------------------------------------------------------------------------------------------------------------teaser----------------*/

.teaser img {
    height: 90vh;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    box-shadow: 0 0 20px gray;
}
@media (max-width: 600px) {
    .teaser img {
        width: 90vw;
        height: auto;
    }
}
