/* 基本スタイル */
:root {
    --primary-color: #4a6fb5;
    --secondary-color: #f39237;
    --accent-color: #de4c8a;
    --background-color: #f9f9f9;
    --text-color: #333;
    --light-gray: #e0e0e0;
    --box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --warning-color: #ffc107;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding: 0;
    margin: 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* ヘッダー */
.container header {
    text-align: center;
    margin-bottom: 15px;
}

.header-image {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
}

.container h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.2;
}

/* 目次スタイル */
.toc-container {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
    border-left: 5px solid var(--secondary-color);
}

.toc-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.toc-title .emoji {
    margin-right: 10px;
}

.toc-container .toc-list,
.toc-container .sub-toc-list {
    margin: 0;
    padding: 0;
}

.toc-list {
    list-style-type: none !important;
    font-size: 1.1rem !important;
}

.toc-list li {
    margin-bottom: 12px !important;
    padding-left: 20px;
    position: relative;
}

.toc-list li:before {
    content: "▶";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
}

.toc-list a {
    color: var(--primary-color) !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.toc-list a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.sub-toc-list {
    list-style-type: none !important;
    margin-top: 8px;
    margin-left: 15px;
}

.sub-toc-list li {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

/* セクション共通 */
.container section {
    margin-bottom: 60px;
    background-color: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
}

.container h2 {
    font-size: 1.8rem !important;
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 25px !important;
    display: flex;
    align-items: center;
}

h2 .emoji {
    margin-left: 10px;
    font-size: 1.6rem;
}

.container h3 {
    font-size: 1.4rem !important;
    color: var(--accent-color);
    margin: 25px 0 15px;
    display: flex;
    align-items: center;
}

h3 .emoji {
    margin-right: 10px;
    font-size: 1.4rem;
}

.container h4 {
    font-size: 1.2rem !important;
    color: var(--primary-color);
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
}

h4 .emoji {
    margin-right: 8px;
    font-size: 1.2rem;
}

.container p {
    margin-bottom: 20px !important;
    font-size: 1.1rem !important;
}

/* 強調ボックス */
.highlight-box {
    background-color: #f0f7ff;
    border-left: 5px solid var(--primary-color);
    padding: 15px;
    margin: 25px 0;
    border-radius: 5px;
    text-align: left;
}

.highlight-box strong {
    color: var(--primary-color);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 5px;
}

.container .highlight-box p {
    margin-bottom: 0px !important;
}


/* 想像セクション */
.imagination-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.imagination-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="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.imagination-section h2 {
    font-size: 3rem !important;
    margin-bottom: 20px !important;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.imagination-section > p {
    font-size: 1.4rem !important;
    margin-bottom: 50px !important;
    line-height: 1.7 !important;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.imagination-section > p:last-child {
    margin-top: 50px;
    font-size: 1.3rem;
    background: rgba(0,0,0,0.2);
    padding: 25px;
    border-radius: 15px;
    border-left: 5px solid #ffd700;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.scenario-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    counter-reset: scenario-counter; /* ここでカウンタをリセット */
}

.scenario-item {
    background: #ffffff; /* 単一の背景色に変更 */
    padding: 30px 20px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.scenario-item::before {
    counter-increment: scenario-counter; /* カウンタをインクリメント */
    content: "0" counter(scenario-counter); /* カウンタの値を表示（例: "01", "02"） */
    position: absolute;
    top: 15px; /* 上からの位置 */
    left: 20px; /* 左からの位置 */
    font-size: 1.8rem; /* 大きめのフォントサイズ */
    font-weight: bold;
    color: var(--secondary-color);
    /* text-shadow: 1px 1px 2px rgba(0,0,0,0.1); */ /* 必要であれば影 */
    z-index: 2; /* コンテンツより前面に */
    opacity: 0.7; /* わずかに透明度を持たせる */
}

.scenario-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: #ffd700;
}

.scenario-item div {
    margin-bottom: 15px;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.1));
}

.scenario-item-icon {
    font-size: 3rem;
}

.scenario-item p {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.5;
    margin: 0;
}


/* トラブル事例の各ケース */
.case-section {
    margin-bottom: 40px;
    border: 1px solid #e0e0e0;
    padding: 25px;
    border-radius: 8px;
    background-color: #fafafa;
}

.case-item {
    margin-bottom: 30px;
}

/* 商標比較のスタイル */
.trademark-comparison {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.trademark-item {
    flex: 1;
    max-width: 350px;
    min-width: 280px;
    text-align: center;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}
.trademark-image {
    width: 100%;
    width: 300px !important;
    height: 300px !important;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-bottom: 15px;
    background-color: #fafafa;
}
.trademark-info {
    text-align: left;
    font-size: 0.9em;
    line-height: 1.6;
}
.trademark-info .owner {
    font-weight: bold;
    color: #2b608a;
    margin-bottom: 8px;
    display: block;
}
.trademark-info .scope {
    color: #555;
}

/* 事前知識のボックス */
.case-details {
    display: flex; /* flexコンテナを維持 */
    flex-direction: column; /* 常に縦方向に並べる */
    gap: 20px; /* ボックス間のスペース */
    margin-bottom: 25px;
    align-items: center; /* 中央寄せにする場合 */
}

.detail-box {
    width: 100%; /* 親要素の幅いっぱいに広がる */
    max-width: 700px; /* 広いPC画面で広がりすぎないように最大幅を設定（コンテンツ幅に合わせて調整） */
    background-color: #eaf6fa;
    border-left: 4px solid #8fc9e0;
    padding: 15px;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.detail-box strong {
    color: #2b608a;
    display: block;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px;
}

/* 何が起きた？どうなった？ポイント */
.what-happened, .outcome, .key-point {
    background-color: #fffaf0; /* 薄い黄色の背景 */
    border: 1px dashed #ffd700; /* 金色の点線ボーダー */
    padding: 15px 20px;
    margin-top: 20px;
    border-radius: 6px;
}

.what-happened strong, .outcome strong, .key-point strong {
    font-size: 1.1em;
    color: #d9534f; /* 赤系の強調色 */
    margin-right: 5px;
}

/* エモジのカラー調整 */
.outcome .emoji, .key-point .emoji {
    color: #d9534f; /* 赤系のエモジ */
}


/* 動画を左右に並べるためのコンテナ */
.video-pre {
    color: #2c3e50;
    font-weight: bold;
    margin: 3rem 0;            /* さらに上下の余白を拡大 */
    padding: 1rem 0;
    border-bottom: 2px solid #2c3e50;
    text-align: center;
}
  
.container p.video-pre {
    font-size: 1.4rem !important;
}

.video-pre .highlight2 {
    padding: 0.2rem 0.5rem;    
    border-radius: 4px;
    color: #2c3e50;            /* テキストカラーを全体の色に合わせ、控えめな印象に */
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);  /* 影も控えめに */
}
  
.video-pre .before {
    background-color: rgba(52, 152, 219, 0.2);   /* 鮮やかさを控えた青 */
}
  
.video-pre .after {
    background-color: rgba(231, 76, 60, 0.2);     /* 鮮やかさを控えた赤 */
}
  
  
.videos-side-by-side {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px auto;
    max-width: 1200px;
    flex-wrap: nowrap; /* 折り返しを無効にして必ず横並びに */
}

/* 各動画コンテナ */
.video-item {
    flex: 1;
    /* width: calc(50% - 12.5px); */
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 1px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

.video-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.video-item p {
    font-weight: bold;
    margin-bottom: 15px;
    color: #2b608a;
    font-size: 1.1em;
    padding: 8px 12px;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border-radius: 8px;
    border-left: 4px solid #2b608a;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 アスペクト比 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.trademark-type-caption {
    font-size: 0.85em;
    color: #666;
    margin-top: 12px;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 6px;
    font-style: italic;
}


/* どうしてこんなことが起こるの？セクション */
#why .reason-list ul {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

#why .reason-list li {
    background-color: #f0f8f8; /* 薄い水色の背景 */
    border-left: 6px solid #8fc9e0;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#why .reason-list li strong {
    font-size: 1.5em;
    color: #2b608a; /* 濃い青色 */
    display: block;
    margin-bottom: 8px;
}



.quiz-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 40px;
    max-width: 800px;
    /* width: 100%; */
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.quiz-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 400% 400%;
    animation: gradientFlow 3s ease-in-out infinite;
}

.quiz-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.quiz-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    display: inline-block;
    animation: bounce 2s ease-in-out infinite;
}

