/* T-1000 Liquid Metal Theme CSS */

/* Variables */
:root {
    --key-color: #7b7185;
    --sub-color-1: #464555;
    --sub-color-2: #aaa8cc;
    --text-color-dark: #070707;
    --text-color-light: #ffffff;
    --section-bg-color: #fdfaf9;
    --base-bg-color: #333645;
    --dark-accent: #000000;
    --light-accent: #ffffff;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2px;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--base-bg-color);
    color: var(--text-color-light);
    line-height: 1.6;
}

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

/* Header Styles with Enhanced T-1000 Liquid Metal Blade Effect */
header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.title-container {
    position: relative;
    margin-bottom: 10px;
}

.liquid-metal-title {
    font-family: 'Impact', 'Arial Black', sans-serif; /* 鋭い印象のフォント */
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    position: relative;
    padding: 25px 15px;
    border-radius: 5px;
    background: linear-gradient(
        135deg,
        #333 0%,
        #7b7185 20%,
        #c0c0c0 40%, /* シルバーのハイライト */
        #ffffff 50%, /* 刃の先端のような明るいハイライト */
        #c0c0c0 60%,
        #7b7185 80%,
        #333 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: #ffffff; /* ベースカラーを白に変更して視認性向上 */
    text-shadow:
        0 1px 0 #4a4a4a,
        0 2px 2px rgba(0, 0, 0, 0.5), /* シャドウをシンプルに */
        0 0 8px rgba(123, 113, 133, 0.7); /* メタリックな輝きを保持 */
    letter-spacing: 1px;
    font-weight: 900; /* 重厚感を維持 */
    animation:
        liquidMetalFlow 6s ease infinite,
        bladeGleam 2s ease-in-out infinite; /* 鋭い振動を削除し、自然な輝きのみ保持 */
    transform-style: preserve-3d;
    perspective: 500px;
}

/* メタリックグラデーションアニメーション */
@keyframes liquidMetalFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 刃の輝きアニメーション */
@keyframes bladeGleam {
    0% { filter: brightness(1); }
    50% { filter: brightness(1.2); }
    100% { filter: brightness(1); }
}

/* 刃の先端を模した疑似要素 */
.liquid-metal-title::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -10px;
    width: 20px;
    height: 2px;
    background: linear-gradient(to left, #fff, transparent);
    transform: translateY(-50%) rotate(45deg);
    animation: gleamMove 3s ease-in-out infinite;
}

/* 光沢の移動アニメーション */
@keyframes gleamMove {
    0% { right: -10px; opacity: 0; }
    50% { right: 100%; opacity: 1; }
    100% { right: -10px; opacity: 0; }
}

/* 既存の疑似要素を保持 */
.liquid-metal-title::before {
    content: attr(title);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg,
        rgba(123, 113, 133, 0.7),
        rgba(170, 168, 204, 0.7),
        rgba(200, 200, 210, 0.9),
        rgba(170, 168, 204, 0.7)
    );
    filter: blur(15px);
    z-index: -1;
    opacity: 0.6;
    border-radius: 10px;
    animation:
        liquidPulse 3s infinite alternate,
        liquidShift 7s ease-in-out infinite;
}

@keyframes liquidPulse {
    0% { opacity: 0.4; transform: scale(1); }
    100% { opacity: 0.7; transform: scale(1.03); }
}

@keyframes liquidShift {
    0% { transform: translateX(0px) translateY(0px); }
    25% { transform: translateX(8px) translateY(-5px); }
    50% { transform: translateX(-5px) translateY(8px); }
    75% { transform: translateX(-8px) translateY(-8px); }
    100% { transform: translateX(0px) translateY(0px); }
}

.title-shadow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.1);
    z-index: -1;
    padding: 25px 15px;
    letter-spacing: 1px;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--sub-color-2);
    font-weight: bold;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* Article Info Section */
.article-info {
    background-color: rgba(70, 69, 85, 0.7);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--sub-color-2);
    position: relative;
    overflow: hidden;
}

.article-info::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg,
        rgba(123, 113, 133, 0.1),
        rgba(170, 168, 204, 0.1));
    z-index: -1;
}

