/* ============================================
   HTMLタブ切り替えの基本実装サンプル - スタイルシート
   ============================================ */

/* リセット & ベーススタイル */
.tab-container * {
    box-sizing: border-box;
}

:root {
    /* カラーパレット */
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --primary-light: #8b9ef7;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* WordPress記事本文用: コンテナクラスでスコープを限定 */
.tab-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Meiryo', sans-serif;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    animation: fadeIn 0.6s ease-in;
}

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

/* ヘッダー */
.tab-container header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tab-container header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 40px 40px;
    animation: movePattern 30s linear infinite;
}

@keyframes movePattern {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(40px, 40px);
    }
}

.tab-container header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    animation: slideDown 0.8s ease-out;
    font-weight: 700;
}

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

.tab-container .subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

/* 目次 */
.tab-container .toc {
    background: var(--card-bg);
    padding: 35px 40px;
    border-bottom: 3px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.tab-container .toc h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
    font-weight: 700;
}

.tab-container .toc ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0;
}

.tab-container .toc li {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.tab-container .toc li:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-md);
}

.tab-container .toc a {
    display: block;
    padding: 12px 24px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tab-container .toc a:hover {
    color: #f0f0f0;
}

/* セクション */
.tab-container .section {
    padding: 50px 40px;
    animation: fadeInUp 0.8s ease-out;
}

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

.tab-container .section h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
    font-weight: 700;
}

.tab-container .section h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 120px;
    height: 3px;
    background: var(--secondary-color);
    animation: expandWidth 1s ease-out;
    border-radius: 2px;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 120px;
    }
}

/* プロパティカード */
.tab-container .prop-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tab-container .prop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    transition: width 0.4s ease;
}

.tab-container .prop-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.tab-container .prop-card:hover::before {
    width: 100%;
    opacity: 0.05;
}

.tab-container .prop-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.tab-container .description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 2;
    position: relative;
    z-index: 1;
}

/* 情報ボックス */
.info-box {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 15px;
    padding: 25px;
    margin-top: 25px;
    border-left: 5px solid var(--primary-color);
}

.info-box h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 700;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: var(--text-primary);
}

.benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* コード例 */
.code-example {
    background: #1e293b;
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    overflow-x: auto;
}