.quiz-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2c3e50, #3498db);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    line-height: 1.2;
}

.quiz-subtitle {
    font-size: 1.2rem;
    color: #34495e;
    font-weight: 500;
    margin-bottom: 32px;
}

.question-card {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(155, 89, 182, 0.1));
    border: 2px solid rgba(52, 152, 219, 0.2);
    border-radius: 20px;
    padding: 32px;
    margin-bottom: 32px;
    position: relative;
    overflow: hidden;
}

.question-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(52, 152, 219, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

.question-text {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    text-align: center;
    position: relative;
    z-index: 1;
}

.danger-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 16px auto 10px auto;
    width: fit-content;
}

.danger-dot {
    width: 8px;
    height: 8px;
    background: #e74c3c;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

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

.option-button {
    background: linear-gradient(135deg, #8fc9e0, #7bb3d0);
    color: white;
    border: none;
    padding: 24px 20px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(143, 201, 224, 0.3);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.option-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.option-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
}

.option-button:hover::before {
    left: 100%;
}

.option-button.selected {
    background: linear-gradient(135deg, #3498db, #2980b9);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.option-button.correct {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.4);
    animation: correctPulse 0.6s ease;
}

.option-button.incorrect {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    animation: shake 0.6s ease;
}

.option-label {
    font-size: 2rem;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.option-text {
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
}

.result-panel {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(39, 174, 96, 0.1));
    border: 2px solid rgba(46, 204, 113, 0.3);
    border-radius: 20px;
    padding: 32px;
    margin-top: 32px;
    text-align: center;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.5s ease;
}

.result-panel.show {
    transform: scale(1);
    opacity: 1;
}

.result-panel.incorrect-result {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.1), rgba(192, 57, 43, 0.1));
    border-color: rgba(231, 76, 60, 0.3);
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    display: inline-block;
}

.container h3.result-title {
    font-size: 2rem !important;
    font-weight: 800 !important;
    margin-bottom: 16px;
    justify-content: center;
}

.container p.result-text {
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    color: #2c3e50;
}

.retry-button {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.3);
}

