/*全体*/
body {
    margin: 0;
    background: #080808;
    color: #eaeaea;
    font-family: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
}

/*ヘッダー*/
.site-header {
    background: #000;
    border-bottom: 3px solid #cc0000;
    padding: 16px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    margin: 0;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
}

/*映画ビジュアル*/
.movie-visual {
    text-align: center;
    margin-top: 25px;
    animation: fadeUp 1s ease;
}

.movie-visual img {
    width: 26%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.15);
    transform: scale(0.9);
    animation: zoomIn 1.2s ease forwards;
}

/* タイトル*/
.movie-visual h2 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #ffeded;
    text-shadow: 0 0 8px rgba(255,0,0,0.4);
}

/*映画詳細カード*/
.movie-detail {
    background: #111;
    border: 1px solid #222;
    padding: 32px 22px;
    border-radius: 16px;
    max-width: 900px;
    margin: 0 auto;
    margin-top: 35px;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.7s ease;
}

.movie-detail.show {
    opacity: 1;
    transform: translateY(0);
}

/* サブ画像*/
.sub-image {
    width: 75%;
    margin: 0 auto 20px;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.12);
    opacity: 0;
    transform: translateY(20px);
    transition: 0.8s ease;
}

.sub-image.show {
    opacity: 1;
    transform: translateY(0);
}

/*文章*/
.movie-detail p {
    line-height: 1.85;
    margin-bottom: 22px;
    color: #ddd;
    font-size: 1.03rem;
}

/*感想タイトル*/
.movie-detail h2 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: #fff;
    border-left: 6px solid #cc0000;
    padding-left: 10px;
}

/*戻るボタン*/
.back-btn {
    display: inline-block;
    margin-top: 25px;
    background: #bb0000;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255,0,0,0.3);
    transition: 0.3s ease;
}

.back-btn:hover {
    background: #ff1a1a;
    box-shadow: 0 0 15px rgba(255,0,0,0.6);
    transform: translateY(-2px);
}

/*トップへ戻る*/
.scroll-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #cc0000;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.1rem;
    display: none;
    transition: 0.3s ease;
}

.scroll-top:hover {
    background: #e70000;
}

/*フッター*/
.site-footer {
    text-align: center;
    padding: 20px;
    color: #ccc;
    margin-top: 40px;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { transform: scale(0.85); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
