@charset "UTF-8";
/* =================================================
    1. 固定レイアウト
    ※基本的にこのエリアは変更不要です
================================================== */

/* --- 非表示・基本リセット --- */
.visibility-hidden {
    visibility: hidden;
    position: absolute;
}

.wrap {
    width: 100%;
    position: relative;
}

header {
    position: relative;
    width: 100%;
}

header picture img {
    width: 100%;
    height: auto;
    display: block;
}

section {
    width: 100%;
    padding: 0.8rem 0;
    overflow: hidden;
    margin-top: -1px; /* セクションの隙間対策 */
}

/* --- レイアウト設定 --- */
/* 各セクション内コンテナ設定 */
.section-container {
    max-width: 768px;
    width: 100%;
    margin: 1rem auto;
    padding: 0;
}

/* section-01 画像サイズ調整 */
.section-01 .section-container img {
    width: 90%; 
    max-width: 750px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* 応募ボタンコンテナ */
.section-container-oubo {
    max-width: 768px;
    margin: 1rem auto;
}

/* 応募ボタン画像調整 */
.section-container-oubo img {
    width: 90%;
    max-width: 550px;
    height: auto;
    display: block;
    margin: 0 auto;
    transform: scale(1);
    transition: 0.3s ease;
}

/* コミックス情報 内側設定 */
.section-container-comics {
    max-width: 768px;
    width: 100%;
    padding: 2rem 1rem;
    margin: 0 auto;
    display: flex;           
    flex-wrap: nowrap;
    justify-content: center; 
    align-items: center; 
    gap: 0.5rem;
}

/* コミックス 表紙枠 */
.thumbnail {
    flex: 1;
    width: 50%;
    min-width: 0;
}

/* コミックス 購入ボタン枠 */
.details {
    flex: 1;
    width: 50%;
    min-width: 0;
}

.section-container-comics img {
    height: auto;
    padding: 0.3rem 0;
}

/* セクション全体の指定 */
.section-08 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4rem 0;       /* 縦幅の基準となる高さ（デザインに合わせて調整してください） */
}

/* --- テキストまわり --- */
section p {
    width: 85%;
    margin: 0 auto;
    padding: 0.5rem 0;
    font-weight: bold;
    font-size: clamp(12px, 4vw, 24px); /* 通常は24px。標準より小さくなったら画面幅に合わせて縮小（最小12px） */
    line-height: 1.5;
}

section ul {
    width: 90%;
    margin: 0 auto;
    padding: 0.5rem 0 0.5rem 1.2rem;
    font-weight: bold;
    font-size: clamp(12px, 4vw, 24px);
    line-height: 1.5;
    box-sizing: border-box;
}

section ul li {
    text-indent: 0;
    padding-left: 0;
    list-style: none;
}

/* フォントサイズを大きくしたいとき用 */
.text-large {
    font-size: clamp(16px, 5vw, 33px);
    line-height: 1.45;
}

/* フォントサイズを小さくしたいとき用 */
.text-small {
    font-size: clamp(10px, 3vw, 18px);
    line-height: 1.3;
}

/* フォントサイズを中央寄せしたい時用 */
.text_center {
    text-align: center;
}

/* 太字を解除したい時用 */
.text-normal {
    font-weight: normal; 
}

.img_oubokikan {
    width: 85%;
    margin: 2rem auto 0.5rem;
}

h3 {
    border: 1px solid #000;
    margin: 1.2rem auto 0.8rem;
    padding: 0.5rem 1rem;
    width: 90%;
    font-size: clamp(16px, 4.5vw, 24px);
    line-height: 1.4;
}

/* details (アコーディオン) 設定 */
details {
    width: 90%;
    margin: 0.8rem auto;
}

.subsc_open {
    display: none;
}

details[open] .subsc_close {
    display: none;
}

details[open] .subsc_open {
    display: inline;
}

/* --- フッター --- */
footer {
    width: 100%;
    padding: 1.5rem 0;
}

.text_copy {
    text-align: center;
    margin: 0 auto;
    padding: 0.5rem 0;
}

