/* リセットとベース設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
}

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

/* ヘッダー */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h1 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}




.dougaA {
width: 460px;
height: auto;
    
}




.trial-link {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: background-color 0.3s ease;
}

.trial-link:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* ヒーローセクション */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
   
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--primary-color);
    background: linear-gradient(120deg, transparent 0%, var(--primary-color) 0%, var(--primary-color) 100%, transparent 100%);
    background-size: 100% 4px;
    background-position: 0 90%;
    background-repeat: no-repeat;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 300px;
    height: 200px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    border: 2px dashed var(--border-color);
}

.hero-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
}

.hero-placeholder span {
    font-weight: 500;
    color: var(--text-secondary);
}

/* セクション共通 */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

/* 無料体験セクション */


.trial-content {
    text-align: center;
}

.trial-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.trial-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
}

.trial-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.trial-item h3 {
    font-weight: 600;
}

.trial-description {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* 学習できるスキル */
.features-section {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.skill-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.skill-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.skill-icon i {
    font-size: 1.5rem;
    color: white;
}

.skill-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.skill-card ul {
    list-style: none;
}

.skill-card li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.skill-card li:last-child {
    border-bottom: none;
}

.skill-card li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* 選ばれている理由 */
.reasons-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.reason-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    transition: transform 0.3s ease;
}

.reason-card:hover {
    transform: translateY(-4px);
}

.reason-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.reason-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.reason-card p {
    color: var(--text-secondary);
}

/* 期待できること */
.expectation-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.expectation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.expectation-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.expectation-item i {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.expectation-note {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
}

/* 料金プラン */
.plans-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.plan-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.plan-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.05);
}

.plan-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
}

.plan-header {
    background: var(--bg-light);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.plan-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.plan-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.plan-content {
    padding: 2rem;
}

.plan-content p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.plan-content ul {
    list-style: none;
}

.plan-content li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
}

.plan-content li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.plan-footer {
    padding: 0 2rem 2rem;
    text-align: center;
}

/* 受講までの流れ */
.flow-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.flow-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.flow-step {
    background: var(--bg-white);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    width: 100%;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 1rem;
}

.flow-arrow {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* よくある質問 */
.faq-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: rgba(37, 99, 235, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-question i {
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 注意事項 */
.notice-section {
    padding: 40px 0;
    background: var(--bg-light);
}

.notice-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}

.notice-box h3 {
    color: #92400e;
    margin-bottom: 1rem;
    font-weight: 600;
}

.notice-box p {
    color: #92400e;
    line-height: 1.8;
}

/* フッター */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* =============================================
   AI制作実績動画セクション
   ============================================= */

.works-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 60%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

/* 背景装飾 */
.works-section::before {
    content: '';
    position: absolute;
    top: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.works-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.works-section .section-header {
    position: relative;
    z-index: 1;
}

.works-section .section-title {
    color: #f8fafc;
}

.works-section .section-subtitle {
    color: #94a3b8;
    line-height: 1.9;
}

/* AIバッジ */
.works-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.works-badge i {
    font-size: 0.9rem;
}

/* カテゴリタブ */
.works-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.works-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.2rem;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.works-tab:hover {
    border-color: rgba(37, 99, 235, 0.6);
    color: #e2e8f0;
    background: rgba(37, 99, 235, 0.12);
}

.works-tab.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.45);
}

/* 動画グリッド */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.8rem;
    position: relative;
    z-index: 1;
}

/* 動画カード */
.works-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}

.works-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(37, 99, 235, 0.5);
}

.works-card.hidden {
    display: none;
}

/* サムネイル */
.works-thumbnail {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.works-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
}