.article-info h4 {
    color: var(--light-accent);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.article-info ul {
    list-style-position: inside;
    margin-bottom: 15px;
    margin-left: 10px;
}

.article-info li {
    margin-bottom: 8px;
    color: var(--light-accent);
}

.article-info p {
    color: var(--light-accent);
}

/* Content Sections */
.content-section {
    background-color: var(--section-bg-color);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    color: var(--text-color-dark);
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--key-color), var(--sub-color-2));
}

.content-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(170, 168, 204, 0.1) 0%, rgba(253, 250, 249, 0) 70%);
    z-index: 1;
}

.section-title {
    font-size: 1.6rem;
    color: var(--sub-color-1);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--sub-color-2);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--key-color);
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-color-dark);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Image Styling */
.content-image {
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to bottom, rgba(70, 69, 85, 0.05), rgba(123, 113, 133, 0.05));
    padding: 8px;
    position: relative;
}

.content-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, var(--key-color), var(--sub-color-2));
    z-index: 1;
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.content-image img:hover {
    transform: scale(1.02);
}

.content-image figcaption {
    text-align: center;
    padding: 10px 5px 5px;
    font-size: 0.85rem;
    color: var(--text-color-dark);
    font-style: italic;
}

/* Feature List */
.feature-list {
    list-style-type: none;
    margin: 15px 0;
    padding-left: 5px;
}

.feature-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.feature-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    background-color: var(--key-color);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(123, 113, 133, 0.5);
}

/* Summary Box */
.summary-box {
    background-color: rgba(70, 69, 85, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    border-left: 3px solid var(--key-color);
}

.summary-box ul {
    list-style-type: none;
}

.summary-box li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.summary-label {
    font-weight: bold;
    color: var(--sub-color-1);
    margin-right: 5px;
}

/* Paragraphs */
p {
    margin-bottom: 15px;
    font-size: 1rem;
    line-height: 1.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px 10px;
    }

    .liquid-metal-title {
        font-size: 1.8rem;
        padding: 15px 5px;
    }

    .title-shadow {
        font-size: 1.8rem;
        padding: 15px 5px;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .section-subtitle {
        font-size: 1.2rem;
    }

    .content-section {
        padding: 20px 15px;
    }

    .summary-box {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .liquid-metal-title {
        font-size: 1.5rem;
        padding: 12px 5px;
    }

    .title-shadow {
        font-size: 1.5rem;
        padding: 12px 5px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 15px 12px;
    }

    .feature-list li {
        padding-left: 20px;
    }

    .feature-list li::before {
        width: 6px;
        height: 6px;
    }
}

/* 記事メタ情報（更新日時とSNSボタン） */
.article-meta {
    background: linear-gradient(135deg, rgba(70, 69, 85, 0.8), rgba(51, 54, 69, 0.9));
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(170, 168, 204, 0.3);
    position: relative;
    overflow: hidden;
    border-left: 3px solid var(--key-color);
}

.article-meta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(170, 168, 204, 0.5), transparent);
}

.meta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.update-info {
    display: flex;
    align-items: center;
    position: relative;
}

.time-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background: linear-gradient(135deg, var(--key-color), var(--sub-color-2));
    border-radius: 50%;
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.time-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background-color: var(--section-bg-color);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.time-icon::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 8px;
    width: 1px;
    height: 5px;
    background-color: var(--section-bg-color);
    transform-origin: bottom;
    transform: rotate(-90deg);
}

.time {
    font-size: 0.85rem;
    color: var(--light-accent);
    margin: 0;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.share-buttons {
    display: flex;
}

.share-group {
    display: flex;
    gap: 10px;
}

.twitter-share-button, .fb-share-button {
    position: relative;
    padding: 4px 8px;
    background: linear-gradient(135deg, var(--key-color), var(--sub-color-2));
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.twitter-share-button:hover, .fb-share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.twitter-share-button::after, .fb-share-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.1),
        rgba(255, 255, 255, 0) 80%);
    border-radius: 4px;
}

.twitter-share-button a, .fb-share-button a {
    color: var(--light-accent) !important;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    display: block;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
    .meta-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .share-buttons {
        margin-top: 10px;
    }
}

