@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

html {
    background-color: #fff;
    width: 100%;
    box-sizing: border-box;
    word-break: normal;

    font-size: 16px; /* このfont-sizeを基準としてremで各要素のフォントサイズを指定する */
    
}

body {
    --max-width: 480px;
    font-family: Hiragino Sans,Hiragino Kaku Gothic ProN,Meiryo,Helvetica Neue,Helvetica,Arial,Roboto,sans-serif;
    font-size: 1.6rem;
    line-height: 1.8;
    position: relative;
    padding: 0;
    color: #1c1b1a;
    background-color: #fff;

    --arrow-color: #595652;
}

a {
    /* <a>タグのデコレーションをキャンセルする */
    text-decoration: none;
    color: #1c1b1a;
}


header {
    position: relative;
}

/* <header>タグ内でnewsサイト機能のナビゲーション要素をグループ化したタグに適用するスタイル
 */
.header-nav {
/*    height: 100px;*/
    background-color: #fff;

    margin: 20px 0 20px 0;
    margin: 0 auto;

    margin-bottom: 25px;
    border-bottom: 1px solid #e6e6e6;
}

.header-nav {
    display: flex;
    justify-content: space-between;
    flex-flow: row nowrap;
}

.header-nav-unit {
    width: 100%;
    height: 100%;
    user-select: none;

    /* タイトル文字っぽいのはこのスタイルで */
    font-size: 1.0rem;
    font-weight: 600;
    color: #1c1b1a;

    display: block;
    height: 100%;
    padding-top: 20px;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}    

.header-nav-unit {
    display: none;
}

.header-nav-unit-group {
    display: none;
}

.m-header-drawer {
    position: relative;
    margin: 2px 13px 0 4px;
    padding: 0 10px 0 40%;
}


.m-header-drawer__btn {
    display: flex;
    flex-direction: column;
    box-sizing: content-box;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    padding: 6px 0;
    cursor: pointer;
    justify-content: space-between;
    align-items: center;
}

.m-header-drawer__btn span {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background-color: #111;
}

.m-header-drawer__btn-menu {
    font-size: 0.8rem;
    line-height: 1;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    color: #333;
}

.m-header-menu {
    position: fixed;
    z-index: 9999;
    top: 0;
    right: -120%;
    overflow: auto;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 60px);
    /* padding: 30px 20px 100px; */
    transition: .3s ease-in-out;
    background: #ededed;

    display: grid;
    grid-template: "none btn"
                    "nav nav";
    grid-template-columns: auto 90px;
    grid-template-rows: 70px auto;
}

.m-header-menu-closebtn {
    position: relative;
    z-index: 10;
    display: grid;
    grid-area: btn;
    margin: 5% 5% 5% 2%;
    padding: 5% 5% 5% 5%;
    width: 44px;
    height: 44px;
    background-color: rgba(0,0,0,.6);
}

.m-header-nav {
    grid-area: nav;
    border-bottom: 1px dotted #595652;
}

.m-header-nav-item {
    font-size: 1.0rem;
    font-weight: 600;
    position: relative;
    display: block;
    width: 100%;
    padding: 10px 10px;
    border-top: 1px dotted #595652;
}

.m-header-nav-item-child {
    overflow: hidden;
    max-height: 0px;
    transition: max-height .5s;
    background-color: #fff;
    margin: 0 50px 0 1px;
    padding: 0 30px 0 0;

    display: grid;
    grid-template: "header" "content";
    grid-template-rows: 50px auto;
}

.m-header-nav-item-child-header {
    grid-area: header;
}

.m-header-nav-item-child-content {
    grid-area: content;
    display: flex;
    flex-wrap: wrap;
}

.m-header-nav-item-child-content a {
    font-size: 0.8rem;
    line-height: 1.4;
    display: block;
    margin: 0 10px 10px 0;
    padding: 4px 8px;
    color: #fff;
    border-radius: 2px;
    background-color: #595652;
    box-shadow: 0 0 1px 1px rgb(1 1 1/10%);
}

/* <main>タグのnewsサイト機能をグループ化する要素に適用するスタイル
 */
.main-division {
/*    --main-width: calc(100% - 10px);*/
    border-right: 1px solid #e4e1e1;
    margin: 0 auto 0 auto;
    width: var(--main-width);
    max-width: var(--max-width);
}


/* <footer>タグのnewsサイト機能に関する要素をグループ化する要素に適用するスタイル */
.footer-division {
    max-width: var(--max-width);
    margin: 0 auto;
    margin-top: 20px;

    border-top: 1px solid #e4e1e1;
}

 /* footerのロゴに適用するスタイル */
.footer-logo {
    margin: 20px 0 20px 0;
}


/* ジャンル */
.genre-list {
    grid-area: genre;
    display: flex;
/*     flex-direction: row; */
    justify-content: flex-end;
    align-items: center;
    font-size: 1.0rem;
}

.genre-list-item {
    display: block;
    line-height: 1.4;
    color: #00a8e9;
    background-color: #fff;
    border: 1px solid #00a8e9;
    border-radius: 2px;
    margin: 0 10px 10px 0;
    font-size: 1.0rem;
}

.genre-list-item:hover {
    background-color: #00a8e9;
    color: #fff;
}

.genre-list-item a {
    color: inherit;
}

.go-top {
    position: fixed;
    z-index: 10;
    right: 60px;
    bottom: 60px;
    display: none;
    width: 65px;
    height: 65px;
    padding: 10px;
    cursor: pointer;
    border: 1px solid #595652;
    border-radius: 50%;
    background: hsla(0,0%,100%,.8);
}

.go-top::before {
    position: absolute;
    top: 26px;
    left: 22px;
    width: 20px;
    height: 20px;
    content: "";
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    border-color: #595652 #595652 transparent transparent;
    border-style: solid;
    border-width: 3px 3px 0 0;
}