/*
Theme Name: Storefront Child - BtoB足場資材ECサイト
Template: storefront
Description: BtoB足場資材ECサイト専用 Storefront子テーマ
Version: 1.0
*/

/*
===============================================
BtoB足場資材ECサイト専用スタイル
Storefront 子テーマ
===============================================
*/

/* ===== 基本設定 ===== */
:root {
    --primary-color: #2271b1;
    --primary-dark: #1a5a8a;
    --secondary-color: #f0f6fc;
    --accent-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --text-color: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --border-color: #e1e5e9;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* ===== レイアウト基本 ===== */
.btob-main {
    background: var(--bg-white);
}

.col-full {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===== ボタンスタイル ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.btn-icon {
    font-size: 18px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    text-decoration: none;
}

.btn-cta-primary {
    background: var(--accent-color);
    color: white;
    font-size: 18px;
    padding: 18px 36px;
}

.btn-cta-primary:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: white;
    text-decoration: none;
}

.btn-cta-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    font-size: 18px;
    padding: 16px 34px;
}

.btn-cta-secondary:hover {
    background: var(--accent-color);
    color: white;
    text-decoration: none;
}

/* ===== ヒーローセクション ===== */
.btob-hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.btob-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 15px;
    opacity: 0.95;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.85;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.hero-card h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hero-card li {
    padding: 8px 0;
    font-size: 0.95rem;
    opacity: 0.9;
    position: relative;
}

.hero-card li::before {
    content: '✓';
    color: #4ade80;
    font-weight: bold;
    margin-right: 8px;
}

/* ===== サービス特長セクション ===== */
.btob-features-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.feature-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.feature-icon {
    margin-bottom: 25px;
}

