@charset "UTF-8";
@import url(https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css);
@import url(https://fonts.googleapis.com/earlyaccess/notosansjp.css);
@import url(https://fonts.googleapis.com/earlyaccess/sawarabimincho.css);

/*-------------------------------------------------------
    common
-------------------------------------------------------*/
html {
    font-family: "Noto Sans Japanese", sans-serif;
    -webkit-font-smoothing: antialiased;
	margin: 0;
	padding: 0;
}
@media all and (-ms-high-contrast: none)  {
  html {
    font-family: Verdana, Meiryo, sans-serif;
  }
}
@media all and (-ms-high-contrast: active) {
  html {
    font-family: Verdana, Meiryo, sans-serif;
  }
}

* {
    box-sizing: border-box;
}
body {
    margin: 0;
    padding: 0;
    line-height: 1.8;
	font-size: 16px;
	color: #333;
	background-color: #DBD9D9;
	height: 100vh;
    min-height: 100vh;
    position: relative;
/*     margin-bottom: 100px; */
}
img {
    display: block;
    width: 100%;
}
ul {
    padding: 0;
    list-style: none;
}
h1, section {
    width: 100%;
    margin: 0 auto;
}
a.off {
    pointer-events: none;
}

/*-------------------------------------------------------
    header
-------------------------------------------------------*/
header {
    position: relative;
    width: 100%;
}
#gnavi_wrap {
	position:fixed;
	top:50%;
	right:14px;
	z-index: 10;
	-moz-transform:translateY(-50%);
	-ms-transform:translateY(-50%);
	-webkit-transform:translateY(-50%);
	transform:translateY(-50%);
}
#gnavi {
    position: relative;
    display: block;
    padding-right: 5px;
}
#arrow_up {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    width: 40px;
    cursor: pointer;
}
#arrow_down {
    position: relative;
    top: -10px;
    display: block;
    margin: 0;
    padding: 0;
    width: 40px;
    cursor: pointer;
}
#gnavi ul {
}
#gnavi ul li {
    position: relative;
    display: block;
	height:40px;
	width: 100%;
}
#gnavi ul li a {
	position:relative;
	display:block;
	padding:11px 40px 11px 0;
	height:18px;
	text-align:right;
	line-height:1;
}
#gnavi ul li a .link_dot {
	position:absolute;
	top:50%;
	right:20px;
	margin-top:-4px;
	width:8px;
	height:8px;
	background-color:rgba(0,0,0,0.25);
	-moz-border-radius:100%;
	-webkit-border-radius:100%;
	border-radius:100%;
}
#gnavi ul li a .link_label {
	position:absolute;
	top:3px;
	right:2.3em;
	white-space:nowrap;
	pointer-events:none;
	font-size:16px;
	font-weight: bold;
    color: #000;
	opacity:0;
}
#gnavi ul li a:hover .link_label {
	filter:progid:DXImageTransform.Microsoft.Alpha(enabled=false);
	opacity:1;
	-moz-transform:translateX(0);
	-ms-transform:translateX(0);
	-webkit-transform:translateX(0);
	transform:translateX(0);
}
#gnavi ul li a:hover .link_dot {
	background-color:#000;
	-moz-transform:scale(1.2,1.2);
	-ms-transform:scale(1.2,1.2);
	-webkit-transform:scale(1.2,1.2);
	transform:scale(1.2,1.2);
}
#gnavi ul li a.now .link_dot {
	background-color:#000;
}
#gnavi_sp, #gnavi_sp_close {
    display: none;
}

