@charset "UTF-8";

html {
    font-size: 100%;
    /* max-width: 1300px; */
    max-width: 1024px;
    margin: 0 auto;
    background: #f9f9f9;
    /* Fills the page */
    position: relative;
    /* Fix for absolute positioning */
}

body {
    margin: 0px;
    -webkit-text-size-adjust: 100%;
    font-family: heisei-maru-gothic-std, sans-serif;
    line-height: 1.7;
    color: #333333;
}

h1 {
    font-size: 1.1rem;
    font-weight: 800;
}

p,
a {
    font-weight: 400;
    text-decoration: none;
    color: #333333;
}

p {
    font-size: 1.1rem;
}

img {
    max-width: 100%;
    object-fit: contain;
}

.sp {
    display: none;
}

/* header画像のところ */
.header-content {
    text-align: center;
}

/* メニュー　*/
.menu-content {
    z-index: 20;
}

/* 冒頭文・締め文　*/
.beginning-sentence,
.ending-sentence {
    padding: 0em 2em;
    margin: 0px 0px;
}

.ending-sentence p {
    text-align: left;
}


/* フローチャートここから */
.chart-container {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.chart-container img {
    width: 100%;
    height: auto;
}

.chart-btn {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;

    /* 共通のボタンサイズ＆位置比率 */
    width: 28%;
    height: 6%;
    top: 84%;
}

.chart-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.15);
}

/* 個別の位置、カラー調整 */
.chart-btn.sukatto {
    left: 2%;
    background-color: #a8e060;
    color: #000;
}

.chart-btn.kyun {
    left: 36%;
    background-color: #ff99cc;
    color: #fff;
}

.chart-btn.hokkori {
    left: 70%;
    background-color: #99e2d0;
    color: #004d4d;
}

/* フローチャートここまで */


#sukatto {
    background: #e6fcdc;
    padding: 30px 0;
}

#kyun {
    background: #FFE5F5;
    padding: 30px 0;
}

#hokkori {
    background: #cdfdff;
    padding: 30px 0;
}

.section-inner {
    max-width: 1024px;
    margin: 0 auto;
    padding: 0 20px;
}

/* スカッと、キュン、ほっこりセクションの後ろに余白 */
#sukatto,
#kyun,
#hokkori {
    margin-bottom: 2em;
}

/* セクションタイトル設定 */
.title-sukatto {
    padding: 0.5em 1em;
    margin: 0.5em 0 1.8em;
    color: #000000;
    background: #a8e060;
    border-bottom: solid 6px #5ea341;
    border-radius: 9px;
    text-align: center;
}

.title-sukatto p {
    margin: 0;
    padding: 0;
}

.title-kyun {
    padding: 0.5em 1em;
    margin: 0.5em 0 1.8em;
    color: #ffff;
    background: #ff99cc;
    border-bottom: solid 6px #FF59AC;
    border-radius: 9px;
    text-align: center;
}

.title-kyun p {
    margin: 0;
    padding: 0;
}

.title-hokkori {
    padding: 0.5em 1em;
    margin: 0.5em 0 1.8em;
    color: #004d4d;
    background: #99e2d0;
    border-bottom: solid 6px #56CBAE;
    border-radius: 9px;
    text-align: center;
}

.title-hokkori p {
    margin: 0;
    padding: 0;
}

.recommend {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 90%;
    max-width: 350px;
    padding: 0.8rem 1rem;
    font-size: 1.1rem;
    font-weight: bold;
    background-color: #FFFDD0;
    border: 2px solid #F6BB43;
    color: #4e454a;
    border-radius: 100vh;
    margin: 1em auto;
}

/* 紹介部分 */
.wrapper {
    margin: 0 auto;
    padding: 0 2%;
}

/* 記事部分 */
.contents {
    width: 100%;
    display: flex;
    display: -ms-flexbox;
    /* IE10 */
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    /* IE10 */
    justify-content: flex-start;
}

/* 各記事部分 */
.content {
    width: 25%;
    padding: 0 0 13px 0;
}

