/* モンハン用語のCSS */
@charset "utf-8";

/*リセット
---------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	font-weight: normal;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 18px;
    line-height: 1;
    letter-spacing: 0.05em;

}
li, ol, ul {
	margin: 0;
    padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	font-weight: normal;
	vertical-align: baseline;
}
ol, ul {
    padding-left: 1.5em;
}
#tag_list {
    /* 検索用のタグ一覧に表示される点を非表示にする+左に寄せる */
    list-style: none;
    padding-left: 0px;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
th {
    font-weight: normal;
}
li a {
	text-decoration: none;
}
li {
    padding: 5px 0;
}


*,*::after,*::before {
	box-sizing: border-box;
	word-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/*リセット～ここまで
---------------------------------------------------------------*/

/*本文
---------------------------------------------------------------*/



body {
    line-height: 1.65;
	letter-spacing: .05em;
	/* color: #484848; */
    color: #202122;
    background-color: #f4f5f7;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


header {
/*     height: 65px; */ 
    background-color: #fff;
	z-index: 1; /*blockquoteタグが一番手前にくるのを防ぐために必要です*/
    border-bottom: 1px solid #333;
}


.page_header {
	text-align: center;
	padding: 12px 0px;
}


.breadcrumb {
    padding: 12px 0px;
}


.breadcrumb li {
	display: inline;
	font-size: 0.87em;
}


.breadcrumb li::after {
	padding: 0 0.6em;
	content: '>';
}


.breadcrumb li:last-child:after {
  content: '';
}


#cover-colum {
    flex: 1;
}


main {
	padding: 20px 29px;
    background-color: #fff;
}


#sidebar {
	padding: 20px 29px;
    background-color: #fff;
}


.sidebar-heading {
    background-color: #ccff99;
    padding: 6px;
    margin: 5px 0;
    font-weight: normal;
}


aside {
	padding-top: 5px;
}


footer {
    border-top: 1px solid #333;
    background-color:rgb(221, 221, 221);
}


.page_footer {
	padding: 20px 5px;
}


nav ul {
    padding: 0;
}


h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	margin: 16px 0;
}


h2, h3, h4, h5, h6 {
	margin-top: 2.4em;
	margin-bottom: 1.6em;
    clear: both; /* 右に回り込んで表示される武器やモンスターのデータが下にあるhタグを貫通して表示されてしまうのを防ぐ */
}


h4, h5, h6 {
	padding: 5px 10px;
}
	

h1 {
    font-size: 20px;
    border: double 3px;
    background-color: rgb(238, 238, 255);
    padding: 5px 10px;
}


h2 {
    border-left: 9px solid #FFCC00;
    background-color: #f7f7f7;
    border-bottom: solid 3px #d7d7d7;
    padding: 8px 15px 8px 23px;
    font-size: 20px;
}


h3 {
    border-left: 5px solid #4865b2;
    background: #f7f7f7;
    font-size: 22px;
    padding: 8px 18px;
}


h4 {
    border-bottom: 3px solid #777;
    border-left: 5px solid #4865b2;
}


h5 {
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}


h6 {
    border-bottom: 1px solid #ddd;
}






table{
    margin-top: 15px;
    margin-bottom: 15px;
}

table tr:nth-of-type(2n+1) {
    background-color: #fafbfc;
}

table th, table td {
/*     border: 1px solid #eee; */
    border: 1px solid #444444;
    padding: 6px;
/* 	
PC版ではtableがはみ出さないようにする
    white-space: nowrap; 
*/
}

table th {
    background-color:rgb(237, 245, 249);
    font-weight: bold;
}

table td {
	text-align: left;
}


blockquote {
	background-color: #fafbfc;
	border: 1px solid #ddd;
	padding: 1.4em 1.8em;
	position: relative;
	margin: 0.9em auto;
}


blockquote::before {
	content: "“";
	line-height: 1.1;
	left: 10px;
	top: 0;
}
	
	
blockquote::after {
	content: "”";
	line-height: 0;
	right: 10px;
	bottom: 0px;
}


blockquote::before,
blockquote::after {
	color: #C8C8C8;
	font-family: serif;
	position: absolute;
	font-size: 300%;
}
	
	
.updated-time {
    font-size: 0.9em;
    padding: 5px;
}