@media (max-width: 970px){
    #gnavi ul {
        width: calc(100% - 20px);
        margin: 0 auto;
    }
    #gnavi ul li {
        width: calc(100% / 8);
        height: 38px;
        margin: 0 auto;
        vertical-align: middle;
    }
    #gnavi ul li a {
        display: block;
        text-decoration: none;
        color: #fff;
        height: 100%;
        width: 100%;
    }
    #gnavi ul li a span {
        display: block;
        line-height: 1.2em;
        vertical-align: middle;
    }
    #gnavi ul li a:hover {
        font-weight: bold;
    }
    #gnavi ul li a:hover {
        font-weight: bold;
    }
    #gnavi ul li a.now {
        font-weight: bold;
    }
    #gnavi ul li a:hover:after {
        content: '';
    }
    #gnavi ul li a.now:after {
        content: '';
    }
}
@media (max-width: 787px){
    #gnavi_wrap {
    	position:relative;
    	-moz-transform:translateY(0);
    	-ms-transform:translateY(0);
    	-webkit-transform:translateY(0);
    	transform:none;
    }
    #arrow_up, #arrow_down {display: none;}
    #gnavi {
        position: fixed;
        display: none;
    	top:0;
        left: 0;
    	right:0;
    	bottom: 0;
        width: 100vw;
        height: 100vh;
        background-color: #FD82A1;
        z-index: 11;
        opacity: .9;
    }
    #gnavi ul {
        position: fixed;
        display: block;
        top: 50px;
        width: 100%;
    }
    #gnavi ul li {
        width: 100%;
        height: auto;
        margin-bottom: 1em;
        text-align: center;
    }
    #gnavi ul li a {
        font-weight: bold;
        padding: 1em;
        width: auto;
        text-align: center;
    }
    #gnavi ul li a span {
        display: inline-block;
        line-height: 1.2em;
        height: 1em;
    }
    #gnavi ul li a span.link_dot {
        display: none;
    }
    #gnavi ul li a span.link_label {
    	position:relative;
    	top:auto;
    	right:auto;
    	white-space:nowrap;
    	pointer-events:none;
    	font-size:16px;
        color: #fff;
    	opacity:1;
    }
    #gnavi_sp {
        display: block;
        position: fixed;
        top: 1em;
        right: 1em;
        z-index: 8;
    }
    #gnavi_sp_btn {
        display: block;
        position: fixed;
        top: 5px;
        right: 10px;
        bottom: 0;
        cursor: pointer;
    }
    #gnavi_sp_close {
        position: fixed;
        top: 5px;
        right: 10px;
        cursor: pointer;
        z-index: 12;
    }
}

/*-------------------------------------------------------
    main contents
-------------------------------------------------------*/
.contents {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto ;
    padding: 0;
}
h2 {
    margin: 0;
    padding: 0;
}
h2 span {
    display: none;
}
h3 {
    font-family: "Sawarabi Mincho", "游明朝", YuMincho, serif;
    font-weight: bold;
    width: 100%;
    background-color: #bbb;
}

section {
    margin-bottom: 2.6em;
}

.list {
}
.list-row {
    margin-bottom: 1px;
    background-color: #fff;
}
.list-title {
    display: table-cell;
    width: 9em;
    padding: .5em;
    text-align: center;
    vertical-align: text-top;
    font-family: "Sawarabi Mincho", "游明朝", YuMincho, serif;
    font-weight: bold;
    letter-spacing: .1em;
}
.list-text {
    display: table-cell;
    padding: .5em 1em;
    width: calc(100% - 11em);
}
.list-text span {
    display: inline-block;
    margin-right: 1em;
    white-space: nowrap;
}

p {
    margin-left: 1em;
}

@media (max-width: 970px){
    h2, h3 {
        width: calc(100% - 20px);
        margin-left: auto;
        margin-right: auto;
    }
    .list {
        width: calc(100% - 20px);
        margin: 0 auto;
    }
}
@media (max-width: 787px){
    section {
        margin-bottom: 1em;
    }

    .list-row {
        margin-bottom: 2px;
    }
    .list-title {
        display: block;
        width: 100%;
        text-align: left;
        color: #fff;
        background-color: #666;
    }
    .list-text {
        display: block;
        width: 100%;
        text-align: left;
        padding: .5em;
    }
}

/*-------------------------------------------------------
    footer
-------------------------------------------------------*/
footer {
    display: block;
	color: #fff;
	background-color: #000;
	margin-top: 2em;
	padding: 15px 0 5px;
	width: 100%;
	height: 75px;
}
#footer_logo {
    width: 100%;
    text-align: center;
}
#footer_logo img {
    display: block;
    max-width: 145px;
    margin: 0 auto;
}
#copyright {
	text-align: center;
	margin: 0 auto;
}
@media (max-width: 787px){

    footer {
    	margin-top: 0;
    	height: 65px;
    }
    #footer_logo img {
        max-width: 125px;
    }
    #copyright {
    	text-align: center;
    	font-size: 10px;
    }
}

