/* ========== AKASIO Artwork – 共通スタイル ========== */
:root {
    --color-bg: #0f0f12;
    --color-bg-elevated: #1a1a1f;
    --color-bg-card: rgba(26, 26, 31, 0.85);
    --color-accent: #ff6b6b;
    --color-accent-hover: #ff8585;
    --color-accent-muted: rgba(255, 107, 107, 0.15);
    --color-text: #f0f0f0;
    --color-text-muted: #999;
    --color-text-subtle: #666;
    --color-border: rgba(255, 107, 107, 0.12);
    --color-border-hover: rgba(255, 107, 107, 0.35);
    --font-body: 'Noto Sans JP', sans-serif;
    --font-display: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 32px rgba(255, 107, 107, 0.12);
    --max-width: 1200px;
    --header-height: 64px;
    --site-header-offset: var(--header-height);
}

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

html {
    scroll-behavior: smooth;
}

.skip-link {
    position: fixed;
    top: -48px;
    left: 16px;
    z-index: 1000;
    padding: 8px 16px;
    background: var(--color-accent);
    color: #fff;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: top 0.15s ease;
}

.skip-link:focus {
    top: 16px;
    outline: 2px solid #fff;
    outline-offset: 2px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 107, 107, 0.08), transparent),
        linear-gradient(0deg, transparent 24%, rgba(255, 107, 107, 0.03) 25%, rgba(255, 107, 107, 0.03) 26%, transparent 27%, transparent 74%, rgba(255, 107, 107, 0.03) 75%, rgba(255, 107, 107, 0.03) 76%, transparent 77%, transparent),
        linear-gradient(90deg, transparent 24%, rgba(255, 107, 107, 0.03) 25%, rgba(255, 107, 107, 0.03) 26%, transparent 27%, transparent 74%, rgba(255, 107, 107, 0.03) 75%, rgba(255, 107, 107, 0.03) 76%, transparent 77%, transparent);
    background-size: 100% 100%, 60px 60px, 60px 60px;
    line-height: 1.7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

a {
    color: inherit;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== ヘッダー（ナビのみ） ========== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 0;
    background-color: rgba(26, 26, 31, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: opacity 0.2s;
}

.logo:hover {
    opacity: 0.85;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-menu a {
    text-decoration: none;
    color: #ccc;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 8px 14px;
    border-radius: 999px;
    transition: color 0.2s, background 0.2s;
}

.nav-menu a:hover {
    color: var(--color-accent);
    background: var(--color-accent-muted);
}

.nav-menu a.active {
    color: var(--color-accent);
    background: var(--color-accent-muted);
}

/* ========== 言語切替（ヘッダーとは別ブロック） ========== */
.lang-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 10px 24px 4px;
    background: transparent;
}

.lang-switcher {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.03);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
}

.lang-btn:hover {
    color: var(--color-accent);
}

.lang-btn.active {
    color: var(--color-accent);
    background: var(--color-accent-muted);
}

.lang-sep {
    color: var(--color-text-subtle);
    font-size: 0.8125rem;
    user-select: none;
    flex-shrink: 0;
}

html[lang="zh-Hant"] body {
    font-family: 'Noto Sans TC', 'Noto Sans JP', sans-serif;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle span {
    height: 2px;
    width: 100%;
    background-color: var(--color-accent);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ========== ページタイトル ========== */
.page-hero {
    text-align: center;
    padding: 56px 24px 40px;
}

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
}

.page-hero p {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* ========== フッター ========== */
.site-footer {
    background-color: var(--color-bg-elevated);
    color: var(--color-text-subtle);
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
    font-size: 0.8125rem;
    margin-top: auto;
}

.social-links {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.social-links a {
    color: var(--color-text-subtle);
    text-decoration: none;
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--color-accent);
}

/* ========== ボタン ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #ff5252);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 107, 107, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 1px solid var(--color-border-hover);
}

.btn-outline:hover {
    background: var(--color-accent-muted);
    transform: translateY(-2px);
}

/* ========== カード ========== */
.card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

/* ========== ホーム：ヒーロー ========== */
.home-hero {
    text-align: center;
    padding: 64px 24px 48px;
    position: relative;
}

.home-hero-inner {
    max-width: 640px;
    margin: 0 auto;
}

.home-hero-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
    background: var(--color-bg-elevated);
    border: 3px solid var(--color-border-hover);
    box-shadow: 0 0 40px rgba(255, 107, 107, 0.15);
}

.home-hero-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-hero-avatar .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #2a2a32, #1a1a1f);
}

.home-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 2.75rem);
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.home-hero-desc {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.home-hero-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.home-hero-social a {
    text-decoration: none;
    color: #bbb;
    font-size: 0.8125rem;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    transition: all 0.2s;
}

.home-hero-social a:hover {
    color: var(--color-accent);
    border-color: var(--color-border-hover);
    background: var(--color-accent-muted);
}

/* ========== ホーム：EXPLORE リンク一覧 ========== */
.section-grid {
    padding: 16px 24px 64px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-grid-title {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: 24px;
    letter-spacing: 0.1em;
}

.nav-cards {
    display: flex;
    flex-direction: column;
    max-width: 520px;
    margin: 0 auto;
    gap: 0;
}

.nav-card {
    text-decoration: none;
    color: inherit;
    display: block;
    text-align: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
    transition: color 0.2s, border-color 0.2s;
}

.nav-card:first-child {
    border-top: 1px solid var(--color-border);
}

.nav-card h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 6px;
    transition: color 0.2s;
}

.nav-card:hover h2 {
    color: var(--color-accent);
}

.nav-card p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin: 0;
}

.nav-card-arrow {
    display: none;
}

.nav-card:hover {
    border-color: var(--color-border-hover);
}

/* ========== About ========== */
.about-content {
    padding: 0 24px 80px;
    max-width: 720px;
    margin: 0 auto;
}

.about-profile {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 48px;
}

.about-avatar {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-border-hover);
    background: var(--color-bg-elevated);
}

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

.about-avatar .placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.about-info h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 4px;
}

.about-info .handle {
    color: var(--color-accent);
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.about-info p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.about-section {
    margin-bottom: 40px;
}

.about-section h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--color-accent-muted);
}

.about-section p,
.about-section li {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.about-section ul {
    padding-left: 1.25rem;
}

.about-section li {
    margin-bottom: 8px;
}

.about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ========== 画像プレースホルダー ========== */
.img-placeholder {
    background: linear-gradient(135deg, #2a2a32 0%, #1e1e24 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-subtle);
    font-size: 0.75rem;
    text-align: center;
    padding: 8px;
}

/* ========== レスポンシブ ========== */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--site-header-offset);
        flex-direction: column;
        background-color: rgba(26, 26, 31, 0.98);
        backdrop-filter: blur(12px);
        width: 100%;
        padding: 16px 24px 24px;
        gap: 4px;
        border-bottom: 1px solid var(--color-border);
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu a {
        display: block;
        padding: 14px 16px;
        border-radius: var(--radius-sm);
    }

    .about-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .home-hero {
        padding: 48px 20px 32px;
    }

    .page-hero {
        padding: 40px 20px 32px;
    }
}