.retry-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(155, 89, 182, 0.4);
}

.stats-display {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #3498db;
}

.stat-label {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 4px;
}

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

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes correctPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}


#benefits {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}


.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.benefit-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    text-align: center;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    animation: float 3s ease-in-out infinite;
}

.benefit-card:nth-child(1) .benefit-icon { animation-delay: 0s; }
.benefit-card:nth-child(2) .benefit-icon { animation-delay: 0.5s; }
.benefit-card:nth-child(3) .benefit-icon { animation-delay: 1s; }
.benefit-card:nth-child(4) .benefit-icon { animation-delay: 1.5s; }

.benefit-title {
    font-size: 2.0rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.benefit-description {
    color: #555;
    font-size: 1rem;
    text-align: center;
    line-height: 1.7;
}

.benefit-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}



#roi {
    max-width: 1200px;
    margin: 0 auto 60px auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards;
}

.roi-subtitle {
    text-align: center;
}

#roi .roi-subtitle {
    font-size: 1.3rem !important;
}

/* 左右2カラム */
.comparison-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    align-items: start;
    margin-top: 2rem;
}

.cost-card {
    background: white;
    border-radius: 24px;
    padding: 1.2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.cost-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.2);
}

.cost-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    /* background: linear-gradient(90deg, #27ae60, #2ecc71); */
    background: var(--primary-color)
}

.trouble-card::before {
    /* background: linear-gradient(90deg, #e74c3c, #c0392b); */
    background: #e67e22;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

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

.card-title {
    font-size: 1.5rem !important;
    font-weight: 700;
    color: #2c3e50 !important;
    margin-bottom: 0.5rem !important;
    justify-content: center;
}

.card-title2 {
    border-bottom: 3px solid var(--primary-color) !important;
}

.card-subtitle {
    color: #7f8c8d;
    font-size: 1rem;
}

.cost-item {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
}

.registration-card .cost-item {
    border-left-color: var(--primary-color);
}

.trouble-card .cost-item {
    border-left-color: #e67e22;
}

.cost-item:hover {
    background: #ecf0f1;
    transform: translateX(5px);
}

.item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.item-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.item-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.item-cost {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.cost-item-etc, .cost-item-toroku-etc {
    color: #e67e22;
    margin: 0 0 0 0;
    text-align: right;
}

#roi .cost-item-etc, #roi .cost-item-toroku-etc {
    font-size: 0.9rem !important;
}


.cost-item-toroku-etc a {
    color: #1e90ff !important;              /* 青色に変更 */
    text-decoration: underline;  /* 下線を付けてリンクであることを明示 */
    cursor: pointer;             /* マウスオーバーでポインターに変更 */
}

.cost-item-toroku-etc a:hover {
    color: #007acc;              /* ホバー時はやや濃い青 */
    text-decoration: none;       /* ホバー時に下線を外すなどの演出も可能 */
}

.registration-card .item-cost {
    color: var(--primary-color);
}

.trouble-card .item-cost {
    color: #e67e22;
}

.item-description {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.4;
}

.vs-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 11rem;
}

