body {
    color: #333;
    font-family: "YakuHanJP", Lato, "Noto Sans JP", "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
    font-size: 1.5rem;
    line-height: 1.6;
    letter-spacing: .1rem;
}

a {
    color: #0050EF;
    text-decoration: none;
}

a:link {
    color: #0050EF;
    text-decoration: none;
}

a:visited {
    color: #0050EF;
    text-decoration: none;
}

a:active {
    color: #0050EF;
    text-decoration: underline;
}

a:hover {
    color: #0050EF;
    text-decoration: underline;
}

.side_area a {
    color: #fff;
}


/* common */

.button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
}

body {
    line-height: 2;
}

li {
    list-style: none;
}

a {
    color: #000;
}

a:hover {
    text-decoration: none;
}


/* link */

#footer a,
.midashi02 a {
    color: #000;
    position: relative;
    display: inline-block;
    text-decoration: none;
}

#footer a:hover,
.midashi02 a:hover {
    text-decoration: none;
}

#footer a::after,
.midashi02 a::after {
    position: absolute;
    bottom: 0px;
    left: 0;
    content: '';
    width: 100%;
    height: 1px;
    background: #0072cd;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

#footer a:hover::after,
.midashi02 a:hover::after {
    transform: scale(1, 1);
}


/* menu */

.menu_btn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
    appearance: none;
    font-size: 30px;
    color: #fff;
}

.menu {
    position: absolute;
    top: 10px;
    right: 10px;
    /*
    margin-left: auto;
    padding: 20px;
    */
}

#close-sidebar {
    font-size: 30px;
}

#sidebar1 {
    background: #000;
    width: 80vw;
    color: #fff;
    padding: 20px;
}

.i-amphtml-accordion-header {
    background: #000;
    border: 0;
}

#contents {
    margin: 10px 0;
}

#header h1,
.index_catch {
    text-shadow: 0 1px 0 rgba(0, 0, 0, 1);
}

#header h1 a {
    color: #fff;
    font-size: 3.5rem;
}

.side_area h2 {
    margin-top: 15px;
}


/* index */

#header_outer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    /*padding: 8px;*/
    width: 100%;
}

#header {
    position: relative;
    /* padding: 10px; */
    border-bottom: 1px solid #ccc;
    /*
    max-width: 900px;
    margin: 10px auto;
    */
    color: #fff;
    height: 70px;
}

#header h1 {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

#header h1 span {
    top: 0;
    left: 60px;
    position: absolute;
}

#header img {
    top: -5px;
    left: 0;
    position: absolute;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    /*
    vertical-align: -20px;
    margin-right: 10px;
    */
}

.index_catch {
    max-width: 900px;
    padding: 55px 20px 20px 20px;
    margin: 0 auto;
}

.index_catch h2 {
    font-size: 5.6rem;
    font-weight: 900;
    color: #fff;
}

.index_catch p {
    font-size: 1.8rem;
}

.index_catch h2 span {
    color: #0072cd;
}

.line_btn {
    margin-top: 8px;
}

#tab_menu {
    width: 100%;
    position: absolute;
    z-index: 5;
    bottom: 0;
}

#tab_outer {
    max-width: 900px;
    margin: 0 auto;
}

#tab_menu ul {
    display: flex;
    padding: 0 0 0 15px;
    max-width: 900px;
    margin: 0 auto;
}

#tab_menu ul li a {
    color: #000;
    display: block;
    padding: 10px 20px;
    background: #b9dcf9;
    margin-right: 15px;
    border-radius: 10px 10px 0 0;
    font-size: 1.8rem;
}

#tab_menu ul li a.current {
    background: #fff;
    font-weight: 700;
}


/*header設定*/

#key {
    border-left: 8px solid #0072cd;
    border-top: 8px solid #0072cd;
    border-right: 8px solid #0072cd;
    position: relative;
    /*ローディング画像などを表示す際の基点とするため指定*/
    /*height: 52vh;*/
    height: 570px;
    /*高さを全画面にあわせる*/
    color: #fff;
    background-size: cover;
    background-position: center center;
}


/* ローディングアイコン設定 */

#loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
}


/*jQueryで付与されたdisappearクラスがついたらロゴエリアを非表示*/

#loading.disappear {
    display: none;
}


/* youtube設定 */

#youtube-area {
    /* z-index: 19; */
    position: absolute;
    /*最背面に設定*/
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 0;
    /*
    border-left: 8px solid #0072cd;
    border-top: 8px solid #0072cd;
    border-right: 8px solid #0072cd;
    */
}


