/* =========================
   Portfolio Design System
   Clean / Editorial / Modern
========================= */

:root {
    --bg: #f6f7f5;
    --surface: #ffffff;
    --surface-soft: #eef2ee;
    --text: #17211d;
    --muted: #69756f;
    --line: #dfe5df;
    --accent: #26745a;
    --accent-dark: #18543f;
    --accent-light: #dcece3;
    --shadow: 0 18px 50px rgba(25, 45, 35, 0.08);
    --radius: 22px;
    --content-width: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font-family: "Inter", "Noto Sans JP", sans-serif;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

body::selection {
    color: #fff;
    background: var(--accent);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
    outline: 3px solid #78b99b;
    outline-offset: 5px;
    border-radius: 5px;
}

img {
    max-width: 100%;
    display: block;
}

/* Header */

.header {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: 100%;
    padding: 18px max(5.5vw, calc((100vw - var(--content-width)) / 2));
    background: rgba(246, 247, 245, 0.88);
    border-bottom: 1px solid rgba(223, 229, 223, 0.8);
    backdrop-filter: blur(18px);
}

.logo {
    flex-shrink: 0;
    font-size: 1.65rem;
    font-weight: 800;
    letter-spacing: -0.08em;
}

.logo span {
    color: var(--accent);
}

.nav {
    display: flex;
    align-items: center;
    gap: clamp(18px, 3vw, 38px);
}

.nav a {
    position: relative;
    color: #526058;
    font-size: 0.86rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.nav a::after {
    position: absolute;
    right: 0;
    bottom: -7px;
    left: 0;
    height: 2px;
    content: "";
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.nav a:hover {
    color: var(--accent);
}

.nav a:hover::after {
    transform: scaleX(1);
}

.header-button {
    padding: 10px 19px;
    color: #fff;
    background: var(--text);
    border: 1px solid var(--text);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.header-button:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Hero */

.hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: min(780px, calc(100svh - 76px));
    overflow: hidden;
    padding: 100px max(7vw, calc((100vw - var(--content-width)) / 2));
    background:
        radial-gradient(circle at 82% 30%, rgba(173, 211, 188, 0.42), transparent 28%),
        radial-gradient(circle at 70% 90%, rgba(223, 235, 224, 0.75), transparent 30%),
        linear-gradient(135deg, #f8faf7 0%, #edf3ee 100%);
}

.hero::before,
.hero::after {
    position: absolute;
    z-index: 0;
    content: "";
    pointer-events: none;
}

.hero::before {
    top: 13%;
    right: 9%;
    width: clamp(230px, 32vw, 440px);
    aspect-ratio: 1;
    border: 1px solid rgba(38, 116, 90, 0.18);
    border-radius: 50%;
}

.hero::after {
    top: 21%;
    right: 16%;
    width: clamp(180px, 24vw, 330px);
    aspect-ratio: 1;
    border: 1px solid rgba(38, 116, 90, 0.15);
    border-radius: 50%;
}

.hero-background {
    position: absolute;
    top: 50%;
    right: 8%;
    width: clamp(150px, 19vw, 260px);
    aspect-ratio: 1;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(191, 220, 201, 0.55));
    box-shadow: 0 30px 80px rgba(38, 116, 90, 0.12);
    transform: translateY(-35%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    animation: rise-in 0.8s ease both;
}

.hero-label,
.section-label {
    margin: 0 0 14px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.hero-label::before {
    width: 27px;
    height: 2px;
    content: "";
    background: var(--accent);
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.2rem, 7.5vw, 6.6rem);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -0.075em;
}

.hero h1 span {
    display: block;
    margin-top: 15px;
    color: var(--accent);
    font-size: clamp(0.95rem, 2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: 0.19em;
}

.hero-description {
    margin: 30px 0 0;
    color: #58665e;
    font-size: clamp(0.95rem, 1.6vw, 1.08rem);
    line-height: 2.15;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 35px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    min-height: 52px;
    padding: 0 23px;
    border-radius: 999px;
    font-size: 0.87rem;
    font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.primary-button {
    color: #fff;
    background: var(--accent);
    box-shadow: 0 10px 24px rgba(38, 116, 90, 0.2);
}

.primary-button span {
    font-size: 1.15rem;
    transition: transform 0.2s ease;
}

.primary-button:hover {
    background: var(--accent-dark);
    box-shadow: 0 14px 30px rgba(38, 116, 90, 0.26);
    transform: translateY(-3px);
}

.primary-button:hover span {
    transform: translateX(4px);
}

.secondary-button {
    color: var(--text);
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid #d4ded6;
}

.secondary-button:hover {
    background: #fff;
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    right: max(7vw, calc((100vw - var(--content-width)) / 2));
    bottom: 35px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #728078;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.scroll-line {
    width: 54px;
    height: 1px;
    background: #9aa99f;
}

/* Shared section layout */

.section {
    width: min(var(--content-width), calc(100% - 64px));
    margin: 0 auto;
    padding: 112px 0;
}

.section-heading {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 46px;
}

.section-number {
    margin: 4px 0 0;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.section-label {
    margin-bottom: 8px;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.065em;
}

.section-description {
    margin: -18px 0 32px;
    color: var(--muted);
    font-size: 0.91rem;
    line-height: 1.9;
}

/* About */

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(270px, 0.8fr);
    gap: clamp(40px, 8vw, 100px);
    align-items: start;
}

.about-main {
    color: #59665f;
    font-size: 0.98rem;
}

.about-main p {
    margin: 0 0 18px;
}

.about-main .about-lead {
    margin-bottom: 25px;
    color: var(--text);
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 700;
    line-height: 1.65;
    letter-spacing: -0.04em;
}

.about-info {
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
}

.info-item:last-child {
    border-bottom: 0;
}

.info-item span {
    color: #829087;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.info-item strong {
    font-size: 0.96rem;
    font-weight: 700;
}

/* Skills */

.skills-section {
    width: 100%;
    max-width: none;
    padding-right: max(32px, calc((100% - var(--content-width)) / 2));
    padding-left: max(32px, calc((100% - var(--content-width)) / 2));
    background: #edf2ed;
}

.skills-section .section-heading,
.skills-section .section-description,
.skills-section .skills-grid {
    max-width: var(--content-width);
    margin-right: auto;
    margin-left: auto;
}

.skills-section .section-heading {
    margin-bottom: 42px;
}

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

.skill-category {
    padding: 27px;
    background: var(--surface);
    border: 1px solid rgba(215, 225, 216, 0.9);
    border-radius: var(--radius);
    box-shadow: 0 10px 35px rgba(25, 45, 35, 0.035);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.skill-category:hover {
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.category-icon {
    display: grid;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    place-items: center;
    color: var(--accent);
    background: var(--accent-light);
    border-radius: 15px;
    font-size: 0.88rem;
    font-weight: 800;
}

.category-header h3 {
    margin: 0;
    font-size: 1.04rem;
    font-weight: 800;
}

.category-header p {
    margin: 2px 0 0;
    color: #8a958e;
    font-size: 0.75rem;
}

.skill-list {
    display: grid;
    gap: 22px;
    padding-top: 24px;
}

.skill-name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 9px;
    font-size: 0.88rem;
    font-weight: 700;
}

.skill-level {
    color: #7b8880;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.skill-bar {
    width: 100%;
    height: 6px;
    overflow: hidden;
    background: #e9eee9;
    border-radius: 999px;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), #79b698);
    border-radius: inherit;
    transform-origin: left;
    animation: progress-in 1s ease both;
}

.stars {
    min-height: 18px;
    margin-top: 8px;
    color: #d7a54b;
    font-size: 0.88rem;
    letter-spacing: 0.12em;
}

/* Projects - works with cards generated by script.js */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* Broad selectors support common project card markup variations. */
.project-card,
.project-item,
.project {
    min-width: 0;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 35px rgba(25, 45, 35, 0.045);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.project-card:hover,
.project-item:hover,
.project:hover {
    border-color: #c4d9cb;
    box-shadow: var(--shadow);
    transform: translateY(-5px);
}

.project-image,
.project-visual,
.project-thumbnail {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 0;
    padding: 22px 27px;
    overflow: hidden;
    background: linear-gradient(135deg, #e2eee5, #f3f5ee);
    border-bottom: 1px solid var(--line);
}

.project-image::before,
.project-image::after,
.project-visual::before,
.project-visual::after,
.project-thumbnail::before,
.project-thumbnail::after {
    content: none;
}

.project-image > *,
.project-visual > *,
.project-thumbnail > * {
    position: relative;
    z-index: 1;
}

.project-image span,
.project-image h3,
.project-visual span,
.project-visual h3,
.project-thumbnail span,
.project-thumbnail h3 {
    color: var(--accent-dark);
    font-size: clamp(1.3rem, 3vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    text-align: center;
}

.project-image-second {
    background: linear-gradient(135deg, #f1e8df, #faf5ec);
}

.project-image-third {
    background: linear-gradient(135deg, #e2e9f7, #f5f6fb);
}

.project-image-second::before,
.project-image-second::after {
    border-color: rgba(155, 105, 66, 0.2);
}

.project-image-third::before,
.project-image-third::after {
    border-color: rgba(69, 97, 160, 0.2);
}

.project-body,
.project-content,
.project-details {
    padding: 27px;
}

.project-type,
.project-category,
.project-eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.project-body h3,
.project-content h3,
.project-details h3,
.project-title {
    margin: 0 0 12px;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.04em;
}

.project-body p,
.project-content p,
.project-details p {
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.9;
}

.project-tags,
.project-technologies,
.technologies,
.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

.project-tags span,
.project-technologies span,
.technologies span,
.tech-tags span {
    padding: 5px 10px;
    color: #4f6659;
    background: #edf3ee;
    border: 1px solid #e0e9e1;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
}

.project-links,
.project-actions,
.project-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.project-links a,
.project-actions a,
.project-buttons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 16px;
    color: #fff;
    background: var(--accent);
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.project-links a:hover,
.project-actions a:hover,
.project-buttons a:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
}

.project-links a.secondary,
.project-actions a.secondary,
.project-buttons a.secondary,
.project-links a[ data-variant="secondary" ] {
    color: var(--text);
    background: #fff;
    border-color: var(--line);
}

.project-links a.secondary:hover,
.project-actions a.secondary:hover,
.project-buttons a.secondary:hover {
    background: #f1f5f1;
}


.project-number {
    flex: 0 0 auto;
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(38, 116, 90, 0.16);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.project-image-text {
    flex: 1;
    color: var(--accent-dark);
    font-size: clamp(1.05rem, 2.2vw, 1.45rem);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.035em;
    text-align: right;
    overflow-wrap: anywhere;
}

.project-image-second {
    background: linear-gradient(135deg, #f1e8df, #faf5ec);
}

.project-image-third {
    background: linear-gradient(135deg, #e2e9f7, #f5f6fb);
}

.project-image-second .project-number {
    color: #875b3a;
    border-color: rgba(155, 105, 66, 0.2);
}

.project-image-second .project-image-text {
    color: #704a2e;
}

.project-image-third .project-number {
    color: #4561a0;
    border-color: rgba(69, 97, 160, 0.2);
}

.project-image-third .project-image-text {
    color: #344b86;
}

/* Contact */

.contact-section {
    position: relative;
    overflow: hidden;
    padding: 105px 32px 110px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 25%, rgba(101, 167, 132, 0.24), transparent 26%),
        #172b22;
}

.contact-section::after {
    position: absolute;
    top: -150px;
    right: -80px;
    width: 420px;
    aspect-ratio: 1;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.025), 0 0 0 110px rgba(255, 255, 255, 0.02);
    pointer-events: none;
}

.contact-inner {
    position: relative;
    z-index: 1;
    width: min(780px, 100%);
    margin: 0 auto;
}

.contact-section .section-label {
    color: #a7d8b9;
}

.contact-section h2 {
    margin: 0;
    font-size: clamp(3.1rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.075em;
}

.contact-section p:not(.section-label) {
    margin: 28px 0 0;
    color: #c1cec5;
    font-size: 0.95rem;
}

.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.contact-links a {
    display: inline-flex;
    align-items: center;
    gap: 30px;
    min-width: 150px;
    padding: 13px 17px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    font-size: 0.86rem;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.contact-links a span {
    color: #a7d8b9;
}

.contact-links a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #a7d8b9;
}

/* Footer */

footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 23px max(5.5vw, calc((100vw - var(--content-width)) / 2));
    color: #7c8981;
    background: #12231b;
    font-size: 0.72rem;
}

footer p {
    margin: 0;
}

/* Motion */

@keyframes rise-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progress-in {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Responsive */

@media (max-width: 800px) {
    .header {
        padding: 15px 24px;
        gap: 16px;
    }

    .nav {
        gap: 17px;
    }

    .nav a {
        font-size: 0.78rem;
    }

    .header-button {
        display: none;
    }

    .hero {
        min-height: 650px;
        padding: 85px 32px 100px;
    }

    .hero::before {
        top: 12%;
        right: -10%;
    }

    .hero::after {
        right: -2%;
    }

    .hero-background {
        right: -1%;
        opacity: 0.75;
    }

    .section {
        width: calc(100% - 48px);
        padding: 82px 0;
    }

    .skills-section {
        width: 100%;
        padding-right: 24px;
        padding-left: 24px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .skills-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .skill-category {
        padding: 23px;
    }

    .contact-section {
        padding: 80px 24px;
    }

    footer {
        padding: 22px 24px;
    }
}

@media (max-width: 520px) {
    .header {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 13px 18px;
    }

    .logo {
        font-size: 1.45rem;
    }

    .nav {
        order: 3;
        justify-content: space-between;
        width: 100%;
        gap: 8px;
        padding-top: 8px;
    }

    .nav a {
        font-size: 0.73rem;
    }

    .hero {
        min-height: 610px;
        padding: 70px 23px 95px;
    }

    .hero h1 {
        font-size: clamp(3rem, 14vw, 4.4rem);
    }

    .hero-description br {
        display: none;
    }

    .hero-description {
        max-width: 31rem;
        line-height: 2;
    }

    .hero-buttons {
        align-items: stretch;
        flex-direction: column;
        max-width: 260px;
    }

    .scroll-indicator {
        right: 23px;
        bottom: 25px;
    }

    .section {
        width: calc(100% - 40px);
        padding: 70px 0;
    }

    .section-heading {
        gap: 14px;
        margin-bottom: 32px;
    }

    .section-heading h2 {
        font-size: 2.6rem;
    }

    .section-description {
        margin-top: -8px;
    }

    .skills-section {
        padding-right: 20px;
        padding-left: 20px;
    }

    .skill-category {
        padding: 20px;
        border-radius: 17px;
    }

    .project-image,
    .project-visual,
    .project-thumbnail {
        min-height: 175px;
    }

    .project-body,
    .project-content,
    .project-details {
        padding: 22px;
    }

    .contact-section h2 {
        font-size: clamp(3rem, 15vw, 4.5rem);
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Project cards: title is displayed in the compact top strip */
.project-content > h3 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.project-content {
    padding: 24px 27px 27px;
}

@media (max-width: 520px) {
    .project-image,
    .project-visual,
    .project-thumbnail {
        padding: 17px 20px;
        gap: 12px;
    }

    .project-number {
        width: 34px;
        height: 34px;
        border-radius: 10px;
    }

    .project-content {
        padding: 20px;
    }
}

/* =========================
   Featured Project
   English Journeyを大きく表示
========================= */

/* プロジェクト一覧は2列 */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* 注目作品は横幅いっぱいにする */
.project-card.featured {
    grid-column: 1 / -1;
}

/* 注目作品の上部 */
.project-card.featured .project-image {
    padding: 28px 36px;
}

/* 注目作品のタイトル */
.project-card.featured .project-image-text {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

/* 注目作品の詳細部分 */
.project-card.featured .project-content {
    padding: 32px 36px;
}

/* 注目作品の概要を横並びにする */
.project-card.featured .project-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

/* 注目作品の各概要 */
.project-card.featured .overview-item {
    padding: 20px;
    background: #f5f8f5;
    border: 1px solid #e1e9e2;
    border-radius: 14px;
}

/* 注目作品の主要機能 */
.project-card.featured .feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 24px;
}

/* スマートフォン対応 */
@media (max-width: 700px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card.featured {
        grid-column: auto;
    }

    .project-card.featured .project-image {
        padding: 20px;
    }

    .project-card.featured .project-content {
        padding: 22px;
    }

    .project-card.featured .project-overview {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .project-card.featured .feature-list {
        grid-template-columns: 1fr;
    }
}

/* 制作経緯 */
.project-background {
    margin-top: 24px;
    padding: 22px 24px;
    background: #f5f8f5;
    border-left: 3px solid var(--accent);
    border-radius: 0 12px 12px 0;
}

.project-background .project-section-title {
    margin-top: 0;
}

.project-background p {
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.9;
    overflow-wrap: anywhere;
}
.development-details {
display: grid;
gap: 20px;
margin-top: 20px;
}

.development-section {
padding: 18px 20px;
background: var(--surface, #fff);
border: 1px solid var(--line, #e3e8e3);
border-radius: 12px;
}

.development-section__title {
margin: 0 0 14px;
font-size: 1rem;
font-weight: 800;
line-height: 1.6;
}

.development-section__list {
display: grid;
gap: 10px;
margin: 0;
padding-left: 1.3rem;
line-height: 1.8;
}

.development-section__list li {
padding-left: 3px;
overflow-wrap: anywhere;
}

.development-section--responsibilities .development-section__list {
gap: 12px;
}

@media (max-width: 600px) {
.development-section {
padding: 16px;
}

.development-section__list {
    gap: 8px;
    font-size: 0.92rem;
}

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

/* 画面が狭いときは1列にする */
@media (max-width: 600px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
}
