/* =========================================
   リセットと基本設定
========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: #fde4eb;
    background-image: url('00_img/normalpattern_pink_mini.png'); 
    background-repeat: repeat; 
    color: #333;
    line-height: 1.6;
    display: flex; /* ページ全体を縦並びに */
    flex-direction: column;
    min-height: 100vh; /* 画面高さを確保／フッター固定 */
}

.responsive-img {
    max-width: 100%;
    width: auto;
    height: auto; 
    display: block;
    margin-left: auto;
    margin-right: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 15px;
}

/* =========================================
   ヘッダー・フッター
========================================= */

.header {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 2px solid #f06292;
    margin-bottom: 20px;
}

.header .container {
    display: flex;
    align-items: center; 
}

.logo-link {
    display: block; 
    width: 100%;
    max-width: 175px;
}

.logo {
    width: 100%;
    height: auto;
    display: block;
}

.footer {
    background-color: rgba(253, 228, 235, 0.9); 
    padding: 30px 0;
    font-size: 0.8rem;
    border-top: 1px dashed #f8bbd0;
    margin-top: auto;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 10px 15px; 
    margin-bottom: 20px;
    padding: 0;
}

.footer-links li {
    white-space: nowrap; 
}

.footer-links a {
    display: block;
    padding: 5px; 
    transition: opacity 0.2s;
}

.footer-links a:hover {
    text-decoration: underline;
    opacity: 0.7; 
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-banners {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.copyright {
    text-align: center;
    color: #777;
    line-height: 1.4;
}

/* =========================================
   【共通コンポーネント】
   全ページで重複していたコードを統合
========================================= */

/* 1. ダークテーマの共通ラッパー（キャラ・ムービー・アニメ） */
.character-wrapper,
.movie-wrapper,
.anime-info-wrapper {
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 12px;
    padding: 40px 20px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    position: relative;
}

/* 1. ライトテーマの共通ラッパー（グッズ・スペシャル・お問い合わせ） */
.goods-wrapper,
.special-wrapper,
.manga-viewer-wrapper,
.contact-wrapper {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 40px 20px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 2. 共通ページヘッダー（キャラ・ムービー・アニメ・グッズ） */
.character-header,
.movie-header,
.anime-info-header,
.kc-header,
.goods-header,
.special-header,
.viewer-header,
.contact-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

/* 3. 共通タイトルバッジ */
.character-title-badge,
.movie-title-badge,
.anime-title-badge,
.kc-title-header,
.goods-title-badge,
.special-title-badge,
.viewer-badge,
.contact-title-badge {
    background-color: #fce4ec;
    color: #e91e63;
    padding: 10px 30px;
    font-size: 1.2rem;
    border-radius: 30px;
    font-weight: bold;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border: 2px solid #fff;
    white-space: nowrap;
}

/* =========================================
   画像ホバーアニメーション（共通設定）
========================================= */

/* アニメーションの動きを滑らかにする設定 */
.responsive-img,
.sidebar-banners img,
.large-banner img,
.middle-banners img,
.pretty-btns .btn,
.footer-banners img
{
    transition: transform 0.2s ease-out;
}

/* リンク(aタグ)にマウスが乗った時に、中の画像を1.05倍に拡大 */
.responsive-img:hover,
.sidebar-banners a:hover img,
.large-banner a:hover img,
.middle-banners a:hover img,
.pretty-btns .btn:hover,
.footer-banners img:hover
{
    transform: scale(1.05);
}

/* =========================================
   トップページ専用スタイル
========================================= */

/* --- ヒーローバナー --- */
.hero {
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}

.pretty-btns {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn {
    flex: 1; 
    display: block;
    text-align: center;
    padding: 15px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    border: 3px solid rgb(255, 255, 255);
    border-radius: 8px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transition: opacity 0.2s;
}

.btn-manga {
    background-color: #4dd0e1;
}

.btn-anime {
    background-color: #f06292;
}

.content-grid {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.news-box {
    background-color: #8fa1c4;
    border: 3px solid #fff;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
    color: #fff;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.news-box h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    border-bottom: 1px dashed #fff;
    padding-bottom: 5px;
}

.news-content {
    height: 250px;
    overflow-y: scroll; 
    font-size: 0.85rem;
    padding-right: 10px;
}

.news-content dt {
    color: #ffeb3b;
    margin-top: 10px;
    font-weight: bold;
}

.news-content dd {
    margin-bottom: 10px;
}

.sidebar-banners {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
}

.sidebar-banners a {
    display: block;
    flex: 0 1 auto;
    min-width: 0; 
}

.sidebar-banners img {
    max-width: 100%;
    width: auto; 
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0; 
}

.large-banner {
    width: 100%;
    margin-bottom: 0;
}

.large-banner a {
    display: block;
}

.middle-banners {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center; 
    width: 100%;
    padding: 0 20px;
    gap: 10px;
}

.middle-banners a {
    display: flex; 
    flex: 1; 
    justify-content: center; 
    min-width: 0; 
}

.middle-banners img {
    max-width: 100%; 
    width: auto; 
    height: auto;
    object-fit: contain;
}

/* =========================================
   キャラクターページ専用スタイル
========================================= */

.character-wrapper {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)), url('00_img/gallery/cha_BG.jpg');
    display: flex;
    flex-direction: column;
    align-items: center;
}

.character-thumbnails {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    max-width: 850px;
}

.character-thumbnails .thumb {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: transform 0.2s ease-out, border-color 0.2s ease-out;
    object-fit: cover;
    background-color: #fff;
}

/* ホバー時の挙動 */
.character-thumbnails .thumb:hover {
    transform: scale(1.1);
}

.character-thumbnails .thumb.active {
    border-color: #ffeb3b;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(255, 235, 59, 0.6);
}

.character-display {
    width: 100%;
    max-width: 850px;
    border-radius: 12px;
    overflow: hidden;
}

.character-display img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s ease-in-out;
}

/* =========================================
    ムービーページ専用スタイル（グリッドレイアウト）
========================================= */

.movie-wrapper {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)), url('00_img/movie/movie_BG.jpg');
    overflow: hidden;
}

