@charset "UTF-8";

html {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    line-height: 150%;
    color: #444;
    background-color: #E61919;
}

body {
    min-width: 480px;
    font-size: 16px;
    background-color: #FFF;
}

body, p {
    margin: 0;
    padding: 0;
    overflow-wrap: break-word;
    word-break: break-all;
    max-height: 999999px;
}

a {
    text-decoration: none;
}

.article a:visited, .txt a:visited {
    color: #008000;
}

.clear {
    clear: both;
}

img {
    border: none;
    margin: 0;
    padding: 0;
    vertical-align: bottom;
}

img.paper {
    border: 1px solid #888;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

img.hd_btn {
    margin-top: 22px;
    margin-left: 6.25%;
}

img.sch_btn {
    margin: 6px 0 0 6.25%;
    cursor: pointer;
}

img.close_btn {
    cursor: pointer;
}

.book img {
    height: 20px;
    margin: 0 2px;
}

.pointer {
    cursor: pointer;
}

.blue {
    color: #44F;
}

.sma_open {
    display: none;
    visibility: hidden;
}

/**************************************ヘッダ*/

header {
    background-color: #FFF;
    padding: 1px 0;
}

#header_contents {
    width: 100%;
    max-width: 960px;
    margin: 29px auto 19px auto;
}

header a img {
    float: left;
}

/* 検索ボックス */

#search_checkbox {
    display: none;
}

#search_box {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 99;
    text-align: center;
    margin: 0 auto;
    max-width: 960px;
    display: none;
    padding: 10px 0 10px 0;
    background-color: #FFF;
    border-top: 1px solid #DDD;
    border-bottom: 1px solid #DDD;
}

#search_checkbox:checked + #search_box {
    display: block;
}

#search_box form {
    display: inline-block;
}

input[type="search"] {
    height: 2em;
}

.search_btn {
    height: 2em;
    cursor: pointer;
}

/* バックナンバー */
#back_number {
    display: inline-block;
    margin-left: 20px;
}

#back_number1 {
    margin-top: 20px;
}

select {
    height: 2em;
}

/**************************************ヘッダ画像*/

#header_image {
    background-color: #FFF;
    padding-top: 10px;
    text-align: center;
}

#header_image img {
    width: 100%;
    max-width: 955px;
}

/**************************************スマホナビ*/

#top-head, .inner {
    width: 100%;
    padding: 0;
    margin: 0;
    left: 0px;
}

.inner::after {
    content: "";
    clear: both;
    display: block;
}
 
/* div */
#top-head {
    top: 0;
    line-height: 1;
}

#top-head, #top-head a {
    color: #FFF;
    text-decoration: none;
}

#global-nav ul {
    list-style: none;
    position: absolute;
    padding: 0;
    right: 0;
    bottom: 0;
    font-size: 18px;
}

#global-nav ul li {
    float: left;
}

#global-nav ul li a {
    padding: 0 30px;
}
 
/* Fixed */
#top-head.fixed {
    padding-top: 0;
    margin-top: 0;
    top: 0;
    position: fixed;
    height: 20px;
    background: transparent;
    transition: top 0.2s ease-in;
    -webkit-transition: top 0.2s ease-in;
    -moz-transition: top 0.2s ease-in;
}

#top-head.fixed .logo {
    font-size: 24px;
    color: #FFF;
}

#top-head.fixed #global-nav ul li a {
    color: #FFF;
    padding: 0 20px;
}
 
/* Toggle Button */
#nav-toggle {
    display: block;
    position: absolute;
    left: 21.5%; /* ここで３本線の位置調整 */
    top: 17px;
    width: 35px;
    height: 36px;
    cursor: pointer;
    z-index: 10;
}

#nav-toggle div {
    position: relative;
}

#nav-toggle span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: #FFF;
    left: 0;
    -webkit-transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

#nav-toggle span:nth-child(1) {
    top: 0;
}

#nav-toggle span:nth-child(2) {
    top: 11px;
}

#nav-toggle span:nth-child(3) {
    top: 22px;
}

#nav-toggle span:nth-child(4) {
    top: 33px;
}

#nav-toggle span:nth-child(5) {
    top: 44px;
}