/* フッターデザイン - T-1000液体金属テーマ */
.site-footer {
    position: relative;
    background: linear-gradient(180deg, var(--base-bg-color) 0%, #1d1e2a 100%);
    color: var(--light-accent);
    padding: 40px 20px 30px;
    margin-top: 60px;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* 液体金属のような波効果 */
.wave-decoration {
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(90deg,
        var(--key-color) 0%,
        var(--sub-color-2) 25%,
        var(--key-color) 50%,
        var(--sub-color-2) 75%,
        var(--key-color) 100%);
    background-size: 200% 100%;
    clip-path: polygon(
        0% 0%, 4% 60%, 8% 0%, 12% 60%, 16% 0%, 20% 60%,
        24% 0%, 28% 60%, 32% 0%, 36% 60%, 40% 0%, 44% 60%,
        48% 0%, 52% 60%, 56% 0%, 60% 60%, 64% 0%, 68% 60%,
        72% 0%, 76% 60%, 80% 0%, 84% 60%, 88% 0%, 92% 60%,
        96% 0%, 100% 60%, 100% 100%, 0% 100%
    );
    animation: liquidWave 8s linear infinite;
}

@keyframes liquidWave {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

.footer-content {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* コンタクトセクション */
.contact-section {
    position: relative;
    background: rgba(70, 69, 85, 0.3);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2),
                inset 0 1px 1px rgba(170, 168, 204, 0.2);
    border-left: 3px solid var(--key-color);
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(123, 113, 133, 0.05),
        rgba(170, 168, 204, 0.05));
    z-index: -1;
}

.mail-link {
    display: flex;
    align-items: center;
    color: var(--sub-color-2);
    text-decoration: none;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
    background: linear-gradient(135deg,
        rgba(123, 113, 133, 0.1) 0%,
        rgba(70, 69, 85, 0.2) 100%);
    width: fit-content;
}

.mail-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg,
        rgba(123, 113, 133, 0.2) 0%,
        rgba(70, 69, 85, 0.3) 100%);
    color: var(--light-accent);
}

.mail-icon {
    margin-right: 10px;
    position: relative;
}

.mail-icon img {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.contact-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

/* 利用規約セクション */
.usage-terms {
    position: relative;
    background: rgba(70, 69, 85, 0.3);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2),
                inset 0 1px 1px rgba(170, 168, 204, 0.2);
    border-left: 3px solid var(--key-color);
}

.terms-content {
    position: relative;
}

.terms-main p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.terms-list {
    list-style: none;
    margin-top: 15px;
    padding-left: 15px;
}

.terms-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.terms-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    background: linear-gradient(135deg, var(--key-color), var(--sub-color-2));
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(170, 168, 204, 0.5);
}

.link-text {
    color: var(--sub-color-2);
    text-decoration: none;
    position: relative;
    padding: 0 2px;
}

.link-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right,
        var(--key-color),
        var(--sub-color-2),
        var(--key-color));
    opacity: 0.7;
}

.site-name {
    color: var(--sub-color-2);
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* フッターブランドセクション */
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid rgba(170, 168, 204, 0.2);
    position: relative;
}

.footer-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    right: 25%;
    height: 1px;
    background: linear-gradient(to right,
        transparent,
        rgba(123, 113, 133, 0.5),
        transparent);
}

.brand-link {
    display: flex;
    align-items: center;
    color: var(--light-accent);
    text-decoration: none;
    margin-bottom: 10px;
    padding: 5px 15px;
    border-radius: 20px;
    background: linear-gradient(135deg,
        rgba(70, 69, 85, 0.6) 0%,
        rgba(51, 54, 69, 0.7) 100%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2),
                inset 0 1px 1px rgba(170, 168, 204, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.brand-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-25deg);
    transition: all 0.5s ease;
}

.brand-link:hover::after {
    left: 150%;
}

.brand-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3),
                inset 0 1px 1px rgba(170, 168, 204, 0.3);
}

.brand-icon {
    margin-right: 10px;
    position: relative;
}

