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

:root {
    --bg: #f2f8f3;
    --surface: #fcfffd;
    --ink: #2d3b33;
    --muted: #6d7d73;
    --line: #d6e6dc;
    --mint: #9fd4b0;
    --mint-deep: #6fa584;
    --sky: #b7dced;
    --soft-shadow: 0 10px 24px rgba(88, 128, 108, 0.14);
    --radius: 16px;
    --radius-sm: 12px;
    --font-heading: "Kosugi Maru", sans-serif;
    --font-body: "Noto Sans JP", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(circle at 12% -8%, rgba(159, 212, 176, 0.34), transparent 34%),
        radial-gradient(circle at 88% 4%, rgba(183, 220, 237, 0.26), transparent 32%),
        linear-gradient(180deg, #f5fbf6 0%, #eef6f0 100%);
    line-height: 1.7;
}

.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(245, 251, 246, 0.88);
    border-bottom: 1px solid rgba(111, 165, 132, 0.2);
    backdrop-filter: blur(10px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 0.06em;
    color: #3f6650;
}

.logo::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 1px;
    margin-left: 10px;
    background: linear-gradient(90deg, var(--mint-deep), transparent);
    vertical-align: middle;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--muted);
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--mint-deep);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: #3f6650;
}

/* Hero */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 88px;
    position: relative;
}

.hero-content {
    max-width: 760px;
    padding: 40px 36px;
    background: rgba(252, 255, 253, 0.78);
    border: 1px solid rgba(111, 165, 132, 0.22);
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
}

.hero-eyebrow {
    color: var(--muted);
    font-size: 0.84rem;
    margin-bottom: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.mono-tag {
    font-size: 0.72rem;
    color: var(--mint-deep);
    border: 1px solid rgba(111, 165, 132, 0.3);
    background: rgba(159, 212, 176, 0.2);
    border-radius: 999px;
    padding: 4px 10px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.1rem, 5vw, 3.25rem);
    line-height: 1.2;
    color: #395646;
    margin-bottom: 16px;
}

.hero-subtitle {
    color: var(--muted);
    margin-bottom: 28px;
}

.btn {
    display: inline-block;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, #8cc7a2, #6fa584);
    color: #f7fffb;
    padding: 12px 22px;
    border-color: rgba(71, 117, 89, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(71, 117, 89, 0.24);
}

/* Sections */
section {
    padding: 86px 0;
}

.section-header {
    margin-bottom: 36px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #446a55;
    margin-bottom: 10px;
}

.section-intro {
    color: var(--muted);
    max-width: 720px;
}

.games-section {
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(252, 255, 253, 0.72);
}

.games-grid {
    display: grid;
    gap: 20px;
}

.game-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--soft-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(32, 32, 36, 0.14);
}

.game-card:nth-child(even) .game-image {
    order: 2;
}

.game-image {
    border-radius: var(--radius-sm);
    border: 1px solid rgba(111, 165, 132, 0.3);
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.game-placeholder {
    width: 100%;
    height: 100%;
}

.game-1 {
    background: linear-gradient(140deg, #dff4e6 0%, #a5d5b5 100%);
}

.game-2 {
    background: linear-gradient(140deg, #e3f2f6 0%, #b7dced 100%);
}

.game-3 {
    background: linear-gradient(140deg, #e7f7ee 0%, #9fd4b0 100%);
}

.game-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #3d5d4b;
    margin-bottom: 8px;
}

.game-description {
    color: var(--muted);
}

.about-content {
    max-width: 860px;
}

.about-lead,
.about-description,
.careers-intro {
    color: var(--muted);
}

.about-lead {
    margin-bottom: 12px;
}

.positions-list {
    display: flex;
    flex-direction: column;
}

.position-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    border-top: 1px solid var(--line);
}

.position-item:last-child {
    border-bottom: 1px solid var(--line);
}

.position-item h4 {
    flex: 1;
    font-family: var(--font-heading);
    color: #3d5d4b;
}

.position-meta {
    color: var(--muted);
    font-size: 0.85rem;
}

.position-link {
    color: var(--mint-deep);
    text-decoration: none;
}

.position-link:hover {
    text-decoration: underline;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-info,
.contact-form {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--soft-shadow);
}

.contact-block-title {
    font-family: var(--font-heading);
    color: #446a55;
    margin-bottom: 6px;
    font-size: 1rem;
}

.contact-address,
.contact-info p,
.contact-note,
.form-intro {
    color: var(--muted);
}

.contact-link {
    color: var(--mint-deep);
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 11px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fffdfa;
    font-family: var(--font-body);
    color: var(--ink);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--mint-deep);
    box-shadow: 0 0 0 3px rgba(159, 212, 176, 0.28);
}

.footer {
    padding: 54px 0 24px;
    border-top: 1px solid var(--line);
    background: rgba(252, 255, 253, 0.86);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.footer-logo {
    font-family: var(--font-heading);
    color: #3d5d4b;
    font-size: 1.05rem;
}

.footer-description,
.footer-bottom {
    color: var(--muted);
}

.footer-links {
    list-style: none;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--mint-deep);
}

.newsletter-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.newsletter-form input {
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #fffdfa;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: #f3faf5;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 12px;
        padding: 18px 24px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.2s ease;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-content {
        padding: 30px 24px;
    }

    .game-card,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .game-card:nth-child(even) .game-image {
        order: 0;
    }

    .footer-content {
        flex-direction: column;
    }
}