/* Fixed reset */

#mobile-head {
    display: none;
    background: #E61919;
    width: 53px; /* ここでナビ全体の横幅調整 */
    height: 50px;
    z-index: 30;
    position: relative;
    float: right; /* ここでフロートかければ移動する */
}

#global-nav {
    position: absolute;
    /* 開いてないときは画面外に配置 */
    top: -470px;
    background: #E61919;
    width: 100%;
    max-width: 960px;
    text-align: center;
    padding: 0;
    -webkit-transition: .2s ease-in-out;
    -moz-transition: .2s ease-in-out;
    transition: .2s ease-in-out;
}

#global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 18px;
}

#global-nav ul li {
    float: none;
    position: static;
}

#top-head #global-nav ul li a,
#top-head.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    color: #FFF;
    padding: 18px 0;
}

/* #nav-toggle 切り替えアニメーション */
.open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
}

.open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
}

.open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
}

/* #global-nav スライドアニメーション */
.open #global-nav {
    /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(556px);
    -webkit-transform: translateY(556px);
    transform: translateY(556px);
}

/**************************************メインコンテンツ*/

.wrap {
    width: 100%;
    border-top: 2px solid #DDD;
    background-color: #FFF;
}

.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.main1, .main2 {
    float: left;
}

.main1 {
    width: 41.666%;
    margin-right: 1.5625%;
    margin-top: 50px;
}

.main2 {
    width: 56.25%;
}

.main1 img {
    width: 100%;
}

.main1 h1 {
    color: #E61919;
    font-size: 30px;
    text-align: center;
}

/**************************************タブ*/

#maintab {
    margin-top: 120px;
}

.tab-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 120px;
}

.tab-wrap::after {
    content: '';
    width: 100%;
    height: 0px;
    display: block;
    order: -1;
}

.tab-label {
    color: #333;
    background: #DCDADA;
    font-weight: bold;
    text-shadow: 0 -1px 0 rgba(0,0,0,.2);
    white-space: nowrap;
    text-align: center;
    padding: 10px .5em;
    order: -1;
    position: relative;
    z-index: 1;
    cursor: pointer;
    border-radius: 2px 2px 0 0;
    flex: 1;
    display: inline-block;
}

.tab-label:not(:last-of-type) {
    margin-right: 5px;
}

.tab-content {
    font-size: 16px;
    line-height: 1.8em;
    width: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
    display: inline-block;
}

.tab-content ul {
    padding: 0;
    list-style: inside;
    margin-left: 1.4em;
    text-indent: -1.4em;
}

.tab-content ul li.book_on {
    padding: 0;
    margin-left: -1.4em;
    text-indent: 0.2em;
    list-style: none;
    background: url(../img/book.png) left 0px top 5px no-repeat;
    padding-left: 20px;
    background-size: auto 18px;
}

/* アクティブなタブ */
.tab-switch:checked+.tab-label {
    background: #EEE;
}

.tab-switch:checked+.tab-label+.tab-content {
    background: #EEE;
    height: auto;
    overflow: auto;
    padding: 15px;
    opacity: 1;
}

/* ラジオボタン非表示 */
.tab-switch {
    display: none;
}

.ui-widget-content a {
    display: block;
}

.ui-widget-content a:hover {
    background-color: #DDD;
}

.merger_issue {
    margin-left: 1em;
}

/**************************************ボタン*/

.btn-flat-border {
    width: 32.6732673%;
    margin: 50px auto 0 auto;
    box-sizing: border-box;
    display: block;
    padding: 0.8em 1em;
    text-decoration: none;
    text-align: center;
    color: #FFF;
    background: #E61919;
    transition: .4s;
}

.btn-flat-border:hover {
    filter: brightness(0.9) contrast(0.9);
}

/*
.btn-flat-border:hover {
    background: #67C5FF;
    color: white;
    text-decoration:underline;
}
*/

/**************************************記事*/

.main3 section {
    border: 2px solid #A0A0A0;
    box-sizing: border-box;
    padding: 20px;
}

.main3 h1.red {
    color: #E61919;
    margin-bottom: 10px;
    font-size: 30px;
}

