/* Backボタン */
.back-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 10px;
    background-color: #d5c2bb;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    text-align: center;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.back-button:hover {
    background-color: #b3a3a0;
}

/* 製品ページタイトル */
h1.text-center {
    margin-top: 120px;
    font-size: 2rem;
    color: #333;
}

.product-detail-hero {
    row-gap: 24px;
}

.product-detail-main-image {
    aspect-ratio: 1 / 1;
    background: #fff;
    display: block;
    max-height: 540px;
    object-fit: contain;
    object-position: center;
    padding: 12px;
    width: 100%;
}

.product-gallery img {
    aspect-ratio: 1 / 1;
    background: #fff;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    width: 100%;
}

.purchase-links {
    gap: 12px;
}

.purchase-links .btn {
    min-height: 42px;
    min-width: 170px;
}

@media (max-width: 767px) {
    h1.text-center {
        font-size: 1.6rem;
        margin-top: 96px;
    }

    .product-detail-main-image {
        max-height: 380px;
    }

    .purchase-links {
        align-items: stretch;
        flex-direction: column;
    }

    .purchase-links .btn {
        width: 100%;
    }
}

/* Q&Aセクション */
.qa-section {
    margin-top: 20px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.qa-section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.qa-section p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: #666;
}