.updated-time::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f1da";
}


.published-time {
    font-size: 0.9em;
    padding: 5px;
}


.published-time::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    content: "\f017";
}



/* 記事ページのタイトル下（読みとか関連用語へのリンクとか） */
#w_head{
    padding-bottom: 10px;
}



/* アスキーアート　divで囲んで使うこと　spanでも問題なし */
.AA{
    font-size: 16px;
    line-height: 18px;
    font-family: 'ＭＳ Ｐゴシック','MS PGothic',RobotoJAA,Monapo,'IPA モナー Pゴシック',IPAMonaPGothic,Mona,'梅Pゴシック',Textar,aahub_light,sans-serif !important;
    letter-spacing: 0;
    padding: 7px;
    border: solid 1px #f1f1f1;
    background-color: #fffaf4;
    display: block; /* spanタグで囲っている場合の対策 */
}





/* sidebarの索引テーブル */

    /* クリック可能領域をセルの線と同じにする */
#dic_index_nav td {
    padding: 0;
    border: 1px solid #333;
    background-color: #f4f5f7;
    color: #0000EE;
}

#dic_index_nav td label{
    display: block;
    padding: 6px;
/*     border: 1px solid #4caf50;
 */}

    /* 索引テーブルのチェックボックスを非表示にする */
#dic_index_nav input[type=radio] {
    display: none;
}

#dic_index_nav input[type=radio]:checked ~ label {
    background-color: #4caf50;
    color: #fff;
}


    /* サイドバーのタグ一覧 */
#tag_list{
    padding-top: 5px;
}

#tag_list li {
    padding-bottom: 5px;
}


    /* 記事ページのタグ（aタグによる変更を防ぐ） */
.tag_link_no_css {
    text-decoration: none;
    color: inherit;
}


    /* サイドバーの記事 */
/* 最近注目されている用語 */
.nav_li_recently_popular { 
    padding-left: 0;
}

.nav_li_recently_popular li { 
	margin: 0 2px;
	list-style: none;
}

.nav_li_recently_popular li a {
	/* aタグをブロック要素にして文字のないところでもクリックできるようにする */
	display: block;
	padding: 3px 0;
}

.nav_li_recently_popular li:hover {
	background-color: #fff;
	background-color: rgb(225, 225, 225);
}

.nav_li_recently_popular li:not(:last-child) {
	/* 点線をつける */
	border-bottom: 1px dotted black;
}


/* 最近の10件 */
.nav_li_recently_new { 
    padding-left: 0;
}

.nav_li_recently_new li { 
	margin: 0 2px;
	list-style: none;
}

.nav_li_recently_new li a {
	/* aタグをブロック要素にして文字のないところでもクリックできるようにする */
	display: block;
	padding: 3px 0;
}

.nav_li_recently_new li:hover {
	background-color: #fff;
	background-color: rgb(225, 225, 225);
}

.nav_li_recently_new li:not(:last-child) {
	/* 点線をつける */
	border-bottom: 1px dotted black;
}


/* ランダム5件 */
.nav_li_random { 
    padding-left: 0;
}

.nav_li_random li { 
	margin: 0 2px;
	list-style: none;
}

.nav_li_random li a {
	/* aタグをブロック要素にして文字のないところでもクリックできるようにする */
	display: block;
	padding: 3px 0;
}

.nav_li_random li:hover {
	background-color: #fff;
	background-color: rgb(225, 225, 225);
}

.nav_li_random li:not(:last-child) {
	/* 点線をつける */
	border-bottom: 1px dotted black;
}








/*リダイレクトマーク*/
.r_mark{
    font-size: 13px;
    color: #006600;
    border: solid 1px #006600;
    margin-left: 2px;
}

/*リダレクトされた行*/
.redirect{
    background-color: #ffcc66;
    margin: 3px 0;
    padding: 5px;
}




/* 検索中のテーブルと関連用語のテーブル */
/* .k_table1{

}

.k_table2{

} */

.k_table3{
    word-break: break-all;
    white-space: normal;/* 初期値に戻すことでタグが飛び出さなくなり、改行されるようになる */
    line-height: 2;
}