.article p {
    margin: 1em 0;
    line-height: 1.5em;
}

.article p.caption {
    font-size: 0.8em;
    text-align: center;
}

.article div.img_l a:nth-child(n+2) img {
/*    margin-top: 20px;*/
}

.article .img {
    width: auto;
    margin: 15px;
    padding: 0;
    border-top: none;
    border-bottom: none;
    background: transparent;
/*    margin-bottom: 20px;*/
}

.img_l {
    float: left;
    width: 25%;
    margin-right: 3%;
    margin-bottom: 20px;
}

.img_l img {
    width: 100%;
}

.flex {
    display: flex;
    flex-flow: row wrap;
    flex-wrap: wrap;
    align-content: flex-start;
}

#pkup {
    margin: 50px 0 0;
}

#pkup .grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.topics {
    width: 30%;
    background: #FFF;
    box-sizing: border-box;
    position: relative;
    margin: 15px 1.485148514851485%;
    font-size: 16px;
    border: 2px solid #A0A0A0;
    border-radius: 10px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

#pkup .grid .topics {
    width: auto;
}

.first_topic {
    border-radius: 10px;
    box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
}

.topics ul {
    margin: 0;
    padding-left: 15%;
    list-style-image: url(../img/book.png);
    display: block;
    font-size: 18px;
    font-weight: bold;
}

.topics .img img {
    object-fit: contain; /* この一行を追加するだけ！ */
    width: 100%;
    height: 200px;
}

#serialization .topics .img img {
    max-height: 200px;
    height: auto;
    width: auto;
    max-width: 90%;
}

.topics .img img.paper {
    width: auto;
    max-width: 95%;
}

/*
.topics a {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}
*/

.topics a.inline_link {
    position: static;
    height: auto;
    width: auto;
}

.main2 #pkup {
    background: #F6F5F0;
}

.main2 .topics {
    width: 47%;
    background: #FFF;
    box-sizing: border-box;
    position: relative;
    margin: 10px 1.5%;
    font-size: 18px;
}

.img {
    width: 100%;
    background: #F8F7F7;
    text-align: center;
    padding: 10px 0;
    border-top: solid 1px #D2D2D2;
    border-bottom: solid 1px #D2D2D2;
}

/*.topics:hover {
    border: 1px solid #222;
}*/

.topics b, .topics h3 {
    margin: 5px;
    display: block;
    font-size: 18px;
    line-height: 1.6em;
}

.topics h3.book_on::before {
    content: "";
    display: inline-block;
    width: 22px;
    background: url(../img/book.png);
    background-size: 20px 20px;
    background-repeat: no-repeat;
    height: 16px;
}

.txt {
    margin: 5px;
    display: block;
    line-height: 1.6em;
}

/**************************************フッター*/

footer {
    background-color: #FFF;
    padding: 50px 0 0;
}

#footer_contents {
    background: #E61919;
    padding-top: 20px;
    padding-bottom: 50px;
    text-align: center;
    color: #FFF;
    font-size: 18px;
}

#footer_contents p {
    word-break: normal;
}

/*-------------------------------------トップに戻るここから*/

#page-top {
    position: fixed;
    bottom: 15px;
    right: 15px;
    font-size: 90%;
/*    display: none;
    opacity: 0;*/
    background: #E61919;
    text-decoration: none;
    color: #FFF;
    width: 50px;
    padding: 15px 3px;
    text-align: center;
    border: 1px solid #FFF;
    cursor: pointer;
    z-index: 10;
}

#page-top:hover {
    filter: brightness(0.9) contrast(0.9);
}

/*
#page-top:hover {
    text-decoration: none;
    background: #F66;
}
*/

/*
#page-top.fadein {
    animation: fadeIn 0.4s ease 0s 1 forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        display: none;
    }
    100% {
        opacity: 1;
        display: block;
    }
}

#page-top:not(.fadein) {
    animation: fadeOut 0.4s ease 0s 1 forwards;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        display: block;
    }
    100% {
        opacity: 0;
        display: none;
    }
}
*/


/*===============================================
●画面の横幅が768pxまで
===============================================*/

@media screen and (max-width: 768px) {

#pkup .grid {
    grid-template-columns: 1fr 1fr;
}

}

