/* product.html — product case study page styles */

.product-page {
    background-color: var(--bg);
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.project-label {
    font-family: "Michroma";
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    color: var(--main);
    display: inline-block;
    background: transparent;
    border: 1px solid var(--main);
    padding: 5px 20px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.project-image {
    margin-bottom: 40px;
}

.project-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px var(--shadow-color);
    margin: 0 auto;
}

.tech-stack {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius-lg);
}

.tech-stack h3 {
    font-family: "Michroma";
    font-size: 1rem;
    margin: 0 0 20px;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-item {
    background: var(--main);
    color: var(--bg);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-family: "Michroma";
    transition: transform 0.2s, background 0.2s;
}

.tech-item:hover {
    transform: translateY(-3px);
    background: var(--accent);
}

.project-content {
    max-width: 960px;
    margin: 60px auto;
    padding: 0 20px;
}

.project-header {
    text-align: center;
    margin-bottom: 60px;
}

.project-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    color: #333;
    margin-bottom: 30px;
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.4;
}

.project-desc {
    font-size: 1.1rem;
    line-height: 2;
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}

.project-showcase {
    text-align: center;
    margin-bottom: 80px;
    margin-top: 60px;
}

.project-img-wrapper {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border-radius: 20px;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
}

.project-img-wrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

.tech-stack-section {
    padding: 40px 0;
    margin-bottom: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.tech-stack-header {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
    font-family: "Michroma", "Noto Sans JP", sans-serif;
    letter-spacing: 0.1em;
}

.btn-project-cta {
    display: inline-block;
    padding: 20px 60px;
    font-size: 1.2rem;
    border-radius: 0;
    background: transparent;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    font-family: "Michroma", sans-serif;
    position: relative;
    overflow: hidden;
    border: 1px solid #333;
    transition: all 0.4s ease;
    letter-spacing: 0.1em;
}

.btn-project-cta::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #333;
    transition: width 0.4s ease;
    z-index: -1;
}

.btn-project-cta:hover { color: #fff; }
.btn-project-cta:hover::before { width: 100%; }