/*=======================================================
    TOPページ
=======================================================*/
h1 {
    position: relative;
    padding: 0;
    background: url(../images/top_bg.png) repeat-x;
    background-position: left top;
    background-size: contain;
}
h1 img {
    display: block;
    max-width: 1002px;
    margin: 0 auto;
    padding: 0;
}

#news_area {
    position: relative;
    top: -30px;
    width: 100%;
    max-width: 1000px;
    margin: 15px auto 10px;
    padding: 0;
    text-align: center;
}
#info {
    display: inline-block;
    width: calc(100% - 348px);
    max-width: 636px;
    margin: 0 10px 0 0;
    padding: 0;
    vertical-align: top;
    text-align: left;
}
#info_list {
    display: block;
    list-style: none;
    margin: 0;
    padding: 0;
    border: 5px solid #FC6A8A;
}
#info_list li {
    display: block;
    margin-top: 0;
    margin-bottom: 2px;
    background-color: #eaeaea;
    font-size: 12px;
    padding: .5em 10px;
}
#info_list li:nth-child(n+6) {
    display: none;
}
#info_list .info_date {
    font-weight: bold;
}
#info_list li.info_type_topics .info_date:before {
    position: relative;
    content: url(../images/news_type_topic.png);
    top: 3px;
    margin-right: 8px;
}
#info_list li.info_type_news .info_date:before {
    position: relative;
    content: url(../images/news_type_news.png);
    top: 3px;
    margin-right: 8px;
}
#info_list li.info_type_topics .info_text:before {
    position: relative;
    content: url(../images/news_ishi_black.png);
    top: 3px;
    margin-left: 8px;
    margin-right: 5px;
}
#info_list li.info_type_news .info_text:before {
    position: relative;
    content: url(../images/news_ishi_white.png);
    top: 3px;
    margin-left: 8px;
    margin-right: 5px;
}
#info_list .info_text {
    font-weight: bold;
}
#info_list a {
    color: #0020dd;
    text-decoration: none;
}
#info_list a:hover {
    color: #3284ff;
    text-decoration: underline;
}
#info_list a.popup {
    color: #0020dd;
}
#info_list a.popup:hover {
    color: #3284ff;
    text-decoration: underline;
}

#sp_banner {
    display: inline-block;
    width: 348px;
    height: 186px;
    margin: 0;
    overflow: hidden;
}
#sp_banner a {
    display: block;
    width: 348px;
    height: 186px;
    margin: 0;
    padding: 0;
}
#sp_banner img {
    display: block;
    margin: 0;
}

/* corpolete banner */
#banner_area {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto 15px;
    padding: 10px 0;
    background-color: #fff;
    overflow: hidden;
    text-align: center;
}
#banner_area a {
    display: inline-block;
    margin: 5px 25px;
    padding: 0;
}
#banner_area a img {
    width: auto;
}

@media (max-width: 970px){
    #news_area {
        width: calc(100% - 20px);
    }
    #info {
        width: calc(100% * 0.56);
    }
    #backnumber {
        width: calc(100% * 0.4);
    }
    #banner_area {
        width: calc(100% - 40px);
    }
}
@media (max-width: 787px){
    #banner_area {
        position: relative;
        width: calc(100% - 20px);
        margin: 30px 10px;
        padding: 10px 0;
    }
    #banner_area a {
    }
    #banner_area img {
        width: auto !important;
    }
}
@media (max-width: 600px){
    #info {
        width: 100%;
        margin: 0 0 10px;
    }
    #backnumber {
        width: 100%;
        padding: 0;
    }
    #banner_area {
/*         text-align: left; */
    }
}

