/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333333;
    line-height: 1.7;
    background-color: #fafafa;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.05em;
}

/* Header */
.header {
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-weight: bold;
    font-size: 1.25rem;
    letter-spacing: 0.05em;
}

.nav a {
    margin-left: 20px;
    font-size: 0.95rem;
    text-transform: capitalize;
    transition: color 0.3s;
}

.nav a:hover {
    color: #888888;
}

/* Hero Section */
.hero {
    background-color: #ffffff;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.25rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.1rem;
    color: #666666;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

.btn-primary {
    background-color: #111111;
    color: #ffffff;
    border: 1px solid #111111;
}

.btn-primary:hover {
    background-color: #444444;
}

.btn-secondary {
    background-color: transparent;
    color: #111111;
    border: 1px solid #111111;
}

.btn-secondary:hover {
    background-color: #111111;
    color: #ffffff;
}

/* Works Section */
.works {
    padding: 80px 0;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 15fr));
    gap: 30px;
}

.card {
    background: #ffffff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.card-img {
    width: 100%;
    height: 200px;
}

.card-content {
    padding: 20px;
}

.category {
    font-size: 0.8rem;
    color: #888888;
    display: block;
    margin-bottom: 5px;
}

.card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 0.9rem;
    color: #666666;
}

/* About Section */
.about {
    background-color: #ffffff;
    padding: 80px 0;
}

.about-container {
    max-width: 650px;
}

.about p {
    margin-bottom: 20px;
    color: #444444;
}

.skills-title {
    margin-top: 50px;
    margin-bottom: 25px;
    font-size: 1.5rem;
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.bar {
    width: 100%;
    height: 8px;
    background-color: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background-color: #111111;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.form-container {
    max-width: 600px;
}

.contact-text {
    text-align: center;
    margin-bottom: 30px;
    color: #666666;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #111111;
}

.submit-btn {
    width: 100%;
    border: none;
    margin-top: 10px;
}

/* Footer */
.footer {
    text-align: center;
    padding: 40px 0;
    font-size: 0.85rem;
    color: #888888;
    background-color: #ffffff;
    border-top: 1px solid #eaeaea;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-buttons {
        flex-direction: column;
    }
}