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

.rwd-menu-toggle,
.rwd-header-menu,
.rwd-show,
.rwd-footer-menu {
    display: none;
}

}

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

* {
    box-sizing: border-box;
}
body {
	font-family: "ヒラギノ角ゴ Pro", "Hiragino Kaku Gothic Pro", "メイリオ", "Meiryo", sans-serif;
}
img {
    max-width: 100%;
    height: auto;
}
iframe {
    width: 100% !important;
}
.rwd-iframe-wrapper {
    #overflow-x: hidden;
    overflow: scroll;
    -webkit-overflow-scrolling: touch;
}
table,
tbody {
	border-spacing: 0;
	border: none;
	display: block;
    width: 100%;
    height: auto;
}
tr {
    border: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
}
th,
td {
    border: none;
    display: block;
    width: 100%;
    height: auto;
}
.rwd-hide {
    display: none;
}

/* HEADER */

h1.douga {
    font-size: 12px;
    padding: 5px 10px;
    line-height: normal;
}
h1.douga i,
h1.douga u {
    font-style: normal;
    text-decoration: none;
}
.h1_text {
    text-decoration: none;
    font-style: normal;
    font-weight: normal;
}
.rwd-header,
#top_logo_area {
    border-bottom: 4px solid #08060B;
	background-color: #08060B;
    background-image: linear-gradient(#700C2E,#08060B);
    width: auto;
    height: auto;
    display: flex;
}
.rwd-header-logo,
#top_logo {
	position: static;
    padding: 10px 0;
}
#site_history,
h2.top_logo_title {
	display: none;
}
.rwd-menu-toggle {
    background-color: #990000;
    display: block;
    width: 60px;
    flex-shrink: 0;
    position: relative;
    border-left: 4px solid #08060B;
}
.rwd-menu-toggle img {
	position: absolute;
    height: 70%;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.rwd-header-explain {
    margin: 0;
    padding: 0 1em 1em;
    font-size: 12px;
    line-height: normal;
}
.rwd-header-explain h2.douga {
    line-height: normal;
    margin: 0;
    font-size: inherit;
}
.top_explain {
	margin: 0;
}
.rwd-header-menu {
    color: #fff;
    display: none;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #222;
    border-top: 2px solid;
}
.rwd-header-menu li a::after {
    content: "\f105";
    float: right;
    font-family: fontawesome;
}
.rwd-header-menu li a {
    display: block;
    text-align: left;
    color: #fff;
    padding: 15px 10px;
    border-bottom: 1px solid;
    font-size: 14px;
}
.rwd-header-menu-closer::before {
    content: "\f00d";
    margin-right: 0.5em;
    font-family: fontawesome;
}
.rwd-header-menu-closer {
    background-color: #333;
    text-align: center;
    padding: 15px 10px;
    border-bottom: 2px solid;
}
h2.douga {
    margin: 10px;
}
.rwd-content-table {
    padding: 0 10px;
    background-color: #3d0000;
}
.rwd-content-table td table {
	display: table;
	width: 100%;
    margin: 5px 0;
    border-spacing: 1px;
}
.rwd-content-table td table tbody {
	display: table-row-group;
}
.rwd-content-table td table tr {
	display: table-row;
}
.rwd-content-table td table th {
	display: table-cell;
}
.rwd-content-table td table td {
	display: table-cell;
	text-align: center;
    height: auto;
    padding: 4px;
    width: auto;
}
.rwd-content-table table td img {
    vertical-align: middle;
}
.rwd-content-table table td[rowspan="3"] {
    padding: 0;
    width: 100px;
}
.rwd-content-table table td[rowspan="3"] img {
	display: block;
    width: 100%;
}
.rwd-top-middle-ad > td::after {
    display: block;
    content: "";
    clear: both;
}
.rwd-top-middle-ad > td {
    font-size: 0;
}
.rwd-top-middle-ad > td a {
    width: calc(100% / 4);
    float: left;
}
.rwd-top-middle-ad > td a img {
    width: 100%;
    display: block;
}
.rwd-top-links > tbody > tr > td {
    border-top: 2px solid #000;
    padding: 10px;
    clear: both;
}
.rwd-top-links img {
    float: left;
}
.rwd-top-links br {
    display: none;
}
.rwd-top-links span {
    overflow: hidden;
}
.rwd-chat-td br {
    display: none;
}
.rwd-link-table1 {}
.rwd-link-table1 a {
    display: block;
    padding: 10px;
    border-bottom: 1px solid #eee;
}
.rwd-link-table2 {}
.rwd-link-table2 table {
    display: none;
}
.rwd-link-table2 {
    padding: 10px;
    font-size: 0;
}
.rwd-link-table2 > a,
.rwd-link-table2 > font {
    display: inline-block;
    font-size: 12px;
    margin: 0 10px;
}
.rwd-link-table2 br {
    display: none;
}
.rwd-link-table3 {}
.rwd-link-table3 tr {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}
.rwd-link-table3 td {
    width: calc(100% / 3);
    text-align: center;
}
.rwd-link-table3 td a,
.rwd-link-table3 td img {
    display: block;
    width: 100%;
}
.rwd-link-p {
    margin: 10px;
    font-size: 12px;
}
.rwd-link-p br {
    display: none;
}

/* FOOTER */

.rwd-footer br {
    display: none;
}
.rwd-footer td {
    padding: 10px;
}
.rwd-footer font {
    font-size: 12px;
    display: inline-block;
}
.rwd-footer-menu {
    border-bottom: 1px solid #990000;
    background-color: #000;
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}
.rwd-footer-menu a::after {
    content: "\f138";
    float: right;
    font-family: fontawesome;
}
.rwd-footer-menu a {
    font-size: 14px;
    display: block;
    color: #fff;
    border-top: 1px solid #990000;
    padding: 15px 10px;
    text-align: left;
    line-height: 1;
}
.footer_link {
    display: block;
    font-size: 12px;
}

}