.brand-icon img {
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.brand-link:hover .brand-icon img {
    transform: rotate(10deg) scale(1.1);
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-top: 5px;
    position: relative;
    padding: 5px 15px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

.copyright::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 25%;
    right: 25%;
    height: 1px;
    background: linear-gradient(to right,
        transparent,
        var(--key-color),
        transparent);
    opacity: 0.3;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 30px 15px 20px;
        margin-top: 40px;
    }
}

@media (max-width: 480px) {
    .wave-decoration {
        height: 10px;
    }

    .contact-section,
    .usage-terms {
        padding: 15px;
    }

    .mail-link {
        font-size: 0.9rem;
    }

    .terms-main p,
    .terms-list li,
    .contact-text {
        font-size: 0.85rem;
    }
}

/* T-1000テーマのおすすめ記事セクション */
.t1000-recommendations {
    margin: 15px 0;
    position: relative;
}

.t1000-recommendations::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
        transparent,
        var(--key-color),
        var(--sub-color-2),
        var(--key-color),
        transparent
    );
}

.t1000-recommendations::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right,
        transparent,
        var(--key-color),
        var(--sub-color-2),
        var(--key-color),
        transparent
    );
}

#recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

#recommendations a.push0 {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--text-color-dark);
    background: linear-gradient(135deg,
        rgba(123, 113, 133, 0.05),
        rgba(70, 69, 85, 0.1)
    );
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(170, 168, 204, 0.2);
}

#recommendations a.push0::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--key-color), var(--sub-color-2));
    z-index: 1;
}

#recommendations a.push0:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: var(--key-color);
}

#recommendations a.push0:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(123, 113, 133, 0.1),
        rgba(70, 69, 85, 0.15)
    );
    z-index: -1;
}

#recommendations img.sneak {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 800/366;
    transition: transform 0.5s ease;
    position: relative;
}

#recommendations a.push0:hover img.sneak {
    transform: scale(1.05);
}

#recommendations a.push0::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    z-index: 1;
}

#recommendations a.push0:hover::after {
    left: 150%;
}

#recommendations br {
    display: none;
}

#recommendations a.push0 {
    padding-bottom: 15px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* メタリックバッジ効果 */
#recommendations a.push0::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, var(--key-color), var(--sub-color-2));
    border-radius: 0 8px 0 50%;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: 2;
}

#recommendations a.push0:hover::before {
    opacity: 0.9;
    transform: scale(1);
}

#recommendations a.push0:hover::after {
    content: 'CHECK';
    position: absolute;
    top: 10px;
    right: 10px;
    color: var(--light-accent);
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(45deg);
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
    z-index: 3;
}

/* レスポンシブデザイン調整 */
@media (max-width: 768px) {
    #recommendations {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    #recommendations {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    #recommendations a.push0 {
        font-size: 0.85rem;
    }
}

/* T-1000 メタリック目次 */
.t1000-toc-container {
  margin: 30px 0;
  background: linear-gradient(135deg,
    rgba(70, 69, 85, 0.7) 0%,
    rgba(51, 54, 69, 0.85) 100%);
  border-radius: 8px;
  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(170, 168, 204, 0.2);
  overflow: hidden;
  position: relative;
  border-left: 3px solid var(--key-color);
}

.t1000-toc-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    rgba(170, 168, 204, 0.5),
    transparent);
}

.t1000-toc-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: linear-gradient(90deg,
    rgba(123, 113, 133, 0.4) 0%,
    rgba(70, 69, 85, 0.8) 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  position: relative;
}

.toc-title {
  color: var(--light-accent);
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  letter-spacing: 1px;
  position: relative;
  padding-left: 25px;
}