/* サムネイルカラーバリエーション */
.thumb-blue    { background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%); }
.thumb-purple  { background: linear-gradient(135deg, #4c1d95 0%, #7c3aed 100%); }
.thumb-green   { background: linear-gradient(135deg, #064e3b 0%, #059669 100%); }
.thumb-orange  { background: linear-gradient(135deg, #92400e 0%, #f59e0b 100%); }
.thumb-pink    { background: linear-gradient(135deg, #9d174d 0%, #ec4899 100%); }
.thumb-teal    { background: linear-gradient(135deg, #134e4a 0%, #14b8a6 100%); }
.thumb-indigo  { background: linear-gradient(135deg, #312e81 0%, #6366f1 100%); }

.works-tag-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    opacity: 0.85;
}

/* 再生ボタンオーバーレイ */
.works-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease;
}

.works-card:hover .works-play-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.works-play-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.7);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
    padding-left: 3px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.works-card:hover .works-play-btn {
    transform: scale(1);
    opacity: 1;
}

/* 動画時間バッジ */
.works-duration {
    position: absolute;
    bottom: 8px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

/* カード情報エリア */
.works-info {
    padding: 1.2rem 1.4rem 1.4rem;
}

.works-category-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    letter-spacing: 0.03em;
}

.works-category-tag.avatar  { background: rgba(37, 99, 235, 0.25);  color: #93c5fd; }
.works-category-tag.short   { background: rgba(124, 58, 237, 0.25); color: #c4b5fd; }
.works-category-tag.promo   { background: rgba(16, 185, 129, 0.25); color: #6ee7b7; }

.works-title {
    font-size: 1rem;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 0.6rem;
    line-height: 1.4;
}

.works-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ツールタグ */
.works-tools {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tool-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.65rem;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 500;
}

.tool-tag i {
    font-size: 0.75rem;
    color: #60a5fa;
}

/* CTA エリア */
.works-cta {
    text-align: center;
    margin-top: 3.5rem;
    position: relative;
    z-index: 1;
}

.works-cta-text {
    color: #94a3b8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.works-cta-text strong {
    color: #f8fafc;
}

.works-cta-text i {
    color: #f59e0b;
    font-size: 1.1rem;
}

/* =============================================
   動画モーダル
   ============================================= */

.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.video-modal.open {
    display: flex;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.video-modal-container {
    position: relative;
    z-index: 1;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    width: 90%;
    max-width: 780px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    animation: modalSlideIn 0.3s ease-out;
}

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

.video-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.video-modal-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f1f5f9;
    flex: 1;
    padding-right: 1rem;
}

.video-modal-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #94a3b8;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.video-modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.4);
}

.video-modal-body {
    padding: 1.5rem;
}

/* 動画プレイヤーエリア */
.video-modal-player {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    position: relative;
}

.video-modal-player iframe,
.video-modal-player video {
    width: 100%;
    height: 100%;
    border: none;
}

/* デモ動画スクリーン（URL未設定時表示） */
.video-demo-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 2rem;
    position: relative;
}

.video-demo-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s ease;
}

.video-demo-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #e2e8f0;
    text-align: center;
    max-width: 380px;
    line-height: 1.4;
}

.video-demo-subtitle {
    font-size: 0.82rem;
    color: #64748b;
    letter-spacing: 0.05em;
}

/* プログレスバー（デモ用） */
.video-progress-bar {
    width: 100%;
    max-width: 420px;
    height: 4px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    margin-top: 0.5rem;
    overflow: hidden;
}

.video-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 999px;
    width: 0%;
    transition: width 0.3s ease;
}

.video-demo-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

.video-demo-controls i {
    font-size: 1.1rem;
    color: #60a5fa;
    cursor: pointer;
}

.video-time {
    font-variant-numeric: tabular-nums;
}

/* モーダルフッター */
.video-modal-footer {
    padding: 1.2rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.video-nav-btns {
    display: flex;
    gap: 0.5rem;
}

.btn-video-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #94a3b8;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans JP', sans-serif;
}

.btn-video-nav:hover {
    background: rgba(37, 99, 235, 0.2);
    color: #93c5fd;
    border-color: rgba(37, 99, 235, 0.4);
}

.btn-video-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.video-modal-tools {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* フェードイン・アウトアニメーション（タブ切り替え） */
.works-card {
    animation: cardAppear 0.35s ease-out both;
}

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

/* =============================================
   レスポンシブデザイン
   ============================================= */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-placeholder {
        width: 250px;
        height: 150px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .expectation-grid {
        grid-template-columns: 1fr;
    }
    
    .trial-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }

    /* 動画セクション */
    .works-grid {
        grid-template-columns: 1fr;
    }

    .works-tabs {
        gap: 0.5rem;
    }

    .works-tab {
        font-size: 0.82rem;
        padding: 0.45rem 0.9rem;
    }

    .video-modal-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .video-modal-footer .btn {
        text-align: center;
        justify-content: center;
    }

    .video-nav-btns {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .skill-card,
    .reason-card,
    .plan-card {
        padding: 1.5rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }

    .works-section {
        padding: 60px 0;
    }

    .video-modal-container {
        width: 96%;
        border-radius: 14px;
    }
}

/* =============================================
   アニメーション
   ============================================= */

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

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

/* フォーカススタイル */
.nav-link:focus,
.btn:focus,
.works-tab:focus,
.works-play-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* プリントスタイル */
@media print {
    .header,
    .footer,
    .btn {
        display: none;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.5rem;
    }

    .works-section {
        display: none;
    }
}
