/*
Theme Name: Build-C Theme
Author: Build-C
Version: 1.0
*/

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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #14141f;
    --bg-card: rgba(20, 20, 30, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
    --neon-cyan: #00d9ff;
    --neon-pink: #ff006e;
    --neon-purple: #c77dff;
    --neon-green: #00ff88;
    --neon-orange: #ff6b35;
}

body {
    font-family: "Noto Sans JP", sans-serif;
    letter-spacing: 0.08em;
    background: #0a0a0f;
    color: var(--text-primary);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: "Cormorant Garamond", "Times New Roman", serif;
}

.hero-subtitle,
.hero-description,
.section-subtitle {
    font-family: "Libre Baskerville", "Times New Roman", serif;
}

/* Office background image */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/Office-image.JPG');
    background-size: cover;
    background-position: center;
    opacity: var(--bg-img-opacity, 0.60);
    pointer-events: none;
    z-index: 0;
}

/* Dot pattern overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(0, 217, 255, 0.25) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: dotDrift 20s linear infinite;
    opacity: var(--bg-dot-opacity, 1);
    pointer-events: none;
    z-index: 1;
}

@keyframes dotDrift {
    0%   { background-position: 0 0; }
    100% { background-position: 30px 30px; }
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    font-family: 'JetBrains Mono', monospace;
}

nav a::before {
    content: '> ';
    color: var(--neon-cyan);
}

nav a:hover {
    color: var(--neon-cyan);
}

.cta-button {
    padding: 0.7rem 1.8rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.4);
    font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Sans', 'ヒラギノ角ゴシック', sans-serif;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.6);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
    z-index: 1;
}

.hero-icon {
    width: 140px;
    height: 140px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 60px rgba(0, 217, 255, 0.5);
    overflow: hidden;
    animation: float 6s ease-in-out infinite;
}

.hero-icon img {
    width: 80%;
    height: 80%;
    object-fit: contain;
}

.hero-command {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    color: var(--neon-cyan);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero h1 {
    font-size: 6rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 300;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.9s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

.hero-button {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Sans', 'ヒラギノ角ゴシック', sans-serif;
}

.hero-button.primary {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    color: white;
    border: none;
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.4);
}

.hero-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 217, 255, 0.6);
}

.hero-button.secondary {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
}

.hero-button.secondary:hover {
    background: rgba(0, 217, 255, 0.1);
}

/* Terminal */
.terminal {
    max-width: 700px;
    margin: 3rem auto 0;
    background: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    animation: fadeInUp 1s ease-out 1.3s forwards;
}

.terminal-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot:nth-child(1) { background: #ff5f56; }
.terminal-dot:nth-child(2) { background: #ffbd2e; }
.terminal-dot:nth-child(3) { background: #27c93f; }

.terminal-title {
    flex: 1;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.terminal-content {
    font-size: 0.95rem;
    line-height: 1.8;
}

.terminal-content .command {
    color: var(--text-secondary);
}

.terminal-content .output {
    color: var(--neon-green);
    margin-left: 1rem;
}

.terminal-content .output-alt {
    color: var(--neon-pink);
    margin-left: 1rem;
}

/* Section */
section {
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-command {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--neon-cyan);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.section-title .gradient-text {
    color: var(--neon-cyan);
    background: none;
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    background-clip: initial;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 4rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.about-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
}

.about-card.large {
    grid-column: span 2;
}

.about-card h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-card h4 {
    font-size: 1.3rem;
    color: var(--neon-cyan);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.about-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-card .border-left {
    border-left: 3px solid var(--neon-cyan);
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--neon-cyan), transparent);
    opacity: 0.1;
    border-radius: 0 20px 0 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-icon.cyan {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(0, 217, 255, 0.05));
    border: 2px solid var(--neon-cyan);
    color: var(--neon-cyan);
}

.feature-icon.pink {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(255, 0, 110, 0.05));
    border: 2px solid var(--neon-pink);
    color: var(--neon-pink);
}

.feature-icon.green {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.05));
    border: 2px solid var(--neon-green);
    color: var(--neon-green);
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Concept Section */
.concept-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.concept-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    transition: all 0.4s ease;
    position: relative;
}

.concept-card .count {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.concept-card:hover {
    transform: translateY(-8px);
}

.concept-card.cyan:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
}

.concept-card.pink:hover {
    border-color: var(--neon-pink);
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.2);
}