/*jQueryで付与されたappearクラスがついたらYoutubeエリアをふわっと表示*/

#youtube-area.appear {
    animation-name: PageAnimeAppear;
    animation-duration: .5s;
    animation-fill-mode: forwards;
}

@keyframes PageAnimeAppear {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

#youtube {
    /*天地中央配置*/
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*縦横幅指定*/
    width: 177.77777778vh;
    /* 16:9 の幅→16 ÷ 9＝ 177.77% */
    height: 56.25vw;
    /* 16:9の幅 → 9 ÷ 16 = 56.25% */
    min-height: 100%;
    min-width: 100%;
}


/*youtubeがクリックされないためのマスク*/

#youtube-mask {
    position: absolute;
    z-index: 2;
    /*下から2番目に表示*/
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.35);
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFAQMAAAC3obSmAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAGUExURUdwTAAAAJ8qhFEAAAABdFJOUwBA5thmAAAAEklEQVQI12MwYDBgYGBoYGAAAASKAOH8MS30AAAAAElFTkSuQmCC);
    background-size: 2px;
}


/* archive */

article {
    border-bottom: 1px solid #ccc;
    margin-bottom: 40px;
}

.archive {
    max-width: 900px;
    display: flex;
    margin: 0 auto 50px auto;
    padding-bottom: 50px;
    padding: 20px 20px 10px 20px;
}

.archive_image {
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.archive .datetime {
    width: 150px;
    color: #703703;
}

.archive .datetime .day {
    display: block;
    text-align: center;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
}

.archive .datetime .month {
    display: block;
    text-align: center;
}

.archive .datetime .year {
    display: block;
    text-align: center;
}

.entry {
    width: calc(100% - 150px);
}

.entry .category ul {
    border-left: 4px solid #703703;
    padding: 5px 20px;
    margin-bottom: 10px;
}

.entry .midashi02 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.fish_image {
    text-align: center;
}

.fish_image img {
    width: 100%;
    max-width: 500px;
    height: auto;
}

#copyright a {
    color: #fff;
}

#footer_outer {
    background: #f5f5f5;
    border-left: 8px solid #0072cd;
    border-bottom: 8px solid #0072cd;
    border-right: 8px solid #0072cd;
}

#footer {
    max-width: 1000px;
    margin: 20px auto;
}

#footer footer {
    display: flex;
}

#footer footer .f_box {
    width: 33%;
}

#footer footer .f_area {
    padding: 20px;
}

#footer footer .f_body {
    padding: 10px;
}

#copyright {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.midashi03 {
    border-left: 4px solid #703703;
    font-size: 1.8rem;
    padding: 3px 3px 3px 15px;
    margin-bottom: 5px;
}

.midashi03 img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.footer_rank {
    display: inline-block;
}

.footer_rank b {
    font-weight: 700;
    font-size: 2rem;
}

footer .ranking li {
    margin-bottom: 10px;
}

.footer_rank1 {
    background: url("../img/crown1.png") no-repeat;
    background-size: 50px;
    background-position: center center;
    padding: 0 10px;
}

.footer_rank1 b {
    font-size: 3rem;
}

.footer_rank2 {
    background: url("../img/crown2.png") no-repeat;
    background-size: 40px;
    background-position: center center;
    padding: 0 5px;
}

.footer_rank2 b {
    font-size: 2.5rem;
}

.footer_rank3 {
    background: url("../img/crown3.png") no-repeat;
    background-size: 32px;
    background-position: center center;
    padding: 0 5px;
}

.footer_rank3 b {
    font-size: 2.5rem;
}

@media screen and (max-width: 780px) {
    html {
        font-size: 55%;
    }
    #header {
        /* padding: 0 0 10px 0; */
    }
    #header img {
        /*
        width: 50px;
        height: 50px;
   
        margin-left: 10px;
        margin-top: -5px;
        */
    }
    .menu {
        /* padding: 0 10px 10px 10px; */
    }
    #tab_menu ul li a {
        padding: 5px 10px;
    }
    .archive {
        padding: 10px;
    }
    .archive .datetime {
        width: 80px;
    }
    .entry {
        width: calc(100% - 75px);
        margin-left: 5px;
    }
    .entry .midashi02 {
        font-size: 2.5rem;
    }
    /* start */
    /* end */
}

@media screen and (max-width: 720px) {
    #footer footer {
        display: block;
    }
    #footer footer .f_box {
        width: auto;
    }
}