* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    background: #000;
    color: #fff;
    font-family: 'Noto Sans JP', 'Instrument Sans', monospace, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    overscroll-behavior: none;
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

a:hover {
    opacity: 0.6;
}

/* Canvas非表示 */
#inkCanvas {
    display: none;
}

header, main, footer {
    position: relative;
    z-index: 1;
}

/* Hero */
.hero-section {
    padding: 80px 0 48px;
}

.hero-nickname {
    font-size: 0.9rem;
    opacity: 0.5;
    margin-bottom: 0.4rem;
    letter-spacing: 0.05em;
}

.hero-name {
    font-family: 'Instrument Sans', sans-serif;
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 1.5rem;
}

.hero-social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.hero-social-texts {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.hero-social-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.hero-social-link:hover {
    opacity: 1;
}

.hero-social-link .icon {
    width: 20px;
    height: 20px;
    filter: invert(1) brightness(2);
}

.hero-social-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 2.5rem 0;
}

.section h2 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.25rem;
    opacity: 0.5;
    min-height: auto;
    border-bottom: none;
    overflow: visible;
}

/* About テーブル */
.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table tr {
    border-bottom: 1px solid #222;
}

.info-table tr:first-child {
    border-top: 1px solid #222;
}

.info-table th {
    text-align: left;
    padding: 0.6rem 1.5rem 0.6rem 0;
    font-size: 0.8rem;
    opacity: 0.45;
    font-weight: normal;
    width: 110px;
    white-space: nowrap;
    vertical-align: top;
}

.info-table td {
    padding: 0.6rem 0;
    font-size: 0.95rem;
}

.info-table td a {
    opacity: 0.7;
}

/* Works リスト */
.works-list {
    list-style: none;
}

.works-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #222;
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1.25rem;
    align-items: start;
}

.works-date {
    font-size: 0.8rem;
    opacity: 0.45;
    white-space: nowrap;
    padding-top: 0.15rem;
}

.works-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.works-title a {
    text-decoration: none;
}

.works-title a:hover {
    text-decoration: underline;
}

.works-desc {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-top: 0.2rem;
    line-height: 1.5;
}

.works-tags {
    font-size: 0.75rem;
    opacity: 0.4;
    margin-top: 0.25rem;
}

/* Apps リスト */
.apps-list {
    list-style: none;
}

.apps-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #222;
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 1.25rem;
    align-items: baseline;
}

.app-name {
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
}

.app-name:hover {
    text-decoration: underline;
}

.app-tech {
    font-size: 0.8rem;
    opacity: 0.45;
}

/* Articles リスト */
.articles-list {
    list-style: none;
}

.articles-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #222;
    display: grid;
    grid-template-columns: 130px 1fr;
    gap: 1.25rem;
    align-items: baseline;
}

.article-date-col {
    font-size: 0.8rem;
    opacity: 0.45;
    white-space: nowrap;
}

.articles-list a {
    font-size: 0.95rem;
    text-decoration: none;
}

.articles-list a:hover {
    text-decoration: underline;
}

.article-likes-col {
    font-size: 0.8rem;
    opacity: 0.4;
    margin-left: 0.5rem;
}


/* Responsive */
@media (max-width: 600px) {
    .hero-section {
        padding: 48px 0 32px;
    }

    .section {
        padding: 2rem 0;
    }

    .works-list li,
    .articles-list li {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }

    .apps-list li {
        grid-template-columns: 1fr;
        gap: 0.1rem;
    }

    .works-date,
    .article-date-col {
        font-size: 0.75rem;
    }

    .info-table th {
        width: 80px;
        font-size: 0.75rem;
        padding-right: 0.75rem;
    }
}