.icon-bg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.feature-desc {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 6px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.feature-list li::before {
    content: '•';
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* ===== 商品カテゴリーセクション ===== */
.btob-categories-section {
    padding: 100px 0;
    background: white;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.category-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.category-link:hover {
    text-decoration: none;
    color: inherit;
}

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-icon {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.7;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 113, 177, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.view-products {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

.category-content {
    padding: 25px;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 10px;
}

.category-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.category-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-count {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.arrow {
    color: var(--primary-color);
    font-weight: bold;
    transition: var(--transition);
}

.category-card:hover .arrow {
    transform: translateX(5px);
}

/* ===== 信頼性セクション ===== */
.btob-trust-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.trust-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trust-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.9rem;
}

.trust-text h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 25px;
    line-height: 1.3;
}

.trust-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== CTAセクション ===== */
.btob-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    line-height: 1.6;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-details {
    text-align: left;
    line-height: 1.4;
}

.contact-details strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.contact-details span {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== BtoB商品ページ専用スタイル ===== */
.btob-product-main {
    background: #f8f9fa;
    padding: 40px 0;
}

.btob-product-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-main-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.btob-product {
    margin: 0;
}

.btob-summary {
    margin: 0;
}

/* BtoB価格セクション */
.btob-price-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
    border: 2px solid #e1e5e9;
}

.price-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.btob-price-section .section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2271b1;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-badge {
    background: #ffc107;
    color: #000;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-notice {
    background: #e7f3ff;
    border: 1px solid #2271b1;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.notice-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.notice-icon {
    font-size: 1.2rem;
    margin-top: 2px;
}

.notice-text strong {
    display: block;
    margin-bottom: 8px;
    color: #2271b1;
    font-size: 1rem;
}

.notice-text p {
    margin: 0;
    color: #333;
    line-height: 1.5;
}

/* BtoB アクションセクション */
.btob-action-section {
    margin-top: 30px;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.action-buttons .btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: inherit;
    text-align: left;
}

.btn-quote {
    background: #28a745;
    color: white;
}

.btn-quote:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(40, 167, 69, 0.3);
}

.btn-bulk {
    background: #17a2b8;
    color: white;
}

.btn-bulk:hover {
    background: #138496;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(23, 162, 184, 0.3);
}

.action-buttons .btn-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.btn-text strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 4px;
}

.btn-text small {
    display: block;
    opacity: 0.8;
    font-size: 0.85rem;
}

.quick-contact {
    background: white;
    border: 2px solid #2271b1;
    border-radius: 8px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.contact-label {
    color: #666;
    font-weight: 600;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2271b1;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.phone-link:hover {
    color: #1a5a8a;
    text-decoration: none;
}

.phone-icon {
    font-size: 1.2rem;
}

/* サイドバースタイル */
.btob-product-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border: 1px solid #e1e5e9;
}

.card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #2271b1;
    font-size: 1.2rem;
    font-weight: 700;
}

.title-icon {
    font-size: 1.3rem;
}

/* サービス情報 */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.service-icon {
    color: #28a745;
    font-weight: bold;
    margin-top: 2px;
    flex-shrink: 0;
}

.service-content strong {
    display: block;
    color: #333;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.service-content p {
    margin: 0;
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* 連絡先情報 */
.contact-details {
    margin-bottom: 20px;
}

.sidebar-card .contact-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-card .contact-item:last-child {
    border-bottom: none;
}

.sidebar-card .contact-label {
    color: #666;
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-value {
    font-weight: 600;
    color: #333;
}

.contact-link {
    color: #2271b1;
    text-decoration: none;
}

.contact-link:hover {
    color: #1a5a8a;
    text-decoration: underline;
}

.contact-actions {
    display: flex;
    gap: 10px;
}

.btn-info {
    background: #6c757d;
    color: white;
    padding: 8px 16px;
    font-size: 0.85rem;
    flex: 1;
    justify-content: center;
}

.btn-info:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

/* 関連商品 */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.related-item {
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.related-item:hover {
    border-color: #2271b1;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.related-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.related-link:hover {
    text-decoration: none;
    color: inherit;
}

.related-image {
    width: 60px;
    height: 60px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-content {
    padding: 10px 15px;
    flex: 1;
}

.related-title {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #333;
    line-height: 1.3;
}

.related-price {
    font-size: 0.85rem;
    color: #2271b1;
    font-weight: 600;
}

.no-related {
    color: #999;
    font-style: italic;
    text-align: center;
    margin: 0;
}

/* モーダルスタイル */
.btob-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.modal-content {
    position: relative;
    background: white;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    margin: 5vh auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    background: #f8f9fa;
    padding: 20px 30px;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    color: #2271b1;
    font-size: 1.3rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #e1e5e9;
    color: #333;
}

/* モーダルフォーム */
.modal-form {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.form-section {
    margin-bottom: 30px;
}

.form-section h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.product-summary {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e1e5e9;
}

.product-summary strong {
    display: block;
    margin-bottom: 5px;
    color: #333;
}

.product-sku {
    color: #666;
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group label {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.required {
    color: #dc3545;
}

.form-control {
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: #2271b1;
    box-shadow: 0 0 0 3px rgba(34, 113, 177, 0.1);
}

.form-group small {
    color: #666;
    font-size: 0.8rem;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1rem;
}

.form-actions .btn-primary {
    background: #2271b1;
    color: white;
    flex: 1;
}

.form-actions .btn-primary:hover {
    background: #1a5a8a;
    color: white;
    text-decoration: none;
}

.form-actions .btn-secondary {
    background: #6c757d;
    color: white;
    padding: 15px 25px;
}

.form-actions .btn-secondary:hover {
    background: #5a6268;
    color: white;
    text-decoration: none;
}

/* ===== レスポンシブ対応 ===== */
@media (max-width: 1024px) {
    .btob-product-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .product-main-content {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .trust-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .trust-stats {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 20px;
    }
    
    .col-full {
        padding: 0 15px;
    }
    
    /* BtoB商品ページレスポンシブ */
    .btob-product-main {
        padding: 20px 0;
    }
    
    .btob-product-container {
        padding: 0 15px;
    }
    
    .product-main-content {
        padding: 20px;
    }
    
    .btob-price-section {
        padding: 20px;
    }
    
    .action-buttons {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .action-buttons .btn {
        padding: 15px;
    }
    
    .quick-contact {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .sidebar-card {
        padding: 20px;
    }
    
    .contact-actions {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .modal-content {
        width: 95%;
        margin: 2vh auto;
        max-height: 96vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-form {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .trust-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 15px 30px;
        font-size: 16px;
    }
    
    /* BtoB商品ページ小画面 */
    .price-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .btob-price-section .section-title {
        font-size: 1.2rem;
    }
    
    .btn-text strong {
        font-size: 0.9rem;
    }
    
    .btn-text small {
        font-size: 0.8rem;
    }
    
    .service-item {
        align-items: flex-start;
    }
    
    .sidebar-card .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* ===== アニメーション ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.feature-item,
.category-card,
.stat-item {
    animation: fadeInUp 0.6s ease-out;
}

.btob-modal.show .modal-content {
    animation: modalSlideIn 0.3s ease-out;
}

/* ===== アクセシビリティ ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.btn:focus,
.category-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* プリント対応 */
@media print {
    .btob-product-sidebar,
    .btob-action-section,
    .btob-modal {
        display: none;
    }
    
    .btob-product-container {
        grid-template-columns: 1fr;
    }
    
    .product-main-content {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
