@charset "UTF-8";

html {
    user-select: none;
}

/* ★全体の背景色：お祭りの夜空や紺幕をイメージした深みのある群青紺 */
.redeem {
    background-color: #1c285a;
}

/* ★帯：ゴールドベージュ（メインのやぐら・ちょうちんカラー） */
.redeem h2 {
    margin: 0;
    background-color: #f7e8a4;
    color: #4c4c4c; /* ゴールドベージュに映える濃いグレー */
    font-size: 1.1em;
    line-height: 1.6em;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    border-radius: 8px;
    margin: 15px 10px;
}

/* 特別調整：対象作品はこちら！などの見出し（縦幅不足の解消） */
.redeem h2.anchor-h2-fix {
    padding: 16px 10px !important;
    line-height: 1.5em !important;
    margin: 20px 10px 15px 10px !important;
    height: auto !important;
}

/* 各セクションの見出し：お祭りの紅白を意識したデザイン */
.redeem h3 {
    position: relative;
    padding: 1em 1em 1em 1.5em;
    font-size: 1em;
    margin: 1.5em 0.5em 0.5em 0.5em;
    border-radius: 5px;
    background: #ffffff; /* 白ベタに変更して紺背景での視認性を確保 */
    color: #1c285a; /* 文字色は背景の群青紺とマッチング */
    font-weight: bold;
}

.redeem h3:before {
    position: absolute;
    top: 25%;
    left: 0.75em;
    width: 6px;
    height: 50%;
    content: "";
    border-radius: 3px;
    background: #e70000; /* お祭りの「赤」 */
}

/* main.cssのh5スタイルを詳細度で上書きし、背景色を白にリセットする */
main.redeem article h5 {
    background-color: #ffffff !important;
    background-image: none !important;
    color: #333333 !important;
    padding: 10px !important;
    border: none !important;
}

/* ==========================================================================
   ボタン関連（バナー中央の「夏祭り赤」に合わせた超高可読性・熱気仕様）
   ========================================================================== */

/* ボタンの外枠：中央揃え */
.link_button {
    text-align: center;
    margin: 25px auto;
    padding: 0 10px;
    width: 100%;
    background-color: transparent !important;
    background-image: none !important;
}