.code-example h4 {
    color: #e2e8f0;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.code-example pre {
    margin: 0;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-example code {
    color: #e2e8f0;
}

/* 構造図 */
.structure-visual {
    margin: 30px 0;
}

.structure-diagram {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 30px;
    border: 2px dashed var(--border-color);
}

.diagram-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.diagram-tab {
    padding: 12px 24px;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.diagram-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.diagram-content {
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 30px;
    min-height: 150px;
}

.diagram-content-inner {
    color: var(--text-secondary);
    text-align: center;
    font-weight: 600;
}

/* 説明ボックス */
.explanation-box {
    margin: 25px 0;
}

.explanation-item {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary-color);
}

.explanation-item strong {
    color: var(--primary-color);
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.explanation-item p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.8;
}

/* data属性デモ */
.data-attribute-demo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.demo-item {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid var(--border-color);
}

.demo-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.demo-code {
    background: #1e293b;
    border-radius: 8px;
    padding: 15px;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.demo-code p {
    margin-top: 10px;
    color: var(--text-secondary);
    font-family: inherit;
}

/* アニメーションタイプ */
.animation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.animation-type {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.animation-type h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.animation-preview {
    height: 120px;
    border-radius: 12px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.preview-content {
    padding: 20px;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    font-weight: 600;
}

.fade-preview .preview-content {
    animation: fadeInDemo 2s ease-in-out infinite;
}

@keyframes fadeInDemo {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

.slide-preview .preview-content {
    animation: slideDemo 2s ease-in-out infinite;
}

@keyframes slideDemo {
    0%, 100% {
        transform: translateX(-20px);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
}

.scale-preview .preview-content {
    animation: scaleDemo 2s ease-in-out infinite;
}

@keyframes scaleDemo {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

.animation-code {
    background: #1e293b;
    border-radius: 8px;
    padding: 15px;
    overflow-x: auto;
}

.animation-code pre {
    margin: 0;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
}

/* タブボタンアニメーションデモ */
.tab-button-animations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.button-animation-demo {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid var(--border-color);
}

.button-animation-demo h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.demo-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.demo-tab-btn {
    padding: 12px 24px;
    border: 2px solid var(--border-color);
    background: var(--card-bg);
    border-radius: 8px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-tab-btn:hover {
    background: var(--bg-color);
    transform: translateY(-2px);
}

.demo-tab-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.underline-demo.active {
    position: relative;
    background: var(--card-bg);
    color: var(--primary-color);
}

.underline-demo.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    animation: underlineSlide 0.3s ease;
}

@keyframes underlineSlide {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.bg-demo.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-color: transparent;
}

/* スタイリングのコツ */
.styling-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tip-item {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 25px;
    border-left: 5px solid var(--primary-color);
}

.tip-item h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.tip-item ul {
    list-style: none;
    padding: 0;
}

.tip-item li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.tip-item li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

/* カラー例 */
.color-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.color-example {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid var(--border-color);
}

.color-example h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.example-tabs {
    display: flex;
    gap: 10px;
}

.example-tab {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gradient-tab {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

.gradient-tab.active {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.colorful-tab {
    color: white;
}

.colorful-tab.color1 {
    background: #ff6b6b;
}

.colorful-tab.color2 {
    background: #4ecdc4;
}

.colorful-tab.color3 {
    background: #ffe66d;
    color: var(--text-primary);
}

.colorful-tab.active {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* タブ実装サンプル */
.tab-wrapper {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-md);
    margin: 30px 0;
}

.tab-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: all 0.3s ease;
    font-family: inherit;
}

.tab-btn:hover {
    background: var(--bg-color);
    color: var(--primary-color);
}

.tab-btn.active {
    color: var(--primary-color);
    background: var(--bg-color);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px 3px 0 0;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.tab-contents {
    position: relative;
    min-height: 200px;
}

.tab-content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: fadeInUp 0.4s ease;
}

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

.tab-content h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.tab-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.8;
}

/* コンテンツボックス */
.content-box {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 25px;
    margin-top: 20px;
}

.info-item, .setting-item, .stat-item, .comment-item {
    padding: 15px;
    background: var(--card-bg);
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.info-item:hover, .setting-item:hover, .stat-item:hover, .comment-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-sm);
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 600;
}

.stat-value {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

.comment-author {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.comment-text {
    color: var(--text-secondary);
}

/* アニメーション付きタブ */
.animated-tabs .tab-btn.animated {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: 25px;
    padding: 12px 28px;
    transition: all 0.3s ease;
}

.animated-tabs .tab-btn.animated:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.animated-tabs .tab-btn.animated.active {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    box-shadow: var(--shadow-md);
}

.animated-tabs .tab-content.animated-content {
    animation: slideInContent 0.4s ease;
}

@keyframes slideInContent {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.design-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.showcase-item {
    height: 100px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.showcase-item:hover {
    transform: scale(1.1) rotate(5deg);
}

.code-showcase {
    background: #1e293b;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    overflow-x: auto;
}

.code-showcase pre {
    margin: 0;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
}

.implementation-steps {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.step-item {
    flex: 1;
    min-width: 150px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-5px) scale(1.05);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.step-text {
    font-weight: 600;
}

/* コツとベストプラクティス */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.tip-card {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 25px;
    border: 2px solid var(--border-color);
    border-left: 5px solid var(--success-color);
    transition: all 0.3s ease;
}

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

.tip-card h4 {
    color: var(--success-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

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

.tip-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.tip-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* 問題と解決方法 */
.problems-solutions {
    margin: 30px 0;
}

.problem-item {
    background: var(--bg-color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
    border-left: 5px solid var(--danger-color);
}

.problem-item h4 {
    color: var(--danger-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.solution {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 20px;
    margin-top: 15px;
}

.solution strong {
    color: var(--success-color);
    display: block;
    margin-bottom: 10px;
}

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

.solution li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.solution li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* フッター */
.tab-container footer {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 40px;
    font-size: 1.1rem;
    font-weight: 500;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .tab-container {
        margin: 10px;
        border-radius: 15px;
    }

    .tab-container header h1 {
        font-size: 2rem;
    }

    .tab-container .subtitle {
        font-size: 1rem;
    }

    .tab-container .section {
        padding: 25px 20px;
    }

    .tab-container .section h2 {
        font-size: 2rem;
    }

    .tab-container .prop-card {
        padding: 25px;
    }

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

    .tab-btn {
        width: 100%;
        border-radius: 8px;
        margin-bottom: 5px;
    }

    .tab-btn.active::after {
        display: none;
    }

    .tab-container .toc ul {
        flex-direction: column;
    }

    .tab-container .toc li {
        width: 100%;
    }
}

/* スクロールバーのスタイリング */
.tab-container ::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

.tab-container ::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.tab-container ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 10px;
    border: 2px solid #f1f5f9;
}

.tab-container ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
}

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

/* 印刷スタイル */
@media print {
    .tab-container {
        background: white;
        box-shadow: none;
    }

    .tab-container .prop-card {
        break-inside: avoid;
    }
}