/*=======================================================
    大会概要
=======================================================*/
#outline h2.t-outline {
    display: block;
    background: url(../images/title_outline.png) left bottom no-repeat;
    background-size: contain;
    height: 61px;
}
#outline h2.t-competition {
    display: block;
    background: url(../images/title_competition.png) left bottom no-repeat;
    background-size: contain;
    height: 61px;
}
#ouline h2 span {
    display: none;
}
#outline .list-text.nsp span {
    margin-right: 0;
}
#competition h3 {
    display: block;
    margin: 0 auto;
    padding-left: 0.5em;
    line-height: 1.4em;
}
#competition .list {
    margin-bottom: 2em;
}
.main-results .year {
    display: inline-block;
    width: 3.5em;
}
@media (max-width: 787px){
    #outline .list-text span.b {
        word-break: normal;
        white-space: normal;
    }
}
@media (max-width: 560px){
    #outline h2.t-outline {
        background: url(../images/title_outline_s.png) left bottom no-repeat;
        height: 59px;
        background-size: 100%;
    }
    #outline h2.t-competition {
        background: url(../images/title_competition_s.png) left bottom no-repeat;
        height: 59px;
        background-size: 100%;
    }
}

/*=======================================================
    出場棋士
=======================================================*/
#players h2 {
    display: block;
    background: url(../images/title_player.png) left top no-repeat;
    background-size: contain;
    height: 53px;
}
#players h3 {
    display: block;
    margin: 0 auto;
    line-height: 1.4em;
}
#players .player {
    width: 100%;
    background-color: #fff;
    margin-top: 0;
    margin-bottom: 2em;
    padding: 1em;
}
#players .photo {
    display: inline-block;
    width: 160px;
    height: 100%;
    margin-right: 1em;
    vertical-align: top;
    background: radial-gradient(#f9f4e9, #b9b5a3);
}
#players .prof {
    display: inline-block;
    width: calc(100% - 160px - 2em);
}
#players .name {
    display: block;
    border-bottom: 1px solid #333;
    margin-bottom: 1em;
    padding-bottom: 0.7em
    line-height: 1.5em;
}
#players .name.japan:before {
    display: inline-block;
    content: ' ';
    background: url(../images/icon_japan.png) #F5F7FA;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    position: relative;
    top: 5px;
    width: 44px;
    height: 30px;
    box-shadow: 0px 0px 1px 1px rgba(200, 200, 200, 0.8);
    border-radius: 5px;
}
#players .name.china:before {
    display: inline-block;
    content: ' ';
    background: url(../images/icon_china.png) #ED5565;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    position: relative;
    top: 5px;
    width: 44px;
    height: 30px;
    box-shadow: 0px 0px 2px 1px rgba(200, 200, 200, 0.8);
    border-radius: 5px;
}
#players .name.korea:before {
    display: inline-block;
    content: ' ';
    background: url(../images/icon_korea.png) #F5F7FA;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    position: relative;
    top: 5px;
    width: 44px;
    height: 30px;
    box-shadow: 0px 0px 1px 1px rgba(200, 200, 200, 0.8);
    border-radius: 5px;
}
#players .name.taiwan:before {
    display: inline-block;
    content: ' ';
    background: url(../images/icon_taiwan.png) #fff;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    position: relative;
    top: 8px;
    width: 40px;
    height: 40px;
/*
    box-shadow: 0px 0px 1px 1px rgba(200, 200, 200, 0.8);
    border-radius: 5px;
*/
}
#players .name.russia:before {
    display: inline-block;
    content: ' ';
    background: url(../images/icon_russia.png) #ED5565;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left top;
    position: relative;
    top: 5px;
    width: 44px;
    height: 30px;
    box-shadow: 0px 0px 1px 1px rgba(200, 200, 200, 0.8);
    border-radius: 5px;
}
#players .name .k {
    font-size: 160%;
}
#players .name .y,
#players .name .e {
    margin-left: .5em;
}
#players .birth,
#players .dan-i {
    font-size: 90%;
}
#players .main-results {
    font-size: 90%;
    margin-top: 1em;
}

@media (max-width: 970px){
    #players .player {
        width: calc(100% - 20px);
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 787px){
    #players .prof {
        width: 100%;
    }
}
@media (max-width: 560px){
    #players h2 {
        background: url(../images/title_player_s.png) left bottom no-repeat;
        height: 59px;
        background-size: 100%;
    }
}