.movie-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr;
}

.movie-card {
    display: block;
    background-color: #000;
    border: 2px solid #333;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease-out, border-color 0.2s;
    text-decoration: none;
}

.movie-card:hover {
    transform: scale(1.05);
    border-color: #00acc1;
}

.movie-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    background-color: #222;
}

.movie-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0.9;
    transition: opacity 0.2s;
}

.movie-card:hover .movie-thumbnail img {
    opacity: 1;
}

/* 再生ボタンアイコン */
.movie-thumbnail::after {
    content: "▶";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    pointer-events: none;
}

.movie-info {
    padding: 12px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================================
   アニメ情報ページ専用スタイル（グリッドレイアウト）
========================================= */

.anime-info-wrapper {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8)), url('00_img/anime/anime_BG.jpg');
    color: #fff;
    overflow: hidden;
}

.staff-cast-grid {
    display: grid;
    gap: 40px;
}

.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.6);
}

.staff-title { color: #ffc0af; } /* オレンジ系 */
.cast-title { color: #fcb4cc; } /* ピンク系 */

.info-list {
    display: grid;
    grid-template-columns: auto auto; 
    justify-content: center; 
    gap: 8px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    line-height: 1.4;
    align-items: baseline;
}

.info-list dt {
    text-align: right;
}
.info-list dt::after {
    content: "：";
    margin-left: 2px;
}

.info-list dd {
    text-align: left;
    margin: 0;
}

/* 「人」のキャストだけ少し間を空ける処理 */
.info-list dt.human, 
.info-list dd.human {
    margin-top: 15px;
}

/* =========================================
   コミックスページ専用スタイル
========================================= */

.kc-wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 40px;
    margin: 40px 0 60px;
}

.kc-story {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 外側のコンテナ */
.kc-character-section {
    margin: 40px auto;
    max-width: 850px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* タイトルバッジを中央揃え */
}

/* 羊皮紙風の背景ボックス */
.kc-character-inner {
    background-color: #f6f0e0;
    background-image: radial-gradient(#efdec2 1px, transparent 1px);
    background-size: 20px 20px;
    border: 1px solid #dcd3bd;
    border-radius: 4px;
    padding: 40px;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05), 2px 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    box-sizing: border-box;
}

.kc-character-selector {
    width: 100%;
    margin-bottom: 25px;
}

.kc-character-thumbnails {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 522px; 
    gap: 10px;
    margin: 0 auto;
}

.kc-thumb {
    width: 66px;
    height: 66px;
    background-color: #fff;
    cursor: pointer;
    transition: transform 0.2s;
    object-fit: cover;
    border: 1px solid #999;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.05), 2px 2px 5px rgba(0,0,0,0.1);
}

.kc-thumb:hover {
    transform: scale(1.1);
}

.kc-character-detail-box {
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 8px;
    padding: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    object-fit: cover;

}

.kc-character-detail-box img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s ease-in-out;
}

.kc-banner-section {
    display: flex;
    max-width: 850px;
    justify-content: center;
    align-items: center;
}

.kc-banner-section a {
    transition: transform 0.2s ease-out;
}

.kc-banner-section a:hover {
    transform: scale(1.03);
}

/* =========================================
    グッズページ専用スタイル
========================================= */

.goods-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    min-width: 0; 
}

