
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f9f9f9;
    font-size: 14px;
}

h1, h2, h3, h4 {
    font-family: 'Noto Serif JP', serif;
    font-weight: 600;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #C0392B;
    transition: all 0.3s ease;
}

a:hover {
    color: #9D2933;
    opacity: 0.8;
}

.hidden {
    display: none !important;
}

.active {
    display: block !important;
}


.breadcrumb {
    margin: 20px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.breadcrumb a {
    color: #666;
}

.breadcrumb a:hover {
    color: #9D2933;
}

.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 15px 0;
    font-size: 14px;
}

.alert-success {
    background-color: #F0FFF4;
    border: 1px solid #C6EFC7;
    color: #388E3C;
}

.social-share-bar {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 12px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.social-share-bar span {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.social-share-bar a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.social-share-bar a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    opacity: 1; 
}

.social-share-bar a[title="Xでシェア"] {
    background-color: #1DA1F2;
}

.social-share-bar a[title="Facebookでシェア"] {
    background-color: #4267B2;
}

.social-share-bar a[title="LINEで送る"] {
    background-color: #00C300;
}

.social-share-bar a[title="WhatsAppで送る"] {
    background-color: #25D366;
}

.social-share-mini {
    margin: 15px 0;
    font-size: 0.9em;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-share-mini a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.social-share-mini a:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.12);
    opacity: 1; 
}

.social-share-mini a[title*="X"] {
    background-color: #1DA1F2;
}

.social-share-mini a[title*="LINE"] {
    background-color: #00C300;
}

.product-main {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    margin: 20px 0;
    align-items: flex-start;
}

.product-image {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.product-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-image img:hover {
    opacity: 0.95;
}

.image-info-card {
    margin-top: 20px;
    background-color: #FFF5F2;
    border-radius: 8px;
    padding: 15px;
}

.image-info-card h4 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #C0392B;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.spec-summary-item {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.spec-label {
    color: #666;
    font-weight: 500;
    margin-bottom: 2px;
}