.vs-text {
    background: white;
    color: #e67e22;
    font-size: 2.5rem;
    font-weight: 900;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(230, 126, 34, 0.3);
    transform: rotate(-5deg);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: rotate(-5deg) scale(1); }
    50% { transform: rotate(-5deg) scale(1.05); }
}

.total-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 3rem;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.total-title {
    color: #2c3e50 !important;
    font-weight: 600 !important;
    margin-bottom: 3rem !important;
    justify-content: center;
}

.container h3.total-title {
    font-size: 2.5rem !important;
}

.total-comparison {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
}

.total-item {
    flex: 1;
    padding: 1rem;
    border-radius: 12px;
}

.total-safe {
    background: #f8f9fa;
    color: var(--primary-color);
}

.total-danger {
    background: #f8f9fa;
    color: #e67e22;
}

.total-amount {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.total-label {
    font-size: 1rem;
    font-weight: 500;
}


.highlight-box2 {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 1.5rem;
    border-radius: 16px;
    margin-top: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(238, 90, 111, 0.3);
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.highlight-subtext {
    font-size: 1rem;
    opacity: 0.9;
}



.line-break {
    display: block;
    margin-top: 0.2rem;
}


/* 最後に */
#summary {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    /* width: 100%; */
    text-align: center;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    transform: translateY(20px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

#summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3);
    background-size: 400% 400%;
    animation: gradientShift 3s ease-in-out infinite;
}

#summary .final-message h3 {
    font-size: 2rem !important;
    font-weight: 800 !important;
    margin: 100px auto 50px auto;
    justify-content: center;
    color: #e67e22 !important;
}

.brand-emphasis {
    display: inline-block;
    background: var(--warning-color);
    padding: 12px 24px;
    border-radius: 16px;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 15px 0;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.final-message p.protection-text {
    display: inline !important;
    font-size: 1.1rem !important;
    margin: 0 5px; /* 左右に少しの余白を追加 */
    opacity: 0.95;
}

#summary .protection-text p {
    font-size: 1.1rem !important;
    margin-top: 15px;
    opacity: 0.95;
}


#summary .cta-section {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.08), rgba(251, 191, 36, 0.05));
    border: 2px solid rgba(245, 158, 11, 0.15);
    border-radius: 20px;
    padding: 35px 30px;
    margin: 30px 40px;
    position: relative;
    overflow: hidden;
}

#summary .cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--warning-color), #fbbf24);
}

#summary .partner-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 25px;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--text-dark);
}

#summary .partner-intro .icon {
    font-size: 1.3rem;
}

#summary .service-description {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 30px;
    line-height: 1.5;
}

#summary .cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #c53588, #60a5fa);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(197, 53, 136, 0.3);
    margin-bottom: 15px;
}

#summary .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(197, 53, 136, 0.4);
}

#summary .transition-info {
    font-size: 0.85rem;
    color: #9ca3af;
    font-weight: 900;
}

#summary .brand-protection {
    margin: 40px 0 30px 0;
}

#summary .brand-text {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

#summary .brand-emphasis {
    display: inline-block;
    background: var(--warning-color);
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-color), #60a5fa);
    color: white;
    border: none;
    padding: 20px 48px;
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 60px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.5);
}

.cta-button:active {
    transform: translateY(-1px);
}



.urgency-indicator {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 20px 30px;
    margin: 100px auto 0;
    max-width: 650px;
    color: var(--text-dark);
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.urgency-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    animation: shimmer-next 4s infinite;
}

