﻿
/* === reset === */
h1, h2, h3, h4, h5, h6, p, address, ul, ol, li, dl, dt, dd, table, caption, th, td, img, form {
	margin: 0;
	padding: 0;
	border: none;
	font-style: normal;
	font-weight: normal;
	font-size: 100%;
	text-align: left;
	list-style-type: none;
}
textarea {
	font-size: 100%
}
img {
	vertical-align: bottom
}
hr {
	display: none
}
address, caption, em, strong, th {
	font-style: normal;
	font-weight: normal
}
a:hover {
	color: #F90;
}
a img:hover {
	opacity: 0.7;
}
.clearfix:after {
	content: ".";
	display: block;
	clear: both;
	height: 0px;
	visibility: hidden
}
.clearfix {
	*zoom:1
}


@media print, screen and (min-width: 641px) {

body {
	background-color: #eaf4fc;
	margin: 0 auto;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif
}

/* === Header === */
header {
	width: 100%;
	height: 150px;
	margin: 0 auto;
	background-image: url(/_res/images/header_top.png);
	background-size: cover
}
header>div {
	width: 972px;
	margin: 0 auto
}
header>div>div {
	width: 205px;
	height: 50px
}

nav#head {
	margin: 0 auto;
	background-color: #171518
}
nav#head p {
	height: 80px;
	line-height: 80px;
	display: none
}
nav#head ul {
	display: flex;
	justify-content: center;
	height: 80px
}
nav#head ul li {
	width: 162px;
	height: 80px
}
nav#head ul li:hover {
	height: 77px;
	border-bottom: 3px double #ffd900
}
nav#head ul li:nth-child(6) {
	display: none !important
}

.is-fixed {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 999;
	width: 100%;
	margin: 0
}
.is-fixed ul {
	height: 60px
}
.is-fixed ul li {
	height: 60px;
	text-align: center
}
.is-fixed ul li:hover {
	height: 57px;
	border-bottom: 3px double #ffd900
}
.is-fixed ul li a img {
	height: 100%;
	width: auto
}


/* === メインセクション === */
section {
	display: flex;
	justify-content: space-between;
	width: 972px;
	margin: 0 auto;
	padding-top: 16px;
	background-color: #fff
}

article {
	width: 656px
}
article>div {
	margin-bottom: 16px;
	padding-bottom: 8px
}

#pan {
	margin: 0 0 16px;
	padding: 1px 8px;
	background-color: rgba(153,153,153,0.2)
}
#pan li {
	display: inline;
	font-size: 13px
}
#pan li + li:before{
	content: ">";
	margin:.5em;
}

article h1 {
	margin-bottom: 16px;
	padding: 16px;
	background-color: #2e2930;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 24px;
	color: #fff
}
article h2 {
	margin: 16px;
	padding: 8px;
	border-left: 8px solid #2e2930;
	border-bottom: 1px solid #2e2930;
	font-size: 20px
}
article h3 {
	margin: 16px;
	padding: 8px;
	font-size: 18px;
	border-left: 5px solid #453e48
}
article h4 {
	margin: 8px 16px
}

article p {
	margin: 0 16px 8px;
	font-size: 15px;
	color: #333
}
article p.center {
	text-align: center
}

article ul,
article ol {
	margin-left: 36px;
	margin-bottom: 16px
}
article ul li{
	list-style-type: disc;
	font-size: 15px;
	color: #333
}
article ol li {
	list-style-type: decimal;
	font-size: 15px;
	color: #333
}

article figure {
	margin: 16px;
}


/* 目次 */
div#ez-toc-container {
	margin: 16px
}
/* テーブル設定 */
.wp-block-table table {
	width: auto !important;
}