.toc-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  background: linear-gradient(135deg, var(--key-color), var(--sub-color-2));
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.t1000-toggle {
  background: linear-gradient(135deg,
    #464555 0%,
    #333645 100%);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  box-shadow:
    0 2px 5px rgba(0, 0, 0, 0.3),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  transition: all 0.3s ease;
  padding: 0;
}

.t1000-toggle:hover {
  background: linear-gradient(135deg,
    #535066 0%,
    #464555 100%);
  transform: translateY(-2px);
}

.t1000-toggle:active {
  transform: translateY(1px);
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(0, 0, 0, 0.1);
}

.toggle-line {
  width: 18px;
  height: 2px;
  background: linear-gradient(90deg, var(--key-color), var(--sub-color-2));
  border-radius: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.t1000-toggle.active .toggle-line:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.t1000-toggle.active .toggle-line:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.t1000-toc-body {
  max-height: 500px;
  overflow: hidden;
  transition: max-height 0.5s ease;
  padding: 15px 20px;
}

.t1000-toc-body.hidden {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.t1000-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.t1000-toc-list li {
  margin-bottom: 12px;
  position: relative;
  padding-left: 18px;
}

.t1000-toc-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: linear-gradient(135deg, var(--key-color), var(--sub-color-2));
  border-radius: 0;
  transform: rotate(45deg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

.t1000-toc-list li:hover::before {
  transform: rotate(225deg);
}

.t1000-toc-list a {
  color: var(--light-accent);
  text-decoration: none;
  font-size: 0.95rem;
  display: block;
  padding: 5px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
  background: linear-gradient(90deg,
    rgba(70, 69, 85, 0.01),
    rgba(123, 113, 133, 0.1));
  border-left: 2px solid transparent;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
}

.t1000-toc-list a:hover {
  background: linear-gradient(90deg,
    rgba(70, 69, 85, 0.3),
    rgba(123, 113, 133, 0.2));
  border-left: 2px solid var(--sub-color-2);
  transform: translateX(3px);
  padding-left: 15px;
}

/* T-1000テーマ - ビデオティーザーコンテナ */
.t1000-video-container {
  margin: 30px 0;
  position: relative;
}

.t1000-video-frame {
  position: relative;
  padding: 5px;
  background: linear-gradient(135deg,
    rgba(70, 69, 85, 0.9) 0%,
    rgba(51, 54, 69, 1) 100%);
  border-radius: 8px;
  box-shadow:
    0 8px 25px rgba(0, 0, 0, 0.4),
    inset 0 1px 1px rgba(170, 168, 204, 0.2);
  overflow: hidden;
  border: 1px solid rgba(123, 113, 133, 0.5);
}

.t1000-video-frame::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right,
    transparent,
    var(--key-color),
    var(--sub-color-2),
    var(--key-color),
    transparent);
  z-index: 1;
}

.video-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, var(--key-color), var(--sub-color-2));
  z-index: 2;
}

.top-left {
  top: 0;
  left: 0;
  border-radius: 0 0 8px 0;
}

.top-right {
  top: 0;
  right: 0;
  border-radius: 0 0 0 8px;
}

.bottom-left {
  bottom: 0;
  left: 0;
  border-radius: 0 8px 0 0;
}

.bottom-right {
  bottom: 0;
  right: 0;
  border-radius: 8px 0 0 0;
}

.blade-shine {
  position: absolute;
  top: 0;
  left: -150%;
  width: 150%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.05) 45%,
    rgba(255, 255, 255, 0.2) 50%,
    rgba(255, 255, 255, 0.05) 55%,
    transparent 100%
  );
  transform: skewX(-20deg);
  animation: videoShine 8s ease-in-out infinite;
  z-index: 1;
}

@keyframes videoShine {
  0% { left: -150%; }
  30% { left: -150%; }
  60% { left: 150%; }
  100% { left: 150%; }
}

.t1000-video-frame iframe {
  display: block;
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 0;
  aspect-ratio: 16/9;
  height: auto;
}

.t1000-video-title {
  text-align: center;
  color: var(--sub-color-2);
  font-weight: bold;
  margin-top: 10px;
  font-size: 1.1rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  position: relative;
  padding-bottom: 5px;
}

.t1000-video-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 25%;
  right: 25%;
  height: 1px;
  background: linear-gradient(to right,
    transparent,
    var(--key-color),
    var(--sub-color-2),
    var(--key-color),
    transparent);
}

/* レスポンシブ調整 */
@media (max-width: 600px) {
  .video-corner {
    width: 15px;
    height: 15px;
  }

  .t1000-video-title {
    font-size: 0.95rem;
  }
}