@keyframes shimmer-next {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.next-article-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.next-article-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color), #60a5fa);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 2.3rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
    .trademark-comparison {
        gap: 13px;
    }

    .trademark-item {
        padding: 15px;
    }

    .container p.video-pre {
        font-size: 1.3rem !important;
    }

    #why h2 {
        font-size: 1.7rem !important
    }

    .item-description {
        font-size: 0.79rem;
    }
    

}

@media (max-width: 834px) {

    .p-entry__inner--narrow {
        width: 90% !important;
    }

    #intro h2 {
        font-size: 2.5rem !important
    }

    .imagination-section > p {
        font-size: 1.3rem !important;
    }

    .trademark-item {
        max-width: 260px;
        min-width: 250px;
    }
    
    .trademark-image {
        width: 250px !important;
        height: 250px !important;
    }
        
    .container p.video-pre {
        font-size: 1.2rem !important;
    }

    #why h2 {
        font-size: 1.5rem !important
    }

    .vs-text {
        font-size: 1.5rem;
    }

    #roi .cost-item-toroku-etc {
        font-size: 0.8rem !important;
    }    
    
    .cost-item {
        padding: 0.6rem;
    }

}

@media (max-width: 820px) {

    .p-entry__inner--narrow {
        width: 95% !important;
    }

}

@media (max-width: 768px) {

    #intro h2 {
        font-size: 2.4rem !important
    }

    .imagination-section > p {
        font-size: 1.2rem !important;
    }

    .trademark-item {
        max-width: 240px;
        min-width: 230px;
    }
    
    .trademark-image {
        width: 250px !important;
        height: 250px !important;
    }
    
    #case-shop h3 {
        font-size: 1.3rem !important;
    }

    .container p.video-pre {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 760px) {
    #why h2 {
        font-size: 1.4rem !important
    }
}

@media (max-width: 744px) {
    .trademark-info .owner {
        font-size: 0.8rem;
    }

    .case-item .key-point {
        font-size: 1.05rem !important;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    #roi h2 {
        font-size: 1.7rem !important;
    }

    .vs-text {
        font-size: 1.1rem;
        padding: 0.5rem 0.75rem;
    }

    .item-label {
        font-size: 1.0rem;
    }

    .item-description {
        font-size: 0.75rem;
    }
    
        
}