/* koma */
article .koma {
	border-collapse: collapse;
}
article .koma table {
	background-image: url(/_res/koma/japanese-chess-bg.jpg) !important;
}
article .koma tr td {
	text-align: center;
	border: 1px solid #333;
	height: 51px;
	width: 48px;
	padding: 4px;
}
article .koma tr td.m {
	background-color: #ff9
}
article .koma tr td.t {
	background-color: #fcc
}
/* 1行目 */
article .koma.number tr:nth-child(1) td {
	height: 18px;
	border: none;
	background-color: #fff;
}
/* 列 */
article .koma.number tr td:nth-child(1),
article .koma.number tr td:nth-child(11),
article .koma.number tr td:nth-child(12) {
	width: 24px;
	border: none;
	background-color: #fff;
}
/* 最終行 */
article .koma.number tr:nth-child(10) > td:nth-child(1) {
	border: 1px solid #333;
}
article .koma.number tr:nth-child(10) > td:nth-child(10) {
	width: 24px;
	border: none;
	background-color: #fff;
}

article .link {
	margin: 16px 48px
}
article .link li {
	list-style-type: square
}
article .right {
	text-align: right
}
article ul.relation li {
	margin: 0 8px 0 0;
	display: inline;
	word-break: keep-all
}

article .small,
article has-small-font-size {
	font-size: 12px
}


/* NEWS */
article #news_list div {
	margin: 16px ;
	padding: 16px;
	position: relative;
	z-index: 1;
	box-shadow: 0px 1px 4px rgba(0,0,0,0.3)
}
article #news_list div::after {
	content: '';
	width: 6px;
	height: 6px;
	border: 0px;
	border-top: solid 3px #4d4c61;
	border-right: solid 3px #4d4c61;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	right: 8px;
	margin-top: -4px
}
article #news_list div h3 {
	margin: 0;
	padding: 8px 0;
	border: none
}
article #news_list div p {
	margin: 0;
	font-size: 13px
}
article #news_list div .time {
	font-size: 12px;
	color: #9b003f
}

article #news_list div a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent: -999px;
	z-index: 2
}

article #news_content h5 {
	margin: 16px
}
article #news_content p.time {
	font-size: 12px;
	color: #9b003f
}
article #news_content table {
	margin: 16px
}
article #news_content ul li {
	list-style-type: none
}
article #news_content dl {
	margin: 16px
}
article #news_content dl dt {
	padding-left: 4px;
	border-left: 5px solid #2e2930
}
article #news_content dl dd {
	margin: 8px 8px 16px;
	font-size: 15px
}
article #news_content img {
	max-width: 100%;
	height: auto
}




/* === Side === */
aside {
	width: 300px
}
aside>div {
	margin-bottom: 16px;
	padding-bottom: 8px;
	background-color: #fff
}
aside>div h2 {
	height: 40px;
	line-height: 40px;
	margin-bottom: 10px;
	padding-left: 5px;
	border-left: 10px solid #2e2930;
	font-size: 16px;
	color: #2e2930
}

aside div ul {
	margin-bottom: 16px
}
aside div ul li {
	margin-left: 24px;
	margin-bottom: 3px;
	list-style-type: circle;
	font-size: 15px
}
aside div ul li ul {
	margin-top: 3px
}
aside div ul li ul li {
	margin-left: 24px;
	margin-bottom: 3px;
	list-style-type: disc;
	font-size: 15px
}

aside #sponsor {
	padding: 0
}
aside #sponsor h2 {
	margin: 0 !important
}
aside #submenu ul {
	margin-left: 24px
}
aside #submenu ul li {
	height: 24px;
	line-height: 24px;
	list-style-type: disc;
	font-size: 15px
}
aside #popularity p {
	margin: 16px;
	font-size: 15px;
	word-break: keep-all
}

/* === Footer === */
footer {
	padding: 16px 0;
	background-color: #171518
}
footer ul li a, footer p a {
	color: #fff
}
footer ul {
	margin: 0 auto 8px;
	width: 515px
}
footer ul li {
	display: inline;
	font-size: 14px;
	color: #fff
}
footer p {
	text-align: center;
	font-size: 14px;
	color: #fff
}


section > div.google-auto-placed {
	display: none !important;
}





}