.spec-value {
    color: #333;
    font-weight: 400;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quick-links a {
    font-size: 13px;
    color: #C0392B;
    display: flex;
    align-items: center;
    gap: 6px;
}

.product-details {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.product-title {
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #333;
}

.product-full-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.product-tag {
    padding: 4px 12px;
    border-radius: 20px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.urgency-badge {
    background: #ff6b35;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    margin: 10px 0;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(255,107,53,0.2);
}

.trust-tags {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.trust-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #555;
    padding: 8px;
    background-color: #f5f5f5;
    border-radius: 6px;
}

.trust-tag i {
    color: #C0392B;
    font-size: 14px;
}

.price-area {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.original-price {
    font-size: 16px;
    color: #999;
    text-decoration: line-through;
    margin-right: 10px;
}

.sale-price {
    font-size: 24px;
    font-weight: 700;
    color: #C0392B;
}

.current-price {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.tax-label {
    font-size: 14px;
    color: #666;
}

.discount-badge {
    background-color: #C0392B;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(-5deg);
    box-shadow: 0 2px 4px rgba(244,67,54,0.2);
}

.stock-badge.in-stock {
    background-color: #388E3C;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.stock-badge.out-stock {
    background-color: #999;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.shipping-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.shipping-info i {
    color: #C0392B;
}

.product-base-info {
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.info-item {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.info-label {
    color: #666;
    margin-bottom: 3px;
    font-weight: 500;
}

.info-value {
    color: #333;
    font-weight: 400;
}


.buy-box {
    margin-bottom: 25px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.quantity-label {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.quantity-control {
    display: flex;
    align-items: center;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid #ddd;
    background-color: #f5f5f5;
    color: #333;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px 0 0 6px;
    transition: all 0.3s ease;
}

.qty-btn.plus {
    border-radius: 0 6px 6px 0;
}

.qty-btn:hover:not(:disabled) {
    background-color: #e9e9e9;
    border-color: #ccc;
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-input {
    width: 60px;
    height: 36px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-left: none;
    border-right: none;
    text-align: center;
    font-size: 14px;
    color: #333;
    outline: none;
    transition: all 0.3s ease;
}

.qty-input:focus {
    border-color: #C0392B;
    box-shadow: 0 0 0 2px rgba(192, 57, 43, 0.1);
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-cart, .btn-buy {
    width: 100%;
    height: 48px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Noto Sans JP', sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.btn-buy {
    background-color: #FF9800;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(255,152,0,0.3);
}

.btn-buy:hover:not(:disabled) {
    background-color: #F57C00;
    box-shadow: 0 4px 12px rgba(255,152,0,0.4);
    transform: translateY(-1px);
}

.btn-cart {
    background-color: #ffffff;
    color: #333;
    border: 1px solid #ddd;
}

.btn-cart:hover:not(:disabled) {
    background-color: #f9f9f9;
    border-color: #ccc;
    transform: translateY(-1px);
}

.btn-cart:disabled, .btn-buy:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.rating-section {
    margin-bottom: 20px;
}

.rating-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 15px;
}

.rating-overall {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating-value {
    font-size: 28px;
    font-weight: 700;
    color: #FF9800;
    margin-bottom: 5px;
}

.rating-stars {
    color: #FF9800;
    font-size: 16px;
    margin-bottom: 5px;
}

.rating-count {
    font-size: 12px;
    color: #666;
}

.rating-breakdown {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 12px;
}

.rating-label {
    width: 20px;
    text-align: right;
    color: #666;
}

.rating-progress {
    flex: 1;
    height: 8px;
    background-color: #eee;
    border-radius: 4px;
    overflow: hidden;
}

.rating-progress-bar {
    height: 100%;
    background-color: #FF9800;
    border-radius: 4px;
}

.rating-percent {
    width: 40px;
    text-align: right;
    color: #666;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.guarantee-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.guarantee-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.guarantee-icon {
    font-size: 24px;
    color: #C0392B;
    margin-bottom: 10px;
}

.guarantee-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

.guarantee-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

.tabs-section {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.tab-buttons {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 24px;
    background-color: transparent;
    border: none;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

.tab-btn.active {
    color: #C0392B;
    border-bottom: 2px solid #C0392B;
    font-weight: 500;
}

.tab-btn:hover {
    color: #C0392B;
}

.tab-content.hidden {
    display: none !important;
}

.tab-content {
    padding: 20px 0;
    border-top: 1px solid #eee;
}
.tab-btn.active {
    background-color: #C0392B;
    color: #fff;
    border-color: #C0392B;
}
.tab-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background-color: #fafafa;
    cursor: pointer;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
}
.tab-btn:hover {
    background-color: #f0f0f0;
}


.tab-content table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.tab-content th {
    padding: 12px;
    background: #FFF5F2;
    border: 1px solid #eee;
    text-align: left;
    font-weight: 500;
    color: #333;
}

.tab-content td {
    padding: 12px;
    border: 1px solid #eee;
    color: #666;
}

.tab-content tr:nth-child(even) td {
    background-color: #f9f9f9;
}

.tab-content ul {
    margin-left: 20px;
    line-height: 2;
    margin-top: 15px;
    color: #666;
}

.business-cooperation {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.cooperation-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.cooperation-title i {
    color: #C0392B;
}

.cooperation-content {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

.cooperation-highlight {
    background-color: #FFF5F2;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.cooperation-contact {
    margin-top: 20px;
    line-height: 1.8;
    color: #666;
}

.cooperation-contact a {
    color: #C0392B;
    font-weight: 500;
}

.faq-section {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.faq-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.faq-title i {
    color: #C0392B;
}

.faq-item {
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.faq-question {
    padding: 15px 20px;
    background-color: #f5f5f5;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #F5F9FF;
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #ffffff;
}

.faq-answer.active {
    padding: 15px 20px;
    max-height: 500px;
    color: #666;
    line-height: 1.8;
}

.faq-answer ul {
    margin-left: 20px;
    margin-top: 10px;
}

.related-products {
    margin: 40px 0;
}

.section-title {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    padding: 15px;
    background-color: #f9f9f9;
}

.product-card-content {
    padding: 15px;
}

.product-card-title {
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-card-title a {
    color: #333;
}

.product-card-title a:hover {
    color: #9D2933;
}

.product-card-sale-price {
    font-size: 16px;
    font-weight: 700;
    color: #C0392B;
    margin-right: 8px;
}

.product-card-original-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.product-card-price {
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .product-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .social-share-bar {
        flex-wrap: wrap;
        justify-content: center;
    }

    .guarantee-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-tags {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .guarantee-grid {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}