* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;

    background:
        linear-gradient(
            180deg,
            #fffaf2 0%,
            #fff3df 100%
        );

    color: #4a3a32;

    font-family:
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        sans-serif;
}

header {
    width: 92%;
    max-width: 900px;
    margin: 0 auto;
    padding: 72px 20px 48px;
    text-align: center;
}

header > p:first-child {
    margin: 0 0 12px;

    color: #e9822c;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.16em;
}

header h1 {
    margin: 0;

    color: #4a3a32;

    font-size: 52px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

header > p:last-child {
    margin: 18px 0 0;

    color: #806b60;

    font-size: 18px;
    font-weight: 700;
}

main {
    width: 92%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 80px;
}

.game-list {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.game-card {
    position: relative;
    padding: 32px;

    background-color: #ffffff;

    border-radius: 28px;

    box-shadow:
        0 12px 32px
        rgba(74, 58, 50, 0.12);
}

.game-number {
    color: #e9822c;

    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.game-icon {
    margin: 22px 0 14px;

    font-size: 52px;
}

.game-image {
    width: 100%;
    aspect-ratio: 16 / 9;

    margin: 22px 0 18px;

    overflow: hidden;

    border-radius: 18px;

    background-color: #f5eee7;
}

.game-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform 0.25s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.03);
}

.game-genre {
    display: inline-block;

    margin: 0 0 12px;
    padding: 6px 12px;

    background-color: #fff1dc;
    color: #d96d18;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 900;
}

.game-card h2 {
    margin: 4px 0 14px;

    color: #4a3a32;

    font-size: 24px;
    font-weight: 900;
    line-height: 1.5;
}

.game-description {
    margin: 0 0 26px;

    color: #806b60;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.8;
}

.game-button {
    display: block;

    width: 100%;
    padding: 14px 20px;

    background-color: #e9822c;
    color: #ffffff;

    border-radius: 999px;

    font-weight: 900;
    text-align: center;
    text-decoration: none;

    box-shadow:
        0 5px 0 #c9681f;

    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease;
}

.game-button:active {
    transform: translateY(4px);

    box-shadow:
        0 1px 0 #c9681f;
}



.coming-soon {
    border: 2px dashed #d8c8bb;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #faf5ef 100%
        );
}

.coming-soon-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    aspect-ratio: 16 / 9;

    margin: 22px 0 18px;

    background-color: #f3ece5;

    border-radius: 18px;
}

.coming-soon-image span {
    color: #c4aea0;

    font-size: 64px;
    font-weight: 900;
}

.coming-soon-button {
    width: 100%;
    padding: 14px 20px;

    background-color: #e8ded6;
    color: #9a8478;

    border-radius: 999px;

    font-weight: 900;
    text-align: center;
}

.about {
    margin-top: 80px;
    padding: 56px 48px;

    background-color: #4a3a32;
    color: #ffffff;

    border-radius: 32px;

    text-align: center;
}

.section-label {
    margin: 0 0 12px;

    color: #ffb66e;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.about h2 {
    margin: 0;

    font-size: 32px;
    font-weight: 900;
}

.about-lead {
    margin: 24px 0;

    color: #ffd2a5;

    font-size: 22px;
    font-weight: 900;
}

.about-text {
    max-width: 620px;
    margin: 0 auto;

    color: #f3e8e0;

    font-size: 16px;
    font-weight: 600;
    line-height: 2;
}

.about-text p {
    margin: 12px 0;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 92%;
    max-width: 1000px;

    margin: 0 auto;
    padding: 24px 20px;
}

