@charset "UTF-8";

/* ===============================================
   1. Base & Reset & 外部CSS上書き
   =============================================== */
html body * {
    font-family: "M PLUS 1", sans-serif !important;
    background-repeat: inherit; 
    color: inherit;
    text-decoration: inherit;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}

body {
/* 左にbg1、右にbg2を指定 */
        background-image: url(../img/bg_award.webp), url(../img/bg_award.webp);        
        /* 上下の座標をずらす設定：
           左(bg1)は 0px から開始、右(bg2)は 250px（適当な数値）から開始
        */
        background-position: 0% 0px, 100% 675px;

        /* 画像の拡大を防ぐ（画像本来のサイズ、またはお好みの幅を指定） */
        background-size: 480px auto; 

        /* 繰り返し設定 */
        background-repeat: repeat-y, repeat-y;

        /* 画面に固定 */
        background-attachment: fixed, fixed;

        /* 背景がコンテンツの下に回り込むように設定 */
        background-color: #fff;

    padding: 0;
    margin: 0;
    font-family: sans-serif;
    /* 本文：中サイズ（PC版24pxに引き上げ） */
    font-size: 24px;
    line-height: 1.4;
}

/* 汎用クラス */
.full { width: 100%; display: block; margin: 0 auto; }
.w100 { width: 100%; display: block; margin: 0 auto; max-width: 860px; }
.w90  { width: 90%;  display: block; margin: 0 auto; max-width: 800px; }
.w80  { width: 80%;  display: block; margin: 0 auto; }
.w60  { width: 60%;  display: block; margin: 0 auto; min-width:300px; }
.hr {display: block; margin: 10% auto;}

/* フォントサイズ統一クラス (PC版)
   標準が24pxになったため、大サイズを36pxへ引き上げ
*/
.txt_large      { font-size: 36px; line-height: 1.4; font-weight: 700; } /* 大 */
.txt_small      { font-size: 18px; line-height: 1.6; }                 /* 小 */

.box_left  { text-align: left; }

/* ===============================================
   2. Header & Navigation
   =============================================== */
.box_title {
    display: flex;
    align-items: center;
    height: 100%;
    width: auto;
}
.site-logo {
    display: block;
    width: 200px;
    height: 60px;
    background-image: url(../img/logo_ganma.svg) !important;
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    text-indent: -9999px;
    overflow: hidden;
}

.site-logo h1 {
    margin: 0;
    padding: 0;
    font-size: 0;
}

header.header-main {
    all: unset;
    display: block;
    width: 100%;
    background-color: #ffffff;
    box-shadow: rgba(6, 0, 1, 0.2) 0 2px 8px 1px;
    position: relative;
    z-index: 100;
    transition: opacity 0.3s;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.pc-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.pc-nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 0.05em;
}

.header-sticky {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.header-sticky.is-show {
    opacity: 1;
    visibility: visible;
}

.menu-trigger {
    width: 50px;
    height: 50px;
    background: #000;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.menu-trigger span {
    display: block;
    width: 25px;
    height: 2px;
    background: #fff;
}

.full-screen-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}
.full-screen-menu.is-active { opacity: 1; visibility: visible; }
.full-screen-menu ul { list-style: none; text-align: center; padding: 0; }
.full-screen-menu a { color: #fff; text-decoration: none; font-size: 24px; display: block; padding: 15px; }
.close-btn { position: absolute; top: 20px; right: 20px; background: none; border: none; color: #fff; font-size: 40px; cursor: pointer; }

/* ===============================================
   3. Top Section (Countdown & Floating Button)
   =============================================== */
.box_mainpc {
    width: 100%;
    line-height: 0;
    background-color: #fff;
}

.box_all {
    width: 100%;
    background: linear-gradient(to bottom, #fff 0%, #fff 70%, transparent 100%);
    margin: 0;
    padding: 0;
}

.box_countdown {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    background-color: #fff;
    padding: 0 0 40px 0;
    text-align: center;
}

.countdown-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    line-height: 0;
}

.counter-bg {
    width: 100%;
    height: auto;
}

.countdown-digits {
    position: absolute;
    top: 50%;
    right: 7.5%; 
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 2px;
    height: 85%;
}

.countdown-digits img {
    height: 100%;
    width: auto;
}

.box_entrybutton {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    background-color: #fff;
    text-align: center;
    padding-top: 0;
    padding-bottom: 80px;
}

.entry-btn-static {
    display: none;
}

.entry-btn-static .btn-link {
    display: inline-block;
}

.floating-btn-wrap {
    position: fixed;
    bottom: 40px;
    right: -500px; /* 画面外 */
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    pointer-events: none;
    transition: right 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.3s ease, visibility 0.3s ease;
}


.floating-btn-wrap .btn-link {
    display: inline-block;
    width: 420px; /* 固定時のサイズをデフォルトに */
    transition: transform 0.3s ease;
}
.floating-btn-wrap .btn-link:hover {
    transform: scale(1.05);
}

.floating-btn-wrap img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.2));
}