#k_table_sp th, #k_table_sp td{
    word-break: break-all;
    white-space: normal;/* 初期値に戻すことでタグが飛び出さなくなり、改行されるようになる */
    line-height: 2;
}


/* 用語ページのタイトルの上にあるタグのdiv */
#k_div {
    line-height: 2;
}


/* 目次テーブル */
#index td {
    padding: 0 15px;
    border: 1px solid #eee;
}

/* 関連用語へのリンク */
.name_link {
    /* 右寄せにする */
    float: right;
}


















/* ページング */
.pagination {
    text-align: center;
}

.pagination li {
    display: inline-block;
    padding: 4px 13px;
}

.pagination li:not(:first-child){
    margin-left: 3px;
}

.pagination li:hover {
    background-color: #f7f7f7;
}

.paging_current {
    background-color: #ddd;
}

.paging_current:hover {
    background-color: #ddd !important;
}















/*斬れ味ゲージの設定*/

.buki_table {
    margin:0px;
    padding:0px;
}

.gage {
    padding: 0;
}


.gage ul {
    font-size: 0;
}

.gage li {
    display: inline-block;
    margin-left: 0px;/* 普通のリストタグは30pxにしているので0pxにしないと崩れる */
    height:10px;
}

.gage_table {
    /*斬れ味が崩れないための処理*/
    white-space: nowrap;
}

.gage_table td {
    padding: 1px;
    border: 1px solid #000000;
}

.gage_table tr {
    background-color:slategray !important;
}

.gage_table ul {
    line-height:0;
	white-space: nowrap;/* これがあるとゲージが飛び出す状況でも折り返さない */
}

.r {
    background-color:red;
}
.o {
    background-color:orange;
}
.y {
    background-color:yellow;
}
.g {
    background-color:lime;
}
.b {
    background-color:blue;
}
.w {
    background-color:white;
}
.p {
    background-color:violet;
}
.s {
    background-color:aqua;
}
.buki_table th {
    background-color:rgb(237, 245, 249);
}

/*Newマーク*/
.new_mark {
font-size:90%;
color:red;
padding-left:3px;
}

/*復活マーク*/
.hukkatu_mark {
font-size:90%;
color:blue;
padding-left:3px;
}







/* 文字関連
------------------------------------------------------------------------------- */

.center {
    text-align: center;
}

.larger {
    font-size: larger;
}

.bold {
    font-weight: bold;
}

.red , 
[style="color:red;"] {
    color: #dc3545 !important;
}

.yellow , 
[style="color:yellow;"] {
    color: #ffc107 !important;
}

.orange , 
[style="color:orange;"] {
    color: #fd7e14 !important;
}

.green , 
[style="color:green;"] {
    color: #28a745 !important;
}

.lightblue , 
[style="color:lightblue;"] {
    color: #17a2b8 !important;
}

.blue , 
[style="color:blue;"] {
    color: #007bff !important;
}

.purple , 
[style="color:purple;"] {
    color: #6f42c1 !important;
}

.gray , 
[style="color:gray;"] {
    color: #343a40 !important;
}

.small {
    font-size: small;
}

.smaller {
    font-size: smaller;
}

.i {
    font-style: italic;
}


/* spanやdiv に囲まれたaタグの要素を親要素と同じにする */
.red a, .blue a, .green a, .yellow a, .orange a,
span[style="color:red;"] a, span[style="color:blue;"] a, span[style="color:green;"] a, 
span[style="color:yellow;"] a, span[style="color:orange;"] a,
div[style="color:red;"] a, div[style="color:blue;"] a, div[style="color:green;"] a, 
div[style="color:yellow;"] a, div[style="color:orange;"] a {
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
}




/* 文字の色を指定している場合、少し太文字にする */
[style="color:red;"],
[style="color:blue;"],
[style="color:lightblue;"],
[style="color:green;"],
[style="color:orabge;"],
[style="color:yellow;"],
[style="color:purple;"] {
    font-size: 1.1em;
}