/*===============================================
●画面の横幅が560pxまで
===============================================*/

@media screen and (max-width: 560px) {


body, p {
    font-size: 20px;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2em;
}

.center {
    text-align: center;
}

p.txt {
    font-size: 20px;
    line-height: 1.6em;
}

.article p {
    font-size: 22px;
    line-height: 1.4em;
}

.article h1, .article h2, .article h3, .article h4, .article h5, .article h6 {
    font-size: 22px;
    line-height: 1.4em;
    margin-block-start: 0.5em;
    margin-block-end: 0.5em;
}

.article .img {
    width: 100%;
}

.article .img img {
    max-width: 100%;
}

.article p.caption {
    font-size: 0.95em;
    text-align: center;
}

topics h3 {
    font-size: 26px;
    line-height: 2em;
}

#header_contents {
    width: 95%;
    margin: 20px auto;
}

#header_contents p {
    width: 300px;
}

img.logo {
    float: none;
    width: 100%;
}

.sma_box {
    display: none;
    visibility: hidden;
/*    width: 55%;
    margin: auto;*/
}

.sma_open {
    display: block;
    visibility: visible;
}

/*-------------------------------------ナビここから*/

#top-head, .inner {
    width: 100%;
    padding: 0;
    margin: 0;
    left: 0px;
/*  margin-top: 50px; */
}

#top-head {
    top: 0;
    /*position: fixed;*/
    margin-top: 0;
}

/* Fixed reset */
#top-head.fixed {
    padding-top: 0;
    background: transparent;
}

#mobile-head {
    display: block;
    height: 60px;
    position: fixed;
    top: 10px;
    right: 15px;
    width: 60px;
}

#global-nav {
    position: fixed;
    /* 開いてないときは画面外に配置 */
    top: -480px;
    width: 95%;
    z-index: 20;
/*    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    transition: .5s ease-in-out;*/
}

#global-nav ul {
    list-style: none;
    position: static;
    right: 0;
    bottom: 0;
    font-size: 18px;
}

#global-nav ul li {
    float: none;
    position: static;
}

#top-head #global-nav ul li a,
#top-head.fixed #global-nav ul li a {
    width: 100%;
    display: block;
    color: #FFF;
    font-weight: 600;
    padding: 18px 0;
}

#nav-toggle {
    display: block;
}

/* #nav-toggle 切り替えアニメーション */
.open #nav-toggle span:nth-child(1) {
    top: 11px;
    -webkit-transform: rotate(315deg);
    -moz-transform: rotate(315deg);
    transform: rotate(315deg);
}

.open #nav-toggle span:nth-child(2) {
    width: 0;
    left: 50%;
}

.open #nav-toggle span:nth-child(3) {
    top: 11px;
    -webkit-transform: rotate(-315deg);
    -moz-transform: rotate(-315deg);
    transform: rotate(-315deg);
}

/* #global-nav スライドアニメーション */
.open #global-nav {
    /* #global-nav top + #mobile-head height */
    -moz-transform: translateY(556px);
    -webkit-transform: translateY(556px);
    transform: translateY(556px);
}

/*
#nav-toggle {
    left: 48%; ここで３本線の位置調整
}
*/

#global-nav {
    width: 95%;
}

.main1, .main2 {
    width: 95%;
    margin: 0 auto;
    float: none;
}

.tab-wrap {
    margin-top: 50px;
}

.tab-content ul {
    line-height: 2em;
}

/*
.topics, {
    float: none;
    width: 95.8333333333%;
    margin: 0 auto 20px auto;
}
*/

#pkup .grid {
    grid-template-columns: 1fr;
}

.first_topic {
    margin: auto 20px;
}

.first_topic .img_l {
    width: 100%;
}

div.img_l {
    width: 100%;
}

.topics {
    float: none;
    width: 92%;
    background: #FFF;
    box-sizing: border-box;
    position: relative;
    margin: 20px 4%;
    font-size: 18px;
}

.topics .img img {
    height: 350px;
}

.btn-flat-border {
    width: 60%;
}

#page-top {
    display: none;
    width: 56px;
    padding: 18px 3px;
}


}