.goods-header {
    justify-content: center;
}

.goods-section-title {
    display: inline-block; /* 横幅を文字サイズに合わせる */
    background-color: rgba(255, 255, 255, 0.95);
    color: #e91e63;
    padding: 10px 40px;
    border-radius: 30px;
    border: 3px solid #ffc0af;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin-top: 30px;
    text-shadow: none; 
}

.goods-banner {
    margin-bottom: 20px;
}

.goods-banner-package {
    margin-bottom: 10px;
}

.goods-img-rounded {
    border-radius: 8px;
}

/* =========================================
    スペシャルコンテンツページ専用スタイル
========================================= */

.comic-banner-container {
    width: 100%;
    max-width: 850px;
    margin: 0 auto 10px auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comic-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

.btn-buy-full {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background-color: #fff; 
    color: #4dd0e1;
    width: 100%;
    padding: 20px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    border: 2px solid #4dd0e1;
    border-radius: 8px 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: background-color 0.2s, transform 0.2s;
}

.btn-buy-full:hover {
    background-color: #4dd0e1;
    color: #fff;
    transform: scale(1.03);
}

.btn-buy-full i {
    font-size: 1.4rem;
}

.episode-grid {
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr; 
}

.episode-link {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background-color: #fff;
    border: 2px solid #eee;
    transition: transform 0.2s ease-out, border-color 0.2s ease-out, box-shadow 0.2s ease-out;
}

.episode-link:hover {
    transform: scale(1.03);
    border-color: #4dd0e1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.episode-link img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   ショートアニメページ専用スタイル
========================================= */

.short-grid {
    display: grid;
    gap: 40px 20px;
    grid-template-columns: 1fr;
    align-items: start;
}

/* 個別のエピソード要素 */
.anime-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 各話タイトルの画像 */
.anime-title-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 5px;
}

/* YouTubeのレスポンシブコンテナ */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9; /* モダンな比率固定プロパティ */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    background-color: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* =========================================
   マンガ閲覧ページ専用スタイル (ep1.html など)
========================================= */

.manga-viewer-wrapper {
    text-align: center;
}

.viewer-badge {
    margin-bottom: 20px;
}

/* タイトル部分 */
.episode-title {
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #b2ebf2;
    display: inline-block;
}

.episode-title i {
    color: #b2ebf2;
    margin-right: 8px;
}

/* マンガ本編エリア */
.manga-pages {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.manga-pages img {
    width: 100%;
    height: auto;
    display: block;
}

/* ページ間の肉球の飾り */
.paw-divider {
    color: #e0f7fa;
    font-size: 1.5rem;
    letter-spacing: 15px;
    margin: 20px 0;
}

/* ページャー */
.manga-pager {
    display: flex;
    flex-wrap: wrap; /* スマホで折り返せるように */
    justify-content: center;
    align-items: center;
    gap: 15px;
    max-width: 800px;
    margin: 40px auto 0 auto;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

.pager-prev, .pager-next {
    flex: 1;
    display: flex;
    min-width: 140px;
}

.pager-prev { justify-content: flex-end; }
.pager-next { justify-content: flex-start; }

.pager-prev a, .pager-next a, .pager-prev span, .pager-next span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: bold;
    font-size: 1rem;
    padding: 12px 20px;
    border-radius: 30px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.pager-prev a, .pager-next a {
    background-color: #fff;
    color: #e91e63;
    border: 2px solid #e91e63;
    text-decoration: none;
}

.pager-prev a:hover, .pager-next a:hover {
    background-color: #e91e63;
    color: #fff;
    transform: translateY(-2px);
}

/* 第1話の「前へ」や最新話の「次へ」の無効化スタイル */
.pager-prev.disabled span, .pager-next.disabled span {
    color: #bbb;
    border: 2px solid #eee;
    background-color: #fafafa;
    cursor: not-allowed;
}

.pager-center {
    flex: 0 0 auto;
    padding: 0 10px;
    /* スマホ時はロゴを一番上に配置する */
    order: -1; 
    width: 100%;
    margin-bottom: 10px;
}

.pager-center img {
    max-width: 120px;
    transition: transform 0.2s;
    margin: 0 auto;
}

.pager-center a:hover img {
    transform: scale(1.05);
}

/* =========================================
   お問い合わせページ専用スタイル
========================================= */

/* 注意事項ブロック */
.contact-notes {
    background-color: #fde4eb;
    border-left: 5px solid #f06292;
    padding: 20px;
    border-radius: 4px;
    margin-bottom: 40px;
    font-size: 0.9rem;
}

.contact-notes p {
    font-weight: bold;
    margin-bottom: 15px;
    color: #d81b60;
}

.contact-notes ol {
    padding-left: 20px;
    line-height: 1.8;
}

.contact-notes li {
    margin-bottom: 5px;
}

/* フォーム全体 */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.required {
    background-color: #e91e63;
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 10px;
    vertical-align: middle;
}

/* 入力フィールド */
.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    background-color: #fafafa;
    transition: border-color 0.3s, background-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #f06292;
    background-color: #fff;
    box-shadow: 0 0 5px rgba(240, 98, 146, 0.3);
}

/* 送信・キャンセルボタン */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

.btn-submit {
    background-color: #e91e63;
    color: #fff;
    border: 2px solid #e91e63;
    cursor: pointer;
    padding: 15px 50px;
    border-radius: 30px;
    font-size: 1.1rem;
}

.btn-submit:hover {
    background-color: #d81b60;
    border-color: #d81b60;
}

.btn-reset {
    background-color: #fff;
    color: #666;
    border: 2px solid #ccc;
    cursor: pointer;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1rem;
}

.btn-reset:hover {
    background-color: #f5f5f5;
}

/* =========================================
   お問い合わせ完了（サンクス）ページ専用スタイル
========================================= */

.thanks-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.95);
    border: 3px solid #f8bbd0;
    border-radius: 12px;
    padding: 40px 20px;
    margin: 40px auto;
    max-width: 600px; /* PC閲覧時でも横に広がりすぎないように制限 */
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.thanks-image {
    border-radius: 8px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 300px;
}

.thanks-title {
    color: #e91e63;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

.thanks-message {
    font-size: 1rem;
    color: #555;
    line-height: 2;
    margin-bottom: 40px;
}

/* ボタンのスタイルはトップページの .btn を継承・上書き */
.thanks-action .btn-home {
    background-color: #f06292;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 30px; /* 丸みを持たせてボタンらしく */
    font-size: 1.1rem;
    display: inline-block;
    transition: background-color 0.2s, transform 0.2s;
}

.thanks-action .btn-home:hover {
    background-color: #e91e63;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(233, 30, 99, 0.3);
}

/* =========================================
PC・タブレット向けレイアウト (768px以上)
========================================= */

@media (min-width: 768px) {
    
    /* =========================================
    【共通コンポーネント】
    全ページで重複していたコードを統合
    ========================================= */
    
    .content-grid {
        grid-template-columns: 300px 1fr;
    }
    
    .footer-bottom {
        flex-direction: row;
        justify-content: flex-end;
    }
    
    .copyright {
        text-align: right;
    }
    
    /* 【共通ラッパー（パディング）】 */
    .character-wrapper,
    .movie-wrapper,
    .anime-info-wrapper,
    .goods-wrapper,
    .special-wrapper,
    .manga-viewer-wrapper,
    .contact-wrapper {
        padding: 60px;
    }

    /* 【共通ヘッダー（PC用横並び）】 */
    .character-header,
    .movie-header,
    .anime-info-header,
    .kc-header,
    .goods-header,
    .special-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    /* 【共通タイトルバッジ（PC用サイズ変更）】 */
    .character-title-badge,
    .movie-title-badge,
    .anime-title-badge,
    .kc-title-header,
    .goods-title-badge,
    .special-title-badge,
    .viewer-badge,
    .contact-title-badge {
        margin-top: 20px;
        font-size: 1.5rem;
    }
    
    /* =========================================
    トップページ専用スタイル
    ========================================= */
    
    .sidebar-banners {
        flex-direction: column;
        gap: 15px;
    }

/* =========================================
   キャラクターページ専用スタイル
========================================= */
    
     .character-header {
        align-self: stretch; /* ★「親が中央揃えと言ってきても、自分だけは横幅いっぱいに広がる」という指定 */
        /*親要素に display: flex; と align-items: center; の両方がかかっていると、子要素は「中身のサイズに合わせてピタッと縮む（シュリンクする）」*/
    }

    .character-thumbnails {
        gap: 15px;
    }

    .character-thumbnails .thumb {
        width: 85px;
        height: 85px;
    }

/* =========================================
   アニメ情報ページ専用スタイル（グリッドレイアウト）
========================================= */

    .staff-cast-grid {
        grid-template-columns: 1.3fr 0.7fr;
        gap: 20px;
    }

    .info-list {
        font-size: 1rem;
        gap: 12px 20px;
    }

/* =========================================
    ムービーページ専用スタイル（グリッドレイアウト）
========================================= */

    .movie-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

/* =========================================
   コミックスページ専用スタイル
========================================= */

    .kc-character-thumbnails {
        grid-template-columns: repeat(auto-fill, 85px);
        max-width: 655px;
    }
    
    .kc-thumb {
        width: 85px;
        height: 85px;
    }

 /* =========================================
    グッズページ専用スタイル
========================================= */


/* =========================================
    スペシャルコンテンツページ専用スタイル
========================================= */

    .btn-buy-full {
        margin-top: 15px;
    }
    
    .episode-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

/* =========================================
   ショートアニメページ専用スタイル
========================================= */

    .short-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

/* =========================================
   マンガ閲覧ページ専用スタイル (ep1.html など)
========================================= */

    .episode-title {
        font-size: 1.6rem;
    }

    .manga-pager {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .pager-center {
        order: 0; /* PCでは真ん中に戻す */
        width: auto;
        margin-bottom: 0;
    }

    .pager-prev { 
        justify-content: flex-start;
    }

    .pager-next {
         justify-content: flex-end;
    }

/* =========================================
   お問い合わせページ専用スタイル
========================================= */

.thanks-wrapper {
    padding: 60px;
    margin: 60px auto;
}

.thanks-title {
    font-size: 2rem;
}

.thanks-message {
    font-size: 1.1rem;
}

}