.concept-card.green:hover {
    border-color: var(--neon-green);
    box-shadow: 0 20px 60px rgba(0, 255, 136, 0.2);
}

.concept-card.orange:hover {
    border-color: var(--neon-orange);
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.2);
}

.concept-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.concept-icon.cyan {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(0, 217, 255, 0.05));
    border: 2px solid var(--neon-cyan);
}

.concept-icon.pink {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(255, 0, 110, 0.05));
    border: 2px solid var(--neon-pink);
}

.concept-icon.green {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.05));
    border: 2px solid var(--neon-green);
}

.concept-icon.orange {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.05));
    border: 2px solid var(--neon-orange);
}

.concept-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.concept-card .subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.concept-card p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-family: 'JetBrains Mono', monospace;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* Third Player CTA */
.third-player {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    margin-bottom: 4rem;
}

.third-player .command {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--neon-cyan);
    margin-bottom: 2rem;
}

.third-player h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Social Card */
.social-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
    flex: 1;
    padding: 0.6rem 0;
}

.social-icon {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.social-icon i,
.social-icon .material-symbols-outlined {
    font-size: 1.6rem;
}

.social-link-name {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.social-link-handle {
    font-size: 0.9rem;
    color: var(--neon-cyan);
    font-family: 'JetBrains Mono', monospace;
}

/* YouTube Card */
.yt-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    grid-column: span 2;
}

.yt-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.yt-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.yt-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

/* Cafe Section */
.cafe-section {
    text-align: center;
    padding: 6rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cafe-logo {
    max-width: 640px;
    width: 100%;
    height: auto;
    margin-bottom: 1.5rem;
}

.cafe-tagline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
}

.cafe-coming-soon {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    color: var(--neon-cyan);
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

/* Four-C Section */
.four-c-heading {
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    text-align: center;
}

.four-c-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.c-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.c-card--cyan   { border: 1px solid rgba(0, 217, 255, 0.2); }
.c-card--pink   { border: 1px solid rgba(255, 0, 110, 0.2); }
.c-card--green  { border: 1px solid rgba(0, 255, 136, 0.2); }
.c-card--orange { border: 1px solid rgba(255, 107, 53, 0.2); }

.c-card-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.c-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

.c-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.c-card-title {
    font-size: 1.2rem;
    margin: 0;
}

.c-card-title-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.c-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Footer */
.site-footer {
    background: rgba(10, 10, 15, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 3rem 2rem;
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    overflow: hidden;
}

.footer-logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-logo-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-logo-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-family: 'JetBrains Mono', monospace;
}

.footer-nav {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Sans', 'ヒラギノ角ゴシック', sans-serif;
}

.footer-nav a::before {
    content: none;
}

.footer-nav a:hover {
    color: var(--neon-cyan);
}

.footer-copyright {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.footer-status {
    max-width: 1400px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--neon-cyan);
    text-align: center;
}

.status-online { color: var(--neon-green); }
.status-uptime { color: var(--text-secondary); }

.contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: all 0.4s ease;
    text-decoration: none;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-cyan);
    box-shadow: 0 20px 60px rgba(0, 217, 255, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-icon i,
.contact-icon .material-symbols-outlined {
    font-size: 2rem;
    color: white;
}

.contact-icon.email {
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.4);
}

.contact-icon.instagram {
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    box-shadow: 0 10px 30px rgba(131, 58, 180, 0.4);
}

.contact-icon.facebook {
    background: linear-gradient(135deg, #1877f2, #0c5fcc);
    box-shadow: 0 10px 30px rgba(24, 119, 242, 0.4);
}

.contact-icon.youtube {
    background: linear-gradient(135deg, #ff0000, #cc0000);
    box-shadow: 0 10px 30px rgba(255, 0, 0, 0.4);
}

.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.contact-info p {
    font-size: 1.05rem;
    color: var(--neon-cyan);
    font-family: 'JetBrains Mono', monospace;
}

.contact-info .subtitle {
    color: var(--text-secondary);
    font-family: 'Yu Gothic', 'YuGothic', 'Hiragino Sans', 'ヒラギノ角ゴシック', sans-serif;
}

/* Social link hover */
.social-link:hover {
    opacity: 0.75;
}

/* Company Info */
.company-info {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 4rem;
}

.company-map {
    margin-top: 2.5rem;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 217, 255, 0.2);
}

.company-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
}

.company-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--neon-cyan);
    margin-bottom: 0.5rem;
}

