:root {
    --primary-color: #4169e1;
    --secondary-color: #e6f3ff;
    --text-color: #333;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    background-color: var(--secondary-color);
    color: var(--text-color);
}

header {
    background-color: var(--primary-color);
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    transform: scaleX(-1);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

header h1,
header nav {
    transform: scaleX(-1);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(65, 105, 225, 0.8), rgba(65, 105, 225, 0.6));
    z-index: 1;
}

header h1,
header nav {
    position: relative;
    z-index: 2;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
}

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

.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.profile-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.profile-image {
    width: 300px;
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

footer {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .profile-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-image {
        width: 200px;
    }
} 