.floating-btn-wrap.is-fixed {
    right: 40px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.floating-btn-wrap.is-fixed .btn-link {
    width: 420px;
}

/* ===============================================
   4. Main Content Settings
   =============================================== */
.box_content {
    width: 100%;
    max-width: 960px;
    background-color: #fff;
    margin: 0 auto;
    text-align: center;
    color: #333;   
    padding: 0px 0px 50px 0px;
    /* 中サイズ (24px) */
    font-size: 24px;
    line-height: 1.4;
}

.box_content a { color: #0099ff; text-decoration: underline; font-weight: 700; }
.box_content a:hover { text-decoration: none;}

.box_content h2 { margin: 5% auto 0% auto; width: 90%; }

/* 特大サイズ */
.box_content h3 { 
    font-size: 55px; 
    line-height: 1.2; 
    font-weight: 800;
    margin: 40px auto 20px auto; 
    color: #000;
}

/* 大サイズ (36px) */
.box_content h4 {
    font-size: 36px;
    line-height: 1.5;
    font-weight: 700;
    margin: 30px auto 10px;
    text-align: left;
}

.box_memo, .box_caption { padding: 2% 0% 5% 0%; color: #333; }
.box_caption { padding: 5% 0%; }

/* ===============================================
   5. 連載作家の声 (V字吹き出し)
   =============================================== */
.box_voice_wrap {
    position: relative;
    border: 5px solid #ccc;
    border-radius: 35px;
    padding: 30px;
    margin: 0px auto 30px auto;
    text-align: left;
    background: #fff;
}

.box_voice_wrap::before {
    content: "";
    position: absolute;
    bottom: -13px; 
    left: 50px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    transform: rotate(45deg);
    border-right: 5px solid;
    border-bottom: 5px solid;
    border-color: inherit;
    z-index: 2;
}

.box_voice01 { border-color: #ffdf0b; }
.box_voice02 { border-color: #ae6cf0; }
.box_voice03 { border-color: #9ae82a; }

.box_prof {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.image_icon { flex-shrink: 0; width: 30%; max-width: 150px; margin: 0; }
.icon_img { width: 100%; height: auto; border-radius: 15px; display: block; }
.prof_txt { flex: 1; min-width: 0; }

.prof_info { font-size: 20px; font-weight: bold; margin: 0; color: #444; line-height: 2; }
.small_note { font-size: 14px; font-weight: normal; line-height: 1.2; }
.prof_name { font-size: 36px; font-weight: bold; margin: 0 0 10px 0; line-height: 1.1; }
.prof_works { font-size: 18px; line-height: 1.5; color: #333; margin: 2px  0px; }
.x_id { font-size: 18px; font-weight: normal; }
.x_id a { color: #1da1f2; text-decoration: none; }

.dotline { border: none; background: url(../img/bg_dotline.webp) repeat-x center left / 10px auto; margin: 0% auto 2% auto; height:10px; }

/* ===============================================
   6. Swiper & Infinite Slider
   =============================================== */
.box_ambassador { width: 90%; margin: 0px auto; text-align: center; }

.swiper-slide img {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.swiper-button-prev, .swiper-button-next {
    width: 100px;
    height: 100px;
    top: 60%;
    transform: translateY(-50%);
}
.swiper-button-prev { background-image: url(../img/btn_left.webp) !important; background-size: contain; left: 10px; }
.swiper-button-next { background-image: url(../img/btn_right.webp) !important; background-size: contain; right: 10px; }

.infinite-slider-container { width: 100%; background-color: #fff; overflow: hidden; margin: 0; padding: 20px 0; }
.infinite-slider-wrap {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}
.infinite-slider-track {
    --slider-item-width: 200px;
    --slider-gap: 20px;
    --slider-loop-count: 10;
    display: flex;
    gap: var(--slider-gap);
    width: fit-content;
    margin-top: 20px;
    animation: infinite-scroll 25s linear infinite;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}
.infinite-slider-track img {
    width: var(--slider-item-width);
    height: auto;
    display: block;
    flex: 0 0 auto;
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@keyframes infinite-scroll {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(calc((var(--slider-item-width) * var(--slider-loop-count) + var(--slider-gap) * var(--slider-loop-count)) * -1), 0, 0); }
}

/* ===============================================
   7. エントリー条件 & 応募規約
   =============================================== */
.entry_conditions { margin-top: 10%; }

.entry_conditions .line_title {
    all: unset;
    display: block;
    font-size: 36px !important;
    font-weight: 800 !important;
    line-height: 1.5;
    text-align: left;
    border-bottom: 3px solid #333;
    padding-bottom: 8px;
    margin: 50px 0 20px 0;
}

.list_sub_cat {
    font-size: 24px !important;
    font-weight: 700 !important;
    line-height: 1.5;
    margin: 30px 0 10px 0;
    text-align: left;
}

.circle_list, .dot_list, .alpha_list, .num_circle_list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.circle_list li, .dot_list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 10px;
    line-height: 1.4;
    font-size: 24px;
}

.circle_list li::before { content: "○"; position: absolute; left: 0; font-weight: 700; }
.dot_list li::before { content: "・"; position: absolute; left: 0; font-weight: 700; }

.alpha_list li { display: flex; margin-bottom: 8px; font-size: 24px; line-height: 1.4; }
.alpha_list li span { flex-shrink: 0; width: 1.5em; font-weight: 700; }

.num_circle_list li { margin-bottom: 6px; font-size: 24px; line-height: 1.4; }

.terms_section { padding-bottom: 60px; }

.terms_intro, .terms_footer {
    font-size: 24px;
    line-height: 1.4;
    margin-bottom: 10px;
    text-align: left;
}

/* ===============================================
   8. FAQ & Footer
   =============================================== */
.box_faq_q, .box_faq_a { width: 80%; border: 4px solid #2a424b; padding: 20px 20px 20px 80px; margin: 0 auto; text-align: left; font-size: 24px; line-height: 1.4; }
.box_faq_q { border-radius: 40px 40px 0 0; color: #fff; background: #2a424b url(../img/icon_q.webp) no-repeat top 20px left 20px / 40px auto; font-weight: 700; }
.box_faq_a { border-top: 0; border-radius: 0 0 40px 40px; background: #fff url(../img/icon_a.webp) no-repeat top 20px left 20px / 40px auto; color: #333; padding-bottom: 30px; margin-bottom: 20px; }
.site-footer {
    width: 100%;
    background-color: #fff;
    padding: 40px 0 100px; /* ボタンと被らないよう下部余白を確保 */
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer-logo img {
    width: 180px;
    height: auto;
    display: block;
}

.footer-copy {
    font-size: 12px !important;
    color: #333;
    text-decoration: none;
}
/* ===============================================
   9. Responsive (Smartphone Optimization)
   =============================================== */
.sp-only { display: none; }

@media (max-width: 768px) { 
    .header-inner { height: 48px; padding: 0 10px; }
    .site-logo { width: 140px; height: 32px; }
    .menu-trigger { width: 40px; height: 40px; gap: 4px; }
    .menu-trigger span { width: 24px; height: 2px; }
    .pc-nav { display: none; }
    .sp-only { display: flex; }

    .header-sticky { display: none; }
    .menu-trigger.sp-only {
        position: fixed;
        top: 4px;
        right: 10px;
        z-index: 120;
    }

    .close-btn {
        position: fixed;
        top: 4px;
        right: 10px;
        width: 40px;
        height: 40px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 34px;
        line-height: 1;
    }

    .box_all, .box_countdown, .box_entrybutton, .box_content { background: #fff !important; max-width: none; }
    .box_countdown { padding-bottom: 5px; }
    .countdown-digits { right: 7%; height: 90%; }
    .box_entrybutton { padding-bottom: 40px; }
    .entry-btn-static {
        display: block;
        width: 100%;
    }
    .entry-btn-static .btn-link {
        width: 90%;
        max-width: 400px;
    }
    .entry-btn-static img {
        width: 100%;
        height: auto;
        filter: drop-shadow(0 10px 15px rgba(0,0,0,0.15));
    }

    .floating-btn-wrap {
        left: 50%;
        right: auto;
        bottom: 12px;
        width: 90%;
        max-width: 400px;
        background: transparent;
        padding: 0;
        box-shadow: none;
        display: flex;
        justify-content: center;
        transform: translate(-50%, 120%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
    }
    .floating-btn-wrap::before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: -12px;
        width: 100vw;
        height: calc(100% + 24px);
        transform: translateX(-50%);
        background: rgba(255, 255, 255, 0.84);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.25s ease;
        z-index: -1;
    }
    .floating-btn-wrap .btn-link {
        width: 100%;
        max-width: none;
    }
    .floating-btn-wrap.is-fixed {
        transform: translate(-50%, 0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .floating-btn-wrap.is-fixed::before {
        opacity: 1;
    }

    /* スマホ版：ベースフォントサイズ */
    .box_content { font-size: 16px; line-height: 1.7; width: 100%; }

    /* ★スマホ版：フォントサイズ共通クラスの追加定義 */
    .txt_large      { font-size: 24px !important; } /* 大 */
    .txt_small      { font-size: 14px !important; } /* 小 */

    /* コンテンツ内の個別見出し調整 */
    .box_content h3 { font-size: 32px; } 
    .box_content h4, .list_sub_cat, .entry_conditions .line_title { font-size: 16px !important; } 
    
    .circle_list li, .dot_list li, .alpha_list li, .num_circle_list li, .terms_intro, .terms_footer, .box_faq_q, .box_faq_a { font-size: 16px; } 
    .box_faq_q { border-radius: 30px 30px 0 0;}
    .box_faq_a { border-radius: 0 0 30px 30px;}


    .box_voice_wrap { padding: 20px; border-radius: 25px; border-width: 4px; }
    .box_voice_wrap::before { bottom: -11px; left: 30px; width: 16px; height: 16px; border-right-width: 4px; border-bottom-width: 4px; }
    .prof_info { font-size: 14px; margin: 0; line-height: 1.2; }
    .small_note { font-size: 10px; line-height: 1.2; }
    .prof_name { font-size: 24px; margin: 0 0 5px 0; line-height: 1.1; }
    .prof_works { font-size: 14px; line-height: 1.5;}
    .x_id { font-size: 14px; }
    .dotline { background-size: 5px auto; height:5px;  margin: 0% auto 5% auto; }

    .swiper-button-prev, .swiper-button-next { width: 40px; height: 40px; top: 65%;}
    .swiper-slide img { width: 90%; }
    .infinite-slider-track { --slider-item-width: 150px; }

    .box_faq_q, .box_faq_a { padding: 10px 10px 10px 50px; background-position: top 10px left 10px; background-size:30px auto; }

    .site-footer {
        padding-bottom: 150px; /* スマホ固定ボタン用の余白 */
    }

    .floating-btn-wrap.is-fixed {
        z-index: 1100; /* ヘッダー(1000)より上に設定 */
    }

}