/* style.css */
:root {
    --primary-color: #0056b3;
    --primary-light: #007bff;
    --text-color: #333333;
    --bg-color: #f8f9fa;
    --white: #ffffff;
    --youtube-red: #ff0000;
}

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

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

header h1 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: bold;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--primary-light);
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    text-align: center;
    padding: 8rem 2rem;
}

#hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

#hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Sections General */
section {
    padding: 5rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2rem;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--primary-light);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* About Table */
.table-container {
    max-width: 700px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 1.5rem;
    border-bottom: 1px solid #eeeeee;
}

th {
    background-color: var(--primary-color);
    color: var(--white);
    width: 30%;
    text-align: left;
    font-weight: normal;
}

td a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

td a:hover {
    text-decoration: underline;
}

/* Services Cards */
.service-cards {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

/* Links Section */
#links {
    text-align: center;
    background-color: #e9ecef;
    border-radius: 12px;
    margin-bottom: 4rem;
}

.yt-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background-color: var(--youtube-red);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.yt-button:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul {
        gap: 1rem;
    }
    #hero {
        padding: 5rem 1rem;
    }
    #hero h2 {
        font-size: 2rem;
    }
    th, td {
        display: block;
        width: 100%;
    }
    th {
        text-align: center;
    }
    td {
        text-align: center;
        border-bottom: 2px solid var(--bg-color);
    }
}