@media (max-width: 700px) {
    .container {
        padding: 5px;
    }

    .container section {
        padding: 10px 7px;
    }

    .toc-container {
        padding: 10px;
    }
    
    .toc-list {
        font-size: 0.95rem !important;
    }
    
    #intro h2 {
        font-size: 1.7rem !important
    }
    
    .scenario-list {
        gap: 10px;
        margin-top: 30px;
    }
    
    .scenario-item {
        padding: 10px 5px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    }
    
    .container p {
        margin-bottom: 8px !important;
        font-size: 0.85rem !important;
    }

    .case-item h4 {
        font-size: 1.15rem !important;
    }
    
    .trademark-comparison {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    /* .trademark-item {
        max-width: 100%;
    } */

    .case-item .key-point {
        font-size: 0.9rem !important;
    }

    .detail-box {
        font-size: 0.85em;
    }
    
    /* モバイルでは動画を縦に並べる */
    .videos-side-by-side {
        flex-direction: column;
        gap: 25px;
        padding: 0 10px;
    }
    
    .video-item {
        width: 100%;
        margin-bottom: 20px;
    }

    .video-item p {
        font-size: 1em;
    }


    #why .reason-list li strong {
        font-size: 1.15em;
    }
    

    .quiz-container {
        max-width: 640px;
        padding: 24px;
        margin: 16px;
    }
    
    .quiz-title {
        font-size: 1.7rem !important;
    }
    
    .quiz-subtitle {
        font-size: 1.1rem;
    }
    
    .question-text {
        font-size: 1.1rem;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
            
    .option-button {
        padding: 20px 24px;
        font-size: 1rem;
    }
    
    .stats-display {
        gap: 20px;
    }

    .result-panel {
        padding: 15px;
    }

    .result-icon {
        font-size: 3rem;
        margin-bottom: 0px;
    }
    
    #benefits {
        padding: 40px 10px;
        margin: 10px;
    }

    #benefits h2 {
        font-size: 1.7rem !important;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card {
        padding: 10px;
    }

    .benefit-icon {
        font-size: 2.5rem;
        margin-bottom: 0px;
    }
    
    .benefit-description {
        margin-bottom: 15px;
    }


    #roi .roi-subtitle {
        font-size: 1.2rem !important;
    }
    
    .comparison-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .vs-divider {
        order: 2;
        margin: 1rem 0;
    }
    
    .trouble-card {
        order: 3;
    }
    
    .cost-card {
        padding: 2rem;
    }
    
    .cost-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    #roi .card-subtitle {
        font-size: 1.2rem !important;
    }

    #roi .item-header {
        margin-bottom: 0;
    }

    #roi .item-label {
        font-size: 1.5rem !important;
    }    

    #roi .item-description {
        font-size: 1.00rem;
    }

    #roi .cost-item-toroku-etc {
        font-size: 1.00rem !important;
    }

    .vs-text {
        font-size: 2.0rem;
        padding: 1.0rem 1.5rem;
    }


    .total-section {
        padding: 1rem;
    }
    
    .total-title {
        margin-bottom: 3rem !important;
    }
    
    .container h3.total-title {
        font-size: 1.8rem !important;
    }


    /* .total-comparison {
        flex-direction: column;
        gap: 1rem;
    } */

    .total-comparison {
        gap: 0rem;
    }
    
    .total-item {
        padding: 0rem;
    }
    
    .total-amount {
        font-size: 1.3rem;
    }
    
    .highlight-box2 {
        padding: 1rem;
    }
    
    .highlight-text {
        font-size: 1.1rem;
    }
    
    .highlight-subtext {
        font-size: 0.9rem;
    }

    
    #summary {
        padding: 32px 5px;
        margin: 5px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }    

    #summary .final-message h3 {
        font-size: 1.2rem !important;
    }

    #summary .brand-emphasis {
        display: block;
        margin: 0.2rem 8rem;
    }
    
    #summary .cta-section {
        padding: 35px 10px;
        margin: 30px 15px;
    }
    
    #summary .partner-intro {
        gap: 6px;
        font-size: 1.0rem !important;
    }
    
    #summary .partner-intro .icon {
        font-size: 1.1rem;
    }
    
    #summary .service-description {
        font-size: 0.9rem;
    }

    #summary .cta-button {
        display: inline-block;
        background: linear-gradient(135deg, #c53588, #60a5fa);
        color: white;
        border: none;
        padding: 18px 35px;
        font-size: 1.0rem;
        font-weight: 700;
        border-radius: 50px;
        cursor: pointer;
        transition: var(--transition);
        box-shadow: 0 8px 25px rgba(197, 53, 136, 0.3);
        margin-bottom: 15px;
    }

    #summary .transition-info {
        font-size: 0.73rem;
    }
    
    .urgency-indicator {
        font-size: 1rem;
        padding: 18px 20px;
        margin: 25px auto 0;
    }

    .next-article-content {
        flex-direction: column;
        text-align: center;
    }

}


@media (max-width: 390px) {
    .toc-container {
        padding: 5px;
    }
    
    #intro h2 {
        font-size: 1.5rem !important
    }

    .scenario-item {
        padding: 10px 5px;
    }
    
    .scenario-item::before {
        top: 0px; /* 上からの位置 */
        left: 10px; /* 左からの位置 */
    }
    
    #intro .scenario-item p {
        font-size: 0.75rem !important;
    }

    .container p {
        margin-bottom: 8px !important;
        font-size: 0.85rem !important;
    }

    #cases h2 {
        font-size: 1.5rem !important;
    }

    #cases h3 {
        font-size: 1.25rem !important;
    }

    .detail-box strong {
        font-size: 1.1em;
    }

    #why .reason-list li strong {
        font-size: 1.05em;
    }
    
    .quiz-container {
        padding: 24px;
        margin: 10px;
    }
    

    #roi .roi-subtitle {
        font-size: 1.1rem !important;
    }
    
    .cost-card {
        padding: 1.5rem;
    }
    

    .total-section {
        padding: 0.5rem;
    }
    
    .highlight-box2 {
        padding: 0.5rem;
    }
    
    
    #summary h2 {
        font-size: 2rem !important;
    }

    #summary .final-message h3 {
        font-size: 1.15rem !important;
    }

    #summary .cta-section {
        padding: 35px 8px;
    }
        
    .urgency-indicator {
        padding: 18px 10px;
    }
}