.article {
    margin: 0px 10px 0px 3px;
    background: #fff;
    border: solid 1px #c9c9c9;
    box-shadow: 0px 2px 3px #c9c9c9;
    overflow: hidden;
    border-radius: 5px;
    /* height: 24em; */
    position: relative;
}

/* 記事全体をリンクに設定 */
.article .link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
}

/*　タイトル */
.title h3 {
    display: block;
    text-align: center;
    padding: 0.5em 1em;
    margin: 0em;
    font-size: 0.9em;
    font-weight: 700;
}

/* 短いタイトル中央寄せ */
.one {
    padding: 0.85em 0.9em;
}

.sp-title {
    height: 7.5em;
}

/* アイキャッチ */
.eyecatch {
    width: 100%;
    margin: auto;
}

/* コメント*/
.comment {
    margin: 0 auto;
    padding: 0rem 0.84em;
}

/* 作者 */
.author {
    display: flex;
    align-items: center;
}

.author-img {
    width: 40px;
    height: auto;
    border: 1px solid #fff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgb(0 0 0 / 24%);
    -webkit-transition: opacity .25s ease;
    transition: opacity .25s ease;
    background-color: #fff;
    margin-right: 10px;
}

.author-name {
    margin: 5px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #333333;
}

.sentence {
    font-size: 0.8rem;
    padding-top: 5px;
    margin: 0 auto;
}

/*
.tag {
    color: #333333;
    opacity: 0.5;
    padding: 3px;
    padding-bottom: 0.8px;
    border-radius: 5px;
    margin: 0;
    font-size: 0.7em;
    float: right;
}
*/

.attention{
    font-size: 0.6rem;
    text-align: right;
    margin: -30px 10px 30px;
}

/* 連載検索バナー */
.serialization_banner {
    margin: 0 auto;
    max-width: 600px;
}

.serialization_banner img:hover {
    opacity: 0.8;
}

/* footer */
footer {
    /* background: #ccffd696; */
    text-align: center;
}

footer p {
    color: #333333;
    font-size: 1rem;
}

/* NAPBIZアプリ */
.app {
    display: flex;
}

.icon {
    width: 90px;
}

.icon img {
    border-radius: 15px;
}

.android {
    width: 135px;
}

.ios,
.android {
    margin: 0 0 0 25px;
}

.ios p,
.android p {
    margin-bottom: 0px !important;
}

/* ページのトップへ移動 */
html {
    scroll-behavior: smooth;
}

.pagetop {
    height: 60px;
    width: 60px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    background: #ffee99;
    /* border: solid 2px #000; */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 90;
}

.pagetop__arrow {
    height: 10px;
    width: 10px;
    border-top: 3px solid #333333;
    border-right: 3px solid #333333;
    transform: translateY(20%) rotate(-45deg);
}


/* ハンバーガーメニュー */
.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #ffee99;
    border-radius: 50%;
}

.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #333333;
    position: absolute;
}

.menu-btn span:before {
    bottom: 8px;
}

.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked~.menu-btn span {
    background-color: rgba(255, 255, 255, 0);
    /*メニューオープン時は真ん中の線を透明にする*/
}

#menu-btn-check:checked~.menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}

#menu-btn-check:checked~.menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

/* ハンバーガーメニューのメニュー */
.menu-content ul {
    padding: 70px 10px 0;
}

.menu-content ul li {
    border-bottom: solid 1px #333333;
    list-style: none;
}

.menu-content ul li a {
    font-family: dnp-shuei-mgothic-std, sans-serif;
    display: block;
    width: 100%;
    font-size: 1rem;
    box-sizing: border-box;
    color: #333333;
    text-decoration: none;
    padding: 9px 22px 10px 0px;
    position: relative;
}

.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #333333;
    border-right: solid 2px #333333;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

.menu-content {
    z-index: 20;
    padding: 10px;
    width: 30%;
    height: auto;
    position: fixed;
    top: 0;
    left: 100%;
    /*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #fee66c;
    transition: all 0.5s;
    /*アニメーション設定*/
}

