:root {
    /* Gyokuro Style: Dark Minimalist */
    --bg: #050505;
    --text: #ffffff;
    --text-muted: #888888;
    --line: #333333;
    --accent: #ffffff;
    /* White accent */

    /* Typography */
    --font-sans: 'Noto Sans JP', "Helvetica Neue", Arial, sans-serif;
    --font-serif: 'Noto Serif JP', serif;
}

/* CSS Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 2.0;
    /* Generous line height */
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
    filter: grayscale(20%);
    /* Slight desaturation */
    transition: filter 0.5s ease;
}

img:hover {
    filter: grayscale(0%);
}

a {
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Layout */
.wrap {
    width: min(1400px, 92vw);
    /* Wider layout */
    margin: 0 auto;
    padding: 0 20px;
}

main {
    padding: 160px 0 140px;
}

main>.wrap,
.content-section .wrap {
    width: min(1080px, 90vw);
}

main>.wrap {
    margin-bottom: 80px;
}

.content-section {
    scroll-margin-top: 120px;
}

.content-section+.content-section {
    margin-top: 120px;
}

.content-section .wrap {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.section-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.section-title {
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin: 0;
}

.section-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
    max-width: 520px;
}

.cards-grid {
    align-items: stretch;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 48px;
    margin-bottom: 0;
}

/* Header */
header.site {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 30px 0;
    background: linear-gradient(to bottom, rgba(5, 5, 5, 0.8), transparent);
    backdrop-filter: blur(2px);
}

.site-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-family: var(--font-sans);
    font-weight: 300;
    /* Thin */
    font-size: 18px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand::before {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

nav ul {
    display: flex;
    gap: 40px;
    list-style: none;
    padding: 0;
    margin: 0;
}

nav>ul>li>a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
}

/* Submenu - Minimalist */
.has-sub {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg);
    border: 1px solid var(--line);
    padding: 20px;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.has-sub:hover .submenu {
    opacity: 1;
    visibility: visible;
    margin-top: 10px;
}

.submenu h4 {
    font-size: 10px;
    color: var(--text-muted);
    margin: 0 0 15px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border-bottom: 1px solid var(--line);
    padding-bottom: 5px;
}

.submenu a {
    display: block;
    padding: 8px 0;
    font-size: 13px;
    color: var(--text);
}

:root {
    /* Gyokuro Style: Dark Minimalist */
    --bg: #050505;
    --text: #ffffff;
    --text-muted: #888888;
    --line: #333333;
    --accent: #ffffff;
    /* White accent */

    /* Typography */
    --font-sans: 'Noto Sans JP', "Helvetica Neue", Arial, sans-serif;
    --font-serif: 'Noto Serif JP', serif;
}

/* CSS Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    line-height: 2.0;
    /* Generous line height */
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
    filter: grayscale(20%);
    /* Slight desaturation */
    transition: filter 0.5s ease;
}

img:hover {
    filter: grayscale(0%);
}

a {
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.card-img {
    height: auto;
    overflow: hidden;
    margin-bottom: 0;
    position: relative;
    aspect-ratio: 16 / 10;
}

.card-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.card:hover .card-img::after {
    background: rgba(0, 0, 0, 0);
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.card {
    background: rgba(17, 17, 17, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.45);
}

.card-tag {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 600;
}

.card h3 {
    font-size: 22px;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.06em;
}

.card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.72);
    margin: 0;
    line-height: 1.9;
}

.card-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.link-item {
    font-size: 13px;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 2px;
    width: fit-content;
}

.link-item:hover {
    border-color: var(--text);
}

@media (min-width: 900px) {
    .section-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }

    .section-desc {
        text-align: right;
    }
}

/* Footer */
footer {
    border-top: 1px solid var(--line);
    padding: 100px 0 50px;
    margin-top: 100px;
}

.foot-col h5 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
}

.foot-col ul {
    list-style: none;
    padding: 0;
}

.foot-col li {
    margin-bottom: 16px;
}

.foot-col a {
    font-size: 13px;
    color: var(--text-muted);
}

.foot-col a:hover {
    color: var(--text);
}

.foot-bottom {
    margin-top: 80px;
    text-align: left;
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

/* Article Styles */
.article-header {
    padding: 150px 0 80px;
    text-align: center;
}

.article-tag {
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 24px;
}

.article-title {
    font-size: 48px;
    font-weight: 100;
    margin: 0 0 40px;
    line-height: 1.3;
}

.article-lead {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.article-body {
    max-width: 700px;
    margin: 0 auto 150px;
}

.article-body h2 {
    font-size: 24px;
    font-weight: 300;
    margin: 80px 0 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}

.article-body h3 {
    font-size: 18px;
    font-weight: 400;
    margin: 60px 0 20px;
}

.info-box {
    border: 1px solid var(--line);
    padding: 40px;
    margin: 60px 0;
}

.info-box h4 {
    margin-top: 0;
    font-weight: 400;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .site-row {
        flex-direction: column;
        align-items: center;
        /* Center align header items */
        gap: 20px;
    }

    nav ul {
        flex-wrap: wrap;
        gap: 15px;
        /* Reduced gap */
        justify-content: center;
    }

    .hero {
        min-height: 80vh;
        /* Slightly smaller on mobile */
        padding-top: 120px;
        /* Account for fixed header */
    }

    .hero-title {
        font-size: 40px;
        /* Fixed size for mobile consistency */
        margin-bottom: 24px;
    }

    .hero-sub {
        font-size: 13px;
        padding: 0 20px;
        margin-bottom: 40px;
    }

    main {
        padding: 140px 0 100px;
    }

    main>.wrap,
    .content-section .wrap {
        width: 100%;
    }

    .content-section+.content-section {
        margin-top: 80px;
    }

    .content-section .wrap {
        gap: 40px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .section-desc {
        text-align: left;
        max-width: 100%;
    }

    .grid {
        gap: 32px;
        /* Reduced gap */
    }

    .card-img {
        height: 200px;
        /* Smaller images */
    }

    .notice-content {
        padding: 24px;
    }

    .article-title {
        font-size: 32px;
    }

    .wrap {
        width: 100%;
        padding: 0 20px;
    }
}

/* Notice Bar */
.notice-content {
    margin-top: 0;
    background: rgba(17, 17, 17, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 28px 32px;
    text-align: left;
    border-radius: 12px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.4);
}

.notice-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    margin: 0;
    letter-spacing: 0.12em;
}

.notice-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.68);
    margin: 0;
    line-height: 1.8;
}