@media (max-width: 375px) {
    .toc-container {
        padding: 0px;
    }

    #why .reason-list ul {
        margin-left: 0.5rem !important;
    }
    
    .quiz-container {
        padding: 5px !important;
        margin: 5px;
    }
    
    .result-panel {
        padding: 10px;
    }

    #roi h2 {
        font-size: 2rem;
    }
    
    .cost-card {
        padding: 0.5rem;
    }
    
    .total-section {
        padding: 0.1rem;
    }
    
    #summary .final-message h3 {
        font-size: 1.1rem !important;
    }

    #summary .cta-section {
        padding: 35px 1px;
    }

    #summary .cta-button {
        padding: 13px 23px;
    }

}

@media (max-width: 320px) {

    #intro h2 {
        font-size: 1.3rem !important
    }

    .scenario-list {
        gap: 5px;
    }

    .scenario-item::before {
        font-size: 1.4rem; /* 大きめのフォントサイズ */
    }
    
    .line-break {
        display: inline;
    }
    
    .highlight-box {
        padding: 15px 5px;
    }
     
    #cases h2 {
        font-size: 1.3rem !important;
    }

    .container p.video-pre {
        font-size: 1.05rem !important;
    }

    .trademark-type-caption {
        padding: 6px;
    }
    
    .what-happened, .outcome, .key-point {
        padding: 15px 5px;
    }
    
    #why .reason-list li {
        padding: 15px 10px;
    }
    
    .quiz-container {
        margin: 0px;
    }

    .quiz-title {
        font-size: 1.4rem !important;
    }
        
    #benefits h2 {
        font-size: 1.4rem !important;
    }

    #roi .container section {
        padding: 10px 0px !important;
    }


    
    #roi h2 {
        font-size: 2rem;
    }
    
    .cost-card {
        padding: 0.1rem;
    }
    .cost-item {
        padding: 0.1rem;
    }

    #roi .item-label {
        font-size: 1.4rem !important;
    }    

    .total-section {
        padding: 0rem;
    }
    
    .container h3.total-title {
        font-size: 1.7rem !important;
    }
    
    .total-amount {
        font-size: 1.1rem;
    }
    
    .total-label {
        font-size: 0.8rem;
    }

    .highlight-box2 {
        padding: 0.2rem;
    }

    .highlight-text {
        font-size: 1.0rem;
    }
    
    .highlight-subtext {
        font-size: 0.8rem;
    }

    #summary h2 {
        font-size: 1.5rem !important;
    }

    #summary .brand-emphasis {
        margin: 0.2rem 5rem;
    }

    #summary .cta-section {
        padding: 35px 1px;
        margin: 30px 8px;
    }

    #summary .partner-intro {
        gap: 2px;
        font-size: 1.0rem !important;
    }
    
    #summary .partner-intro .icon {
        font-size: 0.9rem;
    }
    
    #summary .service-description {
        font-size: 0.8rem;
    }

    #summary .cta-button {
        padding: 12px 18px;
    }

    .l-footer__logo img {
        width: 290px !important;
        height: 85px !important;
    }
}



/* イラスト全体設定 */
.case-illustration {
    display: flex;
    justify-content: center;
    margin: 30px 0 50px 0;
}

.case-illustration img {
    max-width: 100%;
    /* max-width: 450px !important; */
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.case-illustration img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
}


/* フェードインアニメーション */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* JavaScriptで.visibleクラスを追加することでアニメーションが適用される */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}



/* 記事メタ情報のコンテナ */
.article-meta {
    display: flex;
    align-items: center;
    justify-content: right;
    gap: 24px;
    margin-top: 16px 0;
    padding-top: 12px 0;
    font-size: 0.85rem;
    color: #6c757d;
}

/* 各メタ項目 */
.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
}

/* 作成日のスタイル */
.created-date::before {
    content: "✨";
    font-size: 0.9rem;
}

/* 更新日のスタイル */
.updated-date::before {
    content: "🔄";
    font-size: 0.9rem;
}

/* レスポンシブ対応 */
@media (max-width: 414px) {
    .article-meta {
        gap: 10px;
        font-size: 0.8rem;
    }

    .meta-item {
        gap: 1px;
    }
}


@media (max-width: 320px) {
    .article-meta {
        gap: 8px;
        font-size: 0.7rem !important;
    }
}

/* 横スクロール原因を追う */
/* * { outline: 1px solid rgba(255,0,0,0.3) !important; } */