/* blockquoteタグと同じ */
.blockquote {
	background-color: #fafbfc;
	border: 1px solid #ddd;
	padding: 1.4em 1.8em;
	position: relative;
	margin: 0.9em auto;
}


.blockquote::before {
	content: "“";
	line-height: 1.1;
	left: 10px;
	top: 0;
}
	

.blockquote::after {
	content: "”";
	line-height: 0;
	right: 10px;
	bottom: 0px;
}


.blockquote::before,
.blockquote::after {
	color: #C8C8C8;
	font-family: serif;
	position: absolute;
	font-size: 300%;
}

/* 文字関連～ここまで
------------------------------------------------------------------------------- */

/* 自動リンクシステムでできたリンク */
.auto_link {
    text-decoration: none;
    /* color: #3366cc; */
}

.auto_link:hover {
    text-decoration: underline;
}






		/*広告*/

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

    #ad1{
        padding: 7px 0;
    }

}

@media screen and (min-width: 1025px) {

    #ad1{
        position: absolute;
        top: 0;
        left: 400px;
    }

    #ad2{
        float:left;
    }
    
    #ad2-2{
        float:left;
        margin-left:10px;
    }
    
}




/* #ad2box{
    padding-top:20px;
    overflow: hidden;
}
 */
/* #spad1{
    padding-top:10px;
}

#spad2{
    padding-top:10px;
    padding-bottom:10px;
}
 */





#ad3 {
	padding-top: 2px;
	text-align: center;
}


#commodity_ul {
    padding-left: 0;
}


.commodity_list {
    list-style: none;
	text-align: center;
	padding: 10px 0;
    margin: 0;
}

.amazon_img {
	/* 画像が領域をはみ出た場合、その部分を非表示にする */
	overflow: hidden;
}

.amazon_img img {
	max-width: 100%; /* 画像がはみ出るのを回避 */
}

.amazon_title {
	font-size: 90%;
}

.amazon_text {
    text-align: center;
}

.amazon_text {
	text-align: center;
	font-size: 90%;
}





/* スマホ、ipad縦持ち向けの追加スタイル
---------------------------------------------------------------*/
@media screen and (max-width: 768px) {


}
/* スマホ、ipad縦持ち向けの追加スタイル～ここまで
---------------------------------------------------------------*/














/* ipad横持ち向けの追加スタイル
---------------------------------------------------------------*/
@media screen and (min-width: 769px) {


}
/* ipad横持ち向けの追加スタイル～ここまで
---------------------------------------------------------------*/









/* スマホ、ipad縦持ち、ipad横持ち向けの追加スタイル
---------------------------------------------------------------*/
@media screen and (max-width: 1024px) {

	header {
        text-align: center;
	}

    #header-title{
        background-color: #fff;
        position: fixed;
        top: 0;
        height: 66px;
        padding-left: 65px;
        border-bottom: #333 1px solid;
        width: 100%;
    }

    main {
        padding: 3px;
    }

    #nav{
        float:none;
        width:100%;
    }

    #body{
        padding-top: 65px; /* 追従するヘッダーの高さと同じだけpaddingを付与 */
        clear:both;
        margin-left: 0px;
    }

    .pc {
        display: none;
    }

    /* tableを<div class="table_scroll">で囲むと、領域をはみ出す時に自動でスクロールバーを出してくれます */
    .table_scroll {
    	overflow-x: scroll; 
    	white-space: nowrap;
    	margin-bottom: 10px;
    }

/*     .table_scroll table::after {
    background-image: linear-gradient(
    -180deg,hsla(0,0%,100%,0),#fff);
    }
 */

    .pagination li{
        display: inline-block;
    }

    /* スマホでははみ出したAAAを横スクロールできるようにする */
    .AA{
        overflow-x: scroll;
        white-space: nowrap;
    }

    /* スマホでは非表示にしてみる */
    #ad1 {
        display: none;
    }


}
/* スマホ、ipad縦持ち、ipad横持ち向けの追加スタイル～ここまで
---------------------------------------------------------------*/