.site-logo {
    color: #4a3a32;

    font-size: 18px;
    font-weight: 900;

    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-links a {
    padding: 9px 14px;

    color: #806b60;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 900;

    text-decoration: none;

    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.nav-links a:hover {
    background-color: #fff1dc;
    color: #d96d18;
}

.nav-links a.active {
    background-color: #e9822c;
    color: #ffffff;
}

/* =========================
   DEVELOPMENT PAGE
========================= */

.development-intro {
    margin-bottom: 80px;
}

.development-intro > h2 {
    margin: 0 0 16px;

    color: #4a3a32;

    font-size: 36px;
    font-weight: 900;
}

.development-lead {
    margin: 0 0 16px;

    color: #e9822c;

    font-size: 22px;
    font-weight: 900;
}

.development-description {
    max-width: 700px;

    margin: 8px 0;

    color: #806b60;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.9;
}

.development-steps {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;

    margin-top: 40px;
}

.development-step {
    padding: 28px;

    background-color: #ffffff;

    border-radius: 24px;

    box-shadow:
        0 10px 28px
        rgba(74, 58, 50, 0.1);
}

.step-number {
    display: inline-block;

    margin-bottom: 18px;

    color: #e9822c;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.development-step h3 {
    margin: 0 0 12px;

    color: #4a3a32;

    font-size: 20px;
    font-weight: 900;
}

.development-step p {
    margin: 0;

    color: #806b60;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

/* =========================
   TECH STACK
========================= */

.tech-stack {
    margin-top: 80px;
}

.tech-stack > h2 {
    margin: 0 0 12px;

    color: #4a3a32;

    font-size: 36px;
    font-weight: 900;
}

.tech-lead {
    margin: 0 0 36px;

    color: #806b60;

    font-size: 17px;
    font-weight: 700;
}

.tech-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 20px;
}

.tech-item {
    padding: 28px 24px;

    background-color: #fff1dc;

    border: 2px solid #ffe2bd;
    border-radius: 24px;

    text-align: center;
}

.tech-icon {
    display: block;

    margin-bottom: 16px;

    font-size: 38px;
}

.tech-item h3 {
    margin: 0 0 12px;

    color: #d96d18;

    font-size: 18px;
    font-weight: 900;
}

.tech-item p {
    margin: 0;

    color: #806b60;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

/* =========================
   VALUES
========================= */

.values {
    margin-top: 80px;
    margin-bottom: 80px;
}

.values > h2 {
    margin: 0 0 12px;

    color: #4a3a32;

    font-size: 36px;
    font-weight: 900;
}

.values-lead {
    margin: 0 0 36px;

    color: #e9822c;

    font-size: 20px;
    font-weight: 900;
}

.values-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 20px;
}

.value-item {
    padding: 30px;

    background-color: #ffffff;

    border-left:
        5px solid #e9822c;

    border-radius: 20px;

    box-shadow:
        0 10px 28px
        rgba(74, 58, 50, 0.1);
}

.value-icon {
    display: block;

    margin-bottom: 16px;

    font-size: 36px;
}

.value-item h3 {
    margin: 0 0 12px;

    color: #4a3a32;

    font-size: 20px;
    font-weight: 900;
}

.value-item p {
    margin: 0;

    color: #806b60;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.8;
}

/* =========================
   DEVELOPMENT CTA
========================= */

.development-cta {
    margin-top: 80px;
    margin-bottom: 80px;
    padding: 56px 48px;

    background-color: #4a3a32;
    color: #ffffff;

    border-radius: 32px;

    text-align: center;
}

.development-cta .section-label {
    color: #ffb66e;
}

.development-cta h2 {
    margin: 0;

    color: #ffffff;

    font-size: 32px;
    font-weight: 900;
}

.cta-description {
    max-width: 600px;

    margin: 20px auto 32px;

    color: #f3e8e0;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.cta-button {
    display: inline-block;

    min-width: 210px;
    padding: 15px 24px;

    border-radius: 999px;

    font-size: 15px;
    font-weight: 900;

    text-align: center;
    text-decoration: none;

    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease;
}

/* ゲームへ戻る */
.cta-button.primary {
    background-color: #e9822c;
    color: #ffffff;

    box-shadow:
        0 5px 0 #c9681f;
}

.cta-button.primary:active {
    transform: translateY(4px);

    box-shadow:
        0 1px 0 #c9681f;
}

/* X */
.cta-button.secondary {
    background-color: #ffffff;
    color: #4a3a32;

    box-shadow:
        0 5px 0 #d8c8bb;
}

.cta-button.secondary:active {
    transform: translateY(4px);

    box-shadow:
        0 1px 0 #d8c8bb;
}

/* =========================
   PRIVACY POLICY
========================= */

.privacy-content {
    max-width: 760px;
    margin: 0 auto 80px;
    padding: 48px;

    background-color: #ffffff;

    border-radius: 28px;

    box-shadow:
        0 12px 32px
        rgba(74, 58, 50, 0.1);
}

.privacy-content h2 {
    margin:
        44px 0
        16px;

    padding-bottom: 10px;

    color: #4a3a32;

    border-bottom:
        2px solid #ffe2bd;

    font-size: 22px;
    font-weight: 900;
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p {
    margin: 0 0 18px;

    color: #806b60;

    font-size: 15px;
    font-weight: 600;
    line-height: 2;
}

/* =========================
   FOOTER
========================= */

.site-footer {
    width: 92%;
    max-width: 1000px;

    margin: 0 auto;
    padding: 32px 20px 40px;

    border-top: 1px solid #e8ded6;

    text-align: center;
}

.site-footer a {
    color: #806b60;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;
}

.site-footer a:hover {
    color: #e9822c;
}

.site-footer p {
    margin: 12px 0 0;

    color: #b5a49a;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

/* =========================
   GAME DETAILS
========================= */

.game-details {
    margin: 24px 0;

    padding: 20px;

    background-color: #fff8ef;
    border-radius: 18px;
}

.game-detail + .game-detail {
    margin-top: 20px;
    padding-top: 20px;

    border-top: 1px solid #f0dfcf;
}

.game-detail h3 {
    margin: 0 0 8px;

    color: #e9822c;

    font-size: 14px;
    font-weight: 900;
}

.game-detail p {
    margin: 0;

    color: #806b60;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.8;
}

/* =========================
   REQUEST
========================= */

.request {
    margin-top: 32px;
    padding: 48px;

    background-color: #ffffff;

    border: 2px solid #ffe2bd;
    border-radius: 32px;

    text-align: center;

    box-shadow:
        0 12px 32px
        rgba(74, 58, 50, 0.08);
}

.request .section-label {
    color: #e9822c;
}

.request h2 {
    margin: 0;

    color: #4a3a32;

    font-size: 30px;
    font-weight: 900;
}

.request-lead {
    margin: 20px 0 12px;

    color: #e9822c;

    font-size: 19px;
    font-weight: 900;
}

.request-text {
    max-width: 620px;
    margin: 0 auto 30px;

    color: #806b60;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.9;
}

.request-text p {
    margin: 10px 0;
}

.request-button {
    display: inline-block;

    min-width: 280px;
    padding: 15px 28px;

    background-color: #e9822c;
    color: #ffffff;

    border-radius: 999px;

    font-size: 15px;
    font-weight: 900;

    text-align: center;
    text-decoration: none;

    box-shadow:
        0 5px 0 #c9681f;

    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease;
}

.request-button:active {
    transform: translateY(4px);

    box-shadow:
        0 1px 0 #c9681f;
}

@media (max-width: 600px) {

    header {
        padding:
            48px 16px
            36px;
    }

    header h1 {
        font-size: 38px;
    }

    header > p:last-child {
        font-size: 16px;
    }

    main {
        padding:
            0 12px
            60px;
    }

    .game-list {
        grid-template-columns: 1fr;
    }

    .game-card {
        padding: 24px;
    }

    .game-card h2 {
        font-size: 21px;
    }

    .about {
        margin-top: 56px;
        padding: 40px 24px;

        border-radius: 24px;
    }

    .about h2 {
        font-size: 26px;
    }

    .about-lead {
        font-size: 19px;
    }

    .about-text {
        font-size: 15px;
        line-height: 1.9;
    }

    .site-nav {
        width: 100%;
        padding: 18px 16px;
    }

    .site-logo {
        font-size: 15px;
    }

    .nav-links {
        gap: 4px;
    }

    .nav-links a {
        padding: 8px 9px;

        font-size: 11px;
    }

    .development-intro > h2 {
        font-size: 28px;
    }

    .development-lead {
        font-size: 19px;
    }

    .development-description {
        font-size: 15px;
    }

    .development-steps {
        grid-template-columns: 1fr;

        margin-top: 28px;
    }

    .development-step {
        padding: 24px;
    }

    .tech-stack {
        margin-top: 56px;
    }

    .tech-stack > h2 {
        font-size: 28px;
    }

    .tech-lead {
        margin-bottom: 24px;

        font-size: 15px;
    }

    .tech-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .tech-item {
        padding: 24px 20px;
    }

    .values {
        margin-top: 56px;
        margin-bottom: 56px;
    }

    .values > h2 {
        font-size: 28px;
    }

    .values-lead {
        margin-bottom: 24px;

        font-size: 17px;
    }

    .values-grid {
        grid-template-columns: 1fr;

        gap: 14px;
    }

    .value-item {
        padding: 24px;

        border-left-width: 4px;
    }

    .development-cta {
        margin-top: 56px;
        margin-bottom: 56px;
        padding: 40px 24px;

        border-radius: 24px;
    }

    .development-cta h2 {
        font-size: 26px;
    }

    .cta-description {
        margin:
            18px auto
            28px;

        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 14px;
    }

    .cta-button {
        width: 100%;
        min-width: 0;
    }

    /* ナビ */
    .site-nav {
        width: 100%;
        padding: 16px 12px;
        gap: 10px;
    }

    .site-logo {
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 14px;
    }

    .nav-links {
        gap: 2px;
    }

    .nav-links a {
        padding: 7px 6px;
        font-size: 10px;
        white-space: nowrap;
    }

    /* ゲーム一覧 */
    .game-list {
        grid-template-columns: 1fr;
    }

    /* 制作フロー */
    .development-steps {
        grid-template-columns: 1fr;
    }

    /* TECH STACK */
    .tech-grid {
        grid-template-columns: 1fr;
    }

    /* VALUES */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* 長い英単語のはみ出し防止 */
    .development-step h3,
    .tech-item h3,
    .value-item h3 {
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: normal;
    }

    .privacy-content {
        margin-bottom: 56px;
        padding: 28px 22px;

        border-radius: 22px;
    }

    .privacy-content h2 {
        margin-top: 36px;

        font-size: 19px;
    }

    .privacy-content p {
        font-size: 14px;
        line-height: 1.9;
    }

    .site-footer {
        width: 100%;
        padding: 28px 16px 32px;
    }

    .site-footer a {
        font-size: 12px;
    }

    .site-footer p {
        font-size: 11px;
    }

    .game-details {
        margin: 20px 0;
        padding: 18px 16px;

        border-radius: 16px;
    }

    .game-detail h3 {
        font-size: 13px;
    }

    .game-detail p {
        font-size: 12px;
        line-height: 1.8;
    }

    /* 制作依頼 */
    .request {
        margin-top: 24px;
        padding: 36px 24px;

        border-radius: 24px;
    }

    .request h2 {
        font-size: 25px;
    }

    .request-lead {
        font-size: 17px;
    }

    .request-text {
        font-size: 14px;
        line-height: 1.9;
    }

    .request-button {
        width: 100%;
        min-width: 0;

        padding: 14px 18px;
    }
}