#menu-btn-check:checked~.menu-content {
    left: 70%;
    /*メニューを画面内へ*/
}

/*改行設定*/
.br-pc {
    display: block;
}

.br-sp {
    display: none;
}

/*  デバイス対応  */

/* スマホ縦 */
@media (max-width: 480px) {
    #menu-btn-check:checked~.menu-content {
        left: 50%;
        /*メニューを画面内へ*/
    }

    .menu-btn {
        top: 15px;
    }

    .menu-btn,
    .pagetop {
        opacity: 0.8;
    }

    .menu-content {
        width: 50%;
    }

    .menu-content ul li a {
        font-size: 1rem;
    }

    #menu li a {
        font-size: 1rem;
    }

    /* ヘッダー */
    .pc {
        display: none;
    }

    .sp {
        display: block;
    }

    .beginning-sentence p,
    .ending-sentence p {
        font-size: 0.95rem;
    }

    /* フローチャート*/
    .chart-btn {
        font-size: 10px;
        width: 29%;
        height: 8%;
        top: 83%;
        padding: 0;
        border-radius: 20px;
    }

    /* おすすめ漫画はこちら囲み*/
    .recommend {
        font-size: 0.95rem;
        padding: 0.6rem 1rem;
    }

    .contents>div {
        width: 100%;
    }

    .article {
        height: auto;
        margin-bottom: 3%;
    }

    .no-article {
        display: none;
    }

    /*
    .tag {
        margin-bottom: 0.7em;
    }
    */

    /* NAPBIZアプリ */
    .icon {
        width: 75px;
    }

    .ios {
        width: 100px;
    }

    .android {
        width: 100px;
    }

    .ios,
    .android {
        margin: 0 0 0 15px;
    }

    /* スマホ対応 */
    .content {
        padding: 0px;
    }

    .article {
        display: flex;
        align-items: center;
    }

    .eyecatch {
        width: 45%;
        margin: 0;
        padding: 0;
    }

    .eyecatch img {
        vertical-align: bottom;
        width: 100%;
    }

    .sp-title {
        display: inline-block;
        width: 70%;
        height: auto;
    }

    .title h3 {
        text-align: left;
        font-size: 1rem;
        padding: 0.5em;
    }

    .author {
        margin-bottom: 8px;
    }

    .author-name {
        /* display: none; */
        font-size: 0.9rem;
    }

    .sentence {
        margin: 0;
        font-size: 0.9rem;
    }

    /*改行設定*/
    .br-pc {
        display: none;
    }

    .br-sp {
        display: block;
    }
}

/* ipad */
@media (min-width:481px) and (max-width: 960px) {

    .menu-btn,
    .pagetop {
        opacity: 0.8;
    }

    .content {
        height: auto;
    }

    .contents>div {
        width: 25%;
    }

    /* ヘッダー */
    .sp {
        display: none;
    }

    .article {
        height: 23em;
    }

    /* PC時のアイキャッチ調整 */
    .eyecatch {
        text-align: center;
    }

    .square {
        height: 11em;
    }

    .one {
        padding: none;
    }

    .title h3 {
        padding: 0.3em;
    }

    /* 正方形画像でないとき */
    .blank {
        margin-top: 1.5em;
        margin-bottom: 1.5em;
    }

    .btn {
        margin: 0.1em;
    }

    /* NAPBIZアプリ */
    .icon {
        width: 100px;
    }

    .android {
        width: 135px;
    }

    .ios,
    .android {
        margin: 0 0 0 25px;
    }

}

/* PC */
@media screen and (min-width:1024px) {

    #menu li a {
        padding: 10px;
    }

    /* PC時のアイキャッチ調整 */
    .eyecatch {
        text-align: center;
    }

    .square {
        height: 11.5em;
    }

    /* 正方形画像でないとき */
    .blank {
        margin-top: 1.5em;
        margin-bottom: 1.5em;
    }

}