/* --- ヘッダー / SNS設定 --- */
.nav_sp {
    display: none;
}
.nav_pc {
    display: block;
}

@media screen and (max-width: 1024px) {
    .nav_pc {
        display: none;
    }
    .nav_sp {
        display: block;
    }
}

.nav_sp {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.5%;
    z-index: 2;
}

.nav_sp ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7vw;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.nav_sp li {
    width: auto;
    height: auto;
}

.nav_sp img {
    width: 8vw;           
    max-width: 64px;  /* 最大サイズ */
    min-width: 20px;  /* 最小サイズ */
    height: auto;
    display: block;
}

/* スマホ版のラインアイコンサイズの調整　*/
.nav_sp img.ico_line_sp {
    width: 9vw;
    max-width: 75px;
}

.nav_pc {
    position: absolute;
    top: 5%;
    right: 11%;
}

.nav_pc ul {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav_pc li {
    margin: 0.2rem;
    text-indent: 0;
}

.nav_pc img {
    width: 40px; 
    height: auto;
    max-width: none;
    display: block;
}


/* --- スマホ閲覧時（768px以下）の画像サイズ調整 --- */
@media screen and (max-width: 768px) {

    /* SNSアイコンの間隔調整 */
    .nav_sp ul {
    gap: 9vw;
    }

    /* 企画概要画像 */
    .section-01 .section-container img {
        width: 95%; /* 85%→95%に拡大 */
    }

    /* 応募ボタン画像 */
    .section-container-oubo img {
        width: 90%; /* 75%→95%に拡大 */
    }

    /* 応募期間画像 */
    .img_oubokikan {
        width: 95%; /* 85%→95%に拡大 */
    }

    /* 最下部の画像テキスト */
    .section-container-comics-imgtext img {
        width: 95%; /* 80%→95%に拡大 */
    }

}

/* --- ホバーアニメーション --- */
.nav_sp li:hover { transform: scale(1.1); }
.nav_pc li:hover { transform: scale(0.9); }
.section-container-oubo img { transform: scale(1); transition: 0.3s ease; }
.section-container-oubo img:hover { transform: scale(0.95); }
.btn_sq:hover { transform: scale(0.95); transition: 0.3s ease; }
.btn_x { width: 70%; margin: 0 auto; transform: scale(1); transition: 0.3s ease; }
.btn_x:hover { transform: scale(0.9); }
.btn_buy { width: 100%; margin: 0 auto; transform: scale(1); transition: 0.3s ease; }
.btn_buy:hover { transform: scale(0.9); }


/* =================================================
    変動デザイン（カラー・背景・画像切り替え）
================================================== */

/* --- 全体・ページ壁紙 --- */
.wrap-bg {
    background-image: url('../img/bg01.png');

}

/* --- コンテンツカード背景設定 --- */
.bg-white-box {
    background-color: #ffffff;
    box-sizing: border-box;
    width: 86%;
    max-width: 768px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0 1rem 0;
}

/* コンテンツカードの上の余白リセット */
.bg-white-box > *:first-child {
    margin-top: 0;
}

/* --- 各セクションの背景色指定 --- */
.section-02,
.section-03,
.section-04,
.section-05,
.section-06,
.section-07 {
    /*background-color: #616161;*/
}

.section-08 {
    padding: 4rem 0;       /* 縦幅の基準となる高さ（デザインに合わせて調整） */
}

/* --- 作品情報〜フッターの一背景設定 --- */
.section-08-bg {
    /*background-image: url("../img/bg02.png");*/
    background-color: #fdd100;
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: top center;
}

/* フッター背景・文字色 */
footer {
    /*background: transparent;*/  /*section-08-bgと背景をつなげたい時に使用*/
    background-color: #000;
}

.text_copy {
    color: #fff;
}

/* コミックス情報 最下部画像テキスト */
.section-container-comics-imgtext {
    max-width: 768px;
    width: 100%;
    margin: 0 auto;
    padding: 0 1rem 1rem;
    box-sizing: border-box;
}

.section-container-comics-imgtext img {
    width: 80%;
    height: auto;
    display: block;
    margin: 0 auto;
}