/* ============================================
   video.css - 動画トレーニングページ共通スタイル
   ============================================ */

/* --- Base --- */
.video-page-body {
    background-color: #f0efea;
    color: #1f2937;
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.video-page-body * {
    box-sizing: border-box;
}

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

/* --- Hero --- */
.video-hero {
    padding: 60px 0 40px;
    text-align: center;
}

.video-hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.video-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    line-height: 1.3;
}

.video-hero-subtitle {
    font-size: 1.15rem;
    color: #4b5563;
    margin-bottom: 10px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.video-hero-meta {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 20px;
}

/* --- Video Embed --- */
.video-section {
    margin: 0 0 50px;
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* --- Warning Box --- */
.video-warning {
    background: #fff;
    border: 1px solid #dc2626;
    border-left: 4px solid #dc2626;
    border-radius: 8px;
    padding: 25px 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.video-warning-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #dc2626;
    margin-bottom: 10px;
}

.video-warning p {
    color: #374151;
    line-height: 1.7;
    margin: 0;
}

/* --- Sections --- */
.video-main {
    padding: 10px 0 40px;
}

.video-section-block {
    margin-bottom: 50px;
}

.video-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 25px;
    border-left: 4px solid #10b981;
    padding-left: 15px;
}

.video-section-text {
    font-size: 1.05rem;
    color: #374151;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* --- Training Info Card --- */
.video-info-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.video-info-heading {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.video-info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    flex-shrink: 0;
}

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

.video-effect-list li {
    padding: 10px 0 10px 30px;
    position: relative;
    color: #374151;
    line-height: 1.7;
    font-size: 1.05rem;
}

.video-effect-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 18px;
    height: 18px;
    background: #10b981;
    border-radius: 50%;
    opacity: 0.2;
}

.video-effect-list li::after {
    content: '\2713';
    position: absolute;
    left: 3px;
    top: 10px;
    color: #10b981;
    font-weight: 700;
    font-size: 0.85rem;
}

/* --- How To Card --- */
.video-howto-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.video-instruction-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: instruction;
}

.video-instruction-list li {
    counter-increment: instruction;
    padding: 15px 0 15px 55px;
    position: relative;
    color: #374151;
    line-height: 1.7;
    font-size: 1.05rem;
    border-bottom: 1px solid #f3f4f6;
}

.video-instruction-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.video-instruction-list li::before {
    content: counter(instruction);
    position: absolute;
    left: 0;
    top: 14px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

/* --- Tips Card --- */
.video-tips-card {
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.video-tips-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 20px;
}

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

.video-tips-list li {
    padding: 12px 0 12px 40px;
    position: relative;
    color: #374151;
    line-height: 1.7;
    font-size: 1.05rem;
    border-bottom: 1px dashed #bbf7d0;
}

.video-tips-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.video-tips-num {
    position: absolute;
    left: 0;
    top: 12px;
    width: 28px;
    height: 28px;
    background: #166534;
    color: #fff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.video-tips-goal {
    margin-top: 15px;
    padding: 15px 20px;
    background: #fff;
    border-radius: 8px;
    color: #166534;
    font-weight: 500;
    line-height: 1.7;
}

/* --- After Training --- */
.video-after {
    background: #fff;
    border-left: 4px solid #60a5fa;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.video-after p {
    color: #374151;
    line-height: 1.8;
    font-size: 1.05rem;
    margin: 0;
}

.video-after p + p {
    margin-top: 15px;
}

.video-after .note {
    font-size: 0.9rem;
    color: #6b7280;
    margin-top: 10px;
}

/* --- CTA Card --- */
.video-cta {
    background: #fff;
    border: 2px solid #10b981;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.video-cta h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 15px;
}

.video-cta > p {
    color: #4b5563;
    margin: 0 0 30px;
    line-height: 1.7;
}

.video-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.video-btn-web {
    background: linear-gradient(45deg, #10b981, #059669);
    color: #f9fafb;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.video-btn-web:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.video-btn-app {
    display: inline-block;
    transition: all 0.3s ease;
}

.video-btn-app:hover {
    transform: translateY(-3px);
}

.video-btn-app img {
    height: 60px;
    width: auto;
}

/* --- Author --- */
.video-author {
    margin: 40px 0;
}

.video-author-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.video-author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.video-author-label {
    font-size: 0.85rem;
    color: #1f2937;
    margin-bottom: 3px;
    font-weight: 500;
}

.video-author-name {
    font-weight: 600;
    color: #1f2937;
    line-height: 1.4;
    font-size: 1.1rem;
}

.video-author-bio {
    color: #4b5563;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* --- References --- */
.video-references {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.video-references h3 {
    color: #1f2937;
    margin: 0 0 20px;
    font-size: 1.3rem;
}

.video-references ol {
    color: #4b5563;
    padding-left: 20px;
    margin: 0;
}

.video-references li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.video-ref-link {
    color: #2563eb;
    text-decoration: none;
}

.video-ref-link:hover {
    text-decoration: underline;
}

/* --- Disclaimer --- */
.video-disclaimer {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px 30px;
    margin: 40px 0;
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.7;
}

.video-disclaimer strong {
    color: #4b5563;
}

/* --- Related Articles --- */
.video-related {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    margin: 40px 0;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.video-related-title {
    color: #1f2937;
    margin: 0 0 30px;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.video-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.video-related-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 25px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-related-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-color: #10b981;
}

.video-related-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
}

.video-related-card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 10px;
    line-height: 1.4;
}

.video-related-card-desc {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0 0 15px;
}

.video-related-card-link {
    color: #10b981;
    font-weight: 500;
    font-size: 0.9rem;
}

/* --- Video Hub Page --- */
.video-hub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.video-hub-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.video-hub-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #10b981;
}

.video-hub-thumb {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    overflow: hidden;
    background: #1f2937;
}

.video-hub-thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-hub-card:hover .video-hub-thumb img {
    transform: scale(1.05);
}

.video-hub-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background: rgba(16, 185, 129, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s, background 0.3s;
}

.video-hub-play::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.video-hub-card:hover .video-hub-play {
    transform: translate(-50%, -50%) scale(1.1);
    background: rgba(16, 185, 129, 1);
}

.video-hub-content {
    padding: 20px;
}

.video-hub-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.video-hub-badge-low {
    background: #d1fae5;
    color: #065f46;
}

.video-hub-badge-mid {
    background: #fef3c7;
    color: #92400e;
}

.video-hub-badge-high {
    background: #fee2e2;
    color: #991b1b;
}

.video-hub-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
    line-height: 1.4;
}

.video-hub-card-desc {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .video-container {
        padding: 0 15px;
    }
    .video-hero {
        padding: 40px 0 30px;
    }
    .video-hero-title {
        font-size: 1.6rem;
    }
    .video-info-card,
    .video-howto-card,
    .video-tips-card {
        padding: 20px;
    }
    .video-cta {
        padding: 30px 20px;
    }
    .video-related-grid {
        grid-template-columns: 1fr;
    }
    .video-hub-grid {
        grid-template-columns: 1fr;
    }
    .video-author-card {
        flex-direction: column;
        text-align: center;
    }
}
