/* ====================
   名刺デザイン表示ページ用CSS
   ==================== */

:root {
    --primary-color: #1B4332;
    --primary-light: #2D6A4F;
    --accent-color: #40916C;
    --accent-light: #52B788;
    --text-primary: #333333;
    --text-secondary: #666666;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F0ED 100%);
}

/* ヘッダー */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-align: center;
    padding: 60px 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 900;
}

.page-header p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    opacity: 0.95;
}

.btn-back {
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 700;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

/* コンテナ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* デザインセクション */
.design-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

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

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 900;
}

.description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* カード表示 */
.card-display {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.card-item {
    text-align: center;
}

.card-label {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 900;
}

.card-image-wrapper {
    background: #F8F9FA;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    margin-bottom: 15px;
}

.card-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    transition: transform 0.3s ease;
}

.card-image:hover {
    transform: scale(1.02);
    cursor: pointer;
}

.card-note {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* 印刷ガイド */
.print-guide {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFAED 100%);
    border: 3px solid #FFD700;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 60px;
}

.print-guide h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 900;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.guide-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.guide-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.guide-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.guide-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.print-services {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.print-services h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.print-services ul {
    list-style: none;
}

.print-services li {
    padding: 10px 0;
    border-bottom: 1px solid #E0E0E0;
    color: var(--text-secondary);
}

.print-services li:last-child {
    border-bottom: none;
}

/* 比較表 */
.comparison {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.comparison h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 900;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
    padding: 20px;
    text-align: left;
    border-bottom: 1px solid #E0E0E0;
}

.comparison-table thead th {
    background: var(--primary-color);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table tbody tr:hover {
    background: #F8F9FA;
}

.comparison-table td:first-child {
    font-weight: 700;
    color: var(--primary-color);
}

/* 注意事項 */
.notes {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.notes h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 900;
}

.notes ul {
    list-style: none;
    padding-left: 0;
}

.notes li {
    padding: 15px 20px;
    margin-bottom: 10px;
    background: #F8F9FA;
    border-left: 5px solid var(--accent-color);
    border-radius: 5px;
    color: var(--text-secondary);
}

/* フッター */
.page-footer {
    background: var(--primary-color);
    color: white;
    text-align: center;
    padding: 40px 20px;
    margin-top: 60px;
}

.page-footer p {
    margin-bottom: 10px;
}

.page-footer a {
    color: var(--accent-light);
    text-decoration: none;
    font-weight: 700;
}

.page-footer a:hover {
    text-decoration: underline;
}

/* レスポンシブ */
@media (max-width: 1024px) {
    .guide-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8rem;
    }
    
    .card-display {
        grid-template-columns: 1fr;
    }
    
    .design-section,
    .print-guide,
    .comparison,
    .notes {
        padding: 30px 20px;
    }
    
    .section-header h2,
    .print-guide h2,
    .comparison h2,
    .notes h2 {
        font-size: 1.8rem;
    }
    
    .comparison-table {
        font-size: 0.9rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
    }
}
