/**
 * FanzaTik Main Stylesheet (World-Class Ultimate Version - Final Build)
 *
 * @package FanzaTik
 * @version 17.2.0 (Random Warning Message Module)
 */

/* =================================================================
    1. Global Resets, Variables & Base Styles
   ================================================================= */
:root {
	--primary-color: #ff007f;
	--primary-gradient: linear-gradient(135deg, #ff007f, #e64a19);
	--background-color: #000000;
	--surface-color: #121212;
    --yt-bg-dark: #212121;
    --yt-bg-medium: #282828;
    --yt-bg-light: #383838;
	--header-bg: rgba(18, 18, 18, 0.9);
	--header-border: #303030;
	--text-color: #ffffff;
	--text-color-muted: #aaaaaa;
	--overlay-gradient: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 20%, rgba(0,0,0,0.4) 40%, transparent 70%);
	--header-height: 60px;
	--mobile-tab-bar-height: calc(55px + env(safe-area-inset-bottom));
	--bottom-controls-height: calc(55px + env(safe-area-inset-bottom));
	--smooth-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --feed-thumbnail-width: 54px;
    --feed-thumbnail-height: 54px;
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { background-color: var(--background-color); color: var(--text-color); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body.video-feed-is-active, body.modal-active, body.mobile-menu-is-active, body.onboarding-active { overflow: hidden; }
a { color: var(--primary-color); text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
a:hover { opacity: 0.8; }
.site-content { padding-top: var(--header-height); }

/* =================================================================
    (このセクションから下の10.まで、変更はありません)
    2. PC Header & Mega Menu
   ================================================================= */
.site-header { background-color: var(--header-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; border-bottom: 1px solid var(--header-border); }
.header-inner { display: flex; align-items: center; height: var(--header-height); padding: 0 24px; max-width: 1800px; margin: 0 auto; }
.header-pc { display: flex; align-items: center; width: 100%; gap: 24px; }
.header-mobile { display: none; }
.site-logo { font-size: 24px; font-weight: 800; color: var(--primary-color); letter-spacing: -1px; }
.main-navigation-pc { display: flex; align-items: center; gap: 8px; margin: 0 auto; }
.main-navigation-pc a { font-weight: 500; padding: 10px 16px; color: var(--text-color); font-size: 1em; display: flex; align-items: center; gap: 6px; border-radius: 6px; transition: background-color 0.2s ease; }
.menu-item-has-children { position: relative; }
.mega-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 600px; padding-top: 10px; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.2s ease, visibility 0s 0.2s; z-index: 1100; }
.menu-item-has-children:hover .mega-menu { opacity: 1; visibility: visible; pointer-events: auto; transition-delay: 0s; }
.mega-menu-inner { background: var(--surface-color); border: 1px solid var(--header-border); border-radius: 8px; padding: 24px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.mega-menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 12px; }
.header-right { display: flex; align-items: center; gap: 12px; margin-left: auto; flex-shrink: 0; }
.header-icon-btn { background: none; border: none; color: var(--text-color); font-size: 20px; cursor: pointer; padding: 8px; }
.search-form-wrapper { position: relative; }
.search-form-pc { position: relative; }
.search-form-pc .search-field { background-color: var(--surface-color); border: 1px solid var(--header-border); border-radius: 20px; color: var(--text-color); padding: 8px 45px 8px 20px; width: 200px; height: 38px; font-size: 14px; transition: all 0.3s var(--smooth-out); box-shadow: 0 0 0 0 rgba(255, 0, 127, 0); }
.search-form-pc .search-submit { background: none; border: none; color: var(--text-color-muted); font-size: 16px; position: absolute; top: 50%; right: 5px; transform: translateY(-50%); height: 32px; width: 32px; border-radius: 50%; cursor: pointer; transition: color 0.3s ease, background-color 0.3s ease; display: flex; align-items: center; justify-content: center; }
.search-form-pc .search-submit:hover { color: var(--primary-color); background-color: rgba(255,255,255,0.1); }
.search-form-wrapper:focus-within .search-field, .search-form-pc .search-field:focus { width: 250px; background-color: #000; border-color: var(--primary-color); box-shadow: 0 0 10px 2px rgba(255, 0, 127, 0.3); }
.search-form-wrapper:focus-within .search-submit { color: var(--primary-color); }
.mobile-tab-bar { display: none; }
#mobile-search-container { display: none; background-color: #000; padding: 10px 15px; border-bottom: 1px solid var(--header-border); }
#video-feed-container { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh; overflow-y: scroll; scroll-snap-type: y mandatory; -webkit-overflow-scrolling: touch; background-color: var(--background-color); }
#video-feed-container::-webkit-scrollbar { display: none; }
#video-feed-container { -ms-overflow-style: none; scrollbar-width: none; }
.video-slide { width: 100%; height: 100%; position: relative; display: flex; justify-content: center; align-items: center; overflow: hidden; scroll-snap-align: start; }
.video-player-container, .video-player { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.video-player { object-fit: contain; background-color: #000; }
.video-tap-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; }
.video-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px; background: var(--overlay-gradient); display: flex; align-items: flex-end; pointer-events: none; z-index: 10; }
.video-overlay > * { pointer-events: auto; }
.video-overlay-left { display: flex; flex-direction: column; gap: 12px; width: calc(100% - 80px); }
.video-meta { display: flex; flex-direction: column; gap: 8px; font-size: 14px; margin-top: 8px; }
.meta-item { display: flex; align-items: flex-start; gap: 8px; }
.affiliate-area, .affiliate-button, .affiliate-thumbnail { display: none; }
.video-overlay-right { position: absolute; right: 10px; bottom: 0; z-index: 20; padding-bottom: 20px; }
.video-actions { display: flex; flex-direction: column; gap: 25px; }
.action-btn { background: none; border: none; color: white; display: flex; flex-direction: column; align-items: center; cursor: pointer; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }
.action-btn-icon-wrapper { width: 50px; height: 50px; border-radius: 50%; display: flex; justify-content: center; align-items: center; background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(8px); transition: background 0.2s ease; }
.action-btn-icon-wrapper i { font-size: 24px; transition: transform 0.2s ease; }
.action-btn.active .action-btn-icon-wrapper { background: var(--primary-gradient); }
.action-btn.active .action-btn-icon-wrapper i { transform: scale(1.15); }
.slide-ad-overlay { position: absolute; top: calc(var(--header-height) + 20px); left: 20px; z-index: 25; max-width: 280px; width: 50%; }
.slide-ad-link { display: block; line-height: 0; }
.slide-ad-image { width: 100%; height: auto; border-radius: 8px; border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 5px 20px rgba(0,0,0,0.5); }
.single-video-main { max-width: 1400px; margin: 0 auto; padding: 30px 20px; }
.single-video-layout { display: flex; flex-direction: row; gap: 40px; align-items: flex-start; }
.video-column { flex: 3; min-width: 0; }
@media (min-width: 1025px) { .video-column { position: sticky; top: calc(var(--header-height) + 30px); } }
.details-column { flex: 2; min-width: 0; }
.video-player-wrapper { position: relative; width: 100%; padding-top: 56.25%; background-color: #000; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.video-player-single { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: contain; }
.video-error-message { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; color: var(--text-color-muted); }
.details-column .entry-header .entry-title { font-size: 26px; font-weight: 700; line-height: 1.4; margin-bottom: 20px; }
.affiliate-button.single-page-affiliate { display: flex; justify-content: center; align-items: center; width: 100%; font-size: 16px; padding: 15px 20px; border-radius: 10px; margin-bottom: 15px; background: var(--primary-gradient); color: white; font-weight: bold; }
.actress-archive-links-wrapper { display: flex; flex-direction: column; gap: 10px; margin-bottom: 25px; }
.actress-archive-button { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 12px 20px; background-color: rgba(255, 255, 255, 0.1); color: var(--text-color); border: 1px solid var(--header-border); border-radius: 10px; font-weight: 600; font-size: 15px; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; }
.actress-archive-button:hover { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }
.video-meta-single, .entry-content { background-color: var(--surface-color); padding: 20px; border-radius: 8px; border: 1px solid var(--header-border); margin-bottom: 25px; }
.meta-heading { font-size: 18px; font-weight: 600; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid var(--header-border); }
.meta-row { display: flex; gap: 10px; margin-bottom: 12px; font-size: 15px; }
.meta-label { flex-shrink: 0; width: 90px; color: var(--text-color-muted); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.single-comments-section { max-width: 900px; margin: 50px auto 0; background-color: var(--surface-color); padding: 25px 30px; border-radius: 12px; border: 1px solid var(--header-border); }
.single-comments-title { font-size: 20px; font-weight: 700; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid var(--header-border); }
.comment-form-wrapper-single { margin-top: 30px; }
#commentform { display: flex; flex-direction: column; gap: 15px; }
#reply-title { font-size: 18px; margin-bottom: 10px; }
.comment-form-comment textarea { width: 100%; background: var(--background-color); border: 1px solid var(--header-border); color: var(--text-color); padding: 12px 15px; border-radius: 8px; resize: vertical; font-size: 15px; transition: border-color 0.2s ease; }
.comment-form-comment textarea:focus { border-color: var(--primary-color); outline: none; }
.form-submit { text-align: right; }
.submit-button-primary { background: var(--primary-gradient); border: none; color: white; padding: 10px 25px; border-radius: 8px; font-weight: bold; cursor: pointer; transition: opacity 0.2s ease; }
.submit-button-primary:hover { opacity: 0.9; }
.submit-button-primary:disabled { background: #555; cursor: not-allowed; }
.logged-in-as, .comment-notes, .form-allowed-tags { display: none !important; }
.fzt-modal-container { position: fixed !important; top: 0; left: 0; width: 100%; height: 100%; z-index: 99998 !important; visibility: hidden; pointer-events: none; }
.fzt-modal-container.is-visible { visibility: visible; pointer-events: auto; }
.fzt-modal-scrim { position: absolute; inset: 0; background-color: rgba(0,0,0,0.7); backdrop-filter: blur(5px); opacity: 0; transition: opacity 0.3s ease-in-out; }
.fzt-modal-container.is-visible .fzt-modal-scrim { opacity: 1; }
.fzt-modal-panel { position: absolute; bottom: 0; left: 0; width: 100%; background-color: var(--surface-color); border-top-left-radius: 20px; border-top-right-radius: 20px; transform: translateY(100%); transition: transform 0.35s var(--smooth-out); display: flex; flex-direction: column; }
.fzt-modal-container.is-visible .fzt-modal-panel { transform: translateY(0); }
.fzt-modal-header { flex-shrink: 0; display: flex; justify-content: center; align-items: center; padding: 18px; border-bottom: 1px solid var(--header-border); position: relative; }
.fzt-modal-title { font-size: 17px; font-weight: 600; }
.fzt-modal-close { position: absolute; top: 50%; right: 12px; transform: translateY(-50%); background: none; border: none; color: var(--text-color-muted); font-size: 24px; padding: 8px; cursor: pointer; }
.comments-modal-panel { max-height: 95vh; max-height: 95dvh; background-color: var(--yt-bg-dark); }
.comments-modal-panel .fzt-modal-header { background-color: var(--yt-bg-medium); }
.comments-modal-body { flex-grow: 1; display: flex; flex-direction: column; overflow: hidden; }
.comments-list-wrapper { padding: 0 16px; flex-grow: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.comment-list { list-style: none; margin: 0; padding: 16px 0; }
.comment { display: flex; gap: 16px; margin-bottom: 24px; animation: fadeIn 0.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.avatar { border-radius: 50%; width: 40px; height: 40px; object-fit: cover; flex-shrink: 0; }
.comment-body { flex-grow: 1; min-width: 0; }
.comment-author .fn, .comment-author { font-weight: 500; font-size: 14px; color: var(--text-color); }
.comment-meta, .comment-metadata, .comment-metadata a, .says { font-size: 13px; color: var(--text-color-muted); margin-left: 8px; display: inline; }
.comment-content { margin-top: 5px; line-height: 1.5; font-size: 15px; color: var(--text-color); }
.comment-content p { margin: 0; }
.comment-form-wrapper { flex-shrink: 0; padding: 12px 16px; border-top: 1px solid var(--header-border); background-color: var(--yt-bg-medium); padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
#commentform-modal { display: flex; gap: 12px; align-items: flex-end; }
#commentform-modal .comment-form-comment { flex-grow: 1; margin: 0; padding: 0; min-width: 0; }
#commentform-modal textarea { width: 100%; background: var(--yt-bg-light); border: 1px solid transparent; color: var(--text-color); padding: 10px 16px; border-radius: 22px; resize: none; height: 44px; font-size: 15px; font-family: inherit; line-height: 1.4; transition: border-color 0.2s ease, background-color 0.2s ease; }
#commentform-modal textarea:focus { border-color: var(--primary-color); background-color: var(--yt-bg-dark); outline: none; }
#commentform-modal .form-submit { margin: 0; padding: 0; flex-shrink: 0; }
#commentform-modal input[type="submit"] { background: var(--primary-gradient); border: none; color: white; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; transition: transform 0.2s ease, opacity 0.2s ease; padding: 0; font-size: 0; position: relative; }
#commentform-modal input[type="submit"]::after { content: "\f1d8"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 18px; }
#commentform-modal input[type="submit"]:hover { transform: scale(1.05); }
#commentform-modal input[type="submit"]:disabled { background: #555; cursor: not-allowed; transform: scale(1); opacity: 0.5; }
.comments-list-wrapper:empty::before { content: 'まだコメントがありません。最初のコメントを投稿しましょう！'; display: block; text-align: center; padding: 50px 20px; color: var(--text-color-muted); font-size: 14px; }
#mobile-taxonomy-menu .fzt-modal-panel { max-height: 80vh; }
.mobile-menu-body { flex-grow: 1; display: flex; position: relative; overflow: hidden; }
.mobile-menu-content { flex-grow: 1; overflow-y: auto; scroll-behavior: smooth; }
.mobile-menu-content ul { list-style: none; padding: 0; margin: 0; }
.mobile-menu-term-group { padding: 0 20px; }
.mobile-menu-term-header { font-size: 14px; color: var(--primary-color); background-color: var(--surface-color); padding: 12px 0 8px; position: sticky; top: 0; z-index: 1; }
.mobile-menu-content li a { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--header-border); color: var(--text-color); font-size: 15px; }
.mobile-menu-az-index { flex-shrink: 0; width: 35px; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 10px 0; }
.az-index-link { color: var(--text-color-muted); font-size: 11px; font-weight: bold; padding: 2px 0; }
#sort-order-menu .fzt-modal-panel { max-height: 40vh; }
.sort-menu-list { list-style: none; padding: 10px; margin: 0; }
.sort-menu-list a { display: flex; align-items: center; gap: 15px; padding: 15px; color: var(--text-color); font-size: 16px; border-radius: 8px; }
.sort-menu-list a:hover { background-color: rgba(255,255,255,0.1); }
.sort-menu-list a i { font-size: 18px; width: 20px; text-align: center; color: var(--primary-color); }
@media (max-width: 1024px) { .header-pc { display: none; } .header-mobile { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 0 12px; } .mobile-tab-bar { position: fixed; bottom: 0; left: 0; width: 100%; height: var(--mobile-tab-bar-height); padding-bottom: env(safe-area-inset-bottom); background-color: var(--header-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); border-top: 1px solid var(--header-border); display: flex; justify-content: space-around; z-index: 1000; } .tab-item { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-grow: 1; color: var(--text-color-muted); background: none; border: none; font-size: 11px; gap: 2px; padding-top: 6px; padding-bottom: 4px; transition: color .2s ease; } .tab-item i { font-size: 22px; margin-bottom: 3px; } .tab-item.active, .tab-item:active { color: var(--primary-color); } .video-overlay { bottom: var(--bottom-controls-height); } .video-overlay-right { bottom: var(--bottom-controls-height); } .single-video-main { padding: 15px 0; } .single-video-layout { flex-direction: column; gap: 20px; } .video-column { position: static; width: 100%; } .video-player-wrapper { border-radius: 0; } .details-column { padding: 0 15px; } .details-column .entry-header .entry-title { font-size: 20px; } .single-comments-section { padding: 20px 15px; border-radius: 0; } }
@keyframes tour-pulse { 0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 127, 0.7); } 70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 0, 127, 0); } 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 127, 0); } }
#onboarding-tour { position: fixed; inset: 0; z-index: 99999; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.3s ease, visibility 0.3s; }
#onboarding-tour.is-visible { opacity: 1; visibility: visible; pointer-events: auto; }
.tour-overlay { position: absolute; inset: 0; background-color: rgba(0, 0, 0, 0.7); backdrop-filter: blur(4px); }
.tour-highlight { position: absolute; border-radius: 8px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.7); transition: all 0.4s var(--smooth-out); pointer-events: none; animation: tour-pulse 2s infinite; }
.tour-tooltip { position: absolute; background-color: var(--surface-color); border: 1px solid var(--header-border); border-radius: 12px; padding: 20px; width: 90%; max-width: 350px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); transition: all 0.4s var(--smooth-out); }
.tour-tooltip-content .tour-title { font-size: 18px; font-weight: 700; color: var(--primary-color); margin-bottom: 10px; }
.tour-tooltip-content .tour-description { font-size: 15px; line-height: 1.6; color: var(--text-color-muted); }
.tour-tooltip-footer { margin-top: 20px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--header-border); padding-top: 15px; }
.tour-progress { font-size: 14px; color: var(--text-color-muted); }
.tour-actions { display: flex; gap: 10px; }
.tour-button-skip { background: none; border: none; color: var(--text-color-muted); font-size: 14px; cursor: pointer; }
.tour-button-next { background: var(--primary-gradient); border: none; color: #fff; font-weight: 600; padding: 8px 20px; border-radius: 20px; font-size: 14px; cursor: pointer; }

/* =================================================================
    9. Player UI Enhancements (再生バー & サムネイル)
   ================================================================= */
.video-progress-bar-container { margin-bottom: 12px; padding: 8px 0; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 0.3s ease, visibility 0.3s; pointer-events: none; }
.video-slide.controls-visible .video-progress-bar-container { opacity: 1; visibility: visible; pointer-events: auto; }
.video-progress-bar { width: 100%; height: 4px; background-color: rgba(255, 255, 255, 0.3); border-radius: 2px; position: relative; }
.buffer-progress, .seek-progress { position: absolute; top: 0; left: 0; height: 100%; border-radius: 2px; }
.buffer-progress { background-color: rgba(255, 255, 255, 0.5); width: 0; }
.seek-progress { background-color: var(--primary-color); width: 0; }
.video-title-wrapper { display: flex; align-items: center; gap: 15px; }
.thumbnail-position-left .video-title-wrapper { flex-direction: row; }
.thumbnail-position-right .video-title-wrapper { flex-direction: row-reverse; }
.video-title-thumbnail-link { flex-shrink: 0; line-height: 0; }
.video-title-thumbnail { width: var(--feed-thumbnail-width); height: var(--feed-thumbnail-height); border-radius: 8px; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.video-title { font-size: 18px; font-weight: 600; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); margin: 0; flex-grow: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumbnail-position-right .video-title { text-align: right; }
.meta-item.actress .meta-content { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; white-space: normal; }

/* =================================================================
   10. Single Page Enhancements (Ranking Button & Related Videos)
   ================================================================= */
.ranking-page-link-wrapper { margin-bottom: 15px; }
.ranking-page-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px 20px; font-size: 16px; font-weight: bold; color: #fff; background: linear-gradient(135deg, #8a2be2, #4a00e0); border-radius: 10px; text-align: center; transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4); }
.ranking-page-button:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(138, 43, 226, 0.6); color: #fff; opacity: 1; }
.ranking-page-button .fa-trophy { color: #ffd700; }
.related-videos-section { margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--header-border); }
.related-videos-title { font-size: 22px; font-weight: 700; margin-bottom: 25px; text-align: center; display: flex; align-items: center; justify-content: center; gap: 10px; }
.related-videos-title .fa-heart, .related-videos-title .fa-random { color: var(--primary-color); }
.related-videos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.related-video-item { background-color: var(--surface-color); border-radius: 8px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--header-border); }
.related-video-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.5); }
.related-video-link { display: block; color: var(--text-color); }
.related-video-link:hover { color: var(--text-color); opacity: 1; }
.related-video-thumbnail { position: relative; width: 100%; padding-top: 56.25%; background-color: #000; }
.related-video-thumbnail img,
.related-video-placeholder { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.related-video-placeholder { display: flex; align-items: center; justify-content: center; font-size: 50px; color: var(--header-border); background-color: var(--background-color); }
.related-video-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; font-size: 40px; color: #fff; opacity: 0; transition: opacity 0.3s ease; }
.related-video-item:hover .related-video-overlay { opacity: 1; }
.related-video-item-title { font-size: 14px; font-weight: 500; line-height: 1.4; padding: 12px; margin: 0; height: 60px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.related-load-more-wrapper { text-align: center; margin-top: 30px; }
#fzt-load-more-related { background-color: var(--surface-color); border: 1px solid var(--header-border); color: var(--text-color); padding: 12px 30px; font-size: 15px; font-weight: 600; border-radius: 20px; cursor: pointer; transition: all 0.2s ease; }
#fzt-load-more-related:hover { background-color: var(--primary-color); border-color: var(--primary-color); }
#fzt-load-more-related.loading { cursor: not-allowed; background-color: #333; }
@media (max-width: 768px) {
	.related-videos-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; }
	.related-videos-title { font-size: 20px; }
    .related-videos-section { padding-left: 15px; padding-right: 15px; }
}
@media (max-width: 480px) {
	.related-videos-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =================================================================
   11. ★★★ ランダム警告メッセージのデザイン ★★★
   ================================================================= */
.fzt-warning-message-wrapper {
    margin: 50px auto;
    padding: 0 15px;
    max-width: 900px;
}
.fzt-warning-message-box {
    border: 1px solid var(--header-border);
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--surface-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.warning-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--header-border);
}
.warning-header i {
    font-size: 24px;
    width: 30px;
    text-align: center;
}
.warning-header h3 {
    margin: 0;
    font-size: 16px;
    flex-grow: 1;
}
.warning-content {
    padding: 20px;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-color-muted);
}
.warning-content p {
    margin: 0 0 1em 0;
}
.warning-content p:last-child {
    margin-bottom: 0;
}
.warning-content strong {
    color: var(--text-color);
    font-weight: 600;
}
.warning-footer {
    padding: 20px;
    background-color: rgba(0,0,0,0.2);
    text-align: center;
}
.warning-button {
    display: inline-block;
    width: 100%;
    padding: 15px 20px;
    border-radius: 10px;
    font-weight: bold;
    color: #fff !important;
    text-align: center;
    transition: all 0.3s ease;
}
.warning-button:hover {
    transform: scale(1.03);
    opacity: 1;
}

/* スタイルごとの配色 */
.style-sincere { --warning-color: #ff4d6d; } /* ピンク系 */
.style-techy { --warning-color: #00b4d8; } /* ブルー系 */
.style-experience { --warning-color: #ff9f43; } /* オレンジ系 */
.style-rational { --warning-color: #4caf50; } /* グリーン系 */
.style-simple { --warning-color: #9b59b6; } /* パープル系 */

.fzt-warning-message-box[class*="style-"] .warning-header {
    background-color: rgba(var(--warning-color), 0.1);
    border-left: 5px solid var(--warning-color);
}
.fzt-warning-message-box[class*="style-"] .warning-header i {
    color: var(--warning-color);
}
.fzt-warning-message-box[class*="style-"] .warning-button {
    background: var(--warning-color);
    box-shadow: 0 4px 15px rgba(var(--warning-color), 0.3);
}