/* ★テキストリンクボタン：バナーの熱気あふれる「大太鼓・紅白の赤」をモチーフにしたグラデ */
.link_button a,
.link_button a.cp-btn-anchor {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    /* お祭りパッションレッドグラデーション */
    background: linear-gradient(to bottom, #ff2a2a 0%, #bc0000 100%) !important;
    background-image: linear-gradient(to bottom, #ff2a2a 0%, #bc0000 100%) !important;

    color: #fff !important;
    font-weight: bold !important;
    font-size: 16px !important;
    text-decoration: none !important;

    padding: 15px 30px !important;
    border-radius: 50px !important;
    min-width: 280px; 
    box-sizing: border-box;

    box-shadow: 0 4px 15px rgba(188, 0, 0, 0.5) !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
    position: static !important;
}

/* ボタン内のテキスト：可読性を高める文字影 */
.link_button a span,
.link_button a.cp-btn-anchor span {
    color: #fff !important;
    display: inline-block !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4) !important;
}

/* 右側の矢印：文字の右側に配置 */
.link_button a::after,
.link_button a.cp-btn-anchor::after {
    content: '' !important;
    display: inline-block !important;
    width: 8px !important;
    height: 8px !important;
    border-top: 2px solid #fff !important;
    border-right: 2px solid #fff !important;
    transform: rotate(45deg) !important;
    position: static !important;
    margin-left: 12px !important;
    margin-top: -2px !important;
}

/* タップ時のアクション：少し凹む */
.link_button a:active,
.link_button a.cp-btn-anchor:active {
    transform: scale(0.96) !important;
    box-shadow: 0 2px 6px rgba(188, 0, 0, 0.3) !important;
    opacity: 0.9 !important;
}

/* 画像リンク（btn_oubo.png等）の時は親の赤背景や影を無効化 */
.link_button a:has(img) {
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    min-width: 0 !important;
    display: block !important;
}

.link_button a:has(img)::after {
    display: none !important;
    content: none !important;
}

.link_button a:has(img):active {
    transform: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   お知らせ枠 ＆ コンテナ関連
   ========================================================================== */

/* ★新設：エントリー期間前アラート帯専用スタイル */
.pre-entry-alert {
    margin: 15px 10px 5px 10px !important;
    background-color: #fff0f5 !important;
    border: 2px solid #fc1375 !important;
    border-radius: 6px !important;
    padding: 12px 10px !important;
    text-align: center !important;
    box-sizing: border-box !important;
}
.pre-entry-alert p {
    margin: 0 !important;
    font-size: 0.92em !important;
    font-weight: bold !important;
    color: #fc1375 !important;
    line-height: 1.4em !important;
}

/* ★お知らせ枠：帯に合わせた薄い黄色（ちょうちんの暖かな灯りイメージ） */
.information {
    margin: 10px !important;
    text-align: left !important;
    background: #fff8e1 !important; 
    border: 2px solid #f2c03d !important;
    border-radius: 8px !important;
    padding: 15px 15px 15px 20px !important;
    box-sizing: border-box !important;
    width: auto !important;
    max-width: 100% !important;
    overflow: hidden !important;
    word-break: break-all !important;
}
.information p {
    display: block !important;
    word-break: break-all !important;
    text-indent: 0 !important;
    padding-left: 0 !important;
}

/* 全体共通のコンテナ枠（夏祭用パーツの土台として共通化） */
.comitia-container {
    background: #ffffff !important;
    border: solid 2px #f2c03d !important;
    border-radius: 8px !important;
    margin: 10px !important;
    padding: 12px 10px !important;
    box-sizing: border-box !important;
}
.goods-list-wrapper {
    display: block !important;
    width: 100% !important;
}

/* アンカーリンクのリスト */
.anchorlink {
    margin: 10px;
}

/* ==========================================================================
   賞品（グッズ）ラインナップ用カードスタイル
   ========================================================================== */
.goods-card {
    background: #ffffff !important;
    border: solid 1px #f2c03d !important;
    border-radius: 6px !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    display: block !important;
}
.goods-card.w-chance-card-style {
    border: solid 2px #e8a018 !important;
}

/* カードのヘッダー：ゴールドベージュ */
.goods-card-header {
    background: #f7e8a4 !important; 
    padding: 12px !important;
    text-align: left !important;
    box-sizing: border-box !important;
}

.goods-card-header strong {
    display: block !important;
    font-size: 0.95em !important;
    color: #4c4c4c !important;
    line-height: 1.4em !important;
    font-weight: bold !important;
    margin-bottom: 8px !important;
    text-indent: 0 !important;
    padding-left: 0 !important;
}
.goods-card-header strong.w-chance-title {
    color: #e8a018 !important;
}

.goods-meta-row {
    display: block !important;
    width: 100% !important;
}

/* 当選数バッジ：白ベタに濃いグレー */
.goods-card-header .badge-count {
    display: inline-block !important;
    background: #ffffff !important;
    color: #4c4c4c !important;
    border: 1px solid #ccc !important;
    font-size: 0.75em !important;
    font-weight: bold !important;
    padding: 2px 8px !important;
    border-radius: 3px !important;
    margin: 0 0 8px 0 !important;
    text-indent: 0 !important;
}
.goods-card-header .badge-count.w-chance-badge {
    background: #e8a018 !important;
    color: #ffffff !important;
    border: none !important;
}

.goods-card-header .sub-desc {
    display: block !important;
    font-size: 0.8em !important;
    color: #4c4c4c !important;
    font-weight: bold !important;
    line-height: 1.5em !important;
    margin-bottom: 4px !important;
    text-indent: 0 !important;
    padding-left: 0 !important;
}
.goods-card-header .sub-desc-note {
    display: block !important;
    font-size: 0.75em !important;
    color: #666666 !important;
    font-weight: normal !important;
    line-height: 1.4em !important;
    text-indent: 0 !important;
    padding-left: 0 !important;
}

.goods-card-desc-box {
    padding: 12px !important;
    font-size: 0.85em !important;
    color: #333333 !important;
    line-height: 1.5em !important;
    background: #ffffff !important;
    text-indent: 0 !important;
}

.goods-card-img {
    width: 100% !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
}

.goods-card-img img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border: solid 1px #ebebeb !important;
    border-radius: 4px !important;
}

.goods-notes {
    margin-top: 15px !important;
    padding: 0 5px !important;
}

.goods-notes p {
    font-size: 0.85em !important;
    line-height: 1.5em !important;
    color: #333333 !important;
    margin: 0 0 6px 0 !important;
    text-align: left !important;
}

/* ==========================================================================
   作家（対象作品紹介）カード用スタイル
   ========================================================================== */
.creator-list-container {
    display: block !important;
    width: 100% !important;
    padding: 0 10px !important;
    box-sizing: border-box !important;
}

.creator-card {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: solid 2px #f2c03d !important;
    border-radius: 8px !important;
    margin-bottom: 25px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    display: block !important;
    clear: both !important;
}

.creator-profile {
    display: table !important;
    width: 100% !important;
    margin-bottom: 15px !important;
}
.creator-profile-cell-left {
    display: table-cell !important;
    vertical-align: middle !important;
    width: 60px !important;
}
.creator-profile-cell-right {
    display: table-cell !important;
    vertical-align: middle !important;
    padding-left: 5px !important;
}

.creator-icon-wrap {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    min-height: 50px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
}
.creator-icon {
    width: 50px !important;
    height: 50px !important;
    max-width: 50px !important;
    max-height: 50px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    display: block !important;
}

.creator-name {
    font-weight: bold !important;
    font-size: 1.15em !important;
    color: #1c285a !important;
    display: block !important;
}

.creator-desc {
    font-size: 0.9em !important;
    line-height: 1.5em !important;
    color: #333333 !important;
    margin: 0 0 15px 0 !important;
    text-align: left !important;
}

.creator-works-title {
    font-size: 0.8em !important;
    font-weight: bold !important;
    color: #ffffff !important;
    background-color: #1c285a !important;
    background: #1c285a !important;
    padding: 4px 12px !important;
    border-radius: 4px !important;
    display: inline-block !important;
    margin-bottom: 15px !important;
}

.creator-works-target-link-box {
    text-align: center !important;
    width: 100% !important;
    clear: both !important;
}
.creator-works-target-link-box a {
    text-decoration: none !important;
    display: block !important;
    max-width: 260px !important;
    margin: 0 auto !important;
}
.creator-works-target-link-box a img {
    width: 100% !important;
    height: auto !important;
    border: solid 1px #ebebeb !important;
    border-radius: 6px !important;
    display: block !important;
    margin: 0 auto 8px auto !important;
}
.creator-works-target-link-box a span {
    display: block !important;
    font-size: 0.95em !important;
    font-weight: bold !important;
    color: #1c285a !important;
    line-height: 1.4em !important;
    text-decoration: none !important;
}

/* ==========================================================================
   テーブル ＆ 規約 ＆ 地文関連
   ========================================================================== */

/* キャンペーン記事内の地文 */
.redeem article p {
    color: #333 !important;
}

article {
    padding: 0.5em;
    margin-bottom: 1em;
}

article p {
    font-size: 1em;
    line-height: 1.4em;
}

article p span {
    display: inline;
    padding: 0;
    margin: 0;
    color: #d11313; 
    font-weight: bold;
    font-size: 1.1em;
}

/* イベント詳細・概要比較テーブル */
article table {
    border-collapse: collapse;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

article table th, article table td {
    border: 2px solid #fff;
    background-color: #f1f1f1;
    padding: 1em;
    font-size: 0.85em;
}

/* ★テーブル見出し：ゴールドベージュ */
article table th {
    background-color: #f7e8a4 !important;
    color: #4c4c4c;
    font-weight: bold;
    text-align: center;
    min-width: 5em;
}

/* 専用上書きスタイル */
.detail-table td {
    color: #333;
}
.detail-table td.target-manga-list-td {
    font-size: 0.85em !important;
    line-height: 1.6em !important;
    background: #ffffff !important;
    padding: 12px !important;
    text-align: left !important;
}
.detail-table td a.terms-link {
    color: #1c285a;
    font-weight: bold;
    text-decoration: underline;
}

/* 注意書きボックス */
.notice {
    margin: 0.5em;
    padding: 0.8em;
    background: #f1f1f1;
    border: 2px solid #696969;
    border-radius: 5px;
}

.notice p {
    font-size: 0.85em;
    line-height: 1.5em;
    text-indent: -1em;
    padding: 0 0 0 1em;
    margin: 0 0 8px 0;
}
.notice p:last-child {
    margin-bottom: 0;
}

/* アンカーのズレ防止 */
.anchor {
    height: 1px;
    display: block;
    padding-top: 100px;
    margin-top: -100px;
}

/* ==========================================================================
   その他（バナー、フォーム等のスタイルを維持）
   ========================================================================== */
.link_button.banner-mode {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 15px auto !important;
    max-width: 100%;
}

.banner-link {
    display: block !important;
    width: 100% !important;
    text-decoration: none !important;
    background: transparent !important;
}

.banner-link img {
    width: 100% !important;
    height: auto !important;
    display: block;
    box-sizing: border-box;
    border: 3px solid #f2c03d !important; 
    border-radius: 12px !important;   
    box-shadow: 0 5px 15px rgba(232, 160, 24, 0.3) !important; 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-link:active img {
    transform: scale(0.97) !important;
    box-shadow: 0 2px 8px rgba(232, 160, 24, 0.2) !important;
}

button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    -webkit-tap-highlight-color: transparent;
}

.campaign-banner-box {
    position: relative;
    width: 100%;
    max-width: 98%;   
    margin: 0 auto;
    margin-bottom: 10px;
}

.bg-frame {
    width: 100%;
    display: block;
}

.banner-content {
    position: absolute;
    top: 50%;   
    left: 5%;   
    transform: translateY(-50%);  
    color: #ffffff; 
    text-align: left;
    font-family: "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "ヒラギノ丸ゴ ProN W4", "Arial Rounded MT Bold", "Meiryo", sans-serif;
    font-weight: bold; 
    width: 90%;
}

.banner-title {
    font-size: 4.5vw; 
    font-weight: bold;
    margin-bottom: 1vw;
    white-space: nowrap; 
}

.banner-date {
    font-size: 2.8vw; 
    letter-spacing: -0.02em;
    white-space: nowrap; 
}

@media (min-width: 600px) {
    .banner-title { font-size: 24px; }
    .banner-date { font-size: 16px; }
}

figure img {
    width: 100%;
}

/* ★新設：動的ページ専用 賞品ハイライト囲み枠 */
.current-prize-highlight {
    margin: 15px 10px 20px 10px !important; 
    background: #ffffff !important; 
    border: 3px solid #f2c03d !important; 
    border-radius: 8px !important; 
    overflow: hidden !important; 
    box-sizing: border-box !important;
}
.current-prize-highlight-title {
    background: #f7e8a4 !important; 
    padding: 10px !important; 
    text-align: center !important; 
    font-weight: bold !important; 
    font-size: 0.9em !important; 
    color: #4c4c4c !important; 
    letter-spacing: 0.05em !important;
}
.current-prize-highlight-body {
    padding: 15px !important; 
    text-align: center !important;
}
.current-prize-highlight-name {
    margin: 0 0 8px 0 !important; 
    font-size: 1.15em !important; 
    font-weight: bold !important; 
    color: #1c285a !important; 
    line-height: 1.4em !important;
}
.current-prize-highlight-detail {
    margin: 0 !important; 
    font-size: 1.05em !important; 
    font-weight: bold !important; 
    color: #e70000 !important; 
    line-height: 1.4em !important;
}

/* ★新設・アップデート：期間前・期間中受付エリア専用スタイル */
.pre-entry-container {
    text-align: center; 
    padding: 1.5em 1em; 
    background: #fffafb; 
    border: 2px dashed #fddde0; 
    border-radius: 12px; 
    margin: 15px 10px;
}
.pre-entry-title-text {
    color: #d32f2f; 
    font-weight: bold; 
    margin: 0 0 10px 0; 
    line-height: 1.4;
}
.pre-entry-sub-text {
    color: #fc1375; 
    font-size: 0.92em; 
    font-weight: bold; 
    margin: 0 0 20px 0; 
    line-height: 1.6;
}
.pre-entry-img-box {
    display: flex; 
    justify-content: center; 
    gap: 10px; 
    align-items: flex-start;
    width: 100% !important; /* 横幅いっぱいに確保 */
}
.pre-entry-link-item {
    text-decoration: none; 
    flex: 1; 
    width: 100% !important; /* テキストの1行表示を死守 */
    max-width: 240px !important;
}
.pre-entry-link-item img {
    width: 100%; 
    height: auto; 
    border-radius: 6px; 
    box-shadow: 0 3px 8px rgba(0,0,0,0.1); 
    border: 1px solid #eee; 
    display: block;
    margin: 0 auto !important;
}
.pre-entry-link-item p {
    color: #666; 
    font-size: 0.75em; 
    margin: 8px 0 0 0 !important; 
    line-height: 1.3; 
    font-weight: normal;
    white-space: nowrap !important; /* スマホでの中途半端な改行を絶対に防止 */
}

/* ★新設：期間中受付エリア専用 */
.entry-status-container {
    background: #ffffff; 
    padding: 20px 15px; 
    border-radius: 12px; 
    border: 2px dashed #f2c03d; 
    text-align: center; 
    margin-bottom: 20px; 
    line-height: 1.6;
}