/*=======================================================
    対戦表・スケジュール
=======================================================*/
#tournament h2 {
    display: block;
    background: url(../images/title_tournament.png) left bottom no-repeat;
    background-size: contain;
    height: 61px;
}
#schedule h2 {
    display: block;
    background: url(../images/title_schedule.png) left bottom no-repeat;
    background-size: contain;
    height: 61px;
}
#tournament .tournament-table {
    width: 100%;
    text-align: center;
    background-color: #fff;
    padding: 0 2em 2em;
}
#tournament .tournament-table img {
    width: 100%;
    max-width: 833px;
    margin: 0 auto;
}
#tournament .tournament-table .note {
    width: 17em;
    max-width: 833px;
    margin: 1em auto;
    padding-left: 1em;
    text-align: left;
    line-height: 1.6em;
    font-size: 170%;
}
#tournament .tournament-table .note .winner {
    font-weight: bold;
    color: #e6b422;
    font-size: 123%;
}
#tournament .tournament-table .note .second {
    color: #999;
}
#tournament .tournament-table .note .third {
    color: #C47222;
}

#schedule .list-title {
    display: table-cell;
    width: 16em;
    padding: .5em;
    text-align: left;
    font-family: "Noto Sans Japanese", sans-serif;
    font-weight: normal;
    letter-spacing: normal;
}

@media (max-width: 787px){
    #schedule .list-title {
        display: block;
        width: 100%;
        text-align: left;
        color: #fff;
        background-color: #666;
    }
}
@media (max-width: 560px){
    #tournament h2 {
        background: url(../images/title_tournament_s.png) left bottom no-repeat;
        height: 59px;
        background-size: 100%;
    }
    #tournament .tournament-table .note {
        font-size: 100%;
    }
    #schedule h2 {
        background: url(../images/title_schedule_s.png) left bottom no-repeat;
        height: 59px;
        background-size: 100%;
    }
}

/*=======================================================
    大盤解説会
=======================================================*/
#commentation h2 {
    display: block;
    background: url(../images/title_commentation.png) left bottom no-repeat;
    background-size: contain;
    height: 61px;
}
@media (max-width: 560px){
    #commentation h2 {
        background: url(../images/title_commentation_s.png) left bottom no-repeat;
        height: 59px;
        background-size: 100%;
    }
}

/*=======================================================
    ニュース＆トピックス
=======================================================*/
#news_and_topics h2 {
    font-weight: bold;
    letter-spacing: 2px;
    width: 100%;
    background-color: #C20000;
    color: #fff;
    padding: .5em 1em;
}
#news_and_topics .news {
    display: block;
    margin-top: 0;
    margin-bottom: 1px;
    background-color: #fff;
    padding: .5em 10px;
}
#news_and_topics .news .title {
    font-size: 150%;
    font-weight: bold;
}
#news_and_topics .news .date {
    color: #999;
    font-weight: bold;
    margin-bottom: 1em;
}
#news_and_topics .news .text .photo_list .news_photo {
    display: inline-block;
    width: calc((100% - 30px) / 2);
    margin: 5px 5px 10px;
    vertical-align: top;
}
#news_and_topics .news .text .photo_list .news_photo figcaption {
    width: 100%;
    text-align: center;
    font-size: 90%;
    line-height: 1.3em;
}
#modal-bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    max-height: 100vh;
    background-color: #999;
    z-index: 20;
}
#modal-close {
    position: fixed;
    top: 0;
    left: 0;
    background-color: #999;
    height: 3em;
    width: 100%;
    margin: 0;
    text-align: right;
}
#modal-close svg {
    position: relative;
    top: 8px;
    right: 10vw;
}
.modal-btn-close {
    cursor: pointer;
}
button.modal-btn-close {
    display: block;
    margin: 2em auto;
    padding: .6em 2em;
    text-decoration: none;
    font-weight: bold;
    color: #67c5ff;
    border: solid 2px #11a4ff;
    border-radius: 3px;
    transition: .4s;
    opacity: 0.6;
}
button.modal-btn-close:hover {
    background: #11a4ff;
    color: #fff;
}
#modal-main {
    display: block;
    height: calc(100vh - 5em);
    width: 100%;
    margin: 3em 0 2em;
    overflow: auto;
}
@media (max-width: 787px){
    #news_and_topics .news .text .photo_list .news_photo {
        display: inline-block;
        width: calc(100% - 20px);
        margin: 5px 5px 10px;
    }
    #modal-main {
    }
}
