@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&family=Noto+Sans+JP:wght@300;400;700&display=swap');

:root {
    --bg-main: #0f0f12;
    --bg-card: #18181f;
    --bg-accent: #23232c;
    --color-primary: #e2e2e9;
    --color-secondary: #9494a8;
    --accent-cyan: #00c8ff;
    --accent-blue: #007aff;
    --accent-red: #ff3b30;
    --accent-green: #34c759;
    --border-color: #2c2c35;
    --font-family: 'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

body {
    background-color: var(--bg-main);
    color: var(--color-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

header {
    background: linear-gradient(135deg, #181822 0%, #0c0c10 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 3rem 1.5rem;
    text-align: center;
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
}

.lang-switch {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.lang-btn {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.lang-btn:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 200, 255, 0.2);
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(90deg, #ffffff, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: var(--color-secondary);
    font-size: 1.1rem;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* ヒーローセクション */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.hero-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-cyan);
    border-radius: 2px;
}

.hero-text p {
    color: var(--color-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.hero-image {
    background-color: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
    transition: transform 0.5s ease;
}

.hero-image:hover img {
    transform: scale(1.02);
}

/* クイックナビゲーション */
.quick-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.nav-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.nav-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 8px 20px rgba(0, 200, 255, 0.15);
}

/* セクション設定 */
section {
    margin-bottom: 5rem;
}

section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    border-left: 4px solid var(--accent-cyan);
    padding-left: 1rem;
}

/* ウィンドウ領域グリッド */
.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.area-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.area-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: #3b3b4a;
}

.area-card:hover::before {
    opacity: 1;
}

.area-icon {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.area-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.area-card p {
    color: var(--color-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.area-details {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.area-details h4 {
    font-size: 0.9rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.area-details ul {
    list-style-type: none;
}

.area-details li {
    font-size: 0.9rem;
    color: var(--color-secondary);
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.4rem;
}

.area-details li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
}

/* メニューセクション */
.menu-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.menu-tabs {
    display: flex;
    background-color: #121217;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.tab-btn {
    background: none;
    border: none;
    color: var(--color-secondary);
    padding: 1.2rem 2rem;
    font-family: var(--font-family);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.02);
}

.tab-btn.active {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
    background-color: rgba(0, 200, 255, 0.03);
}

.menu-content {
    padding: 2.5rem;
    display: none;
}

.menu-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.menu-items-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.menu-item-row {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.menu-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

@media (max-width: 768px) {
    .menu-item-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

.menu-item-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-cyan);
    display: flex;
    flex-direction: column;
}

.menu-item-shortcut {
    font-size: 0.8rem;
    color: var(--color-secondary);
    font-weight: 400;
    margin-top: 0.25rem;
}

.menu-item-desc {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.desc-block h5 {
    font-size: 0.85rem;
    color: var(--color-secondary);
    font-weight: 700;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.desc-block p {
    color: var(--color-primary);
    font-size: 0.95rem;
}

/* バッジ */
.badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 0.5rem;
}

.badge-info {
    background-color: rgba(0, 122, 254, 0.15);
    color: #0a84ff;
    border: 1px solid rgba(0, 122, 254, 0.3);
}

.badge-warning {
    background-color: rgba(255, 159, 10, 0.15);
    color: #ff9f0a;
    border: 1px solid rgba(255, 159, 10, 0.3);
}

.badge-success {
    background-color: rgba(48, 209, 88, 0.15);
    color: #30d158;
    border: 1px solid rgba(48, 209, 88, 0.3);
}

/* フッター */
footer {
    background-color: #08080a;
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--color-secondary);
    font-size: 0.9rem;
}

footer p {
    margin-bottom: 0.5rem;
}

.footer-links {
    margin-top: 1rem;
}

.footer-links a {
    color: var(--color-secondary);
    text-decoration: none;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

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

/* 一般的な文章を表示するための情報ブロック */
.info-block {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2.5rem;
    margin-bottom: 4rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    overflow: hidden;
}

.info-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
}

.info-block p {
    color: var(--color-primary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
}

.info-block p:last-child {
    margin-bottom: 0;
}

.info-block ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.info-block ol li {
    color: var(--color-primary);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0.8rem;
}

.info-block ol li::marker {
    color: var(--accent-cyan);
    font-weight: 700;
}

.info-block .info-note {
    font-size: 0.9rem;
    color: var(--color-secondary);
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
}