:root {
    --bg: #f5fbff;
    --bg-deep: #e4f3fb;
    --line: rgba(30, 115, 181, 0.14);
    --text: #143c76;
    --muted: #5e7aa3;
    --accent: #56caef;
    --accent-strong: #1f82cc;
    --shadow: 0 16px 40px rgba(66, 125, 177, 0.1);
    --radius-lg: 18px;
    --radius-md: 12px;
    --content-width: min(900px, calc(100vw - 32px));
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Noto Sans JP", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.34) 40%, transparent 62%),
        radial-gradient(circle at 12% 8%, rgba(168, 235, 249, 0.55), transparent 24%),
        radial-gradient(circle at 88% 14%, rgba(86, 202, 239, 0.22), transparent 20%),
        linear-gradient(180deg, var(--bg) 0%, #e8f7ff 38%, #d8edf9 100%);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.page {
    width: var(--content-width);
    margin: 0 auto;
    padding: 24px 0 40px;
}

.hero,
.section,
.site-footer {
    width: 100%;
}

.hero {
    padding: 28px;
    margin-top: 16px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: var(--shadow);
}

.hero-brand {
    display: flex;
    align-items: center;
    gap: 18px;
}

.hero h1,
.section-head h2,
.project-card h3,
.simple-item span,
.brand-label {
    font-family: "Oxanium", sans-serif;
}

.hero-brand img {
    width: 88px;
    height: 88px;
    flex: 0 0 auto;
}

.brand-label {
    margin: 0 0 6px;
    font-size: 0.95rem;
    color: var(--accent-strong);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.project-card,
.simple-item,
.link-list a {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(242, 250, 255, 0.82));
    box-shadow: var(--shadow);
}

.hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.02;
    color: #14376a;
}

.hero-text,
.hero-note,
.section-head p,
.project-card p,
.simple-item p {
    color: var(--muted);
    line-height: 1.8;
}

.hero-text {
    max-width: 60ch;
    margin: 18px 0 0;
    font-size: 1rem;
}

.hero-note {
    margin: 10px 0 0;
    font-size: 0.95rem;
}

.card-tag,
.project-link {
    display: inline-block;
    color: var(--accent-strong);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section {
    padding: 22px 0 0;
}

.section-head h2 {
    margin: 0;
    font-size: 1.8rem;
}

.section-head p {
    margin: 8px 0 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.project-card h3,
.simple-item span {
    margin: 0 0 8px;
    font-size: 1rem;
}

.project-card {
    padding: 20px;
    border-radius: var(--radius-lg);
}

.project-icon {
    width: 96px;
    height: 96px;
    border-radius: 20px;
    margin-bottom: 12px;
    object-fit: cover;
    box-shadow: 0 10px 22px rgba(31, 130, 204, 0.22);
}

.project-card h3 {
    margin: 10px 0 8px;
    font-size: 1.3rem;
}

.project-card p {
    margin: 0;
}

.project-meta {
    margin-top: 14px;
    color: var(--muted);
    font-size: 0.95rem;
}

.project-link {
    margin-top: 14px;
}

.project-link-muted {
    opacity: 0.7;
    cursor: default;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.simple-list,
.link-list {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.simple-item,
.link-list a {
    padding: 16px 18px;
    border-radius: var(--radius-md);
}

.simple-item p {
    margin: 0;
}

.link-list a:hover,
.link-list a:focus-visible,
.project-link:hover,
.project-link:focus-visible {
    border-color: rgba(31, 130, 204, 0.32);
    background: rgba(168, 235, 249, 0.34);
}

.site-footer {
    padding: 28px 0 8px;
    color: var(--muted);
    text-align: center;
}

@media (max-width: 960px) {
    .project-grid,
    .two-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .project-card,
    .hero,
    .simple-item,
    .link-list a {
        padding: 18px;
    }

    .hero-brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .hero-brand img {
        width: 72px;
        height: 72px;
    }
}
