@charset "UTF-8";

html {
    font-size: 100%;
    /* max-width: 1300px; */
    max-width: 1024px;
    margin: 0 auto;
    background: #FFFCF0;
    /* 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;
}

h1 {
    font-size: 1.1rem;
    font-weight: 800;
}

.font-white {
    color: #fff;
}

h2,
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;
}

.eyecatch {
    width: 100%;
    margin: auto;
    align-items: center;
}

.eyecatch img {
    height: 220px;
    vertical-align: middle;
}

/* header画像のところ */
.header-content {
    text-align: center;
}

/* メニュー　*/
.menu-content {
    z-index: 20;
}

/* 冒頭文・締め文　*/
.beginning-sentence,
.ending-sentence {
    padding: 0em 2em;
    margin: 0px 0px;
}

/* タグ表示部分 */
.input-btn {
    padding: 0em 1.5em 2em;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.3em;
}

.btn-row {
    display: flex;
    gap: 0.3em;
}

/*
.btn {
    display: inline-block;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    width: 100px;
    margin: auto;
    font-weight: bold;
    border: 2px solid #ff66b3;
    color: #fff;
    background: #ff66b3;
    border-radius: 50px;
    transition: 0.5s;
}

.btn:hover {
    border: 2px solid #ff66b3;
    color: #ff66b3;
    background-color: #fff;
}

/* カテゴリ選択時、反転 */
/*
.line {
    border: 2px solid #ff66b3;
    color: #ff66b3;
    background-color: #fff;
}

.show {
    display: block;
}

.noshow {
    display: none;
}

.tag {
    color: #333333;
    opacity: 0.5;
    padding: 3px;
    padding-bottom: 0.8px;
    border-radius: 5px;
    margin: 0;
    font-size: 0.7em;
    float: right;
}
*/

/* 紹介部分 */
.wrapper {
    margin: 0 auto;
    padding: 0 2%;
}

/* 記事部分 */
.contents {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* 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 h2 {
    display: block;
    text-align: center;
    padding: 0.5em 0.5em 0.5em 0.7em;
    margin: 0em;
    font-size: 0.9em;
    font-weight: 700;
}

/* 短いタイトル中央寄せ */
.one {
    padding: 0.85em 0.9em;
}

.sp-title {
    height: 8em;
}

/* コメント*/
.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;
}

.new {
    width: 20%;
}

.sentence {
    font-size: 0.8rem;
    padding-top: 5px;
    margin: 0 auto;
}

/* 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;
    background-color: ;
    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: 767px) {
    #menu-btn-check:checked~.menu-content {
        left: 50%;
        /*メニューを画面内へ*/
    }

    .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;
        padding-top: 30px;
    }

    .beginning-sentence p,
    .ending-sentence p {
        font-size: 0.95rem;
    }

    /* インプットボタン並び：縦に並べて2行に分ける*/
    /*
    .input-btn {
        padding: 0em 0.5em 0.8em 0.5em;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .btn-row {
        justify-content: center;
        margin-bottom: 0.2em;
    }

    .btn {
        margin: 0.3em;
        padding: 0.5em;
        font-size: 0.9em;
    }
    */

    .contents>div {
        width: 100%;
    }

    .article {
        display: flex;
        align-items: stretch;
        margin-bottom: 10px;
    }

    .no-article {
        display: none;
    }

    .eyecatch {
        width: 45%;
        margin: 0;
        padding: 0;
    }

    .sp-small {
        font-size: 0.9rem !important;
    }

    /*
    .tag {
        margin-bottom: 0.7em;
    }
    */

    /* ボタン間の余白 */
    /*
    .btn {
        padding: 0.5em 1em;
        font-size: 0.9rem;
    }
    */


    /* 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;
        height: 100%;
        min-height: 130px;
    }

    .sp-title {
        display: inline-block;
        width: 70%;
        height: auto;
    }

    .title h2 {
        text-align: left;
        font-size: 1rem;
    }

    .author-name {
        /* display: none; */
        font-size: 0.9rem;
    }

    .sentence {
        margin: 0;
        font-size: 0.9rem;
    }

    /*改行設定*/
    .br-pc {
        display: none;
    }

    .br-sp {
        display: block;
    }
}

@media (max-width: 480px) {
    .article {
        height: 150px;
}
}


/* 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 h2 {
        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;
    }

}