.company-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Final Terminal */
.final-terminal {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 12px;
    padding: 2rem;
    font-family: 'JetBrains Mono', monospace;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.final-terminal .terminal-header {
    margin-bottom: 1.5rem;
}

.final-terminal .terminal-content {
    font-size: 1rem;
    line-height: 2;
}

/* Footer */
footer a:hover {
    color: var(--neon-cyan);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ====================================
   Responsive Design (Desktop-First)
   ==================================== */

/* デスクトップ (〜1200px) */
@media (max-width: 1200px) {
    section {
        padding: 6rem 2.5rem;
    }

    .cafe-section {
        padding: 6rem 2.5rem;
    }

    .hero h1 {
        font-size: 5.5rem;
    }

    .four-c-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* タブレット横 (〜992px) */
@media (max-width: 992px) {
    section {
        padding: 5rem 2rem;
    }

    .cafe-section {
        padding: 5rem 2rem;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .section-title {
        font-size: 3.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .yt-card {
        grid-column: span 1;
    }

    .company-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* タブレット縦 (〜768px) */
@media (max-width: 768px) {
    header {
        padding: 1.2rem 2rem;
    }

    .hero {
        padding: 7rem 1.5rem 3rem;
    }

    .hero-icon {
        width: 100px;
        height: 100px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .cafe-section {
        padding: 4rem 1.5rem;
    }

    .section-title {
        font-size: 3rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-card.large {
        grid-column: span 1;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .concept-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .four-c-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-nav {
        flex-direction: column;
        gap: 1rem;
    }
}

/* スマホ (〜576px) */
@media (max-width: 576px) {
    header {
        padding: 1rem 1.5rem;
    }

    nav {
        display: none;
    }

    .hero {
        padding: 6rem 1.5rem 3rem;
    }

    .hero-icon {
        width: 90px;
        height: 90px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-button {
        width: 100%;
    }

    .terminal {
        padding: 1rem;
        font-size: 0.85rem;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .cafe-section {
        padding: 3rem 1.5rem;
    }

    .cafe-logo {
        max-width: 100%;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .about-card,
    .feature-card,
    .concept-card,
    .contact-card,
    .stat-card {
        padding: 1.5rem;
    }

    .feature-icon,
    .concept-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .concept-card h3 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .third-player {
        padding: 2.5rem 1.5rem;
    }

    .third-player h2 {
        font-size: 2rem;
    }

    .company-info {
        padding: 1.5rem;
    }

    .final-terminal {
        padding: 1.5rem;
        font-size: 0.85rem;
    }

    .contact-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .site-footer {
        padding: 2rem 1.5rem 1.5rem;
    }
}

/* ==== Smash Balloon YouTube Feed Fix ==== */

#sb_youtube {
  width: 100%;
}

#sb_youtube iframe {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 16 / 9;
}

.sbyoutube {
  max-width: 100%;
}

#sb_youtube .sby_item {
  width: 100% !important;
}

/* サムネイル画像を元の比率で表示 */
#sb_youtube .sby_video_thumbnail img,
.sbyoutube .sby_video_thumbnail img {
  width: auto !important;
  height: auto;
}

/* 動画一覧をグリッド表示 */
#sb_youtube .sby_items,
.sbyoutube .sby_items {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
  gap: 1.25rem !important;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  #sb_youtube .sby_items,
  .sbyoutube .sby_items {
    grid-template-columns: 1fr !important;
  }
}