/* PC向けの追加スタイル
---------------------------------------------------------------*/
@media screen and (min-width: 1025px) {

	
     #header-title {
         height: 72px;
    }
 
    #cover-colum {
        /*2カラムの時使う*/
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
        
        
    main {
        width: calc(100% - 250px);
        order: 1;
    }
            
        
    #sidebar {
        width: 250px;
        padding: 0px;
        border-right: 1px solid #333;
        background-color:rgb(245, 245, 245);
    }


		/* 以下の2つがあると、下にスクロールした時に追従するようになります */
/* 	#sidebar-sticky{
		position: sticky;
		top: 0;
	}
 */

    #k_table_pc {
        width: 100%;
    }
	
	
/* 	#sidebar-scroll {
		max-height: 100vh;
		overflow-y: scroll;
	}
 */
    .sp {
        display: none;
    }

    /* モンスターデータのCSS */
    .monster_data {
        float:right;
    }

    /* 武器データのCSS */
    .buki_table {
        float:right;
    }

}
/* PC向けの追加スタイル～ここまで
---------------------------------------------------------------*/


/*ドロワーメニュー関連
---------------------------------------------------------------*/
#drawer_menu {
    position: fixed;
    left: -50vw;
}


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

	.menuButton-icon {
		height: 3px;
		width: 21px;
		background-color: black;
		border-radius: 25px;
		margin-bottom: 3px;
	}

	.menuButton {
		cursor: pointer;
	}

    #drawer_open {
        position: fixed;
        top: 0;
        left: 0;
        padding: 20px 20px;
        z-index: 1;
    }

	#drawer_close {
		position: fixed;
		bottom: 10px;
		left: -250px;
        transition: all 0.1s;
		transform: scale(1.8);
	}

	#drawer_back {
        position: fixed;
		top: 0;
		left: 0;
        z-index: 2;
	}

    #drawer_area {
        width: 84%;
		position: fixed;
		top: 0;
		left: -84%;
		min-height: 100%;
        max-height: 100%;
        padding: 5px 5px 30px;
        transition: all 0.1s;
        background-color: #FFF;
        overflow: scroll;
        z-index: 3;
    }

    nav ul li {
        background-color: #FFF;
        margin-bottom: 2px;
    }

    input[type="checkbox"]:checked ~ #drawer_area {
        left: 0px;
    }

    input[type="checkbox"]:checked ~ #drawer_close {
        left: 90%;
    }

    input[type="checkbox"]:checked ~ #drawer_back {
        position: fixed;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.2);
    }

}

@media screen and (min-width: 1025px) {

    #drawer_open, #drawer_close, #drawer_menu {
        display: none;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        background-color: #FFF;
    }

    nav ul li:not(:first-of-type) {
        margin-top: auto;
    }

    nav li{
        padding: 0.5em 1.5em;
    }	
    
    nav li:hover{
        background-color: #FFF;
    }

}
/*ドロワーメニュー関連～ここまで
---------------------------------------------------------------*/


/*目次関連
---------------------------------------------------------------*/
.toc {
    background-color: #f9f9f9;
    margin: 15px auto;
    border: 0px solid #ccc;
    font-size: 0.9em;
    padding: 1em 1.6em;
    display: table;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, .2);
}

.toc-checkbox {
    display: none;
}

.toc-title {
    font-size: 120%;
    display: block;
    text-align: center;
    padding: 3px 5px;
}

.toc-title::after {
    content: '[開く]';
    margin-left: .5em;
    cursor: pointer;
    font-size: .8em;
}

.toc-checkbox:checked+.toc-title::after {
    content: '[閉じる]';
}

.toc-checkbox:checked ~ .toc-content {
    transition: all .3s ease-out;
    visibility: visible;
    opacity: 1;
    height: 100%;
}

.toc-content {
    color: #333333;
    margin: 1px 0;
    padding: 0.2em 1.2em 0.2em 0;
    border-radius: 4px;
    transition: all .3s ease-out;
    visibility: hidden;
    opacity: .3;
    height: 0;
}

.toc li {
    list-style: auto;
}

.toc-list ol {
     padding-left: 1em; 
}

.toc ol li a {
    display: block;
    margin-left: -30px;
    padding-left: 2em;
    text-decoration: none;
}

.toc ol li a:hover {
    text-decoration: underline;
}
/*目次関連～ここまで
---------------------------------------------------------------*/