@media screen and (max-width: 640px) {
body {
	width: 100%;
	margin: 0;
	padding: 0;
	font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	background-color: #fffffc
}
body>* {
	overflow: hidden
}
body img {
	max-width: 100%;
	height: auto
}

/* === header === */
header {
	width: 100%;
	height: 100px;
	margin: 0 auto;
	background-image: url(/_res/images/header_top.png);
	background-size: cover
}
header>div {
	width: 100%;
	height: 100%;
	background-color: rgba(255,255,255,0.5)
}
header>div>div, header>div h1 {
	width: 205px;
	height: 50px;
	padding-top: 16px;
	padding-left: 16px
}
#overlay {
	content: "";
	display: block;
	width: 0;
	height: 0;
	background-color: rgba(0,0,0,0.5);
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	opacity: 0;
	transition: opacity .5s
}
#overlay.open {
	width: 100%;
	height: 100%;
	opacity: 1;
	overflow: scroll
}
#menu-trigger {
	display: inline-block;
	width: 36px;
	height: 28px;
	vertical-align: middle;
	cursor: pointer;
	position: fixed;
	top: 20px;
	right: 20px;
	z-index: 999
}
#menu-trigger span {
	display: inline-block;
	box-sizing: border-box;
	position: absolute;
	left: 0;
	width: 100%;
	height: 4px;
	background-color: #000;
	transition: all .5s
}
#menu-trigger.active span {
	background-color: #fff
}
#menu-trigger.active span:nth-of-type(1) {
	transform: translateY(12px) rotate(-45deg)
}
#menu-trigger.active span:nth-of-type(2) {
	opacity: 0
}
#menu-trigger.active span:nth-of-type(3) {
	transform: translateY(-12px) rotate(45deg)
}
#menu-trigger span:nth-of-type(1) {
	top: 0
}
#menu-trigger span:nth-of-type(2) {
	top: 12px
}
#menu-trigger span:nth-of-type(3) {
	bottom: 0
}

nav#head {
	width: 250px;
	height: 100%;
	padding-top: 80px;
	background-color: rgba(0,0,0,0.9);
	position: fixed;
	top: 0;
	right: 0;
	z-index: 100;
	transform: translate(250px);
	transition: all .5s
}
nav#head.open {
	transform: translateZ(0)
}
nav#head ul li {
	border-bottom: 1px solid #aaa
}
nav#head ul li a {
	display: block;
	text-decoration: none;
	text-align: center
}


/* === メインセクション === */
section {
	width: 100%;
	margin: 0 auto;
	background-color: #fff
}
article>div {
	margin-bottom: 20px;
	padding-bottom: 5px
}

#pan {
	margin: 0 0 8px;
	padding: 1px 0;
	overflow-x: scroll;
	white-space: nowrap;
	background-color: rgba(153,153,153,0.2)
}
#pan li {
	display: inline;
	font-size: 13px
}
#pan li + li:before{
	content: ">";
	margin:.5em;
}

article h1 {
	margin: 16px;
	padding: 8px;
	background-color: #2e2930;
	font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
	font-size: 16px;
	color: #fff
}
article h2 {
	margin: 16px;
	padding: 8px;
	border-left: 5px solid #2e2930;
	border-bottom: 1px solid #2e2930;
	font-size: 16px
}
article h3 {
	margin: 16px;
	padding: 8px 4px;
	font-size: 15px;
	border-left: 3px solid #453e48
}
article h4 {
	margin: 16px
}
article p {
	margin: 0 16px 8px;
	font-size: 14px
}

article ul,
article ol {
	margin-left: 36px;
	margin-bottom: 16px
}
article ul li{
	list-style-type: disc;
	font-size: 15px;
	color: #333
}
article ol li {
	list-style-type: decimal;
	font-size: 15px;
	color: #333
}

/*
article ul.relation li {
	margin: 0 8px 0 0;
	display: inline;
	word-break: keep-all
}
*/

article figure {
	margin: 16px;
}



/* 目次 */
div#ez-toc-container {
	margin: 16px
}

/* 棋譜 */
article .koma {
	margin: 0 16px 16px;
	border-collapse: collapse;
	background-image: url(/_res/koma/japanese-chess-bg.jpg) !important;
	border-bottom: 1px solid #fff
}
article .koma tr td {
	text-align: center;
	border: 1px solid #333;
	height: 40px;
	padding: 1px;
}
article .koma tr td.m {
	background-color: #ff9
}
article .koma tr td.t {
	background-color: #fcc
}

article .koma tr td img {
	height: auto
}

article .koma.number {
	margin: 0 0 16px;
}


