@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Noto+Sans+JP:wght@400;500;700&family=Rajdhani:wght@500;600;700&display=swap');

:root {
    --bg-base: #070913;
    --bg-panel: #111526;
    --bg-panel-hover: #1a213a;
    --text-main: #f8fafc;
    --text-sub: #94a3b8;
    --border-color: #1e293b;
    --primary-color: #00f3ff;
    --primary-hover: #5cffff;
    --accent-purple: #b026ff;
    --accent-pink: #ff007f;
    --accent-neon-red: #ff003c;
    --font-base: 'Noto Sans JP', sans-serif;
    --font-title: 'Bebas Neue', sans-serif;
    --font-cyber: 'Rajdhani', 'Noto Sans JP', sans-serif;
}

html, body {
    font-family: var(--font-base);
    background-color: var(--bg-base);
    color: var(--text-main);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-main);
    font-family: var(--font-title);
    font-weight: 400;
    letter-spacing: 2px;
}

    h1:focus {
        outline: none;
    }

a, .btn-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

    a:hover, .btn-link:hover {
        color: var(--accent-neon-red);
        text-shadow: 0 0 8px rgba(255, 0, 60, 0.6);
    }

/* ボタン類 */
.btn {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 4px;
    font-family: var(--font-title);
    font-weight: 400;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.btn-primary {
    color: #070913;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.4);
}

    .btn-primary:hover {
        background-color: var(--primary-hover);
        border-color: var(--primary-hover);
        transform: translateY(-2px);
        box-shadow: 0 0 20px rgba(0, 243, 255, 0.8);
        color: #070913;
    }

.btn-outline-secondary {
    color: var(--text-main);
    border-color: var(--border-color);
    background-color: transparent;
}

    .btn-outline-secondary:hover {
        background-color: rgba(255, 0, 60, 0.05);
        border-color: var(--accent-neon-red);
        color: var(--accent-neon-red);
        box-shadow: 0 0 15px rgba(255, 0, 60, 0.4);
    }

/* フォーム類 */
.form-control, .form-select {
    background-color: var(--bg-panel);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: var(--font-base);
}

    .form-control:focus, .form-select:focus {
        background-color: var(--bg-panel);
        color: var(--text-main);
        border-color: var(--accent-neon-red);
        box-shadow: 0 0 15px rgba(255, 0, 60, 0.25);
        outline: none;
    }

    .form-control::placeholder {
        color: var(--text-sub);
    }

/* ローディング */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    width: 100%;
}

.neon-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(0, 243, 255, 0.05);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
    margin-bottom: 1.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 4px;
    font-family: var(--font-title);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(0, 243, 255, 0.6);
    }

    50% {
        opacity: 0.5;
        text-shadow: 0 0 2px rgba(0, 243, 255, 0.2);
    }
}

/* コラムカードスタイル (Home / Column 共通) */
.column-card {
    display: flex;
    flex-direction: column;
    background-color: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.column-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: 50% 50%;
    flex-shrink: 0;
    border-bottom: 1px solid var(--border-color);
    margin: 0;
}

.column-no-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-sub);
    font-weight: bold;
    letter-spacing: 2px;
}

.column-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.column-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.75rem;
}

.column-date {
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    font-family: var(--font-cyber);
    line-height: 1;
    margin: 0;
}

.column-title-wrapper {
    margin: 0 0 auto 0;
    line-height: 1.6;
}

.column-title {
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-base);
    letter-spacing: 0.05em;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.column-card:hover .column-title {
    color: var(--accent-neon-red);
    text-shadow: 0 0 8px rgba(255, 0, 60, 0.4);
}

/* レイアウト崩れを隠す処理 */
.page-container, .hero-section, .home-column-section {
    animation: fadeMask 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeMask {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
/* トップナビゲーションのロゴ・アイコン設定 */
.brand-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(3px);
}

    .brand-logo-link:hover {
        transform: translateY(4px);
        text-shadow: 0 0 10px rgba(0, 243, 255, 0.6);
    }

/* アイコン画像のサイズと調整 */
.brand-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

/* ロゴテキストの設定 */
.brand-text {
    font-family: var(--font-title);
    font-size: 35px;
    font-weight: 400;
    color: var(--text-main);
    letter-spacing: 2px;
    line-height: 1;
    margin: 0;
    transform: translateY(1px);
}

