/* ページタイトル */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/fa_001-28.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0 80px;
    margin-top: 70px;
    text-align: center;
    animation: fadeIn 1s ease-out;
}

.page-header h1 {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 3px;
    animation: slideDown 0.8s ease-out;
}

.page-header p {
    font-size: 16px;
    color: #bbb;
    font-weight: 300;
    animation: slideDown 0.8s ease-out 0.2s both;
}

/* 商品セクション */
.products-section {
    padding: 80px 0;
}

/* 製品スライダー */
.product-slider-wrapper {
    width: 100%;
    margin: 0 auto 50px;
    display: flex;
    justify-content: center;
}

.product-slider {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 2 / 1;
}

.product-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.product-slide.active {
    opacity: 1;
}

.product-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}

.product-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
    z-index: 5;
}

.product-slider-nav button {
    background-color: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
}

.product-slider-nav button:hover {
    background-color: rgba(211, 47, 47, 0.7);
}

.product-slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.product-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-dot.active {
    background-color: #d32f2f;
    width: 25px;
    border-radius: 5px;
}

/* メインテキスト */
.product-main-text {
    max-width: 800px;
    margin: 0 auto 60px;
    text-align: center;
}

.product-main-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.product-main-text p {
    font-size: 15px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.8;
}

.product-category {
    margin-bottom: 80px;
}

.product-category .section-header {
    margin-bottom: 50px;
}

/* テーブル */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #f9f9f9;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.specs-table th,
.specs-table td {
    padding: 18px 20px;
    text-align: left;
    border: 1px solid #e0e0e0;
    font-size: 14px;
}

.specs-table th {
    background-color: #000;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}

.specs-table tr:hover {
    background-color: #f5f5f5;
}

.specs-table td {
    color: #555;
}

/* カラーグリッド */
.color-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.color-item {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.color-sample {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 3px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.color-sample:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.color-code {
    display: none;
}
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.color-item:hover .color-sample {
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.color-item p {
    font-size: 13px;
    color: #000;
    font-weight: 600;
}

.color-name {
    font-size: 13px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.color-code {
    font-size: 11px;
    color: #888;
    font-weight: 400;
}

/* 技術情報 */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

.tech-item {
    background-color: #f8f8f8;
    padding: 30px 25px;
    border-left: 4px solid #d32f2f;
    border-radius: 2px;
    transition: all 0.3s ease;
    animation: fadeInUp 0.8s ease-out;
}

.tech-item:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.tech-item h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

.tech-item p {
    font-size: 13px;
    color: #666;
    line-height: 1.8;
}

/* PDFダウンロード */
.pdf-download-section {
    text-align: center;
    margin-top: 50px;
    padding-top: 40px;
    border-top: 2px solid #e0e0e0;
}

.pdf-download-section h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #000;
}

.pdf-download-section p {
    font-size: 14px;
    color: #666;
    margin-bottom: 30px;
}

.btn-pdf-download {
    display: inline-block;
    padding: 20px 50px;
    background-color: #d32f2f;
    color: #fff;
    text-decoration: none;
    border-radius: 3px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-pdf-download:hover {
    background-color: #b71c1c;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(211, 47, 47, 0.3);
}

/* CTA セクション */
.cta-section {
    background: linear-gradient(135deg, #000 0%, #1a1a1a 100%);
    color: #fff;
    padding: 60px 40px;
    text-align: center;
    border-radius: 3px;
    margin-top: 80px;
    animation: fadeInUp 0.8s ease-out;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 36px;
    letter-spacing: 2px;
}

.cta-section p {
    font-size: 15px;
    margin-bottom: 40px;
    color: #bbb;
}

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

.cta-buttons .btn {
    margin: 0;
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .page-header {
        padding: 80px 0 60px;
        margin-top: 70px;
    }

    .page-header h1 {
        font-size: 36px;
    }

    .page-header p {
        font-size: 14px;
    }

    .product-category {
        margin-bottom: 60px;
    }

    .specs-table th,
    .specs-table td {
        padding: 15px 12px;
        font-size: 13px;
    }

    .color-grid {
        grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
        gap: 15px;
    }

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

    .cta-section {
        padding: 40px 20px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 28px;
    }

    .page-header p {
        font-size: 12px;
    }

    .specs-table {
        font-size: 12px;
    }

    .specs-table th,
    .specs-table td {
        padding: 10px 8px;
    }

    .color-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .color-item p {
        font-size: 11px;
    }

    .cta-section h2 {
        font-size: 24px;
    }

    .cta-section p {
        font-size: 13px;
    }

    .btn {
        padding: 12px 25px;
        font-size: 12px;
    }

    /* オリジナルカラー制作 - スマホレイアウト */
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
}