/* 1行目 */
article .koma.number tr:nth-child(1) td {
	height: 18px;
	border: none;
	background-color: #fff;
	font-size: 12px;
}
/* 列 */
article .koma.number tr td:nth-child(1),
article .koma.number tr td:nth-child(11),
article .koma.number tr td:nth-child(12) {
	width: 24px;
	border: none;
	background-color: #fff;
	font-size: 12px;
}
/* 最終行 */
article .koma.number tr:nth-child(10) > td:nth-child(1) {
	border: 1px solid #333;
}
article .koma.number tr:nth-child(10) > td:nth-child(10) {
	width: 24px;
	border: none;
	background-color: #fff;
	font-size: 12px;
}


article .link {
	margin: 16px 48px
}
article .link li {
	text-align: center
}
article .link li a {
	display: block;
	padding: 6px;
	border: 1px solid #b0b0b0;
	border-bottom: 2px solid #b0b0b0;
	border-radius: 50px;
	text-decoration: none;
	font-size: 14px;
	color: #333
}
article .link li+li a {
	margin-top: 8px !important
}

article .center {
	text-align: center
}
article .right {
	text-align: right
}
article .small,
article has-small-font-size {
	font-size: 12px
}


/* NEWS */
article #news_list div {
	margin: 16px 0;
	padding: 16px;
	position: relative;
	z-index: 1;
	box-shadow: 0px 1px 4px rgba(0,0,0,0.3)
}
article #news_list div::after {
	content: '';
	width: 6px;
	height: 6px;
	border: 0px;
	border-top: solid 3px #4d4c61;
	border-right: solid 3px #4d4c61;
	-ms-transform: rotate(45deg);
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	position: absolute;
	top: 50%;
	right: 8px;
	margin-top: -4px
}
article #news_list div h3 {
	margin: 0;
	padding: 8px 0;
	border: none
}
article #news_list div p {
	margin: 0;
	font-size: 13px
}
article #news_list div .time {
	font-size: 12px;
	color: #9b003f
}
article #news_list div a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	text-indent: -999px;
	z-index: 2
}

article #news_content {
	margin: 16px;
	font-size: 14px
}
article #news_content h1 {
	margin: 16px 0;
	padding: 8px
}
article #news_content h2 {
	margin: 16px 0
}
article #news_content h3 {
	margin: 16px 0
}
article #news_content .time {
	font-size: 12px;
	color: #9b003f
}
article #news_content p {
	margin: 8px 0
}
article #news_content dl {
	margin: 16px 0
}
article #news_content dl dt {
	margin-bottom: 8px;
	padding-left: 5px;
	border-left: 5px solid #2e2930;
	font-size: 15px
}
article #news_content dl dd {
	margin-bottom: 16px
}
article #news_content ul li {
	margin: 8px 0
}
article #news_content strong {
	font-weight: bold
}
article #news_content img {
	max-width: 100%;
	height: auto
}
article #news_content a[target="_blank"] {
	text-decoration: none;
	color: #333
}



/* === side === */
aside h2 {
	margin-bottom: 16px;
	padding: 8px 16px;
	background: #3f312b;
	color: #fff
}
aside p {
	text-align: center
}

aside>div p {
	text-align: center
}
aside>div p+h2 {
	margin-top: 16px
}
aside>div ul {
	margin-bottom: 24px
}
aside>div ul li {
	margin-left: 24px;
	margin-bottom: 3px;
	list-style-type: circle
}
aside>div ul li ul {
	margin-top: 3px
}
aside>div ul li ul li {
	margin-left: 24px;
	margin-bottom: 3px;
	list-style-type: disc
}
aside>div figure,
aside>div form {
	text-align: center;
}


/* === Footer === */
footer {
	padding: 16px;
	background-color: #171518
}
footer * {
	color: #fff
}
footer ul {
	display: flex;
	flex-wrap: wrap;
	margin: 0 auto 16px;
	width: 100%
}
footer ul li {
	width: 50%;
	font-size: 14px;
	text-align: center;
	line-height: 32px
}
footer ul li a {
	display: block
}
footer p {
	text-align: center;
	font-size: 12px
}

}
